@font-face {
	font-family: 'avant'; 
	src: url(../fonts/avant.ttf); 
}

body{
	background-color: #231616;
	font-family: 'avant', sans-serif;
	padding: 0;
	margin: 0;
}

.container{
	width: 1170px;
	margin: 0 auto;
}

.flex{
	display: flex;
}

header{
	background-color: #F0E9DD;
}

footer{
	background-color: #F0E9DD;
	min-height: 100px;
}

header img{
	max-width: 130px;
margin-left: -20px;
}

header .flex{
	align-items: center;
    justify-content: space-around;
    max-width: 950px;
}

header a + span{
	font-size: 26px;
	letter-spacing: 1px;
}

.content{
	padding: 40px 0;
}

.plitka-modal{
	display: none;
}

.list-plitka{
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.item-plitka:nth-child(3n+2){
	margin: 0 30px 30px !important;
}

.item-plitka{
	width: 280px;
	height:280px;
	/*background-color: #9f918b;*/
	background-color:#F0E9DD;
	background-size: cover;
	background-position: 50%;
	display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    font-size: 32px;
    border-radius: 3px;
    transition-duration: .5s;
    margin-bottom: 30px !important;
}

.item-plitka.use-plitka, .item-plitka.b-zayavka{
	cursor: pointer;
text-decoration: none;
}

.item-plitka a{
text-decoration: none;
}

/*.item-plitka.use-plitka:hover, .item-plitka.b-zayavka:hover{
	font-size: 42px;
	transition-duration: .5s;
}*/

.modal-form{
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.7);
	align-items: center;
    justify-content: center;
    z-index: 9;
}

.modal-content{
	background-color: #fff;
	padding: 30px;
	position: relative;
	z-index: 9999;
width: 360px;
}

.close-modal{
	position: absolute;
	top:0;
	right: 20px;
	font-size: 50px;
	transform: rotate(45deg);
	color: #fff;
	font-weight: 100;
	cursor: pointer;
	transition-duration: .5s;
}

.title-modal{
	width: 100%;
	font-size: 32px;
	text-align: center;
	margin-bottom: 30px;
}

.input-group{
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    margin-bottom: 15px;
}

.input-group label{
	font-size: 14px;
	margin-bottom:3px;
}

.input-group input{
	padding: 10px 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	font-size: 16px;
}

input[type="submit"]{
	width: 100%;
	height: 60px;
	background-color: #322629;
	border: none;
	font-size: 20px;
	border-radius: 3px;
	cursor: pointer;
	color: #fff;
}

.form-zayavka{
	display: none;
}

.form-zayavka.open, .plitka-modal.open{
	display: flex;
}

.plitka-modal{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.7);
	align-items: center;
    justify-content: center;
    z-index: 9;

}

.content-modal{
	background-color: #fff;
    padding: 30px;
    position: relative;
    z-index: 9999;
    box-sizing: border-box;
    width: 80%;
    height: 73%;
    font-size: 16px;
    /*overflow: auto;*/
}

.content-modal .portfolio{
	width: 100%;
	    max-height: 100%;
    overflow: hidden;

}

.portfolio-item {
    width: 49% !important;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
margin-top:25px;
}


.portfolio-item img{
	max-width: 100%;
	   /* width: auto !important;
    height: auto !important;*/
    max-height: 560px;
}

.portfolio-content{
	font-size: 18px;
}

