@import url("font-awesome.min.css");

@font-face {
	font-family: 'PT-Sans';
    font-display: swap;
	src: url('fonts/PT-Sans-Regular.eot');
	src: local('☺'),
        url('fonts/PT-Sans-Regular.woff2') format('woff2'),
        url('fonts/PT-Sans-Regular.woff') format('woff'),
        url('fonts/PT-Sans-Regular.ttf') format('truetype'),
        url('fonts/PT-Sans-Regular.svg') format('svg');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'PT-Sans';
    font-display: swap;
	src: url('fonts/PT-Sans-Bold.eot');
	src: local('☺'),
        url('fonts/PT-Sans-Bold.woff2') format('woff2'),
        url('fonts/PT-Sans-Bold.woff') format('woff'),
        url('fonts/PT-Sans-Bold.ttf') format('truetype'),
        url('fonts/PT-Sans-Bold.svg') format('svg');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'PT-Sans';
    font-display: swap;
	src: url('fonts/PT-Sans-Italic.eot');
	src: local('☺'),
        url('fonts/PT-Sans-Italic.woff2') format('woff2'),
        url('fonts/PT-Sans-Italic.woff') format('woff'),
        url('fonts/PT-Sans-Italic.ttf') format('truetype'),
        url('fonts/PT-Sans-Italic.svg') format('svg');
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'PT-Sans';
    font-display: swap;
	src: url('fonts/PT-Sans-Bold-Italic.eot');
	src: local('☺'),
        url('fonts/PT-Sans-Bold-Italic.woff2') format('woff2'),
        url('fonts/PT-Sans-Bold-Italic.woff') format('woff'),
        url('fonts/PT-Sans-Bold-Italic.ttf') format('truetype'),
        url('fonts/PT-Sans-Bold-Italic.svg') format('svg');
	font-weight: 600;
	font-style: italic;
}

