﻿html, body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

.uppercase {
    text-transform: uppercase;
}

.semibold {
    font-weight: 600;
}

.black {
    font-weight: 800;
}

.light {
    font-weight: 200;
}

.padding-top {
    padding-top: 16px !important;
}

.padding-bottom {
    padding-bottom:16px !important;
}

.padding-left {
    padding-left:16px !important;
}

.padding-right {
    padding-right:16px !important;
}

.show-secondary-menu {
    display: table-cell !important;
}

.vertical-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.page-wrapper {
    margin: 0 auto;
    min-width: 320px;
    max-width: 1280px;
}

header {
    margin: 40px 0 52px 0;
}

.menu {
    position: relative;
    z-index: 1;
}

.menu > div {
    position: absolute;
    padding-left: 4px;
}

.primary-menu {
    padding-right: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.primary-menu a {
    height: 36px !important;
    width: 120px !important;
    line-height: 20px;
}

.primary-menu a:hover {
    font-weight: 600;
    background-color: transparent !important;
    color: black !important;
}

.secondary-menu {
    padding-right: 20px;
    text-transform: lowercase;
    letter-spacing: 3px;
}

.secondary-menu a {
    height: 36px !important;
    width: 180px !important;
    line-height: 20px;
    white-space: nowrap;
}

.secondary-menu a:hover {
    font-weight: 600;
    background-color: transparent !important;
    color: black !important;
}

.logo {
    height: 20px;
    margin-left: 56px;
    padding-left: 0;
    padding-right: 88px;
    z-index: 0;
    cursor: pointer;
}

.language {
    background-image: url(../img/language-thin.svg);
    background-repeat: no-repeat;
    background-position: center left;
}

.language:hover {
    background-image: url(../img/language-thin-black.svg);
}

.grid-content {
    height: 200px;
    margin: 0;
    overflow: hidden;
}

.grid-content:hover figcaption {
    display: block !important;
    pointer-events: none;
}

.grid-content > img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.icon-area {
    position: relative;
    height: 32px;
    width: 32px;
}

.icon-area .top-right {
    border-left: 32px solid transparent;
    border-right: 32px solid;
    border-bottom: 32px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    right: 0px;
}

.icon-area .top-right > img {
    width: 16px;
    height: 16px;
    padding: 0px;
    position: relative;
    left: 16px;
    top: -3px;
}

.icon-area .bottom-left {
    border-left: 32px solid orange;
    border-right: 32px solid transparent;
    border-top: 32px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
}

.icon-area .bottom-left > img {
    width: 16px;
    height: 16px;
    padding: 0px;
    position: relative;
    left: -32px;
    top: -22px;
}

.work-image {
    display: block;
    max-width: 400px;
    margin-bottom: 4px;
}

.work-description {
    margin-top: 0; /* -54px; */
}

.clients {
    padding-left: 56px;
}

.about {
    padding-left: 56px;
}

.preview {
    width: 300px;
    padding-top: 8px;
    padding-right: 56px;
    display: block;
}

.footer img {
    height: 10px;
    vertical-align: sub;
}

.contact-link {
    width: 48px;
    padding: 8px 0 8px 16px;
    text-decoration: none;
}

.contact-link img {
    width: 16px;
}

#imageViewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

#imageViewer img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 601px) {
    main {
        padding: 0 16px;
    }
    
    .grid-content,
    .grid-content > img {
        height: 240px;
    }

    .highlight > .grid-content,
    .highlight > .grid-content > img {
        height: 480px;
    }

    .w3-col.m4.highlight { 
        width:66.6666%
    }

    .logo {
        padding-left: 16px;
        padding-right: 0;
    }

    .about {
        padding-left: 72px;
    }

    header {
        margin: 56px 0 68px 0;
    }
}
@media (min-width: 993px) {
    
    main {
        padding: 0 16px;
    }

    .grid-content, 
    .grid-content > img {
        height: 216px;
    }

    .highlight > .grid-content,
    .highlight > .grid-content > img {
        height: 432px;
    }

    .w3-col.l3.highlight { 
        width:49.99999%
    }
}