/*
*	Theme Name: Adam Kane Architects
*	Theme URI: http://www.gaventurestudio.com/
*	
*	Author: JY Lee
*	Author URI: http://www.gaventurestudio.com/
*	Version: 1.0
*	Tags: almost naked theme, nude theme, nude template, naked template, twenty4, minimalist theme, developer theme, startup theme
*/

@import "css/reset.css";
@import "css/typography.css";
@import "css/layout.css";
@import url('https://fonts.googleapis.com/css?family=Montserrat:100,300,400');

html, body {
	margin: 0;
	padding: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 10.5px;
    line-height: 1.4;
    letter-spacing: 1px;
}

body.noscroll {
    overflow: hidden;
}

.content {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	
}

h1 {
	
}

h2 {
	
}

h2 a {
	
}

h2 a:hover {
	
}

a {
	cursor: pointer;	
}

a:hover {
	
}

p {

}

#wrapper {
	
}

#header {
	
}

#content {
	
}

#sidebar {
	
}

#footer {
	
}

.home-container {
    width: calc(100% - 20px);
    margin: auto;
}

.container {
    width: calc(100% - 20px);
    margin: auto;
}

@media (min-width: 768px) {
    .container {
        width: 95%;
    }

    .homepage-content {
        overflow: hidden;
    }
    
    .home-container {
        height: calc(100vh - 70px);
        margin: auto;
    }
    
}

@media (min-width: 1024px) {
    .container {
        width: 75%;
        margin: auto;
        max-width: 1200px;
    }
}

.clear {
	clear:both;
}

.logo {
	display: block;
	font-size: 0px; /* hide text */
	background: url(images/logo.png) no-repeat;
    width: 0px;
	/* width: 100px; */
	/* height: 50px; */
}

.hidden {
    display: none;
}

.opacity {
    opacity: 0;
}

.alignleft, .floatleft {
	float:left;
}

.alignright, .floatright {
	float:right
}

.aligncenter {
	margin: auto;
	display:block;
}

.white {
    background: white;
    color: white;
}

/* menubar */
.menubar {
	border:none;
	border:0px;
	padding:0px;
    width: 36%;
    min-width: 600px;
    height: 80px;
    margin: 0 auto;
	/* height:30px; height of menubar */
}

.menubar ul {
	list-style:none;
	margin:0;
	padding:0;
}

.menubar li {
	float:left;
	padding:0px;
    width: 20%;
}

.menubar li a {
	display:block;
	margin:0px;
	padding:5px 10px;
	text-align:center;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    width: 20%;
}

.menubar li a:hover,.menubar ul li:hover a {
}

.menubar li ul {
	display:none;
	height:auto;
	padding:0px;
	margin:0px;
	border:0px;
	position:absolute;
	width:auto;
	z-index:200;
}

.menubar li:hover ul{
	display:block;
}

.menubar li li{
	display:block;
	float:none;
	margin:0px;
	padding:0px;
	width:225px;
}

.menubar li:hover li a {
	background:none;
}

.menubar li ul a {
	display:block;
	font-size:14px;
	margin:0px;
	text-align:left;
}

.menubar li ul a:hover,.menubar li ul li:hover a {
	border:0px;
}

.menubar p {
	clear:left;
} 

/* different styling for current menu*/
.menubar .current-menu-item a {
	color:#999999;
}

.home-menubar {
    display: none;
}

@media (min-width: 768px) {
    .home-menubar {
        display: block;
        line-height: 1;
    }
}

.home-menubar .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    max-height: 0;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    width: 90%;
    margin: auto;
}

.home-menubar .menu.active {
    max-height: 100px;
    padding-bottom: 6px;
}

.home-menubar .menu .menu-item {
    padding: 0px 13px 8px;
    display: inline-block;
}

.home-menubar .menu .menu-item a {
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}

/* end of menubar */