::-webkit-input-placeholder {opacity:1;}
::-moz-placeholder          {opacity:1;}/* Firefox 19+ */
:-moz-placeholder           {opacity:1;}/* Firefox 18- */
:-ms-input-placeholder      {opacity:1;}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: 'PT-Sans', Arial, sans-serif;
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
	color: #2c2c2c;
    max-width: 100%;
	height: auto;
    overflow-x: hidden;
    background: #ffffff;
	padding: 0;
	margin: 0;
}
p {
    margin: 0;
    padding: 0;
}
a {
    color: #008851;
    text-decoration: none;
    outline: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
p, a, ul li, ol li, div {
    -webkit-text-size-adjust: 100%;
}
i {
    font-family: fontawesome !important;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    outline: none;
}
.content-container {
    width: 100%;
    max-width: 1200px;
    height:auto;
    margin: 0 auto;
    padding: 0 15px;
}
.content-big-container {
    width: 100%;
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
}
.columns {
    display: -webkit-flex;
    display: flex;
    height: auto;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: stretch;
    align-items: stretch;
}
.phone {
    pointer-events: none;
    white-space: nowrap;
}
.nowrap {
    white-space: nowrap;
}
.mobile {
    display: none;
}
.red {
    color: #ff5f5f;
}
.button {
    display: inline-block;
    font-family: 'PT-Sans', Arial, sans-serif;
    font-size: 21px;
    line-height: 30px;
    font-weight: 600;
    color: #ffffff;
    padding: 15px;
    background: #1A6647;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}
.button:hover {
    background: #008851;
}
.button.grey-button {
    background: #666666;
}
.button.grey-button:hover {
    background: #aaaaaa;
}
.button.button-blue {
    background: #004681;
}
.button.button-blue:hover {
    background: #307FC0;
}
.button.button-red {
    background: #ff5f5f;
}
.button.button-red:hover {
    background: #d84040;
}
/* h1 {
    display: inline-block;
    position: relative;
    width: 100%;
    font-family: inherit;
    font-size: 30px;
    line-height: 35px;
    font-weight: 600;
    color: inherit;
    text-align: left;
    margin: 60px 0 5px;
    padding: 0;
    z-index: 10;
}
h1 span:not(.nowrap) {
    display: block;
} */
h1, h2, h3, p.title {
    display: inline-block;
    position: relative;
    width: 100%;
    font-family: inherit;
    font-size: 44px;
    line-height: 44px;
    font-weight: 600;
    color: inherit;
    text-align: center;
    text-transform: uppercase;
    margin: 65px 0 5px;
    padding: 0;
    z-index: 10;
}
p.subtitle {
    display: inline-block;
    position: relative;
    width: 100%;
    font-family: inherit;
    font-size: 30px;
    line-height: 35px;
    font-weight: 600;
    color: inherit;
    text-align: center;
    margin: 0 0 60px;
    padding: 0;
    z-index: 10;
}
/* body:not(.not-main) #header{
    position: relative;
    min-height: 960px;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
} */
/* body:not(.not-main) #header:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #ffffff;
    z-index: 5;
} */
/* body:not(.not-main) #header, body:not(.not-main) #header.img{
    background-image: url('../images/header-bg.jpg');
} */
/* body:not(.not-main) #header.webp{
    background-image: url('../images/header-bg.webp');
} */

#top {
    position: relative;
    z-index: 100;
}
#top .column {
    width: 50%;
}
.top-columns {
    padding: 12px 40px;
}
#top .logo.columns {
    -webkit-align-items: center;
    align-items: center;
}
#top .logo .img-container {
    width: auto;
    margin: 0 12px 0 0;
    padding: 0;
}
#top .logo .img-container img {
    height: auto;
}
#top .logo p {
    width: auto;
    font-family: inherit;
    font-size: 16px;
    line-height: 18px;
    color: #999999;
    text-align: left;
    padding: 0 0 0 10px;
    margin: 0;
}
.menu-container {
    width: auto;
    margin: 0;
    -webkit-align-self: center;
    align-self: center;
}
.menu-container span {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    font-size: 0;
    cursor: pointer;
}
.menu-container span:before {
    content: "\f039";
    font-family: fontawesome !important;
    font-size: 30px;
    line-height: 30px;
    color: inherit;
}
.menu {
    margin: 0 40px 0 0;
}
.menu li{
    width: auto;
    margin: 0 12px;
}
.menu li a {
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    padding: 13px 10px;
}
.menu li a:hover {
    color: #008851;
}
.phone-column {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}
.phone-block {
    width: auto;
    margin: 0;
    text-align: right;
}
#top .phone-block {
    -webkit-align-self: center;
    align-self: center;    
}
.phone-block a.phone {
    font-family: inherit;
    font-size: 28px;
    line-height: 30px;
    font-weight: 600;
    color: #2c2c2c;
}
.phone-block p {
    font-family: inherit;
    font-size: 16px;
    line-height: 16px;
}
.not-main #top {
    border-bottom: 2px solid #e5e5e5;
}
.not-main .top-columns {
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 12px 0;
}

#header-main {
    position: relative;
    z-index: 10;
}
.header-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 0 60px 0;
}
.framed {
    position: relative;
}
.framed:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 7px solid #2c2c2c;
}
#header-main .offer-wrap {
    position: relative;
    padding: 135px 40px 0 40px;
}
#header-main .offer-wrap:after {
    position: absolute;
    content: "КАРКАСЫ Toja Garden";
    width: calc(100% + 40px);
    height: 70px;
    top: 40px;
    right: 0;
    background-color: #2c2c2c;
    padding: 0 0 0 80px;
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    font-size: 35px;
    line-height: 35px;
    text-transform: uppercase;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
