/* обертка для сортировки */
.sorting_head{margin-bottom: 10px;}
.book_ratings_sorting{padding:0 0 11px 0;margin:11px 0 0 0;border-top:1px solid #E0E0E0;}
.sort_max{padding-right:154px;}
.sorting_menu_right .sorting_block:last-child {margin-left: 18px;}

/* выпадающее меню */
.sorting-block{position: relative;display: inline-block;}
.sorting-block:not(:last-child){margin-right: 20px;}

/* наводим на блок */
.sorting-block_dropdown:hover .sorting-block__title{color: #FF4C00;}

/* верхняя часть выпадающего меню (заголовок и подзаголовок) - без выпадающего списка */
.sorting-block__top{padding: 9px 0;}

/* заголовок выпадающего меню */
.sorting-block__title{font-size: 16px;line-height: 20px;text-decoration: none;}
.sorting-block__title-link{color: inherit;text-decoration: none;}

    /* дропдаун скрыт */
    .sorting-block_dropdown[data-is-open="false"] .sorting-block__subtitle{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

/* выпадающее меню */
.sorting-block__dropdown{display: none;position: absolute;left: 0;min-width: 100%;top: 100%;background: #fff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 5px 10px 0 rgba(0,0,0,0.1);z-index: 9996; border-radius:3px;}
.sorting-block__dropdown:before{content: "";position: absolute;width: 0;height: 0;margin-left: -0.5px;top: 0;left: 50%;box-sizing: border-box;border: 4px solid black;border-color: #fff #fff transparent transparent;transform-origin: 0 0;transform: rotate(-45deg);box-shadow: 0 -1px 0 0 rgba(0,0,0,0.1),1px 0px 0 0 rgba(0,0,0,0.1);}
.sorting-block_dropdown .sorting-block__top{cursor: pointer;position: relative;}
.sorting-block_dropdown .sorting-block__title{padding-right: 24px;}
.sorting-block_dropdown .sorting-block__top:after{position: absolute;content: "";background: url(/static/litres/modules/sorting/img/icon-down.svg) 0 center no-repeat;width: 14px;height: 8px;right: 2px;top: 50%;margin-top: -4px;}

.sorting-block_dropdown[data-is-open="true"] .sorting-block__top:after{transform: scaleY(-1);}
.sorting-block__list{padding: 10px 0;}

/* граница между элементами в выпадающем меню */
.sorting-block__list:not(:last-of-type){border-bottom: 1px solid #C4C4C6;}

/* каждый элемент с заглавной буквы */
.sorting-block__list_capitalize .sorting-block__item:first-letter{text-transform: capitalize;}

/* элемент списка */
.sorting-block__item{padding: 10px 20px;position: relative;white-space: nowrap;}
.sorting-block__item:hover{background: #F5F5F5;}

.sorting-block__item:hover .authicon.text:before{background-image: url(/static/litres/modules/sorting/img/types/icon-read_hover.svg);}
.sorting-block__item:hover .authicon.audio:before{background-image: url(/static/litres/modules/sorting/img/types/icon-listen_hover.svg);}
.sorting-block__item:hover .authicon.hardcopy:before{background-image: url(/static/litres/modules/sorting/img/types/icon-hardcopy_hover.svg);}


/* ссылка в списке */
.sorting-block__link{font-size: 16px;line-height: 20px;color: #3B393F;text-decoration: none;}
.sorting-block__item:hover .sorting-block__link{color: #000;}

/* активная ссылка */
.sorting-block__item{cursor: pointer;}
.sorting-block__item.active .sorting-block__link{font-weight: bold;color: #000;}
.sorting-block__item.active{cursor: default;}
.sorting-block__item.active:after{content: "";display: inline-block;background: url(/static/litres/modules/sorting/img/icon-check.svg) 0 0 no-repeat;width: 12px;height: 10px;position: absolute;left: 19px;top: 50%;margin-top: -5px;}

/* серый фон в списке */
.sorting-block__item_gray{background: #F5F5F5;}

/* элемент списка без отступов */
.sorting-block__item_nopad{padding: 0;}

/* кнопка в жанрах вверх на уровень */
.sorting-block__item_uplevel{font-size: 14px;line-height: 18px;font-weight: bold;color: #3B393F;display: inline-block;margin: 3px 0 3px 20px;position: relative;}
.sorting-block__item_uplevel-genre{font-weight: normal;}
.sorting-block__item_uplevel:before{background: url(/static/litres/modules/sorting/img/icon-uplevel.svg) 0 0 no-repeat;content: "";display: inline-block;width: 12px;height: 14px;margin-right: 7px;position: absolute;right: 100%;top: 1px;}

/* отступ в списках слева для иконок */
.sorting-block__list_padding .sorting-block__item{padding-left: 40px;}

/* таблица внутри списка для отображения значения справа */
.sorting-block__table{display: table;width: 100%;}
.sorting-block__left{width: 100%;display: table-cell;}
.sorting-block__right{display: table-cell;width: 1%;white-space: nowrap;color: #C4C4C6;font-size: 16px;line-height: 20px; min-width:30px; text-align:right;}

/* иконка типа */
.authicon {display: inline-block;vertical-align: middle; margin-bottom: -2px;}
.sorting-block__item .authicon{margin-right: 14px;width: 16px;}
.sorting-block__item .podcast{margin:0 16px 0 -2px;}
.sorting-block__item .hardcopy{margin:0 13px 0 1px;}
.authicon.text {padding-top: 2px;}
.authicon_text {display: inline-block;vertical-align: middle;}


/* иконка флага */
.sorting-block__item .book-lang{display: inline-block;margin-right: 10px;vertical-align: middle;}
.sorting-block__item .book-lang:before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    vertical-align: baseline;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    background-size: cover
}


.sorting_head:after {clear: both; display: table; content: "";}
.sorting_head .sorting_block {position: relative;}
.sorting_menu_left {float: left;}
.sorting_menu_left .sorting_block{margin-right:22px; font-size:14px;}
.sorting_menu_right {float: right; font-size: 0;}
.sorting_menu_right .sorting-block__dropdown {left: inherit; right: 0;}
.sorting_head .sorting_head_block {display: inline-block;}
.sorting_head .choise_submenu{font-size: 0; display: inline-block;}
.sorting_type .choise_submenu li > a {color: #000; text-decoration: none; display: block;line-height: 18px;}
.sorting_type .choise_submenu li > a:hover {text-decoration: underline;}
.sorting_title {display: inline-block; position: relative;}
.sorting_block .sorting_title_dropdown{padding-right: 24px;cursor: pointer;}
.sorting_block .sorting_title_dropdown:after {background-image: url(/static/litres/i/pages/person_by_default/icons-author-list.svg);
    background-position: 0px -60px; content: ""; width: 12px; height: 7px; position: absolute; bottom: 4px;margin-left: 6px;}
.sorting_block_opened .sorting_title_dropdown:after {transform: scale(1, -1);}
.sorting_title.no_selected:after {background-position: -60px -60px;}
.sorting_title_dropdown:hover {color: #FF4C00;}
.sorting_title_dropdown:hover:after {background-position: -30px -60px;}
.sorting_block .choise_submenu {font-size: 0; margin: 0; border: 1px solid #C9C9CA; position: absolute; top: 28px;
    left: -15px; display: none; z-index: 13;}
.sorting_block .choise_submenu_lang{width: 180px;}
.sorting_block .choise_submenu li {position: relative; font-size: 12px; background: #fff;
    border-bottom: 1px solid #C9C9CA;}
.sorting_block .choise_submenu li:last-child {border: none;}
.sorting_block .choise_submenu li:hover {background: #EBEBEB;}
.sorting_block .choise_submenu li a {text-decoration: none; color: #767579; display: block; padding: 0 7px;line-height: 33px;}
.sorting_block .choise_submenu li a.active, .sorting_head_block li a.active {font-weight: bold;}
.sorting_block .sorting_title {font-size: 14px;line-height: 18px;}
.sorting_block a.active, .sorting_block .choise_submenu li a:hover {color: #FF4C00;}
.sorting_block .choise_submenu li a:hover .sorting_lang_item_count{color: #FF4C00;}
.sorting_block .choise_submenu_format,.sorting_block .choise_submenu_lang{width: 192px;}
.sorting_period .sorting_title_active{font-weight:bold;}
.sorting_block .choise_submenu_period{white-space: nowrap;}

/* languages */
.sorting_lang_imgwrap{display:inline-block;width:19px;height:13px;position:relative;margin-right:6px;vertical-align:middle;}
.sorting_lang_img:before,.sorting_lang_img:after,.sorting_lang_imgwrap:before,.sorting_lang_imgwrap:after{content:'';position:absolute;background:#000;opacity:0.15;}
.sorting_lang_img:before,.sorting_lang_img:after{width:100%;height:1px;left:0;}
.book-lang:before{display:block;width:19px;height:13px;}
.sorting_lang_img:after{bottom:0;}
.sorting_lang_imgwrap:before{top:0;}
.sorting_lang_imgwrap:after{bottom:0;}
.sorting_lang_imgwrap:before,.sorting_lang_imgwrap:after{bottom:1px;width:1px;top:1px;}
.sorting_lang_imgwrap:before{left:0;}
.sorting_lang_imgwrap:after{right:0;}
.sorting_lang_item_count{color:#ABABAC;}

/* icons top menu */
.sorting_format .authicon{margin-left: -2px;margin-right: 6px;margin-bottom: -3px;height: 15px;width: 15px;}

.sorting_type {font-size: 14px;}
.sorting_type li {display: inline-block;font-size: 14px;margin-right: 20px;}

/* список жанров */
.genres_list{line-height:26px;display:inline-block;}
.genres_list__genre{text-decoration:none;font-size:16px;color:#444444;margin-right:27px;}
.genres_list p{display:inline-block;}
.genres_list p:first-letter{text-transform:capitalize;}

@media screen and (min-width:1280px){ /* 1024+ */
	.show-1024 {display:none !important;}
}

.sorting_tabbed_wrapper .sorting-block__item.sorting_lang_item .sorting-block__link {padding-right: 6px;}

.genres-popup {margin-top: 10px; max-width: 1540px; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 5px 10px 0 rgba(0,0,0,0.1); position: absolute; background: #ffffff; overflow: hidden; z-index: 100;}
.genres-popup .close {position: absolute; width: 14px; height: 14px; top: 20px; right: 20px; background: url(/static/litres/i/header/menu/close.svg); cursor: pointer;}
.genres-popup .close:hover {background: url(/static/litres/i/header/menu/close_hover.svg);}
.genres-popup li {padding: 0;}
.genres-popup .header-popup__inner .bubble_allgenres {display: none;}
.genres-popup .header-popup__inner .bubble_genres {padding-bottom: 0;}
.genres-popup .genres_more, .genres-popup .subgenres_more {cursor: pointer;}
.genres-popup .bubble_genres {padding: 0;}
.genres-popup .popup-inner {padding: 30px 30px 60px 80px;}
.genres-popup .subgenre_bubble_head {display: inline-block;}
.genres-popup .subgenre_bubble_head:first-letter {text-transform: capitalize;}
.genres-popup .subgenre_bubble_list a {display: inline-block;}
.genres-popup .subgenre_bubble_list a:first-letter {text-transform: capitalize;}
.genres-popup .subgenre_allbooks {text-decoration: none;}
.genres-popup .bubble_subgenres {display: block; padding: 0;}
.genres-popup.loading-mode {height: 500px; background: url('/static/litres/i/pages/homepage/arts_loader.gif') no-repeat center center #ffffff;}
.genres-popup.loading-mode .popup-inner {display: none;}
.tabs-genres-popup {cursor: pointer;}
.genres-popup .subgenre_bubble_list .subgenres_more {margin-left: 6px;}