/*
Theme Name: Repair Acts
Author: Ingmar Standke
Author URI: http://www.ingmarstandke.com
Version: 1.0
*/

@font-face {
    font-family: 'avenirregular';
    src: url('fonts/avenir_roman-webfont.woff2') format('woff2'),
         url('fonts/avenir_roman-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fugueregular';
    src: url('fonts/fugue-regular-webfont.woff2') format('woff2'),
         url('fonts/fugue-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

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

html {
	height: 100%;
	min-height: 100%;
}

body {
  	position: relative;
  	overflow-y: scroll;
	width: 100%;
	height: 100%;
	margin: 0;
	font-family: 'avenirregular', sans-serif;
	font-weight: normal;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}

/* Tags */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 1em;
	font-weight: normal;
	margin: 0px;
}

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

p {
	margin: 0px;
}

p + p {
	margin-top: 22px;
}

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

a:hover {
	text-decoration: underline;
}

.table {
	display: table;
	position:relative;
	width: 100%;
	table-layout: fixed;
}

.table > .col {
	position:relative;
	display:table-cell;
	width: auto;
	vertical-align:top;
}

.center {
	position: relative;
	margin: 0 auto;			
}

/* */

h2 {
	margin-top: 50px;
	margin-bottom: 50px;
	font-family: 'fugueregular';
	font-size: 50px;
	line-height: 60px;	
}

h3 {
	margin-bottom: 50px;
	font-family: 'fugueregular';
	font-size: 36px;
	line-height: 43px;
}

h2 + h3 {
	margin-top: -10px;
}

.text-double .col {
	text-align: left;
}

.text-double .col:first-child {
	padding-right: 30px;
}

.text-double .col + .col {
	padding-left: 30px;
}

.text-double a.more {
	display: inline-block;
	margin-top: 30px;
	font-family: 'fugueregular';
	font-size: 50px;
	line-height: 60px;	
}

/* Header */

#header {
	width: 100%;
	padding-top: 20px;
	padding-bottom: 40px;
	background: #fff;
	font-family: 'fugueregular';
}

#header:after {
	content: '';
    display: block;
    clear: both;
}

#header #logo,
#header #navigation a {
	color: #7F7F7F;
	font-size: 26px;
	line-height: 32px;
	padding: 0px 43px;
}

#header h1 {
	float: left;
}

#header #navigation,
#header #navigation	li {
	float: left;
}

#header ul.social {
	position: absolute;
	right: 43px;
	top: 20px;
}

#header ul.social li {
	float: left;
}

#header ul.social li a {
	display: block;
	width: 50px;
	height: 40px;
	background: url('m/social.png');
}

#header ul.social li a.instagram {
	background-position: -50px 0px;
}

/* Content */

#content > div {
	float: left;
	overflow: hidden;
	width: 100%;
	padding-bottom: 50px;
}

#content > div > .center {
	max-width: 980px;
	padding-left: 30px;
	padding-right: 30px;
}

#content .tall {
	font-size: 25px;
	line-height: 35px;
}

/* Home */

#content > .logo {
	padding-bottom: 100px;
	padding-left: 15px;
	padding-right: 15px;
}

#content > .logo img {
	width: 100%;
}

#content > .network {
	background: #FDEDEB;
}

#content > .people {
	background: #FFEFD9;
	padding-bottom: 0px;
}

#content > .people ul {
	margin: 0px -1px -1px -1px;
	margin-top: 40px;
}

#content > .people ul li {
	float: left;
	position: relative;
	width: 16.6666%;
}

#content > .people ul li > a {
	position: absolute;
	z-index: 10;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#content > .people ul li > div {
	position: relative;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	border: 1px solid #fff;
}

#content > .people ul li > div > div {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: rgba(255, 239, 217, 0.8);
	transition: all .1s ease-out;
	opacity: 0;
}

#content > .people ul li > div > div > .table {
	width: 100%;
	height: 100%;
}

