:root {
  --aceit-color: #0073AE;
  --highlight-color: #68CCFF;
  --gray-bg-color: #f7f7f7;
  --transition-time: 0.4s;
        }

.navbar-brand img {
  width:50vw;
} 
.nav-item .nav-link {
  text-wrap: nowrap;
}
a.nav-link[href*="purchase"] {
      font-weight:bold;
      color:var(--aceit-color);
      background-color:var(--gray-bg-color);
      border-radius: 6px;
    }  
a:hover.nav-link[href*="purchase"], a.nav-link[href*="purchase"].active {      
      color:#fff;
      background-color:var(--aceit-color);
    }   
a.nav-link#navbarDropdownMenuLink4-1 {
    color: #A10303;
    font-weight: 500;
    margin-right: 1rem;
}
section h3, .faq-list h3 {color: var(--aceit-color);
    font-size: 1.75rem !important;
    font-weight: 500 !important;    
    line-height: 1.2em;
    padding: 0 !important;
    margin: 1em 0 !important;
    text-transform: none !important;
}
/*h1 {font-size: clamp(2rem, 6vw, 3rem);
    margin: 0;
    padding: 0;
    font-weight: 500;    
    line-height: 1.4em;
    color: #fff;
}
h2 {font-size: clamp(1rem, 3vw, 1.4rem);
  line-height: 1.3rem;
  margin: 1rem 1rem 0 0; 
  text-align:left;
  color: #fff;
}*/
.custom-header-color {color:var(--aceit-color);
}
.aceit-search {
  background-color:#333;
}
.LoggedIn {
  color:#68CCFF;
}
.cookieconsent-optout-statistics img {    
  border: none;
    max-width: 100%;
    height: auto;
  }

ol {list-style-type:none;}
ol li{
    margin-bottom: 1rem;
}
ol ul {list-style-type: square;}
ol ul li {margin-bottom: .5rem;}

.gray-bg {
  background-color:var(--gray-bg-color);
}
/* modal BS5 bug fix */
.modal {
  background: rgba(0, 0, 0, 0.5); 
}
.modal-backdrop {
  display: none;
}
/* Login/Logout */
.login-form h3 {display:none;}
.login-form {
  max-width: 600px;
}
a.icon {
  font-size:.85rem;
}
a.icon::after {    
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color:#0073AE;
  margin-left: 5px;
  width:1rem;
  height: 1rem;     
}
.icon--mydashboard svg {
    color: var(--highlight-color);
    width:1rem; height:1rem;
    margin-right:5px;
}
.icon--mydashboard a {
    color: var(--highlight-color);
}

/*.icon--myaccount a::before {     
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color:#0073AE;
  margin-right: 5px;
  width:1rem;
  height: 1rem;
  font: var(--fa-font-regular);  
}
*/
.icon--loggedin::after { 
 font: var(--fa-font-solid);
  content: '\f08b';
  color:#0073AE;
}
.icon--loggedout::after {
font: var(--fa-font-solid);
  content: '\f090';
  color:#0073AE;
}
.icon--myaccount a::before {
 background:url(/images/default-source/icons/icon-myaccount.png) no-repeat 0 4px;
 background-size: 18px; 
}

