/*
Theme name:MyTheme-1
Author:Vyacheslav Krutov
Version:1.1.0
Description:Test theme for the site
*/

/* myThemeStyles */

.widget_archive, .widget_categories{
	margin-bottom: 15%;
}
.cat-name{
	background: #653366;
	color: snow;
	padding: 2px 8px 4px;
	text-align:left;
	font-size: 1.3em;
}
.widget_archive nav ul, .widget_categories nav ul{
	padding-left: 10px;
}
.widget_archive nav ul li, .widget_categories ul li.cat-item{
/*	list-style-type:none; */
	margin:0;
	padding:0;
	text-align:left;
	font-family:Verdana, sans-serif;
	line-height:2.1;
}
.widget_archive nav ul li a, .widget_categories nav ul li.cat-item a{
	color:#653366;
	margin: 0;
	padding:0;
	font-size:0.9rem;
  text-transform: none;
	float:none;
	text-decoration: underline;
}
.widget_archive ul li a:hover, .widget_categories ul li.cat-item a:hover{
	background:none;
	color:#FF66CC;
}
.block-for-admitad{
	width:90%;
	margin:0 auto;
}
@media screen and (max-width:480px) {
	.widget_archive nav ul li a, .widget_categories nav ul li.cat-item a{
		display:initial;
		font-size:1rem;
	}
}

/* сноски */

.wp-block-quote p span {color:#8b50a6;}
.wp-block-quote.is-style-large {
	padding: 0 1.6em;
	background:snow;
}
.wp-block-quote.is-style-large p {
	font-size: 1.4em;
	line-height: 1.5;
}
.wp-block-pullquote-mine {
	margin: 2em auto;
	padding: 2em 1em;
	text-align: center;
	font-size: 1.3em;
	line-height: 1.6;
	border-top: 2px solid;
	border-bottom: 2px solid;
	border-radius: 10px;
	background-color: #fcfcfc;
	overflow-wrap: break-word;
	box-sizing: border-box;
}

.block-quote-mine {
	padding: 8px 20px;
	margin: 0px 40px;
	background-color: #f7e1f7;
	position:relative;
	border-left:16px solid #653366;
	min-height: 80px;
}
.block-quote-mine p{font-size:14px;}
@media screen and (max-width:660px){
	.block-quote-mine{margin:0 auto}
}
.entry-content {
    text-align: justify;
}
.entry-content p {
  margin-bottom: 0.5em;
}

/* сноска в тексте статьи */
.sideblock{
background-color: #f7f8f2;
padding: 12px;
color: #653399;
/*border: 2px dotted #003366; */
box-shadow: 1px 1px 4px #639;
border-radius: 8px;
font-weight: normal;
font-family: Verdana, sans-serif;
font-size: 0.7rem;
line-height: 1.6;
}


/* выравнивание картинки в боковой колонке */
.wp-block-image-mine {
  margin: 1.5em 0 1em;
}
@media (max-width: 781px) and (min-width:680px){
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	flex-basis: 33.33% !important;
    max-width: 550px;
	margin: 0 auto;}
}

@media (max-width:680px) {
.wp-block-image {
    max-width: 500px;
    text-align: center;
    margin: 0 auto;}
/*	.wp-block-column p, p, li{
	font-size:1.15rem;
	}*/
	.block-quote-mine p {
		font-size: 1rem
	}
}
/* размер шрифта для колонок на мобильных */


/* приближение изображения картинки в статье блога*/
.resizable-img{
	overflow:hidden;
	max-width:720px;
	height:210px;
	margin:0 auto;
}
.resizable-img-background{transition:0.7s;}
.resizable-img-background:hover{transform:scale(1.1);}


/* search widget button */
.wp-block-search__button {
    background: #f7f7f7;
    border: 1px solid #653366;
    color: #653366;
    margin-left: .625em;
    word-break: normal;
    height: 48px;
	width:130px;
    font-size: 14px;
    border-radius: 8px;
	cursor: pointer;
	transition: 0.5s;
}
.wp-block-search__button:hover {
	background: #653366;
    color: #f7f7f7;
}


/* comments block */
h3#comments{
	margin-top: 7%;
	border-top: 1px dotted;
	padding-top: 30px;
}
#comment{
	display: block;
	margin: 10px auto;
	border: 1px solid #ccc;
}
.avatar{width:30px;}

