/* This is the standard CSS for CRiiS.               */
/* Organisation Colours are controlled by separate   */
/* CSS files. The default, big and contrast CSS      */
/* contain only the CSS to implement the text size   */
/* and page background colour                        */
@import url("https://fonts.googleapis.com/css?family=Lato:400,700|Open+Sans:400,700|Roboto:400,700");
:root{
  --contPrefGridItemBackground:#dfeaed;
  --contPrefGriditemBorder:#8fb1bd;
  --contPrefTooltip:rgb(33, 150, 243);
  --contprefUpdateButtonBorder:#8EB4E6;
  --contprefUpdateButtonHover:#AECBF0;
  --copyBtnBorder:#8EB4E6;
  --copyBtnHover:#AECBF0;
  --uiButtonText:#1c94c4;
  --black:black;
  --white:white;
  --grey:grey;
  
  /* Colours taken from CGL brand guidelines: https://cglorguk.sharepoint.com/marketing/Documents/Forms/AllItems.aspx?id=%2Fmarketing%2FDocuments%2FBrand%20Guidelines%20v07%20%28updated%202024%29%2Epdf&parent=%2Fmarketing%2FDocuments */
  --brand-alert: #ce181e;
  --brand-forest: #006e36;
  --brand-valley: #009e4d;
  --brand-spring: #94c351;
  --brand-saffron: #f08300;
}

/**************** Body and tag styles ****************/
*{margin:0; padding:0;}

body{
  font-family:Arial, Helvetica, sans-serif;
  text-align:center;
  color:#000000;
  background: #cccccc;
}

p {
  text-align: justify;
  padding: 5px 0px 5px 0px;
}

li {
  margin-left: 20px;
  z-index:2;
}

a:link, a:visited {
  text-decoration: none;
  font-weight:bolder;
}

a:hover, a:active {
  text-decoration: underline;
  font-weight:bolder;
}

.clear {
 clear:both;
}

.announce {
  font-weight:bolder;
  font-size:large;
  text-align:center;
  color: #000;
}

.debug {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #339933;
}

.thisdebug {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #ff3333;
}

.cookie {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #CC6600;
}

.disabled {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #999;
}

.dog {
  padding: 40px 40px 40px 40px;
  background:#FF0000;
  font-weight:bolder;
  font-size:x-large;
  text-align:center;
  color: #fff;
}

.invalid {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #f00;
}

.pds-badge {
  display: inline-flex;
  border-radius: 5px;
  padding-inline: 8px;
  padding-block: 4px;
  border-width: 2px;
  font-weight: 600;
  border: 3px solid;
  font-size: 14px;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  background: white;
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: fit-content;
}

.pds-badge span {
  white-space: nowrap;
  user-select: none;
}

.pds-verified svg,.pds-unverified svg {
  width: 1.5em;
}

.pds-verified {
  border-color: var(--brand-forest);
}

.pds-unverified {
  border-color: var(--brand-saffron);
}

.red {
  color: #F00;
}

.overdue {
  color: #f00;
}

.due {
  color: #F90;
}


.required {
  font-weight:bold;
  font-size:x-large;
  color: #f00;
  vertical-align:middle;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
}

.triggered {
  color: #f00;
}

.warning {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #F90;
}

.valid {
  margin: 4px 4px 4px 0px;
  font-weight:bolder;
  color: #00f;
}

.inactive {
  color: #999;
}

.Normal {
  color: #000;
}

.ReadOnly {
  color: #000;
}

.Deleted {
  color: #999999 !important;
}

.Shared {
  color: #33c !important;
}

.DeletedShared {
  color: #99f !important;
}

.Error {
  color: #f00;
}

.Warn {
  color: #F90;
}

.Closed {
  color: #999999;
}

.OpenDead {
  color:#81007f;
}

.ClosedDead {
  color: #de73ff;
}

.Cancelled {
  color: #999999;
}

.Bold {
  font-weight:bold;
}

/**************** SD Drop Down Styles ****************/

.dropdown {
  width: 325px;
}

.dropdown100 {
  width: 100px;
}

.Expand a{
  color: #F00;
  font-weight:bold;
  font-size:larger;
  text-decoration: none;
}

/**************** Container styles ****************/

#container{
  width:980px;
  margin:20px auto;
  padding:0px 0px;
  text-align:left;
}

/**************** Header styles ****************/

#header{
  width:980px;
  height:110px;
  margin:0px 0px 0px 0px;
  color:#000000;
}

#header-logo{
  margin:10px 10px 10px 10px;
  padding: 5px 5px 5px 5px;
  position: relative;
}

#header-titles{
  width:950px;
  text-align:center;
  font-weight:bold;
  margin:0px 0px 0px 0px;
  padding: 0px 0px 5px 0px;
}

#header-titles h1{
  font-size:24px;
  padding: 0px 0px 0px 0px;
}

#header-titles h2{
  font-size:18px;
}

#header-function {
  float:left;
  width:400px;
  text-align:left;
}

#header-function h3{
  font-size:14px;
}

#header-date {
  float:left;
  width:145px;
  text-align:center;
}

#header-date h3{
  font-size:14px;
}

#header-user {
  float:right;
  width:400px;
  text-align:right;
}

