/*
Theme Name: SleepTextile
Template: xmag
*/
@import url('../xmag/style.css');

body,
button,
input,
select,
textarea {
	font-size: 16px;
	font-family: 'Roboto', Tahoma, Arial;
	line-height: 1.6;
}
html, body {
	color: #222;
	font-size: 16px;
	font-family: 'Roboto', Tahoma, Arial;
	line-height: 1.6;
}
a,button {
	transition:all .25s ease-out !important;
}
.main-menu > li > a, .home-link a {
    padding: 17px 12px 15px !important;
}
@media screen and (min-width: 840px) {
    .main-menu > li > a, .home-link a {
        font-size: 16px;
        text-transform:none;
        font-weight:400;
        line-height:1.6;
    }
}
@media screen and (min-width: 840px) {
    .main-menu > li:hover > ul, .main-menu > li.focus > ul {
        top: 100% !important;
    }
}

/*Шапка*/
.main-menu > li > a:hover {
	color:#fff;
}
@media screen and (min-width: 840px) {
    .main-menu > li.current-menu-item > a, .main-menu > li.current_page_item > a {
        color:#fff;
		background:#6464aa;
    }
}
.site-branding {
	position:relative;
	padding-left:70px;
}
.block-logo {
	position:absolute;
	left:0;
	top:3px;
}
.site-description {
    margin:0;
    padding: 3px 0 0 0;
}
.site-title a:hover {
	color:#23b2dd;
}

/*Содержание*/
#ez-toc-container {
	background:#fafeff !important;
	border:1px solid #e0e2e0;
	box-shadow: rgba(44, 62, 80, 0.15) 0px 15px 18px -15px;
    padding: 12px 20px 15px 20px !important;
    border-radius: 4px 4px 4px 4px !important;
	width:100%;
	margin-bottom:40px;
	box-sizing: border-box;
}
div#ez-toc-container ul li {
    font-size:1rem !important;
}
div#ez-toc-container ul li:before {
	display:none;
}
#ez-toc-container a {
    font-weight:400;
	text-decoration:none !important
}
#ez-toc-container a:hover {
    color:#23b2dd;
}
.ez-toc-counter nav ul li a::before {
    width: 25px;
}
.ez-toc-title-container {
    padding: 5px 0;
}
.ez-toc-title-toggle .ez-toc-js-icon-con {
	border-color: transparent !important;
}
.ez-toc-title-toggle .ez-toc-icon-toggle-span svg {
	/*display:none;*/
}
.ez-toc-title-toggle .ez-toc-icon-toggle-span {
	position:relative;
}
.ez-toc-js-icon-con .arrow-unsorted-368013 {
	display:none !important
}


/*Нумерованный список - Политика, Соглашение*/
.num-list-item {
	clear:both;
	display:flex;
	align-items: flex-start;
	padding-bottom: 24px;
}
.num-list-count {
	flex:0 0 50px;
	width:50px;
	color:#23b2dd;
	font-weight:500;
	padding-left: 10px;
}
.num-list-text {
	flex-grow: 1;
}

.wp-block-latest-posts__featured-image a:before {
	display:none;
}

/*Контент*/
.captcha-block {
	padding-bottom:25px;
}
.entry-header .entry-title a {
	text-decoration:none !important
}
.page-header h1 {
    font-size: 2.25em;
}
.socshare p {
	margin: 0;
    padding-bottom: 10px;
	text-align:right;
}
.post-bottom-control {
	clear:both;
	display:flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 30px;
}
.post-rating-block p {
	margin:0;
}
@media (max-width:600px) {
	.navigation.post-navigation {display:none}
}
@media (max-width:1000px) {
	.post-bottom-control {
		display:block;
		padding-bottom:30px;
	}
	.post-rating-block p {
		padding-bottom:30px;
	}
	.socshare p {
		text-align:left;
	}
}
@media (max-width:480px) {
	.post-ball {
		display:block;
	}
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #000;
	background-color:#f4f4ff;
	border: 1px solid #23b2dd !important;
}
.sidebar .widget a {
	color:#000;
	text-decoration:none;
}
.sidebar .widget_block h2 {
	padding:0 0 15px 0;
	margin:0;
}
.sidebar .widget_block .wp-block-latest-posts {
	margin:0;
}
.sidebar .widget_block .wp-block-latest-posts  li {
	margin:0;
	padding:0 0 20px 0;
}
.sidebar .widget_block .wp-block-latest-posts  li:last-child {
	padding-bottom:0;
}

.taxonomy-description p {
    font-size:1rem;
    color: #222;
	margin:0;
	padding:0 0 20px 0;
}

.entry-content ul {
	margin:0;
	padding:0 0 10px 0;
	list-style:none;
}
.entry-content ul li {
	margin:0;
	padding:0 0 10px 20px;
	position:relative;
}
.entry-content ul li:before {
	content:'';
	display:block;
	position:absolute;
	left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #23b2dd;
	border-radius:2px;
}
.entry-content ul ul {
	margin:0;
	padding:10px 0;
}
.counters {
	height:0;
	overflow:hidden;
}

.entry-content ol {
    padding: 20px 0;
    counter-reset: list;
    list-style: none;
	margin:0;
}
.entry-content ol li {
    overflow: hidden;
    background: none;
    position: relative;
    padding: 0 0 16px 38px;
}
.entry-content ol li:before {
    content: counters(list, ".");
    counter-increment: list;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #23b2dd;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
