/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */

p.google-title {
    color: #888;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}
.top-menu ul li {
    padding-left: 10px;
    padding-right: 10px;
}
.post-card--grid .post-card__thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: auto;
    margin: 0;
    overflow: hidden;
    z-index: 2;
}
.post-card--grid .post-card__thumbnail img {
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    z-index: 2;
}
.post-card--grid:not(.post-card--thumbnail-no) .post-card__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    min-height: 200px;
}
.post-card--grid .post-card__body {
    z-index: 4;
}
.post-card--grid:not(.post-card--thumbnail-no) .post-card__title {
    padding-top: 100px;
    color: #fff;
}
.post-card--grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 10px !important;
    max-width: none;
}
.post-card--grid:not(.post-card--thumbnail-no) .post-card__title a {
    color: #fff;
}
.post-card:not(.post-card--small) .post-card__category {
	border-radius: 2px;
}
.post-card__date:before {
    content: none;
}
.post-card__date time {
    color: #fff;
}
.post-card__date {
    padding-left: 0;
}
.post-card__meta {
    opacity: 1;
}
.post-card--grid:nth-child(6n+1):not(.post-card--thumbnail-no) .post-card__meta {
    opacity: 1;
}
.post-card--grid .post-card__meta { 
	pointer-events:none;
	z-index:4;
}
.post-cards--vertical {
    grid-gap: 30px;
	grid-template-columns: repeat(auto-fit,minmax(45%,1fr));
}
.post-card--vertical, .post-card--related {
	max-width: 100%;
}
.related-posts .post-card--vertical {
  min-width: 350px;
  max-width: 350px;
  aspect-ratio: 1/1;
  border-radius: 6px;
}
.post-card--vertical .post-card__category {
    left: 15px;
    top: 15px;
}
.section-block {
	padding-bottom: 0px;
}
.home .section-block__header {
	display: block;
}
.home .section-block__title {
	border-bottom: 3px solid #009bc9;
	padding-bottom: 10px;
	margin-right: 0px;
}
.footer-widgets a {
	color: #009bc9 !important;
}
.footer-widgets .widget_nav_menu ul {
	list-style: inherit;
	list-style-position: inside;
}
.footer-widgets {
	margin-bottom: 0px;
}
.post-card--grid .post-card__title, .post-card--grid .post-card__meta {
	text-shadow: 1px 1px #000;
}
.post-cats a {
	text-decoration: none;
    color: #fff;
    background: #009bc9;
    padding: 3px 7px;
	margin-right: 5px;
}
.breadcrumb {
	margin-bottom: 20px;
}
.post_date {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
	font-weight: bold;
}
.post_date a {
	color: #009bc9;
}
.post-card--related .post-card__category {
	margin-bottom: 0 !important;
}
.swiper-container {
	width: calc(100% - 90px);
}
.site-content {
    padding-top: 0px;
}
.vertical_date {
	font-size: 14px;
	margin-bottom: 5px;
}
/*.post-card .post-card__thumbnail {
	box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.5);
}*/
.post-card__thumbnail img {
	width: 100%;
}
.post-card--vertical {
	position: relative;
}
.post-card--vertical:after {
	/*content: "";*/
	/*background: #ccc;*/
	/*position: absolute;*/
	/*bottom: 0;*/
	/*height: 1px;*/
	/*width: 80%;*/
	/*left: 10%;*/
}
.post-card--vertical:last-child:after, .post-card--vertical:nth-last-child(2):after {
	content: none;
}
.post-card--vertical .post-card__description {
    margin-bottom: 25px;
}
.img_shadow:after {
	content: '';
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.9225) 15.6%, rgba(0, 0, 0, 0) 70%);
    border-radius: 0;
	z-index: 2;
}
.section-block:first-child {
    margin-top: 0px;
}
.main-navigation ul {
	justify-content: center;
}
.post-card--grid:nth-child(6n+1):hover .post-card__thumbnail img {
	/*-webkit-transform:none !important;
	transform:none !important;*/
	-webkit-transform:translate(-50%,-50%) scale(1) translateZ(0);
	transform:translate(-50%,-50%) scale(1) translateZ(0);
}
.post-card--grid .post-card__title {
	font-size:1.2em;
	z-index:4;
}
.post-card--grid:not(.post-card--thumbnail-no) .post-card__thumbnail:before {
	content:"";
	position:absolute;
top:0;left:0;right:0;bottom:0;background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),color-stop(80%,#000));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,#000 80%);background:-o-linear-gradient(top,rgba(0,0,0,0) 0,#000 80%);background:linear-gradient(to bottom,rgba(0,0,0,0) 0,#000 80%);
/*opacity:.55;*/
-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s;z-index:3;-webkit-backface-visibility:hidden;backface-visibility:hidden;
}
.post-card--grid:not(.post-card--thumbnail-no) .post-card__title a:before {
	content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;
}
.img-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}
.vertical-link {
	text-decoration: none;
}
.vertical-link:hover {
	color: inherit;
}
.article-card {
border-radius: 6px;
}
.article-card .post_date {
    margin-bottom: 20px;
}

