/**
*****************************************
	Theme Name: Internet Plus Asia
	Author: ANTS Creation
	Author URL: http://www.ants.lk
	Version: 1.0
******************************************
**/


/*
01. Header Main Styles.
02. Header Responsive.
*/

.top-header {
    width: 100%;
    padding: 0;
	background-color: var(--main-1);
}
.top-bar-news {
	margin: 0;
	padding: 0;
	position: relative;
}
.top-bar-news ul{
	display: flex;
	padding: 3px 0;
}
.top-bar-news ul li{
	overflow: hidden;
	float: left;
}
.top-bar-news ul li.top-news-title{
	width: 12%;
	color: var(--white);
	font-family: font-4;
	text-transform: uppercase;
	font-size: 0.75rem;
	line-height: 25px;
	position: relative;
}
.top-bar-news ul li.top-news-title i{
	color: var(--main-2);
	line-height: 25px;
}
.top-bar-news ul li.top-news-title::after{
	content: '';
    background: var(--white);
    height: 16px;
    position: absolute;
    right: 0;
    min-width: 2px;
    top: 4px;
}
.top-bar-news ul li.top-news{
	width: 88%;
	padding: 0 0 0 5px;
	overflow: hidden;
	line-height: 22px;
	height: 24px;
}
.news-slider .animated { 
  animation-duration: 1000ms;
  animation-fill-mode: both; 
}
.news-slider a{
	font-family: font-2;
	color: var(--white);
	font-size: 0.75rem;
}


.social-icon ul li.top-login a{ 
	font-family: font-3;
	color: var(--white);
    font-size: 0.84rem;
    display: inline;
}
.social-icon ul li.top-login a:hover{ 
	color: var(--main-3);
	cursor: pointer;
}
.social-icon ul{
	margin: 0;
	text-align: right;
	width: 100%;
	padding: 2px 0;
}
.social-icon li{
	list-style: none;
	display: inline-block;
	color: var(--main-3);
	font-size: 0.8rem;
	padding: 0;
	border-right: 1px solid var(--white);
	text-align: center;
}
.social-icon li:last-child, .social-icon li:nth-last-child(2) {
	border-right: none;
}
.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: 0px 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-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-7;
    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-3;
    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-7;
    text-transform: none;
}
.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-3);
}
.sidenav-custom li:first-child{
    border-top: 1px solid var(--main-3);
}
.sidenav-custom li:last-child{
	border-bottom: 0;
}
.sidenav-custom .closebtn {
    position: absolute;
    top: -1px;
    right: 10px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}
.sidenav-custom a {
    padding: 10px 10px 10px 12px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
	text-transform: uppercase;
	font-family: font-7;
	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);
}


/* 02. Header Responsive */
@media (max-width: 1199px){
	.top-bar-news ul li.top-news-title {
    	width: 20%;
	}
	.top-bar-news ul li.top-news {
    	width: 80%;
    }
    .top-bar-news{
		display: none;
    }
    .social-icon ul {
        text-align: center;
    }
    .social-icon ul li{
		display: inline-block;
	}
}

@media (max-width: 991px){

	.social-icon ul li:first-child{
		display: inline-block;
		border: 0;
	}
	.social-icon ul li.top-login a{
		padding: 0;
	}
}






