.clearfix, .xh-popup-footer-social::after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: ''
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    background: 0 0;
    vertical-align: baseline;
    font-size: 100%
}

body {
    line-height: 1
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none
}

a {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: 0 0;
    vertical-align: baseline;
    font-size: 100%
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none
}

mark {
    background-color: #ff9;
    color: #000;
    font-weight: 700;
    font-style: italic
}

del {
    text-decoration: line-through
}

table {
    border-spacing: 0;
    border-collapse: collapse
}

hr {
    display: block;
    margin: 1em 0;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc
}

input, select, textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-light.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-light.woff') format('woff'), url('../fonts/montserrat-light.ttf') format('truetype'), url('../fonts/montserrat-light.svg#Montserrat') format('svg');
    font-weight: 300;
    font-style: normal
}

body {
    position: relative;
    padding: 100px 0;
    width: 100%;
    height: 100%;
    background: #fbfbfb url('../images/bg-pattern.png') 0 0;
    background-size: 110px 69px;
    color: #000;
    font-weight: 300;
    font-size: 18px;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    line-height: 28px;
    -moz-background-size: 110px 69px;
    -o-background-size: 110px 69px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

@media screen and (max-width: 850px) {
    body {
        padding: 25px 0
    }
}

a {
    color: #000;
    text-decoration: none;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s
}

a:hover {
    color: #00aca3;
    text-decoration: none
}

.button {
    display: inline-block;
    margin: 0 auto;
    padding: 0 30px;
    min-width: 260px;
    height: 60px;
    border: 0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #d43100;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    line-height: 60px
}

.button:hover, .button:focus {
    outline: none;
    background-color: #fd3a00;
    color: #fff;
    text-decoration: none;
    cursor: pointer
}

.button:active {
    background-color: #ee3700;
    -webkit-box-shadow: inset 0 2px 5px rgba(0, 0, 0, .25);
    -moz-box-shadow: inset 0 2px 5px rgba(0, 0, 0, .25);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .25)
}

.button-gray {
    background-color: #00aca3
}

.button-gray:hover, .button-gray:focus {
    background-color: #009f97
}

.button-gray:active {
    background-color: #00938b
}

.xh-header {
    position: relative;
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
    height: 670px;
    background: url('../images/board.png') 50% 50%/contain no-repeat;
    -webkit-transition: height .35s;
    -moz-transition: height .35s;
    -o-transition: height .35s;
    transition: height .35s
}

.xh-header-block {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -80%);
    -moz-transform: translate(-50%, -80%);
    -o-transform: translate(-50%, -80%);
    transform: translate(-50%, -80%)
}

.xh-header-block-logo {
    display: block;
    width: 484px;
    height: 102px;
    background: url('../images/logo.png') 50% 50%/cover no-repeat;
    text-indent: -9999px;
    -webkit-transition: opacity .35s;
    -moz-transition: opacity .35s;
    -o-transition: opacity .35s;
    transition: opacity .35s
}

.xh-header-block-logo:hover {
    opacity: .5
}

.xh-header-block-text {
    position: relative;
    display: block;
    margin: 25px auto 0 auto;
    width: 120px;
    height: 35px;
    background: url('../images/text-presents.svg') 50% 50%/cover no-repeat;
    text-indent: -9999px
}

.xh-header-block-text::before, .xh-header-block-text::after {
    position: absolute;
    right: 130px;
    bottom: 50%;
    display: block;
    width: 130px;
    height: 2px;
    background-color: #979797;
    content: ''
}

.xh-header-block-text::after {
    left: 130px
}

@media screen and (max-width: 850px) {
    .xh-header-block-logo {
        width: 230px;
        height: 45px
    }

    .xh-header-block-text {
        width: 80px;
        height: 24px
    }

    .xh-header-block-text::before, .xh-header-block-text::after {
        right: 90px;
        width: 50px
    }

    .xh-header-block-text::after {
        left: 90px
    }
}

@media screen and (max-width: 1150px) {
    .xh-header {
        height: 605px
    }
}

@media screen and (max-width: 1050px) {
    .xh-header {
        height: 550px
    }
}

@media screen and (max-width: 950px) {
    .xh-header {
        height: 500px
    }
}

@media screen and (max-width: 850px) {
    .xh-header {
        height: 445px
    }
}

@media screen and (max-width: 750px) {
    .xh-header {
        height: 395px
    }
}

@media screen and (max-width: 650px) {
    .xh-header {
        height: 340px;
        background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover
    }
}

.xh-about {
    margin: 100px auto;
    padding: 0 15px;
    max-width: 800px;
    text-align: center
}

.xh-about p {
    display: inline-block;
    margin-bottom: 35px;
    font-size: 1.2em;
    line-height: 1.9em
}

