@media screen and (max-width: 1150px) {
    #header_slider {
        height: 500px;
    }

    #header_slider #slider {
        height: 500px;
    }
}

@media screen and (max-width: 1000px) {
    .alignment {
        width: 90%;
    }

    #header_slider {
        height: 400px;
    }

    #header_slider #slider {
        height: 400px;
    }
}

@media screen and (max-width: 850px) {

    header {
        height: auto;
    }

    header .alignment {
        width: 100%;
    }

    header #logo {
        width: 70%;
        height: 100px;
        position: relative;
        overflow: hidden;
    }

    header #logo h1 img {
        height: 100px;
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        width: 100%;
    }

    header nav ul li:hover ul {
        display: none;
    }

    header nav ul li {
        display: block;
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        margin: 0;
        display: block;
        color: black;
        width: 96%;
        padding: 2%;
    }

    header #menu_icon {
        display: block;
    }

    #header_slider {
        height: 250px;
    }

    #header_slider #slider {
        height: 250px;
    }

    #header_slider #slider_text {
        display: none;
    }

    #category_slider #category_text {
        top: 90px;
    }

    section #panel_l {
        width: 38%;
    }

    section #panel_r {
        width: 59%;
    }

    section #panel_news {
        display: none;
    }

    footer #footer_information .box {
        width: 96%;
        padding: 1%;
    }

    footer #footer_information .box:first-child {
        margin-top: 30px;
    }

    footer #footer_information .box:nth-child(2n) {
        width: 96%;
    }

    footer #footer_information .box:nth-child(3n) {
        width: 96%;
    }

    section #contact_form {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 40px;
        margin-top: 40px;
    }

    section #photogallery .image {
        width: 43.5%;
    }

}

@media screen and (max-width: 600px) {

    header #logo {
        width: 100px;
        height: 100px;
        position: relative;
        overflow: hidden;
    }

    #header_slider {
        height: 180px;
    }

    #header_slider #slider {
        height: 180px;
    }

    #category_slider {
        height: 180px;
    }

    #category_slider #slider {
        height: 180px;
        margin-bottom: 20px;
    }

    #category_slider #category_text {
        top: 65px;
    }

    section .img_right {
        float: right;
        margin-bottom: 20px;
        margin-left: 20px;
        width: 40%;
        height: auto;
    }

    section #panel_l {
        float: none;
        width: 100%;
    }

    section #panel_r {
        margin-top: 40px;
        float: none;
        width: 100%;
    }

    section #panel_l nav ul li a {
        padding: 1.5% 4%;
    }

    section ul li {
        font-size: 1em;
    }

    section h2, section h3 {
        font-size: 1.5em;
        text-align: left;
        margin: 15px 0;
        color: #666;
    }

    section h4, section h5 {
        font-size: 1.3em;
        text-align: left;
        margin: 15px 0;
        color: #666;
    }

    section p {
        font-size: 1em;
    }

    section #contact_form input[type="text"], section #contact_form input[type="email"] {
        width: 96%;
        margin-right: 0;
    }

    section #articles article {
        float: none;
        width: 94%;
        padding: 3%;
        margin-right: 0;
        margin-bottom: 2%;
    }

    section #articles article img {
        float: none;
        width: 100%;
        height: auto;
    }

    footer #copyrights {
        margin-top: 40px;
    }

}