/*
Theme Name: fibrocement
Version: 1.0
Description: Кастомный шаблон разработанный для сайта компании HEKiM YAPI
Author: Quinn_Allman
Author URI: https://www.fl.ru/users/quinn_allman/
*/


/* =WordPress Core
-------------------------------------------------------------- */

figure.wp-block-image {
    -webkit-margin-before: 0;
            margin-block-start: 0;
    -webkit-margin-after: 0;
            margin-block-end: 0;
    -webkit-margin-start: 0;
            margin-inline-start: 0;
	-webkit-margin-end: 0;
	        margin-inline-end: 0;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* CF7 styles */

div.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 10px;
    font-family: "Museo Sans Cyrl 500";
    font-size: 12px;
    font-weight: 300;
    line-height: 14px;
}

.form_top .wpcf7-response-output,
.form_full .wpcf7-response-output {
	border: 2px solid #ffffff;
	color: #ffffff;
}

.form_callback .wpcf7-response-output {
	border: 2px solid #242427;
	color: #242427;
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid {
    border: 2px solid #d3261f;
}

.wpcf7-not-valid .wpcf7-list-item-label {
	color: #d3261f;	
}

.wpcf7-list-item label {
	cursor: pointer;
}

span.wpcf7-not-valid-tip,
.use-floating-validation-tip span.wpcf7-not-valid-tip,
div.wpcf7 div.ajax-error,
.wpcf7-display-none {
    display: none;
}

div.wpcf7 .ajax-loader {
	visibility: hidden;
	display: inline-block;
	background-image: url('../img/lightbox/loading.gif');
	width: 16px;
	height: 16px;
	border: none;
	padding: 0;
	margin: 0 0 0 4px;
	vertical-align: middle;
}

span.wpcf7-list-item-label::before,
span.wpcf7-list-item-label::after {
    content: " ";
}

div.wpcf7 .ajax-loader.is-active {
    visibility: visible;
}

div.wpcf7 .placeheld {
    color: #888;
}

div.wpcf7 input[type="file"] {
    cursor: pointer;
}

div.wpcf7 input[type="file"]:disabled {
    cursor: default;
}

div.wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
}


.ks_d-flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
/*Responsive certificate page*/
.content {
    width: 100%;
    max-width: 960px;
}
.page-certificate-responsive {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}
@media (max-width: 991px) {
    .page-certificate-responsive .page-certificate__item {
        width: 25%;
        min-width: 190px;
        margin: 0px 0px 30px;
    }
    .content {
        padding: 15px 10px 0px;
        margin-bottom: 0px;
    }
}
@media (max-width: 380px) {
    .page-certificate-responsive {
        flex-direction: column;
        align-items: center;
    }
    .page-certificate-responsive .page-certificate__item {
        width: 100%;
        max-width: 200px;
    }
}


/*Catalog block*/
.catalog_product_section {
    padding-bottom: 60px;
}
.catalog_product_section .textur__title {
    margin-bottom: 0px;
}
.catalog_product_section .product__title {
    margin-top: 40px;
    margin-left: 54px;
}
.order-wrap_order2 {
    padding-top: 30px;
    padding-bottom: 75px;
}
.product_catalog_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%;
    padding: 0px 10px;
    margin-bottom: 50px;
    text-decoration: none;
}
.product_catalog_item img {
    display: block;
    max-width: 218px;
    max-height: 218px;
    transition: all 0.3s;
}
.product_catalog_item:hover img {
    transform: translateY(-10px);
}
.container-1400 {
    max-width: 1400px;
    padding: 0px 10px;
    margin: 0px auto;
}
.catalog_product_section .product__name {
    padding: 0px;
}

.catalog_product_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}
.catalog_product_section .product__name {
    font-size: 13px;
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: 700;
    color: #242427;
    letter-spacing: 0.09rem;
}
@media (max-width: 991px) {
    .product_catalog_item {
        width: 33.33%;
    }
}
@media (max-width: 767px) {
    .product_catalog_item {
        width: 50%;
    }
    .catalog_product_section .product__title {
        margin-left: auto;
        margin-right: auto;
    }
    .catalog_product_section .product__title::before {
        margin-bottom: 10px;
    }
}
@media (max-width: 480px) {
    .product_catalog_item {
        width: 100%;
        margin-bottom: 30px;
    }
    .catalog_product_wrap {
        flex-direction: column;
        margin-top: 10px;
    }
    .catalog_product_section {
        padding-bottom: 30px;
    }
    .order-wrap_order2 {
        order: 6;
        padding-top: 0px;
    }
}

