/********** Template CSS **********/
:root {
    --primary: #c90a0a;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0e0e0e;
}
body{color: #2a2a2a;}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.bg-dark {
    background-color: #141414 !important;
}

.btn-primary {
    color: #000;
    background-color: #c90a0a;
    border-color: #c90a0a;
}

a {
    color: #e46c17;
    text-decoration: none;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-size: 14px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


.dropdown-item {
    display: block;
    width: 100%;
    padding: .18rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 15px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev, .carousel-control-next {
    width: 15%;
    opacity: 0;
}

.slide:hover .carousel-control-prev, .slide:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: auto;
    }
    
    #header-carousel .carousel-item img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/inner-head.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: 0;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    /*min-height: 100vh;*/
    background: linear-gradient(rgba(255, 255, 255, .9), rgb(255 255 255 / 78%)), url(../img/bg1.png) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}

.courses i{width: 50px;}
.courses-item{position: relative;}
.courses-item:after{content:''; background: #c90a0a; bottom:0; left:0; position:absolute; width:0%; opacity: 0; height:5px; transition:all 0.3s; }
.courses-item:hover:after{width:100%; transition:all 0.3s; opacity: 1;}

/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}
.team-item a{
    background: #c90a0a;
    padding: 8px 15px;
    color: #fff; margin: 8px 0 10px;
    border-radius: 6px;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
.team-item a:hover{
    background: #333;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    /* width: 150px; */
    /* height: 150px; */
}

.middl-bg{background: url(../img/bg2.png)no-repeat center center fixed; background-size:cover;}

/*** Footer ***/
.footer{background: url(../img/ftr-bg.jpg)no-repeat center center fixed; background-size:cover; }
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    font-size: 14px;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 0.2px;
    box-shadow: none;
}
.footer p{font-size: 14px;}

.copyright {
    background: #202020;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}
.copyright p{ font-size:14px; }

.sld-botm{background: #000; padding: 20px 0;}
.sld-botm h3{}
.sld-botm p{}
.sld-botm a{}

.pnt-b{}
.ic-box{
    width: 92px;
    height: 92px;
    text-align: center;
    margin-bottom: 15px;
}
.ic-box i{font-size: 42px;padding: 22px 0 0;}
.pnt-ct{}
.pnt-ct h5{}
.pnt-ct span{}

.owl-nav{position: absolute; left: 0; top: 100px; width: 100%;}
.owl-prev, .owl-next {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    color: #fff;
    text-align: center;
    padding: 4px 0 0;
}

.owl-prev{position: absolute; left: 0;}
.owl-next{position:absolute;right:0;}

/* Contact Form */
.form-b{
    background: #fff;
    box-shadow: 0 0 40px #e7e7e7;
    padding: 50px;
}
.form-b label{color:#333;font-size: 14px;display: none;}
.form-b input, .form-b textarea {
    border: none;
    border: 1px solid #c1c1c1;
    box-shadow:
    none;
    padding: 10px 15px;
    border-radius: 0;
    /* background: #efefef87; */
    font-size: 14px;
}
.form-b ::placeholder{ color:#999999;}
.form-b .dee{
    padding: 10px 15px;
    background: #262626;
    color: #ebebeb;
    font-weight: 600;
    text-transform: uppercase;
    border: none; cursor: pointer;
}


.form-b .form-control:focus {
    color: #495057;
    /* background-color: #fff; */
    border-color: #c1c1c1;
    outline: 0;
    box-shadow: none;
    border-bottom: 1px solid #d4d4d4;
}

.contact-info{
    position: relative;
    padding: 5px 0 10px 0px;
    margin: 0 0 10px;
    align-items: center;
    display: flex;
}
.contact-info span{
    /* position: relative; */
    /* left: 0; */
    /* top: 0; */
    background: #c90a0a;
    color: #fff;
    width: 52px;
    height: 52px;
    text-align: center;
    margin-right: 15px;
}
.contact-info span i{
    font-size: 22px;
    padding-top: 12px;
}
.contact-info .media-body{
    display: block;
}
.contact-info .media-body h3{
    font-size: 16px;
}

.text-justify{ text-align:justify; }

.single-gallery-image {
    margin-top: 30px;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    height: 250px;
    border: 1px dashed #bdbdbd;
}