#header-user h3{
  font-size:14px;
  display: inline;
}

#header-criistory {
  position: absolute;
  right: 0;
  top: 5px;
  background-color: #52ab52;
  border-radius: 3px;
  padding: 10px 15px;
  font-size: 14px;
  color: #def9de;
  font-weight: bold;
  cursor: pointer;
}

#header-criistory:hover {
  background-color: #439643;
}

#header-criistory span i {
  margin-right: 5px;
}

.ui-dialog {
  z-index: 500000;
}

#header a:link, #header a:visited {
  text-decoration: none;
  color: #000000;
}

#header a:hover, #header a:active {
  text-decoration: none;
}

/**************** Top Menu styles ****************/

* html div#topMenu ul {
  float: left;
  margin-left: 0px;
}

* html div#topMenu ul li ul {
  border-left: 0px;
}

body div#topMenu ul li ul {
  display:none;
}

div#topMenu {
  height:2.2em;
  line-height:2.2em;
  width:975px;
  margin:0px 0px 0px 0px;
  padding-left:5px;
  float: left;
  font-size:14px;
  font-weight:bold;
}

div#topMenu ul {
  margin:0 0 0 0;
}

div#topMenu ul li:hover ul, div#topMenu ul li ul:hover {
  display: block;
}

div#topMenu li {
  float:left;
  width:160px;
  position:relative;
  list-style-type:none;
  margin-left:0px;
  z-index:10000000;
}

div#topMenu a {
  display: block;
  padding: 0 6px;
  text-decoration:none;
  color:#000000;
  text-transform:none;
}

div#topMenu a:hover {
  color:#fff;
}

div#topMenu ul li ul {
  margin:0;
  width:240px;
  position:absolute;
  left: -1px;
}

div#topMenu ul li ul li {
  width: 100%;
}

.lastMenu {
  position:absolute;
  left: -80px;
}

.lastMenuOption {
  position:absolute;
  left: -80px;
}

/**************** Standard Content Styles ****************/

.lineTable {
  margin: 2px 2px 2px 2px;
  padding:2px;
  border-collapse:collapse;
  width:909px;
}

.lineCellLeft {
  margin: 2px 2px 2px 2px;
  padding:2px 2px 2px 5px;
  border-collapse:collapse;
  text-align:left;
}

.lineCellCenter {
  margin: 2px 2px 2px 2px;
  padding:2px;
  border-collapse:collapse;
  text-align:center;
}

.lineCellRight {
  margin: 2px 2px 2px 2px;
  padding:2px 5px 2px 2px;
  border-collapse:collapse;
  text-align:right;
}

.lineBox {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:900px;
}
.lineBoxHalf {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:430px;
}
.pdfLineBox {
  background:#FFFFFF;
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:900px;
}

.groupLineBox {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:878px;
}

.innerLineBox {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:878px;
}

.innerGroupLineBox {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:860px;
}

.sectionName {
  font-weight: bold;
  float:left;
  margin: 2px 2px 2px 5px;
  width:200px;
}

.fieldHeader {
  float:left;
  margin: 2px 2px 2px 5px;
  width:600px;
  font-weight:bolder;
}

.fieldName {
  float:left;
  margin: 2px 2px 2px 5px;
  width:200px;
}

.field {
  text-align:left;
  float:right;
  margin: 2px 2px 2px 5px;
  width:645px;
}

.fieldName-prepop {
  float:left;
  margin: 2px 2px 2px 5px;
  width:200px;
  color:#009;
}

.textArea {
  text-align:left;
  float:left;
  width:640px;
}

.textAreaPrepop {
  text-align:left;
  border-color:blue;
  float:left;
  width:640px;
}

.formInstructions {
  margin: 4px;
}

.printInstructions {
  padding-left: 150px;
  padding-right: 150px;
  text-align:center;
  width:600px;
  font-weight:bolder;
}

.pdfLink {
  text-align:center;
  width:600px;
}

.feederLink {
  text-align:center;
  width:600px;
}

.buttonLeft {
  margin: 4px;
}

.buttonLeftLeft {
  float:left;
  margin: 4px;
}

.buttonRight {
  float:right;
  margin: 4px;
}

.prevLink {
  font-size:smaller;
  text-align:left;
  float:left;
  width:50px;
  margin: 0px 0px 0px 3px;
}

.nextLink {
  font-size:smaller;
  text-align:right;
  float:right;
  width:50px;
  margin: 0px 12px 0px 0px;
}

.columnTitle {
  float:left;
  width:700px;
  font-weight:bolder;
}

.listText {
  float:left;
  width:700px;
}

.detailLink {
  text-align:center;
  float:left;
  width:90px;
}

.copyLink {
  text-align:center;
  float:left;
  width:90px;
}

.printLink {
  text-align:center;
  float:left;
  width:90px;
}

.deleteLink {
  text-align:center;
  float:left;
  width:90px;
}

.eraseLink {
  text-align:center;
  float:left;
  width:90px;
  padding-left:790px;
}

.placeButton {
  text-align:center;
  float:left;
  width:90px;
}

.searchButton {
  text-align:center;
  float:left;
  width:90px;
}