/* Register/Login/Password */
.register p {font-size: .85rem;}
.register-header {background-color: #F7F7F7;}
.register-header h3 {color: #A10303;}
input#SerialNumber {width:200px;}
.login h3 {
  color: #A10303;
}
.login h5{
  color: #777;
  font-size:.85rem;
  font-weight:600;
}
.login p{
  color: #777;
  font-size:.85rem;
  font-weight:400;
}
.login-form {
  max-width:600px;
}

/* Home page */
.product-suite-landing .card:hover {
  /*background-color:#eee;*/
  border: 1px solid var(--aceit-color);
  transition: all .5s ease;
}
.product-suite-landing .card:hover a, .product-suite-landing .card a:focus, .product-suite-landing .card a:hover {
  border-bottom: 1px dotted var(--aceit-color);
  font-weight:600;  
}

/* Hero Container */

.hero-container {
  position:relative;  
}
.hero-container h2 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.3rem;
    margin: 1rem 1rem 0 0;
    padding:0;
    font-weight:500;
    text-align: left;
    color:#595959;
}

.hero-suite h1 {font-size: clamp(1.6rem, 6vw, 2.5rem) !important;
    margin: 0;
    padding: 0;
    font-weight: 600;    
    line-height: 1.1em !important;
    color: #fff !important;
}
.hero-suite h2 {font-size: clamp(1.1rem, 3vw, 1.2rem) !important;
  line-height: 1.7rem !important;  
  text-align:left !important;
  color: #fff !important;
  text-transform:capitalize;
}
.hero-suite h3 {color: #0073AE !important;  
    font-size: clamp(1.3rem, 3vw, 1.75rem) !important;
    font-weight: 500 !important;    
    line-height: 1.2em;
    padding: 0 !important;
    margin: 1em 0 !important;
    text-transform: none !important;
}

.hero-image {  
  background-image: url(/images/default-source/default-album/banner-hero-bg.png);   
  width: 100%; 
  background-size: cover;
  background-position: top center;
  transform: scale(1); /* Initial scale */
  transition: transform 0.3s ease; /* Smooth transition */
 }
.overlay {
  border-image:  linear-gradient(
    hsl(180 0% 100% / 0),
    hsl(0 0% 100% / .5)) 
    fill 1;
  transition: border-image .5s ease;
}
.hero-image--home {  
  background-image: url(/images/default-source/default-album/landing-hero-bg.png);  
  min-height:400px; 
}
.hero-image--home a.btn {
    width: 120px;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: #A10303;
    --bs-btn-border-color: #A10303;
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #870303;
    --bs-btn-hover-border-color: #A10303;
    --bs-btn-focus-shadow-rgb: var(--bs-dark-border-subtle);
}
.hero-text {color: #ffffff;}  
.hero-text p {font-weight: 400;}  
.hero-image--home .hero-text {
  color: #3f3f3f;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -55%);
  text-align: left;
  width: 80%;
}

.tagline {width:350px;}

/* Product Suite */
.suite-flow img {
    max-width: 200px;
}
.suite-flow p {
    background-color:var(--gray-bg-color);
    padding: 1.5rem;
    color: #106EBE;
    font-weight: 500;
}
h4.list-title {
    margin: 1rem 0 0 0;
    padding: 0;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 2rem;
    font-style: normal;
}
.features {
  list-style: none; 
  padding:0;
}
.features li {
    line-height: 1.4rem;    
    padding: 0 0 .5rem 24px; 
    position: relative;
}
.features li::before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    top:3px;
    background-repeat: no-repeat;
    margin-right: 8px;
    vertical-align: middle;
    background-size: cover;
    height: 20px;
    width: 20px;    
}
.features--ace li::before {
    background-image: url("/images/default-source/default-album/suite/ace-bullet.png");    
}
.features--post li::before {
    background-image: url("/images/default-source/default-album/suite/post-bullet.png");
}
.features--costat li::before {
    background-image: url("/images/default-source/default-album/suite/costat-bullet.png");
}
.features--librarian li::before {
    background-image: url("/images/default-source/default-album/suite/librarian-bullet.png");
}
.features--jacs li::before {
    background-image: url("/images/default-source/default-album/suite/jacs-bullet.png");
}
.features--plugins li::before {
   background-image: url("/images/default-source/default-album/suite/ace-bullet.png");
}
.screenshot-img {
    border: none;
    max-width: 100%;
    max-height: 550px;
    height: auto;
}
.product-suite-shared .card {
    width: 400px;
    min-height: 180px;
    margin: 1rem 1rem 0 0;
}
.product-suite-shared .card img {
  top: 5px;
  right:10px;
}
.product-suite-shared h4 {  
    margin: unset;
    padding: unset;
    font-weight: unset;
    font-size: unset;
    line-height:unset;
    color: unset;
    font-style: unset;
    font-size: calc(1.275rem + 0.3vw);
    margin-top: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}
.product-suite-shared h5 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 2rem !important;
}
.product-suite-shared .card:hover, .product-suite-shared .card:focus, .product-suite-shared .card a:focus {
  border: 1px solid var(--aceit-color);
  opacity: .8;
  transition: all .5s ease;
}
.product-suite-shared .card:hover h4, .product-suite-shared .card:focus h4 {
  color: var(--aceit-color);
}
.risk-icon img {
  width:40px;
  height:auto;
}
/** Image modal **/
.modalImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modalImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 100%;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* Training Center */

.card-course {  
  border-top: 15px solid var(--highlight-color) !important;
  border-radius: var(--bs-border-radius);
  min-height: 250px;
  margin-bottom:1rem;
  background-color:#fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-time), box-shadow var(--transition-time), background-color var(--transition-time) ease;  
}
.card-course:hover {
  background-color:#F9F9F9;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card-course .card-body {
  min-height:230px;
}
.card-course h4 {
  margin-top:.5rem;
}

.legend {margin-bottom:.5rem;}
.legend p {padding: 0; margin:0;}

p.icon {    
    padding-left: 1.7rem;    
}
.icon--sp {
  background: url('/images/default-source/icons/icon-selfpaced.png') no-repeat; 
  background-size: 1.5rem;
}
.icon--or {
  background: url('/images/default-source/icons/icon-opentraining.png') no-repeat; 
  background-size: 1.5rem;
}
.icon--ot {
  background: url('/images/default-source/icons/icon-onsite.png') no-repeat 0 3px; 
  background-size: 1.5rem;
}
.card-icons img {
  width: 1.6rem;
  height:auto;
  margin-left:.5rem;
}
.card-location {
  height: 380px;
}
.card-location address span { 
  display:block;
  padding: 3px 0;
}

