/*
Theme Name: bytovok
*/
.table-calc {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    vertical-align: middle;
}
.table-cell {
    display: table-cell;
    vertical-align: inherit;
    text-align: center;
    padding: 10px;
    border: 1px solid #42f45c;
    cursor: pointer;
}



.table-cell.active {

    background-color: #f6f6f6;
    cursor: default;

}
@media (max-width: 650px) {
.table-cell {
    display: block;

}
}
.calc-item {display:none;}
.calc-item.active {display:block;}


.calc-item-block {
    margin-top: 30px;
    display: inline-block;
    width: 100%;
}
.calc-item-block span {
    font-weight: bold;
    font-size: 20px;
    display: block;
}
.calc-item-block label {
    margin-left: 8px;
    margin-right: 15px;
}
.calc-razmer p {
    float: left;
}
.rass-obs {
    max-width: 200px;
    margin-top: 40px !important;
    display: block;
	float: left;
}
 .mbtn-default-zakazat-calc, .btn-default-zakazat-calc, .kbtn-default-zakazat-calc{
    float: left;
    margin-top: 40px;
    width: 200px;
    height: 39px;
    line-height: 26px;
	display: none;
}
.button-link-dostavka-calc { max-width: 200px;}
.btn-wrap-calc {
    display: inline-block;
    width: 100%;
}
.summ-calc-result,  .msumm-calc-result,  .ksumm-calc-result {display: none;float: left;
margin-top: 45px;
margin-left: 20px;
margin-right: 30px;
font-size: 22px;
color: #42f45c;}

.summ-calc-result span,  .msumm-calc-result span,  .ksumm-calc-result span{
    font-weight: bold;
    font-size: 32px;
}

.btn-link a:last-child {

    float: right;
}
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

}
.modal-dialog-centered {
    min-height: calc(100% - (1.75rem * 2));
}
.modal form label, .modal form label span, .modal form label span input {width:100%}
.modal-title {

    font-size: 30px;
    text-align: center;
    width: 100%;
    display: block;
}
.modal-header .close {
    margin-top: -52px;
}
.modal-header .close span {
   font-size: 30px;
}
.fancybox-wrap {

    opacity: 1 !important;
}
header {top: 0 !important}

.menu-footer-2 {
    list-style-type: none;
    padding-left: 0;
}
.menu-footer-2 a:hover {
color:#41f480;
}

.CKiForm .ajax-loader {

    display: none !important;
}

.CKiForm .checkbox-178 .wpcf7-not-valid-tip {

    display: none;

}


.CKiForm div.wpcf7-validation-errors {

    display: none !important;
}
.wpcf7 .clearfix {
    width: 100%;
}
.CKiForm div.wpcf7-mail-sent-ok {

    color: #000;
}
.items-rp-r-t .col-md-3{margin-bottom:15px}
.items-rp-r-t img{margin-bottom:5px}
.navigation.pagination{

    width: 100%;
    display: inline-block;

}
.navigation.pagination .nav-links {

    width: 100%;
    display: inline-block;
    text-align: center;

}
.navigation.pagination .nav-links span {
width: auto;

height: auto;
    display: inline-block;
    padding-left: 10px !important;
    padding-right: 10px !important;

}
.navigation.pagination .nav-links a {

    padding-left: 10px !important;
    padding-right: 10px !important;

}
.page-text p {
	margin-bottom:20px
}
.alignleft {
	float:left;
	margin-right:15px;
}
.alignright {
	float:right;
	margin-left:15px;
}
.aligncenter {
	display:block;
	margin-left:auto;
		margin-right:auto;
}
.alignnone {
	display:block;

}
html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

html {
    overflow-x: visible;
    overflow-y: visible;
}
@media (max-width: 440px) {
.logo-row .logo img {
    max-width: 155px;
}
}
.proizv {

    background-position: center !important;
}
.block-navigation-container .block-round {
border-radius: 0 !important;
}
.min-img-tovar {

    width: 100%;
}

.windows-price-block-windows .img-pos {
    display: inline-block;
    min-height: 230px;
    margin-bottom: 20px;
}
.callibri_phone span {
color: #222222 !important;
	font-size:16px !important;
	}