.candidateBox {
  float:left;
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 5px 10px;
  width:340px;
}

.buttonBox {
  float:left;
  text-align:center;
  margin: 2px 2px 2px 2px;
  padding: 50px 5px 5px 5px;
  width:160px;
}

.memberBox {
  float:left;
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 5px 10px;
  width:340px;
}

.candidateSelect {
  width:335px;
  height:150px;
}

.memberSelect {
  width:335px;
  height:150px;
}

/* Query Results Table */
.queryTable {
  border-collapse:collapse;
}

.queryCell {
  padding: 6px;
}

/* Status Colours */

.na {
  color: #000;
}

.OnTarget {
  color: #0c0;
}

.Borderline {
  color: #F90;
}

.Failing {
  color: #f00;
}

.Attained {
  color: #0c0;
}

.Failed {
  color: #f00;
}

/**************** Container styles ****************/

#content{
float:left;
font-size:medium;
width:960px;
margin: 0px 0px 0px 0px;
padding: 10px 10px 20px 10px;

/* Ensure that z-indexes inside this container don't compete with things outside the container, e.g. popups and menus. */
isolation: isolate;
}

#content-text {
padding: 0px 20px 0px 20px;
margin: 0px 0px 0px 0px;
text-align:left;
}

#content-text h2{
display:block;
margin:10px 0px 10px 0px;
font-size:large;
font-weight:bold;
color:#000000;
}

#content-text h3{
display:block;
margin:10px 0px 0px 0px;
font-size:medium;
font-weight:bold;
}

#content-text p{
display:block;
margin:5px 0px 0px 0px;
}

/**************** Client Nav Styles ****************/

.clNavId {
  float:left;
  width:225px;
  font-weight:bold;
}

.clNavName {
  float:left;
  width:400px;
  font-weight:bold;
}

.clNavPhoneNo {
  float:left;
  width:250px;
  font-weight:bold;
  text-align:right;
}

.clNavKeyworker {
  float:left;
  width:600px;
  font-weight:bold;
}

.clNavTitle {
  font-weight:bold;
  font-size:larger;
  text-align:center;
}

#addInfoNav {
  float:left;
  font-weight:bold;
  text-align:left;
}

#clientShareNav {
  float:right;
  font-weight:bold;
  text-align:right;
}

/**************** Episode Nav Styles ****************/

.epiDate {
  float:left;
  width:225px;
  font-weight:bold;
  text-align:center;
}

.epiNavLink {
  float:left;
  width:145px;
  font-weight:bold;
  text-align:center;
}

/**************** Tier 2 Nav Styles ****************/

.t2Date {
  float:left;
  width:300px;
  font-weight:bold;
  text-align:center;
}

