/* @override http://ssa-architekten.ch/site/templates/styles/master.css */


@import url("fonts/AtlasGrotesk.css");
@import url("reset.css");



body{
    margin:0;
    height: 100%;
    width: 100%;
}
*,p,a, form{
    font-family: 'Atlas Grotesk Web';
    font-weight:  400;
    font-style:   normal;
    font-stretch: normal;
    font-size: 0.9em;
    line-height: 1.5em;
}
p, h1, h2, h3{
	margin-bottom: 0.5em;
}
ul.top-nav li a, strong, h1, h2, h3{
    font-family: 'Atlas Grotesk Web';
    font-weight:  700;
    font-style:   normal;
    font-stretch: normal;
    font-size: 1em;
    line-height: 1.2em;
}
.small-type{
	font-size: 0.9em !important;
}
.small{
	font-size: 0.7em !important;
}
h2{
	text-transform: uppercase;
}
a, a:link, a:visited{
	color: black;
	text-decoration: none;
}
a:active, a:hover, a.active, li.active{
	text-decoration: underline;	
}

span.arrows{
	font-family:'SSA Arrows';
	font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}



/* --------- ICONS --------- */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 12px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}





ul.top-nav{
	float: left;
	margin: 0 0.5% 0 0.5%;
	width: 24.625%;
}
ul.sub-nav{
	float: left;
	margin-left: 0%;
	min-width: 12.3125%;
}

ul.sub-nav li{
    font-family: 'Atlas Grotesk Web';
    font-weight:  400;
    font-style:   normal;
    font-stretch: normal;
    font-size: 0.9em;
    line-height: 1.2em !important;
}




/* ----------Home-------------- */
.outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto; 
    width: 25%;
    min-width: 300px;
}
.inner img{
    width:100%;
    height: auto;
    
}
/*a.logo-black img{
	-webkit-transition: .5s ease;
  	-moz-transition: .5s ease;
  	-o-transition: .5s ease;
}
a.logo-black:hover img{
	opacity: 0;
}*/
/* ---------------------------- */





.header{
	float: left;
    width: 96%;
    margin: 2%;
    margin-bottom: 4%;
    max-width: 1800px;
}
.logo{
	width: 24.625%;
    min-width:172px;
    height: auto;
    float: left;
}
.logo img{
	width: 50%;
    /*max-width:172px;*/
    height:auto;
}
.container{
    position: relative;
    width: 96%;
    margin-left: 2%;
    float: left;
    max-width:1800px;
    padding-bottom: 50px;
}






/* ---------Projektübersicht------------ */

.grid-sizer{
    width: 24.625%;
}
.gutter-sizer{
    width: 0.5%;
}
.bild{
    float: left;
    margin-bottom: 0.5%;
    width: 24.625%;
	/*border-bottom: 6px solid white;*/
}
.bild img{
	-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%); 
  	
  	-webkit-transition: .3s ease;
  	-moz-transition: .3s ease;
  	-o-transition: .3s ease;
  	
  	display: block;
    max-width: 100%;
}
.bild:hover img{
    -webkit-filter: grayscale(0%);
  	-moz-filter: grayscale(0%); 
  	-o-filter: grayscale(0%);
}
h3.legend{
    opacity: 0;
    position: absolute;
    bottom: 0;
    margin: 0;
    padding: 5%;
    color: white;
    line-height: 1.2em;
    text-shadow: 1px 1px 7px rgba(0,0,0,0.3);
    font-weight: normal;
    -webkit-transition: .3s ease;
  	-moz-transition: .3s ease;
  	-o-transition: .3s ease;
}
.bild:hover h3.legend{
    opacity: 1;
}

.to-the-top{
    /*position: relative;
	float: left;
	width: 100%;
	text-align: center;
	margin-top: 50px;
	cursor: pointer;*/
	
	position: fixed;
    width: auto;
    padding: 5px 40px;
    left: 0;
    text-align: center;
    cursor: pointer;
    z-index: 200;
    bottom: 0;
    background-color: white;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0);
}
.to-the-top p{
	margin: 0;
}





