/* Fonts */

@font-face {
  font-family: "Foco-bold";
  src: url("/focoageukbd.ttf");
}

@font-face {
  font-family: "FSme-bold";
  src: url("/fsme-bold.otf");
}


/*** CSS in this section has some colors that may need to change with new themes! ***/

.text-highlight {
  background-color: #bfd7ea;
  margin-top: 2px;
  padding: 7px;
}

/*** 
  CSS in this section uses neutral colors that will likely not need to change with new themes
  unless the new themes are radically different than the defualt (ex. a "dark mode" style theme)
***/
.actionBar {
  background-color: #F1F2F4;
}

.card {
  background-color: white;
  border-radius: 2px;
  box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px, rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
  transition: box-shadow 250ms ease-in-out 0s;
  margin: 9px 0px;
  padding: 10px;
}

.card:hover{
  box-shadow: rgb(0 0 0 / 13%) 0px 6.4px 14.4px 0px, rgb(0 0 0 / 11%) 0px 1.2px 3.6px 0px;
  cursor: pointer;
}

.btn.disabled, .btn[disabled], .btn.disabled:hover, .btn[disabled]:hover {
  color: white;
  border: 1px solid #E1DFDD;
  opacity: 50%;
}

.disabledCard {
  background-color: #F3F2F1;
}

.disabledCard:hover {
  box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px, rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
  cursor: not-allowed;
}

.homeSubHeader {
  font-weight: 400;
  font-size: 36px;
}

.left-sidebar {
  border-left: 1px solid #D2D0CE;
  height: 100%;
}

.nav > li:not(.active) > a:hover > span, a.list-group-item:hover, a.list-group-item:active {
  color: white;
}

.numMoreShifts-circle {
  border-radius: 50%;
  background-color: #F3F2F1;
  padding: 0.5rem 0.75rem;
}

.right-sidebar {
  border-right: 1px solid #D2D0CE;
  margin-right: -1px;
  height: 100%;
}

.secondary-button {
  background-color: white;
  border: 1px solid #323130 
}

.secondary-button:hover {
  background-color: #F3F2F1
}

.shine {
  background: #F3F2F1;
  background-image: linear-gradient(to right, #F3F2F1 0%, #E1DFDD 20%, #F3F2F1 40%, #F3F2F1 100%);
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: rgb(0 0 0 / 13%) 0px 1.6px 3.6px 0px, rgb(0 0 0 / 11%) 0px 0.3px 0.9px 0px;
  height: 15rem;
  margin: 9px 0px;
  padding: 10px;
  
  -webkit-animation-duration: 1.5s;
  -webkit-animation-fill-mode: forwards; 
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: placeholderShimmer;
  -webkit-animation-timing-function: linear;
}

.verticalDivider {
  border-right-color: white;
  border-right-width: 1px;
  border-right-style: solid;
  height: 7rem;
  margin: 1rem 0px;
}

.whiteText {
  color: white;
}

/*** End of CSS with hard-coded colors ***/

a.cardLink {
  color: inherit;
  display: contents;
}

.big-icon {
  width: inherit * 1.5;
  height: inherit * 1.5;
}

.btn {
  border-radius: 25px;
  min-width: 15rem;
}

#cancelParticipationBtn {
  border-radius: 0;
  font-weight: 600;
  min-width: 0;
}

.card h2, .card h3 {
  margin-top: 11px;
}

section.container {
  width: 100%;
  padding: 2rem;
}

.engagementDescription {
  height: 100%;
}

.engagementDescription strong {
  font-weight: 600;
}

.engagementDescription ul, .engagementDescription ol {
  list-style-position: outside;
  padding-left: 0;
}

/* Engagement Page */

.engagementDescription h2 {
  font-size: 18px;
  font-family: "FSme-bold";
  margin-bottom: 10px;
  color: var(--navy);
}