.t2NavLink {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

/**************** IV Use Profile Nav Styles ****************/

.ivDate {
  float:left;
  width:300px;
  font-weight:bold;
  text-align:center;
}

.ivNavLink {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

/**************** Prescribing Risk Period Nav Styles ****************/

.prDate {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

.prNavLink {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

/**************** R&S Styles ****************/

.matchMessage {
  float:left;
  width:650px;
  font-weight:bold;
  text-align:left;
  padding-right: 50px;
}

.matchLink {
  float:left;
  width:90px;
  font-weight:bold;
  text-align:center;
}

/**************** DIP Nav Styles ****************/

.dipDate {
  float:left;
  width:225px;
  font-weight:bold;
  text-align:center;
}

.dipNavLink {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

.cjNavLink {
  float:left;
  width:225px;
  font-weight:bold;
  text-align:center;
}

/**************** Spec. Prescribing Nav Styles ****************/

.sppDate {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

.sppNavLink {
  float:left;
  width:300px;
  font-weight:bold;
  text-align:center;
}

.spsDate {
  float:left;
  width:450px;
  font-weight:bold;
  text-align:center;
}

.spsNavLink {
  float:left;
  width:300px;
  font-weight:bold;
  text-align:center;
}

.spsDrug {
  float:left;
  width:900px;
  text-align:center;
}

/**************** Care Plan Nav Styles ****************/

.carePlanDate {
  float:left;
  width:225px;
  font-weight:bold;
  text-align:center;
}

.carePlanNavLink {
  font-weight:bold;
  text-align:left;
}

/**************** PSR Styles ****************/

.description {
  padding: 20px 150px 20px 150px;
  text-align:justify;
  width:600px;
}

/**************** Other Styles ****************/

.high {
  color:#FF0000;
}

.emphasis {
  font-weight:bolder;
}

/**************** Custom Module Styles ****************/

.udfLineBox1 {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:900px;
}

.udfLineBox2 {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:900px;
}

.udfLineBox3 {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:885px;
}

.udfLineBox4 {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:870px;
}

.udfLineBox5 {
  margin: 2px 2px 2px 2px;
  padding: 2px 2px 2px 5px;
  width:855px;
}

.pageHeader {
  font-weight:bolder;
  text-align:center;
}

.navBarColumn1 {
  font-weight:bolder;
  float:left;
  text-align:center;
  width:840px;
}
.navBarColumn2 {
  font-weight:bolder;
  float:left;
  text-align:center;
  width:420px;
}
.navBarColumn3 {
  font-weight:bolder;
  float:left;
  text-align:center;
  width:280px;
}
.navBarColumn4 {
  font-weight:bolder;
  float:left;
  text-align:center;
  width:210px;
}

.subPageColumn1 {
  font-weight:bolder;
  float:left;
  text-align:left;
  width:684px;
}
.subPageColumn2 {
  font-weight:bolder;
  float:left;
  text-align:left;
  width:342px;
}
.subPageColumn3 {
  font-weight:bolder;
  float:left;
  text-align:left;
  width:228px;
}
.subPageColumn4 {
  font-weight:bolder;
  float:left;
  text-align:left;
  width:171px;
}

.subPageList1 {
  float:left;
  text-align:left;
  width:678px;
  padding-right: 6px;
}
.subPageList2 {
  float:left;
  text-align:left;
  width:336px;
  padding-right: 6px;
}
.subPageList3 {
  float:left;
  text-align:left;
  width:222px;
  padding-right: 6px;
}
.subPageList4 {
  float:left;
  text-align:left;
  width:165px;
  padding-right: 6px;
}

/**************** User Dashboard Styles ****************/

a.dashnone:link{
  color: #F00;
  font-weight:bold;
}

a.dashnone:hover {
  color: #33c;
}

a.dashoverdue:link {
  color: #F00;
  font-weight:bold;
}

a.dashoverdue:hover {
  color: #33c;
}
a.dashdue:link {
  color: #F90;
  font-weight:bold;
}

a.dashdue:hover {
  color: #33c;
}
.dashcontent-right{
  width: 400px;
  height: 600px;
  float: right;
  padding: 10px 0px;
  margin: 25px 0px;
  overflow-y: auto
}

.dashcontent-all{
  width: 920px;
  height: 560px;
  float: left;
  padding: 10px 10px;
  margin: 25px 0px;
  overflow-y: auto
}

.dashName {
  float: left;
  margin: 2px 2px 2px 5px;
  width: 320px;
}

.dashfield {
  text-align: left;
  float:right;
  margin: 2px 2px 2px 5px;
  width: 90px;
  color: #000;
}

.dashlongfield {
  float:left;
  margin: 2px 2px 2px 5px;
  width: 400px;
}

.dashTitle {
  float: left;
  width: 400px;
  margin: 2px 2px 10px 5px;
  text-align:center;
}

.dashclientName {
  float: left;
  width: 180px;
}

.dashclientTime {
  float: left;
  margin: 2px 2px 2px 5px;
  width: 250px;
}

.dashrightfield {
  width: 350px;
  margin: 2px 2px 2px 5px;
}

.dashallfield {
  width: 800px;
  margin: 2px 2px 2px 5px;
}

.dashfooter{
  text-align:center;
}

.dashstatusname {
  float: left;
  width: 160px;
  margin: 2px 2px 2px 5px;
}

.dashstatusfield {
  float: left;
  width: 80px;
  margin: 2px 2px 2px 2px;
  text-align:center;
}

.dashstatusleftfield {
  float: left;
  width: 100px;
  margin: 2px 2px 2px 2px;
  text-align:center;
}

/**************** Footer styles ****************/

#footer{
clear:both;
width:980px;
padding:5px 0;
margin:0px 0px 0px 0px;
font-size:0.9em;
color:#000000;
background-color:#cccccc;
}

#footer p{
padding:0;
margin:0;
text-align:center;
}

#footer a{
color:#000000;
font-weight:bold;
text-decoration: none;
}


#footer a:hover{
text-decoration: underline;
}

/**************** Collapse/Expand arrow styles ****************/

.collapseButton {
  width: 0;
  height: 0;
  border-left: .5em solid transparent;
  border-right: .5em solid transparent;
  border-bottom: .75em solid #384452;
  background: none;
  border-top: none;
  margin: 2px 5px 0 0;
  position: absolute;
  right: 0;
}

.collapseButton:hover {
  cursor: pointer;
  border-bottom: .75em solid #242E3A;
}

.expandButton {
  width: 0;
  height: 0;
  border-left: .5em solid transparent;
  border-right: .5em solid transparent;
  border-top: .75em solid #384452;
  background: none;
  border-bottom: none;
  margin: 2px 5px 0 0;
  position: absolute;
  right: 0;
}

.expandButton:hover {
  cursor: pointer;
  border-top: .75em solid #242E3A;
}

/**************** Summary Care Record ****************/

.SCR {
  width: 900px;
}

.SCR-head {
  position: relative;
}

.SCR-detail {
  margin-bottom: 5px;
  font-size: small;
}

.SCR-heads {
  float: left;
  position: relative;
}

.SCR-detail-head {
  font-weight: bold;
}

.SCR-detail-head, .SCR-detail-body {
  float: left;
  width: 32%;
  padding: 5px 0;
  text-align: center;
  position: relative;
}

.SCR-detail-body {
  padding: 7px 2px;
}

/*  Arrow */

.detailArrow {
  margin: 6px 7px 0 0;
}

.SCR-plus-button {
  position: absolute;
  left: 1%;
  color: #384452;
  line-height: 100%;
  font-size: x-large;
}

.SCR-plus-button:hover {
  color: #242E3A;
  cursor: pointer;
}

.SCR-add-detail {
  width: 100%;
}

.SCR-ContactMod {
  color: darkblue;
}

/*  Tags */

.tag {
  padding: 3px;
  border-radius: 2px;
  width: 35px;
  font-size: 10px;
  color: white;
  float: right;
  position: absolute;
  left: 92%;
  z-index: 100;
  text-align: center;
}

.green-tag {
  background: green;
}

.red-tag {
  background: red;
}

.extra-tag {
  background: #236B89;
  left: 108%;
  width: 55px;
}

.neutral-tag {
  background: #236B89;
  width: 75px;
}

.block-tag {
  position: static;
  display: inline-block;
  margin-left: 10px;
  float: none;
}

/*  Assessment Colours */

.positive {
  color: #0F800F;
}

.negative {
  color: #BD2B2B;
}

.neutral {
  color: #F90;
}

/*  Shared Client */

.SCR-Shared * {
  color: #33c !important;
}

/*  Tooltip */

.notes {
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-top: 10px !important;
  z-index: 9999999;
}

.wide-notes {
  width: 265px !important;
}

.SCR-detail-body:hover p{
  display: block !important;
  transform-origin: 100% 0;
}

.SCR-detail-body p {  /* The tooltip */
  display: none !important;
  text-align: left;
  background-color: #FFFFCC;
  padding: 20px;
  width: 190px;
  position: absolute;
  border: thin #33CCFF solid;
  color: #000;
  font-size: 13px;
  line-height: 1.4;
}

.SCR-detail-body p:after{ /* Prevents the tooltip from being hidden */
  width: 100%;
  height: 40px;
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}

/**************** Formulary ****************/
[data-rag="Amber"] {
  color: darkorange;
}

[data-rag="Green"] {
  color: #0F800F;
}

[data-rag="Red"] {
  color: red;
}

/********** Radio SD shotlists ***********/
.sdRadioFullList {
  display: none;
}

.sdRadioLessLink {
  display: none;
}

/********** Messages icon in header ***********/
.messages {
  width         : 20px;
  height        : 20px;
  line-height   : 20px;
  margin-left   : 5px;
  font-size     : 12px;
  text-align    : center;
  cursor        : pointer;
  background    : #E43A3A;
  color         : white;
  float         : right;
  transition    : 0.2s;
}

.messages:hover {
  background: #D62C2C;
}

#messageDialog {
  display: none;
  z-index: 99999 !important;
}

#messageDialog table {
  width: 100%;
  font-size: 15px;
}

