@media screen and (min-width: 1200px) {
    /*----------------------------------------------------------------------------*/
    /*#CONTAINER STYLE*/
    /*----------------------------------------------------------------------------*/

    [class^='container'] {
        padding-left:  1.0416666666666667vw;
        padding-right: 1.0416666666666667vw;
    }

    .container    { max-width: 62.5vw; }
    .container--lg { max-width: 93.75vw; }
    .container--md { max-width: 76.04166666666667vw; }
    .container--sm { max-width: 78.64583333333333vw; }

    .homepage-loop .container--md { max-width: 86.45833333333333vw; }

    .row.gutters-md {
        margin-left:  -1.0416666666666667vw;
        margin-right: -1.0416666666666667vw;
    }

    .row.gutters-md [class*='col'] {
        padding-left:  1.0416666666666667vw;
        padding-right: 1.0416666666666667vw;
    }
    /*----------------------------------------------------------------------------*/
    /*#VIDEO*/
    /*----------------------------------------------------------------------------*/
    .video { padding-top: 1.3020833333333333vw; }
    /*----------------------------------------------------------------------------*/
    /*#MARGIN STYLE*/
    /*----------------------------------------------------------------------------*/
    .mb--30 { margin-bottom: 1.5625vw; }
    .mb--70 { margin-bottom: 3.6458333333333335vw; }
    .mb--90 { margin-bottom: 4.6875vw; }
    /*----------------------------------------------------------------------------*/
    /*#GLOBAL STYLE*/
    /*----------------------------------------------------------------------------*/

    body { padding-top: 9.375vw; }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 { 
        margin-bottom: 1.0416666666666667vw;
    }


    h1 { font-size: 2.6041666666666665vw; }
    h2 { font-size: 2.1875vw; }
    h3 { font-size: 1.4583333333333333vw; }
    h4 { font-size: 1.25vw; }
    h5 { font-size: 1.0416666666666667vw; }
    h6 { font-size: 0.9375vw; }

    p,
    ul li,
    ol li {
         font-size: 1.0416666666666667vw;
        margin-bottom: 0.9375vw;
    }

    /*----------------------------------------------------------------------------*/
    /*#FONT SIZE*/
    /*----------------------------------------------------------------------------*/
    .txt--sm { font-size: 0.8333333333333334vw; }
    .txt--lg { font-size: 2.1875vw; }
    .txt--xl { font-size: 10.416666666666666vw; }

    @media only screen and (min-width: 1200px){
        main.content .entry-content > .alignwide {
            margin-left: -5.208333333333333vw;
            margin-right: -5.208333333333333vw;
            max-width: calc(100% + 200px);
            width: auto;
        }
    }
    /*----------------------------------------------------------------------------*/
    /*#HEADER AND MENU*/
    /*----------------------------------------------------------------------------*/

    .site-header { padding: 2.0833333333333335vw 1.0416666666666667vw; }

    .admin-bar .site-header { top: 32px; }

    .site-header.active { 
        padding: 0.5208333333333334vw 1.0416666666666667vw; 

    }

    .site-header > .wrap { max-width: 91.66666666666667vw; }

    .site-header .menu-primary li:not(:first-child) { margin-left: 3.6458333333333335vw; }

    .site-header .menu-primary a {
        padding-top: 1.8229166666666667vw;
        padding-bottom: 1.8229166666666667vw;
        font-size: 0.8333333333333334vw;
    }

    .site-header .menu-primary a::after { height: 0.10416666666666667vw; }
    /*----------------------------------------------------------------------------*/
    /*#FOOTER SECTION*/
    /*----------------------------------------------------------------------------*/
    .footer-widgets { padding: 5.208333333333333vw 1.0416666666666667vw; }

    .footer-widgets > .wrap {
        max-width: 91.66666666666667vw;
    }

    .footer-widgets p {
        font-size: 0.8333333333333334vw;
        line-height: 1.5625vw;
    }


    .footer-widgets .menu li:not(:last-child) { 
        margin-right: 0.5208333333333334vw; 
        padding-right: 0.5208333333333334vw;
    }

    .footer-widgets .menu li:not(:last-child)::after {
        height: calc(100% - 0.5208333333333334vw);
        width: 0.10416666666666667vw;
    }

    .footer-widgets .menu a { font-size: 0.7291666666666666vw; }

    .widget-area.footer-widgets-1.footer-widget-area { max-width: 49.479166666666664vw; }

    /*----------------------------------------------------------------------------*/
    /*#GALLERY ITEM HERO IMAGE HOMEPAGE*/
    /*----------------------------------------------------------------------------*/
    .home-hero-section { margin-bottom: 3.6458333333333335vw; }

    .gallery-img { margin-left: -1.0416666666666667vw; }

    .col-gallery { min-height: 41.666666666666664vw; }

    .gallery-item {
        min-height: 41.666666666666664vw;
        opacity: 0.3;
    }

    .gallery-img .owl-dots { bottom: 2.34375vw; }

    .gallery-img .owl-dots .owl-dot { padding: 0.5208333333333334vw 0.20833333333333334vw !important; }

    .gallery-img .owl-dots .owl-dot span {
        width: 2.0833333333333335vw;
        height: 0.3125vw;
        border-radius: 0.5208333333333334vw;
    }


    .hero-content {
        max-width: 44.270833333333336vw;
        margin-left: -2.0833333333333335vw;
    }

    .hero-content__title { 
        padding-bottom: 3.125vw;
        margin-bottom: 2.8645833333333335vw;
    }

    .hero-content__title::after {
        left: 1.5625vw;
        max-width: 35.416666666666664vw;
        height: 0.10416666666666667vw;
    }
    /*----------------------------------------------------------------------------*/
    /*#HOMEPAGE BANNER SECTION*/
    /*----------------------------------------------------------------------------*/
    .banner-box { 
        padding: 7.291666666666667vw 1.0416666666666667vw; 
        margin-bottom: 6.25vw;
    }

    .banner-box__content { max-width: 76.04166666666667vw; }
    /*----------------------------------------------------------------------------*/
    /*#NEWS LOOP*/
    /*----------------------------------------------------------------------------*/
    .post-item__image {    
        max-width: 13.541666666666666vw;
        margin-right: 2.0833333333333335vw; 
    }

    .post-item__content { max-width: 62.5vw; }


    .full-divider {
        height: 0.10416666666666667vw;
        margin: 0 0 0 3.125vw;
    }
    /*----------------------------------------------------------------------------*/
    /*#HOMEPAGE LOOP BOXES*/
    /*----------------------------------------------------------------------------*/
    .item-box {
        padding: 5.208333333333333vw 3.6458333333333335vw;
        margin-bottom: 7.291666666666667vw;
        border: 0.10416666666666667vw solid #D8D6CD;
    }

    .item-box__content { max-width: 44.791666666666664vw; }

    .italic-section h4 { line-height: 1.9791666666666667vw; }

    .item-box__img {
        max-width: 52.083333333333336vw;
        height: calc(100% + 4.166666666666667vw);
        top: -2.0833333333333335vw;
        right: 3.6458333333333335vw;
    }

    .item-box-reverse .item-box__img { left: 3.6458333333333335vw; }

    .item-box__img::before {
        top: 1.9791666666666667vw;
        bottom: 1.9791666666666667vw;
        border-top: 0.10416666666666667vw solid #f2f0e8;
        border-bottom: 0.10416666666666667vw solid #f2f0e8;
    }
    /*----------------------------------------------------------------------------*/
    /*#HERO SECTION FOR ALL PAGES*/
    /*----------------------------------------------------------------------------*/
    .hero-section {
        min-height: 28.645833333333332vw;
        padding-top: 2.6041666666666665vw;
        padding-bottom: 2.6041666666666665vw;
    }

    .hero_section__subtitle { margin-top: 1.5625vw; }
    /*----------------------------------------------------------------------------*/
    /*#SINGLE POST AND PAGE LAYOUT*/
    /*----------------------------------------------------------------------------*/
    main.content {
        padding: 4.166666666666667vw 0;
        max-width: 91.66666666666667vw;
        border-left: 0.10416666666666667vw solid #D8D6CD;
        border-right: 0.10416666666666667vw solid #D8D6CD;
    }

    main.content > article { max-width: 62.5vw; }

    main.content > article .wp-block-image { margin: 2.0833333333333335vw 0; }
    /*----------------------------------------------------------------------------*/
    /*#PAGINATION*/
    /*----------------------------------------------------------------------------*/
    .custom-pagination { margin-left: -0.78125vw; }

    .custom-pagination li span,
    .custom-pagination li a { padding: 0.5208333333333334vw 0.78125vw; }
    /*----------------------------------------------------------------------------*/
    /*#PDF POSTS LOOP*/
    /*----------------------------------------------------------------------------*/
    .pdf-item__image {
        max-width: 13.541666666666666vw;
        margin-right: 2.0833333333333335vw;
    }
    /*----------------------------------------------------------------------------*/
    /*ILLUSTRATIONS*/
    /*----------------------------------------------------------------------------*/

    .illustration-row { gap: 2.1875vw; }

    .illustration-img img { max-height: 13.541666666666666vw; }

    .illustration-popup { padding: 7.8125vw 1.0416666666666667vw 2.0833333333333335vw; }

    .illustration-popup img { 
        max-width: 60.416666666666664vw;
        margin: 0 auto 3.90625vw;
    }

    .fancybox-close-small { top: 2.0833333333333335vw; }

    .fancybox-button {
        width: 7.291666666666667vw;
        height: 7.291666666666667vw;
    }

    .fancybox-close-small::before {
        width: 3.6458333333333335vw;
        height: 3.6458333333333335vw;
    }

    .gallery-stage .fancybox-close-small {
        right: -7.8125vw;
        top: -2.0833333333333335vw;
    }
}
@media screen and (max-width: 1199px) {
    body { padding-top: 120px; }

    .site-header .menu-primary li:not(:first-child) { margin-left: 20px; }

    .site-header .menu-primary a {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 13px;
    }

    .site-header { padding: 20px; }

    .gallery-item,
    .col-gallery { min-height: 570px; }

    h1 { font-size: 36px; }
    h2 { font-size: 32px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }

    p,
    ul li,
    ol li {
        font-size: 17px;
        line-height: 1.9;
    }

    .banner-box { padding: 50px 20px; }

    .mb--xl-40 { margin-bottom: 40px; }

    .pb--xl-50 { padding-bottom: 50px; }

    .footer-widgets { padding: 50px 20px; }

    .footer-widgets > .wrap { flex-wrap: wrap; }

    .widget-area.footer-widgets-2.footer-widget-area .widget-wrap {
        margin-top: 30px; 
        justify-content: flex-start; 
    }

    .widget-area.footer-widgets-1.footer-widget-area { max-width: 100%; }

    .item-box__img { 
        max-width: 640px; 
        right: 30px;
    }

    .item-box-reverse .item-box__img {
        left: 30px;
        right: auto;
    }

    .item-box {
        padding: 50px 30px;
        margin-bottom: 140px;
    }

    .hero-section { min-height: 380px; }

    main.content { padding: 50px 20px; }

    .archive main.content,
    .page-template-news main.content { padding: 50px 0 0; }
}
@media screen and (max-width: 991px) {

    body.menu-triggered { overflow: hidden; }

    .site-header .menu {
        align-items: flex-end;
        flex-direction: column;
    }

    .menu-toggle {
        line-height: 20px;
        margin-bottom: 10px;
        margin-top: 10px;
        padding: 15px 0;
        position: relative;
        z-index: 1000;
    }

    .menu-toggle span {
        position: absolute;
        background-color: #000;
        width: 35px;
        height: 3px;
        right: 5px;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .menu-toggle span:first-child { top: 5px; }

    .menu-toggle span:nth-child(2) { top: 13px; }

    .menu-toggle span:nth-child(3) { top: 21px; }

    .menu-toggle.activated span:nth-child(2) {
        width: 32px;
        top: 5px;
        -webkit-transform: translateY(9px) rotate(45deg);
        -ms-transform: translateY(9px) rotate(45deg);
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.activated span:first-child {
        width: 32px;
        top: 23px;
        -webkit-transform: translateY(-9px) rotate(-45deg);
        -ms-transform: translateY(-9px) rotate(-45deg);
        transform: translateY(-9px) rotate(-45deg);
    }

    .menu-toggle.activated span:nth-child(3) { background: transparent; }

    .menu-primary { 
        position: absolute;
        top: 120px;
        right: -100%;
        z-index: 999;
        background-color: #faf7ec;
        height: 100vh !important;
        width: 100%;
        max-width: 375px;
        padding: 0 30px 150px;
        overflow: auto;     
        transition: .3s ease-in-out; 
    }

    .site-header.active .menu-primary { top: 100px; }

    .menu-primary.triggered { right: 0; }

    .site-header .menu li a { padding: 10px 0; }

    .sub-menu-toggle::after {
        content: '\f107';
        font-family: "Font Awesome 5 Pro";
        margin-left: 5px;
        font-size: 26px;
        font-weight: 400;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: .3s ease-in-out; 
    }

    .sub-menu-toggle:focus,
    .sub-menu-toggle:hover { color: #343434; }

    .sub-menu-toggle.activated::after {
        -webkit-transform: rotate(180deg) translateY(50%);
        -ms-transform: rotate(180deg) translateY(50%);
        transform: rotate(180deg) translateY(50%);
    }

    .menu-overlay {
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 99;
        pointer-events: none;
        opacity: 0;
        transition: .3s ease-in-out;
    }

    .menu-overlay.menu-triggered {
        opacity: 1;
        pointer-events: auto;
    }

    .site-header .menu-primary li:not(:first-child) { margin-left: 0; }

    .home-hero-section { margin-bottom: 30px; }

    .col-gallery { margin-bottom: 30px; }

    .gallery-item, 
    .col-gallery { min-height: 60vw; }

    .hero-content {
        max-width: 100%;
        margin-left: 0;   
    }

    .hero-content__title::after {
        left: 0;
        max-width: 100%;
    }

    .hero-content__title {
        padding-bottom: 30px;
        margin-bottom: 25px;
    }

    .footer-widgets .menu { flex-wrap: wrap; }
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }

    .footer-widgets-2 .wp-block-columns { 
        flex-wrap: nowrap; 
        width: 100%;
    }

    .footer-widgets-2 .wp-block-column { 
        justify-content: center; 
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    .item-box__img {
        right: 0;
        left: 0;
        top: 0;
        max-width: 100%;
        height: 100%;
    }

    .item-box-reverse .item-box__img { left: 0; }

    .item-box__img::before { content: none; }    

    .banner-box { 
        padding: 30px;
        margin-bottom: 50px; 
    }

    .item-box {
        padding: 30px;
        margin-bottom: 50px;
    }

    .mb--md-0 { margin-bottom: 0; }
    .mb--md-30 { margin-bottom: 30px; }
    .mb--md-50 { margin-bottom: 50px; }

    .post-item__image { margin-right: 20px; }

    .gallery-img .owl-dots { bottom: 10px; }

    .illustration-popup img {
        max-width: 370px;
        margin: 0 auto 50px;
    }

    .fancybox-close-small::before {
        width: 40px;
        height: 40px;
    }

    .banner-box { text-align: left; }
}
@media screen and (max-width: 575px) {
    .post-item,
    .pdf-item { flex-direction: column; }

    .post-item__image,
    .pdf-item__image { 
        max-width: 100%; 
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .post-item__image img,
    .pdf-item__image img { width: 100%; }

    .footer-widgets .wp-block-columns .wp-block-column:not(:first-child) { margin-left: 20px; }

    .menu-primary { max-width: 100%; }

    .fancybox-button {
        width: 70px;
        height: 70px;
        top: 40px;
    }
}
@media screen and (max-width: 500px) {

    .footer-widgets .menu li:not(:last-child) {
        margin-right: 0;
        padding-right: 0;
    }

    .footer-widgets .menu li { width: 100%; }

    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }
    h5 { font-size: 16px; }
    h6 { font-size: 15px; }

    p,
    ul li,
    ol li {
        font-size: 16px;
        line-height: 1.6;
    }

    .italic-section h4 { line-height: 28px; }

    .banner-box { padding: 20px; }

    .item-box { padding: 20px; }
}