.fetchxml {
  display: none;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

label {
  font-weight: 600;
}

.iconByText {
  display: inline-block;
  vertical-align: text-bottom;
}

.input-group {
  margin-top: 1.5rem;
}

.input-group-btn>.btn {
  border-radius: 4px;
  min-width: inherit;
  padding-top: 7px;
}

.left-space {
  margin-left: 2rem;
}

.less-margin-bottom {
  margin-bottom: 0px;
}

.navbar {
  margin-bottom: 0px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  background-color: inherit;
  font-weight: 600;
}

.nav-pills>li.active>a>span, .nav-pills>li.active>a>span:focus, .nav-pills>li.active>a>span:hover {
  padding-bottom: 1rem;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.needsSpace {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.normal-weight {
  font-weight: 400;
}

p.navbar-brand {
  margin-bottom: 0;
}

.page_section.container {
  width: 100%;
}

.no-margin {
  margin: 0 0;
}
/* needs fixing
.section-landing  {
  background: linear-gradient(transparent, transparent), url(engagementbanner.png) no-repeat center !important;
  background: url(engagementbanner.png) no-repeat center !important;
  background-size: 2000px !important;
  background-position-y: -280px !important;
} 
*/
.section-landing {
  background: linear-gradient(transparent, transparent), url(engagementbanner.png) no-repeat center;
  background-size: cover; }

.section-landing {
  padding-top: 75px;
  padding-bottom: 50px;
}

.section-landing .row > div {
  margin-top: 0px;
}


/* needs fixing
.section-landing  {
  background: linear-gradient(transparent, transparent), url(engagementbanner.png) no-repeat center;
  background-size: 2000px 1350px;
  background-position-y: -280px;
} */

.shift-status-desc {
  margin-left: 2rem;
  float: left;
  padding-top: 2.35rem;
}

.small-title {
  font-size: 16px;
  margin-top: 11px;
}

.spinner {
  animation: rotate 2s linear infinite;
  visibility: hidden;
  width: 40px;
  height: 40px;  
}

.spinner .path {
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.statusBar-desc {
  margin-left: 2rem;
  float: left;
  margin-top: 10px;
}

.text-muted {
    color: #161615;
}

.statusBar-desc > button.btn-link {
  padding-top: 0;
  padding-bottom: 0;
}

.tab-content {
  margin-top: 1.5rem;
}

.table-hover > tbody > tr:hover {
  cursor: pointer;
}

.table > tbody > tr > td > h5 {
  margin-top: 0px;
  margin-bottom: 0px;
}

th {
  font-weight: 600;
}

tr.disabledRow, .table-hover>tbody>tr.disabledRow:hover  {
  background-color: inherit;
  cursor: not-allowed;
}

vertical-align-center {
  display: flex;
  align-items: center;
}

/* Engagement Page */

.engagementDescription {
  color: var(--text);
  font-size: 18px;
  line-height: 21px;
}

.engagementDescription h2, h2 {
  font-size: 18px;
  font-family: "FSme-bold";
  margin-bottom: 10px;
  color: var(--navy);
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}


/* Custom CSS */

:root {
  --navy: #141760;
  --accent: #9E005E;
  --text: #545454;
  --ageblue: #006EA1;
  --agepink: #D91C90;
}
a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover {
  text-decoration: none !important;
  color: #f4f4f4 !important;
  
  background-color: #09517b !important;
}
.pca .pcatext {
  color: #333;
}
.glyphicon {
  font-size: 15px;
  /* display: none; */
  color: #006ea1
}

/*Page header navigation */

.navbar-brand--logo {
  padding: 0;
}

.navbar-brand--logo a img {
  height: 50px;
}

.navbar-default, .navbar-collapse {
  background-color: #fff !important;
} 

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a {
  color: #141760 !important;
  font-family: "FSme-bold";
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li.active > a,
.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a.active {
  color: #D91C90 !important;
  background-color: #fff;
}

.nav .open .dropdown-menu > li > a {
    color: #141760!important;
    font-family: "FSme-bold";
}

.nav .open .dropdown-menu > li > a:hover,.nav .open .dropdown-menu > li > a.weblink:hover {
  color: #D91C90 !important;
  background-color: #fff;
}

/* .highlighted {
  border-bottom: 2px solid #D91C90;
  padding-bottom: 4px; 
  color: #D91C90 !important;
  transition: background-color 0.3s ease, color 0.3s ease;
} */

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a:hover,.navbar-nav > li > a.weblink:hover, .navbar-nav > li > a:hover,.navbar-nav > li > a.weblink:hover span {
  color: #D91C90 !important;
  background-color: #fff;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a:focus {
  background-color: transparent;
}

/* Home page */

.header-box {
  background-color: #141760;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #fff;
  font-family: "Foco-bold";
}

.header-box.header-box--small {
  background-color: #00AEEF ;
}

.header-search-section {
  border: 1px solid #A19F9D;
  height: 40px;
  width: 357px;
  overflow: hidden;
  display: inline-flex;
  border-radius: 2px;
}

.header-search-section .form-control {
  border-radius: 0;
  width: 314px;
  border: 0;
  margin-top: -1px;
}
  
.header-search-section .input-group-btn button {
  margin-top: -4px;
  border-radius: 0 !important;
}


.container.home-container {
  padding-top: 0 !important;
  position: relative;
}

.home-container::after {
  content: " ";
  position: absolute;
  left: 0;
  width: calc(25% + 3px);
  bottom: 0;
  top: 0;
  height: 100%;
  background: #F1F2F4;
  z-index: -1;
}



.right-sidebar {
  border-right: 0 !important;
}

.sidebar-custom {
  background: #F1F2F4;
  position: relative;
  padding: 0 36px;
}

.left-sidebar {
  border-left: 0 !important;
}


.main-container {
  margin: 0 2rem;
}

.sidebar-custom h2 {
  color: var(--navy);
  font-size: 18px;
  font-family: "FSme-bold";
}

/* Global styles Forms */

.form-group {
   margin-bottom: 5px; 
}

.checkbox-container { 
  display: flex;
  align-items: flex-start;
}

.form-group .form-check-label {
  font-weight: normal;
}


/* General focus style for text inputs */
input[type="text"]:focus,
input[type="text"]:hover {
  outline: 2px solid #007bff; /* Blue border on focus */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Slight blue glow */
}

/* Highlight for radio buttons and checkboxes when checked */
input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
  background-color: #e9ecef; /* Light gray background when selected */
  border: 1px solid #007bff; /* Blue border to indicate selection */
  border-radius: 3px; /* Slight rounding of the border */
  padding: 2px 6px; /* Padding to improve visibility */
}

/* Optional hover effect to indicate interactivity */
input[type="radio"] + label:hover,
input[type="checkbox"] + label:hover {
  background-color: #f1f1f1; /* Slightly lighter background on hover */
  cursor: pointer; /* Pointer cursor on hover */
}

.checkbox-container input[type="checkbox"] {
  margin-right: 12px;
}


.form-group label {
  font-weight: 700;
  font-size: 16px;
  color:#545454;
}

.form-group .form-control {
    border-radius: 2px;
    height: 32px;
    border: 1px solid #A19F9D;
    padding: 0 8px !important;
}

.form-group .form-control.multiple {
  height: 80px;
}

.btn {
  border-radius: 5px !important;
  font-size: 18px;
  min-width: unset !important;
  font-family: "FSme-bold";
}

.btn-warning, .btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-primary, .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:disabled {
  background-color: var(--agepink) !important;
  border-color: var(--agepink) !important;
  color: white;
}

.btn-link, .btn-link:hover, .btn-link:focus {
  color: var(--agepink);
  font-size: 18px;
  font-family: "FSme-bold";
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
    background-color: var(--ageblue) !important;
}

.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover {
    background-color: transparent;
}

#pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

@media (max-width: 767px) {
  #pagination-container .pagination {
    white-space: pre-wrap;
  }
}

/* general spacing */

.text-link, .text-link:hover, .breadcrumb li a {
  display: inline-block;
  color: var(--accent) !important;
  font-size: 18px;
  font-family: "FSme-bold";
  text-decoration: underline !important;
}

.breadcrumb {
  padding: 8px 0 !important;
}

.breadcrumb li.active {
  color: var(--text) !important;
  font-size: 18px !important;
  font-family: "FSme-bold" !important;
}


.link-with-icon .glyphicon {
  font-size: 12px;
  color: var(--accent);
}

.icon-section {
  color: var(--navy);
}

.m-top-l {
  margin-top: 24px;
}

.m-bot-l {
  margin-bottom: 24px;
}

.m-top-0 {
  margin-top: 0 !important;
}

main {
  min-height: 90vh !important;
}

/* Footer */


footer {
  margin-top: 0 !important;
  background-color: #f1f2f4;
  border-top: 1px solid #cdcccc;

}

footer .footer-bottom {
  min-height: unset !important;
  padding: 12px 0 !important;
}

footer .footer-bottom a {
  color: var(--navy) !important;
}

.links-container {
  display: flex;
  justify-content: flex-end;
}

/* Home main content */

.top-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 18px;
}

.form-group.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px 0 !important;
  position: relative;
}

.form-group.filters label {
  min-width: 70px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 500;
  padding-top: 0 !important;
}

.dropdown-container select, form .filters select {
  appearance: none !important;
}

form .form-group.filters select.form-control {
  padding-right: 40px !important;
}

.form-group.filters::after {
  content: "\e114";
  font-family: 'Glyphicons Halflings';
  right: 14px;
  bottom: 6px;
  position: absolute;
  font-size: 12px;
  pointer-events: none;
}

.dropdown-container {
  position: relative;
}

.dropdown-container::after {
  content: "\e114";
  font-family: 'Glyphicons Halflings';
  right: 14px;
  bottom: 6px;
  position: absolute;
  font-size: 12px;
  pointer-events: none;
}


/* Home Cards */

.card {
  border: 1px solid #EAEAEA;
  box-shadow: none;
  border-radius: 3px !important;
} 

.card:hover {
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1) !important;
}

