body {
    margin: 0;
    padding: 0;
    font-family: Arial;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: Century Gothic;
    font-weight: 100;
}

p {
    margin: 0;
    line-height: 1.5;
    text-align: justify;
}

main>p {
    margin: 0.5em 0;
    text-align: justify;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

button {
    padding: 10px 16px;
    font-size: 1.2em;
    border: none;
    border-radius: 2px;
    background-color: #fd2f2f;
    color: white;
    cursor: pointer;
    box-shadow: none;
    transition: box-shadow 0.5s;
}

button:hover {
    box-shadow: 0 0 0.7em rgba(0, 0, 0, 0.27);
}

button.btn-center {
    margin: 0 auto;
    display: block;
}

button.btn-flat {
    border: white 2px solid;
    background: none;
}

.flex {
    display: flex;
}

body>header {
    z-index: 18;
    position: relative;
}

body.mainpage>header {
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.54);
}

body>header>.container {
    background-color: white;
    height: 100px;
    align-items: center;
    padding: 8px 16px;
    box-sizing: border-box;
}

a.logo-link img {
    height: 70px;
}

.logo-area.header-left {
    align-self: middle;
}

header .header-right,
footer .footer-right {
    flex-grow: 1;
    text-align: right;
}

.breadcrumbs li {
    display: inline-block;
    margin: 0 4px 0 0;
    font-size: 0.8em;
}

.breadcrumbs a {
    color: #2196F3;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:not(:last-child):after {
    display: inline-block;
    margin: 0 0 0 4px;
    content: "/";
}

main h1 {
    margin: 8px 0 16px;
}

body>footer {
    background-color: #353535;
    color: white;
}

body>main {
    flex-grow: 1;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

.achivs ul {
    display: flex;
    justify-content: space-around;
    margin: 0 0 16px;
}

.achivs ul li {
    text-align: center;
    width: 180px;
}

.achivs .img {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    background-image: url(/assets/img/puzzle.svg);
    display: block;
    background-size: cover;
}

.btn-header-float {
    float: right;
    margin: 0 0 0 8px;
}

.call-me .phone,
footer .phone {
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1;
    text-align: right;
}

.call-me .work-time,
footer .work-time {
    font-size: 0.8em;
    line-height: 1.5;
    text-align: right;
}

.clearfix {
    clear: both;
}

nav>a {
    display: inline-block;
    margin: 0 0 0 16px;
    color: rgba(0, 0, 0, 0.54);
    transition: color 0.5s;
}

nav>a:hover {
    color: rgba(0, 0, 0, 0.87);
}

body>footer nav {
    margin: 0 0 16px;
}

body>footer nav>a {
    color: rgba(255, 255, 255, 0.54);
}

body>footer nav>a:hover {
    color: rgba(255, 255, 255, 0.87);
}

footer .footer-right p {
    text-align: right;
}

.header-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.container {
    max-width: 1200px;
    min-width: 1156px;
    margin: auto;
    padding: 0 16px;
    box-sizing: border-box;
}

section>h2,
.modal-dlg h2 {
    text-transform: uppercase;
    font-weight: 100;
    color: rgba(0, 0, 0, 0.87);
    text-align: center;
    font-size: 2em;
    position: relative;
}

section>h2:after,
.modal-dlg h2:after {
    content: "";
    background: url(/assets/img/after_h2.svg);
    width: 373px;
    height: 19px;
    display: block;
    margin: 8px auto;
    background-size: cover;
}

body>footer>div>header {
    padding: 16px 0;
    border-bottom: 2px white solid;
}

body>footer>div>footer {
    padding: 16px 0;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.54);
}

.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0;
}

.gallery>a {
    width: 200px;
    height: 200px;
    background-color: #d2d2d2;
    position: relative;
    margin: 16px 0;
    flex-shrink: 0;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.27);
}

.gallery>a {
    margin-right: 16px;
    margin-left: 16px;
}

body>section {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}

.slider {
    position: relative;
    margin: 0 !important;
    height: 600px;

}