/*Product page*/
.castom_product_page {
    font-family: "Museo Sans", sans-serif;
    color: #242427;
}
.container_1100 {
    max-width: 1130px;
    padding: 0px 15px;
    margin: 0px auto;
}
.product_info_section {
    padding-top: 50px;
}
.img_info-row {
    position: relative;
}
.product_info_section .img_info-row > div {
    width: 50%;
}
.ks_breadcrumbs_row {
    background-color: #EFEFEF;
    padding: 12px 0px;
}
.producty_breadcrumbs .breadcrumbs__item {
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    color: #242427;
}
.producty_breadcrumbs .breadcrumbs__item::after {
    content: '|';
    color: #000;
    padding: 0px 12px 0px 14px;
}
.producty_breadcrumbs .breadcrumbs__item:last-child::after {
    display: none;
}
.producty_breadcrumbs .breadcrumbs__item_cur {
    color: #69696E;
}
.prosuct__content {
    font-size: 14px;
    color: #5F5F65;
    line-height: 20px;
    font-weight: 300;
    margin-bottom: 35px;
}
.procuct_properties_row {
    font-size: 14px;
    border-bottom: 1px dotted #D9D9DA;
    color: #242427;
    padding: 10px 0px 8px;
    margin-bottom: 3px;
}
.procuct_properties_row > div {
    width: 50%;
}
.properties_slag {
    font-weight: 700;
}
.properties_value {
    font-weight: 300;
    padding-left: 10px;
}
.properties-teble {
    margin-top: 50px;
    margin-bottom: 20px;
}
.ks_product_img_wrap {
    border: 6px solid #E9E9E9;
    margin-bottom: 40px;
}
.ks_product_img_wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}
.ks_product_img_col {
    padding-right: 30px;
}
.ks_product_info_col {
    padding-left: 30px;
}
.product_title_wrap {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}
.product_title_wrap .blog__title {
    font-weight: 700;
    margin-left: 0px!important;
}
.product_info_section .blog__title {
    padding-top: 0px;
    margin-left: -30px;
    margin-right: 0px;
}
.product_info_section h1.blog__title {
    padding-right: 120px;
}
@media (min-width: 960px) {
    .product_info_section .blog__title::before {
        top: 15px;
    }
}