a .card h2, .card a h2  {
  font-size: 18px;
  font-family: "FSme-bold";
  color: var(--ageblue);
  text-decoration: underline;
  margin: 4px 0 0 0 !important;
}

a .card h3.text-primary, .card a h3.text-primary, a .card h3, .card a h3 {
  font-size: 18px !important;
  color: var(--navy) !important;
  text-decoration: none;
  margin: 4px 0 0 0 !important;
  font-weight: 400 !important;
}

a .card h3.text-primary + h3, .card a h3.text-primary + h3 {
  display: flex;
}

a .card p.text-info, .card a p.text-info {
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  margin: 0 0 15px 0 !important;
  display: flex;
  align-items: center;
}

a .card p.text-info svg, a .card h3 svg, .card a p.text-info svg, .card a h3 svg  {
  margin-right: 6px;
}

a .card p.text-info + p, .card a p.text-info + p {
  font-size: 18px;
  color: var(--text);
  line-height: 21px;
}


/* Engagement-details page */

/*.details-hero-img {
  background: #F1F2F4;
  min-height: 250px !important;
  background: linear-gradient(to right, #f1f2f4bd, transparent), url(myengagements-banner.jpg) no-repeat center;
  background-size: cover;
  background-position-y: -190px;
  position: relative;
  z-index: 2;
}*/

