.table-wrap {
	overflow: auto;
}

.modal-modified #smeta {
	overflow: auto !important;
}

.modal-modified #smeta > p:first-of-type {
	text-align: center;
}

.intec-content-modified {
	padding-left: 10px;
	padding-right: 10px;
}

.reviews-box {
	text-align: center;
}

@media (min-width:1024px) {
	.modal-dialog {
		width: 99%;
	}

}

@media (max-width:1199px) {
	.employees-block > .col-lg-6:nth-child(2n+1):not(:first-child) > .row > .col-lg-5 {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: reverse;
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}

}

@media (max-width:1024px) {
	.modal-modified #smeta > p:first-of-type img {
		max-width: unset;
	}

}

.proects-main-page {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	background: #ecebeb;
	padding: 15px 0;
}

.proects-item {
	display: block;
	max-width: 400px;
	background: #fff;
	margin-bottom: 15px;
	cursor: pointer;
	text-decoration: none;
	color: rgb(128, 128, 128);
}

.proects-item:hover {
	text-decoration: none;
	color: rgb(128, 128, 128);
	box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
	margin-top: -1px;
	transition: all 350ms;
}

.proects-item div {
	padding: 0 15px 15px;
	text-transform:lowercase;
}

.proects-item p {
	padding: 0 15px;
	margin: 5px 0;
}

.proects-item img {
	width: 100%;
	max-width: 100%;
}

.proects-item_name {
	color: red;
}

#estimate-example .fancybox-close-small {
	transform: unset;
	color: white;
}

/* FORM OLD*/
#form-sec {
	background-color: #ecebeb;
}

#form-sec p.fs-20 {
	font-size: 24px !important;
}

#form-sec li.fs-20 {
	font-size: 22px !important;
}

#form-sec .form-2 p.fs-20 {
	font-size: 18px !important;
	margin: 0 !important;
}

#form-sec h2 {
	font-weight: 500;
	line-height: 36px;
	font-size: 35px;
}

.zapros_raschet {
	width: 100%;
	max-width: 700px;
	margin-right: auto;
	border: 1px solid black;
}

.zapros_raschet .form-group {
	display: table;
	width: 100%;
	background: #f2f2f2;
	margin: 0px;
	padding: 10px;
}

.zapros_raschet .form-group:nth-child(even) {
	background: #fcfcfc;
}

.zapros_raschet .form-group:not(:nth-child(8)) {
	border-bottom: 1px solid black;
}

.zapros_raschet .form-group > div,
.zapros_raschet .form-group > label {
	display: table-cell;
	width: 50%;
	font-size: 16px;
}

.zapros_raschet .form-group input {
	display: block;
	margin-left: auto;
	width: 100%;
}

.zapros_raschet .form-group .controls {
	display: block;
	width: 100%;
}

.zapros_raschet .form-group input[type="submit"] {
	font-size: 17px;
	font-family: "RobotoCondensed-Regular", arial;
	padding: 0 20px;
	height: 35px;
	line-height: 34px;
	background: #ee6157;
	border: 0;
	outline: 0;
	text-transform: uppercase;
	color: #fff;
	border: 2px solid #ee6157;
}

.form-page-wrapper {

	/*	margin: 0 auto;
		max-width: 698px;*/

	/*	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	align-items: flex-start;*/
	max-width: 1384px;
	margin: 0 auto;
}

.form-page-wrapper__bloc-list {
	margin: 0 20px;
}

.form-page-wrapper__block-form {
	margin: 0 20px;
}