.ui-focus,
.ui-button:focus {
  outline            : none !important;
  -moz-box-shadow    : none;
  -webkit-box-shadow : none;
  box-shadow         : none;
}

/********** jQuery pop-up boxes ***********/
.ui-dialog {
  z-index: 100000000;
}

.map-noval {
  border: 1px solid #F99854;
  box-shadow: 0px 0px 2px 2px #F99854; 
}

.map-success {
  border: 1px solid #49E649;
  box-shadow: 0px 0px 2px 2px #49E649; 
}

.map-fail {
  border: 1px solid #e40505;
  box-shadow: 0px 0px 2px 2px #e40505; 
}

/********** Contacts UI ***********/
@import url("https://fonts.googleapis.com/css?family=Lato:400,700|Open+Sans:400,700|Roboto:400,700");

.contactContainer {
  width: 909px;
  margin: auto;
  margin-left: 2px;
}

.contactHeader {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 3px;
}

.contactSubHeader {
  font-size: 14px;
  font-weight: bold;
  margin: 5px 0 10px 0;
}

.contactFrequents {
  /* margin-bottom: 10px; */
}

.contactFrequent {
  width: 10%;
  /* //height: 60px; */
  background: #546e8c;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  color: white;
  border-right: 1px solid #37516e;
  position: relative;
  margin: 0;
  display: table-cell;
  vertical-align: middle;
  box-shadow: 0 2px 0 #24374e;
  z-index: 999999;
}
.contactFrequent:hover {
  background: #37516e;
}

.contactFrequent > a {
  font-weight: normal;
  color: white !important;
  text-decoration: none;
  display: block;
  padding: 22px 10px;
}

.contactFrequentList {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 5;
  display: table-row;
  width: 100%;
}


.contactFrequentInner a {
  text-decoration: none;
  color: white !important;
  font-weight: normal;
  padding: 15px;
  display: block;
}

.contactFrequentInner > li {
  background: #7196c0;
  /* //padding: 15px;
  //border-top: 1px solid #337433; */
}

.contactFrequentInner > li:hover {
  background: #5a7faa;
  /* //padding: 15px; */
}

.contactFrequentInner {
  position: absolute;
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  left: 1px;
  top: 60px;
  width: 361px;
  left: -20px;
  border: none;
  z-index: 100000;
}

.hiddenST {
  display: none !important;
}

.contactCategories {
  margin-top: 12px;
  margin-bottom: 10px;
  padding: 0;
}

.contactCategory {
  margin: 0 !important;
  padding: 0;
  list-style: none;
  width: auto;
  display: inline-block;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  padding: 10px 5px !important;
  background: #4f6074;
  margin-right: 5px !important;
  cursor: pointer;
  color: white;
  position: relative;
  margin-bottom: 15px !important;
}

