*, html {
    scroll-behavior: smooth !important;
}

.changeforceColor{
    color: #1F4F7A;
}
.changeforceBGColor{
  background-color: #1F4F7A;
  color: white;
}

.changeforceOrange{
  color: #F28C28;
}

.changeforceBGOrange{
  background-color: #F28C28;
  color:white;
}

.btn-changeforceblue{
  border: 2px solid #1F4F7A;
  color: #1F4F7A;
}

.btn-changeforceblue:hover{
  background-color: #1F4F7A;
  color: white;
}

.cursor-pointer{
  cursor: pointer;
}

/*frontend top navigation*/
.top-nav ul li a{
  color: #1F4F7A !important;
}

/* Custom Styles */
.full-banner {
    position: relative;
    background-image: url('../Images/Full_banner.png'); /* Replace with the correct path */
    background-size: cover;
    background-position: center;
    height: 45vh;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding-right: 20px;
}

.h2c_logo {
    max-width: 450px;
    margin-bottom: 20px;
}

.hero-description h1{
    font-size: 1.8rem;
    font-weight: bold;
}

.hero-description h2{
    font-size: 1.6rem;
}

.hero-description h3{
    font-size: 1.2rem;
    font-style: italic;
}

.soon{
  border: 1px solid #F28C28;
}

.recommendations_calendar{
  font-size: 1.5rem;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 20px;
    }

    .h2c_logo {
        width: 160px;
        max-width: 260px;
    }
}

.wrapper {
  width: 100%; 
}

#bulb_icon{
  margin-top: -10px;
  width: 25px;
}

#sidebar {
  min-width: 270px;
  max-width: 270px;
  background: #F4F4F4;
/*  color: #fff;*/
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  position: relative; 
}

#sidebar .h6 {
/*  color: #fff; */
}

#sidebar.active {
  margin-left: -270px; 
}

#sidebar.active .custom-menu {
  margin-right: -50px; 
}

#sidebar h1 {
  margin-bottom: 20px;
  font-weight: 700; 
}

#sidebar h1 .logo {
  color: #fff; 
}

#sidebar ul.components {
  padding: 0; 
}

#sidebar ul li {
  font-size: 1.4em; 
}

#sidebar ul li > ul {
  margin-left: 10px; 
}

#sidebar ul li > ul li {
  font-size: 14px; 
}

#sidebar ul li a {
  padding: 10px 0;
  display: block;
  color: #1F4E79;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  #sidebar ul li a:hover {
    color: #1F4E90; 
}
#sidebar ul li.active > a {
  background: transparent;
  color: #1F4E79; 
}

@media (max-width: 991.98px) {
  #sidebar {
    margin-left: -270px; }
  #sidebar.active {
    margin-left: 0; }
  #sidebar .custom-menu {
    margin-right: -60px !important;
    top: 10px !important; 
  } 

  .dropdown-toggle::after{
    top:20px !important;
  }
}

#sidebar .custom-menu {
  display: inline-block;
  position: absolute;
  top: 20px;
  right: 0;
  margin-right: -20px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  z-index: 9;
}
@media (prefers-reduced-motion: reduce) {
  #sidebar .custom-menu {
    -webkit-transition: none;
    -o-transition: none;
    transition: none; 
  } 
}
#sidebar .custom-menu .btn {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
}
#sidebar .custom-menu .btn.btn-primary {
  background: #F28C28;
  border-color: #F28C28; 
}

#sidebar .custom-menu .btn.btn-primary:hover, #sidebar .custom-menu .btn.btn-primary:focus {
  background: #F28C28 !important;
  border-color: #F28C28 !important; 
}

a[data-toggle="collapse"] {
  position: relative; }

.dropdown-toggle::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); 
}

#groupDropdown::after{
 top: 50%;
 right: 10px;
}

@media (max-width: 991.98px) {
  #sidebarCollapse span {
    display: none; } 
  }

#content {
  width: 100%;
  padding: 0;
  min-height: 100vh;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s; 
}

/*training cards pages/training*/
.custom-card-img {
  width: 100%;
  max-height: 35vh; /* 25% of the viewport height */
  object-fit: cover;
}

.custom-card-training-img {
  width: 100%;
  max-height: 40vh; /* 25% of the viewport height */
  object-fit: cover;
}

.btn.btn-primary {
  background: #78C2AD;
  border-color: #78C2AD;
  color: #fff;
}

.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #5eb69d;
  border-color: #55b298;
  color: #fff;
}


/*Online training show*/
#online_training_content{
  max-height: 580px;
/*  overflow-y: scroll;*/

}
#online_training_videos{
  max-height: 240px;
  overflow-y: scroll;
/*  border: 1px solid #E5E5E5;*/
}

#online_training_downloads{
  max-height: 240px;
  overflow-y: scroll;
/*  border: 1px solid #E5E5E5;*/
}

.footer p {
/*  color: rgba(255, 255, 255, 0.5); */
}

.form-control {
  height: 40px !important;
  background: #fff;
  color: #000;
  font-size: 13px;
  border-radius: 4px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: transparent; 
}

.form-control:focus, .form-control:active {
  border-color: #000; 
}

.form-control::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: rgba(255, 255, 255, 0.5); 
}

.form-control::-moz-placeholder {
  /* Firefox 19+ */
  color: rgba(255, 255, 255, 0.5); 
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: rgba(255, 255, 255, 0.5); 
}
  .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(255, 255, 255, 0.5); }

.subscribe-form .form-control {
  background: #F28C28; 
}


.hero-section-popup {
  padding: 40px 0;
  border-radius: 10px;
}
.hero-section-popup h3 {
  font-size: 2rem;
  font-weight: bold;
}

.hero-section-popup {
  background-color: #f8f9fa; /* Light background for the hero section */
  padding: 50px 15px; /* Padding to avoid overly cramped text */
  height: 100%; /* Full height */
}

.hero-section-popup img {
  max-width: 80%; /* Limit image size */
}

/*event*/
.thumbnail-container {
    position: relative;
}

.event-over-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 10;
    pointer-events: none; /* This prevents the overlay from blocking clicks */
}

.event-over-overlay span {
  background-color: #F28C28;
  padding: 5px;
}

.mp4soon{
  color: #F28C28;
  border: 1px solid #F28C28;
  padding: 5px;
}


/*Cookies*/
.cookie-box {
    position: fixed;
    background: rgba(31, 79, 122, .9);
    color: rgb(255, 255, 255);
    text-align: center;
    width: 100%;
    bottom: 0;
    animation: popin .4s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.455, 0.030, 0.515, 0.955);
    transform-origin: center 100%;
    z-index: 9999;
}

#cookies{
  width: 130px;
  height: auto;
  margin-right: 10px;
}

.cookie-box span {
    display: inline-block;
}

.cookie-box span a{
  color: white;
}

.cookie-box button {
    border: none;
    padding: 10px 20px;
    z-index: 10;
    color: #3E3E3E;
}