/* Overlay Animation */

@-webkit-keyframes AnimationOverlay {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes AnimationOverlay {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@keyframes AnimationOverlay {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.overlay.animate-overlay {
    -webkit-animation: AnimationOverlay 15s ease infinite;
    -moz-animation: AnimationOverlay 15s ease infinite;
    animation: AnimationOverlay 15s ease infinite;
}

/* Jumbotron */
.jumbotron .container {
    z-index: 2;
}

.jumbotron .overlay {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.jumbotron .overlay.dark {
    background-color: rgba(0, 0, 0, 0.7);
}

.jumbotron .overlay.blue-green {
    background: linear-gradient(140deg, rgba(72, 174, 183, 0.7), #abdb70);
    background-size: 400% 400%;
}

.jumbotron .overlay.default {
    background: linear-gradient(140deg, rgba(72, 174, 183, 0.7), #abdb70);
    background-size: 400% 400%;
}

.jumbotron .overlay.blue {
    background: linear-gradient(140deg, #007bffab, #c3e6e1b8);
    background-size: 400% 400%;
}

.title.jumbotron {
    background: linear-gradient(140deg, #fb610485, #ecfb02b5);
    color: #ffffff;
    background-size: 400% 400%;
}

.title.jumbotron .container-breadcrumb {
    position: relative;
    top: -1rem;
}

.title.jumbotron .container-breadcrumb .breadcrumb a {
    color: #ffffff;
    text-decoration: underline;
}

.jumbotron .container-breadcrumb {
    position: relative;
    top: -1rem;
}

.jumbotron .container-breadcrumb .breadcrumb a {
    color: #ffffff;
    text-decoration: underline;
}

/* Divisional */
.divisional {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.divisional .card {
    z-index: 2;
}

.divisional a:hover {
    text-decoration: none;
}

.divisional a:hover .bg {
    transform: scale(1.1);
}

.divisional a:hover .bg_two {
    opacity: 1;
}

.divisional a .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.2s ease;
}

.divisional a .bg_two {
    opacity: 0;
}

.divisional .overlay {
    background-color: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

/* related-post */

.related-post figure {
    height: 250px;
    max-height: 250px;
    overflow: hidden;
    position: relative;
}

.related-post figure img {
    /*left: 50%;*/
    /*top: 50%;*/
    max-width: 300%;
    width: 300%;
    height: auto;
    /*position: absolute;*/
    /*transform: translate(-50%, -50%);*/
}

.related-post h2 {
    display: block;
    position: absolute;
    top: 140px;
    left: 25px;
    font-size: 1.1rem;
    line-height: 1.2rem;
    text-transform: uppercase;
    margin: 0 25px 0 0;
}

.related-post h3 {
    position: absolute;
    top: 10px;
    left: 25px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 100;
    display: block;
    line-height: 1rem;
}

@media (min-width: 576px) {
    .related-post h2 {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .related-post figure img {
        left: 50%;
        top: 50%;
        max-width: 300%;
        /*width: 200%;*/
    }
}

@media (min-width: 992px) {
    .related-post figure {
        height: 400px;
        max-height: 400px;
    }

    .related-post h2 {
        font-size: 1.7rem;
        line-height: 1.7rem;
        top: 230px;
    }

    .related-post h3 {
        top: 30px;
    }

}

@media (min-width: 1200px) {
    .related-post figure {
        height: 500px;
        max-height: 500px;
    }

    .related-post h2 {
        font-size: 2rem;
        line-height: 2rem;
        top: 300px;
        left: 30px;
        margin: 0 30px 0 0;
    }

    .related-post h3 {
        top: 45px;
        left: 30px;
        font-size: 0.875rem;
    }

}

/* SWIPER */
.swiper-button-next,
.swiper-button-prev {
    top: 35% !important;
    width: 3rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 3rem !important;
    font-weight: bold;
    color: #4fbfa8;
}

/* EMBEDS */
.responsive-object {
    position: relative;
}
.responsive-object iframe,
.responsive-object object,
.responsive-object embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-pentagon-tq {
  background: url("../img/texture-turquoise.png") center center repeat;
}