/*--------------------- Copyright (c) 2021 ----------------------- 
[Master Stylesheet] 
Project: Online Course Wordpress Theme 
Version: 1.0.0 
Author: Kamleshyadav
 -------------------------------------------------------------------
/*------------------------------------------------------------------
[Table of contents]

1. Global CSS
2. Header CSS
3. Banner CSS 
4. Home Pages Section CSS 
5. Shop Layout CSS
6. Product Layout CSS
7. Checkout CSS
8. Shop Layout Option CSS 
9. Features CSS
10. Footer CSS
11. Responsive CSS

------------------------------------------------------------------*/


/********************************************************
    1. Global CSS
*******************************************************/

:root {
    --inst-font: 'Roboto', sans-serif;
    --inst-color: #797979;
    --inst-primary: #eb7f1c;
    --inst-globle-font: 16px;
    --white-color: #ffffff;
    --inst-yellow: #ffc138;
    --inst-title-color: #20272d;
    --inst-tansition: all 0.5s;
    --inst-dark: #111111;
    --inst-border-color: #f2f1ff;
    --inst-light: #f9f9f9;
}

body {
    font-family: var(--inst-font);
    font-weight: 400;
    font-size: var(--inst-globle-font);
    line-height: 1.5;
    overflow-x: hidden;
    color: var(--inst-color);
    background: var(--white-color);
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus,
button,
button:hover {
    text-decoration: none;
    -webkit-transition: var(--inst-tansition);
    -moz-transition: var(--inst-tansition);
    -ms-transition: var(--inst-tansition);
    -o-transition: var(--inst-tansition);
    transition: var(--inst-tansition);
    color: var(--inst-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
p {
    padding: 0;
    margin: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    color: var(--inst-title-color);
    font-family: var(--inst-font);
}

section {
    overflow: hidden;
}

.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.top-spacer {
    padding-top: 80px;
}

.bottom-spcer {
    padding-bottom: 50px;
}

.bottom-spcer-less {
    padding-bottom: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}


/* Title CSS */

.inst-title-wrap {
    margin: 0 auto 50px;
    max-width: 550px;
}

.inst-title-wrap h2 {
    font-size: 30px;
    font-weight: 800;
}

.inst-title-wrap p {
    margin: 10px 0 0;
}

.white-title h2,
.white-title p {
    color: var(--white-color);
}


/* Button CSS Start */

.inst-btn {
    background-color: green;
    color: var(--white-color);
    display: inline-block;
    border: 0;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0 15px;
    width: 170px;
    z-index: 0;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    font-size: 16px;
    text-transform: capitalize;
    transition: all 0.3s linear 0s;
}

.inst-btn:hover,
.inst-btn:focus {
    color: var(--white);
}

.layer1,
.layer2 {
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}

.layer1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--inst-primary);
    left: 0%;
}

.layer2 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    background: #eb7f1c;
}

.inst-btn:hover .layer1 {
    left: 50%;
}

.inst-btn:hover .layer2 {
    left: 0%;
}

.inst-btn.btn2 {
    background: var(--white-color);
    border: 2px solid rgb(182 246 255);
    color: var(--inst-title-color);
    line-height: 46px;
}

.inst-btn.demo-title .layer1 {
    background-color: var(--white-color);
    border: 1px solid;
    color: var(--inst-title-color);
    line-height: 50px;
    background-image: none;
    border-color: #eb7f1c;
}


/** Go to Top Button CSS **/

#scroll {
    position: fixed;
    right: 15px;
    bottom: 15px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
    z-index: 9;
    visibility: hidden;
    -webkit-transform: translateY(150px);
    -ms-transform: translateY(150px);
    transform: translateY(150px);
    background: #eb7f1c;
    background-image: -moz-linear-gradient( 160deg, rgb(255, 183, 43) 0%, rgb(255, 192, 0) 100%);
    background-image: -ms-linear-gradient( 160deg, rgb(255, 183, 43) 0%, rgb(255, 192, 0) 100%);
}

#scroll.active {
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    animation: bounceInDown 2s;
    -webkit-animation: bounceInDown 2s;
    -moz-animation: bounceInDown 2s;
}

#scroll svg {
    height: 20px;
    width: 20px;
    fill: var(--white);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(0px);
    }
}


/** PreLoader CSS **/

