/* spoiler */
.spoiler_wrapper {
    width: 100%;
    float: left;
    border-bottom: 1px solid #D6D3D1;
    margin: 0 0 25px;
}
.spoiler_block {
    box-sizing: border-box;
    margin: 0 0 5px;
    width: 100%;
}
.spoiler_header {
    color: #0284C7;
    margin: 0 0 10px;
}
.spoiler_trigger {
    cursor: pointer;
}
.spoiler_trigger img {
    margin: 0 0 -3px;
}
.spoiler_content {
    padding: 0 0 10px;
    display: none;
}
.spoiler_content ul,
.spoiler_content ol {
    padding: 0 0 0 20px;
}
.spoiler_content p,
.spoiler_content li {
    margin: 0 0 8px;
}

.spoiler_block_closed_content {
    display: flex;
    flex-wrap: wrap;
}

/* menu_lvl2 */
.menu_lvl2 {
    float: left;
    width: 100%;
    padding: 0 0 8px;
    margin: 0 0 20px;
    border-bottom: 1px solid #D6D3D1;
}
.menu_lvl2 div {

}
.menu_lvl2 .l {
    margin: 0 20px 12px 0;
    float: left;
    height: 22px;
}
.menu_lvl2 .l:last-child {
    margin: 0;
}
.menu_lvl2 .r {
    float: right;
}
.menu_lvl2 .link {
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
}
.menu_lvl2 .s {
    padding: 0 22px 0 0;
}
.menu_lvl2 .s:after {
    background-position: 100% 2px;
    background-image: url(/template/v4/images/search_icon_20_20.png);
    background-repeat: no-repeat;
    content: "----";
    color: transparent;
}
.menu_lvl2 .forum_q {
    margin-top: -5px!important;
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    background-color: #A3E635;
    border-radius: 10px;
    height: auto;
    padding: 6px 12px;
    box-shadow: 0px 6px 6px 0px #0000001A;
}
.menu_lvl2 .forum_q a {
    color:  #000!important;
    border-bottom: 0!important;
}
.menu_lvl2 .link a {
    color: #A8A29E;
    border-bottom: 4px solid #A8A29E;
}
.menu_lvl2 .curr a {
    color: black;
    border-color: black;
}
.menu_lvl2 .link a:hover,
.menu_lvl2 .curr a:hover {
    color: #B91C1C;
    border-color: #B91C1C;
}

.sort_menu{
    border: 1px solid #D6D3D1;
    padding: 5px 20px 15px;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px;
    float: left;
}
.sort_menu_title{
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    margin: 10px 0 0;
}
.sort_menu_buttons_div{
    display: flex;
    flex-wrap: wrap;
    margin: 5px 10px 0 0;
    font-size: 14px;
}
.sort_menu_button{
    background: #F5F5F4;
    border: 1px solid #A8A29E;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    padding: 3px 15px;
    display: block;
    text-decoration: none;
    color: #A7A9AC;
    cursor: pointer;
    margin: 0 5px 0 0;
}
.sort_menu_button:hover{
    background: #F6F5F4;
    color: black;
}
.sort_menu_button_active, .sort_menu_button_active:hover{
    border-color: #764696;
    background: #764696;
    color: #FFFFFF;
}
.sort_menu_year_select_div{
    width: 151px;
}
.sort_menu input[type=date] {
    background: url(/template/images/calendar_icon.png) no-repeat scroll 105px 5px;
    padding: 5px 26px 4px 4px;
    border: 1px solid #6B21A8;
    box-sizing: border-box;
    width: 130px;
}

.custom-select {
    position: relative;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background: #764696;
    border: 1px solid #C4C4C4;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    color: white;
    padding: 3px 15px;
    cursor: pointer;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: white transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent black transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    line-height: 22px;
    color: black;
}
.select-items div:hover {
    color: #D2232A;
}

/* Style items (options): */
.select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: #FFFFFF;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div.same-as-selected {
    /*color: black;*/
    font-weight: bold;
}

/* 1024 */
@media screen and (max-width: 1024px) {
    .menu_lvl2 .l,
    .menu_lvl2 .r {
        display: block;
        width: 100%;
        margin: 0 0 20px;
    }
}