/*************************
Theme Demo Startup Css
PSolar Theme v1.0.0
**************************************/

/**************************************
Common Elements
**************************************/
html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #6b6b6b;
    font-size: 16px;
    line-height: 26px;
    overflow-x: hidden;
}

body.sticky-pad {
    padding-top: 76px;
}

/****************
Headings
*****************/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Rubik', sans-serif;
    color: #2c2c2c;
}

.h1,
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
}

/****************
Lists
*****************/
dl,
ol,
ul {
    margin-bottom: 0;
}

/****************
Links
*****************/
a {
    color: #fff;
    transition: all ease-in-out 0.4s;
    text-decoration: none;
}

a:hover {
    color: #9bc400;
    text-decoration: none;
}

/****************
Basic color & background classes for direct use
*****************/
.bc-txt {
    color: #9bc400 !important;
}

.bc-bg {
    background-color: #9bc400 !important;
}

.sc-txt {
    color: #2c2c2c !important;
}

.sc-bg {
    background-color: #2c2c2c !important;
}

.light-bg {
    background-color: #f2f7e2 !important;
}

/****************
Base Section Styles
(Common Paddings, Section Title, Text align, Image style)
*****************/
.main-content-wrap {
    width: 100%;
}

.section-pad {
    padding: 90px 0;
}

/****************
Buttons Style
*****************/
button,
button:focus,
button:hover {
    outline: none;
    border: none;
}

.theme-btn {
    position: relative;
    background: #9bc400;
    padding: 10px 30px;
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    text-transform: uppercase;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    transition: all ease-in-out 0.4s !important;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
}

.theme-btn.btn-sm {
    padding: 5px 22px;
    font-size: 16px;
    line-height: 1.5;
}

.theme-btn.alt-btn {
    background: #2c2c2c;
}

.theme-btn > i {
    margin-left: 8px;
}

.theme-btn.lg-btn > i {
    margin-left: 12px;
}

.theme-btn:hover {
    background-color: #333333;
}

.theme-btn.alt-btn:hover {
    background: #9bc400;
}

.theme-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #2c2c2c;
    text-align: center;
    border-radius: 12px;
    transform: scale(0);
    transition: all ease-in-out 0.4s;
    z-index: -1;
}

.theme-btn.alt-btn::before {
    background: #9bc400;
}

.theme-btn:hover::before {
    transform: scale(1);
}

/****************
Card Style
*****************/
.card{
    border-radius: 12px;
}
.card-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    color: #9bc400;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    margin: 20px auto 0;
    border: 1px solid #e9e9e9;
}

/****************
Common Social Bar
*****************/
.social-bar > li {
    margin-right: 5px !important;
}

.social-bar > li > a {
    padding: 5px 10px;
}

.social-bar.style-2 > li > a {
    background: #9bc400;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 42px;
    display: block;
    padding: 0;
    color: #ffffff;
    text-align: center;
}

.social-bar.style-2 > li > a:hover {
    background: #ffffff;
    color: #2c2c2c;
}

/***************
Back To Top
************/
.back-to-top {
    background: #2c2c2c;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 40px 40px 0 0;
    position: absolute;
    right: 20px;
    top: -35px;
    cursor: pointer;
    font-size: 24px;
}

/**************************************
Preloader 
**************************************/
.preloader {
    position: fixed;
    background-color: #ffffff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}
.preloader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.preloader-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #2c2c2c #2c2c2c transparent transparent;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
}
.preloader-icon:after, .preloader-icon:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #9bc400 #9bc400;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-animation: rotationBack 0.5s linear infinite;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}
.preloader-icon:before {
    width: 40px;
    height: 40px;
    border-color: #2c2c2c #2c2c2c transparent transparent;
    -webkit-animation: rotation 1.5s linear infinite;
    animation: rotation 1.5s linear infinite;
}

/****************
Preloader Keyframes
*****************/
@-webkit-keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/**************************************
Main Header
**************************************/
.navbar-brand > img {
    width: 160px;
    height: auto;
    transition: all ease-in-out 0.4s;
}

header.main-header.is-sticky .navbar-brand > img {
    width: 140px;
}