.inst-preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/white-logo.png);
    background-size: 180px;
    -webkit-animation: leaves 1.5s linear infinite;
    animation: leaves 1.5s linear infinite;
}

.inst-loader-wrap {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.inst-loader-wrap .layer-one {
    position: absolute;
    left: 0%;
    top: 0;
    width: 33.3333%;
    height: 100%;
    overflow: hidden;
}

.inst-loader-wrap .layer-two {
    position: absolute;
    left: 33.3333%;
    top: 0;
    width: 33.3333%;
    height: 100%;
    overflow: hidden;
}

.inst-loader-wrap .layer-three {
    position: absolute;
    left: 66.6666%;
    top: 0;
    width: 33.3333%;
    height: 100%;
    overflow: hidden;
}

.inst-loader-wrap .layer .overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--inst-primary);
}

@keyframes leaves {
    0% {
        transform: scale(.8);
    }
    100% {
        transform: scale(1);
    }
}


/********************************************************
    2. Header CSS
********************************************************/

.inst-header-wrapper {
    background: var(--white-color);
    padding: 6px 0;
}

.inst-header-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    right: 0;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 8%);
    -webkit-transition: var(--inst-tansition);
    -moz-transition: var(--inst-tansition);
    -ms-transition: var(--inst-tansition);
    -o-transition: var(--inst-tansition);
    transition: var(--inst-tansition);
}

.inst-main-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.inst-nav-items ul {
    display: flex;
    flex-wrap: wrap;
}

.inst-nav-items>ul>li {
    position: relative;
    padding: 0 15px;
}

.inst-nav-items>ul>li>a {
    padding: 20px 15px;
    display: inline-block;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 600;
}

.inst-nav-items>ul>li>a:hover {
    color: var(--inst-primary);
}

.inst-nav-items>ul>li.active a {
    color: var(--inst-primary);
}


/********************************************************
    3. Banner CSS
********************************************************/

.inst-banner-wrapper {
    position: relative;
    background-image: url(../images/banner-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    text-align: center;
    padding-bottom: 80px;
    background-size: cover;
}

.tor-banner-inner {
    padding-top: 88px;
    position: relative;
}

.inst-banner-info h2 {
    font-size: 42px;
    color: var(--white-color);
    font-weight: 700;
}

.inst-banner-info h4 {
    font-size: 22px;
    color: var(--white-color);
    font-weight: 500;
    margin: 10px 0 30px;
}

.inst-banner-center-img {
    margin: 50px 0 30px;
}

.inst-banner-icons li img {
    border-radius: 6px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 18%);
}

.inst-banner-icons li:nth-child(7) img,
.inst-banner-icons li:nth-child(8) img {
    border-radius: 0;
    box-shadow: none;
}


/** Banner Img  animation **/

.inst-banner-icons li {
    position: absolute;
}

.inst-banner-icons li:nth-child(1) {
    left: 1%;
    top: 80px;
    animation: 3.2s circlular linear infinite;
}

.inst-banner-icons li:nth-child(2) {
    left: 20%;
    bottom: 260px;
    animation: 3s aniti-circlular linear infinite;
}

.inst-banner-icons li:nth-child(5) {
    bottom: -30px;
    left: 1%;
    animation: 3.7s circlular linear infinite;
}

.inst-banner-icons li:nth-child(3) {
    right: 3%;
    bottom: 60px;
    animation: 3s aniti-circlular linear infinite;
}

.inst-banner-icons li:nth-child(4) {
    top: 80px;
    right: 1%;
    animation: 3.5s circlular linear infinite;
}

.inst-banner-icons li:nth-child(6) {
    top: 260px;
    right: 27%;
    animation: 3s circlular linear infinite;
}

@keyframes circlular {
    from {
        -webkit-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -moz-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -ms-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -o-transform: rotate(0deg) translate(-12px) rotate(0deg);
        transform: rotate(0deg) translate(-12px) rotate(0deg);
        transition: 1s ease-in-out;
    }
    to {
        -webkit-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -moz-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -ms-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -o-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        transform: rotate(360deg) translate(-12px) rotate(-360deg);
        transition: 1s ease-in-out;
    }
}