#header-main .offer-wrap:before {
    position: absolute;
    content: "";
    border-width: 45px;
    border-color: transparent #2c2c2c transparent transparent;
    border-style: solid;
    top: 30px;
    left: -120px;
}
#header-main .offer {
    font-family: inherit;
    font-size: 38px;
    line-height: 44px;
    font-weight: 600;
    color: inherit;
    text-align: left;
    text-transform: uppercase;
}
#header-main .offer-wrap .prices {
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin: 15px 0 15px -10px;
}
#header-main .offer-add {
    font-family: inherit;
    font-size: 26px;
    line-height: 44px;
    font-weight: 600;
    text-transform: uppercase;
}
.form-date:after {
    content: attr(data-text);
}
#header-main .offer-wrap .button {
    display: block;
    width: 280px;
    font-size: 26px;
    letter-spacing: 2px;
    padding: 20px;
    margin: 35px 0 0 0;
}

@media (max-width: 1573px) and (min-width: 1280px) {
    #header-main .offer-wrap {
        padding: 90px 40px 0 40px;
    }
    #header-main .offer-wrap:after {
        height: 50px;
        top: 30px;
        font-size: 28px;
        line-height: 28px;
    }
    #header-main .offer-wrap:before {
        border-width: 35px;
        top: 20px;
        left: -100px;
    }
    #header-main .offer-add {
        font-size: 21px;
        line-height: 30px;
    }
    #header-main .offer-wrap .button {
        margin: 25px 0 0 0;
    }
}


@media (max-width: 1599px) and (min-width: 1280px) {
    h1 {
        margin-top: 40px;
    }
    
    .top-columns {
        padding: 12px 20px;
    }
    .menu-container {
        width: 65%;
    }
    .phone-block {
        width: 35%;
    }
    .menu {
        margin: 0 20px 0 0;
    }
    .menu li {
        margin: 0;
    }
    .menu li a {
        font-size: 16px;
    }
    /* #header-main p.offer .button{
        display: block;
        margin: 10px 0 0;
    } */
}

@media (max-width: 1279px) {
    h1 {
        margin-top: 40px;
        text-align: center;
    }
    
    #header-main .content-big-container {
        max-width: 100%;
    }
    .header-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .header-gallery__item.hide-mobile {
        display: none;
    }
    #header-main .offer-wrap {
        padding: 120px 40px 0 40px;
        order: 2;
    }
    #header-main .framed {
        order: 1;
    }
    #header-main .offer-wrap:after {
        height: 60px;
        top: 40px;
        font-size: 28px;
        line-height: 28px;
    }
    #header-main .offer-wrap:before {
        border-width: 35px;
        top: 35px;
        left: -108px;
    }
    #header-main .offer-add {
        font-size: 21px;
        line-height: 30px;
    }
}

