/* @override
	http://archigraphie.ch/site-kirby/assets/css/main.css
	http://archigraphie.ch/assets/css/main.css?v=3452
*/

/* @group Font Quicksand */



@font-face {
    font-family: 'rawline';
    src: url('../fonts/rawline-400.eot');
    src: url('../fonts/rawline-400.eot?#iefix') format('embedded-opentype'),
         url('../fonts/rawline-400.woff2') format('woff2'),
         url('../fonts/rawline-400.woff') format('woff'),
         url('../fonts/rawline-400.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


* {
	outline: none;
	margin-top: 0;
	margin-bottom: 0;
}
html, body {
	height: 100%;
}
body {
	/* -webkit-font-smoothing: antialiased !important; */
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
	font-family: 'rawline', georgia;
	font-weight: normal;
	font-style: normal;
	font-stretch: normal;
	font-size: 1.25em;
  line-height: 1.5em;
	margin: 0;
	color: white;
  background-color: #505050;

}
strong, h1, h2, h3 {
	font-family: 'rawline', georgia;
	font-weight: normal;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
}
ul {
	margin: 0;
	padding: 0;
}
ul li {
	list-style-type: none;
}
a {
	text-decoration: none;
	color: white;
}

a:hover {
	color: black;
}

table {
	border-spacing: 0;
  border-collapse: collapse;
}
img a {
	border: none;
}
.clear {
	clear: both;
}

/* Header
---------------- */
header {
	position: fixed;
	z-index: 10;
	width: 100%;
	background-color: #505050;
}
header h2 {
		font-family: 'rawline', georgia;
	font-weight: normal;
	font-style: normal;
  font-size: 1.5em;
  line-height: 1.1em;
  margin: 0;
  text-transform: uppercase;
}
header h2 .black {
  color: black;
}
.header-content {
	margin: 20px 10px 20px 10px;
	max-width: 1475px;
	display: flex;
	align-items: flex-end;
}
.header-content h2 {
	flex-grow: 1;
}
.header-content .thumbs-btn {
	display: block;
	cursor: pointer;
	padding-right: 91px;
}
.header-content .thumbs-btn img,
.header-content .thumbs-btn svg {
	display: block;
}
body.mode-thumbs .header-content .thumbs-btn svg polygon,
body.mode-thumbs .header-content .thumbs-btn svg rect,
.header-content .thumbs-btn:hover svg polygon,
.header-content .thumbs-btn:hover svg rect {
	fill: white;
}

@media (min-width: 800px) {
	.header-content {
		margin: 20px 50px 20px 67px;
	}
	header h2 {
  	font-size: 2em;
  }
}


/* Home
---------------- */
#page {
	position: absolute;
	width: 100%;
	top: 0;
	min-height: 100%;
	/* top: 73px; */
}

.page-content {
	margin: 77px 10px 73px 10px;
}
.contact {
	float: left;
}
.contact,
.contact a {
	color: black;
}
.contact h3 {
  font-size: 1em;
  line-height: 0.9em;
  padding: 5px 0;
  text-transform: uppercase;
  cursor: pointer;
  color: black;
}
.contact .text, .contact .phone, .contact .email {
  text-transform: uppercase;
}
.contact .text {
	font-size: 1.4em;
	margin-top: 10px;
	margin-bottom: 10px;
}
.contact .phone {
	font-size: 1.1em;
	line-height: 1.4em;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-left: -4px;
}
.contact .email a {
	border-bottom: 1px solid #000;
}
.contact .email a:hover {
	border-bottom: 1px solid #fff;
}
.contact-container {
	min-height: 210px;
	margin-top: 15px;
}

body:not(.touch) .contact:hover h3,
.open h3,
body:not(.touch) .contact .text:hover,
body:not(.touch) .contact .phone:hover,
body:not(.touch) .contact .email:hover a {
	color: white;
}
.text-container {
	display: none;
}
body:not(.touch) .contact:hover .text-container,
.open .text-container {
	display: block;
}


@media (min-width: 800px) {
	.page-content {
		margin: 88px 50px 73px 70px;
	}
	#page {
		/* top: 84px; */
	}
}

p a {
	color: black;
	border: ;
	border-bottom: 1px solid #000;
}

h4 {
	text-transform: uppercase;

	margin-top: 20px;
	color: black;
	font-weight: normal;
	font-style: normal;
}

/* Slideshow
---------------- */
.slideshow-container {
	margin-left: 0;
	max-width: 1500px;
	position: relative;
}
#slideshow {
	height: 0;
	padding-bottom: 50%;
	position: relative;
	width: 100%;

}
#slideshow.thumbs-open {
	height: auto;
	padding-bottom: 0;
}
.library {
	display: none;
}
.slide {
	position: absolute;
	top: 0;
	width:100%;
	height:100%;
	overflow: hidden;
}
.slide img {
	width: 100%;
	height:auto;
}
.control {
	/* position: absolute; */
	/* left:0; */
	/* top: 0; */
	/* width: 100%; */
	/* height: 100%; */
	z-index: 2;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

  cursor: none;
}

