/* Fonts */
@font-face {
    font-family: 'FuturaLT';
    src: url('../fonts/FuturaLTProBold.woff') format('woff'),
         url('../fonts/FuturaLTProBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "FuturaLT";
    src: url("../fonts/FuturaLTProMedium.woff") format("woff"),
         url("../fonts/FuturaLTProMedium.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

/* Main wrap */
.b-specproject {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

/* Reset */
.b-specproject * {
    margin: 0;
    padding: 0;
    font: inherit;
    box-sizing: border-box;
}

/* Header */
.b-specproject__header {
    width: 100%;
    height: 100%;
    margin: 0 0 20px;
    padding: 21px 52px;
    color: #00174F;
    border: 3px solid #CC0C2F;
}

.b-specproject__header-title {
    font: normal 700 30px/36px 'FuturaLT', sans-serif;
    text-transform: uppercase;
    margin-bottom: 45px;
}

.b-specproject__header-text {
    font: normal 400 24px/29px 'FuturaLT', sans-serif;
}

/* Tiles */
.b-specproject__tiles-row {
    display: flex;
    margin: 0 0 20px;
}

.b-specproject__tiles-col {
    flex: 0 0 auto;
}

.b-specproject__tiles-col + .b-specproject__tiles-col {
    margin-left: 20px;
}

.b-specproject__tiles-col--w1 {
    width: 100%;
    border: 3px solid #00174F;
    padding: 4px;
}

.b-specproject__tile {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.b-specproject__tile:before {
    content: '';
    display: block;
    width: 100%;
}

.b-specproject__tile--w1140 {
    max-width: 1140px;
}

.b-specproject__tile--w1140:before {
    padding: calc(580 / 1140 * 100%) 0 0;
}

.b-specproject__tile + .b-specproject__tile {
    margin-left: 20px;
}

.b-specproject__tile--w560 {
    max-width: 560px;
}

.b-specproject__tile--w560:before {
    padding: calc(600 / 560 * 100%) 0 0;
}

.b-specproject__tile--w540 {
    max-width: 540px;
}

.b-specproject__tile--w540:before {
    padding: calc(437 / 540 * 100%) 0 0;
}

.b-specproject__tile-wrap-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: inherit;
}

.b-specproject__tile-wrap-link:hover {
    color: inherit;
}

.b-specproject__tile-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 50px 0 20px 20px;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0) 11.25%, rgba(0, 0, 0, 0.5) 80%);
}

.b-specproject__tile-title {
    font: normal 700 30px/36px 'FuturaLT', sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.b-specproject__tile-text {
    font: normal 400 20px/24px 'FuturaLT', sans-serif;
    color: #fff;
    margin: 0 0 20px;
}

.b-specproject__tile-text a {
    color: inherit;
    text-decoration: underline;
}

.b-specproject__tile-text a:hover {
    color: inherit;
    text-decoration: none;
}

.b-specproject__tile-wrap-content {
    margin-right: 50px;
}

.b-specproject__tile--w1140 .b-specproject__tile-content {
    align-items: flex-end;
    background: none;
}

.b-specproject__tile--w1140 .b-specproject__tile-wrapper-text {
    margin-left: 37px;
    z-index: 2;
}

.b-specproject__tile--w1140 .b-specproject__tile-title {
    color: #00174F;
}

.b-specproject__tile--w1140 .b-specproject__tile-text {
    color: #00174F;
}

.b-specproject__tile-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 203px;
    height: 45px;
    border-radius: 3px;
    border: 2px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
    color: #00174F;
    background: #fff;
    transition: all 0.3s;
}

.b-specproject__tile-wrap-link:hover .b-specproject__tile-link,
.b-specproject__tile-link:hover {
    color: #fff;
    background: #00174F;
}

.b-specproject__tile--w1140 .b-specproject__tile-link {
    background: #00174F;
    color: #fff;
}

.b-specproject__tile--w1140 .b-specproject__tile-wrap-link:hover .b-specproject__tile-link,
.b-specproject__tile-link:hover {
    background: #CC0C2F;
}

.b-specproject__tile-link-text {
    font: normal 700 13px/16px 'FuturaLT', sans-serif;
}

.b-specproject__tile--main {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/main.jpg);
}

