@media screen and (max-width: 1050px) {

    div#main,
    div#footer > div {
        max-width: 100%;
    }

}

@media screen and (max-width: 970px) {

    div#menu-main,
    div.menu-top {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    
    div#header a#logo {
        height: 95px;
        width: 95px;
    }

}

@media screen and (max-width: 970px) {
    body#pageid-25 .module-text-content table {
        display: block;
        width: 100%px;
    }
    body#pageid-25 .module-text-content table td {
        display: block;
        width: 100%px;
    }
}


@media screen and (max-width: 800px) {
    .homepage-program img:first-child {
        margin-right: 10px;
    }
    .homepage-program img {
        margin: 10px;
        max-width: calc(100% - 20px);
        display: inline-block;
        border: 3px solid #fff;
    }
}



@media screen and (max-width: 600px) {
    .module-text table tr {
        display: block;
        margin-bottom: 20px;
        border-bottom: 2px solid #aaa;
    }
    .module-text table td {
        display: block;
    }
    
    .form-text, .form-text-sel, textarea, .form-select, input[type=file] {
        width: 200px;
    }
    .module-registration form td:nth-child(1) {
        width: 40%;
    }


    div#footer .left {
        width: 100%;
        text-align: center;
    }
    div#footer .right {
        width: 100%;
        text-align: center;
    }
    div#footer .right a {
        display: block;
    }

}
@media screen and (max-width: 480px) {

    .gallery-image-mobile {
        display: block;
        margin-bottom: 10px;
    }
    .gallery-image {
        display: none;
    }
     
    .form-text, .form-text-sel, textarea, .form-select, input[type=file] {
        width: 140px;
    }
  
    .map-legend.fixed {
        width: 100%;
        left: 0px;
    }

}
