/********** Temylate CSS **********/
:root {
    --primary: #990710;
    --secondary: #1f1f21;
    --light: #EEF9FF;
    --dark: #1f1f21;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
    .text-abt h5{
        font-size: 18px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/slider1-silceb.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/slider1-silceb.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: #990710;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: #990710;
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/testemonial-banner.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: #990710;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(220, 20, 60, 0.548);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #990710;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.contact-sect{
    width: 100%;
    height: 100%;
    padding: 0;
}

/* instagram */
.insta{
    width: auto;
    height: 40px;
    padding: 6px;
    display: flex;
    text-align: center;
    align-items: center;
    background:   #C13584; 
    transition: .3s ease;
    border-right: 2px solid white;
    cursor: pointer;
}
.insta p{
    color: white !important;
    transition: .3s ease;
}
.insta i{
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 22px;
    margin-left: 10px;
    transition: .3s ease;
}
.insta p a{
    color: rgb(255, 255, 255);
    font-size: 0px;
    font-family: "calibri";
    transition: .3s ease;
}
.insta:hover .ig{
    font-size: 17px;
    transition: .3s ease;
}

/* facebook */
.facebook{
    width: auto;
    height: 40px;
    padding: 6px;
    display: flex;
    text-align: center;
    align-items: center;
    background: #2f55a4; 
    transition: .3s ease;
    border-right: 2px solid white;
    cursor: pointer;
}
.facebook p{
    color: white !important;
    transition: .3s ease;
}
.facebook i{
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 22px;
    margin-left: 10px;
    transition: .3s ease;
}
.facebook p a{
    color: rgb(255, 255, 255);
    font-size: 0px;
    font-family: "calibri";
    transition: .3s ease;
}
.facebook:hover .fb{
    font-size: 17px;
    transition: .3s ease;
}

/* twitter */
.twitter{
    width: auto;
    height: 40px;
    padding: 6px;
    display: flex;
    text-align: center;
    align-items: center;
    background: #00b9ff; 
    transition: .3s ease;
    border-right: 2px solid white;
    cursor: pointer;
}
.twitter p{
    color: white !important;
    transition: .3s ease;
}
.twitter i{
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 22px;
    margin-left: 10px;
    transition: .3s ease;
}
.twitter p a{
    color: rgb(255, 255, 255);
    font-size: 0px;
    font-family: "calibri";
    transition: .3s ease;
}
.twitter:hover .tw{
    font-size: 17px;
    transition: .3s ease;
}
.blue-color{
    background: #990710;
}
.blue-color2{
    color: #990710;
}
.d-flex .twt-col{
    color: rgb(175, 174, 174);
    border-radius: 0;
    background: #00b9ff;
}
.d-flex .twt-col:hover{
    color: rgb(255, 255, 255);
}
.d-flex .fb-col{
    background: #2f55a4;
    color: rgb(175, 174, 174);
    border-radius: 0;
    margin-left: 5px;
}
.d-flex .fb-col:hover{
    color: rgb(255, 255, 255);
}
.d-flex .ig-col{
    background:  #C13584;
    color: rgb(175, 174, 174);
    border-radius: 0;
    margin-left: 5px;
}
.d-flex .ig-col:hover{
    color: rgb(255, 255, 255);
}
.gallery-starter{
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-starter h2{
    position: relative;
    padding-bottom: 5px;
}
.gallery-starter h2::before{
    content: "";
    position: absolute;
    width: 60%;
    height: 5px;
    background: #990710;
    left: 0;
    bottom: 0;
}

/* logo */
a.navbar-brand p i{
    font-size: 30px;
    cursor: pointer;
}

.text-primary{
    color: rgba(220, 20, 60, 0.692) !important;
}
.gallery-1{
    padding-top: 50px;
}
.contact-line-color h2::before{
    background: rgb(255, 255, 255);
}
.position-relative img{
    transition: all .3s ease;
    cursor: pointer;
}
.position-relative img:hover{
    opacity: 0.8;
    transition: all .3s ease;
    transform: scale(0.9);
}



/*--------------------------------------------------
    gallery
---------------------------------------------------*/
.mfp-fade.mfp-bg {
    opacity: 0;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
  }
  .mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
  }
  .mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
  }
  .mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
  }
  .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
  }
  .mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
  }
  .portfolio .pf-image {
    overflow: hidden;
    position: relative;
  }
  .portfolio .pf-image img {
    width: 100%;
    display: block;
  }
  .portfolio .pf-image .overlay .overlay-caption {
    display: table;
    height: 100%;
    width: 100%;
  }
  .portfolio .pf-image .overlay .overlay-caption .overlay-content {
    display: table-cell;
    vertical-align: middle;
  }
  .pf-style .overlay {
    height: 100%;
    width: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: -100%;
    z-index: 2;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
    overflow: hidden;
  }
  .pf-style .overlay-content {
    opacity: 0;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
  }
  .pf-style:hover .overlay {
    top: 0;
  }
  .pf-style:hover .overlay-content {
    opacity: 1;
    background-color: rgba(237, 95, 94, 0.9);
  }
  .portfolio.no-filter .pf-item {
    float: left;
  }
  .portfolio.gutter .pf-item {
    padding: 10px;
  }
  .portfolio.col-1 .pf-item {
    width: 100%;
  }
  .portfolio.col-2 .pf-item {
    width: 49.99%;
  }
  .portfolio.col-3 .pf-item {
    width: 33.3333333%;
  }
  .portfolio.col-4 .pf-item {
    width: 25%;
  }
  .pf-filter li {
    margin-bottom: 30px;
  }
  .pf-filter li .iso-button {
    background-color: #fff;
    color: #434343;
    padding: 10px 15px;
    margin-right: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    font-size: 12px;
    letter-spacing: 2px;
  }
  .pf-filter li .iso-button:hover {
    color: #ed5f5e;
  }
  .pf-filter li .iso-active {
    color: #ed5f5e;
  }
  .pf-filter.pf-filter-gray .iso-button {
    background-color: #f8f8f8;
    color: #434343;
  }
  .pf-filter.pf-filter-gray .iso-button:hover {
    color: #ed5f5e;
  }
  .pf-filter.pf-filter-gray .iso-active {
    color: #ed5f5e;
  }
  @media screen and (max-width: 992px) {
    .portfolio.col-3 .pf-item,
    .portfolio.col-4 .pf-item {
      width: 49.99%;
    }
  }
  @media screen and (max-width: 540px) {
    .portfolio.col-2 .pf-item,
    .portfolio.col-3 .pf-item,
    .portfolio.col-4 .pf-item {
      width: 100%;
    }
  }
 .about-padding {
    padding-top: 30px;
 }
 .rounded-top{
    width: 100%;
    height: 200px;
 }

 .a-us{
    padding-bottom: 50px;
 }
 .red-col{
    background-color: #990710;
    border: 3px solid #990710;
    color: white;
    transition: all .4s ease;
 }
 .red-col:hover{
    border: 3px solid #990710;
    background-color: #99071100;
    color: #ffffff;
    transition: all .4s ease;
 }

 .red-col-2{
    background-color: #990710;
    border: 3px solid #990710;
    color: white;
 }
 .red-col-2:hover{
    border: 3px solid #990710;
    background-color: #99071100;
    color: #1f1f21;
 }
 .logo img{
    width: 350px;
    padding: 20px 0;
}
.nav-link {
    font-size: 30px !important;
}
.bg-red{
    background-color: #990710;
}
.new-bg-col{
    background: #990710;
    color: white;
}
.new-bg-col:hover{
    color: white;
    background: #1f1f21;
}

@media screen and (max-width: 1035px) {
    .logo img{
        width: 300px;
        padding: 20px 0;
    }
    .nav-link {
        font-size: 30px !important;
    }
  }
  @media screen and (max-width: 991px) {
    .logo img{
        width: 200px;
        padding: 20px 0;
    }
    .nav-link {
        font-size: 30px !important;
    }
  }
  .img-about{
    width: 100%;
    height: auto;
  }
  .img-about img{
    width: 100%;
  }
  .services-small-img{
    width: 100%;
    height: auto;
    background: black;
  }
  .float-right{
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
  }