@media (min-width:1150px){

    

    .container{
        padding: 0 calc((100% - 1300px) / 2);
    }
}

@media (max-width:1160px){
    
    html{
        font-size: 60%;
    }

    .container{
        padding:0 4vw;
    }
}

@media (max-width:1048px){
    
    /*General*/
    html{
        font-size: 58%;
    }

    .container{
        padding:0 2vw;
    }

    /*Permit Flow*/
    #art-7-options__list--block ul li {
        width: 49%;
    }
}

@media (max-width:980px){
    
    html{
        font-size: 56%;
    }

    .container{
        padding:0 2vw;
    }


    /*E-heldpesk*/
    .e-helpdesk-item{
        width: 48%;
    }

    .e-helpdesk-item:last-child{
        margin-right:auto;
    }
    
}

@media (max-width:945px){
    
    /*General*/
    .container{
        padding:0 4vw;
    }

    /*Nav*/
    #top-nav, #logo-and-nav__nav, #logo-and-nav__portal{
        display: none;
    }

    #logo-and-nav{
        justify-content: space-between;
    }

    #logo-and-nav__mobile-menu{
        display: flex;
    }

    #mobile-menu__container.open{
        display: flex;
        opacity: 1;
        z-index: 100;
    }

    /*Homepage*/
    .secondary-entry-point, .news_update_item{
        width: 49%;
        margin-bottom:2.5%;
    }

    #homepage-crv-search{
        flex-direction: column;
    }

    #homepage-crv-search__text{
        margin-bottom:3rem;
    }

    #homepage-crv-search__text, #homepage-crv-search__input{
        width: 100%;
    }

    /*Permit Flow*/

    #default-content-page__left {
        width: 100%;
    }

    #default-content-page__right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    #default-content-page__right > div{
        width: 49%;
    }

    /*Appointment page*/

    #appointment-buttons-container h2{
        width: 75%;
    }

    .appointment-item {
        width: 100%;
    }

    #appointment-faq-items{
        width: 100%;
    }

    /*Footer*/

    .footer-section{
        width: 48%;
        margin-bottom:4%;
        font-size: 1.6rem;
    }

    #footer-section__content-container{
        display:flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-section:last-child{
        width: 100%;
        /* flex-direction: row; */
    }

    #footer-section__content-container > div{
        width: 49%;
    }


}


@media (max-width:760px){
    
    /*Homepage*/
    .primary-entry-point{
        width: 100%;
    }

    .primary-entry-point:first-child{
        margin-bottom: 4vw;
    }

    /*permit Flow*/
    
    .default-banner-left {
        width: 100%;
    }

    .default-banner-right{
        display:none;
    }

    #art-7-options__choices{
        flex-direction: column;
    }

    #art-7-options__choices > div {
        width: 100%;
    }

    #art-7-options__list--block ul li {
        width: 100%;
    }

    /*Appointment*/
    #appointment-buttons-container h2{
        width: 100%;
    }
}

@media (max-width:700px){
    .e-helpdesk-item{
        width: 100%;
        margin-bottom: 6rem;
        margin-left:auto;
        margin-right:auto;
        position: relative;
        
    }

    .e-helpdesk-item__link {
        width: 50%;
    }
}



@media (max-width:600px){

    /*Menu*/
    .secondary-entry-point, .news_update_item{
        width: 100%;
        margin-bottom:5%;
    }

    /*Homepage*/
    #search-container input[type="text"], #homepage-crv-search__input input[type="text"]{
        font-size: 2.4rem;
    }

    #homepage-crv-search__input input[type="text"]{
        width: 75%;
    }

    #homepage-crv-search__input button[type="submit"]{
        width: 25%;
    }

    /*Permit Flow*/
    #social-media-box > div {
        margin-right: 0;
        text-align: center;
    }

    #listen-box {
        padding: 0 1rem;
        width: 12rem;
    }
    

    /*Footer*/
    .footer-section{
        width: 100%;
    }

    #footer-section__content-container{
        flex-direction: column;
    }

    #footer-section__content-container > div{
        width: 100%;
        margin-top:3rem;
    }

    #footer-bottom-section{
        flex-direction: column;
    }


}
