/* cmsms stylesheet: all modified: 03/10/26 14:39:23 */
#cookie_popup {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 300px;
    z-index: 99999999;
    box-sizing: border-box;
    padding: 10px;
    color: #ffffff;
    background-color: #000000bf;
    font-size: 80%;
}

#cookie_popup a:link, #cookie_popup a:visited, #cookie_popup span {
color: #ffffff;
transition: color 0.4s;
cursor: pointer;
}

#cookie_popup a:hover, #cookie_popup span:hover {
color: #b4b387;
}

.hidden {
display: none;
}

.tinyBox {
width: 25%;
min-width: 150px;
margin: auto;
}

.narrowBox {
width: 36%;
min-width: 320px;
margin: auto;
}

.midBox {
width: 60%;
min-width: 320px;
margin: auto;}

.wideBox  {
width: 90%;
min-width: 320px;
margin: auto;
}

.fixed {
    position:  fixed;
    background-color: #ffffffd4;
    box-sizing:  border-box;
    padding-top:  50px;
}
.fullScreen  {
    top: 0;
    bottom:  0;
    left:  0;
    right: 0;
}
.topLayer {
    z-index:  999999;
}

.centerText {
text-align: center;
    justify-content: center;
}

.smallText {font-size: 60%;}
.midText {font-size: 80%;}
.blockSmallText {display: block;}

#pageVariables {
    width: 100px;
    height: 100px;
    border: 1px solid red;
    padding: 20px;
    overflow: auto;
    position: fixed;
    top:20px;
    left: 20px;
    background: #fff;
    font-size: 11px;
    line-height: 1.3;
    white-space: pre;
}

#pageVariables pre {
    margin: 0;
}

#pageVariables .resize-handle {
    width: 12px;
    height: 12px;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: nwse-resize;
    background: rgba(0, 0, 0, 0.3);
}
/* cmsms stylesheet: polls modified: 03/10/26 14:39:23 */
/* start polls - updated for new form */

.livePoll {
    border: 1px solid #cccccc;
    border-radius: 7px;
    margin-top: 20px;
    padding: 30px;
    background-color: #ffffff;
    clear: both;
}

.completedPoll {
    border: 1px solid var(--brand-green);
    border-radius: 7px;
    margin-top: 20px;
    padding: 30px;
    background-color: var( --brand-lightgreen);
    clear: both;
}

.livePoll h3 {
    text-align: left;
}

/* Radio group wrapper */
.voting_group {
    display: flex;
    flex-direction:  column;
    width: 100%;
}

/* Each answer option */
.voteradio {
    display: flex;
    flex: 1 1 100%; /* take up full width of row */
    align-items: center; /* vertical centering of children */
    width: 100%;
    box-sizing: border-box;
}

/* Answer label text (75% of row) */
.voteradio_text {
    flex: 0 0 75%;
    padding: var(--smallpadded);
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction:  column;
    height: 100%;
}

/* Radio input wrapper (25% of row) */
.voteradio_radio {
    flex: 0 0 25%;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: center;
    height: 100%;
}
.answer_block {
float: left;
width: 20%;
text-align: center;
line-height: 190%;
}

.answer_block strong {
display: block;
font-size: 200%;
color: #97d041;
}

.answer_block strong span {
display: block;
font-size: 40%;
font-weight: 400;
}

.responseBar, .completedResponseBar  {
    width:0;
    text-align: center; 
}

.zeroSumgame {
    width: 10px;
    
}

.responseBarOne {
    background-color: var(--brand-green);
}

.responseBarTwo {
    background-color: var(--brand-purple);
    color: #ffffff;
}

.responseBarThree {
    background-color: var(--warn); 
}

.responseBarFour {
    background-color: var(--muted); 
    color: #ffffff;
}

.responseBarFive {
    background-color: var(--text); 
    color: #ffffff;
}



/* end polls */
/* cmsms stylesheet: messages modified: 03/10/26 14:39:23 */
#outerMessagesList {
    width: 25%;   
}

#messagesList {
	max-height: 400px;
overflow-y: auto;
	}

#outerMessagesWrite {
    flex:1;
    min-height: 100px;
    display:  flex;flex-direction:  column;gap: var(--smallgap); 
}

.messagesListLoader,
.messagesThreadLoader {
  margin: 10px auto;
  padding: 12px 16px;
  width: fit-content;
  font-size: 120%;
  color: #555;
  background: #eef7e0e6;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  position: absolute;
  left: 50%;
  top: 200px;
  transform: translateX(-50%);
}

/* Spinner */
.messagesListLoader::before,
.messagesThreadLoader::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid #d0d4da;
  border-top-color: #6b6f76;
  animation: messagesSpin 0.9s linear infinite;
}