.slide {
    background-image: url(/assets/img/slider_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider .slide>.container>div {
    background-color: rgba(255, 255, 255, 0.87);
    width: 600px;
    padding: 32px;
    box-sizing: border-box;
    border-radius: 2px;
}

.slider .slide>.container {
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
}

/*section.slider:after {
    content: "";
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}*/
.slide h1>span {
    line-height: 1.2;
}

.slide:before {
    content: "";
    display: block;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide h1,
.slide h2 {
    font-size: 3em;
    margin: 0 0 16px;
    color: white;
    font-weight: 100;
    line-height: 1;
}

.slide p {
    margin: 0 0 0.5em;
    line-height: 1.3;
}

.slide h1 small {
    font-size: 0.5em;
}

.text-color-red {
    color: red;
}

.paginator {
    position: absolute;
    bottom: 20px;
    display: flex;
    width: 100%;
    justify-content: center;
    z-index: 10;
}

.paginator-btn {
    background-color: rgba(255, 255, 255, 0.54);
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.paginator-btn.paginator-active {
    background-color: rgba(255, 255, 255, 0.87);
    cursor: default;
}

section>p {
    margin: 0.5em 0;
}

.call-me-big--desc p {
    margin: 0 0 0.5em;
}

select,
input[type="text"],
input[type="number"] {
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 2px;
    padding: 6px 8px;
}

.constructor {
    width: 500px;
    margin: 16px auto;
}

.constructor h3 {
    font-weight: 100;
    color: rgba(0, 0, 0, 0.54);
    margin: 0 0 8px;
}

.colors ul {
    display: flex;
    flex-wrap: wrap;
}

.colors ul li {
    margin: 5px;
}

.colors img {
    background-color: red;
    height: 20px;
    width: 20px;
    display: block;
    border-radius: 2px;
}

.constructor .cellings-type button {
    font-size: 1em;
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0.27);
    margin: 0 4px 4px 0;
}

.constructor .cellings-type button.active {
    background-color: rgba(0, 0, 0, 0.54);
    cursor: default;
    box-shadow: none;
}

.constructor>div,
.constructor>table,
.constructor .request-form table {
    margin: 0 0 16px;
}

.sold {
    font-size: 1.5em;
    text-align: center;
}

.sold-title {
    font-size: 0.8em;
}

.constructor .alert {
    color: rgba(0, 0, 0, 0.54);
    font-size: 0.7em;
    text-align: center;
}

.constructor table.celling-parameters,
.constructor .request-form table,
.constructor td input {
    width: 100%;
    box-sizing: border-box;
}

.constructor .request-form p {
    margin: 0 0 1em;
    line-height: 1;
    font-size: 0.8em;
}

.maps .api {
    width: 100%;
    height: 100%;
    height: 400px;
}

.maps {
    position: relative;
}

.maps .contacts-container {
    position: absolute;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.87);
    width: 350px;
    height: 100%;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    top: 0;
    flex-direction: column;
}

.social li {
    display: inline-block;
}

.social a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: white;
    border-radius: 50%;
    background-size: cover;
}

.contacts-container .social {
    margin: 16px 0 0;
}

p.copyright {
    font-size: 0.8em;
    text-align: center;
    padding: 0 0 10px;
    color: rgba(255, 255, 255, 0.27);
}

.copyright a {
    color: rgba(255, 255, 255, 0.54);
}

.call-me-form input[type="text"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 2px 0 10px 0;
}

.call-me-form label {
    color: rgba(0, 0, 0, 0.54);
    font-size: 0.8em;
    margin: 10px 0 2px 0;
    display: block;
}

.call-me-big form,
.call-me-big .call-me-big--desc {
    display: inline-block;
    vertical-align: top;
    width: 49.8%;
    box-sizing: border-box;
    padding: 0 16px;
}

.constructor .request-form,
.call-me-big form {
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.15);
    padding: 16px;
    border-radius: 3px;
}


.modal-dlg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-dlg .close-btn {
    position: absolute;
    top: 8px;
    right: 16px;
    color: red;
    font-size: 32px;
    cursor: pointer;
}

.backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.54);
    z-index: 10;
    animation: 0.5s backdrop_in;
}

.backdrop.hide_pop {
    animation: 0.3s backdrop_hide;
    opacity: 0;
}

@keyframes backdrop_hide {
    0% {
        opacity: 1;
    }
}

@keyframes backdrop_in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.content-dlg {
    z-index: 12;
    background-color: #fff;
    padding: 36px;
    box-shadow: 0 0 2em rgba(0, 0, 0, 0.54);
    opacity: 1;
    animation: modal-dlg-in 0.5s;
    position: relative;
}