#content > .people ul li > div > div > .table .col {
	vertical-align: middle;
	font-family: 'fugueregular';
	font-size: 26px;
	line-height: 31px;
	color: #646364;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
}

#content > .people ul li:hover > div > div {
    transition: all .2s ease-out;
    opacity: 1;
}

#content > .people ul:after {
	content: '';
    display: block;
    clear: both;
}

/* Programme */

#content > .programme {
	background: #FEEACB;
	padding-bottom: 0px;
}

#content > .programme > ul {
	position: relative;
	margin-top: 40px;
}

#content > .programme > ul li {
	position: absolute;
}

#content > .programme > ul li > a {
	position: absolute;
	z-index: 10;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#content > .programme > ul li > div {
	position: relative;
	padding-bottom: 100%;
	background-size: cover;
	background-position: center center;
	border: 1px solid #fff;
}

#content > .programme > ul li.half > div {
	padding-bottom: 50%;
}

#content > .programme > ul li > div > div {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background: rgba(255, 239, 217, 0.8);
	transition: all .1s ease-out;
	opacity: 0;
}

#content > .programme > ul li > div > div > .table {
	width: 100%;
	height: 100%;
}

#content > .programme > ul li > div > div > .table .col {
	vertical-align: middle;
	font-family: 'fugueregular';
	font-size: 26px;
	line-height: 31px;
	color: #646364;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
}

#content > .programme > ul li:hover > div > div {
    transition: all .2s ease-out;
    opacity: 1;
}

/* */

#content > .actions {
	background: #DDE9ED;
}

#content > .funders ul li,
#content > .partners ul li {
	display: inline-block;
	padding: 10px 20px 10px 20px;
}   

#content > .funders ul li img,
#content > .partners ul li img {
	height: 80px;
}

/* Person */

body.single-people {
	background: #FDEDEB;
}

body.single-people img {
	width: 100%;
	margin-bottom: 30px;
}

body.single-people p {
	text-align: justify;
}

/* */

body.single-programme  {
	background: #FEEACB;
}

body.single-programme img {
	width: 100%;
	margin-bottom: 30px;
}

body.single-programme p {
	text-align: justify;
}

/* Actions */

body.parent-pageid-56 {
	background: #DDE9ED;
}

body.parent-pageid-56 #content .main {
	padding-bottom: 60px;
}

body.parent-pageid-56 #content .main p {
	text-align: justify;
}

body.parent-pageid-56 .img {
	position: relative;
	width: 100%;
	margin-bottom: 50px;
	padding-bottom: 31.2%;
	background-size: cover;
	background-position: center top;
}

body.parent-pageid-56 #content > .event {
	padding-top: 30px;
	padding-bottom: 30px;
	font-size: 20px;
	line-height: 30px;
}

body.parent-pageid-56 .event h4 {
	margin-bottom: 30px;
	font-family: 'fugueregular';
	font-size: 25px;
	line-height: 35px;
}


@media screen and ( max-width: 1480px ) {

	#header #logo,
	#header #navigation a {
		padding: 0px 20px;
	}

}

@media screen and ( max-width: 1280px ) {

	#header ul.social {
		right: 20px;
	}

	#content > .people ul li {
		width: 20%;
	}
}

@media screen and ( max-width: 1100px ) {

	#header #logo,
	#header #navigation a {
		padding: 0px 10px;
	}

}

@media screen and ( max-width: 1000px ) {

	#header #navigation {
		display: none;
	}

}

@media screen and ( max-width: 900px ) {

	#content > .people ul li {
		width: 25%;
	}

}

@media screen and ( max-width: 768px ) {

	.text-double .col {
		display: block;
	}

	.text-double .col:first-child {
		padding-right: 0px;
	}

	.text-double .col + .col {
		padding-left: 0px;
		margin-top: 15px;
	}

	#content > .people ul li {
		width: 33.33333%;
	}

}

@media screen and ( max-width: 550px ) {

	#content > .people ul li {
		width: 50%;
	}
}