.xh-about p .highlight {
    padding: 0 10px;
    background-color: rgba(255, 234, 61, .6);
    font-weight: 700
}

.xh-about p.subtitle {
    color: #00aca3;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1em
}

.xh-about-title {
    display: inline-block;
    margin-bottom: 35px;
    max-width: 780px;
    width: 100%;
    height: 285px;
    background: url('../images/about-title.svg') 50% 100%/contain no-repeat;
    text-indent: -9999px;
    -webkit-transition: height .35s;
    -moz-transition: height .35s;
    -o-transition: height .35s;
    transition: height .35s
}

@media screen and (max-width: 700px) {
    .xh-about-title {
        height: 255px
    }
}

@media screen and (max-width: 600px) {
    .xh-about-title {
        height: 220px
    }
}

@media screen and (max-width: 500px) {
    .xh-about-title {
        height: 180px
    }
}

@media screen and (max-width: 400px) {
    .xh-about-title {
        height: 140px
    }
}

@media screen and (max-width: 300px) {
    .xh-about-title {
        height: 100px
    }
}

.xh-about .button {
    padding-left: 65px;
    background-image: url('../images/icon-youtube.svg');
    background-position: 30px 48%;
    background-size: 26px 19px;
    background-repeat: no-repeat;
    -moz-background-size: 26px 19px;
    -o-background-size: 26px 19px
}

@media screen and (max-width: 700px) {
    .xh-about {
        margin: 60px auto
    }

    .xh-about p {
        font-size: 1em
    }

    .xh-about p.subtitle {
        font-size: .9em
    }
}

.xh-gallery {
    display: block;
    margin: 0 auto;
    max-width: 1420px;
    width: 100%;
    list-style: none;
    text-align: center
}

.xh-gallery-item {
    position: relative;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    text-align: center;
    -webkit-transition: color .35s;
    -moz-transition: color .35s;
    -o-transition: color .35s;
    transition: color .35s
}

.xh-gallery-item[data-video-url]:hover {
    color: #00aca3;
    cursor: pointer
}

.xh-gallery-item img {
    max-width: 445px;
    width: 100%;
    height: auto;
    border: 1px solid rgba(151, 151, 151, .25)
}

.xh-gallery-item-title {
    display: block;
    margin: 10px;
    margin-bottom: 0;
    max-width: 425px
}

.xh-gallery-item-coming {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 230px;
    background-color: rgba(0, 0, 0, .5)
}

.xh-gallery-item-coming::before {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    display: block;
    padding: 0 10%;
    width: 80%;
    color: #fff;
    content: attr(data-placeholder);
    text-align: center;
    font-size: 1.7em;
    line-height: 1.2em;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.xh-gallery-item-coming ~ .xh-gallery-item-title {
    color: rgba(0, 0, 0, .5)
}

.xh-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 101;
    visibility: hidden;
    max-width: 1280px;
    max-height: 720px;
    width: 75vw;
    height: 80vh;
    opacity: 0;
    -webkit-transition: opacity .35s, visibility .35s;
    -moz-transition: opacity .35s, visibility .35s;
    -o-transition: opacity .35s, visibility .35s;
    transition: opacity .35s, visibility .35s;
    -webkit-transform: translate(-50%, -55%);
    -moz-transform: translate(-50%, -55%);
    -o-transform: translate(-50%, -55%);
    transform: translate(-50%, -55%)
}

.xh-popup-player {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000
}

.xh-popup-player > div {
    z-index: 2
}

.xh-popup-player.load::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    margin: -16px 0 0 -16px;
    width: 32px;
    height: 32px;
    background: url('../images/gallery/loading.gif') 50% 50%/cover no-repeat;
    content: ''
}

#js-video-player iframe {
    position: absolute;
}
.xh-popup-player #js-video-player_logo {
    display: none !important
}

.xh-popup-close, .xh-popup-arrow {
    position: absolute;
    text-indent: -9999px
}

.xh-popup-close:hover, .xh-popup-arrow:hover {
    opacity: .5;
    cursor: pointer
}

.xh-popup-close {
    top: 0;
    right: -75px;
    overflow: hidden;
    width: 24px;
    height: 24px;
    background: url('../images/gallery/icon-close.svg') 50% 50%/cover no-repeat;
    -webkit-transition: opacity .35s;
    -moz-transition: opacity .35s;
    -o-transition: opacity .35s;
    transition: opacity .35s
}

.xh-popup-arrow {
    top: 50%;
    overflow: hidden;
    margin-top: -16px;
    width: 17px;
    height: 32px;
    background: url('../images/gallery/icon-arrow.svg') 50% 50%/cover no-repeat
}

.xh-popup-arrow.prev {
    left: -60px
}

.xh-popup-arrow.next {
    right: -60px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg)
}