.contactCategory:hover {
  background: #202c3c;
}

.contactGroups {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
}

.contactGroup {
  margin: 0;
  padding: 0;
  list-style: none;
  width: auto;
  display: inline-block;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  background: #3a7e3a;
  margin-right: 5px;
  cursor: pointer;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: unset !important;
}

.contactGroup:hover {
  background: #295f29;
}

.contactGroup a {
  display: block;
  padding: 10px 5px;
  font-weight: normal;
  color: white !important;
  text-decoration: none;
}

.contactCategory.selected {
  background: #202c3c;
}

.contactSearch {
  background: #eaf1f9;
  padding: 10px 10px 5px 10px;
  border: 1px solid #546e8c;
  margin-bottom: 5px;
}

.contactSearch > .contactSubHeader {
  font-weight: bold;
  margin: 5px 0 10px 0;
}

.contactSearchLink {
  text-decoration: none;
}

.contactSearchLink:hover {
  text-decoration: underline;
}

.contactList {
  margin-top: 20px !important;
}

.contactSearchInput {
  margin-bottom: 15px;
  width: 97%;
  padding: 10px;
  border: 1px solid #adadad;
}

.noResults {
  font-size: 14px;
  padding: 10px 0;
}

.filterTick {
  position: absolute;
  right: -2px;
  top: -10px;
  background: #378a37;
  padding: 5px;
  border-radius: 15px;
  font-size: 10px;
}

.groupArrow {
  margin-left: 5px;
  font-size: 14px;
}

.contactMulti {
  padding: 10px 5px;
  z-index: 100000;
}

.contactInner {
  position: absolute;
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  top: 35px;
  left: 0;
  width: 300px;
  border: none;
  z-index: 500;
}
.contactInner > .contactGroup {
  margin-bottom: 0;
  display: block;
  text-align: left;
}

.contactInner > li {
  background: #649964;
  z-index: 15;
}

.contactInner > li:hover {
  background: #568456;
}

.clearSearch {
  margin-left: 5px;
  text-decoration: none !important;
  color: #323a44;
  background: #e95959;
  padding: 5px 10px;
  color: white !important;
}

.clearSearch:hover {
  background: #c94f4f;
}

#ui-datepicker-div {
  z-index: 1000000000 !important;
}

/**************** User Dashboard Styles ****************/

/* New Styles added by JK on 08/01/19 */

.db-message {
  background: #ffffc2;
  border-radius: 10px;
  font-family: 'Nunito';
  box-shadow: 0 0px 2px #d1d126;
  padding: 15px 0px;
  margin: 15px 0;
}

.db-message-icon {
  width: 68px;
  display: inline-block;
  vertical-align: middle;
}
.db-message-icon i {
  color: #cece2e;
  padding: 5px 20px;
  font-size: 30px;
}

.db-message-text {
  width: 800px;
  display: inline-block;
  vertical-align: middle;
  color: #963737;
}

.dashboard-main {
  font-family: 'Nunito', sans-serif;
  background: #eff4ff;
  padding: 3px 15px;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 0px 2px #aab4c5;
  text-align: center;
  overflow: hidden;
}

.dashboard-header {
  font-weight: 900;
  font-size: 20px;
  padding: 10px 0 10px 5px;
  color: #5c6884;
}

.dash-db-message {
  font-size: 15px;
  font-weight: bold;
  color: #616368;
  text-align: left;
  width: 782px;
  margin: 0 auto;
  padding: 20px 0;
}

.dash-db-message h2 {
  color: #6583aa !important;
}

.dash-db-message h3 {
  color: #426088 !important;
}

