/**
*****************************************
    Theme Name: AMBI
    Author: ANTS Creation
    Author URL: http://www.ants.lk
    Version: 1.0
******************************************
**/


/*
01. Header Main Styles.
*/

.top-header {
    width: 100%;
    padding: 0;
    background-color: var(--main-2);
}
.top-header .t-color{
    position: relative;
    list-style: none; 
    margin: 0; 
    padding: 0; 
    font-size: 13px;
    position: relative;
    line-height: 35px;
    vertical-align: top;
}
.top-header .t-color::after{
    background-color: var(--main-1);
    content: "";
    width: 5000px;
    height: 100%;
    right: 0;
    top: 0;
    position: absolute;
    z-index: 0;
}
.top-title{
    display: flex;
    color: var(--white);
    z-index: 1;
    position: relative;
    padding: 2px 0;
    font-size: 0.79rem;
}
.top-title p{
    font-size: 0.79rem;
}

.top-title i {
    margin-right: 5px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    font-size: 14px;
    color: var(--white);
}
.top-list{
    display: inline-flex !important;
    position: relative;
}
.social-icon li.top-list i{
    line-height: 35px;
    padding: 0 5px;
}
.social-icon li.top-list a{ 
    AMBIly: font-1;
    color: var(--white);
    font-size: 0.84rem;
    line-height: 35px;
}
.social-icon li.top-list a:hover{ 
    color: var(--main-3);
    cursor: pointer;
}
.social-icon{
    margin: 0;
    text-align: right;
    width: 100%;
    padding: 2px 0;
}
.social-icon li{
    list-style: none;
    display: inline-block;
    color: var(--white);
    font-size: 0.8rem;
    padding: 0;
    text-align: center;
}
.social-icon li:last-child{
    border-right: none;
}
.b-line::after {
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    height: 15px;
    display: inline-block;
    background-color: #555555;
    top: 0;
    bottom: 0;
    margin: auto;
}
.social-icon a {
    text-align: center;
    font-size: 0.8rem;
    color: var(--white);
    display: block;
    line-height: 19px;
    margin: 0;
    padding: 0 10px 0 7px;
    font-family: font-1;
}
.social-icon a:hover {
    color: var(--main-2);
}
.social-icon a i {
    line-height: 19px;
}
.sticky.is-sticky {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    background-color: var(--white);
}
.top-navbar{
    padding: 5px 15px;
    background-color: var(--white);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}
.navbar-brand {
    padding: 2px 0;
    margin-right: 0;
    line-height: 0;
}
.navbar-brand img{
    max-height: 45px;
}
.navbar-nav li{
    padding: 20px 2px;
    position: relative;
}
.header-cutom-container{
    padding: 0;
}
.nav-item a{
    color: var(--main-1);
    font-size: 0.95rem;
    line-height: 20px;
    font-family: font-2;
    text-transform: uppercase;
    display: block;
    padding: 8px 16px;
    border-radius: 0;
}
.nav-item a:hover, 
.nav-item a.active {
    color: var(--main-2);
}
.nav-item a i{
    font-size: 0.7rem;
    line-height: 2px;
}
.nav-item.serch-icon{
    padding: 18px 15px;
}


.openBtn {
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
    line-height: 37px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--main-4);
    border-radius: 50%;
}
.openBtn:hover {
    color: var(--white);
    background-color: var(--main-1);
}
.openBtn i{
    line-height: 37px;
}
.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: var(--shadow-2);
}

.overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: var(--white);
}

.overlay .closebtn:hover {
  color: var(--main-2);
}
.overlay input[type=text] {
    padding: 15px 100px 15px 20px;
    font-size: 1.2rem;
    border: none;
    float: left;
    width: 100%;
    background: white;
    height: 55px;
    overflow: hidden;
    font-family: font-2;
    position: relative;
    border-radius: 55px;
}
.overlay button {
     background: transparent;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 7px;
    right: 20px;
    color: var(--main-1);
}
.overlay button:hover {
  color: var(--main-2);
}


.navbar-nav li:hover .dropdown-menu {
    display: block;
}
.dropdown{
    border-radius:0;
    border:0;
}
.dropdown-menu{
    border: 0;
    top: 74px;
    min-width: 200px;
    padding: 3px 0 0 0;
    text-align: left;
    background-color: var(--main-2);
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
}
.dropdown-menu a{
    line-height: 30px;
    border-bottom: 1px solid #ebebeb;
    padding: 5px 20px;
    border-radius: 0 !important;
    background-color: var(--white);
    font-size: 0.88rem;
    font-family: font-2;
}
.dropdown-menu a:last-child{
    border-bottom: none;
}
.dropdown-menu a:hover{
    color: var(--white) !important;
    background-color: var(--main-1);
} 
.dropdown-toggle::after{
    display: none;
}
.navbar-toggler {
    padding: 5px 5px;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 0px solid transparent;
    border-radius: 0;
    color: var(--main-1) !important;
}
.navbar-toggler i.fas{
    font-size: 2rem;
    color: var(--main-1);
}


.sidenav-custom {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    overflow-x: hidden;
    transition: 0.2s;
    padding-top: 65px;
    background-color: var(--main-1);
}
.sidenav-custom ul{
    list-style: none;
    margin: 0;
    padding: 0 20px 20px;
}
.sidenav-custom li{
    display: inline-block !important;
    width: 100%;
    border-bottom: 1px solid var(--main-bg);
}
.sidenav-custom li:first-child{
    border-top: 0;
}
.sidenav-custom li:last-child{
    border-bottom: 0;
}
.sidenav-custom .closebtn {
    position: absolute;
    top: 7px;
    right: 21px;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
}
.sidenav-custom a {
    padding: 10px 10px 10px 12px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: font-2;
    color: var(--white);
    display: block;
}
.sidenav-custom a:hover,
.sidenav-custom a:active{
    color: var(--main-3);
}
.sidenav-custom .dropdown,
.sidenav-custom .dropup {
    position: relative;
}
.sidenav-custom .dropdown-menu{
    position: static;
    padding: 0;
    background-color: var(--main-1);
    box-shadow: none;
    min-width: 100%;
}
.sidenav-custom .dropdown-menu>li>a{
    font-size: 0.95rem;
    line-height: 20px;
    padding: 10px 0 10px 25px;
    display: block;
    background-color: var(--main-1) !important;
    border-bottom: none;
}
.sidenav-custom .dropdown-menu>li:first-child {
    border-top: 1px solid var(--main-2);
}
.sidenav-custom .dropdown-menu.show li{
    padding: 0;
}
.sidenav-custom .dropdown-menu.show li:last-child{
    border-bottom: none;
}

.sidenav-custom li.side-search{
    padding: 20px 0;
}
.side-search input[type=text] {
    padding: 8px 40px 8px 12px;
    font-size: 1rem;
    border: none;
    float: left;
    width: 100%;
    background: white;
    height: 40px;
    overflow: hidden;
    font-family: font-2;
    position: relative;
    border-radius: 55px;
}
.side-search form{
    position: relative;
}
.side-search button {
    background: transparent;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 7px;
    right: 7px;
    color: var(--main-1);
}