.h3span {
    display: block;
    font-weight: bold;
    margin-top: 30px;
}
/********************************
BASKET CSS (at the header basket's block)
********************************/
.basket-row {
	display:flex;
	align-items:center;
	padding-right: 15px;
}
.header-cart {
	display:inline-flex;
	align-items:center;
}
.header-cart .right {
	padding-left:10px;
}
.header-cart .left img,
.product-basket-img,
.mobile__left img {
	max-width:30px;
	height: auto;
}
/********************************
BASKET TABLE CSS (table element's css)
********************************/
.price span {
	font-size: 29px;
	color: #E32636;
	font-weight: bold;
}
.main-basket .product-number-wrp,
.block-basket .product-number-wrp {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.main-basket .product-number-wrp {
	margin-left: auto;
	margin-right: auto;
	display: inline-flex;
}
.main-basket .product-number-text,
.block-basket .product-number-text {
    font-weight: 600;
    padding-right: 10px;
}

.main-basket .product-minus,
.main-basket .product-plus,
.block-basket .product-minus,
.block-basket .product-plus {
    border: solid 1px #d6d6d6;
    width: 22px;
    height: 22px;
    color: #FF0000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.main-basket .products-number-input,
.block-basket .products-number-input {
    margin: 0 10px;
    max-width: 45px;
    padding: 10px 10px;
    border:solid 1px #c7c7c7 !important;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.main-basket .products-plus,
.block-basket .product-plus {
    border: solid 1px #d6d6d6;
    width: 22px;
    height: 22px;
    color: #FF0000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/********************************
BASKET FORM CSS (form element's css)
********************************/
.block-basket .product-text {
    padding-left: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 15px 0;
    position: relative;
}

.block-basket .product-text::before {
    position: absolute;
    content: '';
    width: 15px;
    height: 20px;
    top: calc(50% - 10px);
    left: 0;
    background: url("http://sitetop.pro/mkontainer/wp-content/uploads/2019/03/tick_mark.png") no-repeat;
    background-size: auto;
    background-size: cover;
}

.block-basket .add-to-cart {
    background-color: #000;
    padding: 10px 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    max-width: 275px;
    justify-content: center;
    margin-top: 60px;
    transition: all linear 300ms;
	border-color: #000;
}

.shopping-popup-block .popup-continue-shopping:hover,
.shopping-popup-block .popup-continue-shopping:focus,
.shopping-popup-block .popup-continue-shopping:active,
.block-basket .add-to-cart:hover,
.block-basket .add-to-cart:focus,
.block-basket .add-to-cart:active {
	background-color: #0b0b0b99;
}
.block-basket .product-basket-img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.block-basket .product-basket-click {
    font-weight: 600;
    padding: 5px 10px;
    text-align: center;
    display: flex;
    max-width: 275px;
    justify-content: center;
    background-color: #E32636;
    color: #fff;
    margin-top: 15px !important;
    transition: all linear 300ms;
	border-color: transparent;

}

.popup-show-cart:hover,
.popup-show-cart:focus,
.popup-show-cart:active,
.shopping-popup-block .popup-show-cart:hover,
.shopping-popup-block .popup-show-cart:focus,
.shopping-popup-block .popup-show-cart:active,
.block-basket .product-basket-click:hover,
.block-basket .product-basket-click:focus,
.block-basket .product-basket-click:active {
	background-color: #E3263680;
	border-color: #000;
}
/****************************************
 			POP-UP BASKET CSS
 ****************************************/
.shopping-popup-block {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
}
.shopping-popup-block .shopping-popup-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.shopping-popup-block .shopping-popup-title {
    font-size: 18px;
    font-weight: 600;
}
.shopping-popup-block .shopping-popup-line {
    width: 100%;
    height: 2px;
    background-color: #e07968;
    display: block;
    margin: 15px 0;
}
.shopping-popup-block .popup-continue-shopping, .shopping-popup-block .popup-show-cart {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px 20px;
    margin-top: 20px;
    width: 100%;
    display: block;
    transition: all linear 300ms;
}
.shopping-popup-block .shopping-popup-left, .shopping-popup-block .shopping-popup-right {
    max-width: 48%;
    position: relative;
}
.shopping-popup-block .popup-show-cart {
    background-color: #E32636;
    position: absolute;
    bottom: 0;
}
.mfp-inline-holder .mfp-content {
    max-width: 600px;
    padding: 30px;
    background-color: #ffffff;
}

/****************************************
 			FORM BASKET CSS
 ****************************************/

.main-basket input[type], .main-basket  textarea {
    border: solid 1px #e9e9e9;
	padding: .7em 0em;
	color: #555;
	transition: all linear 500ms;
}

.main-basket input[type]:hover,
.main-basket input[type]:focus,
.main-basket input[type]:active,
.main-basket  textarea:hover,
.main-basket  textarea:focus,
.main-basket  textarea:active {
	border-color: #8a8888;
}


.main-basket .popup-cart-form {
    display: flex;
    max-width: 1000px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.form__left-block {
    width: 45%;
}
.form__left-block .popup-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin: 20px 0;
}
.main-basket .popup-plabel {
    margin-bottom: 5px;
    margin-top: 15px;
}
.main-basket .popup-cart-form input {
    outline: none;
	width: 100%;
}
.form__left-block .popup-plabel-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.form__left-block .popup-plabel-wrap {
    width: 47%;
}
.form__left-block .input-text {
    width: 100%;
}
.label__radio-block {
    margin-top: 30px;
}
.popup-plabel-pay {
    display: inline-block;
    font-weight: 500;
}
.main-basket .popup-cart-form input[type="radio"] {
	width:unset;
	margin-right:5px;
}
.form__right-block {
    width: 45%;
    padding-top: 40px;
}
.form__right-block .popup-plabel {
    font-size: 14px;
    margin-top: 5px;
}
.form__right-block .label__radio-wrap {
    margin-top: 30px;
    margin-bottom: 30px;
}
.form-line {
    width: 100%;
    height: 2px;
    background-color: #3498db;
    margin: 30px 0;
}
.form__btn-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.sogla {
    max-width: 430px;
    font-size: 12px;
    margin-top: 10px;
}
.sogla a {
    display: block;
    font-size: 15px;
}
.popup-show-cart {
    background-color: #E32636;
    color: #fff;
    padding: 5px 20px;
    margin-top: 20px;
    display: block;
    transition: all linear 300ms;
    width: 275px;
    justify-content: center;
    text-align: center;
    transition: all linear 300ms;
	border: solid 1px transparent;
}

/****************************************
 			TABLE BASKET CSS
 ****************************************/
.main-basket .cart-form {
    max-width: 1000px;
    border: solid 1px #f6f6f6;
}
.main-basket .cart-titles {
    margin-bottom: 0;
    border-bottom: none;
}
.main-basket table {
    width: 100%;
}
.main-basket tr {
    vertical-align: middle;
}

 .main-basket td {
	 border: solid 1px #e9e9e9;
	 padding: 5px;
	 vertical-align: middle;
}
.main-basket td {
    width: 15%;
}
.main-basket td:nth-child(1) {
    width: 15%;
}
.main-basket td:nth-child(1) img {
    margin-top: 0;
}
.main-basket td:nth-child(2) {
    width: 25%;
}
.main-basket td:nth-child(3) {
    width: 15%;
}
.main-basket td:nth-child(4) {
    width: 20%;
}

.main-basket td:nth-child(6) {
    width: 10%;
}
.main-basket .product-number-wrp {
	margin-bottom:20px;
}
.cart-close {
    display: inline-flex;
    position: relative;
    cursor: pointer;
    left: -10px;
}
.cart-close::after, .cart-close::before {
    position: relative;
    content: '';
    top: 0;
    left: 50%;
    width: 15px;
    height: 2px;
    background-color: #FF0000;
    transform: rotate(45deg);
}
.cart-close::after {
    transform: rotate(-45deg);
    left: 0;
}
.ct-single-product td{
	text-align:center;
}
.main-basket .cart-sum {
    text-align: right;
    font-weight: 600;
    padding-right: 20px;
}
.cart-delete p {
	margin-bottom:0;
}
.main-basket .cart-sum {
	margin-top:20px;
}
.main-basket .cart-sum-span {
    color: #E32636;
    font-size: 24px;
}

/********************************************
 MEDIA CSS FOR POP-UP, TABLE, FORM, HEADER BASKET
 *******************************************/
@media only screen and (max-width: 1160px){
.form__left-block .popup-plabel-wrap {
    width: 100%;
}
}
@media only screen and (max-width: 1060px){

	.main-basket .cart-titles {
		display: none;
	}
	.main-basket .cart-product td {
		border: none;
	}
	.main-basket td {
		display: inline-block;
	}
	.main-basket td:nth-child(1) {
		width: 33%;
	}
	.main-basket td:nth-child(2) {
		width: 63%;
	}
	.main-basket td:nth-child(3) {
		width: 25%;
	}
	.main-basket td:nth-child(4) {
		width: 33%;
	}
	.main-basket td:nth-child(5) {
		width: 23%;
	}
	.main-basket td:nth-child(6) {
		width: 15%;
	}

}

@media only screen and (max-width: 799px) and (min-width: 768px)  {
.email-header-block {
    margin-right: 5px;
}
	.email-header-block {
    margin-right: 5px;
}
	.basket-row {
		padding-right: 5px;
	}
}
	@media only screen and (max-width: 768px){
		.header-cart__mobile {
	top: -45px !important;
	margin-right: 45px;
	position: absolute;
	right: 0;
	z-index: 100;
	}
	.header-cart__mobile .left,
	.header-cart__mobile .right {
		display:inline-block;
	}

	.basket-row__mobile {
		width:100%;
		}

	.basket-row__mobile .basket-row {
		padding: 8px;
		background-color: #eceff1;
		border-bottom: solid 1px #b6b6b6;
		}
	.mega-menu ul.nav li:last-child > a {
			border-bottom: solid 1px #e1e4e6;
		}
	}

@media only screen and (max-width: 600px){
	.shopping-popup-block .shopping-popup-left,
	.shopping-popup-block .shopping-popup-right {
		max-width:100%;
	}
	.shopping-popup-right img {
		max-width:60%;
		max-width: 50%;
	margin: 0 auto;
    margin-top: 0px;
	display: block;
	margin-top: 20px;
	}
	.main-basket .popup-cart-form {
		max-width:100%;
	}
	.form__left-block,
	.form__right-block {
		width: 100%;
	}
	.logo-row .logo img {
    max-height: 37px;
}
	.main-basket td:nth-child(5) {
    width: 20%;
}
	.header-cart .right {
    padding-left: 5px;
}
	.header-cart__mobile {
    margin-right: 35px;
}
}
@media (max-width: 440px) {
	.main-basket td:nth-child(3),
	.main-basket td:nth-child(4),
	.main-basket td:nth-child(5),
	.main-basket td:nth-child(6) {
    width: 45%;
}
}
@media (min-width: 768px) {
.logo-row .logo img {


    margin-top: 30px;

}
}
.windows-price-block-windows .img-pos {
    display: block;
    height: 150px;
    margin-bottom: 20px;
	min-height: auto;
}
.block-4-items > .block-items-wrapper > div img, .block-5-items > .block-items-wrapper > div img {

    display: block;
    max-height: 100%;
    margin: 0 auto;
}

@media (max-width: 1130px) {
.block-navigation-tabs > div {

    width: 50%;
}
}
@media (max-width: 600px) {
.block-navigation-tabs > div {

    width: 100%;
}
	.title_block {

    padding-bottom: 0;

    margin-top: 8px;
}
}
.wp-caption {
	max-width: 100%;
}
.wp-caption img {

    height: auto;
}

.side-menu > li > a {

    font-size: 15px;

}
.front .btn-default {
    position: relative;

}
.front h3.short {
    display: none !important;
}
@media (max-width: 530px) {
.proizv p, .proizv strong {
    font-size: 16px;
    line-height: 20px;
}
	.proizv br {
    display: none;
}
		.proizv .btn {
   margin-top: 20px;
}
}


.topmenu-COLOR.fixed .logo-row .logo img {
    margin-top: 0px;
}

.windows-price-block-windows-item-size {

    display: block;
    width: auto;
}
.windows-price-block-windows-item-size b {
    min-height: 174px;
    display: block;
}
.windows-price-block-windows-item-size .button-round.button-grey {
	display: block;
}

.input-error {
    border-color: red !important;
}
#mainMenuF .menu-item-has-children {
	display: none;
}
.nav-osn .sub-menu {
	display: none;
}

.linkcatmenu {
	color: #333;
}
.fixed_menu-katalog:hover .linkcatmenu {
	color: #fff;
}
.page-slider.page-block-windows-options > .block-items-wrapper {

    white-space: normal;

}
.fixedsidebar {
	position: relative;
}

.imghomevideo {
    margin: 0 auto;
}

/* footer correction */
#footer {
  padding-bottom: 60px;
}
.footer_contacts i {
  color: #fff;
  padding-right: 5px;
}
.footer_company_name {
  font-weight: bold;
  margin-bottom: 5px;
}
.footer_phone {
  margin-top: 20px;
}
.footer_phone i {
  position: relative;
  top: 1px;
}
.footer_phone a.callibri_phone:hover {
  color: #fff !important;
}
.footer_phone .btn {
  margin-top: 10px;
}
.footer_address {
  margin-top: 10px;
}
.footer_address i {
  position: relative;
  top: 1px;
}
.footer_email {
  margin-top: 15px;
}
.footer_email a:hover {
  color: #fff !important;
}

/* product page video */
@keyframes video_btn {
  from {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: .1;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.product_video {
  margin-bottom: 25px;
  position: relative;
}
.product_video .video_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  font-family: 'object-fit: cover; object-position: center;';
}
.product_video a {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  position: absolute;
  z-index: 5;
  width: 120px;
  height: 120px;
  left: calc(50% - 60px);
  top: calc(50% - 60px);
  background: red;
  transform: scale(1);
  opacity: 1;
  animation: video_btn 3s infinite;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  border: 3px solid #fff;
}
.product_video a img {
  width: 68px;
  height: 78px;
  position: relative;
  left: 10px;
}
.wrapper_extra_product_video {
    margin: 80px 0;
}

@media (min-width: 992px) {
    .wrapper_extra_product_video {
        margin: 0 0 40px;
    }
}