/* Spinner animation */
@keyframes messagesSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Optional: subtle pulse on text */
.messagesListLoader span,
.messagesThreadLoader span {
  animation: messagesPulse 1.5s ease-in-out infinite;
}

@keyframes messagesPulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

#messagesList {
    display: flex;
    flex-direction: column;
    gap: var(--smallgap);
}

#messagesList .active {
    font-weight: 700;
}

.messageThreadRow {
    background-color: var(--brand-lightgrey);
    cursor: pointer;
    transition: background 0.4s;
}

.messageThreadRow:hover {
    background-color: var( --bg);
}

.messageThreadTitle {
    
}

.messageThreadMeta {
    
}

#messagesFilter .inputRow {
    flex-direction: column;
}

#messagesFilter .inputRow label {
    width: 100%;
}

#messagesFilter {
    height: 490px;
}

.filterTagsWrap {
    display:  flex;
    flex-wrap: wrap;
    gap: var(--smallgap);
    position:  relative;
    top: -30px;
}

.filterTagItem {
    display:  flex;
    gap: var(--smallgap);
    height: 25px;
}

.filterTagItem label {
    
}

.filterTagItem input {
    position: relative;top: -3px
}
/* cmsms stylesheet: forms modified: 03/10/26 14:39:23 */
.formBox p {
margin-bottom: var(--bigpad);
}

.inputRow {
	display:  flex;
	gap: var(--midgap);
	height: 50px;
	margin-bottom: var(--midpad);
}

.inputRowVertical {
    flex-direction: column;
    align-items: flex-start; 
    gap: 0px;
    position: relative;
    top: -14px;
}
.inputRowVertical > * {
  width: 100%;
}

.generalRow {
    height: auto;
}

.textareaRow
 {
    height: 450px;
}

.inputRow label {
    width: 30%;
    justify-content: center;
    box-sizing: border-box;
    padding-top: var(--midpad);
}

.inputRow label.checkboxRow {
width: auto;
display: inline-flex;
gap: var(--midgap);
flex-direction: row;
}

.inputRow label.checkboxRow input {
width: 30px;
height: 30px;
position: relative;
top: -7px;
}

.inputRow  input, .inputRow select {
    flex: 1;
    box-sizing: border-box;
    border: 1px solid var(--border);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    height: 50px;
}

.inputRowVertical input, .inputRowVertical select {
      height: 50px;
  flex: 0 0 50px;
}

.inputRow textarea
 {
         flex: 1;
    box-sizing: border-box;
    border: 1px solid var(--border);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
        height: 450px;
        display: block;
        width: 100%;
}

.inputRow textarea.shortarea {
    height: 100px;
}

input[type="file"].textInput.fullWidthInput {
    padding: var(--midpad);
    background-color: #fff; /* Or any background to match your other inputs */
    width: 100%; /* Ensure it fits the full width like other fields */
}

input[type="radio"]  {
    height: 25px;
}

.fbsubmit {
    box-sizing: border-box;
    border: 1px solid var(--border);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    height: 50px;
    padding: 0 var(--midpad) 0 var(--midpad);
    font-size: 120%;
    font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
	color: var(--panel);
	background-color: var(--brand-purple);
}

.fbsubmit:hover {
	background-color: var(--brand-green);
}

.singleButtonSubmit {
	height: 70px;
	padding: 0 var(--bigpad) 0 var(--bigpad);
	font-size: 140%;
	margin-top: var(--midpad);
}

/* The label acts as a positioning context and reserves space for the icon */
.ptHasHelp {
  position: relative;
  display: inline-block;   /* was inline-flex */
  padding-right: 22px;     /* reserves space so text alignment is consistent */
  vertical-align: middle;
}

/* Absolutely position the icon so it doesn't affect label layout */
.ptHelpIcon {
  position: relative;
  top: 11px;
  right: 0;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}
.ptHelpIcon:hover,
.ptHelpIcon:focus { opacity: 1; outline: none; }

/* Keep tooltip fully out of flow (no layout impact) */
.ptHelpBox {
  position: absolute;   /* ensures it never pushes label text */
  top: 100%;
  left: 0;
  transform: translateY(8px);
  max-width: min(36ch, 70vw);
  z-index: 9999;

  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.35;

  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms;
}
.ptHelpBox::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  width: 10px; height: 10px;
  background: #111;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
  transform: rotate(45deg);
}
.ptHelpBox.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
  pointer-events: auto;
}

/* Optional: flip alignment if near the right edge (kept from before) */
.ptHelpBox.align-right { left: auto; right: 0; }
.ptHelpBox.align-right::after { left: auto; right: 12px; }