/* ---------Projekt------------ */

.info{
	width: 24.625%;
	float: left;
	padding-right: 1%;
	margin-right: 0.5%;
	margin-bottom: 30px;
}
.project-images, .info-images{
	width: 50%;
	float: left;
}
.project-images img{
	width: 100%;
	margin-bottom: 7px;
	-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%);
  	-webkit-transition: .3s ease;
  	-moz-transition: .3s ease;
  	-o-transition: .3s ease;
}
.info-images img{
	width: 100%;
	margin-bottom: 7px;
	-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%);
}
.project-images img:hover{
	-webkit-filter: grayscale(0%);
  	-moz-filter: grayscale(0%); 
  	-o-filter: grayscale(0%);
}
.bild-project{
	width: 49.4%;
}
.bild-project--width2{
	width: 100%;
}
.grid-sizer-project{
    width: 49.4%;
}
.gutter-sizer-project{
    width: 1.2%;
}
div.detail-information{
	margin: 10px 0 30px 0;
}


div{
	border: 0px dotted red;
}

#imagelightbox
{
    position: fixed;
    z-index: 9999;
 
    -ms-touch-action: none;
    touch-action: none;
}

li a i.material-icons{
	
}





/* ---------Info------------ */
div.info h2{
	margin-top: 30px;
}
div.info h2:first-child{
	margin-top: 0;
}
div.info * a:link, div.info * a:visited, div.text * a:link, div.text * a:visited{
	text-decoration: underline !important;
	font-size: 1em !important;
}
div.info * a:hover, div.info * a:active, div.text * a:hover, div.text * a:active{
	text-decoration: none !important;
	font-size: 1em !important;
}
div.zurueck{
	margin-top: 30px;
}
p.mitarbeiter-kontakt{
	margin: 10px 0 30px 0;
}
div.row{
	float: left;
	width: 100%;
}
span.mitarbeiter-zusatz{
	margin-left: 10px;
}
span.mitarbeiter-zusatz a{
	margin-right: 10px;
}
p.datum{
	font-family: 'Atlas Grotesk Web';
	font-weight:  400;
	font-style:   italic;
	font-stretch: normal;
	font-size: .8em;
	margin-bottom: 15px;
}





/* ---------Textseite------------ */
div.textseite{
	margin-left: 25%;
	float: left;
	width: 50%;
	max-width: 1800px;
}
div.textseite img{
	max-width: 100%;
}
div.lead{
	margin-bottom: 30px;
}
div.lead p{
	font-size: 1.2em;
    line-height: 1.5em;
}
div.lead p strong{
	font-size: 1em;
}


div.text table td{
	padding-bottom: 10px;
}
div.text table td:first-child{
	padding-right: 30px;
}

div.text ul li{
	list-style-type: disc;
	list-style-position: outside;
	margin-left: 15px;
    font-family: 'Atlas Grotesk Web';
    font-weight:  400;
    font-style:   normal;
    font-stretch: normal;
    font-size: 0.9em;
    line-height: 1.5em;

}



/* Pesse */
@keyframes blink {
	from {background-color: red;}
    to {background-color: white;}
}
p.presse-link{
	background-color: red !important;
	padding: 2px;
	animation-name: blink;
    animation-duration: 4s;
    color: yellow;
}
form{
	width: 100%;
	margin-bottom: 50px;
}
form span.label, form span.label-2{
	float: left;
	width: 18%;
	border-bottom: 1px solid black;
	height: 30px;
	line-height: 30px;
}
form span.label-2{
	border: none;
	height: 10px;
}
form input{
	width: 32%;
	border: none;
	border-bottom: 1px solid black;
	height: 30px;
	background-color: #eee;
	padding-left: 10px;
}
form select{
	width: 32%;
	margin-top: 7px;

}
form input#submit{
	margin-top: 20px;
	margin-left: 18%;
	border: 1px solid black;
	cursor: pointer;
}
form input#submit:hover{
	background-color: white;	
}
form input#submit:active{
	background-color: #999;	
}
form em{
	color: red;
}
form input, form select{
	width: 70%;
}
form span.label, form span.label-2{
	width: 30%;
}
form input#submit{
	margin-left: 30%;
}





