/*
	Theme Name: District
	Theme URI: http://district-berlin.com
	Description: District Kunst- un Kulturforderung
	Version: 1.0.0
	Author: Modem (@modem_studio)
	Author URI: http://modem.ws
	Tags: District, gallery, berlin, projectspace

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	background-color: #dcdcdc;
}
body {
	font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: black;
	font-size: 16px;
	line-height: 22px;
	margin-top: 0px !important;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color: black;
	text-decoration:none;
}
a:hover {
	color: black;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input {
    -webkit-appearance: none;
    border-radius: 0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
a.view-article, .single-right a, footer a, .news-archive a, #team a{
	font-style: italic;
}
a.view-article:hover, .single-right a:hover, footer a:hover, .news-archive a:hover, #team a:hover{
	border-bottom: 2px solid teal;
}
.clear{
	clear: both;
}

h1{
	font-weight: normal;
	line-height: 40px;
	font-family: 'minion pro', times, serif;
	font-size: 30px;
	font-weight: 700;
	text-align: center;
}
h1.poster-title{
	margin-top: 10px;
	margin-bottom: 10px;
	font-family: 'minion pro', times, serif;
}
h1.related-title{
	padding: 30px;
	margin: 0px;
}
h1.team-title{
	padding-top: 0;
	padding-bottom: 30px;
	margin: 0;
}
h2.sans-serif{
	font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	font-size: 18px;
}
h2{
	font-weight: 700;
	font-family: 'minion pro', times, serif;
	font-size: 22px;
	line-height: 28px;
}
h3{
	font-family: 'minion pro', times, serif;
}
p.type{
	height: 25px;
}
p.caption{
	margin-bottom: 100px;
}
p.note{
	font-size: 12px;
	line-height: 18px;
}

p.program-main{
	text-align: center;
}
a.button{
	background-color: yellow;
	padding: 10px;
	font-style: normal;
}
a.button:hover{
	background-color: magenta;
	border-bottom: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:95%;
	margin:0 auto;
	position:relative;
	padding-top: 70px;
}

.logo img{
	height: 40px;
}


nav.menu {
	position: fixed;
	top: 0px;
	width: 95%;
	padding: 20px 0px;
	z-index: 99999;
	height: 70px;
	background-color: #dcdcdc;
	text-transform: uppercase;
	border-bottom: 3px solid magenta;
	font-size: 18px;
}

ul.menu{
	margin: 0px;
	padding: 0px;
}

.series-menu{
	margin-top: 4px;
	margin-left: 20px;
	display: inline-block;
}

#language-select ul{
	padding: 0;
	margin: 0;
}
#language-select li {
	list-style: none;
	display: inline;
}

li.current-lang{
	border-bottom: 2px solid teal;
}

.sub-menu{
	font-size: 18px;
	text-transform: uppercase;
	padding: 20px 0px;
	border-bottom: 3px solid yellow;
	position: fixed;
	height: 70px;
	top: 70px;
	width: 95%;
	background-color: #dcdcdc;
	z-index: 99999;
}

.social ul{
	padding-left: 0px;
	margin: 0px;
}
.social li{
	list-style: none;
	display: inline;
	margin-right: 10px;
}
img.icon{
	width: 30px;
}
#grid{
	margin: 50px 0;
	padding: 0;
	list-style: none;
}

/*------------------------------------*\
    POSTER MAIN
\*------------------------------------*/

ul.post-categories{
	text-align: center;
	padding-left: 0px;
	list-style: none;
	z-index: 9;	
}

.poster-date{
	text-align: center;
	margin-bottom: 20px;
}
.pagination{
	display: none;
}
#infscr-loading{
	position: fixed;
	bottom: 20px;
	width: 200px;
	left: 50%;
	margin-left: -100px;
	text-align: center;
}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.footer {
	border-top: 3px solid teal;
	font-size: 14px;
}
input.button{
	margin: 0;
	padding: 10px;
	background-color: yellow;
	border: none;
	color: black;
	-webkit-appearance: none;
    border-radius: 0;
}
input.button:hover{
	background-color: magenta;
}
.mc-field-group{
	margin-bottom: 20px;
}
.footer ::-webkit-input-placeholder {
   color: black;
}

.footer :-moz-placeholder { /* Firefox 18- */
   color: black;  
}

.footer ::-moz-placeholder {  /* Firefox 19+ */
   color: black;  
}

