/*!*Search*!*/
#header .h-search {
	display: inline-block;
	float: right;
	position: relative;
	margin: 20px 20px 20px 0;
}

#header .h-search button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	border-left: 1px solid #c9c7ca;
	cursor: pointer;
}

#header .h-search button .elm {
	margin: 8px 9px 7px;
}

#header .h-search button .elm {
	margin: 8px 9px 7px;
}

#header .h-search button .elm.elm-lupa {
	background: url('/content/images/lupa.png');
	left: 0;
	top: 0;
	display: block;
	background-position: 0 0;
	width: 20px;
	height: 20px;
}
#header .h-search button .elm.elm-lupa:hover {
	background: url('/content/images/lupa_h.png');
}

.del_mess{
	position: absolute;
	top: 0;
	right: 10px;
	cursor: pointer;
	padding: 10px;
	font-size: 16px;
}
.del_mess:hover{
	color:red;
}

.tolstoycomments-feed{
	margin-top: 40px;
}

/*отключение в подарках  8 марта*/
.tabs .tabs__caption li:nth-child(3){
	display: none;
}
img {
    max-width: 100%;
}
.pop-wrap.new.gifts-list{
	min-height: 681px;
}
.tabs__caption{
	display: block;
	margin: 0 auto;
	width: 55%;
	padding: 10px;
	text-align: center;
}
.text p{
	margin: 20px 0;
	font-size: 16px;
	line-height: 1.5;
}
.text ul, .text ol{
	margin: 20px 40px;
	list-style: disc;
}
.text ul li, .text ol li{
font-size: 16px;
	margin-bottom:10px
}
.tabs__caption li{
	display: inline-block;
	padding: 0 10px 10px;
	color: #333333c9;
	cursor: pointer;
}
.tabs__caption li.active{
	color: #3b5998;
	border-bottom: 1px solid #3b5998;
}

/*табы в подарках*/
.tabs__content {
	display: none; /* по умолчанию прячем все блоки */
}
.tabs__content.active {
	display: block; /* по умолчанию показываем нужный блок */
}
/*подарки на странице стиха*/

.one-poem.custom .a-acts a {	
	color: #999;
	display: inline-block;
	text-decoration: none;
	color: #105b9d;
	width: 100%;
	padding: 4px 12px;
	box-sizing: border-box;
	border-radius: 3px;
	width: 30%;
	margin-left: 79px;
	position: relative;
	top: -55px;
	color: #d75a4a;
}
.one-poem.custom .c-value{
	margin-top: 10px;
}
.one-poem.custom .a-acts a:hover {
	/*background: #ddd;*/
}

.one-poem.custom .a-acts {
	margin-top: 10px;
	text-align: left;
}

.one-poem.custom .a-acts .elm {
	margin: -5px 4px 0 0;
}

.one-poem.custom .gifts-list .one-gift {
	display: block;
	float: left;
	width: 23%;
	box-sizing: border-box;
	margin: 0 1% 10px 1%;
	text-align: center;
	text-decoration: none;
	position: relative;
}

.one-poem.custom .gifts-list .one-gift img {
	max-width: 100%;
}

.one-poem.custom .gifts-list .one-gift:hover img {
	opacity: 0.7;
}

.one-poem.custom .gifts-list .one-gift:hover .price {
	display: block;
}

.one-poem.custom .gifts-list .one-gift .price {
	background: #ddd;
	padding: 4px 0;
	border-radius: 3px;
	position: absolute;
	display: none;
	width: 100%;
	bottom: -14px;
	font-weight: bold;
}

.one-poem.custom .pop-wrap.gifts-list,
.one-poem.custom .pop-wrap.gift {
	width: 460px;
}

.one-poem.custom .pop-wrap.gift {
	text-align: center;
}

.one-poem.custom .pop-wrap.gift .price-info,
.one-poem.custom .pop-wrap.gift .btns {
	margin-top: 20px;
}

.one-poem.custom .pop-wrap.gift .btns {
	border-top: solid 1px #eee;
	padding-top: 20px;
	margin-top: 20px;
}

.one-poem.custom .pop-wrap.gift .btns a {
	margin: 0 8px;
}

