@media (max-width: 1299px) {
    #main .article .col-xl-8 {
        padding-right: 40px;
    }

    .page-header h1, .box-headline h1 {
        font-size: 44px;
    }

    .item-page h1, .item-page h2, .item-page h3, .item-page h4, .item-page h5 {
        padding: 15px 0;
    }

    .slider .slide {
        background-position: center right -170px;
    }
    .slider .slide h2 {
        font-size: 46px;
    }
}

@media (max-width: 1199px) {
    #nav {
        position: fixed;
        top: 41px;
        right: 0;
        background-color: transparent;
        z-index: 1040;
    }
    #nav.sticky {
        top: 32px;
        box-shadow: unset;
    }
    #nav .navbar .navbar-toggler {
        color: #000;
    }
    #nav .navbar .collapse {
        display: block;
    }
    #nav .navbar .nav {
        width: 300px;
        max-height: 85vh;
        flex-direction: column;
        flex-wrap: nowrap;
        position: absolute;
        top: 45px;
        right: -5px;
        padding: 20px 10px;
        background-color: #FFF;
        box-shadow: 0 8px 15px rgba(0, 0, 0, .15);
        transform-origin: 50% 0;
        transform: scaleY(0);
        transition-duration: 250ms;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 9999;
    }
    #nav .navbar .nav.active {
        transform: scaleY(1);
    }
    #nav .navbar .nav > li > a, 
    #nav .navbar .nav > li > span {
        display: block;
        color: #000;
        text-shadow: unset;
        border-bottom: 0;
    }
    #nav .navbar .nav > li ul {
        display: block;
        width: 92%;
        position: relative;
        top: 0; left: 8%;
        opacity: 1;
        box-shadow: unset;
    }
    #nav .navbar .nav > li ul > li > a, 
    #nav .navbar .nav > li ul > li > span {
        font-size: 15px;
        font-weight: 400;
        border: 0;
    }
    #nav .navbar .nav > li ul > li > ul {
        display: none !important;
    }

    .slider .slide {
        background-position: center right -300px;
    }
    .slider .slide .content {
        width: 50%;
    }
    .slider .slide h2 {
        font-size: 43px;
    }

    .boxes .box:not(:first-of-type) {
        padding-top: 20px;
    }

    .about .content {
        padding-left: 15px;
        padding-top: 30px;
    }
    .news .headline h2, .about .content h2 {
        font-size: 43px;
        padding-bottom: 20px;
    }

    #main .article .col-xl-8 {
        padding-right: 15px;
    }

    .page-header h1, .box-headline h1 {
        font-size: 40px;
    }

    .contact-form {
        padding-top: 40px;
    }
}

@media (max-width: 991px) {
    .slider .slide {
        height: 380px;
    }
    .slider .slide h2 {
        font-size: 40px;
    }
    .slider .slide p {
        font-size: 17px;
    }

    .news .box:not(:first-of-type) {
        padding-top: 20px;
    }
    .boxes .box .content, .news .box .content {
        padding: 25px 20px 10px 20px;
    }
    .boxes .box .content h3, .news .box .content h3 {
        font-size: 24px;
        padding-bottom: 10px;
    }
    .boxes .box .content p, .news .box .content p, .about .content p {
        font-size: 16px;
        line-height: 26px;
    }
    .boxes .box .content span {
        font-size: 15px;
        margin-top: 15px;
    }

    .news .headline h2, .about .content h2 {
        font-size: 40px;
    }

    .links .box:nth-child(3) {
        padding-top: 20px;
    }

    #footer .copy p br {
        display: none;
    }

    #main .article {
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .page-header h1, .box-headline h1 {
        font-size: 34px;
    }

    .item-page h1, .item-page h2, .item-page h3, .item-page h4, .item-page h5 {
        padding: 10px 0;
    }
    .item-page h1, .item-page h2 {
        font-size: 26px;
        line-height: 34px;
    }
    .item-page h3 {
        font-size: 22px;
        line-height: 30px;
    }
    .item-page h4 {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 767px) {
    #header {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #nav {
        top: 31px;
    }
    #nav.sticky {
        top: 22px;
    }

    .slider .slide {
        background-position: center right -460px;
    }
    .slider .slide h2 {
        font-size: 34px;
    }
    .slider .slide p {
        font-size: 16px;
        line-height: 22px;
        padding-top: 15px;
    }
    .slider .slide a {
        height: 48px;
        font-size: 15px;
        line-height: 46px;
    }

    .boxes .box .content, .news .box .content {
        padding: 20px 10px 5px 10px;
    }
    .boxes .box .content h3, .news .box .content h3 {
        font-size: 22px;
    }
    .boxes .box .content p, .news .box .content p, .about .content p {
        font-size: 15px;
        line-height: 24px;
    }
    .boxes .box .content span {
        padding: 13px 20px;
    }

    .news .headline h2, .about .content h2 {
        font-size: 36px;
    }

    .about .photo.p-1 {
        height: 320px;
    }

    .links .box:nth-child(2) {
        padding-top: 20px;
    }
    .links .box h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .links .box ul li a {
        font-size: 15px;
    }

    #main .article {
        padding-top: 15px;
    }

    .page-header, .box-headline {
        margin-bottom: 25px;
    }
    .page-header h1, .box-headline h1 {
        font-size: 30px;
    }

    .item-page h1, .item-page h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .item-page h3 {
        font-size: 20px;
        line-height: 28px;
    }
    .item-page h4 {
        font-size: 18px;
        line-height: 26px;
    }
    .item-page p, .item-page ul li, .item-page ol li {
        font-size: 16px;
        line-height: 26px;
    }
} 

