/* Fonts */
@font-face {
    font-family: 'Futura Book';
    src: url('../fonts/futurabookc-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Demi';
    src: url('../fonts/futurademic-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

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

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

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

/* Header */
.b-specproject__header {
    width: 700px;
    margin: 0 0 20px;
    color: #000;
    background: #fff;
}

.b-specproject__header-title {
    margin: 0 0 10px;
    font: normal 400 18px/26px 'Futura Demi', sans-serif;
    text-transform: uppercase;
}

.b-specproject__header-text {
    font: normal 400 16px/24px 'Futura Book', sans-serif;
    text-align: justify;
}

.b-specproject__header-text strong {
    font-weight: 700;
}

@media (max-width: 1030px) {
    .b-specproject__header {
        width: 100%;
        height: auto;
        padding: 15px 15px 0;
        text-align: center;
    }

    .b-specproject__header-title {
        font-size: 16px;
    }

    .b-specproject__header-text {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .b-specproject__header-title {
        font-size: 14px;
    }

    .b-specproject__header-text {
        font-size: 12px;
    }
}

/* 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: 700px;
}

.b-specproject__tiles-col--w2 {
    width: 300px;
}

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

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

.b-specproject__tile--w0 {
    width: 760px;
    height: 400px;
}

.b-specproject__tile--w1 {
    width: 700px;
    height: 400px;
}

.b-specproject__tile--w2 {
    width: 500px;
    height: 400px;
}

.b-specproject__tile--w3 {
    width: 300px;
    height: 600px;
}

.b-specproject__tile--w4 {
    width: 240px;
    height: 400px;
}

.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: 25px;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0) 11.25%, rgba(0, 0, 0, 0.9) 100%);
}

.b-specproject__tile-title {
    margin: 0 0 10px;
    font: normal 400 24px/1 'Futura Demi', sans-serif;
}

.b-specproject__tile-title--small {
    font-size: 18px;
    line-height: 24px;
}

.b-specproject__tile-text {
    margin: 0 0 15px;
    font: normal 400 16px/20px 'Futura Book', sans-serif;
}

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

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

.b-specproject__tile-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 50px;
    font: normal 400 14px/1 'Futura Demi', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    border-radius: 26px;
    transition: all 0.3s;
}

.b-specproject__tile-wrap-link:hover .b-specproject__tile-link,
.b-specproject__tile-link:hover {
    color: #000;
    background: #d5d5d5;
}

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

    .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;
    }

    .b-specproject__tile-content {
        padding: 30px 15px;
    }

    .b-specproject__tile-content br {
        display: none;
    }
}

/* 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 'Futura Demi', 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: #b6161c;
    border: none;
    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-color: #000;
}

.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;
}