.ks_sub_img_icon_row {
    margin-bottom: 30px;
    flex-wrap: wrap;
    opacity: 0.7;
}
.ks_sub_img_icon_row > div {
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.ks_sub_img_icon_row img {
    max-width: 50px;
    max-height: 50px;
}
.content_logo {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 5;
    width: auto!important;
}
@media (max-width: 960px) {
    .product_title_wrap {
        display: flex;
        margin-bottom: 50px;
    }
    .product_info_section h1.blog__title {
        display: none;
    }
    .img_info-row {
        flex-direction: column;
    }
    .product_info_section .ks_product_info_col {
        max-width: 560px;
        width: 100%!important;
        padding: 0px;
    }
    .product_info_section .ks_product_img_col {
        display: flex;
        align-items: flex-start;
        width: 100%!important;
        padding-right: 0px;
    }
    .ks_sub_img_icon_row {
        flex-direction: column;
        align-items: center;
        width: 100px;
        margin-top: 70px;
    }
    .ks_product_img_wrap {
        width: calc(100% - 140px);
        margin-right: 40px;
    }
    .properties-teble {
        margin-top: 20px;
    }
    .ks_sub_img_icon_row img {
        max-width: 44px;
        max-height: 44px;
    }
    .ks_sub_img_icon_row > div {
        margin-bottom: 25px;
    }
}
@media (max-width: 540px) {
   .product_info_section .ks_product_img_col {
        flex-direction: column;
   } 
   .ks_product_img_wrap {
        width: 100%;
        margin-right: 0px;
    }
    .content_logo {
        display: none;
    }
    .product_title_wrap {
        margin-bottom: 30px;
    }
    .ks_sub_img_icon_row {
        flex-direction: row;
        justify-content: center;
        margin-top: 0px;
        width: 100%;
    }
    .ks_sub_img_icon_row img {
        max-width: 34px;
        max-height: 34px;
    }
    .ks_sub_img_icon_row > div {
        padding: 0px 9px;
        margin-bottom: 10px;
    }
    .ks_sub_img_icon_row > div:first-child {
        padding-left: 0px;
    }
    .ks_sub_img_icon_row > div:last-child {
        padding-right: 0px;
    }
    .ks_product_img_wrap {
        margin-bottom: 20px;
    }
    .ks_sub_img_icon_row {
        margin-bottom: 0px;
    }
    .ks_breadcrumbs_row {
        display: none;
    }
    .product_info_section {
        padding-top: 30px;
    }
}
@media (max-width: 380px) {
    .procuct_properties_row {
        font-size: 11px;
    }
    .prosuct__content {
        text-align: center;
        font-size: 13px;
    }
}

/*======Forma======*/ 
.product_form {
    border: 6px solid #E9E9E9;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
}
.product_form form {
    position: relative;
}
.product_price {
    font-weight: 700;
    font-size: 14px;
    margin-top: -50px;
    margin-bottom: 10px;
}
.product_price span {
    color: #D3261F;
    font-size: 22px;
    display: inline-block;
    margin-left: 5px;
}
.ks_form_btn {
    color: #fff;
    font-family: "Museo Sans Cyrl 500";
    font-size: 13px;
    letter-spacing: .87px;
    text-transform: uppercase;
    background-color: #d3261f;
    border: none;
    cursor: pointer;
    padding: 14px 32px;
    outline: none;
    transition: all 0.3s;
}
.ks_form_btn:hover {
    background-color: #c70800;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
}
.label-text, .castom_select_label {
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-left: 20px;
    margin-bottom: 8px;
}
.label-foll {
    margin-bottom: 20px;
    display: block;
}
.product_form select, .product_form input[type="number"], .product_form input[type="text"], .product_form input[type="tel"] {
    display: block;
    width: 100%;
    padding: 9px 10px;
    height: 38px;
    border: 1px solid #242427;
    border-radius: 0px;
    outline: none;
    font-size: 14px;
}
.hidden_input_wrap {
    margin-top: 20px;
    display: none;
}
.hidden_input_wrap > div {
    margin-bottom: 10px;
}
.parameter-form-row > label {
    width: 50%;
}
.product_name_hidden {
    display: none;
}
.quantity_label {
    padding-right: 10px;
}
.size_label {
    padding-left: 10px;
}
.product_btn_wrap {
    align-items: flex-end;
    flex-direction: column;
    margin-top: 30px;
}
.checkbox_wrap {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 300;
    font-family: "Museo Sans Cyrl 300";
    color: #555;
}

/*Form castom product list*/
.post_form_list {
    margin-bottom: 20px;
    border: 1px solid #000;
    padding: 0px;
    position: absolute;
    top: 39px;
    left: 0px;
    width: 100%;
    background-color: #fff;
    z-index: 8;
    box-shadow: 0px 3px 10px rgba(0,0,0,0.05);
    display: none;
}
.js_list_open {
    display: block!important;
}
.castom_select {
    border: 1px solid #000;
    height: 40px;
    padding: 10px;
    padding-right: 30px!important;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    z-index: 8;
}
.castom_select:hover {
    background-color: transparent!important;
}
.castom_select::before {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -2px;
    right: 10px;
    width: 11px;
    height: 7px;
    background-image: url(img/11doun.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}
.castom_select_wrap {
    position: relative;
}
.form_product_row {
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    padding: 2px 10px;
}
.castom_select {
    margin-bottom: 25px;
}
.form_product_row:hover {
    background-color: #ececec;
}
.img_product_row {
    margin-right: 10px;
    width: 23px;
}
.title_product_row {
    width: calc(100% - 33px);
}
.img_product_row img {
    width: 23px;
    height: 23px;
    object-fit: cover;
}

.product_form .wpcf7-response-output {
    position: absolute;
    bottom: -40px;
    left: 0px;
    padding: 10px 0px;
}





/*product_table_section start*/
.ks_table * {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}
.tb_header > div, .tb_header .td_3_wrap > div {
    background-color: #232325;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}
.td_teh_p {
    width: 25%;
}
.td_size {
    width: 20%;
}
.td_3_wrap {
    width: 55%;
    padding: 0px!important;
    background-color: transparent!important;
    margin: 0px!important;
}

.td_weight {
    width: 20%;
}
.td_ploch {
    width: 43%;
}
.td_price {
     width: 20%;
}
.td_waga {
    width: 17%;
}

.td_row > div, .td_3_wrap > div {
    padding: 10px;
    text-align: center;
    justify-content: center;
    margin: 0px 1px 1px 0px;
}
.td_row {
    font-size: 14px;
}

.big-border {
   background-color: #fff;
   border: 4px solid #E6E6E6;
   align-items: center;
}
.big-border img {
    max-width:100%;
}
.td_3_wrap_repet {
    flex-direction: column;
}
.td_3_wrap > .td_parent_ks {
    background: #E6E6E6;
    align-items: center;
    padding: 0px!important;
    flex-grow: 1;
}
.td_parent_ks > div {
    padding: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
    height: 100%;
}
.td_parent_ks:nth-child(even) {
    background-color: #FAFAFA;
}

/*Условие если нужно сделать первый ряд светлым цветом.*/
.castom_row_bg .td_3_wrap_repet> div:nth-child(odd) {
    background-color: #FAFAFA;
}
.castom_row_bg .td_3_wrap_repet> div:nth-child(even) {
    background-color: #E6E6E6;
}

.product_table_section {
    padding: 30px 0px 60px;
}
.product_table_section h2, .product_table_section h2 {
    margin-left: 0px;
}
.product_table_wrap {
    margin-top: 30px;
    overflow-x: auto;
}
.product_table_wrap .ks_table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    min-width: 660px;
}
.teble_subtitle {
    margin-left: 30px;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 960px) {
    .tb_header > div, .tb_header .td_3_wrap > div {
        font-size: 11px;
    }
    .td_row {
        font-size: 11px;
    }
    .teble_subtitle {
        text-align: center;
        font-size: 16px;
        margin: 25px 0px 0px;
    }
}
@media (max-width: 480px) {
    .product_form {
        padding: 30px 10px 50px;
    }
    .title_product_row {
        font-size: 12px;
    }
    .label-text, .castom_select_label {
        margin-left: 0px;
    }
    .product_price span {
        font-size: 18px;
    }
    .product_table_section {
        padding-top: 0px;
    }
}   

/*Slider*/
.related_product_section {
    background-color: #F4F4F4;
    padding: 20px 0px 60px;
}
.related_product_section .product_title {
    background-color: transparent;
    margin: 0px;
}
.slider_product_container {
    max-width: 1270px;
    padding: 0px 15px;
    margin: 0px auto;
}
.related_product_slider {
    margin-top: 50px;
}
.related_product_slid a.product_catalog_item {
    background-color: #fff;
    display: flex;
    padding: 10px 10px 40px;
    width: 260px;
    margin-bottom: 0px;
    outline: none;
}
.related_product_slider {
    padding-bottom: 70px;
}
.related_product_slid {
    margin: 0px 25px;
}
.related_product_slid .product__name {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    padding: 0px;
}

.related_product_slider .slick-arrow {
    position: absolute;
    bottom: 0px;
}
.related_product_slider  .slick-next {
    right: 50%;
    margin-right: -40px;
}
.related_product_slider .slick-prev {
    left: 50%;
    margin-left: -40px;
}
@media (max-width: 1260px) {
    .related_product_slid {
        margin: 0px;
        padding: 0px 10px;
    }
    .related_product_slid a.product_catalog_item {
        width: auto;
        max-width: 300px;
        margin: 0px auto;
    }
}
@media (max-width: 480px) {
    .related_product_slid .product__name {
        font-size: 10px;
    }
    .related_product_slid a.product_catalog_item {
        padding-bottom: 20px;
    }
    .related_product_slider {
        padding-bottom: 50px;
    }
    .related_product_section {
        padding: 0px 0px 40px;
    }
    .related_product_slid {
        padding: 0px 8px;
    }
    .slider_product_container {
        padding: 0px;
    }
}
.tz1-task12-table {
    border-collapse: collapse;
}
.text-block__table_max .tz1-task12-table tbody td:first-child {
    font-weight: 700;
}
.text-block__table_max .tz1-task12-table tbody td:last-child {
    text-align: left;
}
.text-block__table .tz1-task12-table tbody tr:nth-child(even) {
    background-color: #e7e7e7;
}