/*
Theme Name: CityNews 3 Дочерняя тема
Theme URI: https://goodwinpress.ru/wp-tema-citynews-3
Author: Алексей Goodwin
Author URI: https://goodwinpress.ru/
Description: Используем дочернюю тему лишь в тех случаях, когда собрались менять разметку или функции темы.
Text Domain: citynews-3
Domain Path: /languages
Template: citynews-3
*/

/* Размещайте ваши стили под этой строкой. */ 
/*
.comment-respond .comment-smiles{margin-bottom:4px}.comment-respond .comment-smiles img{    display: inline;max-height:1.5em;cursor:pointer;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.comment-respond .comment-smiles img:hover{opacity:.9;filter:"alpha(opacity=90)";-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2)}*/
b {
    font-weight: var(--bold);
}
.gallery div {margin-bottom:0;}
.home-category-item__img{max-width:400px;}
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.popup-close {
/*  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;*/
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
    background-image: url("img/sprite.png");
}

.guid__tab-content {
  display: none;
}

.guid__tab-content.active {
  display: block;
}


.guid__title{margin-top:0}.guid__menu{list-style:none;margin:0;padding:0}.guid__menu li{display:inline-block;padding:4px 6px;margin-right:5px}.guid__menu li a{color:#333;border-bottom:1px dashed}.guid__menu li a:hover{text-decoration:none}.guid__menu li.active{background:#3b830a}.guid__menu li.active a{color:#fff;text-decoration:none;border-bottom:0}.guid__tab-content{display:none}.guid__tab-content.active{display:block}.guid_ajax{font-family:Tahoma,Arial,sans-serif;font-size:14px}.guid_ajax .guid__list{padding-left:20px;margin-bottom:0;list-style:auto;padding-top: 10px;}.guid_ajax .guid__list li{margin-bottom:10px}.guid_ajax img{margin:5px 0;padding:4px 6px;margin-right:5px}.window{font-family:Tahoma,Arial,sans-serif;font-size:14px}.window__title{margin-top:0}.guid_ajax h2{font-size:1.25rem;margin-bottom:1.2rem;}.guid__list b{font-weight: bold;}

:root {
/*    --main: #adbc4a;
    --main2: #000;
    --menu: #fff;
    --menu_color: #000;*/
    --accent: #f29e2a;
    --accent2: #5a6e8f;
    --grad1: #eef6ff;
    --grad2: #f3f7e3;
	--spBobyColor:#333646;	
	--downloadItemBR:1px solid rgba(44, 44, 44, 1);
	--downloadV:#f9f9f9;
}
:root[data-theme="dark"] {
	--grad1: #2e2e3a;
    --grad2: #3a3a4f;
	--spBobyColor:#e0e0e0;	
	--downloadItemBR:1px solid rgb(96, 100, 132);
	--downloadV:#23232e;	
}
.spoiler-head, .dashicons-arrow-right-alt2:before, .spoiler-body{color:var(--spBobyColor)}
.single-post__content ::selection {
	background: orange;
}

.post__box {
  margin: 20px 0;
  padding: 30px 30px 32px 110px;
  color:#f6f6fa;
  border-radius: 10px;
}
.post__box b,  .post__box strong{font-style: italic;}

.post__box--red {
  background: url("img/quote/citata-red1.png") no-repeat 25px 50%, #ff0013 url("img/quote/error.png") no-repeat right 10px bottom 10px;
}

.post__box--blue {
  background: url("img/quote/citata-blue1.png") no-repeat 25px 50%, #0077ff url("img/quote/info.png") no-repeat right 10px bottom 10px;
}

.post__box--green {
	background: url("img/quote/citata-green1.png") no-repeat 25px 50%, #00ad14 url("img/quote/success.png") no-repeat right 10px bottom 10px;
}

.post__box--orange {
  background: url("img/quote/citata-orange.png") no-repeat 25px 50%, #ffbe00 url("img/quote/warning.png") no-repeat right 10px bottom 10px;
}

.post__box p:last-child {
  margin-bottom: 0;
}  
#seed {
    background: 0 0;
    border: none;
    width: auto;
    max-width: 80vw;
    text-align: center;
	font-family: cursive;
    margin: auto;
}
.download-link_seed {
    font-size: 22px !important;
    cursor: pointer;
    letter-spacing: 1px;
}
.niceseo_gallery_wrap div {margin-bottom:0;}
.post-content img{margin-bottom: 0.8rem;}
.single-post__content{margin-left:30px;}

