/*
light - 300
Regular - 400
Medium - 500
*/

:root {
    --select-border: #777;
    --select-focus: blue;
    --select-arrow: var(--select-border);
}

html {
    color: #222;
    font-size: 16px;
    line-height: 1.375rem;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Helvetica, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

ul {
    padding: 0;
    margin: 0;
}

.mobile {
    display: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 75px;
    background: #fff;
    color: #9b9a9a;
    padding-top: 32px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #cfcfcf;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition: 0.25s;
    transition: 0.25s;
}

header #main {
    width: 96%;
    margin: 0 auto 46px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

header #main #hamburger {
    margin-top: -3px;
}

header #main #hamburger svg {
    width: 25px;
    height: 17px;
}

header #main #hamburger svg path {
    fill: #ababab;
}

header #main #hamburger:hover svg path {
    fill: #333;
}

header #main #gdsid {
    width: 100%;
    max-width: 460px;
    margin-top: -5px;
}

header #main #gdsid img {
    width: 100%;
}

header #main #gdsid .mobile {
    display: none;
}

header #main #social {
    margin-top: -6px;
    width: 22px;
    height: 22px;
}

header #main #social svg {
    width: 22px;
    height: 22px;
}

header #main #social svg path {
    fill: #ababab;
}

header #main #social svg circle {
    fill: #ababab;
}

header #main #social:hover svg path,
header #main #social:hover svg circle {
    fill: #333;
}

header #main a:link,
header #main a:active,
header #main a:visited {
    color: #9b9a9a;
    text-decoration: none;
}

header #main a:hover {
    color: #666;
}

header.active {
    height: 125px;
}

header nav {
    width: 96%;
    margin: 0 auto;
}

header nav ul {
    list-style: none;
    margin: 29px 0 0 0;
    padding: 0;
    font-size: 0;
}

header nav ul li {
    margin-right: 65px;
    display: inline-block;
    vertical-align: top;
    font-size: 0.625rem;
    line-height: 0.625rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
}

header nav ul li a:link,
header nav ul li a:active,
header nav ul li a:visited {
    color: #9b9a9a;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #666;
}

header nav ul li a.active {
    color: #333;
}

header #header-tools {
    font-size: 0;
    padding: 0;
    margin: 23px 30px 0 0;
}

header #header-tools .tool {
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1rem;
    padding: 0;
    margin: 0 20px 0 0;
}

header #header-tools .tool:last-child {
    margin: 0;
}

header #header-tools .tool a:link,
header #header-tools .tool a:active,
header #header-tools .tool a:visited {
    color: #bbc5ce;
    text-decoration: none;
}

header #header-tools .tool a:hover {
    color: #ffffff;
}

section {
    background: #f5f5f5;
}

section .content {
    margin: 0 auto;
}

/* HOME */

.hero {
    width: 100%;
/*    height: 100vh;*/
/*    overflow: hidden;*/
}

.hero video {
    width: 100%;
}

.hero img {
    width: 100%;
}

.hero.first {
    margin-top: 75px;
}

.home section .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 960px;
    padding: 42px 0;
}

section .content .col1,
section .content .col2 {
    font-size: 0.75rem;
    line-height: 1.6875rem;
    width: 48%;
}

#home-scroll-indicator {
    position: fixed;
    bottom: 26px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1500;
    width: 28px;
    height: 32px;
    font-size: 2rem;
    color: #ffffff;
}

/* RECENT WORK */
.recent-work * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* force scrollbar */
/* html { overflow-y: scroll; }


/* ---- grid ---- */
.grid {
	margin-top: 75px;
}

/* clear fix */
.grid:after {
	content: '';
	display: block;
	clear: both;
}

/* ---- .grid-item ---- */
.grid-sizer,
.grid-item {
	width: 25%;
}

.grid-item {
	float: left;
}

.grid-item img {
	display: block;
	max-width: calc(100% - 24px);
	margin: 12px;
}
#detailed {
	display: none;
	position: absolute;
	top: 75px;
	width: 100%;
	height: calc(100vh - 75px);
	overflow: hidden;
	background: #f5f5f5;
}
#detailed #detailed-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	font-size: 0;
	list-style: 0;
}
#detailed #detailed-wrapper .view {
	display: inline-block;
	vertical-align: top;
	height: 100%;
	width: 100vw;
	text-align: center;
	position: relative;
	overflow: hidden;
}

#detailed #detailed-wrapper .view .img-wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

#detailed #detailed-wrapper .view img.portrait {
	max-width: 815px;
}

#detailed #detailed-wrapper .view img.landscape {
	width: 82vw;
	max-width: 1400px;
}

#detailed #prev-arrow {
	position: absolute;
	z-index: 10;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	top: 50%;
	left: 12px;
	width: 58px;
	height: 58px;
	background: #fff;
	border-radius: 29px;
	color: #b9b8b8;
	font-size: 3.5rem;
    text-align: center;
}
#detailed #prev-arrow i {
	display: block;
	margin-left: -1px;
}
#detailed #next-arrow {
	position: absolute;
	z-index: 10;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	top: 50%;
	right: 12px;
	width: 58px;
	height: 58px;
	background: #fff;
	border-radius: 29px;
	color: #b9b8b8;
	font-size: 3.5rem;
    text-align: center;
}
#detailed #next-arrow i  {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	display: block;
	margin-left: 1px;
}

#detailed #prev-arrow:hover,
#detailed #next-arrow:hover {
	cursor: pointer;
}