.comment-metadata{font-size:12px;color:inherit;}

.commentlist{text-align:left;}

.submit{
	border: 1px solid #653366;
	background: lightsteelblue;
	color: #653366;
	font-size: 12px;
}
.submit:hover{background:transparent;color:#FF66CC;}

.form-submit input.submit{
	width: 200px;
	margin: 15px auto 40px;
	cursor:pointer !important;}

.comment-notes{font-size:0.7em}

/*убираем лишнее поле "сайт" и надпись о сохранении данных о регистрации*/
.comment-form-cookies-consent{display:none}
.comment-form-url{display:none;}


/* блок аудио плейера */
.style-for-player{
	background: #f7e1f7;
	border: 1px dotted;
}
figcaption p{
	padding:0 20px 10px
}
.wp-block-audio audio {
	background-color: currentColor;
	min-width:280px;
}

/* ссылки оглавления статей */
.content-list{
	background-color:#f7f8f2;
	padding:10px 10px 12px 30px;
	border:1px dotted #003366;
	border-radius:8px;
	margin: 34px auto;
}
.content-list ul{list-style:none;padding-left:0;}
.content-list ul li{margin: 12px 0;}
.content-list ul li a{color:#003366;font-weight:bold;}
.content-list ul li a:hover{color:#FF66CC;}
.go::before{
	content:"▼";
}
.content-list ul li a:hover .go::before {
	content:"►";
  color: green;
}

.goupbtn{
	display:block;
	padding:16px;
	background: #f1f2f3;
	color:#553366;
	border:2px solid;
	border-radius:25px 25px 4px 4px;
	font-size:24px;
	position:fixed;
	bottom:20px;
	right:30px;
	transition: all 0.5s ease;
	z-index:10
}
a:hover.goupbtn{background: ghostwhite;color:FF66CC;}

/* ч а т */

.chat-box p{
	margin-bottom: 20px;
	padding: 10px;
	border-radius: 8px;
	/*border: 1px dotted;*/
	background: ghostwhite;
}
.chat-box p:nth-child(odd){margin-right:24px;}
.chat-box p:nth-child(even){
	background:snow;
	color:#003366;
	margin-left:24px;
}

.chat-box p:nth-child(odd)::before{
	content:url('https://zhitie-moe.ru/wp-content/uploads/2022/12/girl-e1670610458708.png');
	float:left;
	width:34px;
	height:34px;
	border-radius:50%;
	background:#FF66CC;
	font-size:28px;
	margin: 0 10px 0px 0;
}

.chat-box p:nth-child(even)::before{
	content:url('https://zhitie-moe.ru/wp-content/uploads/2022/12/mother-e1670610509528.png');
	float:right;
	width:34px;
	height:34px;
	border-radius:50%;
	background:#003366;
	font-size:28px;
}

/* иконка в сноске статьи */
.wiseman-text{
	background-color:#f7f8f2;
	padding:10px;
	color:#003366;
	font-size:12px;
	border:1px dotted #003366;
	border-radius:8px;
	position:relative;
}
.wiseman{
	width:30px;
	position:absolute;
	top:25px;
	right:43px
}
@media screen and (max-width:950px) and (min-width:630px) {
	.wiseman{display:none;}
}
@media screen and (max-width:629px) and (min-width:430px) {
	.wiseman{width:30px;position:absolute;top:100px;right:43px}
	.wiseman-text, .sideblock{font-size:1em;}
}
@media screen and (max-width:429px) {
	.wiseman{display:none;}
	.wiseman-text{font-size:1em;}
}

/* video in the article */
.inside-video{
	width:480px;
	margin:28px auto;
}
.inside-video2{
	width:360px;
	margin:28px auto;
}
@media screen and (max-width:550px){
	.inside-video{display:none;}
	.inside-video2{display:none;}
}

.nav-links{
	border: 1px solid;
	padding: 20px;
	width: fit-content;
	margin: 0 auto;
}
.nav-links:hover{
background:snow;
}
.nav-links a:hover{
background:snow;
}

.poems{
	margin: 0 auto;
	max-width: 490px;
	text-align:left;
	line-height: 1.6rem;
}