.main-logo-wrapper {
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

.hamburger {
    display: inline-block;
    width: 100%;
}

.hamburger .hamburger-inner {
    width: 15px;
    height: 15px;
    position: relative;
    float: right;
}

.hamburger .hamburger-inner .line {
    background: #5D5D5D;
    height: 2px;
    width: 16px;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.5s ease-in-out;
}

.hamburger .hamburger-inner .line-2 {
    top: 6px;
}

.hamburger .hamburger-inner .line-3 {
    top: 12px;
}

.hamburger .hamburger-inner.active .line {
    background: #fff;
}

.hamburger .hamburger-inner.active .line-1 {
    animation: line1_rotate 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.hamburger .hamburger-inner.active .line-3 {
    animation: line3_rotate 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

.hamburger .hamburger-inner.active .line-2 {
    opacity: 0;
}

.hamburger .hamburger-inner.active {
    z-index: 2001;
}

@keyframes line1_rotate {
    50% {
        top: 33.3333%;
    }

    100% {
        top: 33.3333%;
        transform: rotate(45deg);
    }
}

@keyframes line3_rotate {
    50% {
        top: 33.3333%;
    }

    100% {
        top: 33.3333%;
        transform: rotate(-45deg);
    }
}

.mobile-menu-table {
    display: table;
    width: 100%;
    margin: 20px 0 17px 0;
}

.mobile-menu-table .mobile-menu-row {
    display: table-row;
}

.mobile-menu-table .mobile-menu-row .mobile-menu-cell {
    display: table-cell;
    width: 80%;
    vertical-align: middle;
}

.mobile-menu-table .mobile-menu-row .mobile-menu-cell:last-child {
    width: 13%;
}

.mobile-menu-overlay {
    z-index: -100;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background: rgba(155, 155, 155, 0.85);
}

.mobile-menu-overlay.active {
    z-index: 2000;
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay .mobile-menu-container {
    position: relative;
    height: 100%;
    text-transform: uppercase;
    font-size: 90%;
}

.mobile-menu-overlay .mobile-menu-container .menu {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
}

.mobile-menu-overlay .mobile-menu-container .menu .menu-item {
    margin: 35px 0;
    text-align: center;
    transition: all 0.3s;
}

.mobile-menu-overlay .mobile-menu-container .menu .menu-item a {
    text-decoration: none;
    font-weight: 100;
    color: #fff;
    font-size: 200%;
    letter-spacing: 5px;
}


.mobile-home {
    display: block;
}
.desktop-home {
    display: none;
}

@media (min-width: 768px) {
    .main-logo-wrapper {
        display: block;
        width: 390px;
        margin: 0 auto;
    }
    .mobile-menu-table .mobile-menu-row .mobile-menu-cell:last-child {
        display: none;
    }
    .hamburger {
        display: none;
    }
    .mobile-home {
        display: none;
    }
    .desktop-home {
        display: block;
    }
}

.main-logo {
    width: 100%;
}

.slide-wrap .slide {
    padding: 0px 0 15px 0;
    box-sizing: border-box;
    
}

.slide-wrap .slide img {
    width: 100%;
    display: inline-block;
    object-fit: cover;
    height: 100vh;
}

/* About page */
.about-hero {
    margin-bottom: 50px;
}

.about-hero img {
    width: 100%;
    object-fit: cover;
}

.summary {
    width: 100%;
    margin: 0px auto 50px auto;
}

.summary::first-line {
    line-height: 1;
}


.summary p {
    text-align: justify;
    text-align-last: center;
}

.staff-container {
    margin-top: 0px;
}

@media (min-width: 1024px) {
    .summary {
        width: 80%;
        display: block;
        margin-bottom: 100px;
    }
}

.architect {
    text-align: center;
    margin-bottom: 50px;
}

.architect .architect-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(100%);
}

.architect .position {
    font-size: 120%;
    font-weight: bold;
}

.write-up {
    text-align: justify;
    text-align-last: center;
}

@media (min-width: 768px) {
    .architect {
        width: 45%;
        text-align: justify;
        text-align-last: center;
        margin-bottom: 100px;
        margin-right: 10%;
    }
    
    .architect:nth-child(2n) {
        width: 45%;
        text-align: justify;
        text-align-last: center;
        margin-bottom: 100px;
        margin-right: 0%;
    }

    .architect img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        filter: grayscale(100%);
        transition: all 0.5s;
    }

    .architect:hover img {
        filter: none;
    }

    .architect {
        float: left;
    }

}

@media (min-width: 1024px) {
    .architect {
        width: 40%;
        margin-right: 20%;
    }
    .architect:nth-child(2n) {
        width: 40%;
        margin-right: 0px;
    }
    
    .post-img {
        filter: grayscale(100%);
    }
}

.name {
    margin: 20px 0 0 0;
}
.position {
    font-weight: 400;
    margin-bottom: 20px;
}

.img {
    display: none;
}

.post-wrap {
    margin-bottom: 8px;
}

.post-wrap .project-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.post-wrap .project-link .post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .post-wrap {
        position: relative;
    }
    
    .post-wrap:hover .project-small-title {
        opacity: 1;
        transition: 1.5s;
    }
    .post-wrap:nth-child(1) {
        width: calc(30% - 3px);
        height: 450px;
        margin: 0 3px 6px 0;
        float: left;
    }
    .post-wrap:nth-child(2) {
        width: calc(70% - 3px);
        height: 450px;
        margin: 0 0px 6px 3px;
        float: left;
    }
    .post-wrap:nth-child(3) {
        width: calc(70% - 3px);
        height: 450px;
        margin: 0 3px 6px 0;
        float: left;
    } 
    .post-wrap:nth-child(4) {
        width: calc(30% - 3px); 
        height: 450px;
        margin: 0 0px 6px 3px;
        float: left;
    }
    .post-wrap:nth-child(5) {
        width: calc(30% - 3px);
        height: 450px;
        margin: 0 3px 6px 0;
        float: left;
    }
    .post-wrap:nth-child(6) {
        width: calc(70% - 3px);
        height: 450px;
        margin: 0 0px 6px 3px;
        float: left;
    }
    .post-wrap:nth-child(7) {
        width: calc(70% - 3px);
        height: 450px;
        margin: 0 3px 6px 0;
        float: left;
    } 
    .post-wrap:nth-child(8) {
        width: calc(30% - 3px); 
        height: 450px;
        margin: 0 0px 6px 3px;
        float: left;
    }
    .post-wrap:nth-child(9) {
        width: calc(30% - 3px); 
        height: 450px;
        margin: 0 3px 6px 0px;
        float: left;
    }
    .post-wrap:nth-child(10) {
        width: calc(70% - 3px) !important;
        height: 450px;
        margin: 0 0px 10px 3px;
        float: left;
    }
    .post-wrap img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
}

.project-link {
    text-decoration: none;
}

.project-small-title {
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    text-align: center;
    color: white;
    position: absolute;
    bottom: 20px;
    margin: 0 auto;
    left: 0;
    right: 0;
    transition: 1.5s;
    text-shadow: 1px 1px 4px #000;
}

.post-img:hover {
    filter: grayscale(0%);
    transition: 1.5s;
}


/* Project Post */
.post-cover-wrap {
    width: 100%;
    height: auto;
    padding-bottom: 50px;
}

@media (min-width: 768px) {
    .post-cover-wrap {
        width: 100%;
        padding-bottom: 50px;
    }
}

.post-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-text .project-title {
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    font-size: 180%;
    margin: 25px 0 20px 0;
}

.project-text .project-desc {
    text-align: justify;
    text-align-last: center;
    margin: 0 auto 55px auto;
    width: 90%;
}

.project-gallery {
    margin-bottom: 15px;
}

.project-gallery-item-wrapper {
    display: inline-block;
    height: 0;
    padding-bottom: 51.25%;
    width: 48.75%;
    float: left;
    margin-right: 2.5%;
}

.project-gallery-item-wrapper:nth-child(2n) {
    margin-right: 0%;
}

@media (min-width: 768px) {
    .post-cover-wrap {
    }

    .project-gallery-item-wrapper {
        width: calc(25% - 15px);
        padding-bottom: calc(25% - 15px);
        margin: 0 10px 20px 10px;
    } 
    
    .project-gallery-item-wrapper:nth-child(2n) {
        margin: 0 10px 20px 10px;
    }
    
    .project-gallery-item-wrapper:nth-child(4n+1) {
        margin: 0 10px 20px 0px;
    }
    
    .project-gallery-item-wrapper:nth-child(4n+4) {
        margin: 0 0px 20px 10px;
    }
}

@media (min-width: 1280px) {
    .project-text {
        width: 80%;
        margin: auto;
    }
    
    .project-gallery {
        width: 100%;
        margin: auto;
    }
}

.project-gallery-item {
    width: 100%;
    position: relative;
}

.project-gallery-item:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.project-gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: inherit;
}

