/* [81027] header */
.litres_header [data-header_open="user"],
.litres_header .no_info [data-header_open="user"],
.litres_header [data-header_open="mybooks"] {width: auto;}
div#main-div.page-wrap-with_new_header {padding-top: 110px;}
.litres_header {position: fixed; top: 0; left: 0; min-width: 980px; z-index: 9997; width: 100%; background: #fff;}
.header_main {max-width: 1600px; min-width: 1000px; margin: auto; padding: 15px 30px;display: flex;}
.litres_header * {box-sizing: border-box;}
/* logo */
.header_logo {width: 140px; flex-shrink: 0;}
.litres_header_logo {width: 111px; margin-right: 24px; display: inline-block; vertical-align: bottom; background: url(/static/litres/i/header/menu/logo_home.svg) 0 0 no-repeat; background-size: contain; height: 39px; font-size: 0;}
.litres_school_logo {background-image: url(/static/litres/i/header/logo_school.svg); background-position: center;}

/* search and user */
.search_and_login {flex-grow: 1;}
.search_and_login_inner {display: flex;}
.search_and_login_inner .header_user {max-width: 300px; position: relative; min-width: 203px;}
.search_and_login_inner .user_wrapper {color: #3B393F; text-decoration: none; white-space: nowrap; display: flex; align-items: center;}
.user_wrapper .user-logo-wrapper{width: 40px;height: 40px;margin-right: 10px;position: relative;}
.user_wrapper .user-logo-wrapper_newyear:before{position: absolute;content: "";background: url(/static/litres/i/header/newyear_avatar.svg) 0 0 no-repeat;width: 49px;height: 29px;left: -24px;top: -9px;}
.user_wrapper .user_logo {display: inline-block; vertical-align: middle; width: 40px; height: 40px; border-radius: 50%; overflow: hidden;}
.user_wrapper .user_logo img {height: 40px; width: 40px;}
.user_avatar_dummy {display: block; width: 40px; height: 40px; background: url(/static/litres/i/header/header_sprite.png) no-repeat 0px -60px; background-image: url(/static/litres/i/header/header_sprite.svg); padding-top: 1px;}
.user_wrapper .user_container {max-width: 80%; max-width: calc(100% - 50px); text-overflow: ellipsis; overflow: hidden; line-height: 18px;}
.user_wrapper .user_container:hover {color: #000;}
.user_container .user_name {font-size: 16px; line-height: 20px; display: block; font-weight: bold; overflow: hidden; text-overflow: ellipsis;}
.user_container .user_cash {font-size: 14px; line-height: 16px; margin-top: 3px; display: block;}
.header_search {position: relative; width: 100%; padding-right: 50px;}
.search_and_login .searchbutn {float: right; height: 40px; width: 90px; font-size: 14px; line-height: 16px; position: relative; border-radius:0 3px 3px 0;}
.header_search_form {min-width: 345px;}
.search_and_login .searchbutn > span {position: relative; left: 1px;}
.search_and_login #q-cell {margin-right: 90px;}
.search_and_login #q::placeholder {font-size: 16px;}
.search_and_login #q::-ms-input-placeholder {font-size: 16px;}
.search_and_login #q:-ms-input-placeholder {font-size: 16px;}
.search_and_login #q::-webkit-input-placeholder {font-size: 16px;}
.search_and_login #q {letter-spacing: -0.04px; line-height: 18px; height: 40px; width: 100%; font-size: 16px; padding-left: 9px; border-right: none; border-radius:3px 0 0 3px;}
.search_and_login #q:focus {border-right: none;}
.header_info {position: relative;display: flex;flex-shrink: 0;justify-content:flex-end;width: 220px;}
.header_popup_link {position: relative; cursor: pointer;}
.header_popup_link > a {display: block; width: 100%; height: 100%;}
.header_popup_link[data-header_open="library"].disabled, .header_popup_link[data-header_open="library"].disabled a{cursor:default; background-color:#0B740B;}
.user_link {padding-right: 25px;}
.header_info .user_info {position: relative; width: 60px; text-align: right;}
.header_popup_link .popup_link_sticker {display: block; text-align: center; height: 24px; width: 24px;	border: 2px solid #FFF; background-color: #FF4C00; color: #fff; font-size: 12px; line-height: 20px; border-radius: 50%; position: absolute; top: -13px; right: -13px;}
.header_popup_link .popup_link_sticker_limit:after{content: "+";display: inline;}
[data-header_open="info"] .popup_link_sticker {display: none;}
.user_action {margin-left: 27px;}

/* my books button */
.user_action_button {line-height: 40px; height: 40px; font-size: 14px; position: relative;}
.user_action_button.user_books .btn__content:after {content: ""; background: url(/static/litres/i/header/header_sprite.png) no-repeat -170px -60px; background-image: url(/static/litres/i/header/header_sprite.svg); display: block; left: 15px; top: 12px; height: 17px; width: 20px; position: absolute;}
.user_action_button.user_books * {box-sizing: border-box;}
.user_action_button.user_books .btn_user-books {display: table; table-layout: fixed;height: 100%;}
.user_action_button.user_books .btn__wrapper {display: table-row;height: 100%;}
.user_action_button.user_books .btn__content {display: table-cell; height: 100%;padding-left: 42px; text-align: left; vertical-align: top;white-space: nowrap;padding-right: 12px;}
.user_action_button.user_books .btn__dropdown {display: table-cell; height: 100%;border-left: 1px solid #3EA73E;}
.user_action_button.user_books .icon-container {width: 40px; height: 100%;background: url(/static/litres/i/header/my_books_arrow_down.svg) no-repeat center;}
.litres_header_slim .user_action_button.user_books .icon-container {width: 28px; transform: scale(.9);}
.litres_header_slim [data-header_open="my_books"].active  .user_action_button.user_books .icon-container {transform: scale(.9) rotate(180deg);}
[data-header_open="my_books"].active .icon-container {transform: rotate(180deg);}
.user_action_button.user_books .arrow {display: inline-block;position: relative; top: -1px; left: -1px;}
.user_action_button.user_books {background: transparent;}
.user_action_button.user_books:hover {background-color: transparent;}
.user_action_button .btn__content {background-color: #0e920e; transition: background-color 0.3s ease 0s; border-radius:3px 0 0 3px;}
.user_action_button .btn__content:hover {background-color: #0b750b;}
.user_action_button .btn__dropdown {background-color: #0e920e;transition: background-color 0.3s ease 0s; border-radius:0 3px 3px 0;}
.user_action_button .btn__dropdown:hover {background-color: #0b750b;}
.user_books .popup_link_sticker {top: -12px; right: -12px;}
.user_info_icon {display: inline-block; height: 33px; width: 28px; background: url(/static/litres/i/header/header_sprite.png) no-repeat -70px -60px; background-image: url(/static/litres/i/header/header_sprite.svg); top: 2px;}
.user_info_icon:hover {background-position: -98px -60px;}
.user_info_icon .popup_link_sticker {top: -14px; right: -9px;}
.search_and_login .logo_library {display: table-cell; padding-right: 20px;}
.search_and_login .logo_library_inner {height: 70px; overflow: hidden; margin: -15px 0;}
.search_and_login .logo_library img {display: block; margin: -1px 0;}

/* header popups */
[data-header_popup] {margin-top: 9px; z-index: 9999;}
.header-popup * {box-sizing: border-box;}
.header-popup {position: absolute; top: 100%; left: 50%; background: #fff; color: #202020; text-align: left; width: 100%; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 5px 10px 0 rgba(0, 0, 0, 0.1); border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out;}
.header-popup.open {opacity: 1; pointer-events: auto;}
.header-popup__arrow-outer {border-color: transparent; border-style: dashed dashed solid; border-width: 0 7px 7px; position: absolute; z-index: 1; height: 0; width: 0; border-bottom-color: #ccc; border-bottom-color: rgba(0,0,0,.4); top: -7px; background: none;}
.header-popup__arrow-inner {border-color: transparent; border-bottom-color: #fff; border-style: dashed dashed solid; border-width: 0 7px 7px; position: absolute; top: -7px; z-index: 1; height: 0; width: 0;}
.header-popup__arrow-outer {border-color: transparent; border-style: dashed dashed solid; border-width: 0 7px 7px; position: absolute; z-index: 1; height: 0; width: 0; border-bottom-color: #ccc; border-bottom-color: rgba(0,0,0,.4); top: -7px; background: none;}
.header-popup__arrow-inner {border-color: transparent; border-bottom-color: #fff; border-style: dashed dashed solid; border-width: 0 7px 7px; position: absolute; top: -7px; z-index: 1; height: 0; width: 0;}
.header-popup[data-header_popup="user"] {width: 280px; margin-left: -140px;}
.popup-user__cash-header {font-weight: bold; line-height: 18px; margin-bottom: 10px;}
.popup-user__cash {padding: 20px 20px 10px 20px;}
.popup-user__cash-summ {font-size: 24px; line-height: 28px; display: inline-block;}
.popup-user__bonus-summ {white-space: nowrap;display: inline-block;}
.popup-user__bonus-question {height: 20px; width: 20px; background-color: #EBEBEB; color: #0E920E; font-size: 12px; font-weight: bold; line-height: 20px; border-radius: 50%; display: inline-block; text-decoration: none; vertical-align: middle; margin-left: 9px;}
.popup-user__bonus-question-span {position: relative; left: 6px;}
.popup-user__cash-button__button {height: 40px; width: 120px; border: 2px solid #FF4C00; text-transform: uppercase; font-size: 14px; font-weight: bold; padding: 0 15px; line-height: 36px; color: #FF4C00; background-image: none;}
.popup-user__cash-button__button:hover {color: #fff; background: #FF4C00;}
.popup-user__cash-money {margin-bottom: 5px;}
.popup-user__menu .popup-user__menu-item:last-child {margin-bottom: 10px;}
.popup-user__menu .popup-user__menu-item:first-child {margin-bottom: 0;}
.popup-user__menu-item {padding: 0; line-height: 24px;}
.popup-user__menu-item a {font-size: 16px; color: #3B393F; text-decoration: none; padding: 8px 20px; display: block}
.popup-user__menu-item:hover a {color: #000; background-color: #F5F5F5;}
.popup-user__menu-exit a {position: relative;}
.popup-user__menu-exit a:after {background: url(/static/litres/i/header/popup/exit.svg); height: 16px; width: 24px; display: inline-block; content: ''; margin-bottom: -2px;margin-left: 13px;}
.header-popup[data-header_popup="info"] {width: 360px; margin-left: -165px;}
.header-popup[data-header_popup="info"].loading .header-popup__inner::before {display: block; height: 100%; content: ''; background: url(/static/litres/i/popup/ajax_progress.gif) #fff center center no-repeat; width: 100%; top: 0; left: 0; z-index: 1; position: absolute;}
.header-popup[data-header_popup="info"].loading .popup-info {display: none;}
.header-popup[data-header_popup="info"] .scrollbar {height: 460px; overflow: hidden;}
.header-popup[data-header_popup="info"] .scrollwrapper{border-radius:0 0 3px 3px;}
.header-popup[data-header_popup="info"] .scrollwrapper .scrollareaY,
.header-popup[data-header_popup="info"] .scrollwrapper .scrollareaX {z-index: 2;}
.popup-info.popup-info-unreg {padding: 15px; border-bottom: 1px solid #c0c0c0;}
.popup-info__text-header {font-size: 16px; font-weight: bold; line-height: 18px;}
.popup-info__text-header_big {font-size: 20px; line-height: 25px; font-weight: normal; padding: 17px 4px 22px 4px;}
.popup-info__text-header_gray {color: #767579; font-weight: normal; font-size: 16px; line-height: 18px;}
.popup-info__text-list {margin: 10px 0 12px 0;}
.popup-info__text-list li {margin-bottom: 10px; padding: 0 0 0 19px; position: relative; line-height: 16px;}
.popup-info__text-list li:last-child {margin: 0;}
.popup-info__text-list li:before {content: ''; display: block; position: absolute; left: 0; top: 2px; height: 10px; width: 8px; background: url(/static/litres/i/header/popup/bookmark_dot.svg)}
.popup-info__text-links {position: relative; height: 13px; line-height: 16px;}
.popup-info__text-links a {text-decoration: none; color: #106EDC;}
.popup-info__links-reg {position: absolute; left: 0; top: 0;}
.popup-info__links-enter {position: absolute; right: 0; top: 0;}
.coolbtn u, .coolbtn s {display: none;}
.header-popup[data-header_popup="genres"] {max-width: 1600px; min-width: 940px; z-index: 9996; border-radius: 0 0 3px 3px; width: 100%; left: 0; position: fixed; margin: 0;}
.header-popup[data-header_popup="genres"] .close {position: absolute; width: 14px; height: 14px; top: 20px; right: 20px; background: url(/static/litres/i/header/menu/close.svg); cursor: pointer;}
.header-popup[data-header_popup="genres"] .close:hover {background: url(/static/litres/i/header/menu/close_hover.svg);}
.header-popup[data-header_popup="genres"] li {padding: 0;}
.header-popup[data-header_popup="login"] {margin-left: -165px;}
.biblio_unreg .header-popup[data-header_popup="login"] {margin-left: 0; left: auto; right: 0;}
.bubble_genres {padding: 30px 30px 50px 30px; -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; columns: 4;}
.bubble_subgenres {display:none; padding: 30px 30px 60px 80px;}
.bubble_genres a , .bubble_subgenres a {text-decoration: none; outline: none;}
.bubble_genres a {display: inline-block;}
.bubble_subgenres a {display: inline;}
.bubble_genres a:first-letter, .bubble_subgenres a:first-letter {text-transform: uppercase;}
.bubble_genres a:hover, .bubble_subgenres a:hover{color:#FF4C14;}
.bubble_genre {display: inline-block; vertical-align: top; width: 100%; padding-right: 30px; width: 100%;}
.bubble_head {margin: -1px 0 7px 0; font-size: 16px; color: #000000; font-weight: bold;}
.bubble_list {margin-bottom: 30px;}
.bubble_list a {color: #3B393F; font-size: 14px; line-height: 20px;}
.bubble_list .genres_more {color: #9D9C9F; text-decoration: underline; text-decoration-style: dotted;}
.bubble_allgenres {background: #F5F5F5; position: absolute; bottom: 0; left: 0; right: 0; text-align: center; border-radius:0 0 3px 3px;}
.bubble_allgenres a {line-height: 50px; text-decoration: none; display: inline-block; position: relative; padding-right: 22px;}
.subgenre_allbooks {position: relative; padding-right: 22px; line-height: 14px;}
.bubble_allgenres a:before, .subgenre_allbooks:before{content: ''; position: absolute; width: 8px; height: 14px; top: 2px; right: 5px; background: url(/static/litres/i/header/menu/all_arrow.svg) center center;}
.bubble_allgenres a:hover:before, .subgenre_allbooks:hover:before {background: url(/static/litres/i/header/menu/all_arrow_hover.svg) center center;}
.bubble_allgenres a:before {top: 18px;}
.subgenre_bubble_head_wrapper{padding: 2px 0 19px 0;}
.subgenre_bubble_head {display: inline; color: #000; font-size: 24px; font-weight: bold; padding-right: 15px;}
.subgenre_bubble_list_wrapper{white-space: nowrap; display: table;}
.subgenre_bubble_list {display: table-cell; vertical-align: top;}
.subgenre_bubble_list {padding-right: 40px;}
.subgenre_bubble_list li {white-space: nowrap;}
.subgenre_bubble_list li:last-child {padding-bottom: 12px;}
.subgenre_bubble_list a {color: #3B393F; font-size: 16px; line-height: 30px;}
.subgenre_bubble_list .subgenres_more {color: #9D9C9F; text-decoration: underline; text-decoration-style: dotted; margin-left: 2px; font-size: 14px;}
.bubble_back {display: none; position:absolute; height: 31px; width: 31px; top: 30px; left: 28px; border: 1px solid #C4C4C6; background: url(/static/litres/i/header/menu/back.svg) center center no-repeat; cursor: pointer;}
.bubble_back:hover {background-image: url(/static/litres/i/header/menu/back_hover.svg);}
.bubble_subgenres .scrollwrapper:after{content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 40px;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 3%, rgba(255,255,255,1) 52%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,1) 52%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,1) 52%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}
.bubble_subgenres .scrollarea {right: auto; top: auto; bottom: auto; width: auto;}
.bubble_subgenres .scrollareaX {left:0; right:0; bottom:0; height:6px; background:#e4e4e2; z-index: 1;}
.bubble_subgenres .scrollareaX .scroller {right: auto; height: 100%;}
.header-popup__overlay {position: fixed; background: rgba(0, 0, 0, 0.6); top: 0; left: 0; width: 100%; height: 100%; z-index: 9998; display: none;}
.header-popup__overlay.open {display: block;}

/*[174754] В меню, подсветить Еще и Черновики */
.marker__point .header_menu_fake_link:after,
.header_menu_item_submenu .marker__point .header_menu_item_link:after{content: ""; box-sizing: border-box;	height:7px; width:7px; border-radius:50%; background:#ff4c00; display:inline-block; margin-left:3px; margin-bottom:8px;}

/* menu */
.header_menu {background: #EFEEE9; height: 35px; clear: both;}
.header_menu a {text-decoration: none;}
.header_menu_inner {max-width:1600px; min-width:1000px; margin: auto; padding: 0px 30px; line-height: 35px;}
.header_nav .header_menu_item {display: block; float: left; padding: 0;}
.header_nav.right_nav {float: right; text-align: right;}
.header_nav.right_nav .header_menu_item.hover {color: #FF4C00;}
.header_nav.left_nav {margin-right: 100px;}
.header_nav.left_nav > .header_menu_item {margin-right:20px; padding: 0;}
.header_nav.left_nav > .header_menu_item:last-child{margin-right:0 !important;}
.header_nav.left_nav .header_menu_item.hover {color: #000;}
.header_nav.left_nav .header_menu_item[data-goal="mobileapplitres"]:last-child {margin-right: 0;float: none;}
.header_nav.left_nav .header_menu_item[data-goal="mobileapplitres"]:last-child a {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.header_menu .header_menu_item a,
.header_menu_item_w_submenu span, .header_menu .header_menu_item .header_menu_item_link {color: #3B393F; font-size: 16px; line-height: 35px; display: block; cursor: pointer;}
.header_menu .promo-code-link a {color: #FF4C13;}
.header_menu .header_menu_item a:hover,
.header_menu_item_w_submenu span:hover {color: #000;}
.header_menu .promo-code-link a:hover {color: #eb3b00;}
[data-header_open="genres"] a {padding-right: 22px; position: relative;}
[data-header_open="genres"] a:after {content: ''; position: absolute; width: 14px; height: 8px; top: 14px; right: 1px; background: url(/static/litres/i/header/menu/arrow_down.svg);}
[data-header_open="genres"] a:hover:after {background: url(/static/litres/i/header/menu/arrow_down_hover.svg);}
[data-header_open="genres"].active a:after {background: url(/static/litres/i/header/menu/arrow_up.svg);}
[data-header_open="genres"].active a:hover:after {background: url(/static/litres/i/header/menu/arrow_up_hover.svg);}
[data-header_open="genres"] > .discount_static_genres{top:185px;}
[data-header_open="genres"] > ul{position:fixed; display:none; top:105px; left:0; width:100%; background:#fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.4), 0 5px 10px 0 rgba(0,0,0,0.1);}
[data-header_open="genres"]:hover > ul{display:block;}
[data-header_open="genres"] ul a:hover{color:#ff4c14 !important;}
[data-header_open="genres"] ul a:after{display:none;}
[data-header_open="genres"] ul .bubble_head a{line-height:normal;}
[data-header_open="genres"] ul .bubble_list a{color:#3b393f; font-size:14px; line-height:20px;}
[data-header_open="genres"] ul .bubble_allgenres a{line-height:50px; text-decoration:none; display:inline-block; position:relative; padding-right:22px; color:#106edc;}
.bubble_genres.new-container {max-width:1600px; min-width:1000px; margin:auto;}

.header_nav.left_nav .header_menu_item.hover > a, .header_nav.left_nav .header_menu_item.hover > a:hover{color: #FF4C00;}
#header_menu_item_more {display: none;}
.header_nav .header-popup {top: 25px;}
.header-popup[data-header_popup="menu-more"] {width: 270px; border-radius:0 0 3px 3px; margin-left: -135px;}
.header-popup[data-header_popup="menu-company"] {width: 190px; left: auto; right: 0; border-radius:0 0 3px 3px;}
.header-popup[data-header_popup="menu-company"] {width: 190px; border-radius:0 0 3px 3px;}
.header-popup[data-header_popup="menu-company"] .header_menu_item_submenu {border-bottom: 1px solid #EBEBEB;}
.header_menu_item_submenu .header_menu_item {position: relative; padding: 0; float: none;}
.header_menu_item_submenu .header_menu_item a {padding: 0 15px; display: block; color: #3B393F; text-decoration: none; font-size: 16px; line-height: 40px;}
.header_menu_item_submenu .header_menu_item a:hover {background: #F5F5F5; color: #000;}
.header_menu_item_submenu .header_menu_item a:last-child:hover{border-radius:0 0 3px 3px;}
.header_menu_item__on_sale_soon:after {content: ''; display: block; position: absolute; height: 16px; width: 23px; right: 20px; top: 8px; background: url(/static/litres/i/header/label_on_sale.svg);}
[data-header_open="menu-more"].active a {color: #FF4C14;}
[data-header_open="menu-more"] > ul .header-popup__arrow{left:125px;}
[data-header_open="menu-more"]:hover > ul{display:block;}
[data-header_open="menu-more"] .header_menu_item_submenu{left:-117px; width:270px;}
[data-header_open="menu-company"] > .header_menu_item_link {padding-right: 22px; position: relative;}
[data-header_open="menu-company"] > .header_menu_item_link:after {content: ''; position: absolute; width: 14px; height: 8px; top: 14px; right: 1px; background: url(/static/litres/i/header/menu/arrow_down.svg);}
[data-header_open="menu-company"] .header_menu_item_link:hover:after {background: url(/static/litres/i/header/menu/arrow_down_hover.svg);}
[data-header_open="menu-company"].active .header_menu_item_link:after {background: url(/static/litres/i/header/menu/arrow_up.svg);}
[data-header_open="menu-company"].active .header_menu_item_link:hover:after {background: url(/static/litres/i/header/menu/arrow_up_hover.svg);}

/* slim header */
.litres_header_slim .header_menu {display: none;}
.litres_header_slim .header_container {border-bottom: 1px solid #c4c4c6;}
.litres_header_slim .header_main {padding: 5px 30px;}
.litres_header.litres_header_slim .litres_header_logo {height: 30px; width: 82px; background: url(/static/litres/i/header/menu/logo_slim.svg) center center no-repeat;}
.litres_header_slim .user_action_button {height: 30px; font-size: 12px; text-transform: uppercase; font-weight: bold; line-height: 30px;}
.litres_header_slim .user_action_button.user_books .btn__content:after {top: 7px; transform: scale(.8);}
.litres_header_slim .user_action_button.user_books .btn__content {padding: 1px 16px 0 43px;}
.litres_header_slim .user_action_button.user_books:after {left: 22px; top: 7px;}
.litres_header_slim .user_info_icon {height: 25px; width: 22px; background-position: -126px -60px; top: 3px; left: 4px;}
.litres_header_slim .user_info_icon:hover {background-position: -148px -60px;}
.litres_header_slim .header_popup_link .popup_link_sticker {font-size: 9px; height: 20px; width: 20px; line-height: 17px; top: -6px; right: -15px;}
.litres_header_slim .user_info_icon .popup_link_sticker {top: -3px; right: -10px;}
.litres_header_slim .user_wrapper .user-logo-wrapper{width: 30px;height: 30px;}
.litres_header_slim .user_wrapper .user-logo-wrapper_newyear::before{background: url(/static/litres/i/header/newyear_avatar_mini.svg) 0 0 no-repeat;width:30px;height: 19px;top: -4px;left: -16px;}
.litres_header_slim .user_wrapper .user_logo {height: 30px; width: 30px; text-align: center;}
.litres_header_slim .user_wrapper .user_logo img {height: 30px; width: 30px;}
.litres_header_slim .user_avatar_dummy {height: 30px; width: 30px; background-position: -40px -60px; margin: auto;}
.litres_header_slim .search_and_login #q {height: 30px; font-size: 14px;}
.litres_header_slim .search_and_login .searchbutn {text-transform: uppercase; font-weight: bold; height: 30px; font-size: 12px; width: 90px;}
.litres_header_slim .search_and_login #q::placeholder {font-size: 14px;}
.litres_header_slim .search_and_login #q::-ms-input-placeholder {font-size: 14px;}
.litres_header_slim .search_and_login #q:-ms-input-placeholder {font-size: 14px;}
.litres_header_slim .search_and_login #q::-webkit-input-placeholder {font-size: 14px;}
.litres_header_slim .search_and_login .searchbutn > span {left: 0;}
.litres_header_slim .user_container .user_cash {margin-top: -2px; margin-bottom: -3px;}
.litres_header_slim .user_container .user_name {position: relative;}
.litres_header_slim .user_wrapper .user_container {max-width: calc(100% - 40px);}
.litres_header_slim.lib_user .header_info{margin-left: 0;}
.litres_header_slim .header_info .user_info {margin-right: 23px;}
.litres_header_slim .search_and_login .logo_library_inner {height: 40px; margin: -5px -10px -5px 20px;}
.litres_header_slim .search_and_login .logo_library img {height: 40px; width: auto; margin: 0;}
.litres_header_slim .search_and_login_inner .user_wrapper {position: relative;}
.litres_header_slim .librian_info__inner {margin: -5px 0;}
.litres_header_slim [data-header_popup] {margin-top: 15px;}

/* biblio header */
.biblio_user.biblio_unreg .header_logo,.litres_header_slim.biblio_user.biblio_unreg .header_logo{width: 140px;}
.litres_header .litres_biblio_logo {background-image: url(/static/litres/i/header/logo_lib.svg); height: 40px; width: 100px; background-size: contain;}
.biblio_user .header_logo  {width: 125px;}
.biblio_user.litres_header_slim .header_logo {width: 90px;}
.biblio_unreg [data-header_open="login"] {width: 200px; padding-right: 0;}
.biblio_user .header_nav.left_nav > .header_menu_item{margin-right:18px;}
.librian_info__block {display: table-cell; white-space: nowrap; font-size: 14px; line-height: 20px; padding: 0 10px; border-left: 1px solid #C4C4C6;}
.librian_info__link {color: #000; text-decoration: none; display: block;}
.librian_info__title {display: block; color: #767579;}
.librian_info__link:hover .librian_info__title {color: #FF4C00;}
.librian_info__inner {padding: 0 0 0 12px;}
.lib_user .header_info {width: auto;}
.lib_user .header_info .user_action {margin-left: 10px;}
.lib_user .search_and_login_inner .header_user {max-width: none;}
.lib_user .user_action_button{padding: 0 15px;}
.litres_header_slim.lib_user .user_action_button{padding: 0 23px;}
.header-popup[data-header_popup="library"] {width: 280px; left: auto; right: 0;}
.header-popup__librarian[data-header_popup="user"],
.header-popup__biblioreader[data-header_popup="user"] {width: 190px;}

.header_user_avatar {display: inline-block;}
.header_user_avatar_slim {display: none;}
.litres_header_slim .header_user_avatar {display: none;}
.litres_header_slim .header_user_avatar_slim {display: inline-block;}

.librian_info__value[data-new-requests]:after{content: "";display: inline-block;width: 8px;height: 8px;background: #FF4C00;border-radius: 50%;margin-left: 5px;vertical-align: super;margin-bottom: -2px;}

@media screen and (max-width: 1280px) {
	.search_and_login_inner .header_user {max-width: 244px;}
	.biblio_user .header_search_form {min-width: 155px;}
	.biblio_user .search_and_login .searchbutn {height: 40px; width: 40px; background: url(/static/litres/i/header/search/small_search.svg) #3B393F no-repeat center;}
	.biblio_user.litres_header_slim .search_and_login .searchbutn {height: 30px;}
	.biblio_user .search_and_login #q-cell {margin-right: 40px;}
	.biblio_user .search_and_login .searchbutn > span {display: none;}
}
@media screen and (max-width: 1024px) {
	.search_and_login_inner .header_user {max-width: 220px;}
	.lib_user .user_link {max-width: 130px;}
}

/* global header [104822] */
.litres_header_global .litres_header_logo {background: url(/static/litres/i/header/menu/logo_global.png) 0 0 no-repeat; background-image: url(/static/litres/i/header/menu/logo_global.svg); margin-top: 6px;}
 .litres_header_global.litres_header_slim .litres_header_logo {margin-top: 3px; background: url(/static/litres/i/header/menu/logo_global.png) 0 0 no-repeat; background-image: url(/static/litres/i/header/menu/logo_global.svg); background-size: contain;}

/* [103411] my books popup */
.my-books-popup {width: 230px; max-height: 400px; overflow: visible; left: auto; right: 0;}
.my-books-wrapper {max-height: 400px; overflow: auto; overflow-x: hidden;}
.my-books-popup .my-books-item {display: block; cursor: pointer; user-select: none; color: #3B393F; text-decoration: none;}
.my-books-item.my-books-item_sub.bought_collection .my-books-item__name { padding-right: 20px; max-width: 230px;}
.my-books-popup .my-books-item:hover {background-color: #F5F5F5; color: #2e2e2e;}
.my-books-popup .my-books-item__wrapper {display: table-row;}
.my-books-popup .my-books-item__name {width: 100%; display: table-cell; padding-left: 20px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.my-books-popup .my-books-item__counter {display: table-cell; padding-left: 10px; padding-right: 20px; position: relative; color: #9D9C9F;}
.my-books-popup .my-books-list {font-family: Arial; font-size: 16px; line-height: 40px; margin: 0; padding: 0; display: table; width: 230px;}
.my-books-item__counter {position: relative;}
.my-books-popup .my-books-item__status { display: table-cell; width: 8px;}
.my-books-popup .my-books-item_update .my-books-item__status:before {content: ''; display: inline-block; width: 8px; height: 8px; position: relative; top: -2px; left: -1px;
background-color: #FF4C00; border-radius: 50%;}
.my-books-popup .my-books-item_limit .my-books-item__counter:after {content: '\002b'; position: absolute; top: 0; right: 10px;}
.header-popup_right-arrow .header-popup__arrow {right: 10px}
.my-books-popup .my-books-item_sub .my-books-item__name {padding-left: 30px;}
.my-books-item_subscription-megafon .my-books-item__name:after,
.my-books-item_subscription-megafon_audio .my-books-item__name:after {content:"\2003\2003\2003"; width:34px; height:30px; background:url(/static/litres/i/promo/megafon/dots_small.svg) no-repeat 8px center;}
.my-books-item.my-books-item_promo .my-books-item__name:after {content: ''; box-sizing: border-box; height: 10px; width: 10px; border-radius: 50%; background-color: #FF4C00; display: inline-block; margin-left: 5px; margin-bottom: 8px;}
.my-books-item_subscription-rostelecom .my-books-item__name:after,
.my-books-item_subscription-rostelecom_audio .my-books-item__name:after {content:""; width: 14px; height: 23px; background:url(/static/litres/i/promo/rostelecom/rostelecom_icon.svg) no-repeat center; display: inline-block; background-size: contain; position: relative; top: 4px; left: 7px;}

/* [106529] В новой шапке выровнять элементы высокой и свернутой версии шапки */
.header-popup__arrow {width: 20px; height: 10px; position: absolute; top: -10px; overflow: hidden;}
.header-popup__arrow:after {content: ""; position: absolute; width: 10px; height: 10px; background: white; transform: rotate(45deg); top: 5px; left: 5px; box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.4);}

/* [138808] Новогодний баннер вместо Книги дня */
.banner__newyear_gift{margin:-5px 0 40px 0; text-align:center; height:80px; position:relative; display:block; background:#22140a url(/static/litres/i/header/banner_newyear_gift.jpg) center 0 no-repeat;}
.banner__newyear_gift:after{content:""; background:url(/static/litres/i/header/banner_newyear_gift_bg.png) center 0 no-repeat; position:absolute; bottom:-25px; left:0; width:100%; height:25px;}
.banner__newyear_gift .ab-container{padding:19px 0 0 0;}
.banner__newyear_gift .ab-container, .newyear_gift_close{position:relative; max-width:1600px; min-width:1000px; margin:0 auto;}
.banner__newyear_gift .ab-container > span{position:relative; z-index:5; display:inline-block; vertical-align:middle;}
.banner__newyear_gift_close{position:absolute; top:15px; right:25px; width:40px; height:40px; cursor:pointer; z-index:10;}
.banner__newyear_gift_close:before, .banner__newyear_gift_close:after{position:absolute; content:""; height:18px; width:2px; left:18px; top:10px; background:#fff; transition:all 0.3s ease 0s;}
.banner__newyear_gift_close:hover:before, .banner__newyear_gift_close:hover:after{background:#999;}
.banner__newyear_gift_close:before{transform:rotate(45deg);}
.banner__newyear_gift_close:after{transform:rotate(-45deg);}
.banner__newyear_gift_title{font-size:22px; font-weight:bold; line-height:30px; color:#fff; padding:0 25px 0 0;}
.banner__newyear_gift_btn{height:40px; min-width:130px; padding:0 10px; background:#f5f5f5; font-size:14px; text-align:center; line-height:40px; font-weight:bold; color:#3b393f; text-transform:uppercase; transition:all 0.3s ease 0s; border-radius:3px;}
.banner__newyear_gift_btn:hover{color:#3b393f; background:#e1e1e1;}

/* [118029] Выделение слова ПРОМОКОД в шапке web и PDA */
.header_menu .header_menu_item.promo-code-link .header_menu_item_link{color:#FF4C13;}
.header_menu .header_menu_item.promo-code-link .header_menu_item_link:hover{color:#CC3C00;}

/* [128404] */
.discount_banner{width:100%; height:80px; display:block; position: relative; background:#ff704b; background:url(/static/litres/i/header/banner_discount_litres_bg.jpg?v=1);}
.discount_banner::before {content: ""; display: block; width: 940px; height: 80px; background: url(/static/litres/i/header/banner_discount_litres.jpg?v=1) no-repeat center; top: 0; position: absolute; left: 50%; margin-left: -470px;}
div#main-div.page-wrap-with_header_banner {padding-top: 180px;}

/* [124237] */
.megafon-logo {height: 33px; width: 110px; display: inline-block; background: url(/static/litres/i/promo/megafon/logo_head.svg) no-repeat center;}
.header_block_megafon , .biblio_user .header_block_megafon{width: 270px;}
.litres_header_slim .megafon-logo {display: none;}

/* [124507] */
.megafon_close{position:relative; max-width:1600px; min-width:1000px; margin:0 auto;}
.banner__megafon{background:#00b956; height:70px; position:relative; display:block; margin-top:-5px;}
.banner__megafon:hover .banner__megafon_btn{background:#fff;}
.banner__megafon:hover .banner__megafon_btn svg g{fill:#731982; stroke:none;}
.banner__megafon > *{max-width:900px; min-width:900px; margin:0 auto; position:relative; padding:0;}
.banner__megafon span{display:inline-block; vertical-align:middle;}
.banner__megafon_logo{width:156px; height:28px; background:url(/static/litres/i/promo/megafon_banner/megafon_logo.svg) no-repeat 0 0; margin:0 25px 0 0;}
.banner__megafon_title{width:380px; height:19px; background:url(/static/litres/i/promo/megafon_banner/txt_view_subscription.svg) no-repeat 0 0; margin:0 19px 0 0;}
.banner__megafon_dots{width:150px; height:70px; background:url(/static/litres/i/promo/megafon_banner/megafon_dots_girl.svg) no-repeat 0 5px; margin:0 18px 0 0;}
.banner__megafon_btn{width:152px; height:32px; padding-top:8.5px; text-align:center; background:#731982; border:1px solid #731982; border-radius:100px; transition:all 0.3s ease 0s; box-sizing:border-box;}
.banner__megafon:hover .banner__megafon_btn svg g{transition:all 0.3s ease 0s;}
.banner__megafon_txt_more{width:521px; height:42px; background:url(/static/litres/i/promo/megafon_banner/txt_more_book.svg) no-repeat 0 0; margin:0 19px 0 0;}
.banner__megafon_dots_sale{width:198px; height:70px; background:url(/static/litres/i/promo/megafon_banner/mefagon_dots_sale.svg) no-repeat 0 10px; margin:0 10px 0 0;}
.banner__megafon-litres{background:#fde9c4; height:70px; position:relative; display:block; margin-top:-5px;}
.banner__megafon-litres:hover .banner__megafon-litres_btn{background:#ff4c00; color:#fff;}
.banner__megafon-litres:hover .banner__megafon-litres_btn:after{border-color:#fff;}
.banner__megafon-litres > *{max-width:900px; min-width:900px; margin:0 auto; position:relative; padding:0;}
.banner__megafon-litres span{display:inline-block; vertical-align:middle;}
.banner__megafon-litres_listen{width:70px; height:70px; background:url(/static/litres/i/promo/megafon_banner/icon_listen.svg) no-repeat 0 5px; margin:0 30px 0 0;}
.banner__megafon-litres_title{font-size:20px; font-weight:bold; line-height:23px; width:480px; color:#000; margin:0 180px 0 0;}
.banner__megafon-litres_btn{width:120px; height:40px; border:2px solid #ff4c00; color:#ff4c00; font-size:14px; line-height:36px; font-weight:bold; text-transform:uppercase; position:relative; text-align:center; transition:all 0.3s ease 0s; box-sizing:border-box;}
.banner__megafon-litres_btn:after{content:"";display:inline-block; border:1px solid #ff4c00; border-width:2px 0 0 2px;vertical-align:middle;transform:rotate(135deg);margin-left:9px; margin-top:-2px; width:8px;height:8px; transition:all 0.3s ease 0s;}
.banner__megafon-button {display: block; width: 100%; height: 100%; position: absolute; z-index: 1; opacity: 0; max-width: none; left: 0; top: 0; cursor: pointer;}

/* [142686] banner 01.02.2019 по 31.03.2019 */
#banner__valentine{margin:-5px 0 0 0;}
.banner__valentine{display:block; background:#ff4c00; text-align:center; height:80px;}
.banner__valentine > span{display:inline-block; vertical-align:middle;}
.banner__valentine_slogan{width:210px; height:40px; background:url(/static/litres/i/header/banner__valentine_slogan.svg) no-repeat 0 0;}
.banner__valentine_grad{width:300px; height:90px; background:url(/static/litres/i/header/banner__valentine_tel.png) no-repeat 3px 0; margin:0 -49px 0 -52px;}
.banner__valentine_discount{width:319px; height:41px; background:url(/static/litres/i/header/banner__valentine_discount.svg) no-repeat 0 0; margin-right:34px;}
.banner__valentine_btn{height:40px; min-width:180px; border-radius:3px; background:#fff; box-shadow:0 1px 3px 0 rgba(0,0,0,0.2), 0 5px 10px 0 rgba(0,0,0,0.1); text-transform:uppercase; font-family:Arial; font-size:14px; font-weight:bold; color:#ff4c00; padding:0 10px; line-height:40px; text-align:center; transition:all 0.3s ease 0s;}
.banner__valentine_btn:hover{box-shadow:0 1px 1px 0 rgba(0,0,0,0.2), 0 2px 5px 0 rgba(0,0,0,0.1); color:rgba(255, 76, 0, 0.8)}
.banner__valentine_slogan,.banner__valentine_discount,.banner__valentine_btn{margin-top:-10px;}
.valentine_close{position:relative;}
.banner__valentine_close{position:absolute; top:18px; right:25px; width:40px; height:40px; cursor:pointer; z-index:10;}
.banner__valentine_close:before, .banner__valentine_close:after{position:absolute; content:""; height:18px; width:2px; left:18px; top:10px; background:#fff; opacity:0.7; transition:all 0.3s ease 0s;}
.banner__valentine_close:hover:before, .banner__valentine_close:hover:after{opacity:1;}
.banner__valentine_close:before{transform:rotate(45deg);}
.banner__valentine_close:after{transform:rotate(-45deg);}

/* [158213] */
.litres_header_slim .discount_banner_hide {display: none;}