.portfolio-slider .slick-track{
	    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.portfolio .slick-track{
	max-width: 100%;
	min-width: 100%;
}

.portfolio-slider > .slick-list{
	    height: 100%;
}

.owl-stage{
	display: flex;
} 

.owl-item{
	max-height: 100%;
    overflow: hidden;
    
}


.portfolio-slider .owl-nav{
	position: absolute;
	top:48%;
	width: 100%;
}

.portfolio-slider{
	position: relative;
}

.portfolio-slider .owl-item{
	display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-slider .owl-prev{
	left: 10px;
	position: absolute;
} 

.portfolio-slider .owl-next{
	right: 10px;
	position: absolute;
}

.portfolio-slider .owl-dots{
	margin-top: -20px;
display: flex;
    justify-content: center;
}

.portfolio-slider .owl-dots button{
	width: 16px;
    height: 2px;
    display: inline-block;
    border-radius: 2px;
    margin-right: 4px;
    border: none;
    background-color: #ccc;
}

.portfolio-slider .owl-dots button.active{
	background-color: #322629;
}

.portfolio-content{
	text-align: left;
	padding-left:20px;
}

.portfolio-slider .owl-nav button{
	width: 25px;
    height: 25px;
    display: flex;
    border-radius: 100%;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.portfolio-slider .owl-nav button span{
	color: #fff;
    font-size: 26px;
    line-height: 15px;
    display: block;
    height: 18px;
}

footer{
	padding: 20px 0;
	display: flex;
	align-items: center;
}

footer .container{
	display: flex;
	align-items: center;
    justify-content: space-between;
}

footer .container p{
	margin: 0 0 5px;
}

footer .container a img{
	width: 36px;
}

footer .container a{
	margin-right: 10px;
}

a{
	color: #231616;
}

.portfolio > .owl-nav, .slider-job > .owl-nav{
	width: 100%;
    position: absolute;
    top: 46%;
    left: 0;
}

.portfolio > .owl-dots, .slider-job > .owl-dots {
	display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    left: 0;
    bottom: -30px;
}

.portfolio > .owl-dots button, .slider-job > .owl-dots button{
	width: 24px;
    height: 4px;
    display: inline-block;
    border-radius: 2px;
    margin-right: 5px;
    border: none;
    background-color: #ccc;
}

.portfolio > .owl-dots button.active {
    background-color: #fff;
}

.portfolio > .owl-nav button, .slider-job > .owl-nav button{
	width: 44px;
    height: 44px;
    display: flex;
    border-radius: 100%;
    border: none;
    background: rgba(255, 255, 255, 1);
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    cursor: pointer;
}

.portfolio > .owl-nav .owl-prev {
    left: -22px;
    position: absolute;
}

.slider-job > .owl-nav .owl-prev{
    left: 10px;
    position: absolute;
}

.portfolio > .owl-nav .owl-next{
    right: -22px;
    position: absolute;
}

.slider-job > .owl-nav .owl-next{
    right: 10px;
    position: absolute;
}

.portfolio > .owl-nav button span, .slider-job > .owl-nav button span {
    color: #000;
    font-size: 26px;
    line-height: 15px;
    display: block;
    height: 18px;
}

.body-popup{
    height: 100%;
overflow: auto;
}

body b, body strong {
    letter-spacing: 1.5px;
}

.body-popup h2, .body-popup h2 span{
font-size: 24px !important;
font-weight: 600 !important;
letter-spacing: 1.5px;
}

.body-popup *{ 
text-align: left;
vertical-align: top;
margin-top: 0;
}

.body-popup ol li, .body-popup ul li{
margin-bottom: 7px;
}

.body-popup p img{
margin: 0 0px 10px 10px;
}

.body-popup table{
margin-bottom: 20px;
}

.body-popup td{
padding: 20px 15px;
}

.body-popup tr:nth-child(2n) td{
background: rgba(0,0,0,0.1);
}

.b-zayavka-popup{
background-color: #F0E9DD;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
    box-sizing: border-box;
    text-align: center;
    font-size: 18px;
    border-radius: 3px;
    margin-bottom: 15px !important;
color: #231616;
border: 1px solid #231616;
}

.slider-job{
    width: 60%;
    overflow: hidden;
margin: 0 auto 20px;
position: relative;
}

.slider-job .owl-item{
    width: 60%;
    display: flex;
    justify-content: center;
}

.slider-job img{
    width: auto;
    height: 550px;
}

.about-block img{
    width: auto;
    height: 600px;
}

.about-block a{
    letter-spacing: 1px;
    display: block;
    margin-top: 3px;
    width: 53%;
    border: 1px solid #231616;
    padding: 15px 20px;
}

.about-block a:hover{
    background-color: #231616;
    color: #fff;
}

footer .container div:nth-child(2){
    text-align: right;
}

footer .container div:nth-child(2) p{
    font-size: 12px;
    letter-spacing: 1px;
    margin-top:10px;
}

.list-plitka > div:last-child{
    background-position: 50% 15%;
}

.static-block-wrap{
background: #fff;
padding: 30px;
box-sizing: border-box;
}

.content h1{
color: #fff;
}

.wrap-portfolio-page{
display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portfolio-item .wrap-image{
height: 400px;
overflow: hidden;
}

.portfolio-item .wrap-image img{
width: 100%;
height: 100%;
object-fit: cover;
transition-duration: .5s;
}

.portfolio-item:hover .wrap-image img{
transform: scale(1.1);
transition-duration: .5s;
}

.page-portfolio{
display: flex;
background: #fff;
}

.page-portfolio .portfolio-item {
        width: 100% !important;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
    margin-top: 0px;
}

.page-portfolio .portfolio-slider {
    position: relative;
    width: 65%;
overflow: hidden;
}

.page-portfolio .portfolio-content {
    text-align: left;
    padding-left: 0px;
    width: 33%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

.page-portfolio .portfolio-slider .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-portfolio .portfolio-item img {
    max-width: 100%;
    max-height: 560px;
    object-fit: cover;
    width: 100%;
}

.b-zayavka{
cursor: pointer;
}




/*моб версия*/

@media(max-width: 900px){

.container {
    width: 100%;
    margin: 0 auto;
}

header a + span {
    font-size: 20px;
    letter-spacing: 1px;
    padding-left: 20px;
    text-align: center;
}

.item-plitka {
    width: 175px;
    height: 175px;
    /* background-color: #9f918b; */
    background-color: #F0E9DD;
    background-size: cover;
    background-position: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 24px;
    border-radius: 3px;
    transition-duration: .5s;
    margin-bottom: 10px !important;
    flex-wrap: wrap;
    margin: 0 5px 10px !important;
}

.item-plitka:nth-child(3n+2) {
    margin: 0 5px 10px !important;
}

footer {
    padding: 20px 15px;
    display: flex;
    align-items: center;
}

.content-modal {
    background-color: #fff;
    padding: 20px;
    position: relative;
    z-index: 9999;
    box-sizing: border-box;
    width: 90%;
    height: 80%;
    font-size: 16px;
}

.portfolio-item {
    width: 100% !important;
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-height: 100%;
    overflow: hidden;
    align-content: center;
}

.portfolio-item > div:first-child {
    width: 100%;
    overflow: hidden;
    order: 2;
}

.portfolio > .owl-nav .owl-next {
    right: -18px;
    position: absolute;
}

.portfolio > .owl-nav .owl-prev {
    left: -18px;
    position: absolute;
}

.body-popup td {
    padding: 20px 15px;
    display: contents;
}

.body-popup tr{
	margin-bottom: 20px;
}

/*.item-plitka.use-plitka:hover, .item-plitka.b-zayavka:hover{
	font-size: 22px;
	transition-duration: .5s;
}*/

.title-modal {
    width: 100%;
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
}

.input-group input {
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

input[type="submit"] {
    width: 100%;
    height: 42px;
    background-color: #322629;
    border: none;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
}

.modal-content {
    background-color: #fff;
    padding: 10px 20px 20px;
    position: relative;
    z-index: 9999;
    width: 70%;
}

.close-modal {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 36px;
    transform: rotate(45deg);
    color: #fff;
    font-weight: 100;
    cursor: pointer;
    transition-duration: .5s;
}

.modal-form {
    background-color: rgba(0, 0, 0, .9);
}


.slider-job{
    width: 100%;
    overflow: hidden;
margin: 0 auto 20px;
position: relative;
}

.slider-job img{
    width: 100%;
    height: auto;
}

.about-block img {
    width: 100%;
    height: auto;
}

.about-block a {
    width: 87%;
}

.body-popup p img {
    margin: 0 0px 10px 10px;
}

header img {
    max-width: 130px;
    margin-left: 0px;
}

.content h1{
color: #fff;
padding: 0 20px;
}

.static-block-wrap{
background: #fff;
padding: 20px;
box-sizing: border-box;
}

.wrap-portfolio-page {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.portfolio-content {
    text-align: left;
    padding-left: 0px;
    order: 2;
}

    .portfolio-item {
        width: 100% !important;
        display: flex !important;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        max-height: 100%;
        overflow: hidden;
        align-content: center;
    }

.content {
    padding: 20px 0;
}

.page-portfolio .portfolio-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-portfolio .portfolio-slider .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 460px;
}

.page-portfolio .portfolio-content {
    text-align: left;
    padding-left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0 20px;
}

}