.footer :-ms-input-placeholder {  
   color: black;  
}
input#mce-EMAIL, input#mce-FNAME, input#mce-LNAME{
	margin-left: 0px;
	border: none;
	border-bottom: 1px solid black;
	padding: 10px;
	width: 100%;
	-webkit-appearance: none;
    border-radius: 0;
    font-size: 16px;
    background-color: transparent ;
}
input#mce-EMAIL:focus, input#mce-FNAME:focus, input#mce-LNAME:focus{
	border-bottom: 1px solid teal;
}
input#mc-embedded-subscribe{
	margin-left: 0px;
}

/*------------------------------------*\
    MAIN PAGE
\*------------------------------------*/
.news-title{
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 30px;
}
#news{
	overflow: auto;
/* 	background: linear-gradient(#b4e9d5, white); */
}
.news-archive{
	text-align: right;
}

#single-title{
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	border-bottom: 3px solid blue;
	background-color: #dcdcdc;
	z-index: 99;
	position: relative;
}


/*------------------------------------*\
    SINGLE PAGE
\*------------------------------------*/

.single-content{
	overflow: auto;
}

#single-images{
	text-align: center;
	
}
.single-image{
	margin-bottom: 50px;
}
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 
.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.line-single{
	border-left: 3px solid yellow;
}
.related{
	position: relative;
}
.related .flex-viewport{
	overflow: visible !important;
}
.related .flex-direction-nav{
	width: 100%;
	height: 40px;
	position: absolute;
	top: 30px;
}
.related .flex-direction-nav .flex-prev{
	width: 30px;
	height: 30px;
	float: left;
	position: relative;
	background-image: url(img/icon-left_arrow.svg);
    background-position: right top;
    cursor: pointer;
    background-repeat: no-repeat;
}
.related .flex-direction-nav .flex-next{
	width: 30px;
	height: 30px;
	float: right;
	position: relative;
	background-image: url(img/icon-right_arrow.svg);
    background-position: right top;
    cursor: pointer;
    background-repeat: no-repeat;
}
.related-post:hover{
	cursor: pointer;
}
.publication-data{
	border-top: 3px solid blue;
	padding: 30px 0px;
}
.formal{
	border-top: 3px solid teal;
	padding: 30px 0px;
}
ul.partners-logos{
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
li.partner-logo{
	display: inline-block;
	margin: 20px;
	width: 150px;
}

/*------------------------------------*\
    PROGRAM ARCHIVE
\*------------------------------------*/
.program-description{
	border-bottom: 3px solid teal;
}

/*------------------------------------*\
    STUDIO GRANT
\*------------------------------------*/
.open-call{
	padding-top: 20px;
	padding-bottom: 20px;
}
.open-call-button{
	color: #fff;
	background-color: #000;
	padding: 20px;
	border: 2px solid #000;
}
.open-call-button:hover{
	color: #000;
	background-color: #fff;
	border: 2px solid #000;
}
/*------------------------------------*\
    INFO PAGE
\*------------------------------------*/
.info{
	margin-bottom: 30px;
	overflow: auto;
}
.info-slider{
	max-width: 600px;
	margin: 90px auto 0px auto;
}

.info-slider .flexslider .slides li {
    min-height: 100% !important;
}
.info-slider ul.flex-direction-nav {
	width: 100%;
}   
#team{
	border-bottom: 3px solid teal;
	display: inline-block;
	width: 100%;
}
.team-list{
	margin: 0;
	padding: 0;
	list-style: none;
}
.clear-30h{
	clear: both;
	height: 30px;
}
.horizontal-line{
	width: 100%;
	border-bottom: 3px solid teal;
}
.press-link{
	display: inline-block;
	margin: 20px;
	text-align: center;
}
.google-map {
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
}
.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
.logo {
	width: 100%;
	text-align: right;
	position: absolute;
	top: 30px;
	z-index: 999;
}
nav.menu{
	display: none;
}
a.open{
	position: fixed;
	font-size: 20px;
	top: 20px;
	left: 20px;
	z-index: 999999;
	cursor: pointer;
}
nav.menu-mobile{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 220px;
	margin-left: -220px;
	height: 100%;
	background-color: white;
	z-index: 9999;
	border-right: 3px solid red;
}