.content-dlg.hide_pop {
    animation: 0.3s modal_dlg_hide;
    opacity: 0;
}

@keyframes modal_dlg_hide {
    0% {
        opacity: 1;
    }

    100% {
        transform: translate(0px, 80px);
    }
}

.modal-dlg h2 {
    margin-top: 0;
}

@keyframes modal-dlg-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
}

.slider .slide {
    transition: 0.5s;
    opacity: 1;
}

.slider .slide.hidden {
    opacity: 0;
    display: block !important;
}

.sale-link {
    color: red;
}

.gallery a img {
    width: 100%;
    height: 100%;
}

.constructor .colors li {
    padding: 2px;
    cursor: pointer;
}

.constructor .colors li.selected {
    background-color: white;
    border-radius: 4px;
    border: 1px rgba(0, 0, 0, 0.54) solid;
    margin: 4px;
    cursor: default;
}

.popup-soft {
    overflow: hidden;
    margin-right: 17px;
}

img.stock_image {
    max-width: 80%;
    padding: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

ul.list {
    list-style: square;
    padding: 0 20px 0 40px;
    line-height: 1.5;
    text-align: justify;
}

.btn-mobile-menu {
    display: none;
}

@media screen and (max-width: 1156px) {

    .call-me-big form,
    .call-me-big .call-me-big--desc {
        width: 500px;
        display: block;
        margin: auto;
    }

    .call-me-big .call-me-big--desc {
        margin: 16px auto 0;
    }

    .container {
        margin: initial;
        min-width: initial;
    }
}

@media screen and (max-width: 640px) {
    .stock_image {
        width: 100%;
    }

    .popup-soft {
        margin-right: 0;
    }

    .call-me-big form,
    .call-me-big .call-me-big--desc {
        width: initial;
        display: block;
        padding: 0;
        margin: auto;
    }

    .call-me-big .call-me-big--desc {
        margin: 16px auto 0;
    }

    select,
    input[type="text"] {
        font-size: 1em;
    }

    .slider .slide>.container>div {
        width: initial;
    }

    .constructor {
        width: initial;
    }

    .gallery>a {
        width: 130px;
        height: 130px;
        margin: 8px;
    }

    .maps .contacts-container {
        position: relative;
    }

    .slide h1,
    .slide h2 {
        font-size: 2.2em;
    }

    .achivs .img {
        width: 80px;
        height: 80px;
    }

    .achivs ul {
        flex-direction: column;
    }

    .achivs ul li {
        width: 100%;
    }

    .achivs .img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .achivs ul li {
        width: 100%;
        margin-bottom: 28px;
    }

    body>header>.container,
    body>footer>div>header,
    body>footer>div>footer {
        height: initial;
        display: flex;
        flex-direction: column;
    }

    nav>a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .btn-header-float {
        display: none;
    }

    .call-me .phone,
    footer .phone,
    .call-me .work-time,
    footer .work-time {
        text-align: center;
    }

    .constructor .request-form,
    .call-me-big form {
        box-shadow: none;
        padding: 0;
        border-radius: initial;
    }

    body>header {
        width: 100%;
    }

    section>h2:after,
    .modal-dlg h2:after {
        width: initial;
        background-position: center;
    }

    .logo-area.header-left {
        text-align: center;
    }

    .slider .slide>.container>div {
        padding: 16px;
        font-size: 0.8em;
    }

    header .logo-area.header-left {
        margin: 16px 0;
    }

    nav.header-nav.clearfix {
        position: fixed;
        top: 0;
        right: 0;
        background-color: white;
        height: 100%;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
        overflow: auto;
        padding: 12px 0;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }

    nav.header-nav.clearfix.show {
        transform: translateX(0%);
        opacity: 1;
        visibility: visible;
    }

    nav.header-nav.clearfix > a {
        padding: 24px 36px 24px 24px;
        text-align: left;
        max-width: 180px;
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    nav.header-nav.clearfix > a:last-child {
        border-bottom: none;
    }
    nav.header-nav.clearfix > a:active {
        background-color: rgba(0,0,0,0.04);
    }

    .btn-mobile-menu {
        display: block;
        padding: 12px;
        background-color: red;
        color: white;
        border-radius: 5px;
        text-transform: uppercase;
        margin: 10px 0 0px;
        position: fixed;
        right: 10px;
        top: 10px;
        font-size: 24px;
        line-height: 1;
    }



}