html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/* navbar hide on scroll down */
.nav-up {
    top: -80px;
}
.navbar{
   transition: top 0.4s ease-in-out;
}
.sidebar,
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
}
.sidebar {
  right: -100%;
  max-width: 350px;
  transition: all ease 0.25s;
  overflow-y: auto;
  z-index: 1032;
}
.overlay {
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.50);
  visibility: hidden;
  z-index: 1031;
}
.main-navigation.active .sidebar {
  right: 0;
}
.main-navigation.active .overlay {
  visibility: visible;
}
@media (min-width: 992px) {
  
  .dropdown-menu{
    display:unset!important;
  }
  .sidebar {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    flex-direction: row;
    max-width: 100%;
    transform: none;
    transition: none;
    overflow-y: visible;
    z-index: auto;
  }
  .dropdown-menu{
  border:0!important;
  -webkit-box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 10%);
    box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 10%);
    padding: 30px!important;
  margin-left:-20px!important;
}
  /*.dropdown:hover .dropdown-menu {
  display: block;
  }
  .dropdown-menu{
  display:block!important;
  }*/
}
.main-heading {
  position: relative;
  z-index: 100;
}
@media (max-width: 991.98px) {
  .dropdown-menu .list-unstyled li a{
    font-weight: bold!important;
}
  .dropdown-menu .title {
    font-size: 14px!important;
    line-height: 18px!important;
    margin-bottom: 15px;
    font-weight: normal;
    text-transform: uppercase;
    opacity: 0.6;
}
  .nav-item{
    margin:0!important;
    padding: 10px 30px;
    border-bottom: 1px solid #1e243221;
  }
  .dropdown-toggle i{
  font-size:unset!important;
  vertical-align: middle;
    float:right;
    transform: rotate(-90deg);
}
  .show i{
    transform: rotate(0deg)!important;
  }
    .sidebar .navbar-nav{
      background-color: #ffffff;
    }
	  .navbar-nav {
	  padding-top: 5rem;
	  padding-left: 1.5rem;
  }
  .sidebar{
    background: #fff;
    overflow: hidden;
  }
  .dropdown:hover .dropdown-menu {
    background:transparent!important;
    margin-left: 10px;
  }
  
}
@media (min-width: 1084px) {
  .order-lg-2 svg {
    display: none;
  }
  
}
.nav-item{
      margin: 20px 8px; 
    font-size: 15px;
    line-height: 20px;
    font-weight: bold;
    color: #1E2432;
}
html .navbar-light .navbar-nav .nav-link{
  color: #33475b;
} 
.navbar-light{
  background-color: #ffffff;
}
.dropdown-custom{ 
  min-width:690px!important;
}
.dropdown-large{
  min-width:350px!important;
}
.dropdown-small{ 
  min-width:250px!important;
}
.dropdown .dropdown-menu{
  margin-top:0px;
  opacity:0;
  transition: opacity 0.6s ease 0s;
  transform: translateY(-10px);
    transition: 0.3s;
      
  visibility: hidden;
    -webkit-transition: opacity 0.5s, visibility 0.5s, margin-top 0.5s ease;
  transition: opacity 0.5s, visibility 0.5s, margin-top 0.5s ease;
}
.dropdown:hover .dropdown-menu {
  margin-top: 15px;
  border: 0;
  opacity:1;
  -webkit-transition: opacity 0.5s, visibility 0.5s, margin-top 0.5s ease;
  transition: opacity 0.5s, visibility 0.5s, margin-top 0.5s ease;
    visibility: visible;
 }
.dropdown ul li:first-child > a:after {
 content: '';
 position: absolute;
 left: 50px;
 top: -8px;
 width: 0;
 height: 0;
 border-left: 5px solid transparent;
 border-right: 5px solid transparent;
 border-bottom: 8px solid #ffffff;
 }
.dropdown-menu .title{
  font-size:18px;
  line-height:24px;
  color:#1e2432;
  margin-bottom:15px;
}
.dropdown-menu .list-unstyled li{
  margin:5px 0;
}
.dropdown-menu .list-unstyled li a{
  text-decoration: none;
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
   color: #5d5d5d; 
  font-weight:bold!important;
}

.dropdown-menu .list-unstyled li a.small-text{
  font-size:13px;
}
.dropdown-menu .list-unstyled li:last-of-type{
  margin-bottom:0;
}
.dropdown-menu .list-unstyled li:first-of-type{
  margin-top:0;
}
.dropdown-toggle::after{
  display:none!important;
}
.dropdown-toggle i{
  font-size:8px;
  vertical-align: middle;
}
.pill-orange{
  background: #ff7a59;
    padding: 5px 20px!important;
    border-radius: 50em;
    margin-top: 5px;
    color: #ffffff!important;
    text-align: center; 
}
.pill-blue{
  background: #00245e;
    padding: 5px 20px!important;
    border-radius: 50em;
    margin-top: 5px;
    color: #ffffff!important;
    width: 60px;
    text-align: center;
}
@media all and (max-width:768px){
  .pill-orange{
    width:unset!important; 
  }
  .pill-blue{
    width:unset!important; 
  } 
}
#navbar_top{
  padding:0;
}

@media (min-width: 992px) and (max-width: 1199px){
  .nav-item {
    margin: 20px 3px;
    font-size: 12px; 
  }
}

@media (min-width: 1200px) and (max-width: 1399px){
  .nav-item {
    margin: 20px 5px;
  }
}

/* noul template */

.header-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: auto;
  aspect-ratio: 2; /
  position: relative;
}

.header-section h1{
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size:36px!important; 
  color:#33475b;
  margin:0 0 30px 0;
  padding:0;
}

.header-section p{
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size:18px!important; 
  color:#33475b;
}

@media (max-width: 768px) {
  .header-section {
    height: auto;
    padding-bottom: 3rem;
    margin-bottom: 30px;
  }
}

.custom-box-header{
  margin: 10% 0 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

a.custom-btn-header{
  background:#ff7a59;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size:16px; 
  color:#ffffff;
  padding:15px 30px;
}

a.custom-btn-header:hover{
   color:#33475b;
}

a.custom-btn-header:focus{
  box-shadow: none;
}

@media (max-width: 991px) {
  .custom-box-header {
    margin: 15px 0 0;
    position: relative;
    padding: 0;
  }
  .header-section h1 {
    font-size: 26px !important;
    margin: 0 0 10px;
  }
  .header-section p {
    font-size: 16px !important;
  }
  a.custom-btn-header {
    font-size: 14px;
    padding: 10px 20px;
    margin: 30px auto 0;
    display: block;
    max-width:260px;
  }
  
  .header-section h1, .header-section p{text-align:center;}
}

@media (min-width: 992px) and (max-width: 1399px){
  .custom-box-header{
    margin: 8% 0 0;
  }
}