@keyframes aniti-circlular {
    from {
        -webkit-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -moz-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -ms-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        -o-transform: rotate(360deg) translate(-12px) rotate(-360deg);
        transform: rotate(360deg) translate(-12px) rotate(-360deg);
        transition: 1s ease-in-out;
    }
    to {
        -webkit-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -moz-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -ms-transform: rotate(0deg) translate(-12px) rotate(0deg);
        -o-transform: rotate(0deg) translate(-12px) rotate(0deg);
        transform: rotate(0deg) translate(-12px) rotate(0deg);
        transition: 1s ease-in-out;
    }
}


/********************************************************
    4. Home Pages Section CSS 
********************************************************/

.inst-thumb-section {
    margin: 0 0 50px;
}

.inst-thumb-section-inner {
    padding: 20px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 2%);
    border-radius: 10px;
}

.inst-thumb-section .inst-btn {
    margin: 30px 0 0;
}

.inst-thumb-img {
    background-size: 100% auto;
    -webkit-transition: all 8s;
    -moz-transition: all 8s;
    -o-transition: all 8s;
    transition: all 8s;
    background-position: center top;
    position: relative;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-repeat: no-repeat;
    height: 550px;
}

.inst-thumb-section:hover .inst-thumb-img {
    background-position: center bottom;
}

.inst-thumb-img.home1 {
    background-image: url(../images/home1.jpg);
}

.inst-thumb-img.home2 {
    background-image: url(../images/home2.jpg);
}

.inst-thumb-img.home3 {
    background-image: url(../images/home3.jpg);
}

.inst-thumb-img.home4 {
    background-image: url(../images/home4.jpg);
}

.inst-thumb-img.home5 {
    background-image: url(../images/home5.jpg);
}

.inst-thumb-img.home6 {
    background-image: url(../images/home6.jpg);
}

.inst-thumb-img.home7 {
    background-image: url(../images/home7.jpg);
}

.inst-thumb-img.home8 {
    background-image: url(../images/home8.jpg);
}

.inst-thumb-img.home9 {
    background-image: url(../images/home9.jpg);
}


/********************************************************
    5. Shop Layout CSS
********************************************************/

