/*
	Theme Name:   Fook Child
	Template:	  fcook
	Description:  дочерняя тема к теме FCook
	Author:       Askaria
	Author URI:   http://wp-fairytale.com/
	Version:      1.0 
	License:      GNU General Public License v2 or later
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
Скрываем первую картинку в контенте
*/

@media only screen and (max-width: 400px) {
.related-list img{max-width:30%}
.header-right .social{display:none}
.item-content .nutrition ol{-webkit-column-count: 1;-moz-column-count: 1;column-count: 1;}
}

body.sidr-open { position: fixed !important; }

/**
 * Шапка сайта на всю ширину в теме FCook
 */
 .site-header {
    margin: 0;
    padding: 0;
}
.header-text {
    margin: 0;
    padding: 0;
}
.header-logo img {min-height: 100px;
    display: block;
}

.question{background:#fff}
.ap-btn{border-radius:8px}
.ap-btn:hover{background:#9bca47}
.ap-btn:hover{color:#fff}
.primary-menu .sub-menu li:hover{background:#70af00}
a:hover, .spanlink:hover, p.item-meta a:hover, .item-footer a:hover{color:#8dca64}
.ap-btn{background:#2e7300;color:#fff}
#anspress .ap-list-head .ap-btn-ask:hover{background:#9bca47;color:#fff}
.ap-btn-ask{text-transform: uppercase;border: 1px solid rgba(0,0,0,0.2);}

button{border-radius:8px;border: 1px solid rgba(0,0,0,0.2);font-weight: bold;}
button:hover{background:#9bca47}

.readmore:hover{background:#9bca47;text-decoration: none;}

.sub-cat > li:hover{background:#9bca47;}

.sub-cat > li {background: #2e7300;margin-bottom: 0.5em;padding: 2px 2px;border: 1px solid rgba(0,0,0,0.2);border-radius: 8px;display: inline-block;margin-right: .4em;color: #fff;font-size: 12px;}


.sub-cat > li > a{color: #fff;text-decoration:none}

.item-content table tbody tr:first-child{background-color: #70af00;}

.menu-bottom.primary-menu, .primary-menu ul li ul,.mobile-header.mobie-bottom{background: linear-gradient(to bottom,#70af00 0%,#2e7300 100%)!important;}
.responsive-menu-button{color:#fff}

.item-content .fx-toc ol li{padding:0}
.item-content .fx-toc ol li:before{content:none}
.social-bottom{display:none}

@media only screen and (max-width: 800px) {
	.item-header .item-meta,.social-top, .header-right {display:none}
	.item-header  h1 {margin-top:0}
}

.calendar.home-block {
    background: #efffd2;
    padding: 19px 20px 10px;
    margin-bottom: 30px;
}
.calendar h2 {
	margin-bottom:25px
}
.calendar .row {
	margin-left: -24px;
}
.calendar ul {
    list-style: none;
    padding: 0; margin: 0;
}
.calendar ul .col-1-2 {
        padding: 0 20px 10px;
}
.calendar .col-1-2 a {
    display: block;
    line-height: 1;
}
.calendar .text  {
	color: #000;
    font-weight: 700;
}

div#soc-short {
    text-align: center;
    margin-bottom: 30px;
}
.ya-share2 ul li.ya-share2__item{
	padding:0
}
.ya-share2 ul li.ya-share2__item:before,.ya-share2__container_size_m .ya-share2__counter:before{
	content:none
}

.ya-share2, .postila-wrap {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}
.ya-share2.ya-share2_horizontal ul {
    margin: 0;
}
.ya-share2.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__icon {
    height: 40px;
    width: 40px;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    position: relative;
}
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__counter {
     position: relative;
    top: -2px;
    right: 5px;
    padding: 0;
    font-size: 11px;
}
.postila {
    width: 40px;
    height: 40px;
	display: inline-block;
    border-radius: 2px;
    background:#f11d26 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAABWVBMVEVMaXH////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////aDxZOAAAAcnRSTlMACCNK4ftnj9D+BPX9a50LsvkNOuXkVp+vQoy/xmOr+pKRgCtDdu+aleqBmTcdIqh+bn1exW1OEMlIiynOtPc4A/Bkly+W2R82FdPLlChbnpgXsBMSIGj81zTyMFUWpNqtUCYq+N6QM1Myhr0HFHC8tr4I9PM7AAABTElEQVQ4y82T11ZaURRFJyBcEA1iV1As2JNoiok1ptjTe0zX9GI08/8ffBCHXO/9ANfrnGess/cZB85VXuyk3nfuVn8kPySAxqfVRyH8/FV/tn10dOJbttTdNdDb++RZQ7kONw40GcnjOv5J9W268lXVmpw8FT6rH9+9yeWavu/1ZMZeV4p29D885V/UQVBNAW2ay7XWX/C3TsBP1ZfAA3U7NMGBjsGk2gFwX+0KCf91BP6oLcCWanNImNR//M2rQ0BK9WJI2NdxfqneAK6q+UR4y8OHQ/SpXgJa1OsxTzGuNgC0Hw8dSVntBi6rXovyRF6dATpVF6PCpuo8sHBSdSYZtdgKlNTpGGFKXQJu31FHYoQ59QKwqtoT5YVbtf32qembUWFFtQ24p2ZjGmbVdAFYr1WdzXLtYFI1EyNcCYLgLrCxFgTB8Pn6jxwBdbNoZ2KZb2MAAAAASUVORK5CYII=) no-repeat center;
}

.social-fix {
    position: fixed;
    top: 200px;
    left: 0px;
}
.social-fix ul {
    margin: 0;
}
.ya-share2.ya-share2_vertical .ya-share2__container_size_m .ya-share2__icon {
    height: 32px;
    width: 32px;
    background-size: 32px 32px;
    background-repeat: no-repeat;
    position: relative;
}
.ya-share2.ya-share2_vertical .ya-share2__title{
	display:none
}


@media only screen and (max-width: 980px) {
.social-fix{
	display:none
}
}

@media only screen and (max-width: 550px) {
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__counter{display:none}
li.ya-share2__item.ya-share2__item_service_collections, li.ya-share2__item.ya-share2__item_service_moimir,
li.ya-share2__item.ya-share2__item_service_twitter, .postila-wrap {
		display: none;
}
}

.cherrylink {
    margin: 30px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #e7e8ec;
    border-top: 2px solid #e7e8ec;
    line-height: 1.3;
    padding: 5px 0;
}
.cherrylink p:empty {
    margin: 0;
    display: none;
}
.cherrylink img {
    width: 200px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.cherrylink > div {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 216px);
    color: #888;
}

.cherrylink div a {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}