@media only screen and (max-width: 1399px) {

}

@media only screen and (max-width: 1199px) {
    .first-section {
        height: 660px;
    }
    .first-section .title h1 {
        font-size: 55px;
        letter-spacing: 1px;
    }
    .first-section .description p {
        font-size: 18px;
    }
    .first-section .description {
        width: 65%;
    }
    .first-section .button-flex .button-left a {
        padding: 14px 35px;
        font-size: 15px;
        height: 45px;
    }
    .first-section .button-flex .button-right a {
        padding: 14px 35px;
        font-size: 15px;
        height: 45px;
    }
    section {
        padding: 80px 0;
    }
    .section-about .about-description {
        width: 100%;
        margin-right: 0;
    }
    .section-about .about-image {
        display: none;
    }
    .section-about .about-description p {
        font-size: 18px;
    }
    .section-about .about-description h2 {
        font-size: 35px;
    }
    .section-about .about-description ul li {
        font-size: 18px;
    }
    .section-about .about-button a {
        padding: 14px 35px;
        font-size: 15px;
        height: 45px;
    }
    .sensei__title {
        font-size: 35px;
    }
    .sensei-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sensei-card {
        min-height: 600px;
    }
    .weapons__title {
        font-size: 35px;
    }
    .weapons__sub_title {
        font-size: 20px;
        width: 100%;
    }
    .pubs__title {
        font-size: 35px;
    }
    .gallery-home__title {
        font-size: 35px;
    }
    .partners-home__title {
        font-size: 35px;
    }
    .partners-home__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 50px;
    }
    .partners-home__card {
        min-height: 170px;
        padding: 14px 16px;
    }
    .partners-home__media img {
        max-width: 250px;
        max-height: 96px;
    }
    .gallery-home__head {
        margin-bottom: 50px;
    }
    .gallery-home__btn {
        width: 35px;
        height: 35px;
        border-radius: 5px;
        font-size: 18px;
    }
    .gallery-home__media {
        height: 280px;
    }
    .gallery-home__main {
        padding: 0;
        border-radius: 0;
    }
    .gallery-home__caption {
        padding: 15px;
    }
    .gallery-home__caption-title {
        font-size: 18px;
    }
    .gallery-archive,
    .gallery-event {
        margin-top: 120px;
        padding: 50px 30px;
    }
    .gallery-archive__title,
    .gallery-event__title h1 {
        font-size: 35px;
    }
    .gallery-archive__intro p,
    .gallery-event__intro p {
        font-size: 16px;
    }
    .gallery-archive__grid,
    .gallery-related__grid,
    .gallery-event__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-tile {
        min-height: 360px;
    }
    .gallery-tile__title {
        font-size: 20px;
    }
    .gallery-related {
        margin: 50px 0;
    }
    .gallery-related__title {
        font-size: 35px;
        margin: 0 0 50px;
    }
    .gallery-event__media {
        height: 300px;
    }
    .pubs__btn {
        width: 35px;
        height: 35px;
        border-radius: 5px;
        font-size: 18px;
    }
    .pub-card__media {
        height: 325px;
    }
    .pub-card__body {
        padding: 15px;
    }
    .pub-card__title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .pub-card__text {
        font-size: 16px;
    }
    .pub-card__more {
        font-size: 14px;
    }
    .menu-footer .menu-item a {
        font-size: 16px;
    }
    .footer-center .logo .text {
        font-size: 30px;
        margin-top: 20px;
    }
    .footer-center .logo .image img {
        width: 110px;
    }
    .copyright-footer {
        font-size: 12px;
    }
    .locations__wrap .loc-item__country {
        font-size: 18px;
    }
    .locations__wrap .loc-item__subtitle {
        font-size: 12px;
    }
    .locations__wrap .loc-item__address {
        font-size: 14px;
    }
    .locations__wrap .loc-list {
        gap: 20px;
    }
    .navbar .menu-button {
        display: inline-block;
        margin-left: 7px;
        margin-top: 25px;
    }
    .navbar li {
        padding: 0;
    }
    .publications-content {
        margin-top: 120px;
        padding: 50px 30px;
    }
    .publications-title {
        margin-top: 50px;
    }
    .publications-title h1 {
        font-size: 35px;
    }
    .publications-text {
        margin-top: 50px;
    }
    .publications-text p {
        font-size: 16px;
    }
    .publications-text ul li {
        font-size: 16px;
    }
    .publications-related {
        margin: 50px 0;
    }
    .publications-related__title {
        font-size: 35px;
        margin: 0 0 50px;
    }
    .entry-page {
        margin-top: 120px;
        margin-bottom: 120px;
        padding: 50px 30px;
    }
}
@media only screen and (max-width: 991px) {
    .sensei-card {
        min-height: 425px;
    }
    .sensei-modal__photo {
        display: none;
    }
    .first-section .title h1 {
        font-size: 50px;
        letter-spacing: 0;
        line-height: 1.2;
    }
    .first-section .description {
        width: 100%;
    }
    section {
        padding: 60px 0;
    }
    .first-section {
        height: 530px;
    }
    .weapon-modal__content {
        grid-template-columns: 1fr;
    }
    .weapon-modal__photo {
        display: none;
    }
    .pub-card__media {
        height: 525px;
    }
    .gallery-event__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .locations {
        background-position: top;
    }
    .header .logo span {
        font-size: 20px;
    }
    .header .logo img {
        max-height: 50px;
        margin-right: 10px;
    }
    .page-404 {
        margin: 80px auto;
    }
    .page-404 img {
        width: 100%;
    }
    .entry-page {
        border-radius: 10px;
        padding: 30px 20px;
    }
    .entry-title {
        margin-bottom: 50px;
    }
    .about-page-flex-item {
        align-items: flex-start;
    }
}