.one-poem.custom .pop-wrap.gift .price-info .balance {
	color: #777;
	margin-top: 10px;
}

@media screen and (max-width: 920px) {
	.one-poem.custom .author-stat .item {
		width: 20%;
	}
	
	.one-poem.custom .user-likes .author {
		width: 24%;
	}
}

@media screen and (max-width: 760px) {
	.authors-page.pop .poems,
	.authors-page.pop .authors-little {
		width: 100%;
	}
}

@media screen and (max-width: 670px) {
	.one-poem.custom .author-stat .item {
		width: 33%;
	}
	
	.one-poem.custom .user-likes .author {
		width: 32%;
	}
	
	.one-poem .poems-list .poem .genre {
		display: none;
	}
	
	.one-poem .poems-list .poem.short .name,
	.one-poem .poems-list .poem .name,
	.one-poem .poems-list .poem .date,
	.one-poem .poems-list .poem .mets {
		width: 30%;
	}
}

@media screen and (max-width: 530px) {
	.one-poem.custom .hdr .s-btn-green {
		top: 10px;
	}
	
	.one-poem.custom .author-stat .item {
		width: 33%;
		float: left;
		text-align: center;
	}
	
	.authors-page.custom .f-item {
		width: 100%;
	}
	
	.f-item select {
		font-size: 16px;
	}
	
	.one-poem.custom .user-likes .author {
		width: 48%;
	}
	
	.one-poem.custom .f-item {
		width: 100%;
		text-align: center;
	}
	
	.one-poem .poems-list .poem .date {
		display: none;
	}
	
	.one-poem .poems-list .poem.short .name,
	.one-poem .poems-list .poem .name {
		width: auto;
	}
}

@media screen and (max-width: 500px) {
	.one-poem.custom .pop-wrap.gifts-list,
	.one-poem.custom .pop-wrap.gift {
		width: 96%;
	}
	
	.one-poem.custom .u-views .details {
		clear: both;
		float: none;
		padding-top: 20px;
	}
}

@media screen and (max-width: 460px) {
	.one-poem.custom .author-stat .item {
		width: 50%;
	}
	
	.one-poem .poems-list .poem .mets {
		min-width: 120px;
	}
	
	.one-poem.custom .gifts-list .one-gift {
		width: 31%;
	}
}

@media screen and (max-width: 360px) {
	.one-poem.custom .gifts-list .one-gift {
		width: 48%;
	}
}

/* end подарки на странице стиха*/
#btn-present-close{
	position: absolute;
	top: -5px;
	right: -5px;
	cursor: pointer;
	color: #E8E7E7;
}
button#btn-show-present{
	position: absolute;
	right: 0px;
	color: #fff;
	/*background-color: #ef6c00;*/
	/*padding: 10px;*/
	border: none;
        display: none;
}
button#btn-show-present img{
	cursor: pointer;
}
a#btn-show-present{
	cursor: pointer;
}
#popup-money-present{
	position: fixed;
	top: 10%;	
	width: 300px;
	left: 50%;
	margin-left: -150px;
	background-color: #FFFFFF;
	display: none;
	z-index: 20;	
}
#popup-money-present .hidden{
	display: none;
}
#popup-money-present h2{
	padding: 15px 20px;
	background-color: #3b5998;
	color: #fff;
}
#popup-money-present form{
	background-color: #fff;
	text-align: center;
}
#popup-money-present p{
	padding: 15px 20px;
	text-align: center;
	color: #333333;
}
#popup-money-present a{
	display: inline-block;
	color: #fff;
	text-decoration: none;
	margin-bottom: 30px;
	background-color: #ef6c00;
	width: 188px;
	height: 40px;
	line-height: 40px;
}
#popup-money-present a:hover{
	background-color: #e23614;
}
#popup-money-present input#sumpresent{
	text-align: center;
	padding: 10px 10px;
	margin-bottom: 20px;
	border: 1px solid #80808059;
}

