/* Контентная часть */

section {
    padding: 100px 0;
}

.padding-half {
    padding: 50px 0;
}

.page-head {
    position: relative;
    z-index: 1;
}

.page-head > img {
    position: absolute;
    z-index: -2;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.page-head:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: rgb(0 0 0 / 25%);
    background: linear-gradient(90deg, rgb(0 0 0 / 75%), transparent);
    background: linear-gradient(90deg, rgb(35 97 141 / 75%), rgb(62 129 176 / 10%));
    width: 100%;
    height: 100%;
    top: 0;
}

.page-head .text {
    color: #fff;
}

.page-head .text h1 {
    font-size: 3rem;
}

.kama_breadcrumbs {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.kama_breadcrumbs a {
    font-weight: 600; 
    text-decoration: none;
    color: #d0ee6a;
}

.excerpt {
    margin-top: 15px;
}



.post-content {
	/* padding: 0 150px; */
    max-width: 800px;
    margin: 0 auto;
}

section .title {
    font-size: 2rem;
    margin-bottom: 30px;
}

.center {
    text-align: center;
}




@media (max-width: 1200px) { 
    #content {width: 100%;} 
    .page-head .text h1 {font-size: 2.5rem;}
    /* .post-content {padding: 0 90px;} */
}

@media (max-width:  992px) { 
    section {padding: 75px 0;}
    .padding-half {padding: 30px 0;}
    .page-head .text h1 {font-size: 2.2rem;}
    /* .post-content {padding: 0;} */
    section .title {font-size: 1.7rem;}
}

@media (max-width:  768px) { 
    .page-head .text h1 {font-size: 2rem;}
    section .title {font-size: 1.5rem;}
}

@media (max-width:  576px) { 
    section {padding: 50px 0;}
	.kama_breadcrumbs {display: none;}
}

@media (max-width:  480px) { 
	.page-head .text h1 {font-size: 1.5rem;}
    section .title {font-size: 1.3rem;}
}




/* Форматирование на странице */

.area {font-size: 1.1rem; text-align: left;}

/* .area p, .area h2, .area h3, .area h4, .area > figure, .area > img, .area > div, .area table, .area > ul, .area > ol {margin-bottom: var(--bs-gutter-x);} */
.area p, .area h2, .area h3, .area h4, .area > figure, .area > img, .area > div, .area table, .area > ul, .area > ol {margin-bottom: var(--bs-gutter-x);}
.area > h2:not(:first-child) {margin-top: calc(var(--bs-gutter-x) * 2);}
.area > *:last-child {margin-bottom: 0;}

.area p, .area li {
    line-height: 1.5;
    /* text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto; */
}

.area > ul, .area > ol {display: inline-block; width: 100%; padding-left: 20px;}
.area ul li, .area ol li {width: 100%; margin-bottom: calc(var(--bs-gutter-x) / 2); position: relative;}
.area ul li:last-child, .area ol li:last-child {margin-bottom: 0;}
.area ul li::marker {color: var(--color-1);}

.area td, .area th, .area .wp-block-table td {padding: var(--bs-gutter-x); border: 1px solid rgb(62 129 176 / 15%);}
.area th {font-weight: 600;}

blockquote {position: relative; font-style: italic; border-left: 3px solid var(--color-1); padding-left: var(--bs-gutter-x); margin-bottom: var(--bs-gutter-x); color: #555;}
  
.alignleft {display: inline; float: left; margin-right: 30px; margin-bottom: 15px;}
.alignright {display: inline; float: right; margin-left: 30px; margin-bottom: 15px;}
.aligncenter {display: block; margin-right: auto; margin-left: auto; margin-bottom: 15px;}

.buttons {display: flex; flex-wrap: wrap; gap: 15px 30px;}
.buttons.center {justify-content: center;}

.buttons .btn {
    background: #333;
    color: #fff;
    padding: 0 30px;
    line-height: 40px;
    margin: 0;
    font-size: 1.2rem;
    border: 2px solid #333;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    display: block;
	white-space: nowrap;
    text-align: center;
}

.buttons .btn:hover {border: 2px solid var(--color-1); background: var(--color-1);}

.buttons .btn.btn-o {background: none; color: inherit;}
.buttons .btn.btn-o:hover {color: var(--color-1);}

.clear {clear: both;}

#more_posts {margin-top: 30px;}

@media (max-width: 1200px) { 
    .area td, .area th, .area .wp-block-table td {padding: calc(var(--bs-gutter-x) / 2);}
    img.alignleft, img.alignright {max-width: 400px;} 
}

@media (max-width: 576px) { 
	.area table {font-size: 0.9rem; overflow-x: scroll; display: inline-block;} 
	.area img {display: block;}
	.area > h2:after, .post-content > h2:after {display: none;}
}

@media (max-width: 380px) { 
	.area p, .area h2, .area h3, .area h4, .area > figure, .area > img, .area > div, .area table, .area > ul, .area > ol {margin-bottom: 20px;}
    .area > h2:not(:first-child) {margin-top: var(--bs-gutter-x);}
}




/* Медиа / Текст */

.wp-block-media-text__content ul, .wp-block-media-text__content ol {padding-left: 20px;}

@media (max-width: 768px) { 
    .wp-block-media-text.is-stacked-on-mobile {grid-template-columns: 100%!important;}
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {grid-column: 1; grid-row: 1; margin-bottom: var(--bs-gutter-x);}
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {grid-column: 1; grid-row: 2; padding: 0;}
}






/* Расходники */

/* .row > .item {
	padding: 0 calc(var(--bs-gutter-x) / 2);
    margin-bottom: var(--bs-gutter-x);
} */

.row .item > * {
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-line);
    display: block;
    color: inherit;
	text-decoration: none;
    border-radius: 15px;
}

.row .item > a:hover {border-color: var(--color-1);}

.icon-text .item > * {display: flex; align-items: center; padding: 30px;}
.icon-text .item > * .image {width: 20%; font-size: 4rem; text-align: center; color: var(--color-1);}
.icon-text .item > * .text {width: 80%; padding-left: 30px; font-family: 'Montserrat', sans-serif;}

.icon-text-vertical .item > * {text-align: center; padding: 30px;}
.icon-text-vertical .item > * .image {margin-bottom: 30px;}
.icon-text-vertical .item > * .text {font-family: 'Montserrat', sans-serif;}


.image-text .item > * {display: flex; align-items: center;}
.image-text .item > * .image {flex: 0 0 30%; height: 100%;}
.image-text .item > * img {object-fit: cover; height: 100%; display: block;}
.image-text .item > * .text {flex: 1 0 0%; padding: 30px; font-weight: 500;}

.image-text-vertical .item > * {text-align: center;}
.image-text-vertical .item > * img {width: 100%; display: block;}
.image-text-vertical .item > * .text {padding: 30px;}


.number-text .item > * {display: flex; align-items: center;}
.number-text .item > * .number {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    font-weight: 600;
    color: #eee;
}
.number-text .item > * .text {width: 70%; padding: 30px;}


.number-text-vertical .item > * {text-align: center; padding: 30px;}
.number-text-vertical .item > * .number {margin-bottom: 15px; font-size: 4rem; color: var(--color-1);}
/* .number-text-vertical .item > * .text {} */

.number-text.in-order {counter-reset: schetchik;}
.number-text.in-order .item {counter-increment: schetchik;}
.number-text.in-order .item > * .number:before {content: counter(schetchik);}


.items.owl-carousel {margin: 0 0 30px;}
.items.owl-carousel .owl-stage {display: flex; flex-wrap: wrap;}
.items.owl-carousel .item {padding: 0; margin-bottom: 0; height: 100%; width: 100%;}



/* Blocks */

.area-block > p, .area-block > ul, .area-block > h2, .area-block > h3, .area-block > h4 {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
}

.area-block > p, .area-block > ul, .area-block > h2, .area-block > h3, .area-block > h4, .area-block > div, .area-block > figure {
    margin-bottom: calc(var(--bs-gutter-y) * 1.5);
}








/* Сайтбар, Виджеты */

/* aside {min-width: 250px; padding-right: calc(var(--bs-gutter-x) * .5);}

aside .widget {margin-bottom: var(--bs-gutter-x); background: #fff; padding: var(--bs-gutter-x); border: 1px solid var(--color-line);}
aside .widget:first-child {border-top: 0;}
aside > *:last-child {margin-bottom: 0;}
  
aside .widget a {color: inherit;}  

.headwidget, .headwidget a {text-align: center; position: relative; margin-bottom: var(--bs-gutter-x);}

.headwidget:after {
    content: "";
    width: 60px;
    margin-left: -30px;
    height: 2px;
    background: var(--color-1);
    position: absolute;
    bottom: -5px;
    left: 50%;
}

aside .widget > ul, aside .widget > ol, .textwidget > ul {padding: 0 0 0 30px;}
aside .widget > ul li, aside .widget > ol li {margin-bottom: 7px;}

@media (max-width: 1200px) { aside {display: none;} } */


/* Подвал */

body > footer {
    position: relative;
    z-index: 66;
    background: #333;
    background: linear-gradient(45deg, #111, #333);
    background: linear-gradient(45deg, #072032, #155581);
    color: #fff;
    padding: 50px 0;
    margin-top: auto;
}

body > footer a {color: #fff;}
body > footer a:hover {text-decoration: underline;}
  
/* body > footer p {margin-bottom: var(--bs-gutter-x);} */

body > footer i {color: var(--color-1);}

.contacts p {display: flex;}
.contacts p i {width: 10%; text-align: center;}
.contacts p span {width: 90%;}

body > footer .menu {
    padding-left: 20px;
    gap: 15px 50px;
    justify-content: center;
}

body > footer li {list-style: none; text-align: left;}
body > footer li:last-child {margin-bottom: 0;}

body > footer li a:before {
    content: "\ec1b";
    font-family: "icomoon";
    color: var(--color-1);
    display: inline-block;
    margin-left: -20px;
    width: 20px;
	font-size: 0.8rem;
}

body > footer ul.sub-menu, body > footer ul.children {display: none;}

body > footer .social {font-size: 1.8rem; display: flex; justify-content: center;}

body > footer .footer-info {font-size: 0.8rem; opacity: 0.5;}



/* плавное изменение прозрачности placeholder-а при фокусе */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder, textarea::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder, textarea:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder, textarea:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {opacity: 0;}
input:focus::-moz-placeholder, textarea:focus::-moz-placeholder        {opacity: 0;}
input:focus:-moz-placeholder, textarea:focus:-moz-placeholder           {opacity: 0;}
input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder      {opacity: 0;}

/* Текст предназначен только для чтения с экрана */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px); position: absolute !important;	height: 1px; width: 1px; overflow: hidden;}


#Go_Top {
	position: fixed;
	right: 70px;
	bottom: -70px;
	z-index: 291;
	display: block;
    text-align: center;
    font-size: 25px;
    line-height: 55px;
	width: 55px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
	border: 2px solid var(--color-line);
    color: inherit;
	cursor: pointer;
}
body.compensate-for-scrollbar #Go_Top, body.windows-active #Go_Top {display: none;}	

#Go_Top:hover i {
    -webkit-animation: animArrow 1s infinite;
    animation: animArrow 1s infinite;
}

