/**
*****************************************
	Theme Name: Ceylon Solar Power
	Author: ANTS Creation
	Author URL: http://www.ants.lk
	Version: 1.0
******************************************
**/

/* 01. Header Main Styles */
.header{
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    top: auto;
    z-index: 100;
    width: 100%;
    background-color: #fff;
}
.top-header {
    width: 100%;
    padding: 0;
    background-color: #282d22;
    position: relative;
    z-index: 1;
}
.top-header .t-content a{
    color: var(--white);
    font-size: 14px;
}
.top-header .b-line{
    border-right: 1px solid  var(--main-3);
    margin-right: 20px;
}
.main-menu::before{
    content: '';
    position: absolute;
    top: 0;
    left: -15%;
    width: 24rem;
    height: 100%;
    background-image: linear-gradient(to right, #ffffff, rgb(242, 249, 235));
    transform: skewX(-28deg);
}

.contact-icon a{
    padding-right: 18px;
    color: #FFF;
    font-size: 1rem;
    transition: all .25s ease;
}
.contact-icon h4{
    color: #fff;
    /* color: #000; */

}
.social-icon a i{
    color:  var(--main-3);
    width: 25px;
    margin-left: 10px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}
.main-menu .contact-icon{
    display: inline-block;
    position: relative;
    top: 21px;
    z-index: 1000;
}
.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);
}
.navbar-nav{
    margin-left: 6rem;;
}
.navbar-brand {
    margin-right: 0;
    line-height: 0;
}
.navbar-brand img{
    max-height: 74px;
}
.navbar-nav li{
    padding: 24px 2px;
    position: relative;
}
.nav-item a{
    color: #7a8089;
    font-size: 0.95rem;
    line-height: 20px;
    text-transform: uppercase;
    display: block;
    padding: 8px 16px;
    font-weight: 600;
}
.nav-item a:hover, 
.nav-item a.active {
    color: var(--main-2);
}
.nav-item a i{
    font-size: 0.7rem;
    line-height: 2px;
}
.dropdown{
    border-radius:0;
    border:0;
}
.dropdown-menu{
    border: 0;
    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 li{
    padding: 0;
}
.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-3);
} 
.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-3);
}
.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-3);
}
.sidenav-custom ul{
    list-style: none;
    margin: 0;
    padding: 0 20px 20px;
}
.sidenav-custom li{
    display: inline-block !important;
    width: 100%;
}
.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-4);
}
.sidenav-custom .dropdown,
.sidenav-custom .dropup {
    position: relative;
}
.sidenav-custom .dropdown-menu{
    position: static;
    padding: 0;
    background-color: var(--main-3);
    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-3) !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;
}

.tp-head-nav{
    position: relative;
    width: 17.45rem;
    font-size: 20px;
    position: relative;
    color: #FFF;
    background: var(--main-3);
    height: 100%
}


.tp-head-nav::after{
   content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: -60px;
    z-index: -1;
    background: var(--main-3);
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
    z-index: 1
}