.article-card .entry-preview {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    color: #37404d;
}

.related-posts__ads {
    background-color: #FFFFFF;
}

.related-posts__ads>div {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    min-width: 350px;
    max-width: 350px;
    aspect-ratio: 1/1;
}

@media (max-width: 767px) {
  .related-posts__ads {
    /* background-color: transparent;
    border: none;
    height: 350px; */
  }

  .related-posts__ads>div {
    left: 50%;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 500px) {
	.post-cards--vertical {
		grid-template-columns: auto;
	}
	.post_date {
		font-size: 14px;
	}
}

@media (min-width: 576px) {

    .article-card .post_date {
        margin-bottom: 25px;
    }

    .article-card .entry-preview {
        font-size: 18px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
	.swiper-container {
		width: calc(100% - 40px);
	}
	.mobile-menu-placeholder+.site-content {
		margin-top: -10px;
	}
}

@media (min-width: 768px) {
	body.sidebar-none .post-card--grid:nth-child(6n+1) {
        -ms-flex: 0 0 calc(50% - 40px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
	}
	.post-cards--grid {
		margin-left: -15px;
		margin-right: -25px;
	}
	.post-card--grid {
		margin-left: 15px;
		margin-right: 15px;
		margin-bottom: 30px;
	}
	body.sidebar-none .post-card--grid .post-card__title {
		font-size: 16px !important;
	}
	.footer-widgets-3 .footer-widget:nth-child(3) {
		max-width: 50%;
	}
	.home .section-block {
		margin-bottom: 0px;
		padding-top: 0px;
		margin-top:0px;
		/*margin-bottom: -40px;*/
	}
	h1 {
		margin-bottom: 20px;
	}

    .single-post .related-posts .post-cards.post-cards--vertical {
        gap: 20px !important;
    }

    .single-post .fixed.site-content {
        max-width: 100vw;
    }

    .single-post .fixed.related-posts {
        max-width: 100%;
    }
}

.article-card .entry-title {
    font-size: 24px;
}

.yandex-title {
    font-size: 16px;
}

.article-card .entry-content, .article-card .entry-excerpt {
    font-size: 16px;
}

@media (min-width: 992px) {
    body.sidebar-none .post-card--grid:nth-child(6n+1) {
        -ms-flex: 0 0 calc(33% - 30px);
        flex: 0 0 calc(33% - 30px);
        max-width: calc(33% - 30px);
    }
	body.sidebar-none .post-card--grid {
		-ms-flex: 0 0 calc(33% - 30px);
		flex: 0 0 calc(33% - 30px);
		max-width: calc(33% - 30px);
	}

    .article-card .entry-title {
        font-size: 36px;
    }

    .article-card .entry-content, .article-card .entry-excerpt {
        font-size: 16px;
    }

    .yandex-title {
        font-size: 18px;
        font-weight: 500;
    }

    .single-post .related-posts .post-cards.post-cards--vertical {
        gap: 20px !important;
    }

    .single-post .fixed.site-content {
        max-width: 100vw;
    }

    .single-post .fixed.related-posts {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .single-post .related-posts .post-cards.post-cards--vertical {
        grid-template-columns: repeat(auto-fit, 350px);
        gap: 30px !important;
    }

    .single-post .fixed.site-content {
        max-width: 1400px;
    }

    .single-post .fixed.related-posts {
        max-width: 1400px;
    }
}

@media (max-width: 1200px) {

    .widget-area {
        display: none;
    }

    .content-area {
        max-width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        padding-right: 0;
    }
}

@supports (display:grid) {
    .single-post .post-cards--vertical {
        display: grid;
        grid-auto-flow: row dense;
        grid-gap: 30px !important;
        grid-template-columns: repeat(auto-fit, 350px);
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: center;
    }
}

/* @media (max-width: 767px) {
  .single-post .post-cards--vertical {
    grid-template-columns: repeat(auto-fit, 400px);
  }
} */

/* @media (max-width: 500px) {
  .single-post .post-cards--vertical {
    grid-template-columns: repeat(auto-fit, 100%);
  }
} */

.entry-social + .entry-news-subscribe {
    margin-top: -1em;
}
.entry-news-subscribe {
    margin-bottom: 3em;
}
.entry-news-subscribe__wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: -10px;
}
.entry-news-subscribe__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1;
    flex-basis: 280px;
    margin: 10px;
    background: #F5F5F5;
}

.entry-news-subscribe__item img {
    max-width: 400px;    
}
.form-send-news {
	border: none;
}
.form-send-news__title {
    font-size: 1.3em;
}
.post-cards--list-col  .post-cards__ads>div {
    top: 42%;
}
.mt15 {
    margin-top: 10px;
}
.mt20 {
    margin-top: 20px !important;
}
.mb20 {
    margin-bottom: 20px;
}
.form-send-news__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.3em;
}
.form-send-news__btn:first-child {
    flex-basis: calc(18% - 20px);
}
.form-send-news__btn:nth-child(3) {
  background-color: #2494C0;
  color: #fff !important;
	flex-basis: 100%;
  transition: background-color 200ms ease-out;
  border: none;
  outline: none;
  margin: 0;
}
@media (hover: hover) {
  .form-send-news__btn:nth-child(3):hover {
    background-color: #00afe4;
    color: #fff !important;
  }
}
.form-send-news__btn:nth-child(3):active {
  background-color: #0086c4;
  color: #fff !important;
}
.form-send-news__text strong {
    opacity: unset;
    font-weight: bold;
}
.form-send-news__text .line1 {
    font-size: 0.9em;
    margin-top: 15px;
}
.form-send-news {
	position: relative !important;
	transform: none !important;
	left: auto !important;
	max-height: none !important;
	top: auto !important;
}
.form-send-news .form-send-news__btns {
	margin-top: 25px;
}
aside .form-send-news__btn {
  background-color: #e4e4e4;
}

.section-posts-slider .section-posts-slider__ads {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1400px) {
    .post-cards--list-col, .section-posts-slider {
        flex-wrap: wrap;
    }
	.post-cards--list-col .post-cards__ads, .section-posts-slider .section-posts-slider__ads {
        flex-basis: 100%;
    }
}
@media (max-width: 1200px) {
	.post-cards__ads {
		display: flex;
		justify-content: center;
	}
}
@media (min-width: 992px) {
	.form-send-news__btns {
        flex-wrap: wrap;
    }
}
@media (min-width: 576px) {
    .form-send-news__text {
        font-size: 1em;
    }
    .test .form-send-news__text {
        font-size: 15px;
    }
	.form-send-news {
        padding: 25px;
    }
	.form-send-news__text.bottom {
		font-size: 0.9em;
	}
}

.post-cards--list-col .post-cards__ads>.form-send-news .form-send-news__btn:nth-child(1) {
  margin: 0;
  border: none;
  background-color: #e4e4e4;
}

.post-cards--list-col .post-cards__ads>.form-send-news .form-send-news__btn:nth-child(2) {
  margin: 0;
  border: none;
  background-color: #e4e4e4;
}

.form-send-news__text.bottom {
  margin-top: 15px;
}

.post-cards--list-col .post-cards__ads>.form-send-news>.form-send-news__btns {
  margin: 25px 0 0 0;
  gap: 15px;
  max-width: 100%;
}

.post-cards--list-col .post-cards__ads>.form-send-news {
  margin: 0 auto;
  max-width: 400px;
}

.single-post {
    margin-bottom: 80px;
}

.banner-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1400px;
    height: 110px;
    padding: 0 45px;
    margin: auto;
    z-index: 9999;
}

.article-card>.banner-bottom {
    max-width: 728px;
}

.banner-bottom__wrap {
	height: 110px;
    max-width: calc(100% - 300px);
    padding-right: 70px;
}

.banner-bottom .banner__frame {
    width: 728px;
    height: 110px;
	margin: 0 auto;
}

.banner__close {
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/reboot_child/assets/images/close.svg');
    background-position: center;
    background-color: #e1e1e1;
    background-size: 15px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.banner-right {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 400px;
	height: 245px;
    z-index: 9999;
}

.banner-right .banner__frame {
	width: 400px;
	height: 225px;
}

.banner__frame .b-r>div {
	width: 100%;
}

.banner__frame .b-r {
	margin: 0;
}

.banner-bottom .banner__frame .b-r>div,
.banner-bottom .banner__frame .b-r {
	height: 90px;
}


.banner-right .banner__frame .b-r>div,
.banner-right .banner__frame .b-r {
	width: 400px;
	height: 225px;
}