/*---------------------
   Hero section
 -----------------------*/

@media only screen and (min-width: 280px) and (max-width: 2560px) {
    .hero-section {
        padding-top: 13rem;
        height: 700px;
        margin-top: -20vh;
        position: relative;
        overflow: hidden;
        background-image: linear-gradient(to left, rgb(239, 117, 23) 20%, rgb(17, 154, 218));
    }
}

.hero-slider .owl-nav {
    position: absolute;
    right: 80px;
    bottom: 30px;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .hero-slider .owl-nav {
        right: calc(50% - 51px);
        bottom: 50px;
    }
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    display: inline-block;
    width: 46px;
    height: 46px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 20px;
    padding-top: 6px !important;
    border-radius: 1px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background: #242deb;
    border-color: #242deb;
}

.hero-slider .owl-nav button.owl-prev {
    margin-right: 10px;
}

.hero-item {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-text {
    position: relative;
    padding-left: 100px;
    max-width: 595px;
    z-index: 5;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .hero-text {
        padding: 100px 20px 150px;
        text-align: center;
        margin: 0 auto;
    }
}

.hero-text .ht-cata {
    display: inline-block;
    padding: 5px 18px 4px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: #242deb;
    position: relative;
    opacity: 0;
    filter: alpha(opacity=0);
    top: 50px;
}

.hero-text h2 {
    font-size: 80px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    filter: alpha(opacity=0);
    top: 50px;
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .hero-text h2 {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 40px;
    }
}

.hero-text p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 35px;
    position: relative;
    opacity: 0;
    filter: alpha(opacity=0);
    top: 50px;
}

.hero-text .ht-btn {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0;
    filter: alpha(opacity=0);
    top: 50px;
}

.hero-text .ht-btn i {
    font-size: 24px;
    position: relative;
    top: 5px;
    color: #242deb;
    margin-left: 5px;
}

@media (max-width: 2560px) {
    .hi-bg {
        position: relative;
        height: 544px;
        width: 0px;
        top: 0px;
        right: 0;
    }
}

@media (max-width: 425px) {
    .hi-bg {
        position: absolute;
        height: 3000px;
        width: 1100px;
        top: 0;
        right: 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 2000px),
only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 576px) {
    .hi-bg {
        width: 100%;
        right: auto;
        left: 0;
    }
    .hi-bg:after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-image: linear-gradient(to left, rgba(239, 117, 23, 0.416) 20%, rgba(17, 154, 218, 0.519));
        filter: alpha(opacity=50);
    }
}

.owl-item.active .hero-text h2,
.owl-item.active .hero-text p,
.owl-item.active .hero-text .ht-cata,
.owl-item.active .hero-text .ht-btn {
    top: 0;
    opacity: 1;
    filter: alpha(opacity=100);
}

.owl-item.active .hero-text .ht-cata {
    -webkit-transition: all 0.5s ease 0.4s;
    -moz-transition: all 0.5s ease 0.4s;
    -o-transition: all 0.5s ease 0.4s;
    transition: all 0.5s ease 0.4s;
}

.owl-item.active .hero-text h2 {
    -webkit-transition: all 0.5s ease 0.6s;
    -moz-transition: all 0.5s ease 0.6s;
    -o-transition: all 0.5s ease 0.6s;
    transition: all 0.5s ease 0.6s;
}

.owl-item.active .hero-text p {
    -webkit-transition: all 0.5s ease 0.8s;
    -moz-transition: all 0.5s ease 0.8s;
    -o-transition: all 0.5s ease 0.8s;
    transition: all 0.5s ease 0.8s;
}

.owl-item.active .hero-text .ht-btn {
    -webkit-transition: all 0.5s ease 1s;
    -moz-transition: all 0.5s ease 1s;
    -o-transition: all 0.5s ease 1s;
    transition: all 0.5s ease 1s;
}


/*------------------
   Gallery page
 ------------------*/

.gallery-section {
    padding: 0 40px 80px;
    background-image: linear-gradient(rgb(17, 148, 208), rgb(255, 141, 53));
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-item img {
    min-width: 100%;
}

.gallery-item:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 200px;
    left: 0;
    bottom: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    background: black;
    background: -moz-linear-gradient(180deg, rgba(241, 7, 7, 0.685) 0%, black 46%);
    background: -webkit-linear-gradient(180deg, rgba(224, 209, 6, 0.753) 0%, black 46%);
    background: linear-gradient(180deg, rgba(211, 197, 197, 0.164) 0%, black 46%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    z-index: 1;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.gallery-item .gi-text {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    bottom: 50px;
    padding: 0 15px;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.gallery-item .gi-text h4 {
    color: #fff;
    margin-bottom: 50px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.gallery-item .gi-text p {
    color: #fff;
    text-transform: uppercase;
}

.gallery-item:hover:after {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.gallery-item:hover .gi-text {
    bottom: 0;
    opacity: 1;
    filter: alpha(opacity=100);
}

.gallery-item:hover .gi-text h4 {
    margin-bottom: 5px;
}

.fr-position-outside {
    left: 0;
    top: 0;
    right: auto;
    bottom: auto;
}

.fr-position-text {
    color: #fff;
}

.fr-window-skin-fresco.fr-window-ui-outside .fr-close-background,
.fr-window-skin-fresco.fr-window-ui-outside .fr-close:hover .fr-close-background {
    background-color: transparent;
}

.fr-thumbnail-active {
    border: 2px solid #242deb;
}