.custom-radio {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.custom-radio input {
	margin-right: 10px;
	margin-left: 10px;
}
@media (max-width:650px) {
	input[type="file"]{
	  font-size: 13px;
	}

	.zapros_raschet .form-group {
		display: flex;
		flex-flow: row wrap;
	}

	.zapros_raschet .form-group > * {
		margin: auto;
	}

}

/*END FORM OLD*/

/* Table modal old*/
.nhead {
	margin: 10px 0;
	height: 0 20px 20px 20px;
}

.nhead__left {
	font-weight: bold;
	float: left;
	padding-left: 50px;
}

.nhead__right {
	color: red;
	float: right;
	padding-right: 50px;
}

.ntable {
	width: 100%;
}

.ntable td {
	text-align: center;
	border: 1px solid !important;
	background-color: #fff !important;
	color: #000 !important;
}

.ntable thead td {
	font-weight: bold;
}

.ntable tbody td {
	padding: 8px 0;
}

.ntable tr td.number {
	width: 30px;
}

.ntable tr td.all {
	background-color: #F2F2F2 !important;
	font-size: 24px;
	padding: 15px 0 15px 185px;
	text-align: left;
}

.ntable .itog td {
	font-weight: bold;
	padding: 8px 0;
	border: none;
}

.ntable .itog td:first-child {
	border-left: 1px solid #000;
	text-align: left;
	padding-left: 52px;
	font-size: 24px;
}

.ntable .itog td.last {
	border: 1px solid #000;
}

.index-prop__title {
	font-size: 20px;
	color: #EE6157;
	margin-bottom: 11px;
	margin-top: 16px;
	margin-left: -3px;
	letter-spacing: -0.1px;
	text-transform: uppercase;
}

.index-prop__list-col {
	width: 52%;
	display: inline-block;
	vertical-align: top;
	margin-left: -3px;
}

.index-prop__list-col:last-child {
	margin-left: -5px;
	width: 48%;
}

@media (max-width:767px) {
	.index-prop__list-col {
		display: block;
		width: auto;
	}

	.index-prop__list-col:last-child {
		margin-left: 0;
		width: auto;
		display: block;
	}

}

.index-prop__list {
	margin-top: 38px;
	padding-bottom: 20px;
}

.index-prop__list-col-title {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 40px;
}

.index-prop__list-col-i {
	margin-bottom: 30px;
}

@media (max-width:1199px) {
	.fancybox-stage .fancybox-slide::before {
    content: none;
	}
}

@media (max-width:1029px) {
	.index-prop__list-col-i {
		min-height: 171px;
		clear: both;
	}

}

@media (min-width:1030px) {
	.index-prop__list-col-i-col {
		display: inline-block;
		vertical-align: top;
		width: 155px;
	}

	.index-prop__list-col-i-col:last-child {
		width: 300px;
		padding-left: 10px;
	}

}

@media (max-width:1029px) {
	.index-prop__list-col-i-col:first-child {
		width: 155px;
		float: left;
	}

	.index-prop__list-col-i-col:last-child {
		margin-left: 165px;
		margin-right: 10px;
	}

}

.index-prop__list-col-i-col h2 {
	font-size: 14px;
	font-weight: bold;
	margin-top: -3px;
	line-height: 20px;
}

.index-prop__list-col-i-col p {
	line-height: 20px;
}

.index-prop__list-col-i-col span {
	display: block;
	color: #EE6157;
	font-weight: bold;
}

/*END Table modal old*/
#estimate-example {
	max-width: 1138px;
}

#estimate-example.fancybox-content {
	padding: 16px;
}
.hidden-table-smeta_img{
	width: 100%;
}

/*.ok-check *:before, .ok-check *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ok-check input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.ok-check label {
  position: relative;
  cursor: pointer;
}

.ok-check label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid red;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 10px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.ok-check input:checked + .ok-check label:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid #0079bf;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}*/

.gallery-main-title{
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    color: #1b1e25;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

.gallery-main-button-block{
	text-align: center;
	margin: 35px 0;
}
@media (max-width: 520px){
.proects-main-page {
	padding: 0px 0;
	margin-bottom: -14px;
}

}
	
@media (max-width: 500px){
	.gallery-main-title{
	    font-size: 18px;
	}
}

@media (max-width: 720px){
	.gallery-main-title{
	    font-size: 22px;
	}
}

input[type=checkbox]:checked + span{
	background-color: initial !important;
}


/* Mobile hero video fix */
@media (max-width: 768px) {
    .c-slider.c-slider-template-3 .widget-item-video {
        display: block !important;
    }
}
