@media all and (max-width: 1200px) {
    #mainwrapper,
    #top_wrapper,
    #location,
    #header,
    #middle,
    #bottom_content,
    #footer,
    #top_menu,
    #adminpanel > div,
    .slider_wrapper {min-width: auto; width: auto;}
    .slider_wrapper {margin: 0;}
    #middle_wrapper {padding-top: 0; padding-bottom: 0;}
    #middle_right_center {padding: 0;}
    .lent .guarantor {height: 35px;}
    .lent a.read_more {right: 10px;}
    .pre-footer {margin-top: 15px;}
}
@media all and (max-width: 1100px) {
    #top_menu {overflow: hidden;}
    #top_menu ul ul {display: none !important;}
    #top_menu ul ul, .sf-sub-indicator {display: none !important;}
    #top_menu .sf-with-ul {padding-right: 12px;}
}
@media all and (max-width: 900px) {
    #middle_left {width: auto; float: none;}
        #left_menu_wrapper, .lw {border-radius: 0;}
        #left_menu_wrapper.scroll-to-fixed-fixed {
            width: 100% !important; max-width: none !important;/*top: 40px !important;*/
        }
    #middle_center {width: auto; padding: 0; float: none;}
    #middle_left .banner {display: none;}
    .clear3 {clear: none;}
    .clear2 {clear: both;}
    .item_list .item {width: 50%;}
    #left_menu .switcher {display: none;}
    #left_menu ul {display: none !important;}
    #left_menu li {display: inline-block; margin: 0 5px;}
    #left_menu a {display: inline-block; padding: 5px 10px;
                border-radius: 6px;}
    .owl-prev, .owl-next {width: 50px;}
    .section_slider {margin-left: 50px; margin-right: 50px;}
    .section_slider .owl-prev {left: -50px;}
    .section_slider .owl-next {right: -50px;}
    a#site_link .company_caption {font-size: 24px;}
        a#site_link .company_caption span {font-size: 36px;}
    .pre-footer .left, .pre-footer .right {width: 100%; padding: 0; margin: 20px 0; float: none;}
}
@media all and (max-width: 700px) {
    #footer, #footer_guarantor {height: 240px;}
    .pad {padding: 5px;}
    .search_form {width: auto;}
    .lent .image {margin: 0 auto; float: none; max-width: none;}
    .lent .info {margin: 10px;}
    .lent .title, .lent .date {text-align: center;}
    .lent .date {margin: 5px 0 10px; position: relative; left: auto; bottom: auto;}
    .lent .guarantor {height: 0;}
    .lent a.read_more {display: none; right: auto; bottom: auto; position: relative;
                        text-align: center;}
    .item_list.detailed .item {width: 100%; float: none;}
    .scrollTop {display: none !important;}
    .w50per {width: 100%;}
    .w50per.rpad {padding-left: 20px;}
    .slider_wrapper,
    .reviews_wrapper,
    .main_page {margin: 0;}
    .owl-prev, .owl-next {font-size: 40px;}
    .owl-prev i, .owl-next i {margin-top: -20px;}
    .reviews_wrapper .owl-prev i,
    .reviews_wrapper .owl-next i {margin-top: -50px;}

    .page_text h2 {margin-left: -5px;}
    .page_text img.left,
    .page_text img.right {float: none; margin: 0 auto; max-width: none;}
}
@media all and (max-width: 500px) {
    .item_list .item {width: 100%;}
    .location_map, .pre-footer .right {display: none;}
    .owl-prev, .owl-next {font-size: 30px;}
    .owl-prev i, .owl-next i {margin-top: -15px;}
    .reviews_wrapper .owl-prev i,
    .reviews_wrapper .owl-next i {margin-top: -40px;}
    a#site_link {margin-bottom: 15px;}
    a#site_link .company_caption {font-size: 18px;}
        a#site_link .company_caption span {font-size: 24px;}
        a#site_link .slogan {font-size: 12px;}
}