.details-hero-img {
  background: linear-gradient(transparent, transparent), url(myengagements-banner.jpg) no-repeat center;
  background-size: cover;
  min-height: 250px !important;
  /*padding-top: 75px;
  padding-bottom: 50px;*/
}


.header-details {
  display: flex;
}

.header-text {
  font-size: 20px;
  color: var(--navy);
  font-family: "FSme-bold";
  margin-left: 24px;
}

.bg-text-color {
  background-color: #F1F2F4;
  padding: 10px;
  margin: 20px 0 0 -10px;
}

.bg-text-color h2 {
  margin-top: 0;
}

.engagement-summary p {
  font-size: 18px !important;
  color: var(--text) !important;
  line-height: 21px;
}


.nav.nav-pills > li > a {
  margin: 0;
}

.nav.nav-pills > li > a > span, .nav.nav-pills > li > a > span:hover {
  padding-bottom: 4px;
  color: var(--text) !important;
}

.nav.nav-pills > li.active > a > span {
  color: var(--navy) !important;
}

/* Past Engagements */

.past-egagements .card {
  border: 1px solid #EAEAEA;
  background-color: #F1F2F4;
} 

.past-egagements a .card h2 {
  color: var(--text) !important;
}

.past-egagements a .card h3.text-primary, a .card h3 {
  color: var(--text) !important;
}



