/* ----------------------------------------------
   Desktop HD and Below (≤ 1799px)
---------------------------------------------- */
@media only screen and (max-width: 1799px) {
    .header-style-two .header-upper .logo-box {
        position: relative;
    }

    .header-style-two .main-menu .navigation {
        margin-top: 0;
        justify-content: center;
    }

    .main-header.header-style-two .header-upper .right-column,
    .main-header.header-style-two .header-upper .right-column .nav-outer {
        width: 100%;
        text-align: center;
    }
}

/* ----------------------------------------------
   Large Screens (≤ 1575px)
---------------------------------------------- */
@media only screen and (max-width: 1575px) {
    .banner-slider-pagination.style-two {
        display: none;
    }
}

/* ----------------------------------------------
   Standard Desktop (≤ 1400px)
---------------------------------------------- */
@media only screen and (max-width: 1400px) {
    .main-menu .navigation > li:nth-last-child(-n+3) > ul > li > ul {
        left: auto;
        right: 100%;
    }

    .main-menu .navigation > li:nth-last-child(-n+2) > ul,
    .main-menu .navigation > li:nth-last-child(-n+2) > ul > li > ul {
        left: auto;
        right: 0;
    }

    .timeline-block:before,
    .timeline-block li .center-box:before {
        opacity: 0;
    }

    .timeline-block li {
        margin-bottom: 65px;
    }
}

/* ----------------------------------------------
   Tablet Landscape (≤ 1199px)
---------------------------------------------- */
@media only screen and (max-width: 1199px) {
    .banner-section .swiper-slide:before {
        width: 100%;
    }

    .cta-section-two .image {
        position: relative;
        display: inline-block;
        margin: -105px 0 30px;
    }

    .skills .skill-item .skill-percentage {
        top: -28px;
    }
}

/* ----------------------------------------------
   Tablet Portrait and Small Laptop (≤ 1139px)
---------------------------------------------- */
@media only screen and (max-width: 1139px) {
    .main-header .nav-outer .main-menu,
    .sticky-header {
        display: none !important;
    }

    .nav-outer .mobile-nav-toggler {
        display: block;
    }

    .header-upper .sidemenu-nav-toggler {
        display: none;
    }

    .main-header .header-upper .logo-box {
        padding: 25px 30px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .main-header .header-upper .right-column,
    .main-header .header-upper .right-column .nav-outer {
        width: 100%;
    }

    .header-style-two .header-upper .navbar-right-info .search-form {
        display: none;
    }
}

/* ----------------------------------------------
   Tablet and Below (≤ 991px)
---------------------------------------------- */
@media only screen and (max-width: 991px) {
    .banner-section.style-two .content-box h1,
    .banner-section .content-box h1 {
        font-size: 50px;
        line-height: 50px;
    }

    .banner-section .content-box {
        min-height: 700px;
    }

    .page-title h1,
    .sec-title h2 {
        font-size: 50px;
        line-height: 60px;
    }

    .cta-content {
        position: relative;
        padding: 0 20px;
        margin-top: 150px;
    }

    .video-section {
        padding: 150px 0 0;
    }

    .sponsors-section.style-two .image {
        width: 50%;
    }

    .about-section-three .image img,
    .team-details .author-info-block .image img {
        width: 100%;
    }

    .cta-section-two .info-block,
    .team-details .info-block {
        text-align: center;
        padding-left: 0;
        padding-top: 0;
    }

    .team-details .info-block .icon-box {
        position: relative;
        margin-bottom: 40px;
    }

    .team-details .info-block .skills .skill-item {
        margin-bottom: 30px;
    }

    .news-block-two .author-box-two .content {
        width: 100%;
        margin-top: 30px;
    }
}

/* ----------------------------------------------
   Mobile Landscape (≤ 767px)
---------------------------------------------- */
@media only screen and (max-width: 767px) {
    br {
        display: none;
    }

    .banner-section.style-two .custom-pager,
    .grid-line,
    .blog-post-pagination .icon,
    .banner-slider-pagination {
        display: none;
    }

    .cta-content .left-column {
        padding-left: 0;
        width: 100%;
    }

    .cta-content .left-column .image {
        margin-bottom: 20px;
        position: relative;
    }

    .cta-content .left-column h2 {
        margin-bottom: 20px;
    }

    .projects-section-two .tabs-header {
        left: 0;
        position: relative;
        margin-bottom: 50px;
    }

    .projects-section-two .outer-container {
        padding-left: 15px;
    }

    .projects-section-two .outer-container:before {
        opacity: 0;
    }

    .comments-area .comment-box.comment-reply {
        margin-left: 0;
    }
}

/* ----------------------------------------------
   Mobile Portrait (≤ 575px)
---------------------------------------------- */
@media only screen and (max-width: 575px) {
    .banner-section.style-two .content-box h1,
    .banner-section .content-box h1,
    .page-title h1,
    .team-details .author-info h3,
    .sec-title h2 {
        font-size: 40px;
        line-height: 45px;
    }

    .about-section-two .author-info {
        position: relative;
    }

    .timeline-block li .content,
    .timeline-block .date {
        position: relative;
        top: 0;
        text-align: left;
    }

    .post-pagination .prev-post,
    .post-pagination .next-post {
        width: 100%;
        text-align: center;
        padding: 0;
        margin-bottom: 50px;
    }

    .portfolio-details .image-block .project-info {
        margin: 0;
        padding: 0 40px;
    }

    .portfolio-details .image-block .project-info ul.info-list li {
        width: 100%;
        margin-right: 0;
    }

    .news-block-two .text .alignleft {
        float: inherit;
    }

    .comments-area .comment {
        padding-left: 0;
    }

    .comments-area .comment-box .author-thumb,
    .comments-area .comment-box .reply-btn {
        position: relative;
    }

    .blog-post-pagination {
        text-align: center;
    }

    .blog-post-pagination .next-post,
    .blog-post-pagination .prev-post {
        text-align: center;
        margin-bottom: 30px;
    }

    .blog-single-post .post-share .right-column {
        width: 100%;
        text-align: left;
        margin-top: 30px;
    }
}

/* ----------------------------------------------
   Extra Small Devices (≤ 400px)
---------------------------------------------- */
@media only screen and (max-width: 400px) {
    .sponsors-section.style-two .image {
        width: 100%;
    }
}

/* ----------------------------------------------
   Desktop Hover Menus (≥ 768px)
---------------------------------------------- */
@media only screen and (min-width: 768px) {
    .main-menu .navigation > li > ul,
    .main-menu .navigation > li > ul > li > ul {
        display: block !important;
        visibility: hidden;
        opacity: 0;
    }
}
