@media screen and (max-width: 319px) {
    .mobile_menu_button{
        display: inline-block;
        float: left;
    }
}
@media screen and (max-width:510px) {
    #search-container {
        width: 100%;
    }
}

@media screen and (min-width:320px) and (max-width:590px) {
    #contact-us a {
        color: #555;
        font-size: 14px;
    }
    #language-bar a {
        background-color: #aaa;
        color: #fff;
        display: inline-block;
        float: left;
        margin: 0;
        padding: 7px 11px;
    }
    #header-left, #header-right {
        padding: 0;
    }
    .has-separator:after {
        color: #ddd;
        content: "|";
        font-size: 18px;
        line-height: 30px;
        padding-left: 10px;
    }
    #search-container {
        margin-bottom: 10px;
    }
    #search-container .has-separator:after {
        content: "";
        padding: 0;
    }
    #subscription-container {
        background-color: #e1e1e1;
        padding: 15px 0 10px;
    }
    #header-main-right .wysija-input {
        border: 1px solid #aaa !important;
        height: 34px;
        font-size: 1em;
        /*line-height: 0;*/
        padding-left: 5px;
        padding-right: 5px;
        width: 130px;
    }
    #searchform {
        float: none;
    }
    input#s {
        border: 1px solid #aaa !important;
        height: 34px;
        font-size: 1em;
        /*line-height: 0;*/
        padding-left: 5px;
        padding-right: 5px;
        width: 146px;
    }
    /*nav.mobile_menu > ul{*/
        /*width: 100%;*/
    /*}*/
    /*#menu-main-menu, .mobile_menu {*/
        /*display: none !important;*/
    /*}*/
    #menu-footer-menu, #menu-ch-footer {
        padding-left:20px;
    }
    #copyright {margin-left:18px;margin-right:-102px;}
    #footerLogo {right:10px}
    .mobile_menu_button{
        display: inline-block;
        float: left;
    }
}
@media screen and (min-width:320px) and (max-width:740px) {
    #privacy-links {display:block;margin-left:auto}
    #privacy-links a:first-child:before {display:none;}
}
@media screen and (min-width: 320px) and (max-width: 991px) {
    #menu-main-menu, #menu-ch-main-menu {
        display: none !important;
    }
    .mobile_menu_button{
        display: inline-block;
        float: left;
    }
    #header-right {
        margin-top: 15px;
        text-align: center;
    }
    #header-top {
        text-align: center;
    }
    #header-main, #header-main-right, #header-main-left {
        padding: 0;
    }
    .home-text-container {
        height: auto;
    }
    .middle-block {
        margin-bottom: 10px;
    }
    .middle-block .read-more {
        background-color: #555;
        bottom: 20px;
        color: #fff;
        display: inline-block;
        font-size: 16px;
        margin-top: 30px;
        padding: 8px 20px;
        float: right;
        position: relative;
    }
    .home-thumb {
        display: inline-block;
        float: none;
        text-align: center;
        width: 100%;
    }
    .home-text-container {
        height: auto;
        display: table;
        width: 100%;
    }
    nav.mobile_menu{
        display: block;
        margin: 0px;
    }
    #menu-main-menu, #menu-ch-main-menu {
        display: none !important;
    }
    .mobile_menu_button{
        display: inline-block;
        float: left;
    }
    #subscription-container {
        margin: 0;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .news-block {
        height: 570px;
    }
}
@media screen and (min-width:992px) and (max-width: 1199px) {
    nav.mobile_menu{
        display: block;
        margin: 0px;
    }

    nav.mobile_menu > ul{
        width: 768px;
        margin: 0px auto;
    }
    #header-main-right .wysija-input {
        border: 1px solid #aaa !important;
        height: 34px;
        font-size: 1em;
        /*line-height: 0;*/
        padding-left: 5px;
        padding-right: 5px;
        width: 350px;
    }
    #header-right .social-icons span {
        color: #fff;
        font-size: 20px;
        padding: 7px 9px;
    }
    .news-block {
        height: 460px;
    }
    .home-text-container {
        height: 380px;
    }
    .home-thumb {
        display: inline-block;
        float: none;
        text-align: center;
        width: 100%;
    }
    .middle-block .read-more {
        background-color: #555;
        bottom: 20px;
        color: #fff;
        display: inline-block;
        font-size: 16px;
        margin-top: 30px;
        padding: 8px 20px;
        float: right;
        position: relative;
    }
}