/* Image carousel */
div.qubely-carousel-extended-outer-stage {
    align-items: center;
}
div.wp-block-qubely-imagecarousel .qubely-block-image-carousel .qubely-image-item img {
    max-width: 100%;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
div.wp-block-qubely-imagecarousel .qubely-carousel.qubely-carousel-wrapper .qubely-carousel-nav-control .nav-control,
.image-carousel .slick-arrow {
    font-size: 28px;
}

.image-carousel .slick-arrow.fa-angle-left {
    left: -68px;
    top: 50%;
    margin-top: -16px;
    position: absolute;
}
.image-carousel .slick-arrow.fa-angle-right {
    right: -68px;
    top: 50%;
    margin-top: -16px;
    position: absolute;
}

.slick-initialized .slick-slide {
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Advanced List */
div.qubely-block-advanced-list .qubely-list>li {
    display: flex;
}
div.qubely-block-advanced-list .qubely-list>li::after, .qubely-block-advanced-list .qubely-list>li::before {
    margin-top: 5px;
}

/* Multi-layer parallax */
.multi-layer-parallax {
  /*perspective: 300px;
  height: 100vh;
  width: 100vw;
  transform-style: preserve-3d;*/
  background-color: white;
  background-image: url(/wp-content/themes/nlus/img/parallax-new-sky.png?2);
  background-color: rgba(8,0,0);
  /*background-image: url(/wp-content/uploads/2020/11/parallax-soliders-t.png), url(/wp-content/uploads/2020/11/parallax-sky.png);*/
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 80%;
  height: 800px;
  padding-top: 150px;
}
.multi-parallax .qubely-container {
    margin-top: -525px;
}
@media(max-width: 1400px) {
    .multi-layer-parallax {
        height: 600px;
        padding-top: 130px;
    }
}
@media(max-width: 1131px) {
    .multi-layer-parallax {
        height: 500px;
        padding-top: 120px;
    }
    .multi-parallax .qubely-container {
        margin-top: -350px;
    }
}
@media(max-width: 982px) {
    .multi-layer-parallax {
        height: 400px;
        padding-top: 110px;
    }
}
@media(max-width: 853px) {
    .multi-layer-parallax {
        height: 300px;
        padding-top: 110px;
    }
    .multi-parallax .qubely-container {
        margin-top: -280px;
    }
}
@media(max-width: 731px) {
    .multi-layer-parallax {
        height: 250px;
        padding-top: 110px;
    }
    .multi-parallax .qubely-container {
        margin-top: -150px;
    }
}
@media(max-width: 667px) {
    .multi-layer-parallax {
        height: 200px;
        padding-top: 110px;
    }
}
@media(max-width: 590px) {
    .multi-layer-parallax {
        height: 150px;
        padding-top: 110px;
    }
    .multi-parallax .qubely-container {
        margin-top: -50px;
    }
}
@media(max-width: 508px) {
    .multi-layer-parallax {
        height: 80px;
        padding-top: 80px;
    }
}
@media(max-width: 408px) {
    .multi-layer-parallax {
        height: 50px;
        padding-top: 50px;
    }
    .multi-parallax .qubely-container {
        margin-top: 0;
    }
}
/*.parallax__layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}*/
/*
.parallax__layer--base {
    transform: translateZ(-525px) scale(2.75);

    background-size: cover;
}
.parallax__layer--back {
    transform: translateZ(-600px) scale(3);
    background-image: ;
    background-size: cover;
}*/

/* Home Post Grid */
.home-posts h2 {
    font-size: 28px;
}
.home-post__col {
    width: 32%;
}
.featured-post {
    height: 440px;
}
.featured-post .blog-list__content {
    width: 33.3333333%;
}
.featured-post .blog-list__img-wrap {
    width: 66.6666666%;
}
.home-post__title {
    flex-grow: 1;
}
.not-featured-post .blog-list__img-wrap {
    height: 216px;
}
.not-featured-post .blog-list__content {
    height: 275px;
}
.not-featured-post .home-post__title a {
    font-size: 1.25rem;
}
.home-post__date {
    color: #585858;
    font-style: italic;
}
@media(max-width: 767px) {
    .home-post__row--2 .home-post__col {
        display: none;
    }
    .home-post__row--2 .home-post__col:first-child {
        display: flex;
    }
    .home-post__col {
        width: 100%;
    }
    .featured-post .blog-list__content {
        width: 100%;
    }
    .featured-post {
        flex-direction: column;
    }
    .featured-post .blog-list__img-wrap {
        width: 100%;
        height: 300px;
    }
}

/* Banner Slider */
.banner-slider {
    z-index: 1;
    position: relative;
}
.bx-wrapper {
    border: none;
    margin-bottom: 0;
}
.slick-track {
    height: 100%;
}
.slick-prev,
.slick-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #185ba7;
    text-shadow: 0 0 white;
    font-size: 50px;
    padding: 0;
    margin: -30px 0;
    z-index: 2;
}
.bx-wrapper .bx-controls-direction a.bx-prev,
.slick-prev {
    left: 50px;
    top: 50%;
}
.bx-wrapper .bx-controls-direction a.bx-next,
.slick-next {
    right: 50px;
    top: 50%;
}
.bx-wrapper .bx-prev:focus,
.bx-wrapper .bx-prev:hover {
    background-position: 0 -32px;
}
.bx-wrapper .bx-next:focus, .bx-wrapper .bx-next:hover {
    background-position: -43px -32px;
}
.banner-slider > div {
    height: 440px;
}
.bx-wrapper .bx-controls-direction a {
    background: none;
    text-indent: 0;
}
.bx-wrapper .bx-controls-direction a i {
    font-size: 50px;
    color: #185ba7;
    text-shadow: 0 0 white;
    margin-top: -30px;
}
@media(max-width: 1300px) {
    .bx-wrapper .bx-controls-direction a.bx-next {
        right: -9px;
    }
    .bx-wrapper .bx-controls-direction a.bx-prev {
        left: 5px;
    }
}
@media(max-width: 767px) {
    .bx-wrapper .bx-controls-direction a.bx-next {
        right: -8px;
    }
    .bx-wrapper .bx-controls-direction a.bx-prev {
        left: 7px;
    }
    .bx-wrapper .bx-controls-direction a i {
        font-size: 32px;
    }
    .banner-slider > div {
        height: 380px;
    }
    .bx-wrapper .bx-controls-direction a.bx-prev,
    .slick-prev {
      left: 5px;
    }

    .bx-wrapper .bx-controls-direction a.bx-next,
    .slick-next {
      right: 5px;
    }
}

.slide-bg {
    position: relative;
    background-position: center;
}
.slider__slide {
    padding: 65px 0;
    position: relative;
    z-index: 1;
}

.overlay-left,
.overlay-right,
.overlay-full {
    height: 100%;
    position: absolute;
}
.overlay-full {
    width: 100% !important;
    opacity: 0.8;
}
.slide__overlay-full .overlay-left,
.slide__overlay-full .overlay-right {
    display: none;
}

.slide__overlay-partial .overlay-full {
    display: none;
}
.slide__overlay-partial .overlay-left {
    width: 60%;
    left: 0;
}
.slide__overlay-partial .overlay-right {
    width: 25%;
    right: 0;
}

.slide__overlay-none .overlay-full,
.slide__overlay-none .overlay-left,
.slide__overlay-none .overlay-right {
    display: none !important;
}
@media(max-width: 767px) {
    .slide__overlay-partial .overlay-left {
        width: 100%;
        background: linear-gradient(to right, rgba(0, 53, 86, 0.9) 0%, rgba(0, 53, 86, 0.6) 80%, rgba(0, 53, 86, 0.5) 100%) !important;
    }
    .slide__overlay-partial .overlay-right {
        display: none;
    }
}

.slide-content {
    max-width: 58%;
}
.slide-content h2 {
    margin-top: 0;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 20px;
}
.slide-content p {
    font-size: 18px;
    max-width: 85%;
}
.slide__button,
.slide__button:hover,
.slide__button:visited,
.slide__button:focus {
    color: #88d4f5;
    border-radius: 5px;

}
@media(max-width: 1300px) {
    .slide-content h2 {
        font-size: 38px;
        margin-bottom: 25px;
    }
}
@media(max-width: 767px) {
    .slide-content {
        max-width: 90%;
    }
    .slide-content h2 {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    .slide-content p {
        max-width: 100%;
        margin-bottom: 35px;
    }
    .slider__slide {
        padding: 60px 0 30px;
        margin-left: 30px;
        margin-right: 30px;
    }
    .slide__button {
        font-size: 13px;
    }
}

/* Posts by Category */
.posts-by-category__2col__1,
.posts-by-category__2col__2 {
    width: 48%;
}