.dash-box-container {
  width: 285px;
  margin: 15px 0;
  margin-right: 5px;
  margin-left: 5px;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

.dash-box-header {
  background-color: #d9dee6;
  color: #7995B6;
  text-transform: uppercase;
  font-weight: 900;
  border-radius: 30px 30px 0 0;
  padding: 10px 0 3px 10px;
  font-weight: normal;
}

.dash-box-header i {
  color: #8DA2BD;
  font-size: 14px;
  margin-left: 10px;
  margin-right: 15px;
}

.dash-box-body {
  background-color: #d9dee6;
  padding: 10px;
  border-radius: 0 0 30px 30px;
}

.dash-box-sub {
  background-color: #F5F6F8;
  border-radius: 30px;
  padding: 5px 10px;
  box-shadow: 0 0 1px #abb2c2;
}
.dash-box-sub:not(:last-child) {
  margin-bottom: 10px;
}

.dash-box-sub-header {
  margin: 5px 0;
}

.dash-box-sub-header i {
  color: #9AB3D2;
  font-size: 14px;
  margin: 0 10px;
}

.dash-box-sub-header-text {
  color: rgb(132, 160, 194);
  font-weight: bold;
  display: inline-block;
}

.dash-box-item {
  color: #2F4F77;
  margin-top: 12px;
  margin-bottom: 12px;
}
.dash-box-item:last-child {
  margin-bottom: 7px;
}

.dash-box-item-text {
  display: inline-block;
  width: 110px;
  font-size: 14px;
  margin-left: 10px;
}

.dash-box-item-text-full {
  width: 95%;
}

.dash-box-item-tag {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  background: rgb(206, 219, 234) none repeat scroll 0% 0%;
  border-radius: 30px;
  padding: 3px 5px;
  padding-right: 10px;
  color: #304157;
}
.dash-box-item-icon i {
  margin-left: 3px;
}

.dash-box-item-tag:last-child {
  margin-left: 5px;
}

.dash-box-item-tag .dash-box-item-icon {
  width: 20px;
  font-size: 10px;
}

.dash-box-item-icon {
  width: 30px;
  display: inline-block;
  color: #6885AA;
}

.dash-box-item-info {
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0 5px 10px;
  color: #7190bc;
}

.dash-box-item-stat {
  display: inline-block;
  width: 120px;
  background-color: #DADFEA;
  color: #637496 !important;
  border-radius: 15px;
  text-align: center;
  padding: 5px 0;
  font-size: 13px;
  font-weight: bold;
}

.dash-box-item-stat:hover {
  text-decoration: none;
  background-color: #C6CFE1;
  color: #3f4f6f !important;
}

.dash-box-item-action {
  width: 95%;
  font-size: 14px;
  font-weight: bold;
  margin: 0 auto;
  margin-top: 10px;
}

.dash-box-item-action-info {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 15px;
  border-radius: 30px;
  background-color: #ffffe4;
  color: #686804;
  border: 1px solid #d5d571;
}

.dash-box-item-action-dropdown {
  width: 100%;
  padding: 10px;
  border-radius: 30px;
  border: none;
  font-family: 'Nunito';
  background-color: #E0E4ED;
  color: #7C9AC0;
  font-weight: bold;
  box-shadow: 0 2px 0px #BAC3D5;
}
.dash-box-item-action-dropdown:hover {
  background-color: #C6CFE1;
}

.dash-box-item-action-button {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  padding-left: 10px;
  border-radius: 30px;
  background-color: #b7fda0;
  color: #38891b;
  cursor: pointer;
  box-shadow: 0 2px 0px #38891b;
}
.dash-box-item-action-button i {
  margin-left: 5px;
  margin-right: 10px;
}

.dash-box-item-action-button:hover {
  background-color: #a3ea8c;
}

#IStad-root > .dash-box-container {
  width: 875px;
}

#IStad-root > .dash-box-container > .dash-box-body > .dash-box-sub {
  display: inline-block;
  width: 30%;
  vertical-align: top;
}

#IStad-root > .dash-box-container > .dash-box-body > .dash-box-sub:not(last-item) {
  margin-right: 8px;
}

/* Old Styles */

.dashtitle{
  font-weight:bolder;
  font-size:large;
  color: #8EB4E6;
}

.dashhighlight{
  color: #8EB4E6;
}

.dashhighlight-bold{
  color: #8EB4E6;
  font-weight:bold;
}

.dashhighlight-bold a{
  color: #8EB4E6;
  font-weight:bold;
}

.dashhighlight-bold a:hover {
  color: #33c;
}

.dashcontent-left{
  width: 440px;
  height: 600px;
  float: left;
  padding: 10px 10px;
  margin: 25px 0px;
  border: 3px solid;
  border-color: #8EB4E6;
}

.dashbox {
  margin: 5px 0;
  width: 60%;
}

.dashbox-header {
  box-sizing: border-box;
  width: 100%;
  background: #AECBF0;
  font-size: 16px;
  padding: 10px;
  display: block;
}

.dashbox-subheader-70 {
  box-sizing: border-box;
  width: 70%;
  background: #C3DAF6;
  font-size: 14px;
  padding: 10px;
  float: left;
}

.dashbox-subheader-30 {
  box-sizing: border-box;
  width: 30%;
  background: #C3DAF6;
  font-size: 14px;
  padding: 10px;
  float: right;
  text-align: center;
}

/******************* CONTACT PREFERENCES *************************/
.contPrefAccordion{
  width:900px;
}
#contPrefAccordionHeader#contPrefAccordionHeader{
  display:inline;
  font-weight: bold;
  font-size:inherit;
  text-align: center;
}
.contactPreferencesContainerGrid {
  display: grid;
  max-width:100%;
  max-height:100%;
  grid-template-rows: repeat(9, min-content);
  grid-template-columns: 110px minmax(0px,1.5fr) minmax(0px,1.2fr);
  row-gap:3px;
}
#contPrefAccordion .contprefArrowButton{
  display:inline;
  background: none;
  padding: 0;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: inherit;
}

.contactPreferencesContainerGrid label {
  padding-right:5px;
}

.flex{
  display:flex;
  width:100%;
  flex-wrap:wrap;
  align-items:flex-start;
}
.hidden{
  display:none;
}

.contactExplicitDropdown{
  width:80px;
}
/******************* contact preferences grid items*************************/
#conPref-0 {
  grid-row: 1/2;
  grid-column: 1/3;
}

#conPref-1 {
  grid-row: 1/2;
  grid-column: 3/5;
  padding-left:15px;
}
#conPref-2 {
  grid-row: 2/3;
  grid-column: 1/5;
}
#conPref-3 {
  grid-row: 3/4;
  grid-column: 1/2;
  background-color:var(--contPrefGridItemBackground);
  padding:10px 0px 10px 3px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-left:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-4 {
  grid-row: 3/4;
  grid-column: 2/3;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}