.xh-popup-footer {
    position: absolute;
    bottom: -40px;
    padding-top: 10px;
    width: 100%;
    height: 40px
}

.xh-popup-footer-button {
    min-width: 100px;
    height: 40px;
    line-height: 40px
}

@media screen and (max-width: 780px) {
    .xh-popup-footer-button .mobile {
        display: none
    }
}

.xh-popup-footer-social {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    margin-top: 10px;
    list-style: none;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.xh-popup-footer-social a {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    text-indent: -9999px;
    -moz-background-size: cover;
    -o-background-size: cover
}

.xh-popup-footer-social a:hover {
    opacity: .5
}

.xh-popup-footer-social-item {
    display: block;
    float: right;
    margin-left: 10px;
    width: 25px;
    height: 25px
}

.xh-popup-footer-social-item:last-child {
    margin-left: 0
}

.xh-popup-footer-social .icon-fb {
    background-image: url('../images/social/icon-fb.svg')
}

.xh-popup-footer-social .icon-tw {
    background-image: url('../images/social/icon-tw.svg')
}

.xh-popup-footer-social .icon-rd {
    background-image: url('../images/social/icon-rd.svg')
}

@media screen and (max-width: 780px) {
    .xh-popup {
        width: 72vw;
        height: 72vh
    }

    .xh-popup-close {
        right: -45px
    }

    .xh-popup-arrow.prev {
        left: -40px
    }

    .xh-popup-arrow.next {
        right: -40px
    }
}

.is-popup-open .xh-popup {
    visibility: visible;
    opacity: 1
}

.is-popup-open::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    content: ''
}

.ie-old .xh-header, .ie-old .xh-gallery, .ie-old .xh-about {
    display: none
}

.iecap {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 50;
    display: block;
    margin: 130px 0 0 -300px;
    width: 600px;
    height: 310px;
    text-align: center;
    font-family: Helvetica, Arial, sans-serif
}

.iecap:after {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #fbfbfb;
    content: ''
}

.iecap-title {
    font-weight: 400;
    font-size: 1.5em;
    line-height: 1.5em
}

.iecap-description {
    margin-top: 40px;
    font-size: 1em;
    line-height: 1.5em
}

.iecap-list {
    margin: 60px auto 0 auto;
    width: 560px;
    list-style: none
}

.iecap-list:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: ''
}

.iecap-list a {
    display: block;
    text-decoration: underline;
    font-size: 1em
}

.iecap-list a:hover {
    text-decoration: none
}

.iecap-list li {
    display: block;
    float: left;
    padding-top: 75px;
    width: 140px;
    height: 20px;
    background-position: 50% 0;
    background-repeat: no-repeat;
    line-height: 20px
}

.iecap-list .explorer {
    background-image: url('../images/browser/explorer.png')
}

.iecap-list .chrome {
    background-image: url('../images/browser/chrome.png')
}

.iecap-list .firefox {
    background-image: url('../images/browser/firefox.png')
}

.iecap-list .safari {
    background-image: url('../images/browser/safari.png')
}

.pbox-visible {
    overflow: hidden;
}

.pbox-visible .pbox-wrap {
    position: fixed;
    top: 0;

    right: 0;
    bottom: 0;
    left: 0;
    display: block;

    background: rgba(0, 0, 0, 0.8);
}

.pbox-wrap {
    display: none;
}

.pbox-visible .pbox-wrap .pbox {
    position: fixed;
    top: 50%;

    left: 50%;
    display: block;
    -webkit-box-sizing: border-box;

    -moz-box-sizing: border-box;
    box-sizing: border-box;

    margin: -360px 0 0 -360px;
    padding: 60px 40px;

    width: 720px;
    height: 694px;

    background-color: #ffffff;
}

.pbox-visible .pbox-wrap .pbox img {
    display: block;
    clear: both;
    margin-bottom: 30px;
    width: 242px;
    height: 50px;
    opacity: .5;
}

.pbox-visible .pbox-wrap .pbox .head {
    margin-bottom: 20px;
    height: 96px;
    color: #000000;
    letter-spacing: normal;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    font-size: 32px;
    line-height: 1.5;
}

.pbox-visible .pbox-wrap .pbox .text {
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.78;
    letter-spacing: normal;
    margin-bottom: 30px;
}

.pbox-visible .pbox-wrap .pbox-button {
    color: #00aca3;
    display: inline-block;
    width: 246px;
    height: 60px;
    border-radius: 6px;
    background-color: #ffffff;
    border: solid 3px #00aca3;
    text-align: center;
    line-height: 56px;
    margin-right: 22px;
    font-weight: bold;
}
.pbox-visible .pbox-wrap .pbox-button.active {
    color: white;
    background-color: #00aca3;
}