/********** Template CSS **********/

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes rotating {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }


:root {
    --primary: #2878EB;
    --secondary: #ff4a46;
    --light: #ECF4FF;
    --dark: #231e5b;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: var(--dark);
}

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

iframe {
    width: 100%;
}

.full-hd-wrapper {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.full-hd-wrapper2 {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.navbar-light {
    position:  relative !important;
}



img.logo {
    height: 80px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.main-slaider img {
    aspect-ratio: 16/9;
    object-fit: cover;
    max-height: calc(100vh - 100px);
}

.blog-item img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.testimonial-carousel img {
    aspect-ratio: 1/1;
    object-fit: cover;
    background-color: white;
}

.blog-item.gallery-item {
    position: relative;
    overflow: hidden;
}

.blog-item.gallery-item .bg-primary, .blog-item.gallery-item img {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}

.blog-item.gallery-item .bg-primary  {
    position: absolute;
    width: 100%;
    bottom: -100px;
    left: 0;
    opacity: 0;
}

.blog-item.gallery-item:hover .bg-primary {
    bottom: 0;
    opacity: 1;
}

.blog-item.gallery-item:hover img {
    scale: 1.2;
}

.bg-light.travel {
    float: left;
    width: 100%;
}

ul.travel, ul.travel li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.travel {
    display: block;
    width: 50%;
    float: left;
}

ul.travel.left {
    padding-right: 24px;
}

ul.travel.right {
    padding-left: 24px;
}

ul.travel li {
    display: block;
    float: left;
    margin-bottom: 12px;
    width: 100%;
}

ul.travel li.white {
    background-color: white;
}

ul.travel li.white .left, ul.travel li.white .right {
    float: left;
    width: 50%;
}

ul.travel li.white span {
    display: block;
    width: 100%;
    padding: 12px;
    color: var(--dark);
}

ul.travel li.white .right span {
    opacity: 1;
    color: #2878EB !important;
}

ul.travel li.white span.small {
    padding-top: 6px;
    padding-bottom: 0;
}

ul.travel li.white span.big {
    text-align: center;
    font-size: 1.8rem;
    padding-top: 0;
    padding-bottom: 6px;

}


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,
.btn-primary:hover,
.btn-secondary:hover {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.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;
}

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

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 37px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 37px 0;
}

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

.bg-secondary {
    background-color: #ff4a46 !important;
}

.service-item .editor {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
} 

.service-item .editor p {
    margin-bottom: 0;
}

.price-item .display-8 small {
    font-size: 1.45rem;
} 

.price-item p {
    border-bottom: 1px solid #dee2e6 !important;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 16px;
    padding-bottom: .5rem !important;
    margin-bottom: .5rem !important;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

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

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    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;
}

.carousel-indicators {
    align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 25px;
}

.carousel-indicators .active {
    height: 45px;
}

.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: .5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-2.jpg) top right no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

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

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}

div.error {
    width: 100%;
    position: relative;
    height: 1px;
}

label.error {
    position: absolute;
    right: 0;
    top: 0;
    color: red;
    font-size: 12px;
    padding: 6px;
}

input.error, textarea.error, select.error {
    outline-color: red !important;
    border-color:  red !important;
    box-shadow: 0 0 0 .25rem rgba(255,0,0,0.25) !important;
    
}

input.error:focus, textarea.error:focus, select.error:focus {
    box-shadow: 0 0 0 .25rem rgba(255,0,0,0.7) !important;
}

#preloader {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    background-color: white;
    color: #ff5b58;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

#preloader.active {
    visibility: visible;
    opacity: 1;
}

#preloader i {
    -webkit-animation: rotating 1.5s linear infinite;
    -moz-animation: rotating 1.5s linear infinite;
    -ms-animation: rotating 1.5s linear infinite;
    -o-animation: rotating 1.5s linear infinite;
    animation: rotating 1.5s linear infinite;
}

form .invoice, form .hidden {
    display: none;
}



form .invoice.active, form .hidden.active {
    display: block;
}