.single-post__img img {width: 100%; /* Картинка занимает 100% ширины блока */
    height: auto; /* Сохраняем пропорции картинки */
/*    max-height: 360px;*/ /* Ограничиваем максимальную высоту */
    object-fit: cover; /* Если высота превышает предел, изображение обрезается */
    object-position: center; /* Центруем изображение при обрезке */}

.card-downloads {    display: inline-block;
    margin-bottom: 1.5em;
}
.card-downloads-item {
    position: relative;
    margin-top: 25px;
	margin-bottom: 0!important;
/*	font-family: monospace;*/
    border: var(--downloadItemBR);
    padding: 20px;
}
.card-downloads-item .download-version {
    position: absolute;
    top: -12px;
    background: var(--downloadV);
    font-weight: 600;
    font-size: 18px;
}
.card-downloads-item__wrapper {
    background-color: #339c40;
    padding: 15px 15px;
	margin-bottom: 0!important;
}
.card-downloads-item .download-link {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: underline;
    text-align: center;
	font-weight: 600;
}
.card-downloads-item .download-link__info {
    display: inline-block;
    padding-left: 45px;
    font-weight: 700;
    color: #000;
	    float: right;
}


.card-downloads-item .download-link:hover {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: underline;
    text-align: center;
	    font-weight: 600;
}