#conPref-5 {
  grid-row: 3/4;
  grid-column: 3/5;
  background-color:var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-right:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  margin-right:3px;
}

#conPref-7 {
  grid-row: 4/5;
  grid-column: 1/2;
  background-color:var(--contPrefGridItemBackground);
  padding:10px 0px 10px 3px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-left:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-8 {
  grid-row: 4/5;
  grid-column: 2/3;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-9 {
  grid-row: 4/5;
  grid-column: 3/5;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-right:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  margin-right:3px;
}

#conPref-10 {
  grid-row: 4/5;
  grid-column: 4/5;
}
#conPref-11 {
  grid-row: 5/6;
  grid-column: 1/2;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 3px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-left:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-12 {
  grid-row: 5/6;
  grid-column: 2/3;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-13 {
  grid-row: 5/6;
  grid-column: 3/5;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-right:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  margin-right:3px;
}

#conPref-15 {
  grid-row: 6/7;
  grid-column: 1/2;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 3px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-left:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-16 {
  grid-row: 6/7;
  grid-column: 2/3;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}
#conPref-17 {
  grid-row: 6/7;
  grid-column: 3/5;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-right:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  margin-right:3px;
}

#conPref-19 {
  grid-row: 7/8;
  grid-column: 1/3;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 8px 10px 3px;
  border-left:1px solid var(--contPrefGriditemBorder);
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
}

#conPref-20 {
  grid-row: 7/8;
  grid-column: 3/5;
  background-color: var(--contPrefGridItemBackground);
  padding:10px 0px 10px 0px;
  border-top:1px solid var(--contPrefGriditemBorder);
  border-bottom:1px solid var(--contPrefGriditemBorder);
  border-right:1px solid var(--contPrefGriditemBorder);
  margin-right:3px;
 }
 #conPref-21 {
  width:100%;
  grid-row: 8/8;
  grid-column: 1/5;
  padding:15px 5px 0px 10px;
 }

#conPref-22 {
  padding:5px 0px;
  grid-row: 9/9;
  grid-column: 1/5;
}
/******************* end of grid items *************************/

.altfield{
  width:100%;
  display:flex;
  justify-content:space-between;
  margin-bottom:4px;
  padding-right:10px;
  text-align:right;
}

.altfield input {
  padding-right:20px;
}

.altfield label{
  justify-content: flex-end;
  text-align:right;
}

.contPrefletter{
  padding-bottom:5px;
}

.contactPreferencesContainer ul{
  list-style-type: none;
  padding-top:5px;
}

.contactPreferencesContainer li{
  margin-left:0px;
}

.contactPreferencesContainer textarea{
  padding:3px;
  margin-right:3px;
}

#contactPreferencesContainer p{
  margin:0px 5px;
}
#contactPreferencesAccordionContainer p {
  margin:0px 5px;
}

.mobFieldsContainer li{
  margin-left:125px;
  margin-top:3px;
}

.landlineContainer li{
  margin-left:125px;
  margin-top:3px;
}

.contPrefEndSection{
height:20px;
}

#altAddressFields{
  justify-content: flex-end;
}

#letterOptions{
  margin-left:15px;
  margin-bottom:5px;
}

.notes{
  margin-left:20px;
}
/* contact pref small tooltip under SMS checkbox */
.contPrefSMSTooltipText{
  padding-left:18px;
  font-size:small;
  color:var(--grey);
}
/* Contact pref tooltips on hovering the info icon */
.cpToolTip {
  position: relative;
  display: inline-block;
  color:var(--contPrefTooltip);
}

.cpToolTip .cpToolTipText {
  visibility: hidden;
  width: 800px;
  background-color: var(--white);
  color:var(--black);
  font-size:medium;
  font-weight:100;
  padding: 5px;
  border:1px solid var(--black);
  position: absolute;
  z-index: 1;
}

.cpToolTip:hover .cpToolTipText {
  visibility: visible;
}

.cpSMSToolTip{
  position: relative;
  display: inline-block;
  color:var(--contPrefTooltip);
}

.cpSMSToolTip .cpSMSToolTipText {
  visibility: hidden;
  width: 400px;
  background-color: var(--white);
  color:var(--black);
  font-size:medium;
  font-weight:100;
  padding: 5px;
  border:1px solid var(--black);
  position: absolute;
  z-index: 1;
}

.cpSMSToolTip:hover .cpSMSToolTipText {
  visibility: visible;
}
/* contact pref  update button */
.updateContPrefButton{
  padding:10px;
  border: 2px solid var(--contprefUpdateButtonBorder);
  cursor: pointer;
  border-radius: 6px;
  background: transparent;
}

.updateContPrefButton:hover {
  background-color: var(--contprefUpdateButtonHover);
}

.project-dropdown-container {
  display: flex;
  justify-content: space-between;
  padding-block: 8px;
}

.project-dropdown-container label {
  padding-left: 9px;
}

.project-dropdown-container select {
  font-size: 16px;
  width: 250px;
}

.project-dropdown-container .clear {
  display: none;
}