ul.menu li{
	list-style: none;
	line-height: 40px;
	padding: 0px 20px;
	border-bottom: 2px solid teal;
}
.sub-menu{
	display: none;
}
#language-select{
	text-transform: uppercase;
	height: 60px;
	margin-top: 20px;
}
#language-select li {
	margin-left: 20px;
}
.social{
	display: none;
}
#news{
	padding-bottom: 30px;
	z-index: 99;
	border-top: 3px solid magenta;
}
.news-item{
	display: none;
}
.news-item:nth-child(1){
	display: block;
}
.current-slider{
	display: none;
}
.poster-small, .team-member, .poster{
	width: 100%;
	padding: 15px;
	display: inline-block;
	vertical-align: top;
}
.poster:hover a, .poster:hover, .poster-small:hover a, .poster-small:hover{
	background-color: yellow;
}
.single-left{
	padding: 30px 0px;
}
.single-right{
	padding-bottom: 30px;
}
.single-right-content {
	padding: 30px 10px;
}
.publication-data{
	margin-left: 10px;
}
.related-post, .news-item, .news-item-archive{
	width: 100%;
	float: left;
	font-size: 14px;
	min-height: 300px;
}
#info, #partners, #directions, #info-image, #support, #map, #press, #rent, .middle{
	padding: 10px;
}
.related{
	display: none;
}
.formal{
	display: none;
}
.footer{
	padding: 50px 0px ;
}
.footer-c1, .footer-c2, .footer-c3{
	margin-bottom: 60px;
}
}
@media only screen and (min-width:480px) {
.news-item:nth-child(2), .news-item-archive:nth-child(2n){
	display: block;
	border-right: none;
}
.related-post{
	border-right: 3px solid blue;
	padding: 20px 30px 20px;
	margin: 0px 0px 30px;
}
.news-item, .news-item-archive{
	width: 50%;
	border-right: 3px solid blue;
	padding: 20px 30px 20px;
	margin: 0px 0px 30px;
	float: left;
}
.poster-small, .poster, .team-member{
	width: 50%;
}
}
@media only screen and (min-width:768px) {
.logo {
	position: fixed;
	right: 2.5%;
	bottom: 20px;
	top: auto;
	width: auto;
	z-index: 999;
}
nav.menu{
	display: block;
}
a.open{
	display: none;
}
nav.menu-mobile{
	display: none;
}
ul.menu{
	float: left;
}
ul.menu li{
	display: inline;
	margin-right: 30px;
	padding: 0px;
	list-style: none;
	line-height: 28px;
	border-bottom: none;
}
.sub-menu{
	display: block;
}
.current-lang{
	border-bottom: 1px solid teal;
}
#language-select{
	float: right;
	height: auto;
	margin-top: 0px;
}
#language-select li {
	margin-bottom: 0px;
	margin-left: 10px;
}
.social{
	position: fixed;
	bottom: 20px;
	left: 2.5%;
	z-index: 999;
	display: block;
}
#info, #support, #directions, #press, .event-sponsors{
	width: 50%;
	float: left;
	border-right: 3px solid teal;
	padding: 30px;
}
#info-image, #partners, #map, #rent, .event-press{
	width: 50%;
	padding: 30px;
	float: left;
	border-left: 3px solid teal;
	margin-left: -3px;
}
.left, .single-left{
	width: 50%;
	float: left;
}
.single-right-content, .single-left{
	padding: 30px 50px;
}
.publication-data{
	margin-left: 50px;
}
.middle{
	max-width: 800px;
	margin: 0 auto;
	padding: 30px;
}
.poster-small, .poster, .team-member, .related .flex-viewport{
	width: 33.3333%;
}
.single-right, .right{
	width: 50%;
	float: left;
}
.news-item:nth-child(2), .news-item-archive:nth-child(2n){
	border-right: 3px solid blue;
}
.news-item:nth-child(3), .news-item-archive:nth-child(3n){
	display: block;
	border-right: none;
}
.news-item, .news-item-archive{
	width: 33%;
	border-right: 3px solid blue;
	padding: 20px 30px 20px;
	margin: 0px 0px 30px;
}
.related{
	border-top: 3px solid teal;
	overflow: hidden;
}
.related-slides-wrapper{
	margin-right: -6px;
	margin-left: -1px;
}
.formal{
	display: block;
}
.footer{
	padding: 150px 0px 100px;
}
.footer-c1, .footer-c2, .footer-c3{
	width: 33.3333%;
	float: left;
	padding: 15px;
}
}
@media only screen and (min-width:1024px) {
.current-slider{
	display: block;
}
}
@media only screen and (min-width:1140px) {
.news-item:nth-child(4), .news-item-archive:nth-child(4n){
	display: block;
	border-right: none !important;
}
.news-item:nth-child(2), .news-item:nth-child(3), .news-item-archive:nth-child(2n), .news-item-archive:nth-child(3n){
	border-right: 3px solid blue;
}
.poster-small, .poster, .team-member, .news-item, .news-item-archive{
	width: 25%;
}
}
@media only screen and (min-width:1480px) {
.poster-small, .poster, .team-member{
	width: 20%;
}

.related .flex-viewport{
 	 width: 25%;
}

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 50px;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:0px auto 50px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