#detailed #back {
	position: absolute;
	left: 15px;
	bottom: 15px;
	z-index: 12;
	text-transform: uppercase;
	font-size: 0.75rem;
	line-height: 0.75rem;
	color: #666666;
	letter-spacing: 4px;
}

#detailed #back:hover {
	color: #333;
	cursor: pointer;
}

#detailed #slide-number {
	position: absolute;
	right: 15px;
	bottom: 15px;
	z-index: 12;
	text-transform: uppercase;
	font-size: 0.75rem;
	line-height: 0.75rem;
	color: #666666;
	letter-spacing: 4px;
	text-align: right;
	width: 70px;
}

#detailed .img-wrapper .info-btn {
	position: absolute;
	bottom: 2px;
	right: 2px;
	z-index: 5;
	width: 39px;
	height: 39px;
	background-color: rgba(0,0,0,0.5);
	padding-top: 10px;
	text-align: center;
	display: none;
}

#detailed .img-wrapper .info-btn img {
	width: 18px;
	height: 18px;
}

#detailed .img-wrapper .info-btn:hover {
	cursor: pointer;
}

#detailed .info {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 6;
	width: 280px;
	height: 180px;
	background-color: rgba(0,0,0,0.5);
	padding: 17px;
	color: #fff;
	-webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition: 0.3s;
    transition: 0.3s;
	display: none;
	text-align: left;
	font-size: 0.75rem;
	line-height: 1.125rem;
	opacity: 0;
}

#detailed .info strong {
	font-size: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
}

#detailed .info .row {
	margin-bottom: 4px;
}

#detailed .info .close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 16px;
	height: 16px;
}

#detailed .info .close:hover {
	cursor: pointer;
}

#detailed .info .close img {
	width: 16px;
	height: 16px;
}

/* ABOUT */

.about > section > .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 75px;
    min-height: 100vh;
}

.about > section > .content img {
    width: auto;
    height: calc(100vh - 75px);
}

.about > section > .content .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 75%;
    height: calc(100vh - 75px);
}

.about > section > .content .wrapper .copy {
    width: 620px;
    line-height: 1.5rem;
    letter-spacing: 1px;
    color: #999999;
    text-align: left;
}

/* CONTACT */

.contact > section > .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 75px;
    min-height: 100vh;
    background-color: #F2F2F2;
}

.contact > section > .content .cities {
    font-size: 8rem;
    line-height: 8rem;
    letter-spacing: 1.25rem;
    color: #DAD7D9;
}

.contact > section > .content img {
    width: auto;
    height: calc(100vh - 75px);
}

.contact > section > .content .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 61%;
    height: calc(100vh - 75px);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 12%;
}

.contact > section > .content .wrapper .copy {
    width: 400px;
    font-size: 0.875rem;
    line-height: 1.875rem;
    letter-spacing: 1px;
    color: #999999;
    text-align: justify;
}

.contact > section > .content .wrapper .copy svg {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    margin-left: 26px;
}

.contact > section > .content .wrapper .copy svg path,
.contact > section > .content .wrapper .copy svg circle {
    fill: #ababab;
}

.contact > section > .content .wrapper .copy a:link,
.contact > section > .content .wrapper .copy a:active,
.contact > section > .content .wrapper .copy a:visited {
    color: #999999;
    text-decoration: none;
}

.contact > section > .content .wrapper .copy a:hover {
    color: #000;
}

.contact > section > .content .wrapper .copy a:hover svg path {
    fill: #000;
}

@media only screen and (max-width: 1400px) {
    .about > section > .content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 60px;
    }
    
    .about > section > .content img {
        width: 90%;
        max-width: 400px;
        height: auto;
        margin-top: 80px;
    }
    
    .about .desktop {
        display: none;
    }
    
    .about .mobile {
        display: block;
    }
    
    .about > section > .content .wrapper {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .about > section > .content .wrapper .copy {
        width: 90%;
        max-width: 620px;
        margin: 60px auto 0 auto;
    }
    
    .contact > section > .content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 60px;
    }
    
    .contact > section > .content img {
        width: 90%;
        max-width: 460px;
        height: auto;
        margin-top: 80px;
    }
    
    .contact .desktop {
        display: none;
    }
    
    .contact .mobile {
        display: block;
    }
    
    .contact > section > .content .wrapper {
        display: block;
        width: 100%;
        height: auto;
    }
    
    .contact > section > .content .wrapper .copy {
        width: 90%;
        max-width: 620px;
        margin: 60px auto 0 auto;
    }
}

@media only screen and (max-width: 1100px) {
    .grid-sizer,
    .grid-item {
        width: 33.333%;
    }
}

@media only screen and (max-width: 700px) {
    header #main #gdsid {
        max-width: 250px;
        margin: -18px auto 0 auto;
    }
    
    header #main #gdsid .desktop {
        display: none;
    }
    
    header #main #gdsid .mobile {
        display: block;
    }
    
    .grid-sizer,
    .grid-item {
        width: 50%;
    }
}

@media only screen and (max-width: 630px) {
    .contact > section > .content .cities {
        font-size: 6rem;
        line-height: 6rem;
        letter-spacing: 1.25rem;
        color: #DAD7D9;
    }
}

@media only screen and (max-width: 450px) {
    .grid-sizer,
    .grid-item {
        width: 100%;
    }
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
      header.active {
          height: 130px;
      }
      
      header nav ul li {
          margin-right: 30px;
      }
}