#popup-money-present + .mfp-container{
	display: none;
	z-index: 10;
	background: #000000b3;
	position: fixed;
}
#btn-show-present span{
	background-image: url(/content/images/money_icon.png) !important;
	background: url(/content/images/money_icon.png) !important;

}
@media(max-width: 380px){
	button#btn-show-present{
		right: 2px;
		top: 97px;
	}
}
.one-column ol .dotted{
	list-style-type: decimal !important;
}

.del-like{
	font-size: 20px;
}
.del-like:hover{
	cursor: pointer;
	color: #FF876E;
}
.visibleMob{
	display: none;
}
.visiblePC{
	display: block;
}
.visiblePC,.visibleMob{margin-bottom: 1rem}
a.poem{
	position: relative !important;
}
/*.one-author.custom .ol-num + .name{
	padding-left: 30px;
}*/
@media(max-width: 330px){
	.ol-num{
		display: none;
	}
}
/*реклама на стр стиха.*/
@media(max-width: 768px){
	.visiblePC{
		display: none;
	}
	.visibleMob{
		display: block;
	}
}

@media(max-width: 500px){
	#reformal_tab{
		display: none !important;
	}
}
#reformal_tab{
		display: none !important;
	}
/*оценка посетителя*/
.people-count.my-score{
   margin-top: 12px !important; 
}

.one-poem.clas .newadv.visiblePC{
	width: 600px; 
}

/*кнопка уроки англ*/
.menu-wrap{
    position: relative;
}
.new-student-mob{
    display: none;
}
.new-student-pc{
    display: block;
}
@media(max-width:700px){
    .new-student-mob{
        display: block;
        position: absolute;
        top: -3px;
        left: 10px;
    }
    .new-student-pc{
        display: none !important;
    }
}
@media(max-width:403px){
    .new-student-mob{

    }     
}

/*класс фикс меню*/
.fix-menu-wrap{
    z-index:170;
    margin:0 auto;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    right:0;
    text-align: center;
    border-top: none !important;
} 

.newadv.visibleMob{
/*    max-width: 80% !important;*/
    
}
.one-poem.clas .new-adv-sidebar .newadv.visiblePC{
    width: 100%;
}
.adv-top-edit{
/*    width: 90%;*/
}



.wh-bl.poem .inner-wrap h1{
    margin: 0 auto !important;
    margin-bottom: 10px !important; 
    line-height: 1.25;
} 

.litres_widget_body.mob{
    display: none;
}
@media(max-width:610px){ 
    .litres_widget_body.pc{
        display: none;
    }
    .litres_widget_body.mob{
        display: block;                        
    }
}
.dotted{   
    padding-left: 24px; 
}

.one-poem.custom .poem-adv-add-inner{
   z-index: 151;
}

.adv-footer,.litres_widget_body.pc,.new-student-pc{
    display: none !important;
} 

.poem-wrap .wh-bl {   
    /*min-height: 150px !important;*/
}
#poem_videos .one-video .video-content iframe{
    max-width: 100%;
}
a.disabled {
    pointer-events: none;
    cursor: default;
    color: #888;
}    
.poem-wrap .author-link.next-poem:before{
    display: none;
}
.poem-wrap .author-link.next-poem:after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin: -2px 5px 0 2px;
    width: 6px;
    height: 6px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-left-width: 2px;
    border-left-style: solid;
    -webkit-transform: rotate(227deg);
    -ms-transform: rotate(227deg);
    transform: rotate(227deg);
}
.poem-wrap .author-link.all-poems{
   padding-left: 25px; 
}

.new-messages li{
    list-style-type: decimal;
    margin-left: 25px;
}

#email-form {border-bottom: solid 1px #f1f1f1; }
.profile.main #email-form {padding: 24px;}
#email-form button{margin-top: 16px; }

/*статьи партнёров*/
.art-list{
    padding: 40px;
    padding-left: 190px;
}
.art-list .art-item{
    padding: 5px;
}


@media(min-width: 1200px){
    body.profile.vda.main #footer-height{
        margin-top: 100px;
    }
}

.main-page-category .container{
    padding: 0px;
}

a.download-list{
    width: 22px;
    margin-left: 15px;

}

.button-download{
    padding: 5px 7px !important; 
    position: relative;
    margin-left: 30px;
    top: -3px;
}