@media (max-width: 1279px) and (min-width: 980px) {
    .content-container, .content-big-container {
        max-width: 950px;
    }
    #header-main .subtitle{
        max-width: 950px;
        margin: 0 auto 60px;
    }    
    body:not(.not-main) #top {
        padding: 0 0 50px;
    }
    
    .menu-container {
        position: absolute;
        left: 0;
        top: 66px;
        width: 100%;
    }
    .menu {
        -webkit-justify-content: center;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 979px) and (min-width: 768px) {
    .content-container, .content-big-container, #header-main .subtitle {
        max-width: 750px;
    }
    #header .content-big-container {
        max-width: 100%;
    }
    
    #header-main .offer-wrap {
        padding: 85px 40px 0 40px;
    }
    #header-main .offer-wrap:after {
        height: 50px;
        top: 30px;
        font-size: 28px;
        line-height: 28px;
    }
    #header-main .offer-wrap:before {
        border-width: 30px;
        top: 25px;
        left: -100px;
    }
    #header-main .offer-wrap .button {
        margin: 20px 0 0 0;
    }
    body:not(.not-main)  #top {
        padding: 0 0 50px;
    }
    .menu-container {
        position: absolute;
        left: 0;
        top: 66px;
        width: 100%;
    }
    .menu {
        -webkit-justify-content: center;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .content-container, .content-big-container, #header-main .subtitle {
        width: 100%;
        padding: 0 15px;
    }
    .content-big-container .content-container {
        padding: 0;
    }
    #header-main .content-big-container {
        max-width: 640px;
        padding: 0;
    }

    .phone {
        pointer-events: all;
    }
    .mobile {
        display: block;
    }

    #top {
        border-bottom: 2px solid #e5e5e5;
    }
    .top-columns, .not-main .top-columns {
        padding: 4px 0;
    }
    #top .column {
        width: 100%;
        max-width: 300px;
    }
    #top .column.phone-column {
        max-width: 0;
    }
    #top .logo {
        position: relative;
        width: auto;
        margin: 0;
        z-index: 15;
    }
    #top .logo .img-container {
        width: auto;
        padding: 0 6px 0 0;
        margin: 0;
    }
    #top .logo .img-container img {
        width: auto;
        height: 36px;
    }
    #top .logo p {
        width: auto;
        font-size: 14px;
        line-height: 14px;
        padding: 6px 0;
        margin: 0;
    }
    .menu-container {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 48px;
        background: #fff;
        z-index: 100;
    }
    .menu-container span {
        display: block;
    }
    #top .menu {
        display: none;
        position: absolute;
        right: 0;
        top: 49px;
        float: none;
        width: 200px;
        margin: 0;
        background: #fff;
        border: 1px solid #e5e5e5;
        z-index: 15;
    }
    #top .menu.visible {
        display: inline-block;
    }
    #top .menu li {
        float: none;
    }
    #top .menu li a {
        display: inline-block;
        width: 100%;
        font-size: 16px;
        line-height: 18px;
        padding: 5px;
        margin: 3px 0;
    }
    #top .menu li.mobile {
        font-weight: 600;
    }
    #top .menu li a.phone {
        border-top: 1px solid #e5e5e5;
        padding: 10px 5px;
        margin: 5px 0;
    }
    #top .menu li a.phone .fa {
        padding: 0 5px 0 0;
    }
    #top .phone-block {
        display: none;
    }

    h1 {
        margin: 20px 0 5px;
        padding: 0 15px;
    }

    .header-gallery {
        grid-template-areas:
                        "topLeft topRight"
                        "bottom bottom"
                        "offer offer" ;
    }
    .header-gallery__item:nth-of-type(2) {
        grid-area: bottom;
    }
    .header-gallery__item:nth-of-type(4) {
        grid-area: topLeft;
    }
    .header-gallery__item:nth-of-type(5) {
        grid-area: topRight;
    }
    #header-main .offer-wrap {
        grid-area: offer;
        padding: 40px 0 0 0;
    }
    #header-main .offer-wrap:before {
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        border-color: #2c2c2c transparent transparent transparent;
    }
    #header-main .offer-wrap:after {
        width: 100%;
        height: 50px;
        top: -55px;
        padding: 0;
        -webkit-justify-content: center;
        justify-content: center;
        font-size: 24px;
        line-height: 24px;
    }
    #header-main .offer-wrap .prices {
        -webkit-justify-content: center;
        justify-content: center;
        margin: 15px 0;
    }
    #header-main .offer-add {
        display: block;
        text-align: center;
    }
    #header-main .offer-wrap .button {
        margin: 25px auto 0;
    }
}

@media (max-width: 767px) and (min-width: 480px) {
    h2, h3, p.title {
        font-size: 35px;
        line-height: 35px;
        margin: 40px 0 5px;
    }
    p.subtitle {
        font-size: 25px;
        line-height: 30px;
        margin: 0 0 40px;
    }
}

@media (max-width: 479px) {
    body {
        font-size: 17px;
        line-height: 21px;
        overflow-x: auto;
    }
    h1 {
        font-size: 22px;
        line-height: 24px;
    }
    h2, h3, p.title{
        font-size: 30px;
        line-height: 32px;
        margin: 40px 0 5px;
    }
    p.subtitle {
        font-size: 20px;
        line-height: 22px;
        margin: 0 0 40px;
    }

    #header-main .offer-wrap:after {
        height: 40px;
        top: -47px;
        font-size: 21px;
        line-height: 21px;
    }
    #header-main .offer-wrap:before {
        border-width: 25px;
    }
    #header-main .offer-wrap {
        padding: 30px 0 0 0;
    }
}