.b-specproject__tile--collection {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/collection.jpg);
}

.b-specproject__tile--contest {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/contest.jpg);
}

 .b-specproject__tile--testing {
     background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/testing.jpg);
 }

 .b-specproject__video-poster--left {
     background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/preview_l.jpg);
 }

.b-specproject__video-poster--right {
    background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/preview_r.jpg);
}

/* Video */
.b-specproject__tile--responsive {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.b-specproject__tile--responsive:before {
    content: '';
    display: block;
    width: 1px;
    margin: 0 0 0 -1px;
    padding: calc(437 / 280 * 100%) 0 0;
}
.b-specproject__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.b-specproject__video-poster {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.b-specproject__video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 1px solid #AAABAB;
}

.b-specproject__video-play-svg {
    position: absolute;
    z-index: 2;
    top: 35%;
    left: 25%;
    cursor: pointer;
    stroke: #fff;
}

.b-specproject__video-play-svg:hover {
    stroke: #00174F;
}

@media (max-width: 1030px) {
    .b-specproject__tiles-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .b-specproject__tiles-col {
        width: 100%;
        margin: 0;
    }

    .b-specproject__tiles-col + .b-specproject__tiles-col {
        margin: 20px 0 0;
    }

    .b-specproject__tile {
        width: 100%;
        margin: 0;
        background-size: cover;
    }

    .b-specproject__tile + .b-specproject__tile {
        margin: 20px auto 0;
    }
}

@media (max-width: 640px) {
    .b-specproject {
        padding: 0 17px;
    }

    .b-specproject__header {
        padding: 24px;
    }

    .b-specproject__header-title {
        font: normal 700 18px/22px 'FuturaLT', sans-serif;
        margin-bottom: 40px;
    }

    .b-specproject__header-text {
        font: normal 400 15px/18px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile--w1140:before {
        padding: calc(412 / 340 * 100%) 0 0;
    }

    .b-specproject__tile--w1140 .b-specproject__tile-content {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .b-specproject__tile--w1140 .b-specproject__tile-title {
        font: normal 700 28px/34px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile--w1140 .b-specproject__tile-text {
        font: normal 400 16px/19px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile-wrap-content {
        margin: 0;
    }

    .b-specproject__tile--w560:before {
        padding: calc(412 / 340 * 100%) 0 0;
    }

    .b-specproject__tile--w540:before {
        padding: calc(412 / 340 * 100%) 0 0;
    }

    .b-specproject__tile-title {
        font: normal 700 18px/22px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile-text {
        font: normal 400 14px/17px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile-link {
        width: 127px;
        height: 39px;
    }

    .b-specproject__tile-link-text {
        font: normal 700 10px/12px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile--responsive:before {
        padding: calc(412 / 340 * 100%) 0 0;
    }

    .b-specproject__tile--main {
        background-image: url(https://static.sobaka.ru/uploads/specprojects/tommy_explorerclub/main1_m.jpg);
    }

    .b-specproject__tile--responsive {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .b-specproject__tile--w1140 .b-specproject__tile-title {
        font: normal 700 20px/20px 'FuturaLT', sans-serif;
    }

    .b-specproject__tile--w1140 .b-specproject__tile-text {
        font: normal 400 15px/15px 'FuturaLT', sans-serif;
    }
}
/* Share */
.b-specproject__share {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 30px;
}

.b-specproject__share-title {
    font: normal 400 14px/1 'FuturaLT', sans-serif;
}

.b-specproject__share-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 20px;
}

.b-specproject__share-btn {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 1px;
    color: #fff;
    background: #00174F;
    border: 1px solid #00174F;
    border-radius: 50%;
    overflow: hidden;
    transition: background 0.3s;
}

.b-specproject__share-btn + .b-specproject__share-btn {
    margin-left: 5px;
}

.b-specproject__share-btn:focus:active {
    outline: none;
}

.b-specproject__share-btn:hover {
    background: #FFF;
    color: #00174F;
    border: 1px solid #00174F;
}

.b-specproject__share-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    fill: currentColor;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Hide the search form of the main layout */
#search-form {
    display: none;
}