@media only screen and (max-width: 767px) {
    .first-section .title h1 {
        font-size: 40px;
    }
    .first-section .description p {
        font-size: 16px;
    }
    .first-section {
        height: 450px;
    }
    section {
        padding: 50px 0;
    }
    .header .logo span {
        font-size: 16px;
    }
    .section-about .about-description p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .section-about .about-description h2 {
        font-size: 30px;
    }
    .section-about .about-description ul li {
        font-size: 16px;
    }
    .sensei__title {
        font-size: 30px;
        margin: 0 0 60px;
    }
    .sensei-card {
        min-height: 320px;
    }
    .sensei-card__name {
        font-size: 18px;
    }
    .sensei-card__pos {
        font-size: 12px;
    }
    .weapons__title {
        font-size: 30px;
    }
    .weapons__sub_title {
        font-size: 16px;
        margin: 0 auto 50px;
    }
    .pubs__title {
        font-size: 30px;
    }
    .pub-card__media {
        height: 390px;
    }
    .contact-popup__dialog {
        width: min(720px, calc(100% - 24px));
    }
    .contact-popup__body {
        padding: 34px 24px 24px;
    }
    .contact-popup__title {
        font-size: 30px;
        margin-bottom: 24px;
    }
    .locations__wrap .loc-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 0;
    }
    .footer-flex {
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .footer-left {
        width: 100%;
        order: 2;
        margin-top: 20px;
        text-align: left;
    }
    .footer-center {
        text-align: left;
        width: 100%;
        order: 1;
    }
    .footer-right {
        width: 100%;
        order: 3;
        text-align: left;
    }
    .social-media-footer {
        margin: 30px 0 0;
    }
    .copyright-footer {
        text-align: left;
    }
    .footer-center .logo .text {
        font-size: 20px;
    }
    .footer-center .logo .image img {
        width: 80px;
    }
    .publications-title h1 {
        font-size: 25px;
    }
    .publications-content {
        padding: 30px 20px;
        border-radius: 10px;
    }
    .entry-title h1 {
        font-size: 25px;
    }
    .image-one {
        margin-top: 50px;
    }
    .entry-page {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .about-page-flex {
        gap: 50px;
    }

}

@media only screen and (max-width: 639px) {
    .first-section .title h1 {
        font-size: 25px;
        margin-top: 30px;
    }
    .first-section .description p {
        font-size: 14px;
    }
    .first-section {
        height: 390px;
    }
    .first-section .button-flex {
        display: block;
    }
    .first-section .button-flex .button-left {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .first-section .description {
        margin: 10px auto 0;
    }
    .first-section .button-flex .button-left a {
        width: 100%;
        text-align: center;
    }
    .first-section .button-flex .button-right a {
        width: 100%;
        text-align: center;
    }
    .section-about .about-button a {
        width: 100%;
    }
    .contact-popup__dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        margin-top: 10px;
        border-radius: 14px;
    }
    .contact-popup__body {
        padding: 24px 16px 18px;
    }
    .contact-popup__title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    .contact-popup__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .sensei-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .sensei-card {
        min-height: 390px;
    }
    .weapons__title {
        font-size: 20px;
    }
    .gallery-home__title {
        font-size: 20px;
    }
    .gallery-home__head {
        display: block;
        margin-bottom: 30px;
    }
    .partners-home__title {
        font-size: 20px;
    }
    .partners-home__head {
        display: block;
        margin-bottom: 30px;
    }
    .partners-home__nav {
        margin-top: 35px;
        justify-content: flex-start;
    }
    .partners-home__card {
        min-height: 140px;
        padding: 12px 14px;
        border-radius: 14px;
    }
    .partners-home__media img {
        max-width: 220px;
        max-height: 82px;
    }
    .gallery-home__nav {
        margin-top: 35px;
        justify-content: flex-start;
    }
    .weapons__sub_title {
        margin: 0 auto 30px;
    }
    .gallery-home__media {
        height: 220px;
    }
    .gallery-home__main {
        padding: 0;
        border-radius: 0;
    }
    .gallery-archive,
    .gallery-event {
        padding: 20px 15px;
        border-radius: 5px;
        margin-top: 80px;
    }
    .gallery-archive__title,
    .gallery-event__title h1 {
        font-size: 20px;
    }
    .gallery-archive__intro,
    .gallery-event__intro {
        margin-top: 20px;
    }
    .gallery-archive__intro p,
    .gallery-event__intro p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .gallery-archive__grid,
    .gallery-related__grid,
    .gallery-event__grid {
        grid-template-columns: 1fr;
    }
    .gallery-archive__grid {
        margin-top: 30px;
    }
    .gallery-tile {
        min-height: 280px;
        border-radius: 12px;
    }
    .gallery-tile__overlay {
        padding: 18px 16px;
    }
    .gallery-tile__title {
        font-size: 18px;
    }
    .gallery-event__grid {
        margin-top: 30px;
    }
    .gallery-event__media {
        height: 260px;
    }
    .gallery-event__hover-icon {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }
    .gallery-related__title {
        font-size: 25px;
    }
    .weapon-card {
        min-height: 220px;
    }
    .pub-card__media {
        height: 222px;
    }
    .publications-content {
        margin-top: 80px;
        padding: 20px 15px;
        border-radius: 5px;
    }
    .publications-image img {
        border-radius: 5px;
    }
    .publications-title {
        margin-top: 20px;
    }
    .publications-text {
        margin-top: 20px;
    }
    .publications-title h1 {
        font-size: 20px;
    }
    .publications-text p {
        margin-bottom: 15px;
    }
    .publications-text ul li {
        margin-bottom: 15px;
    }
    .publications-related__title {
        font-size: 25px;
    }
}

@media only screen and (max-width: 375px) {
    .header .logo span {
        display: none;
    }
}



@media (max-width: 767px) {
    body:before{
        content:'xs' !important;
        display: none !important;
    }
}

@media (min-width: 768px){
    .navbar{
        background-color: transparent;
        border-color: transparent;
        border-radius: 0;
        border:none;
        margin-bottom: 0;
    }
    .navbar .navbar-nav > li > a { color: #555; }
    .navbar .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: blue;
        background-color: transparent;
    }
    .navbar-default .navbar-nav > .current_page_parent > a,
    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:hover,
    .navbar-default .navbar-nav > .active > a:focus {
        color: red;
        background-color: transparent;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    body:before{
        content:'sm' !important;
        display: none !important;
    }

}

@media (min-width: 992px) and (max-width: 1199px) {
    body:before{
        content:'md' !important;
        display: none !important;
    }

}

@media (min-width: 1200px) {
    body:before{
        content:'lg' !important;
        display: none !important;
    }

}

