* {
    font-family: 'Ubuntu', serif;
    font-size: 16px;
    line-height: 1.2em;
    color: #333;
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    background-attachment: fixed;
}
h1, h1 * {
    font-size: 36px;
    margin-bottom: 36px;
}
h2, h2 * {
    font-size: 28px;
    margin-bottom: 28px;
}
h3, h4, h5, h6 {
    margin-bottom: 10px;
}
p {
    margin-bottom: 10px;
}
p:last-child {
    margin-bottom: 0;
}
p.caption {
    font-weight: bold;
}
img {
    vertical-align: top;
}
a {
    color: #333;
    text-decoration-line: none;
}
a:hover {
    color: #333;
}
.hidden {
    display: none;
}

.container {
    min-width: 320px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}
.container .anchor {
    position: absolute;
    top: -120px;
}

#shadow {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    display: none;
}

.menu {
    width: 70%;
    height: 100%;
    background: #111;
    position: fixed;
    top: 0;
    left: -70%;
    z-index: 90;
    display: none;
}
.menu .items {
    padding: 30px 40px;
}
.menu .items a {
    color: #ccc;
    padding: 10px 0;
    display: block;
}
.menu .items :hover {
    background-color: #333;
}

header {
    width: 100%;
    background-color: #006340;
    position: fixed;
    z-index: 9;
}
header .container {
    padding: 10px 0;
}
header .grid {
    grid-template-areas: "logo space socials";
    grid-template-columns: 200px auto 200px 0;
    align-items: center;
    display: grid;
}
header .logo {
    height: 100px;
    background: url('/templates/images/logo.png') 50% 50% no-repeat;
    background-size: 100px;
    grid-area: logo;
}
header .socials {
    text-align: center;
    grid-area: socials;
}
header .socials .whatsapp {
    width: 48px;
    height: 48px;
    background: url('/templates/images/socials/whatsapp.png') 50% 50% no-repeat;
    display: inline-block;
}
header .socials .telegram {
    width: 48px;
    height: 48px;
    background: url('/templates/images/socials/telegram.png') 50% 50% no-repeat;
    display: inline-block;
}
header .socials .phone {
    width: 48px;
    height: 48px;
    background: url('/templates/images/socials/phone.png') 50% 50% no-repeat;
    display: inline-block;
}
header .mobile-menu {
    height: 60px;
    background: url('/templates/images/menu.png') 50% 50% no-repeat;
    opacity: 0.75;
    cursor: pointer;
    display: none;
    grid-area: mobile-menu;
}
header .mobile-menu:hover {
    opacity: 1;
}

main {

}
main section {
    padding: 0 20px;
}

footer {
    background-color: #006340;
    padding: 0 20px;
}
footer * {
    color: #e0e0e0;
}
footer .logo {
    height: 200px;
    background: url('/templates/images/logo.png') 50% 50% no-repeat;
}
footer .info {
    padding: 30px 0;
    text-align: center;
}
footer .copyright {
    text-align: center;
}

.columns {
    width: 100%;
    display: table;
}
.column-25 {
    width: 25%;
    vertical-align: top;
    display: table-cell;
}
.column-50 {
    width: 50%;
    vertical-align: top;
    display: table-cell;
}
.column-75 {
    width: 75%;
    vertical-align: top;
    display: table-cell;
}
.column-100 {
    width: 100%;
    vertical-align: top;
    display: table-cell;
}

section.main {
    height: 100vh;
    background: url('/templates/images/main.webp') 50% 0 no-repeat;
    background-size: cover;
    text-align: center;
}
section.main * {
    color: #e0e0e0;
}
section.main .container {
    padding-top: 80px;
    text-align: center;
}
section.main h1 {
    padding: 60px 20px 0 20px;
}
section.main .video {
    width: 640px;
    height: 480px;
    margin: 0 auto;
}
section.main .video video {
    max-width: 100%;
    max-height: 100%;
}

section.about {

}

section.options {

}

section.map {
    font-size: 0;
    padding: 0;
}

section.photos {
    padding: 0;
    position: relative;
    overflow: hidden;
}

section.location {

}

section.plans {

}
section.plans .plan {

}
section.plans .plan img {
    width: 100%;
}