/* Profile Page */
div.pcaitem
 {
    font-size: 18px;
    color: #333;
  }
  div.pca
 {
    font-size: 18px;
    color: #333;
  }
div.pca .pcatext {
    font-size: 18px;
    color: #333;
}
/* ADD IMAGE HERE */
/*div.page-heading {
  background: #F1F2F4;
  min-height: 200px !important;
  background: linear-gradient(to right, #f1f2f4bd, transparent), url(profilebanner.jpg) no-repeat center;
  background-size: 2000px;  
  background-position-y: -240px; 
  position: relative;
  z-index: 2;
  padding-bottom: 50px; 
}*/

div.page-heading {
  background: linear-gradient(transparent, transparent), url(profilebanner.jpg) no-repeat center;
  background-size: cover;
  padding-top: 75px;
  padding-bottom: 50px;
  }

.tab-column {
  margin-top: 12px !important;
}

.page-header {
    padding-bottom: 10px;
    margin: 4px 0 20px 0 !important;
    border-bottom: 0 !important;
    display: flex !important;
}

.page-header h1 {
  background-color: #141760;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #fff;
  font-family: "Foco-bold";
}

legend.section-title, 
#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel legend {
  font-size: 24px !important;
  color: #0578a2 !important;
  margin: 0 0 20px 0 !important;
  border-bottom: 0 !important;
}

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel .checkbox, .form-check-input {
  accent-color: var(--accent) !important;
}

.crmEntityFormView td.cell:empty {
  padding: 0 !important;
}

legend {
  margin-bottom: 0 !important;
  display: none;
} 

/* causing issue on profile form alignment on mobile
div[data-name="tab_contactinformation"] table.section, div[data-name="tab_availability"] table.section  {
  margin: 0 0 0 -28px !important;
}
*/

.crmEntityFormView fieldset {
  margin-bottom: 0 !important;
}



.checkbox-cell {
  padding: 24px !important;
}

.checkbox-cell .field-label {
  margin-left: 12px;
}

.crmEntityFormView .cell div.control span.checkbox input[type=checkbox] {
  margin-left: 0;
  accent-color: var(--accent);
}

.crmEntityFormView .cell.checkbox-cell{
  padding: 0 10px 10px 28px !important;
}

div[data-name="tab_contactinformation"] .crmEntityFormView .cell input[type=text], html[dir=ltr] .crmEntityFormView .cell select, html[dir=ltr] .crmEntityFormView .cell textarea {
  border-radius: 2px !important;
  border: 1px solid #A19F9D !important;
}

.crmEntityFormView .tab {
  margin-bottom: 0 !important;
}

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel + div {
  margin-bottom: 80px !important;
}

#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel + div .actions {
    padding: 8px 8px 8px 8px;
    position: relative;

}


 .actions {
    padding: 8px 8px 8px 8px;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    z-index: 9;
    background: #fff;
    border: 0;
}

.crmEntityFormView .actions {
  border-top: 0 solid #e5e5e5 !important;
  margin: 20px 17px 20px 0 !important;
  padding: 0 !important;
}

.actions .col-sm-6 {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
}

/* .profile-info {
  flex-direction: column !important;
}

.userFullName {
  padding-top: 20px;
  font-size: 18px;
  font-family: "FSme-bold" !important;
  color:var(--navy) !important;
  font-size: 18px !important;
}

html[dir=ltr] .userFullName {
  padding-left: 0 !important;
}

div.well > img {
  border-radius: 0 !important;
  width: 80px !important;
  margin-top: 21px !important;
} */