.home-category-item img{width:100%;}
.recent-articles img{object-fit:cover;width:100%;max-height:200px;}
.mlrp_ul img{object-fit:cover;width:100%;max-height:200px;} .mlrp_ul li{list-style-type: none!important;margin-bottom: 1em!important; text-align: center;}.mlrp_ul a{color: #525151;}.mlrp a:hover{text-decoration: none; color: #fe7307;}
.post-footer__wrap .post-info-likes {
    margin-top: 30px;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.footer-menu {
margin-top: 0.7rem;    padding-top: 0.5rem;}
.footer-content__text .post-content {
    margin-bottom: 0.7rem;
}
.footer-content__text .post-content p{margin-bottom: 0.5rem;}
:root{  --width: 1280px;}
/*.home-category-item__img{max-width: 401px;
    max-height: 209px;}*/
/*.post-info__name, .post-info__img{display:none;}*/
.custom-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cat-item {
    width: calc(33.33% - 10px); /* Вычисляем ширину блока с учетом отступов */
    margin-bottom: 20px;
    position: relative;
}
.cat-item:hover{background-color:#f4f6fb;}
.cat-item a {
    display: block;
    text-align: center; /* Центрируем содержимое по горизонтали */
}

.cat-item img {
    display: block;
    width: 80px;
    height: auto;
    margin: 0 auto; /* Центрируем изображение */
}

.cat-item span {
    display: block;
	    font-size: 17px;
	    font-weight: 600;
    text-align: center;
}

.custom-menu .cat-item a {
    text-decoration: none;
    color: #000; /* Цвет текста */
}

.custom-menu .cat-item > a > span{    vertical-align:middle;}
 
.footer-area__content{    padding:1rem 1.4rem 0;}
.nav-menu .menu-item-has-children::before{    right: -0.8rem;
    top: 0.35rem;}
.post-content a{color: var(--hoverColor);}
.post-content a:hover{color: var(--wp--preset--color--vivid-red);
    text-decoration: underline;
    transition: color 300ms ease-in-out;}
.expert-review-poll .expert-review-poll{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll__header{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll-item{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll-item.voted{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll-item__answer{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll-item__num{margin-bottom:0!important;}
.expert-review-poll .expert-review-poll-item__progress{margin-bottom:0!important;}
.expert-review-faq-item__answer{margin-bottom:0!important;}
.expert-review-faq-item__question{margin-bottom:0!important;}
.expert-review-faq__header{margin-bottom:0!important;}
.expert-review-faq {margin:1em 0!important;}
.expert-review{margin:1em 0!important;}
.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container iframe,.video-container object,.video-container embed,.video-container video{position:absolute;top:0;left:0;width:100%;height:100%}div.single-post__content.post-content .elementor-heading-title{margin-bottom:.5rem;padding-top:.5rem}.single-post__header{margin-bottom:.5rem}.menu-item{text-transform:uppercase;font-size:14px}.nav-menu .sub-menu .menu-item a{padding:.5rem 2rem;font-size:12px}.footer-menu li{font-size:.78em;padding-right:1px}.footer-menu li:not(:last-child):after{right:-11px}.footer-menu{justify-content:flex-end}/*.single-post__content img{margin:0 auto;display:block}*/.site-header__btns{display:flex;justify-content:flex-end}.footer-content__text p{font-size:12px;font-style:oblique}.footer-area__content{grid-column:12 span}.uwdefiner{border-bottom:none;color:inherit;cursor:auto}.akismet_comment_form_privacy_notice{display:inline-block}#marketWidget1>s{display:none}#marketWidget2>s{display:none}
#marketWidget3>s{display:none}#marketWidget4>s{display:none}#marketWidget5>s{display:none}#marketWidget6>s{display:none}#marketWidget7>s{display:none}#marketWidget8>s{display:none}#marketWidget9>s{display:none}#marketWidget10>s{display:none}#marketWidget11>s{display:none}#marketWidget12>s{display:none}#marketWidget13>s{display:none}#marketWidget14>s{display:none}#marketWidget15>s{display:none}#marketWidget16>s{display:none}#marketWidget17>s{display:none}#marketWidget18>s{display:none}#marketWidget19>s{display:none}#marketWidget20>s{display:none}#marketWidget21>s{display:none}#marketWidget1{margin-bottom:15px}#marketWidget2{margin-bottom:15px}#marketWidget3{margin-bottom:15px}#marketWidget4{margin-bottom:15px}#marketWidget5{margin-bottom:15px}#marketWidget6{margin-bottom:15px}#marketWidget7{margin-bottom:15px}#marketWidget8{margin-bottom:15px}#marketWidget9{margin-bottom:15px}#marketWidget10{margin-bottom:15px}#marketWidget11{margin-bottom:15px}#marketWidget12{margin-bottom:15px}#marketWidget13{margin-bottom:15px}
#marketWidget14{margin-bottom:15px}#marketWidget15{margin-bottom:15px}#marketWidget16{margin-bottom:15px}#marketWidget17{margin-bottom:15px}#marketWidget18{margin-bottom:15px}#marketWidget19{margin-bottom:15px}#marketWidget20{margin-bottom:15px}#marketWidget21{margin-bottom:15px}h5.elementor-heading-title{padding:25px 0 0;display:block}.jet-listing-dynamic-field__content{padding:25px;display:block;background-color:#ddefff}.jet-listing-dynamic-field__icon.is-svg-icon svg{width:1em;height:1em}.elementor-widget-container{transition:background .3s,border .3s,border-radius .3s,box-shadow .3s,transform var(--e-transform-transition-duration,.4s)}.elementor-element{--widgets-spacing:20px;width:auto;max-width:auto;align-self:center}.jet-listing-dynamic-field{justify-content:flex-end}.jet-listing-dynamic-field{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jet-listing-dynamic-field__inline-wrap{width:100%}.jet-listing-dynamic-field__inline-wrap{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%}
.jet-listing-dynamic-field__icon{font-size:40px;height:40px;width:40px}.jet-listing-dynamic-field__icon.is-svg-icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jet-listing-dynamic-field__icon{margin-right:10px}.free{background:url("/wp-content/uploads/img/free.png") no-repeat center;background-image:url("/wp-content/uploads/img/free.svg");background-size:contain;display:inline-block;height:40px;width:40px}.rus{background:url("/wp-content/uploads/img/rus.png") no-repeat center;background-image:url("/wp-content/uploads/img/rus.svg");background-size:contain;display:inline-block;height:40px;width:40px}.hot{background:url("/wp-content/uploads/img/hot.png") no-repeat center;background-image:url("/wp-content/uploads/img/hot.svg");background-size:contain;display:inline-block;height:40px;width:40px}.pay{background:url("/wp-content/uploads/img/pay.png") no-repeat center;background-image:url("/wp-content/uploads/img/pay.svg");background-size:contain;display:inline-block;height:40px;width:40px}.trial{background:url("/wp-content/uploads/img/trial.png") no-repeat center;background-image:url("/wp-content/uploads/img/trial.svg");background-size:contain;display:inline-block;height:40px;width:40px}
.tooltips{cursor:help}.tooltips:after{background:rgba(0,0,0,.8);border-radius:8px 8px 8px 0;box-shadow:1px 1px 10px rgba(0,0,0,.5);color:#fff;content:attr(data-tooltips);margin-top:-24px;opacity:0;padding:3px 7px;position:absolute;visibility:hidden;transition:all .4s ease-in-out}.tooltips:hover:after{opacity:1;visibility:visible}.jet-listing-dynamic-terms__link{font-family:var(--e-global-typography-secondary-font-family),Sans-serif;font-weight:var(--e-global-typography-secondary-font-weight);background-color:#C914621A;color:var(--e-global-color-primary);padding:2px 12px;margin:4px 4px 4px 0;border-radius:24px}.jet-listing-dynamic-terms__link:hover{background-color:var(--e-global-color-primary);color:var(--e-global-color-49842a4)}.jet-listing-dynamic-terms__delimiter{color:var(--e-global-color-49842a4)}.jet-listing-dynamic-terms__prefix{font-family:var(--e-global-typography-secondary-font-family),Sans-serif;font-weight:var(--e-global-typography-secondary-font-weight);color:var(--e-global-color-secondary)}
. .elementor-widget-container{margin:0 0 -20px}.jet-listing-dynamic-terms{text-align:left}.jet-listing-dynamic-terms__link{font-family:var(--e-global-typography-secondary-font-family),Sans-serif;font-weight:var(--e-global-typography-secondary-font-weight);background-color:#5642D214;color:var(--e-global-color-1997b59);padding:2px 12px;margin:4px 4px 4px 0;border-radius:24px}.jet-listing-dynamic-terms__link:hover{background-color:var(--e-global-color-1997b59);color:var(--e-global-color-49842a4)}.jet-listing-dynamic-terms__delimiter{color:var(--e-global-color-49842a4)}.jet-listing-dynamic-terms__prefix{font-family:var(--e-global-typography-secondary-font-family),Sans-serif;font-weight:var(--e-global-typography-secondary-font-weight);color:var(--e-global-color-secondary)}.elementor-widget-container{margin:0 0 -20px}.jet-listing-dynamic-terms{text-align:left}.jet-listing-dynamic-terms__link{font-family:var(--e-global-typography-secondary-font-family),Sans-serif;font-weight:var(--e-global-typography-secondary-font-weight);background-color:#0092F41A;color:#0092f4;padding:2px 12px;margin:4px 4px 4px 0;border-radius:24px}
.jet-listing-dynamic-terms__link:hover{background-color:#0092f4;color:var(--e-global-color-49842a4)}.jet-listing-dynamic-link__link{align-self:flex-start;background-color:#6ec1e4;color:#000;padding:12px 28px;border-radius:40px;flex-direction:row}.jet-listing-dynamic-link__link:hover{background-color:#61ce70;color:#000}
.post-content .source{    position: relative;
    display: inline-block;
    margin: 0;
	font-style: italic;
    font-size: 0.86rem;
    text-decoration: none;
    color: var(--greyColor);}
.post-content .source a {
  color: var(--mainColor);
  text-decoration: underline;
  transition: color 300ms ease-in-out
}

.post-content .source a:hover {
  color: var(--hoverColor);
  text-decoration: underline;
  transition: color 300ms ease-in-out
}

.post-content .single_add_to_cart_button {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
	font-size: larger;
	font-weight: 500;	
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.post-content .single_add_to_cart_button:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.post-content .single_add_to_cart_button:active {
    color: #000
}

.post-content .single_add_to_cart_button:active:after {
    background: transparent;
}

.post-content .single_add_to_cart_button:hover:before {
    opacity: 1;
}

.post-content .single_add_to_cart_button:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}
img.emoji {
    display: inline !important;
    border: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}