/* ----------Whitescreen-------------- */
.whitescreen{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	text-align: center;
}
.highlight{
	
}
.big-image{
	margin-top: auto;
	margin-bottom: auto;
	width: auto;
	width: auto;
}
.whitescreen-trigger{
	/*-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%); 
  	-o-filter: grayscale(0%); */
  	
  	-webkit-transition: .3s ease;
  	-moz-transition: .3s ease;
  	-o-transition: .3s ease;
}
.whitescreen-trigger:hover{
	/*-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%); */
}
a.whitescreen-trigger, a.whitescreen-trigger img{
	vertical-align: bottom;
}
div.cross{
	position: absolute;
	z-index: 1000;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-indent: -10000px;
	background: url(/site/templates/images/cross.png) no-repeat 7px 7px;
	cursor: pointer;
}







/* ----------Kontakt-------------- */
iframe{
	width: 100%;
	/*height: 400px;*/
	-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%); 
}









/* ---------Publikation------------ */

.grid-sizer-pub, .pub{
    width: 16.25%;
}
.gutter-sizer-pub{
    width: 0.5%;
}
.pub{
    float: left;
    margin-bottom: 0.5%;
	border-top: 0 solid black;
}
.pub img{
	-webkit-filter: grayscale(70%);
	-moz-filter: grayscale(70%); 
  	-o-filter: grayscale(70%); 
  	
  	-webkit-transition: .3s ease;
  	-moz-transition: .3s ease;
  	-o-transition: .3s ease;
  	
  	display: block;
    max-width: 100%;
    
}
.pub:hover img{
    -webkit-filter: grayscale(0%);
  	-moz-filter: grayscale(0%); 
  	-o-filter: grayscale(0%);
}
.pub p{
	margin: 10px 0 50px 0;
}








/* Owl Carousel */

.owl-pagination{
	position: absolute;
	bottom: 30px;
	width: 100%;
	
}
.owl-theme .owl-controls .owl-page span{
	width: 10px;
	height: 10px;
	border: 2px solid white;
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{
	background-color: white;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
	float: left;	
}






/* ----- BIM ---- */
div.bim-images{
    display: -webkit-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    -webkit-justify-content: space-between; /* Safari 6.1+ */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
}
div.bim-image{
	float: left;
	width: 32%;
	margin-bottom: 20px;
}
div.bim-image img{
	margin-bottom: 10px;
}
div.bim-image p{
	font-size: 0.8em;
}
div.bim-image:last-of-type{
	margin-right: 0;
}











/* ----- Not Mobile! ---- */
.mobile{
	display: none;
}
.sub-mobile{
	display: none;
}
.sub-desktop{
	display: block;
}



@media screen and (max-width: 1050px) {
	.grid-sizer, .bild, .info, .logo, ul.top-nav, .grid-sizer-pub, .pub{
	    width: 32.8%;
	}
	ul.sub-nav{
		width: 16.5%;
	}
	.logo img{
	    /*min-width:155px;*/
	}
	.project-images, .info-images{
		width: 66%;
	}
	.bild-project, .grid-sizer-project{
	    width: 49.4%;
	}
	.gutter-sizer-project{
	    width: 1.2%;
	}	
	.gutter-sizer{
	    width: .8%;
	}
	.gutter-sizer-pub{
	    width: 0.8%;
	}
	div.textseite{
		margin-left: 33.3%;
		width: auto;
		
	}
	form input, form select{
		width: 50%;
	}
	form span.label, form span.label-2{
		width: 50%;
	}
	form input#submit{
		margin-left: 50%;
	}
}
@media screen and (max-width: 1050px) and (orientation: landscape) {
	.bild img{
		-webkit-filter: grayscale(70%);
		-moz-filter: grayscale(70%); 
	  	-o-filter: grayscale(70%); 
	}
	.bild:hover img{
	    -webkit-filter: grayscale(0%);
	  	-moz-filter: grayscale(0%); 
	  	-o-filter: grayscale(0%);
	}
	h3.legend{
		opacity: 1;
	}
}
@media screen and (max-width: 770px) {
	.grid-sizer, .bild, .info, .logo, ul.top-nav, .grid-sizer-pub, .pub{
	    width: 49.5%;
	}
	.bild-project, .grid-sizer-project{
	    width: 48.75%;
	}
	.gutter-sizer-project{
	    width: 2.5%;
	}
	.gutter-sizer{
	    width: 1%;
	}
	.gutter-sizer-pub{
	    width: 1%;
	}
	ul.top-nav, ul.sub-nav{
		width: 24.625% !important;
	}
	ul.top-nav li{
		font-size: 0.9em;
	}
	.logo img{
	    /*min-width:155px;*/
	}
	ul.sub-nav{
		width: 16.5%;
	}
	.project-images, .info-images{
		width: 49%;
	}
	
	div.textseite{
		margin-left: 0;/*24.625%;*/
		padding-right: 100px;
	}
	.bild img{
		-webkit-filter: grayscale(70%);
		-moz-filter: grayscale(70%); 
	  	-o-filter: grayscale(70%); 
	}
	.bild:hover img{
	    -webkit-filter: grayscale(0%);
	  	-moz-filter: grayscale(0%); 
	  	-o-filter: grayscale(0%);
	}
	h3.legend{
		opacity: 1;
	}
	
}