/* Availibity */

div[data-name="tab_availability"] fieldset {
  margin-top: 24px !important;
}

div[data-name="tab_availability"] {
  min-height: 73vh !important;
}

div[data-name="tab_availability"] .grid-actions {
  border: 0 !important;
}

div[data-name="tab_availability"] th {
  font-family: "FSme-bold" !important;
  color:var(--navy) !important;
  font-size: 18px !important;
  border-bottom: 0 !important;
}

div[data-name="tab_availability"] td .dropdown .btn-default {
  border: 0 !important;
  color: var(--navy) !important;
  padding: 5px 10px !important;
  font-size: 16px !important;
}


/* Modal */

 /* .modal-dialog {
  width: 372px !important;
} */

.modal-dialog .crmEntityFormView .cell input[type=text] {
  border: 0 !important;
}
.modal-dialog .crmEntityFormView table.section {
  margin: 0 !important;
} 

.msos-input-container > input.msos-input {
  border: 0 !important;
}

/* Forms */

form #mainContent {
  min-height: 65vh !important;
}

.crmEntityFormView {
  border: 0 !important;
}

.form-readonly .cell input, .form-readonly .cell input.readonly {
  border-radius: 2px !important;
  border: 1px solid #A19F9D !important;
  padding: 0 5px;
  background-color: #F1F2F4 !important;
}

.form-readonly .cell input + .text-muted {
  left: 5px !important;
}


html[dir=ltr] .crmEntityFormView .cell.crmquickform-cell:first-child {
  border-right: 0 !important;
}

/* .crmEntityFormView .cell {
  padding: initial !important;
} */

.progress {
  background-color: transparent !important;
  margin-top: 24px;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.progress li.list-group-item {
  /* padding: 8px 8px 4px 8px !important; */
  border: 0;
}

.progress li.list-group-item.active {
  background-color: var(--navy) !important;
}

.crmEntityFormView .tab-title {
  border-bottom: 0 !important;
}

.previous-btn {
  color: var(--accent) !important;
  font-size: 18px !important;
  font-family: "FSme-bold" !important;
  border: 0 !important;
  padding: 9px 14px !important;
}

@media (max-width: 992px) {
  .home-container::after {
    display: none;
  }

  .sidebar-custom {
    background: transparent !important;
  }

  .section-landing, .details-hero-img {
    background-position-y: 0;
  }
  
}

.btn-default{
  color: var(--ageblue) !important;
  border-color: var(--ageblue) !important;
  background-color: #fff !important
}

.btn-default:hover {
  background-color: whitesmoke !important;
}

.text-primary {
  color: var(--navy) !important;
  margin: 4px 0 0 0 !important;
  font-size: 18px;
  line-height: 22.8px;
}

.text-primary:hover{
  color: #141760 !important;
}

input#btnCloseMessage {
  display: none !important;
}
span#MessageLabel {
  color: #ffffff !important;
}

div#MessagePanel {
  background: #141760 !important;
}

.alert-warning {
  background-color: white;
  border-color: white;
  color: #323130;
}

.alert-success {
  background-color: #141760;
  border-color: #141760 ;
  color: #ffffff;
}

@media (max-width: 1024px) {
  /* Ensure the button looks like other buttons on the site */
  .filter-toggle-btn {
    display: block; /* Make the button visible on mobile */
    width: 100%;
    margin: 10px 0; /* Add some spacing like other buttons */
  }

  .filter-toggle-btn h2 {
    margin: 0; /* Remove any extra margin */
    font-size: 18px; /* Adjust font size for better mobile display */
    color: #fff; /* Ensure the text color matches the button style */
  }
  
  .sidebar {
    display: none; /* Hide the filter sidebar by default on mobile */
  } 

  .sidebar.active {
    display: block; /* Show the filter sidebar when active */
  } 
  
  /* .no-scroll {
    overflow: hidden;
  } */

  /* Close button styling */
  /* .close-btn {
    position: sticky; 
    top: 10px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    color: #545454;
    cursor: pointer;
    font-weight: 700;
  } */

  .col-md-3 {
    width: 100%; /* Set the width to 25% on mobile devices */
  }

  .button-container {
    display: flex;
    justify-content: flex-end; /* Moves buttons to the right */
  }
}

