.rsp-header
{
    display : none;
}

#toggle-header-menu
{
    display : none;
}

.js-show-map
{
    display : none;
}

.main-header-button-block
{
    position      : relative;
    z-index       : 2;
    text-align    : right;
    margin-top    : -40px;
    margin-bottom : -15px;
    padding-right : 25px;
}

@media all and (max-width : 600px)
{

    .title
    {
        font-size : 18px;
    }
}

@media all and (max-width : 1000px)
{
    body
    {
        margin-top : 44px;
    }

    .main-header-button-block
    {
        margin     : 0;
        padding    : 0 10px;
        text-align : center;
    }

    .row .span12,
    #content,
    #nav_footer,
    .cols .col1,
    .cols .col2
    {
        width : auto !important;
        float : none !important;
    }

    .cols .col1
    {
        margin : 0;
    }

    .cols .col1 img
    {
        max-width : 100%;
    }

    .review-list,
    .photo_album,
    #content > .title,
    ul#breadcrumbs,
    .nav.nav-pills
    {
        margin  : 0;
        padding : 10px;
    }

    .cols.cols_index .col2,
    #nav_footer
    {
        padding : 10px;
    }

    .new-button
    {
        width       : auto !important;
        line-height : normal !important;
        padding     : 5px 10px !important;
        font-size   : 18px !important;
    }

    /*region Common*/
    #toggle-header-menu
    {
        display  : block;
        opacity  : 1;
        width    : 1px;
        height   : 1px;
        position : absolute;
        top      : 0;
        left     : 0;
    }

    .alert
    {
        margin : 0 10px;
    }

    #container
    {
        width : auto;
    }

    [id^="gsInformerID"]
    {
        display : none;
    }

    /*endregion*/
    /*region Логика показывания меню*/
    #toggle-header-menu:not(:checked) ~ #header > .nav
    {
        display : none;
    }

    #toggle-header-menu:checked ~ #header
    {
        box-shadow : 0px -3px 20px 0px black;
    }

    /*endregion*/
    /*region rsp-header*/
    #header > .rsp-header
    {
        display          : flex !important;
        justify-content  : space-between;
        background-color : #f57c00;
        align-items      : center;
    }

    .rsp-header__logo
    {
        line-height : 1;
        color       : white;
        padding     : 5px 10px;
        font-weight : bold;
        font-size   : 16px;
    }

    .rsp-header__burger
    {

        display : block;
        width   : 40px;
        margin  : 0;
    }

    /*endregion*/
    /*region Стили выпадающего меню*/
    #header
    {
        position : fixed;
        top      : 0;
        left     : 0;
        z-index  : 1000;
    }

    #header .social-share,
    #header .logo
    {
        display : none;
    }

    #header .nav.nav.nav
    {
        position : static;
    }

    #header .nav.nav.nav.nav
    {
        border-bottom : 1px solid #e0e0e0;
    }

    #header .nav.nav.nav.nav li
    {
        float : none;
    }

    #header
    {
        height     : auto;
        background : #fafafa;
    }

    #header .nav.nav.nav.nav li + li
    {
        border-left : 1px solid #e0e0e0;
    }

    #header .nav.nav.nav.nav li a,
    #header .nav.nav.nav.nav li
    {
        background : #fafafa !important;
        color      : black;
        padding    : 0 !important;
    }

    #header .nav.nav.nav.nav li.sel a
    {
        background : #fff9bf !important;
        box-shadow : inset 0px 0px 10px 0px rgba(0, 0, 0, .4);
    }

    #header .nav.nav.nav.nav li span,
    #header .nav.nav.nav.nav li a
    {
        color : #2e5ed5 !important;
    }

    #header .nav.nav.nav.nav li a
    {
        padding : 8px 3px !important;
    }

    #header .nav.nav.nav.nav
    {
        display         : flex;
        justify-content : center;
        align-items     : stretch;
    }

    #header .nav.nav.nav.nav li span
    {
        display : inline-block;
    }

    #header .nav.nav.nav.nav li
    {
        height    : auto;
        padding   : 0;
        flex-grow : 1;

    }

    #search
    {
        padding-left  : 15px;
        padding-right : 5px;
    }

    #search .input-xlarge
    {
        width        : 210px;
        margin-right : 7px;
    }

    .search-adv
    {
        padding : 15px !important;
    }

    .bl.news.hor ul.cnt li
    {
        margin-left   : 0;
        margin-bottom : 10px;
    }

    #header .nav.nav.nav.nav li a
    {
        padding    : 15px;
        margin     : 0;
        height     : auto;
        display    : block;
        text-align : center;
        width      : auto;

    }

    .new-button_size_big
    {
        padding       : 12px 20px !important;
        display       : block !important;
        margin-bottom : 10px;
    }

    /*endregion*/
    .table-forum .subject .mark
    {
        display : none;
    }

    .table-forum.table-forum .subject h3,
    .table-forum.table-forum .subject p
    {
        margin : 0;
    }

    .table-forum.table-forum .subject h3
    {
        font-size     : 14px;
        margin-bottom : 5px;
    }

    .table-forum .count:nth-child(n+3)
    {
        display : none;
    }

    .table-forum .subject
    {
        width : 55%;
    }

    #content.notitle .text,
    #content.notitle h1
    {
        padding : 0 10px;
    }

    .form
    {
        padding : 10px;
    }

    .thumbnails
    {
        width   : 320px;
        padding : 0 10px;
    }

    .image_frame img
    {
        max-width  : 100%;
        margin     : 0 !important;
        box-sizing : border-box;
    }

    /*Опасное место*/
    .row
    {
        margin : 0;
    }

    .row [class^="span"], .row [class*=" span"]
    {
        margin : 0;
    }

    .pagination,
    .row .span9 h2,
    .row .span9 .thumbnails + h2
    {
        padding : 0 10px;
    }

    .row .span9,
    .row .span10,
    .row .span3
    {
        width      : 100%;
        box-sizing : border-box;
    }

    .row .span3
    {
        padding : 0 10px;
    }

    .items_list.items_list.photo_album li,
    .items_list.items_list.photo_album
    {
        width      : 100%;
        box-sizing : border-box;
    }

    .search_count,
    .photo_album + p
    {
        padding : 0 10px;
    }

    .js-show-map
    {
        padding       : 0 10px;
        margin-bottom : 10px;
        display       : inline-block;
    }

    .js-show-map
    {
        display : block;
    }

    .js-show-map + .cols-catalog .col1,
    .js-show-map + #map
    {
        display : none;
    }

    .search_list.search_list,
    .history-last-block,
    .history-last-block ul li
    {
        width      : 100%;
        box-sizing : border-box;
    }

    .stamp,
    .article,
    .categories,
    .view,
    .license,
    .view + p,
    #comment_block,
    .history-last-block
    {
        padding : 0 10px;
    }

    .photo_contest_image_panel .frame
    {
        margin-left : 10px;
    }

    .nav_image.nav_image
    {
        float : none;
    }

    .nav-tabs.nav-stacked
    {
        margin-left : 10px;
        width       : 150px;
    }

    .span10 .options,
    .span10 .options .text
    {
        padding : 0;
        margin  : 0;
    }

    .span10.span10.span10 > *
    {
        padding    : 0 10px;
        width      : 100%;
        box-sizing : border-box;
    }

    .thumbnails.thumbnails.thumbnails.thumbnails > li
    {
        float  : left;
        margin : 0 0 18px 20px;
    }

    .table-forum-thread.table-forum-thread .message
    {
        width : 70%;
    }

    .table-forum-thread.table-forum-thread .stat,
    .table-forum-thread.table-forum-thread .text
    {
        padding            : 0;
        width              : 100%;
        -webkit-box-sizing : border-box;
        -moz-box-sizing    : border-box;
        box-sizing         : border-box;
    }

    .nav.nav-pills + .btn,
    #user_panel > p > .label
    {
        margin-left : 10px;
    }

    .items_list.items_list
    {
        padding            : 0 10px;
        -webkit-box-sizing : border-box;
        -moz-box-sizing    : border-box;
        box-sizing         : border-box;
    }

    .nav.nav-pills + h2,
    #user_panel .slogan,
    #review_insert
    {
        padding : 0 10px;
    }

    #album_insert input,
    #update input
    {
        height : auto;
    }

    #forum_reply .container,
    #album_insert .container,
    #album_insert textarea,
    #forum_reply textarea,
    #album_insert input:not([type="checkbox"]),
    #update .container,
    #update textarea,
    #update input:not([type="checkbox"]),
    #review_insert .controls textarea,
    textarea#comment_form_description
    {
        width      : 100% !important;
        box-sizing : border-box;
    }

    #search_form_q
    {
        width : 214px !important;
    }

    .control-rating:not(#review_insert_rating) .rating-bar
    {
        margin-left : 105px;
    }

    .table.table-bordered.table-forum-thread,
    .table.table-bordered.table-forum-thread tbody,
    .table.table-bordered.table-forum-thread tr,
    .table.table-bordered.table-forum-thread td,
    .table.table-bordered.table-forum-thread .stat,
    .table.table-bordered.table-forum-thread .text,
    .table.table-bordered.table-forum-thread .author
    {
        display            : block;
        width              : 100%;
        -webkit-box-sizing : border-box;
        -moz-box-sizing    : border-box;
        box-sizing         : border-box;
        float              : none;
    }

    .table.table-bordered.table-forum-thread .message
    {
        overflow : hidden;
    }

    .table.table-bordered.table-forum-thread .message
    {
        padding-top : 0;
        border-top  : 0;
    }

    .table.table-bordered.table-forum-thread .author
    {
        padding-bottom : 0;
    }

    #reserve_request
    {
        width       : 300px;
        margin-left : -150px;
    }

    #reserve_request .form-horizontal .control-label
    {
        float      : none;
        width      : auto;
        text-align : left;
    }

    #reserve_request .form-horizontal .controls
    {
        margin-left : 0;
    }

    #reserve_request .message,
    #reserve_request .input-xlarge
    {
        width      : 100%;

        box-sizing : border-box;
    }

    #reserve_request
    {
        z-index : 2147483648;
    }

    #reserve_request .control-group
    {
        margin-bottom : 10px;

    }

    #reserve_request .input-xlarge
    {
        height : 28px;
    }

    .modal-body
    {
        max-height : 320px;
        max-height : calc(100vh - 205px);
    }
}

/*region Buttons*/
.new-button
{
    border        : 1px solid #569;
    display       : inline-block;
    font-size     : 32px;
    font-family   : Arial, sans-serif;
    font-weight   : bold;
    color         : #fff;
    line-height   : 55px;
    text-shadow   : 1px 1px 0 rgba(0, 0, 0, .7);
    text-align    : center;
    border-radius : 6px;

}

.new-button_size_big
{
    font-size : 42px;
}

.new-button_grad_1
{
    background : linear-gradient(180deg, #ff0, #ff9b00);
}

.new-button_grad_1:active
{
    background : linear-gradient(180deg, #ff9b00, #ff0);
}

.new-button_grad_2
{
    background : linear-gradient(180deg, #f9cb9c, #ff9a03);
}

.new-button_grad_2:active
{
    background : linear-gradient(180deg, #ff9a03, #f9cb9c);
}

.new-button_grad_3
{
    background : linear-gradient(180deg, #0f0, #37791c);
}

.new-button_grad_3:active
{
    background : linear-gradient(180deg, #37791c, #0f0);
}

.new-buttons_flat
{
    background-color : #f36a36;
    line-height      : 81px;
    font-size        : 24px;
    text-shadow      : none;
    border           : none;
    font-weight      : normal;
}

/*endregion*/

.burger
{
    background : white;
    display    : block;
    height     : 2px;
    width      : 100%;
}

.burger-menu
{
    cursor        : pointer;
    border-top    : 2px solid white;
    border-bottom : 2px solid white;
    display       : flex;
    align-items   : center;
    margin        : 8px;
    height        : 14px;
    width         : 26px;

}