/* Training Calendar */
.card-course--ot {  
  /*border-top: 15px solid var(--aceit-color);*/
  min-height: 150px;
}
.card-course--ot  .card-body {
  min-height:100px;
}
.card-course--ot:hover .align-items-end svg {
  background-color: #0073AE;
  color:#fff;
    border-radius: 20px;
}
.month-filter button.arrow.active {
    opacity: 1;
    pointer-events: auto;
}
.month-filter button.arrow {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    opacity: .4;
    pointer-events: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms linear;
    width: 48px;
    height: 48px;
}
/* What's New */
.news-header {background: #333; color:#fff; padding: 1.5rem;}
.news-body {padding:1rem 1.5rem; background:#f5f5f5;}

/* Purchase */

.card-govt {  
  border-top: 15px solid #3C3B6E !important;
  border-radius: var(--bs-border-radius);
  margin-bottom:1rem;
  background-color:#fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-time), box-shadow var(--transition-time), background-color var(--transition-time) ease;  
}
.card-govt:hover {
  background-color:#F9F9F9;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-govt h4 {
  margin-top:.5rem;
  background-color:#3C3B6E;
}

/*Dashboard */
.dashboard-header {background-color: #F7F7F7;}
.dashboard-header h3 {color: #106EBE;}
.cta-container {padding-top:1rem; border-top:1px solid rgba(0, 0, 0, 0.1);}
.card--db {margin-top:1rem; margin-bottom:1rem;}
.card--db>div:first-child {height:100%;}
.card--db>div:first-child>div {height:100%;}
.card--db h4 {font-size:1rem;}
.card--db .muted {color: #717182;}
.card--db .card-title svg {width:1.4rem!important; height:1.4rem!important; margin-right: 8px;}
.card--db .d-flex div svg {margin-right:8px;}
.card--db .d-flex a svg {margin-right:0;}
.card--db .btn svg {width:1rem; height:1rem; margin-left: 8px;}

.card--myaccount .header svg {color:#AD46FF;}

.card--media .header svg {color:#2B7FFF;}
.card-body div.highlight {
    background-color: #E9EBEF;
    border-radius: 8px;
    padding: .5rem;
    margin-bottom:1rem;
}
.card-body.card--trainingsp section.inprogress div.highlight {
  background-color: rgba(200, 158, 4, 0.1); 
  border: solid 1px rgba(200, 158, 4, 0.3);
}
.card-body section.completed div.highlight {
  background-color: rgba(240, 253, 244, 0.5); 
  border: solid 1px #B9F8CF;
}
.card-body.card--trainingot section.upcoming div.highlight {
  background-color: rgba(239, 246, 255, 0.5); 
  border: solid 1px #BEDBFF;
}

.card-body.card--trainingot h4{padding-left:1.7rem;}

.card--media div.d-flex p:last-child {margin-bottom:0;}

.card--alerts div.open-alert {
    background-color: #FFF7ED !important;
    border: solid 1px #FFD6A7;	
    border-radius: 8px;
    padding: .5rem;
    margin-bottom:1rem;
}
.card--alerts div.closed-alert {
    background-color: #E9EBEF !important;
    border-radius: 8px;
    padding: .5rem;
    margin-bottom:1rem;
}
.card--contact span.step {
display: inline-block;
    background-color: #E9EBEF;
    border-radius: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    vertical-align: middle;
    margin-right:8px;
  }

/* Media Queries*/
@media (max-width: 992.98px) {
.hero-image--login {
  /*overflow: hidden;
  object-fit: cover;
  height: 100px !important;
  object-position: bottom;*/
  display:none;
  }
}

@media (min-width: 575.98px) {
  div.highlights .card {
    width: 100%;
  }
  .tagline {width: 100%; height: auto;
  }
}

@media (min-width: 767.98px) {
  .navbar-brand img {
    max-width: 300px;
    min-width: 150px;
}   
.hero-image--300 {
  height: 300px;
 }
.hero-image--200 {
  height: 200px;
 }
.hero-image {   
  background-position: center;
 }
.hero-text--training {
  margin-top: -6rem;
  margin-left: -8rem;
 }
.hero-image--home .hero-text {
  position:absolute;
  left:50%; 
  top: 50%;  
  transform: translate(0%, -55%);
  text-align: left;
  width: 50%;
  }

.hero-cta {
      margin-top: -2rem;
  }
 img.tagline {  
  min-width: 350px;
  max-width:600px;
  height: auto;  
  }
.suite-img img {  
  max-width: 350px;
  height: auto;  
 }
.suite-img--home img {  
  max-width: 450px; 
 }
.overlay {
    border-image:  linear-gradient(
    hsl(180 0% 100% / 0),
    hsl(0 0% 100% / 0)) 
    fill 1;
  transition: border-image .5s ease;
 }
 div.highlights .card {
    width: 32%;
  }
 }