@keyframes animArrow {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

#Go_Top i {margin: 0; display: inline-block;}
#Go_Top:hover {background: var(--color-2); color: #fff;}
#Go_Top.up {bottom: 70px;}

@media (max-width: 1200px) { #Go_Top {right: 0;} #Go_Top.up {bottom: 0;} }
@media (max-width: 576px) { #Go_Top {line-height: 45px; width: 45px;} }


/* Анимации */

.hidden {opacity: 0;}
.animated{animation-duration:1s;animation-fill-mode:both}
.animated.infinite{animation-iteration-count:infinite}
.animated.hinge{animation-duration:2s}

@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
.fadeIn{animation-name:fadeIn}

@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,25%,0)}to{opacity:1;transform:none}}
.fadeInUp{animation-name:fadeInUp}

@keyframes fadeInLeft{0%{opacity:0;transform:translate3d(-25%,0,0)}to{opacity:1;transform:none}}
.fadeInLeft{animation-name:fadeInLeft}

@keyframes fadeInRight{0%{opacity:0;transform:translate3d(25%,0,0)}to{opacity:1;transform:none}}
.fadeInRight{animation-name:fadeInRight}

@keyframes pulse{0%{transform:scaleX(1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scaleX(1)}}
.pulse{animation-name:pulse}


