/*/////////- Tweaks -//////////*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

.animate, .box-background {
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-ms-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}


/*/////////- Grid -//////////*/

.height-1 {
	height: calc((100vw - 300px) / 4 * 1);
}
 
.height-2 {
	height: calc((100vw - 300px) / 4 * 2);
}

.height-3 {
	height: calc((100vw - 300px) / 4 * 3);
}

.height-4 {
	height: calc((100vw - 300px) / 4 * 4);
}

.height-5 {
	height: calc((100vw - 300px) / 4 * 5);
}

.height-6 {
	height: calc((100vw - 300px) / 4 * 6);
}

.height-7 {
	height: calc((100vw - 300px) / 4 * 7);
}

.height-8 {
	height: calc((100vw - 300px) / 4 * 8);
}

.height-9 {
	height: calc((100vw - 300px) / 4 * 9);
}

.height-10 {
	height: calc((100vw - 300px) / 4 * 10);
}

.height-11 {
	height: calc((100vw - 300px) / 4 * 11);
}

.height-12 {
	height: calc((100vw - 300px) / 4 * 12);
}

.height-13 {
	height: calc((100vw - 300px) / 4 * 13);
}

.height-14 {
	height: calc((100vw - 300px) / 4 * 14);
}

.height-15 {
	height: calc((100vw - 300px) / 4 * 15);
}

.width-1 {
	width: calc((100vw - 300px) / 4 * 1);
}

.width-2 {
	width: calc((100vw - 300px) / 4 * 2);
}

.width-3 {
	width: calc((100vw - 300px) / 4 * 3);
}

.width-4 {
	width: calc((100vw - 300px) / 4 * 4);
}

#boxes .box.position-x-0 {
	left: 0;
}

#boxes .box.position-x-1 {
	left: calc((100vw - 300px) / 4 * 1);
}

#boxes .box.position-x-2 {
	left: calc((100vw - 300px) / 4 * 2);
}

#boxes .box.position-x-3 {
	left: calc((100vw - 300px) / 4 * 3);
}

#boxes .box.position-y-0 {
	top: 0;
}

#boxes .box.position-y-1 {
	top: calc((100vw - 300px) / 4 * 1);
}

#boxes .box.position-y-2 {
	top: calc((100vw - 300px) / 4 * 2);
}

#boxes .box.position-y-3 {
	top: calc((100vw - 300px) / 4 * 3);
}

#boxes .box.position-y-4 {
	top: calc((100vw - 300px) / 4 * 4);
}

#boxes .box.position-y-5 {
	top: calc((100vw - 300px) / 4 * 5);
}

#boxes .box.position-y-6 {
	top: calc((100vw - 300px) / 4 * 6);
}

#boxes .box.position-y-7 {
	top: calc((100vw - 300px) / 4 * 7);
}

#boxes .box.position-y-8 {
	top: calc((100vw - 300px) / 4 * 8);
}

#boxes {
	position: relative;
}

#boxes .box {
	position: absolute;
	left: 0;
	top: 0;
	background-size: cover;
	background-position: center center;
	display: none;
}

.box-inside {
	padding: 30px;
    width: 100%;
    z-index: 100;
    position: absolute;
}

.box.dark, .box.dark a { 
	color: #fff;
}

.box.topleft .box-inside {
    top: 0;
    left: 0;
    height: 100%;
}

