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

@font-face {
    font-family: 'Lato';
    src: url('../fonts/latomedium.woff2') format('woff2'),
    url('../fonts/latomedium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/latoregular.woff2') format('woff2'), 
         url('../fonts/latoregular.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 5px;
    font: normal 600 17px/24px 'Lato', sans-serif;
}

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

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

/* 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%;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
}

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

.b-specproject__tile-content > *:last-child {
    margin-bottom: 0;
}

.b-specproject__tile-content--primary {
    justify-content: center;
    padding-left: 45px;
    background:none;
}

.b-specproject__tile-content--black {
    color:#000;
}

.b-specproject__tile-title {
    margin: 0 0 20px;
    font: normal 600 24px/30px 'Lato', sans-serif;
}

.b-specproject__tile-title--primary {
    margin: 0 0 10px;
    font: normal 600 48px/1 'Lato', sans-serif;
}

.b-specproject__tile-title--primary span {
    display: block;
    font: normal 600 30px/35px 'Lato', sans-serif;
}

.b-specproject__tile-title--small {
    font: normal 600 20px/24px 'Lato', sans-serif;
}

.b-specproject__tile-text {
    margin: 0 0 15px;
    font: normal 400 20px/24px 'Lato', 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-subtext {
    font: normal 400 13px/16px 'Lato', sans-serif;
}

.b-specproject__tile-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 195px;
    height: 50px;
    font: normal 500 18px/1 'Lato', sans-serif;
    text-decoration: none;
    color: #fff;
    background: #00aaff;
    border-radius: 26px;
    transition: all 0.3s;
    box-shadow: 0 6px 23px 3px rgba(0,0,0,.25);
}

.b-specproject__tile-link--primary {
    background: #85d300;
}

.b-specproject__tile-wrap-link:hover .b-specproject__tile-link,
.b-specproject__tile-link:hover {
    background: #36bdff;
}

.b-specproject__tile-wrap-link:hover .b-specproject__tile-link--primary,
.b-specproject__tile-link--primary:hover {
    background: #afd75c;
}

/* 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 'Lato', 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: #00aaff;
    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: #36bdff;
}

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