.innerFormBlock {
    margin-bottom: var(--midpad);;
}

#visibleTags {display: flex; gap: var(--midgap);flex-wrap: wrap;    flex: 1;}

.clickableTag {
    background-color: var(--brand-lightgreen);
    padding: var(--midpad);
    transition: background-color 0.4s;
    cursor: pointer;
}

.clickableTagOn {
    border: 2px solid var(--border);
    background-color: var(--brand-lightpurple);
    font-weight: 700;
}

.clickableTag:hover {
    background-color: var(--brand-lightpurple);
}

#calendarListClearFilters {
    position: relative;
    top: 27px;
    height: 50px;
}

/* tiny mce overrides */

.tox-tinymce {
width: 100% !important;
    flex: 1;
    border: 1px solid #000;
}

@media (max-width: 1640px) {
    
#login_form {
    min-width: 560px;
}

}

@media (max-width: 740px) {
    
#login_form {
    min-width: 320px;
}

.inputRow {
	display:  block;
	gap: var(--midgap);
	height: auto;
	margin-bottom: var(--midpad);
	flex-direction: column;
}

.inputRow label {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding-top: var(--midpad);
    display: block;
}

.inputRow input, .inputRow select
 {
        height: 50px;
        display: block;
        width: 100%;
}

}
/* cmsms stylesheet: users modified: 03/10/26 14:39:23 */
.userTabs {
    
}

.tabList {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0;
    position: relative;
    z-index:2;
}

.tab {
    cursor: pointer;
    height: 40px;
    border-bottom: none !important;
    background-color: var(--greybacker);
    margin-right: 5px;
    -webkit-border-bottom-right-radius: 0px !important;
-webkit-border-bottom-left-radius: 0px !important;
-moz-border-radius-bottomright: 0px !important;
-moz-border-radius-bottomleft: 0px !important;
border-bottom-right-radius: 0px !important;
border-bottom-left-radius: 0px !important;
}

.tab.active {
    background-color: #fff;
    border-bottom: none;
    font-weight: bold;
    position: relative;
    bottom: -2px;
}

.tabContent {
    padding: 20px;
    background-color: #fff;
-webkit-border-top-left-radius: 0px !important;
-moz-border-radius-topleft: 0px !important;
border-top-left-radius: 0px !important;
    position: relative;
    z-index:1;
}
/* cmsms stylesheet: calendar modified: 03/10/26 14:39:23 */
.calendarLoader {
  margin: 10px auto;
  padding: 12px 16px;
  width: fit-content;
  font-size: 120%;
  color: #555;
  background: #eef7e0e6;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  position:  absolute;
  left: 50%;
top: 200px;
  transform: translateX(-50%);
}


/* Spinner */
.calendarLoader::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid #d0d4da;
  border-top-color: #6b6f76;
  animation: calendarSpin 0.9s linear infinite;
}

/* Spinner animation */
@keyframes calendarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Optional: subtle pulse on text */
.calendarLoader span {
  animation: calendarPulse 1.5s ease-in-out infinite;
}

@keyframes calendarPulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}


.calendar {
  margin: 0 auto;
  font-family: sans-serif;
}

.calendarHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendarWeekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}

.calendarGrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendarDay {
  height: 170px;
  padding: var(--smallpad);
  border: 1px solid var(--border);
}

.weekendDay {
    background: var(--brand-lightgreen);
}

.notThisMonth {
  background: var(--brand-lightgrey);
  color: var(--muted);
  border: var(--muted);
}

.calendarDay {
  position: relative;
}

.calendarDay.hasEvents .expandDay {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  cursor: pointer;
  opacity: 0.6;
}

.calendarDay.hasEvents .expandDay::before {
  content: "⤢"; /* expand-style glyph */
  font-size: 14px;
  line-height: 14px;
  display: block;
}

.calendarDay.hasEvents .expandDay:hover {
  opacity: 1;
}

.eventsContainer {
    height: 90%;
    overflow-y: auto;
}