/****************
Sticky Nav Keyframes
*****************/
@keyframes stickySlideDown {
    0% {
        opacity: 0.7;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stickySlideUp {
    0% {
        opacity: 0.7;
        transform: translateY(-100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.main-header {
    width: 100%;
}

.main-header .navbar {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    animation-duration: 0.5s;
    animation-name: stickySlideUp;
}

header.main-header.is-sticky nav.navbar {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 8px;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0px 2px 5px #cacaca;
    animation-name: stickySlideDown;
}

.main-header .navbar .navbar-nav li.nav-item {
    margin: 0 10px;
}

.main-header li.nav-item a.nav-link {
    position: relative;
    color: #333333;
    font-weight: 400;
    z-index: 0;
}

.main-header li.nav-item.active a.nav-link {
    color: #333333;
    font-weight: 400;
}

.main-header li.nav-item.btn-nav-item .nav-link::after {
    visibility: hidden;
}

.main-header li.nav-item.btn-nav-item .nav-link {
    color: #333333;
    padding: 8px 30px;
}

.main-header li.nav-item.btn-nav-item .theme-btn > i {
    margin-left: 0px;
    margin-right: 8px;
}

.main-header li.nav-item.btn-nav-item .theme-btn:hover {
    background-color: #333333;
    color: #fff;
}


/****************
Top Entry Section
*****************/
.top-preview{
    padding-top: 100px;
}

.lib-logo {
    max-width: 55px;
    margin: 0 auto;
}

/****************
Pages Link Block Section
*****************/
.pages-blocks{
    background: #f5f5f5;
}
.page-view-block::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.55);
    display: none;
    transition: all ease-in-out 0.4s;
}
.page-view-block:hover::after{
    display: block;
}
.theme-btn.view-float {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
}
.page-view-block:hover .view-float{
    top: 50%;
}

/**************************************
Footer 
**************************************/
.main-footer {
    position: relative;
    padding: 40px 0;
    background-color: #2c2c2c;
    color: #b9b9b9;
    z-index: 100;
}

footer p {
    margin-bottom: 0;
}

footer .widget-title {
    position: relative;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

footer .widget-title::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 2px;
    border-radius: 2px;
    background-color: #ffc700;
    bottom: -14px;
    left: 0;
}

ul.widget-list {
    list-style: none;
    padding-left: 0;
    line-height: 36px;
}

ul.widget-list li {
    display: flex;
    align-items: baseline;
}

ul.widget-list li i {
    color: #ffc700;
    font-size: 15px;
    margin-right: 8px;
}

footer .theme-btn:hover {
    background-color: #fff;
    color: #333333 !important;
}

/**************************************
Mobile Responsive Media Queries 
**************************************/

/**************************************
For All Mobiles
**************************************/
@media only screen and (min-width: 300px) and (max-width: 691px) {

    .h1,
    h1 {
        font-size: 2rem;
        font-weight: 800;
    }

    .h5,
    h5 {
        font-size: 1.15rem;
    }

    .navbar-brand > img {
        width: 140px;
    }
    
    .main-header .navbar-collapse {
        top: 62px !important; 
    }
    
    .top-preview {
        padding-top: 70px;
    }
}


/**************************************
For All Medium Devices (Tablet, phablet etc.)
**************************************/

@media only screen and (min-width: 692px) and (max-width: 991px) {

    .h1,
    h1 {
        font-size: 2.3rem;
        font-weight: 800;
    }

    .h5,
    h5 {
        font-size: 1.15rem;
    }

    .navbar-brand > img {
        width: 165px;
    }

    .main-header .navbar {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .top-preview {
        padding-top: 70px;
    }
    
}

/**************************************
For All Device Less Then 991px
**************************************/
@media (max-width: 991px) {
    .theme-btn {
        padding: 5px 30px;
        font-size: 17px;
        line-height: 1.7;
    }

    .main-header .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
  
    .main-header button.navbar-toggler {
        padding: 6px 8px;
        font-size: 18px;
        line-height: 0.8;
        border-color: #9bc400;
        color: #333333;
    }

    .main-header button.navbar-toggler:hover,
    .main-header button.navbar-toggler:active,
    .main-header button.navbar-toggler:focus {
        border-color: #9bc400;
        background-color: #9bc400;
    }

    .main-header .navbar-collapse {
        position: absolute;
        top: 70px;
        background: rgb(255, 255, 255);
        width: 100%;
        left: 0px;
        padding: 0 15px 10px;
        z-index: 99;
        border-radius: 8px;
        box-shadow: 0px 2px 10px rgb(0 0 0 / 7%);
    }

    .main-header li.nav-item a.nav-link::after {
        visibility: hidden;
    }
    
    .main-header .navbar .navbar-nav li.nav-item{
        margin: 0;
    }

    .main-header .navbar .navbar-nav li.nav-item + li.nav-item {
        border-top: 1px solid #e4e4e4;
    }

    .main-header li.nav-item.btn-nav-item .theme-btn {
        padding: 2px 15px;
        margin: 12px 0 10px;
        font-size: 16px;
    }
}
