/* цитата */
blockquote, .wp-block-quote{
    margin: 0 0 1.5em;
    padding: 0 1.5em;
    border-left: 3px solid #77cc6d;
    background-color: unset;
    color:unset;
    border-radius:0;
}

blockquote p::before, .wp-block-quote p::before {
	content: unset;
}

blockquote:before{
	content: unset;
}

blockquote p, .wp-block-quote p{
    font-size: 14px;
}
/*
.current-menu-item {
    background: #77cc6d !important;
}

.current-menu-item a {
    color: white !important;
    background: #5bb551 !important;
}*/

/* Кнопка читать далее */
a.readmore_btn_custom {
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #77cc6d;
    min-width: 38px;
    display: inline-block;
    text-align: center;
}

a.readmore_btn_custom:hover {
	text-decoration: none !important;
	background: #77cc6d;
	color: white;
}

/* плашка с номером заголовка h2 в статье */
#content {
	counter-reset: list 0;
}
#content .entry-content h2 {
	position: relative;
}
#content .entry-content h2:before {
    content: " ";
    display: inline-block;
    width: 27px;
    height: 26px;
    background: #77cc6d;
    border-radius: 4px 1px 1px 4px;
    line-height: 26px;
    text-align: center;
    color: #fff!important;
    font-weight: 500;
    position: absolute;
    font-size: 16px;
    text-indent: 4px;
    font-style: normal;
    left: -60px;
    top: -3px;

    counter-increment: list;
    content: counter(list);

}

#content .entry-content h2:after{
	top: -3px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #77cc6d;
    border-width: 13px;
    left: -33px;
}

@media screen and (max-width: 768px) {
#content .entry-content h2:before {
	content: "";
}
#content .entry-content h2:after {
	content: "";
}

}


.border_div_block {
    margin-top: 14px;
    box-shadow: 0 0 8px #00000033;
    border-radius: 5px;
}

.shortcode_iframe_controls span {
	cursor: pointer;
	margin-left: 24px;
	color: #77cc6d;
}

.shortcode_iframe_controls {
    text-align: end;
    margin-bottom: 14px;
}


/* test */
/*#header-text-nav-container {
    border-bottom: 1px solid #424242;
    background-color: #424242;
}
  */







 @media print {
	@page {
		margin: 10mm 10mm 10mm 20mm;
	}
	*, *:before, *:after {
		box-shadow: none !important;
		text-shadow: none !important;
	}
	#featured-slider, #site-navigation, #secondary, #masthead, #comments, #vk_like, .default-wp-page.clearfix, .nav-links, #scroll-up, #online_block, .comments-link, #yandex_rtb_R-A-751763-8 {
		display:none !important;
	}
	#primary {
	    width: 100%;
	}
	.footer-socket-wrapper {
		background-color: #FFF;
	}
	/*a[href^="http"]:after, a[href^="https"]:after {
		content: " (" attr(href) ")";
	}*/
	.footer-socket-wrapper .copyright {
		max-width: 100%;
	}
 }


.ads_absolute{
    z-index: 999999999999999;
    position: fixed;
    width: 300px;
    height: 400px;
    bottom: 0;
    border: 1px solid #f8f8f8;
    left: 0;
    box-shadow: 0px 0px 16px 0px #00000042;
}

@media screen and (max-width: 768px) {
    .ads_absolute {
        display: none !important;
    }
}


.ads_absolute .close_btn {
    z-index: 999999999999999;
    background: #77cc6d;
    position: absolute;
    top: -10px;
    right: -10px;
    color: white;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 17px;
    cursor: pointer;
}

/*
.ads_absolute:before {
    content: " Реклама ";
    position: absolute;
    padding: 10px;
    background: #f7f7f7;
    width: 258px;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
}*/


.errno {
    background: #ffdede;
    border: 1px solid #ffabab;
    color: #ff4242;
    font-weight: bold;
    padding: 10px;
    border-radius: 12px;
    width: 100%;
    display: block;
}


input[type="number"] {
    padding: 1%;
    border: 1px solid #EAEAEA;
    line-height: 20px;
    width: 98%;
    margin: 0 0 20px;
    background-color: #F8F8F8;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/*
fancybox custom
*/
img.fancybox-image{height: auto !important;}


/* шапка таблиц */
.wp-block-table thead {
    border-bottom: none;
    background: #77cc6d;
    color: white;
}

/* styled-range */
/*generated with Input range slider CSS style generator (version 20211225)
https://toughengineer.github.io/demo/slider-styler*/
input[type=range].styled-range {
    height: 2.2em;
    -webkit-appearance: none;
    width: 98%;
}

/*progress support*/
input[type=range].styled-range.slider-progress {
    --range: calc(var(--max) - var(--min));
    --ratio: calc((var(--value) - var(--min)) / var(--range));
    --sx: calc(0.5 * 2em + var(--ratio) * (100% - 2em));
}

input[type=range].styled-range:focus {
    outline: none;
}

/*webkit*/
input[type=range].styled-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2em;
    height: 2em;
    border-radius: 1em;
    background: #77CC6D;
    border: none;
    box-shadow: 0 0 2px black;
    margin-top: calc(max((1em - 1px - 1px) * 0.5,0px) - 2em * 0.5);
}

input[type=range].styled-range::-webkit-slider-runnable-track {
    height: 1em;
    border: 1px solid #60A858;
    border-radius: 0.5em;
    background: #efefef;
    box-shadow: none;
}