@media screen and (max-width: 480px) {
	
	/* ---- MOBILE ----*/
	.mobile{
		display: block;
	}
	.inner {
	    min-width: 250px;
	}
	.header, .container{
	    width: 90%;
	    margin-left: 5%;
	}
	.header{
		margin-top: 5%;
		margin-bottom: 5%;
		display: inline-block;
	}
	.grid-sizer, .bild, .info, .logo, ul.top-nav{
	    width: 100%;
	}
	.logo{
		width: 49% !important;
		min-width:auto;
		margin-right: 1%;
	}
	ul.top-nav{
		width: 25% !important;
		min-width:auto;
		float: right;
		margin-right: 0%;
	}
	ul.top-nav{
		width: inherit !important;
		margin-bottom: 20px;
	}
	ul.nav-uebersicht{
		
		clear: right;
	}
	ul.top-nav, ul.top-nav li{
		width: inherit;
	}
	ul.sub-nav{
		width: 100% !important;
		min-width:auto;
		margin-top: 30px;
	}
	
	.sub-mobile{
		display: block;
	}
	.sub-desktop{
		display: none;
	}
	

	.logo img{
		width: auto;
		height: 82px;
	    min-width: auto;
	    max-width: auto;
	}
			
	

	ul.sub-nav-uebersicht{
		width: 100% !important;
	}
	ul.sub-nav li{
		display: inline-block;
		margin-right: 5px;
	}
	p{
	    margin-bottom: 0.5em;
	}	
	.project-images, .info-images{
		width: 100%;
	}
	.bild-project, .grid-sizer-project{
	    width: 100%;
	}
	.datei{
		display: none;
	}
	div.textseite{
		margin-left: 0%;
		padding-right: 20px;
	}
	.grid-sizer-pub, .pub{
	    width: 100%;
	}

	.pub{
		border: none;
	}
	.pub p{
		margin: 10px 0 0px 0;
	}
	.pub img{
		display: none;
	}
	.news-eintrag{
		margin-bottom: 50px;
	}
	.projekt-titel{
		display: none;
	}
	ul.projekt-nav{
		clear: left;
		width: 100% !important;
	}
	div.bim-image{
		width: 100%;
	}

	form input, form select{
		width: 70%;
	}
	form span.label, form span.label-2{
		width: 30%;
	}
	form input#submit{
		margin-left: 30%;
	}
}
@media screen and (max-width: 350px) {
	.logo{
		width: 100%;
		margin-right: 0;
	}
	ul.top-nav{
		margin-top: 1em;
		float: left;
	}
	ul.top-nav li{
		display: inline-block;
		margin-right: 5px;
	}
}