.inst-shop-layout-wrapper {
    position: relative;
    background-image: url(../images/shp-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/********************************************************
    6. Product Layout CSS
********************************************************/


/********************************************************
    7. Checkout CSS
********************************************************/

.inst-checkout-wrapper {
    background: var(--inst-light);
}


/********************************************************
    8. Shop Layout Option CSS 
********************************************************/

.inst-shop-option-wrapper {
    position: relative;
    background-image: url(../images/product-option-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/********************************************************
    9. Features CSS
********************************************************/

.inst-features-section {
    padding: 60px 15px;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 6%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.inst-features-section .top-right {
    position: absolute;
    top: -10px;
    right: -10px;
    opacity: 0.1;
    max-height: 60px;
}

.inst-feature-inner h4 {
    font-size: 16px;
    margin: 20px 0 0;
}

.inst-features-section:hover {
    transform: translateY(-10px);
}

.inst-features-section:hover,
.inst-features-section {
    -webkit-transition: var(--inst-tansition);
    -moz-transition: var(--inst-tansition);
    -ms-transition: var(--inst-tansition);
    -o-transition: var(--inst-tansition);
    transition: var(--inst-tansition);
}


/********************************************************
    10. Footer CSS
********************************************************/

.inst-footer-wrapper {
    background: var(--inst-dark);
    background-image: url(../images/footer-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
    padding: 100px 0 88px;
}

.footer-inner img {
    max-height: 150px;
}

.footer-inner h2 {
    font-size: 38px;
    color: var(--white-color);
    font-weight: 500;
}

.footer-inner h1 {
    font-size: 65px;
    color: var(--white-color);
    font-weight: 700;
}

.inst-copyright-wrap {
    background: var(--inst-dark);
    color: var(--white-color);
    padding: 15px 0 13px;
}

.inst-product-layout-wrapper .inst-product-section-inner {
    padding: 50px;
    border: 1px solid #f1f1f1;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 4%);
}


/********************************************************
    11. Responsive CSS
********************************************************/

@media (min-width: 1199.98px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width:1200px) {
    .inst-nav-items>ul>li:before {
        content: "";
        position: absolute;
        right: 0;
        background: var(--inst-primary);
        width: 5px;
        height: 5px;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .inst-nav-items>ul>li:last-child:before {
        content: unset;
    }
    .inst-banner-info {
        max-width: 850px;
        margin: auto;
    }
}

@media (min-width: 1799.98px) {
    header .container-fluid,
    .container-fluid {
        max-width: 1770px;
    }
    .inst-banner-icons li:nth-child(7) {
        top: 120px;
        left: 20%;
    }
    .inst-banner-icons li:nth-child(8) {
        bottom: 330px;
        right: 24%;
    }
    .margin-minus {
        margin-top: -140px;
    }
    .pader-l {
        padding-left: 50px;
    }
    .pader-r {
        padding-right: 50px;
    }
}

@media (max-width: 1800px) {
    .inst-banner-icons li:nth-child(7),
    .inst-banner-icons li:nth-child(8) {
        display: none;
    }
    .inst-banner-icons li img {
        width: 80%;
    }
    .inst-banner-icons li:nth-child(1),
    .inst-banner-icons li:nth-child(5) {
        left: 0;
    }
    .inst-banner-icons li:nth-child(4),
    .inst-banner-icons li:nth-child(3) {
        right: 0;
    }
    .inst-banner-info {
        max-width: 880px;
        margin: auto;
    }
    .inst-banner-info h2 {
        font-size: 46px;
    }
}

@media (max-width: 1600px) {
    .inst-banner-icons li img {
        width: 70%;
    }
    .inst-banner-icons li:nth-child(4),
    .inst-banner-icons li:nth-child(1) {
        top: 180px;
    }
}

@media (max-width: 1400px) {
    .inst-banner-icons li:nth-child(2) {
        left: 0;
        bottom: 160px;
    }
    .inst-banner-icons li:nth-child(4) {
        top: 350px;
    }
}

@media (max-width: 1199.98px) {
    .menu-btn-wrap .inst-btn {
        height: 40px;
        line-height: 40px;
        min-width: 130px;
        width: auto;
    }
    .menu-btn {
        width: 40px;
        display: inline-block;
        margin-left: 20px;
        height: 40px;
        background: var(--inst-primary);
        border-radius: 3px;
        padding: 13px 10px;
    }
    .menu-btn>span {
        display: block;
        width: 100%;
        height: 2px;
        transition: 0.3s;
        margin: 0 auto 4px;
        background: var(--white-color);
    }
    .menu-open .menu-btn>span:nth-child(1) {
        transform: translate(0px, 5px) rotate(-48deg);
    }
    .menu-open .menu-btn>span:nth-child(2) {
        opacity: 0;
        visibility: hidden;
    }
    .menu-open .menu-btn>span:nth-child(3) {
        transform: translate(0px, -7px) rotate(48deg);
    }
    .inst-header-wrapper {
        padding: 15px 0px;
    }
    .inst-nav-items {
        position: fixed;
        left: -250px;
        top: 0;
        bottom: 0;
        width: 250px;
        z-index: 999;
        overflow: hidden;
        overflow-y: auto;
        background: var(--white-color);
        box-shadow: 2px 4px 28px 0px rgba( 0, 0, 0, 0.1);
        -webkit-transition: var(--inst-tansition);
        -moz-transition: var(--inst-tansition);
        -ms-transition: var(--inst-tansition);
        -o-transition: var(--inst-tansition);
        transition: var(--inst-tansition);
    }
    .menu-open .inst-nav-items {
        left: 0;
    }
    .inst-nav-items>ul>li {
        width: 100%;
        border-bottom: 1px solid var(--inst-border-color);
    }
    .inst-nav-items>ul>li:last-child {
        border: 0;
    }
    /** Fix banner img **/
    .inst-banner-mockup {
        position: relative;
    }
    .inst-banner-icons li img {
        width: 50%;
    }
    .inst-banner-icons li:nth-child(4),
    .inst-banner-icons li:nth-child(1) {
        top: -40px;
    }
    .inst-banner-icons li:nth-child(4),
    .inst-banner-icons li:nth-child(3) {
        bottom: 0;
    }
    .inst-banner-icons li:nth-child(6) {
        top: 240px;
        right: 0;
    }
}

@media (max-width: 991.98px) {
    .inst-banner-icons li:nth-child(1) {
        left: unset;
        right: 0;
        top: 130px;
    }
}

@media (max-width: 767.98px) {
    .inst-banner-icons {
        display: none;
    }
    .inst-banner-info h2 {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .menu-btn {
        margin-left: 10px;
    }
    .menu-btn-wrap .inst-btn {
        min-width: 100px;
        font-size: 12px;
    }
    .inst-thumb-img {
        height: 400px;
    }
}