a.calendarEventLink:link, a.calendarEventLink:visited {
    font-size: 90%; box-sizing: border-box; padding: 2px; border: 1px solid var(--brand-purple); background-color: var(--brand-lightpurple); display: block; margin-bottom: 5px;
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.parentTaskTitle {
    display: block;
    font-size: 70%;
    color: #000000;
}

.subTask a.calendarEventLink:link, .subTask a.calendarEventLink:visited {
    font-size: 90%; box-sizing: border-box; padding: 2px; border: 1px solid var(--brand-ochre); background-color: var(--brand-lightochre); display: block; margin-bottom: 5px; color:var(--brand-darkochre);
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.calendarListResults a.calendarListItem:link, .calendarListResults a.calendarListItem:visited {
        font-size: 90%; box-sizing: border-box; border: 1px solid var(--brand-purple); background-color: var(--brand-lightpurple); display: block;  -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.calendarListResults a.eventItem:link, .calendarListResults a.eventItem:visited {
        background-color: var(--brand-lightgreen);
    border: 1px solid var(--brand-green);
}



.calendarListResults a.subTask:link, .calendarListResults a.subTask:visited {
        font-size: 90%; box-sizing: border-box; border: 1px solid var(--brand-ochre); background-color: var(--brand-lightochre); display: block; color:var(--brand-darkochre);
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
a.calendarEventLink:hover, .subTask a.calendarEventLink:hover, .calendarListResults a.calendarListItem:hover {
    background-color: var(--brand-lightgreen);
    border: 1px solid var(--brand-green);
}

.overdue a.calendarEventLink, .overdue a.calendarEventLink span.parentTaskTitle, strong.overdue, a.overdue h3{
    color: red !important;
    font-weight: 700 !important;
}


.calendarDayOverlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #ffffffb3;
    z-index:  99999999;
}
.calendarDayOverlayInner {
    width:  30%;
    min-width: 320px;
    padding: var(--bigpad);
    background-color: var(--panel);
	margin: 100px auto;
	box-shadow: var(--shadow);
	position: relative;
}
	.calendarDayOverlayClose {
	position: absolute;
	top: var(--midpad);
	right: var(--midpad);
	cursor:  pointer;
	font-size:  120%;
}

.calendarDayOverlayContent {}

/* progress bar track */
#outerTaskProgressBar {
    display: block;
    position: relative;
    width: 100%;
    height: 16px;
    border: 1px solid #999;
    border-radius: 4px;
    background-color: #e6e6e6;
    overflow: hidden;
    cursor: pointer;
}

/* progress bar fill */
#taskProgressBar {
    display: block;
    height: 100%;
    width: 0%;
    background-color: #4caf50;
    border-radius: 3px;
    position: relative;
}

/* hover value */
#taskProgressBar::after {
    content: attr(data-value) '%';
    position: absolute;
    top: -26px;
    right: 0;
    background: #333;
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

#taskProgressBar:hover::after {
    opacity: 1;
}

#taskProgressValue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    pointer-events: none;
    white-space: nowrap;
    transition: color 0.15s;
}

/* low values: number sits outside the fill */
#taskProgressBar.low-value #taskProgressValue {
    left: 100%;
    transform: translate(6px, -50%);
    color: #333;
}

#taskProgressConfirm {
display:none;
}

#taskProgressConfirmInner {
    background: var(--bg);
    width: 300px;
    height: 131px;
    z-index: 1000;
    padding: var(--midpad);
    box-sizing: border-box;
    margin:  auto;
}

.clickableUserTag {
    background-color: var(--brand-lightgreen);
    padding: var(--smallpad);
    transition: background-color 0.4s;
    cursor: pointer;
    display: inline-block;
}

.clickableUserTagOn {
    border: 2px solid var(--border);
    background-color: var(--brand-lightpurple);
    font-weight: 700;
}

.clickableUserTag:hover {
    background-color: var(--brand-lightpurple);
}

.accociateUsertags  {margin-bottom: var(--biggap);}

span#watcherSubmit{
  transition: background-color 0.4s;
  width: 200px;
  text-align: center;
  display: none; /* stays hidden until JS fades it in */
  cursor: pointer;
  height: 50px;
  font-size: 150%;
  box-sizing: border-box;
  padding-top: 8px;
  position: absolute;   /* was absolute */
  right: 0;
  top: -260px;         /* keep it visible as you scroll */
  z-index: 9999;
}

span#watcherSubmit:hover   {
	background-color: var(--brand-purple);
color: #ffffff;
}

#calendarEntryMessages, #calendarEntryNotes, #messagesWrite {
display:  flex;flex-direction:  column;gap:  var(--smallgap); max-height: 600px; overflow-y: scroll;
}

.message {

}

.messagenonresdirector, .messagedirector {
border-color: var(--brand-green);
background-color: var(--brand-lightgreen);
}

.messageContractors  {
border-color: var(--brand-ochre);
background-color: var(--brand-lightochre);
}

.messageSurveyor, .messagepropertymanager, .messageaccountant  {
border-color: var(--brand-purple);
background-color: var(--brand-lightpurple);
}

.newMessageFlag { margin-left: 6px; color: #c00; font-weight: bold; }
.message.newMessage { font-weight: bold; }

.calendarListResults {
    display: flex;
    flex-direction: column;
    gap: var(--midgap);
}

.indent {
    margin-left: 20px;
}