.fluidbox__overlay {
    display: none;
}

.fluidbox_overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: hsla(0,0%,100%,.85);
    transition: all .5s ease-in-out;
    opacity: 0;
}

.fluidbox--opened {
    z-index: 2;
}

.fluidbox--opened + .fluidbox_overlay {
    opacity: 1;
    z-index: 1;
}

.project-single:last-child {
    margin-right: 0px;
}

.project-single img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-large {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

.project-large-single {
    width: 80%;
    margin: auto;
}

.project-large-single img {
    width: 60%;
    height: 60vh;
    object-fit: contain;
    margin: auto;
    position: fixed;
    left: 20%;
    right: 20%;
    top: calc(50% - 30vh);
}

.left, .right {
    width: 30px;
    height: 30px;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s;
}

.left {
    position: fixed;
    left: 5%;
    top: calc(50% - 15px);
    z-index: 4;
}

.right {
    position: fixed;
    right: 5%;
    top: calc(50% - 15px);
    z-index: 4;
}

.left-btn , .right-btn {
    fill: #8b8b8b;
}

/* Media page */
.magazine,
.awards {
    float:left;
    width: 49%;
    margin-bottom: 25px;
}

.media-margin {
    margin-right: 2%;
}

.media-margin:nth-child(2n) {
    margin-right: 0px;
}

@media (min-width: 1280px) {
    .media-margin:nth-child(2n) {
        margin-right: 0px;
    }
}    

.awards .award-link {
    text-decoration: none;
    color: #000;
}

.magazine .magazine-cover-wrapper,
.awards .award-cover {
    width: 100%;
    height: 0;
    padding-bottom: 135%;
    position: relative;
}

.magazine .magazine-cover,
.awards .award-cover img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine .magazine-cover .fluidbox__wrap {
    height: 100%;
}

.magazine .magazine-cover img {
    width: 100%;
    height: 100%;
    z-index: inherit;
    object-fit: cover;
}

.magazine .magazine-cover.fluidbox--opened + .fluidbox_overlay {
    opacity: 1;
    z-index: 1;
}

.magazine .magazine-info,
.awards .award-info {
    text-align: center;
}

.magazine .magazine-info .magazine-date,
.awards .award-info .award-date {
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.magazine .magazine-info .magazine-title,
.awards .award-info .award-title {
    width: 80%;
    margin: auto;
    letter-spacing: 2px;
    height: 50px;
}

.pagination {
    width: 60%;
    text-align: center;
    margin: 30px auto;
}

.page-number a {
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

.page-numbers.current {
    margin: 0 5px;
}

@media (min-width: 768px) {
    .magazine,
    .awards {
        width: 32%;
        float: left;
    }
    
    .media-margin:nth-child(2n){
        margin-right: 2%;
    }
    
    .media-margin:nth-child(3n){
        margin-right: 0px;
    }
}

@media (min-width: 1280px) {
    .magazine-award-container {
        width: 100%;
        margin: 0px auto 0 auto;
    }

    .media-margin {
        width: 22%;
        margin-right: 4%;
    }
    

    
    .media-margin:nth-child(2n){
        margin-right: 4%;
    }
    
    .media-margin:nth-child(3n){
        margin-right: 4%;
    }
        .media-margin:nth-child(4n) {
        margin-right: 0%;
    }
    .magazine .magazine-cover-wrapper img,
    .awards .award-cover img {
        filter: grayscale(1);
        transition: all 0.5s;
        cursor: pointer;
    }

    .magazine:hover .magazine-cover-wrapper img,
    .awards:hover .award-cover img {
        filter: none;
    }
}

.date{
    margin: 20px 0;
    text-decoration: none;
    color: black;
}

.media-title{
    text-decoration: none;
    color: black;
}

.magazine-img {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}
.magazine-img img {
    width: 60%;
    object-fit: contain;
    margin: auto;
    position: fixed;
    left: 20%;
    right: 20%;
    top: calc(50% - 30vh);
}

.media-left, .media-right {
    width: 30px;
    height: 30px;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s;
}

.media-left {
    position: fixed;
    left: 5%;
    top: calc(50% - 15px);
    z-index: 4;
}

.media-right {
    position: fixed;
    right: 5%;
    top: calc(50% - 15px);
    z-index: 4;
}


/* Contact Page */
.contact-us {
    margin-top: 0px;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-info::first-line{
        line-height: 1;
    }
    
    .contact-info {
        width: 70%;
        max-width: 1200px;
        margin: auto;
        letter-spacing: 1.5px;
    }
}

.contact-details {
    font-weight: bold;
    margin-bottom: 35px;
}
.phone {
    margin-bottom: 75px;
}

.phone a {
    text-decoration: none;
    color: #000;
}

.contact-enquiry {
    font-weight: 500;
    margin-bottom: 10px;
}

.contact {
    margin: 15px 0;
}

.contact a {
    text-decoration: none;
    color: #000;
}

.map-img {
    margin-top: 35px;
    margin-bottom: 15px;
    max-width: 1200px;
}

.map-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .map-img {
        height: 400px;
        margin-top: 100px;
    }
}

@media (min-width: 1440px) {
    .map-img {
        width: 100%;
        margin: 60px auto 15px auto;
        height: 500px;
    }
}

.active {
    display: block;
}


.none {
    opacity: 0;
    visibility: hidden;
}

/* Gallery styling */

.gallery {
    z-index: -100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.gallery.active {
    visibility: visible;
    opacity: 1;
    z-index: 100;
}

.gallery .gallery-inner-wrap {
    position: relative;
    height: 100%;
}

.gallery .gallery-list {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gallery .gallery-list .gallery-item {
    width: calc(100% - 20px) !important;
    height: 100%;
    margin: auto;
    display: block !important;
    z-index: 1;
    position: relative;
}

.gallery .gallery-list .gallery-item .overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.gallery .gallery-list .gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gallery .gallery-action {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 1;
}

.gallery .gallery-action .fa {
    color: #000;
}

.gallery .gallery-action.gallery-prev {
    left: 8px;
}

.gallery .gallery-action.gallery-next {
    right: 8px;
}

.slick-slide {
    height: 100vh;
}

.slick-slide > div {
    height: 100%;
}

@media (min-width: 768px) {
    .gallery .gallery-list .gallery-item {
        width: 75% !important;
        max-width: 1000px;
    }

    .gallery .gallery-action {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 1280px) {
    .gallery .gallery-action {
        width: 50px;
        height: 50px;
    }

    .gallery .gallery-action .gallery-action-inner {
        position: relative;
        height: 100%;
    }

    .gallery .gallery-action .fa {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@supports(padding: max(0px)) {
    .post {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
}