@media (min-width: 1025px) {
  /* Reset the button appearance to look like a normal heading on larger screens */
  .filter-toggle-btn {
    background: none !important; /* Remove any background */
    border: none;
    padding: 0;
    cursor: default;
    box-shadow: none; /* Remove any box shadow */
    margin: 22px 0 10px 0; /* Add some spacing like other buttons */
  }

  /* Reset hover and focus states to prevent background change */
  .filter-toggle-btn:hover,
  .filter-toggle-btn:focus {
    background: none !important; /* Prevent background change on hover/focus */
    box-shadow: none; /* Prevent any shadow on hover/focus */
    outline: none !important; /* Remove default focus outline */
  }

  /* Ensure the heading within the button behaves like normal text */
  .filter-toggle-btn h2 {
    font-size: inherit;
    margin: 0 0 10px 0;
    background: none !important; /* Ensure no background for h2 */
  }

  /* Disable button clickability on larger screens */
  .filter-toggle-btn {
    pointer-events: none; /* Makes the button unclickable */
    cursor: default; /* Removes the pointer cursor */
  }

  /* Close button styling */
  .close-btn {
    display: none;
  }

  .col-md-3 {
    width: 25%; /* Set the width to 25% on mobile devices */
  }

  .col-md-9 {
    width: 75%;
  }
}

/* Larger sidebar for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  /* .sidebar {
  /*  width: 80%; /* Make the sidebar wider on tablets */
  /*  max-width: 600px; /* Increase max width for tablets */
  /*  max-height: 80%; /* Allow more vertical space */
  /*  padding: 30px; /* Add more padding for a spacious look */
  /*} */

  .col-md-3 {
    width: 100%; /* Set the width to 25% on mobile devices */
  }

  .col-md-9 {
    width: 100%;
  }

  .button-container {
    display: flex;
    justify-content: flex-end; /* Moves buttons to the right */
  }
}

.fa-info-circle {
  display: inline-block;
  position: relative;
}

/* Hidden text with appropriate contrast and visibility */
.fa-info-circle::after {
  content: "Form information."; /* Accessible hidden text */
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #f1f1f1; /* Light background for visibility */
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  visibility: hidden; /* Hidden by default */
  opacity: 0;
  pointer-events: none; /* Prevent it from interfering with clicks */
  white-space: nowrap;
  z-index: 10;
  word-spacing: -10px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* On hover or focus, reveal the text */
.fa-info-circle:hover::after,
.fa-info-circle:focus::after {
  visibility: visible; /* Show the text */
  opacity: 1;
}

/* Ensure the icon is focusable and provides good contrast when focused */
.fa-info-circle:focus {
  outline: 3px solid #ffbf47; /* GOV.UK yellow for focus state */
  outline-offset: 2px;
}

.glyphicon-ok {
  position: relative;
}

/* Hidden text with appropriate contrast and visibility */
.glyphicon-ok::after {
  content: "Stage complete."; /* Accessible hidden text */
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #f1f1f1; /* Light background for visibility */
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  visibility: hidden; /* Hidden by default */
  opacity: 0;
  pointer-events: none; /* Prevent it from interfering with clicks */
  white-space: nowrap;
  z-index: 10;
  word-spacing: -10px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* On hover or focus, reveal the text */
.glyphicon-ok:hover::after,
.glyphicon-ok:focus::after {
  visibility: visible; /* Show the text */
  opacity: 1;
}

/* Ensure the icon is focusable and provides good contrast when focused */
.glyphicon-ok:focus {
  outline: 3px solid #ffbf47; /* GOV.UK yellow for focus state */
  outline-offset: 2px;
}