.slideshow.thumbs-open .control {
	display: none;
}

.control .zone {
	position: absolute;
  top: 0;
  bottom: 0;
	z-index: 10;

}
.control .left-zone {
	left: 0;
	right: 66.6666%;
}
.control .center-zone {
	left: 33.3333%;
	right: 33.3333%;
}
.control .right-zone {
	left: 66.6666%;
	right: 0;
}

.slideshow.type-pano .control .zone.left-zone {
  top: 15%;
  bottom: 15%;
	left: 0;
	right: 90%;
}
.slideshow.type-pano .control .zone.center-zone {
  top: 0;
  left: 0;
	right: 0;
	height: 4%;
	bottom: auto;
}
.slideshow.type-pano .control .zone.center-zone-bottom {
	left: 0%;
	right: 0%;
	height: 4%;
	top: auto;
	bottom: 0;
}
.slideshow.type-pano .control .zone.right-zone {
  top: 15%;
  bottom: 15%;
	left: 90%;
	right: 0;
}






.control img {
	position: absolute;
	display: none;
}
.thumbs {
	position: relative;
	width: 100%;
	z-index: 3;
	display: none;
	cursor: none;
}
.thumbs-content {
  margin: 0 -2px;
}
.thumbs a {
	display: block;
	position: relative;
	float: left;
	display: block;
	width: 50%;
	max-width: 204px;
	height: auto;
	cursor: none;
	margin-bottom: 2px;
}
.thumbs a.current::after {
	content:"";
	position: absolute;
	top: -4px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	border: 4px solid white;
}
.thumbs a img {
	display: block;
}
.thumb {
	position: relative;
	height: 0;
	padding-bottom: 50%;
}
.thumb-content {
	position: absolute;
	top: 0;
	left: 2px;
	right: 2px;
	bottom: 2px;
	overflow: hidden;
}
.thumb img {
	width: 100%;
	height: auto;
}
.caption-container {

  position: absolute;
  right: 0;
  width: 30%;
  max-width: 150px;
}
.caption {
	font-size: 0.8em;
	line-height: 1.5;
	color: black;


}
.caption .project-description {
	font-size: 0.8em;
	color: white;
}
.caption ul {
	/* display: table; */
}
.caption ul li {
	/* display: table-cell; */
}
.caption ul li.project-index {
	width: 100px;
  color: white;
  margin-top: 15px;
}
#thumbs-cursor {
	position: absolute;
	pointer-events: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='your_transparent.png', sizingMethod='scale');
	background: none !important;
	display: none;
}

@media (min-width: 800px) {
	.slideshow-container {
		margin-left: -30px;
	}
	.caption {
		margin-left: 30px;
	}
}
@media (min-width: 1750px) {
	#slideshow {
		margin-bottom: 24px;
	}
	.caption-container {
		position: absolute;
		left: 100%;
		max-width: 200px;
  	top: 0;
}
	.caption {
		line-height: 1.3em;
		margin-left: 20px;
		display: none;
	}
	.caption ul {
		display: block;
	}
	.caption ul li {
		display: block;
	}
	.slideshow-container:hover .caption {
		display: block;
	}
	.caption .separator {
	  display: block;
    height: 0;
    visibility: hidden;
  }
}


@media (max-width: 800px) and (orientation: landscape)  {
	header {
		display: none;
	}
	.page-content {
		margin: 0;
	}
	.slideshow-container {
		margin-left: 0;
	}
	.title,
	.contact,
	footer,
	.caption {
		display: none !important;
	}
	#page {
		height: auto;
		bottom: -1px;
	}
	.page-content,
	.slideshow-container,
	#slideshow {
		height: 100%;
	}
	#slideshow {
		padding-bottom: 0;
		margin-bottom: 0;
	}
	.contact-container {
		display: none;
	}

}

/* Pano
---------------- */
.pano {
	position: relative;
	height: 100%;
	width: 100%;
}
.pano * {
	cursor: url(../images/cursor-VR.png) 15 15, auto !important;
}
.pano iframe {
  width: 100%;
  height: 100%;
  border: none;
}




/* Footer
---------------- */
footer {
	position: absolute;
	bottom: 0;
	width: 100%;

	font-size: 0.6em;
	text-transform: uppercase;
	color: black;
}
.footer-content {
	padding: 20px 0 10px 0;
	margin: 0 10px 0 10px;
}
.gxlogo {
	margin-left: 15px;
	width: 120%;
	height: 120%;
	float: none;
	clear: none;
}
.gxlogo .on {
	display: none;
}
.gxlogo:hover .on {
	display: inline;
}
.gxlogo:hover .off {
	display: none;
}

@media (min-width: 800px) {
	.footer-content {
		margin: 0 50px 0 71px;
	}
}