input[type=range].styled-range.slider-progress::-webkit-slider-runnable-track {
    background: linear-gradient(#77CC6D,#77CC6D) 0/var(--sx) 100% no-repeat, #efefef;
}

/*mozilla*/
input[type=range].styled-range::-moz-range-thumb {
    width: 2em;
    height: 2em;
    border-radius: 1em;
    background: #77CC6D;
    border: none;
    box-shadow: 0 0 2px black;
}

input[type=range].styled-range::-moz-range-track {
    height: max(calc(1em - 1px - 1px),0px);
    border: 1px solid #60A858;
    border-radius: 0.5em;
    background: #efefef;
    box-shadow: none;
}

input[type=range].styled-range.slider-progress::-moz-range-track {
    background: linear-gradient(#77CC6D,#77CC6D) 0/var(--sx) 100% no-repeat, #efefef;
}

/*ms*/
input[type=range].styled-range::-ms-fill-upper {
    background: transparent;
    border-color: transparent;
}

input[type=range].styled-range::-ms-fill-lower {
    background: transparent;
    border-color: transparent;
}

input[type=range].styled-range::-ms-thumb {
    width: 2em;
    height: 2em;
    border-radius: 1em;
    background: #77CC6D;
    border: none;
    box-shadow: 0 0 2px black;
    margin-top: 0;
    box-sizing: border-box;
}

input[type=range].styled-range::-ms-track {
    height: 1em;
    border-radius: 0.5em;
    background: #efefef;
    border: 1px solid #60A858;
    box-shadow: none;
    box-sizing: border-box;
}

input[type=range].styled-range.slider-progress::-ms-fill-lower {
    height: max(calc(1em - 1px - 1px),0px);
    border-radius: 0.5em 0 0 0.5em;
    margin: -1px 0 -1px -1px;
    background: #77CC6D;
    border: 1px solid #60A858;
    border-right-width: 0;
}

/* customize template */
#secondary aside {
    border: 1px solid #77cc6d;
    padding: 17px;
    box-shadow: 0px 0px 14px 0px #00000036;
    background: #fff;
}




@media screen and (min-width: 768px) {
    #secondary aside {
        box-shadow: 15px 15px 0 0 #77cc6d; /* ??? а надо ли хз*/
    }

    #main, section#featured-slider {
        background-image: repeating-linear-gradient(45deg, white 0, white 10px, #fbfbfb 10px, #fbfbfb 20px);
    }

    #primary {
        border: 1px solid #77cc6d;
        padding: 17px;
        /*box-shadow: 0px 0px 14px 0px #00000036;*/
        margin-bottom: 20px;
    }

    #header-text-nav-wrap {
        padding: 0;
    }

}

#primary {
    background: #fff;
}


footer .footer-socket-wrapper {
    background-color: #77cc6d;
    background-image: repeating-radial-gradient(circle at 0 100%, rgba(27, 27, 30, 0.1), rgba(88, 164, 176, 0.15) 1px, rgba(216, 219, 226, 0.2) 2px, rgba(88, 164, 176, 0.15) 3px, rgba(27, 27, 30, 0.1) 4px), radial-gradient(circle at 0 100%, #77cc6d, #77cc6d, #77cc6d, #77cc6d, #77cc6d);
}

.footer-socket-wrapper .copyright, .footer-socket-wrapper .copyright a {
    color: #fff;
}

h1.entry-title, .post .entry-title, .post .entry-title a {
    text-shadow: 2px 2px 3px rgb(0 0 0 / 33%);
}

blockquote {
    border: 2px solid #77cc6d;
    font-size: 16px;
    font-style: italic;
    margin: 16px 31px 31px 16px !important;
    padding: 16px 24px !important;
    position: relative;
    box-shadow: 15px 15px 0 0 #77cc6d;
}

.main-navigation ul li ul li a:before {
    content: "► ";
    color: #77cc6d;
}
.main-navigation ul li ul li a:hover:before {
    color: #ffffff;
}

.main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
    box-shadow: 0px 5px 6px 0px #0000007d;
}

.widget_categories ul li.cat-item a:before, #mostPopular ul li a:before {
    content: "➤ ";
    color: #77cc6d;
}

#mostPopular span:before {
    content: "\f15c";
}

#secondary aside h3 span {
    width: 100%;
    text-align: center;
    display: block;
}

.entry-meta .cat-links {
    margin-right: 25px;
}

/* Имитация кнопки клавиатуры */
kbd {
    position: relative;
    top: -1px;
    vertical-align: middle;
    padding: 0.1em 0.6em;
    border: 1px solid #ccc;
    font-size: 11px;
    font-family: Arial,Helvetica,sans-serif;
    background-color: #f7f7f7;
    color: #333;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    -webkit-box-shadow: 0 1px 0 rgb(0 0 0 / 20%), 0 0 0 2px #fff inset;
    box-shadow: 0 1px 0 rgb(0 0 0 / 20%), 0 0 0 2px #fff inset;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.1em;
    text-shadow: 0 1px 0 #fff;
    white-space: nowrap;
}

/* Цвет выделения текста */
::selection {
    background: #7dcc72;
    color: white;
}


.yandex_after_post_in_list {
    max-height: 100px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 40px;
    /*border: 1px solid #77cc6d;*/
}

article.post {
    border-bottom: 4px solid #77cc6d;
}