.box.centerleft .box-inside {
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.box.bottomleft .box-inside {
    bottom: 0;
    left: 0;
}

.box.topcenter .box-inside {
    top: 0;
    text-align: center;
}

.box.centercenter .box-inside {
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.box.bottomcenter .box-inside {
	bottom: 0;
    text-align: center;
}

.box.topright .box-inside {
	right: 0;
    text-align: right;
}

.box.centerright .box-inside {
	right: 0;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
}

.box.bottomright .box-inside {
	right: 0;
	bottom: 0;
    text-align: right;
}

/*/////////- General -//////////*/

body {
	font-family: 'Montserrat', sans-serif;
	color: #000;
	font-size: 14px;
	font-weight: 300;
	background-color: #fff;
	display: none;
}

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

img {
	max-width: 100%;
}

hr {
	border: none;
	border-bottom: 1px solid #ccc;
	margin: 30px 0;
}

#container {
	padding: 50px 150px;
	width: 100%;
	height: 100%;
	display: block;	
	background-image: url(/images/background_top.png), url(/images/background_center.png);
	background-size: 50%, 100%;
	background-repeat: no-repeat;
	background-position: left top, center center;
}

.playfair {
	font-family: 'Playfair Display', serif !important;
	font-weight: 300;
}

.light {
	color: #fff;
}

.uppercase {
	text-transform: uppercase;
}

.big {
	font-size: 30px !important;
	line-height: 36px !important;
}

.red {
	color: #e51515;
}

.shadow {
    box-shadow: 0 0 60px rgba(0,0,0,.2);
    z-index: 10;
}

.hascontent p {
    margin-bottom: 12px;
	font-family: 'Playfair Display', serif;
	font-weight: 300;
}

.box {
	font-size: 18px;
	line-height: 24px;
	overflow: hidden;
}

.box-background {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
	background-size: cover !important;
	background-position: center center !important;
}

.box:hover .box-background {
	transform: scale(1.1);
}

h1, h2, h3, h4 {
	font-weight: bold;
}

h1 {
}

h1.title {
	display: none;	
}

h2 {
	font-size: 30px;
	margin-bottom: 20px;
}

h3 {
	
}

.logo .box-inside span {
	display: none;
}

/*/////////- Menu -//////////*/

.top-menu {
	position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 20px 50px;
    margin: auto;
    text-align: right;
    display: block;
    width: 100%;
}

.menu-list {
	text-align: center;
}

.menu-list li {
	display: inline-block;
	text-align: center;
	margin: 0 10px;
}

.inspiration {
    background-color: #fff;
}

.inspiration.default {
	background-color: #fff;
}

.inspiration.href {
	background-color: #333;
	color: #fff;
}

.inspiration.href a {
	color: #fff;
}

.inspiration.quote {
	font-family: 'Playfair Display', serif !important;	
}

.inspiration.image .box-inside {
    display: none;
}

.inspiration.quote .box-background {
    background-image: none !important;
}

.inspiration.empty {
	opacity: 0;
}

span.read-more {
    display: block;
    position: absolute;
    bottom: 30px;
    font-size: 12px;
	font-family: 'Playfair Display', serif !important;	
	cursor: pointer;
}

.more-content {
    display: none;
}

#overlay {
    display: none;
    width: 100%;
    height: calc(100% - ((100vw - 300px) / 4 * 1));
    background: #fff;
    position: absolute;
    z-index: 1000;
    left: 0;
    top: calc((100vw - 300px) / 4 * 1);
    box-shadow: 0 0 50px rgba(0,0,0,.3);
    cursor: pointer;
}

.overlay-inside p:not(:last-child) {
    margin-bottom: 10px;
}

.overlay-inside {
    padding: 100px;
    line-height: 24px;
    font-size: 18px;
    font-family: "Playfair Display";
}

.overlay-inside h2 {
	font-family: 'Montserrat', sans-serif;
}


.overlay-inside:after {
    content: "close";
    position: absolute;
    right: 15px;
    top: 10px;
    font-family: "montserrat";
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
}

.hidden {
	overflow: hidden;
}

/*/////////- Footer -//////////*/

#footer {
	margin-top: 100px;
	text-transform: uppercase;
	font-weight: bold;
}

#location-menu li {
	font-size: 18px;
	margin: 0 30px;
}

.footer-main {
	padding: 70px;
	background: #eaeaea;
	text-align: center;
	display: block;	
	margin: 20px 0;
	font-size: 40px;
}

@media all and (max-width: 1024px) {
	.box {
	}
	
	h2 {
		font-size: 20px;
	}
}


@media all and (max-width: 768px) {
	#container {
		padding: 20px;
		background-size: 100%, 100%;
	}
	
	.box-inside {
		/* height: auto !important; */
	}

	#boxes .box {
	    position: relative;
	    left: 0 !important;
	    top: 0 !important;
	    width: 100%;
	    display: block !important;
	    min-height: 250px;
	}
	
	#boxes {
	    height: inherit;
	}
	
	#location-menu li {
    	font-size: 10px;
		margin: 0px 5px;
	}
	
	#overlay {
		height: 100vh;
		position: fixed;
		top: 0;
	}
	
	.overlay-inside {
		padding: 30px;
		overflow-y: scroll;
    	height: 100vh;
    }

	#footer {
		margin-top: 20px;
	}
	
	#boxes .box.no-background.no-content,
	#boxes .box.inspiration.empty {
    	display: none !important;
	}
}