section.contacts .icon {
    width: 50px;
    height: 50px;
    background-color: #006340;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}
section.contacts p.caption {
    margin-bottom: 5px;
}
section.contacts .phone {
    padding: 2px 0 30px 62px;
    position: relative;
}
section.contacts .phone .icon {
    background-image: url('/templates/images/phone.png');
}
section.contacts .building {
    padding: 2px 0 0 62px;
    position: relative;
}
section.contacts .building .icon {
    background-image: url('/templates/images/building.png');
}

.scheme {
    max-width: 500px;
}
.scheme .item {
    padding: 30px 0;
    margin-left: 80px;
    position: relative;
}
.scheme .item .pointer {
    width: 10px;
    height: 10px;
    background: url('/templates/images/scheme/scheme_pointer.png') 50% 50% no-repeat;
    position: absolute;
    top: 21px;
    left: -10px;
}
.scheme .item .line {
    width: 100%;
    height: 25px;
    background: url('/templates/images/scheme/scheme_line.png') 100% 0 no-repeat;
    position: absolute;
    top: 14px;
    left: 0;
}
.scheme .item .time {
    width: 60px;
    font-size: 48px;
    font-weight: bold;
    text-align: right;
    position: absolute;
    top: 0;
    left: -80px;
}
.scheme .item .caption {
    padding-top: 1px;
    margin-bottom: 5px;
}
.scheme .item .object {
    width: 50px;
    height: 50px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 50px;
    position: absolute;
    top: -30px;
    left: 0;
}
.scheme .item.man .object {
    background-image: url('/templates/images/scheme/scheme_object_car.png');
}
.scheme .item.car .object {
    background-image: url('/templates/images/scheme/scheme_object_car.png');
}
.scheme .item.offset-1 .object {
    left: calc(40% - 80px);
}
.scheme .item.offset-2 .object {
    left: calc(60% - 80px);
}
.scheme .item.offset-3 .object {
    left: calc(80% - 80px);
}
.scheme .item.offset-4 .object {
    left: calc(100% - 80px);
}

.photos-listing {
    width: max-content;
    position: relative;
    display: table;
}
.photos-listing .photo {
    width: 100vw;
    height: calc(100vh - 100px);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    display: table-cell;
}
.photos-arrow-left, .photos-arrow-right {
    width: 64px;
    height: 64px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 32px);
    opacity: 0.5;
    cursor: pointer;
}
.photos-arrow-left {
    background-image: url('/templates/images/photos_arrow_left.png');
    left: 30px;
}
.photos-arrow-right {
    background-image: url('/templates/images/photos_arrow_right.png');
    right: 30px;
}
.photos-arrow-left:hover, .photos-arrow-right:hover {
    opacity: 1;
}

/* */
@media (max-width: 640px) {
    header .grid {
        grid-template-areas: "logo space socials mobile-menu";
        grid-template-columns: 100px auto 100px 60px;
    }
    header .logo {
        height: 50px;
        background-size: 50px;
    }
    header .mobile-menu {
        height: 40px;
        background-size: 40px;
        display: block;
    }

    footer .grid {
        display: block;
    }
    footer .links {
        margin-bottom: 50px;
    }
    footer .copyright {
        margin-top: 60px;
    }

    .photos-listing .photo {
        height: 250px;
    }
    .photos-arrow-left, .photos-arrow-right {
        width: 32px;
        height: 32px;
        background-size: 32px;
        top: calc(50% - 16px);
    }
    .photos-arrow-left {
        left: 20px;
    }
    .photos-arrow-right {
        right: 20px;
    }

    section.main .video {
        width: auto;
        margin: 0 20px;
    }

    section.options .columns {
        display: block;
    }
    section.options .columns .column-50 {
        width: auto;
        display: block;
    }
    section.options .scheme {
        padding-top: 30px;
    }

    section.location .columns {
        display: block;
    }
    section.location .columns .column-50 {
        width: auto;
        display: block;
    }
    section.location .scheme {
        padding-top: 30px;
    }

    section.contacts .columns {
        display: block;
    }
    section.contacts .columns .column-50 {
        width: auto;
        display: block;
    }
    section.contacts .icon {
        top: 30px;
    }
    section.contacts .phone {
        padding-top: 32px;
        padding-bottom: 0;
    }
    section.contacts .building {
        padding-top: 32px;
    }
}
