@media only screen and (max-width: 576px) {
    .promo-slider__item--style-1 .promo-slider__title span:first-of-type {
        font-size: 42px !important;
        line-height: 63px !important;
    }
     .horizontal-tabs__header li:not(:last-of-type) {
        margin-right: 0 !important;
    }
      .d-flex.list-filter {
        flex-direction: column !important;
        justify-content: center;
    }
    .d-flex.list-filter .row {
        margin: 10px auto !important;
    }
    .vision-mission-box {
        padding: 2rem;
    }
    .footer-menu {
        -webkit-box-pack: start !important;
        justify-content: flex-start !important;
    }
     .footer-details ul {
        padding-left: 14px !important;
    }
    .timeline {
        max-width: 86%;
    }
    .timeline-title {
        padding: 15px 10px;
    }
    .timeline-title ul {
        padding-left: 28px;
    }
    .home-section {
        margin-top: 0;
    }

    .home-section-content {
        padding: 10px;
    }

    section.about-us {
        margin-top: 0;
    }

    section.about-us .inner-section {
        padding: 20px 10px 0 10px;
    }

    section.about-us .card-content {
        text-align: left !important;
    }

    section.about-us .card-content .col-md-7 {
        margin-bottom: 20px;
    }

    section.blog div.row>div {
        margin-bottom: 30px;
    }

    footer.footer .footer-1 .footer-section .col-md-4 {
        border-right: none;
        border-bottom: 2px solid #000;
    }

    footer.footer .footer-1 .footer-section .col-md-8 a {
        width: 100%;
        margin-bottom: 20px;
    }

    footer.footer .footer-2>div.row {}

    .footer__title {}

    .slider__nav--promo {
        display: none;
    }

    .overlay-content {
        position: absolute;
        margin-top: 15px;
        left: 50%;
        top: 10%;
        transform: translate(-50%, -10%);
        -ms-transform: translate(-50%, -10%);
        -webkit-transform: translate(-50%, -10%);
    }

    .overlay-details {
        height: 49vh;
    }

    .overlay .event-item__img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .small-menu {
        display: none !important;
    }

    .horizontal-tabs__header.d-flex{
        display: block !important;
    }

    .r-tabs .r-tabs-tab{
        display: block !important;
    }

    .footer-bottom > div.container{
        display: block !important;
    }
}

@media only screen and (min-width: 576px) {
    .promo-slider__item--style-1 .promo-slider__title span:first-of-type {
        font-size: 30px;
        line-height: 45px;
    }

    .home-section {
        margin-top: 0;
    }

    .overlay-content {
        position: absolute;
        margin-top: 15px;
        left: 50%;
        top: 10%;
        transform: translate(-50%, -10%);
        -ms-transform: translate(-50%, -10%);
        -webkit-transform: translate(-50%, -10%);
    }

    .overlay-details {
        height: 350px;
    }

    .overlay .event-item__img {
        height: 250px;
    }

    .profile-arrow {
        right: 5em;
    }
}


@media only screen and (min-width: 768px) {
    .slider__nav--promo-left {
        top: 10%;
        left: 0;
        right: auto;
    }

    .slider__nav--promo-right {
        top: 10%;
        right: 0;
        left: auto;
    }

    .promo-slider__item--style-1 .promo-slider__title span:first-of-type {
        font-size: 30px;
        line-height: 45px;
    }

    .overlay-content {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
    }

    .overlay-details {
        height: 450px;
    }

    .overlay .event-item__img {
        height: 350px;
    }

    .profile-title {
        width: 100px;
        /*word-wrap: break-word;*/
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }

    /*.profile-arrow {
        right: 2em;
    }*/
}


@media only screen and (min-width: 992px) {
    .header-logo__img {
        max-height: 70px;
    }

    .promo-slider__item--style-1 .promo-slider__title span:first-of-type {
        font-size: 35px;
        line-height: 53px;
    }

    .home-section {
        margin-top: -100px;
    }

    .profile-title {
        word-wrap: break-word;
        width: 120px;
    }

    .profile-arrow {
        right: 2.5em;
    }
}

@media only screen and (min-width: 1200px) {
    .main-menu__item:not(:last-of-type) {
        margin-right: 24px;
    }

    header.header .button {
        width: 130px;
    }

    .promo-slider__item--style-1 .promo-slider__title span:first-of-type {
        font-size: 40px;
        line-height: 60px;
    }
        .profile-title {
        width: 120px;
    }
    .profile-arrow {
        right: 3em;
    }
}

@media (max-width: 1200px) {
    .large-menu {
        display: none;
    }

    .small-menu {
        display: block;
        margin-top: 20px;
    }

    .small-menu .main-menu__item .main-menu__link::before {
        top: 0;
    }

    .align-container__item {
        vertical-align: bottom;
    }
}

@media (max-width: 768px) {
    .social-menu {
        display: none;
    }

}