@media (max-width: 575px) {
    #header.sticky {
        box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
    }

    #nav .navbar .nav {
        width: 270px;
    }
    #nav .navbar .nav > li > a, #nav .navbar .nav > li > span {
        font-size: 16px;
        padding: 8px 12px 10px 12px;
    }
    #nav .navbar .nav > li ul > li > a, #nav .navbar .nav > li ul > li > span {
        font-size: 14px;
    }

    .slider .slide {
        height: 320px;
        background-position: center right -520px;
    }
    .slider .slide .content {
        width: 65%;
    }
    .slider .slide h2 {
        font-size: 30px;
    }
    .slider .slide p {
        display: none;
        padding-top: 10px;
    }
    .slider .slide a {
        height: 46px;
        font-size: 14px;
        line-height: 44px;
        margin-top: 25px;
    }

    .boxes {
        padding-top: 35px;
        padding-bottom: 30px;
    }
    .boxes .box:not(:first-of-type) {
        padding-top: 10px;
    }
    .boxes .box a, .news .box a {
        padding: 8px;
    }
    .boxes .box .photo {
        height: 200px;
    }
    .boxes .box .content {
        align-items: flex-start;
    }
    .boxes .box .content h3, .news .box .content h3 {
        font-size: 20px;
    }
    .boxes .box .content p, .news .box .content p, .about .content p {
        font-size: 14px;
        line-height: 22px;
    }
    .boxes .box .content p br {
        display: none;
    }
    .boxes .box .content span {
        font-size: 14px;
        padding: 11px 15px;
        margin-top: 10px;
    }

    .news {
        padding-bottom: 30px;
    }
    .news .headline h2, .about .content h2 {
        font-size: 32px;
        padding-bottom: 15px;
    }
    .news .all a {
        font-size: 14px;
        padding: 11px 15px;
        margin: 15px 0 0 0;
    }

    .about {
        padding-bottom: 30px;
    }
    .about .photo.p-1 {
        height: 230px;
    }
    .about .content {
        padding-top: 20px;
    }

    .links {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .links .box:nth-child(2) {
        padding-top: 15px;
    }
    .links .box h4 {
        font-size: 18px;
        margin-bottom: 7px;
    }
    .links .box ul li {
        margin-top: 2px;
    }
    .links .box ul li a {
        font-size: 14px;
    }

    #footer {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #footer .copy p {
        font-size: 13px;
    }

    #main .article {
        padding-top: 5px;
    }

    .page-header, .box-headline {
        margin-bottom: 15px;
    }

    .item-page h1, .item-page h2, .item-page h3, .item-page h4, .item-page h5 {
        padding: 5px 0;
    }
    .item-page h1, .item-page h2 {
        font-size: 21px;
        line-height: 28px;
    }
    .item-page h3 {
        font-size: 18px;
        line-height: 25px;
    }
    .item-page h4 {
        font-size: 16.5px;
        line-height: 23px;
    }
    .item-page p, .item-page ul li, .item-page ol li {
        font-size: 15px;
        line-height: 24px;
    }
}