/*
 Theme Name:     Akademie Child Theme
 Theme URI:      
 Description:    underscores
 Author:         Oesterlau
 Author URI:     
 Template:       akademie
 Version:        1.0.0
*/
 
@import url("../akademie/style.css");
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,700); 

/*--------------------------------------------------------------
# GENERAL
--------------------------------------------------------------*/
html, 
body {
    min-height:100%;
}
#main {                 /* CENTER CONTENT */
    width:960px;
    margin:0 auto;
}

::selection {               /* OVERWRITE STD TEXT SELECTION COLORING */
  background-color: #658d1b; 
  color:#fff;
}    
::-moz-selection {          /* OVERWRITE STD TEXT SELECTION COLORING FIREFOX */
  background-color: #658d1b; 
  color:#fff;
}

body,
button,
input,
select,
textarea {
        text-rendering:optimizeLegibility;
	color: #777;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
        font-family:'Source Sans Pro', sans serif;
        font-weight:300;
        overflow-x: hidden;
}

body.custom-background {
    background-position: center;
    background-size:cover;
}

hr {
	background-color: #658d1b;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

.entry-footer {display:none;}

h4 {
    margin:0;
    padding-bottom:10px;
    padding-top:20px;
}

p {
    line-height:1.5;
    padding-top:0;
    padding-bottom:0.7em;
    margin:0;
}
p.page_info {
    padding:0;
}
p.short {
    padding-top:15px;
    padding-bottom:0.7em;
    margin:0;
}
.openproject p {
    padding-top:15px;
}
a {
    cursor:pointer;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* ARCHIVE PAGINATION */
.nav-links {
    color:#777;
    font-weight:bold;
    font-size:18px;
    text-align:center;
    clear:both;
    padding:10px;
    background-color:#fff;
}
.nav-links a {
    text-decoration:none;
}
.nav-links span.current {
    color:#658D1B;
    font-size:24px;
}
.nav-links a, .nav-links span {
    padding:0 5px;
}

/* RESPONSIVE MENU */
#responsive-menu {
    font-weight:700!important;
    font-size:18px!important;
    text-transform: uppercase!important;
    padding-left:20px;
}
#responsive-menu .responsive-menu li li a,
#responsive-menu .responsive-menu li a,
.sub-menu {
    padding-left:0!important;
    margin-left:0;
    margin: 0 auto!important;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: inherit;
        text-decoration:underline;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: #658d1b;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-image, .menu-image-title-hide  {
    margin-top:0!important;
    padding:0!important;
    float:left;
}


.menu-hauptnavigation-container {
    width:960px;
    margin:0 auto;
}
#primary-menu {
    float:right;
}

.main-navigation a.nav_logo {
        position:relative;
        float:left;
        max-width:150px!important;
        max-height:50px;
        z-index:9999;
        display:block;
        margin-left:0;
        padding-left:0;
        padding-top:19px;
}

.main-navigation {
	display: block;
	width: 100%;
        position:fixed;
        top:0;
        background-color:#fff;
        height:80px;
        text-transform: none;
        z-index:999;
        border-bottom:2px solid #658d1b;
}
#nav-wrapper {
    width:960px;
    height:inherit;
    margin:0 auto;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul:first-child { //main-nav in center
	display: block;
	list-style: none;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
        font-size:16px;
        font-weight:300;
        color:#777;
	display: block;
        padding:34px 15px 22px 15px;
	text-decoration: none;
}

.main-navigation ul ul {
        background-color:#658d1b;
	box-shadow:none;
	float: left;
	position: absolute;
	top: 80px;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
        font-size:16px;
        color:#fff;
	width: 200px;
        padding:10px 15px;
}

.main-navigation ul ul li:first-child a {padding-top:15px;}
.main-navigation ul ul li:last-child a {padding-bottom:20px;}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
    background-color:#658d1b;
    color:#fff;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
    text-decoration:underline;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
@media screen and (min-width: 960px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block!important;
	}
}
@media screen and (max-width: 959px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation {
		display: none;
                
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}






/* -------------------------------------------------------- 
CUSTOM VORZEIGEPROJEKTE
-------------------------------------------------------- */


.site-branding {        /* GET SITE TITLE AND DESCRIPTION OUT OF VIEW */
   position: absolute !important; 
   top: -9999px !important;
   left: -9999px !important;
}

.project_info {
    width:940px;
    /*padding:30px;*/
    margin:20px;
    line-height:40px;
    font-size:16px;
}
.project_info span {
    font-weight:400;
    color:#fff;
    background-color:#658d1b;
    box-shadow: 0.5em 0 0 #658d1b,-0.5em 0 0 #658d1b;
    padding:7px;
    box-decoration-break:clone;
}

@media screen and (max-width:960px) and (min-width:641px){
    .project_wrapper,
    .project_info {        
    width:90%;
}
}
@media screen and (max-width:640px){
    .project_wrapper,
    .project_info {        
    width:440px;
}
}


.site-title,
h1.entry-title {           /* CUSTOM POST TYPE PAGES TITLE */
    font-size:1.6rem;
    color:#fff;
    font-weight:700;
    margin-top:0;
    text-transform: uppercase;
}
h1.entry-title {margin-left:0;margin-top:110px;display:none;}









/* -------------------------------------------------------- 
PROJEKTSEITE
-------------------------------------------------------- */
.page_info_wrapper {
    position:relative;
    background-color:rgba(255,255,255,0.7);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    width:100%;
    display:inline-block;
    padding:40px 0 70px 0;
    margin-top:80px;
    margin-bottom:40px;
}
.page_info {
    color:#777;
    font-size:18px;
    width:960px;
    margin:0 auto;
    line-height:150%;
}
.site-title, .site-title-full {
    width:960px;
    margin:0 auto 10px auto;
    color:#658d1b;
    text-transform:uppercase;
    font-size:38px;
    line-height:120%;
}
.site-title {
    margin:0;
    padding-bottom:20px;
    padding-top:10px;
    width:100%;
}

@media screen and (max-width:960px){
    .page_info_wrapper {
    border-top:none;
    margin-top:0;
    padding-top:60px;
}
    .page_info {
    font-size:18px;
    width:90%;
    margin:0 auto;
    line-height:150%;
}
.site-title-full {
    width:90%;
}
}



#wrapper {
                width:960px;
                position:relative;
                margin:0 auto;
        }

.single_project_wrapper:last-child {
    margin-bottom:150px;
}        
        
.single_project_wrapper,
.openproject, 
.single_project_image,
.single_project_image img,
.single_project_title,
.single_project_ahref,
.single_project_info_more,
.single_project_info_less,
.single_project_wrapper p {
		-webkit-transition:all 1s ease, position 0.1s;
		-moz-transition:all 1s ease, position 0.1s;
		-ms-transition:all 1s ease, position 0.1s;
		-o-transition:all 1s ease, position 0.1s;
		transition:all 1s ease, position 0.1s;
	}
.single_project_wrapper p {
		-webkit-transition:width 0.1s ease;
		-moz-transition:width 0.1s ease;
		-ms-transition:width 0.1s ease;
		-o-transition:width 0.1s ease;
		transition:width 0.1s ease;
	}


/* PROJEKTSEITE INITAL STATUS */
.single_project_wrapper {
		width:inherit;
		background-color:#fff;
		height:280px;
		clear:both;
		position:relative;
		display:inline-block;
		margin:10px auto;
	}

.single_project_image {
		float:left;
		width:50%;
		height:inherit;
		background-color:#efefef;
		overflow:hidden;
		margin-right:30px;
                background-repeat: no-repeat;
                background-size:cover;
                background-position: center;
	}
	.single_project_image img {
		width:100%;
	}

.single_project_wrapper .single_project_title { /* in Listenansicht */
		// text-transform:uppercase;
		color:#658d1b;
		padding-top:5px;
		font-size:26px;
		font-weight:700;
		padding-bottom:0;
		margin-bottom:0;
                clear:none;
                line-height:125%;
	}
.single_project_title { /*wenn ausgefahren*/
		// text-transform:uppercase;
		color:#658d1b;
		padding-top:5px;
		font-size:24px;
		font-weight:700;
		padding-bottom:0;
		margin-bottom:0;
                clear:none;
                line-height:120%;
	}
h1.single_project_title span {
		color:#aaa;
		font-size:14px;
		font-weight:400;
		padding-left:5px;
}
.single_project_wrapper p {
		display:none;
		width:420px;
		float:left;
		line-height:150%;
		color:#777!important;
		font-weight:300;
		font-size:16px;
	}
	.single_project_wrapper p.short {
		display:inline-block;
	}


.single_project_ahref,
.single_project_info_more,
.single_project_info_less {
		display:block;
		text-transform:uppercase;
		cursor:pointer;
		color:#fff;
		background-color:#658d1b;
		text-align:center;
		width:180px;
		padding:10px 30px;
		right:0;
		position:absolute;
		bottom:0;
                font-size:16px;
                font-weight:700;
	}
.single_project_info_more {}
.single_project_info_less,
.single_project_ahref {display:none;	}


/* PROJEKTSEITE TOGGLED */
.openproject {
		width:inherit;
		background-color:#fff;
                height:auto;
		clear:both;
		position:relative;
		display:inline-block;
		margin:10px auto;
                padding-bottom:90px;
	}
	.openproject p.short {display:none;}
.openproject .single_project_image {
		width:100%;
		height:250px;
		margin-right:30px;
		position:relative;
		display:block;
	}
	.openproject .single_project_image img {
		width:100%;
		position:absolute;
		top:-50%;
	}
.openproject .single_project_title {
		padding:35px 0 20px 50px;
		clear:both;
	}
.openproject p {
		display:inline-block;
		padding-left:0;
                padding-bottom:0;
                padding-top:0;
                margin:0 50px;
		width:860px;
		line-height:160%;
		color:#777!important;
		font-weight:300;
		font-size:18px;
	}
        
.openproject .single_project_info_more {display:none;}
.openproject .single_project_info_less {display:block;}
.openproject .single_project_ahref {
    display:block;
    bottom:0;
    right:182px;
}
.openproject .single_project_ahref {
    color:#fff;
    text-decoration: none;
}
.openproject .single_project_ahref:hover {
    text-decoration: underline;
}


/* PROJEKTSEITE RESPONSIVE TABLET */
@media screen and (max-width:960px){
	#wrapper, .project_wrapper, .project_info, #main {
		width:90vw!important;
                position:relative;
                margin:0 auto;
		}
                .single_project_wrapper {
                    height:44px;
                }
                .single_project_info_more {
                    border-left:2px solid #fff;
                }
                .single_project_wrapper h1, .openproject h1, .single_project_title {
                width:100%!important;
                line-height:120%!important;
		position:relative!important;
		top:0px!important;
		color:#658D1B!important;
                background-color:#fff;
		padding:10px 4%!important;
		margin:0!important;
		font-size:18px!important;
                text-align: left;
                left:0;
		}
	.short {
		position:absolute;
		left:-9999px;
		top:0;
		}
	.single_project_image {
                display:none;
		width:100%;
                margin-bottom:30px;
		}
                
/* TOGGLED */
.openproject {
                padding-bottom:90px;
	}    
        .openproject .single_project_title {
            font-size:20px!important;
            cursor:auto!important;
        }
.openproject .single_project_image {
		display:block;
                margin-bottom:20px;
	}
.openproject .single_project_image img {
		width:100%;
		position:absolute;
		top:0;
	}
.openproject p {
                margin:auto;
                margin-left:4%;
		width:90%;
	}
.openproject .single_project_info_less {display:block;width:49.5%;}
.openproject .single_project_ahref {
    left:0;
    right:auto;
    width:49.5%;
}
}

@media screen and (max-width:540px) {
	#wrapper, .project_wrapper, .project_info, #main {
		width:100%!important;
		}
        .single_project_info_more {display:none;}
        .single_project_title {
            line-height:44px!important;
            font-size:18px!important;
            cursor:pointer;
        }
		.site-title-full {
			font-size:22px!important;	
		}
		p.page_info {
			font-size:16px!important;
		}
}






/* -------------------------------------------------------- 
KONTAKTFORMULAR ------ & STATIC PAGE BLOCK
-------------------------------------------------------- */

.entry-content {
    width:100%;
    position:relative;
    margin:0 auto;
}

.wpcf7-form, .static_page_block {
    min-height:100vh;
    float:right;
    width:63.5%;
    background-color:rgba(255, 255, 255, 0.9);
    padding:40px;
    padding-top:120px;
    font-size:18px;
}
.wpcf7-form {
    width:100%;
    background-color:transparent;
    padding:0;
    padding-top:0;
}
@media screen and (max-width: 960px) {
    .wpcf7-form, .static_page_block {
        float:none;
        margin:0 auto;
        width:480px;
        padding-top:80px;
    }
    .wpcf7-form {
        width:100%;
        padding-top:0;
    }
}

/* STATIC PAGE BLOCK */ /**/
.static_page_block ul,
.static_page_block ol{
    margin-left:0;
    padding-left:30px;
}

.wpcf7-not-valid-tip {
    color:#ff0!important;
}

.wpcf7-form-control-wrap {
    width:inherit;
}

.wpcf7 input {
    width:100%;
    font-size:16px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"]{
    height:30px;
}
.wpcf7 input[type="checkbox"] {
    width:30px;
}
.wpcf7 input[type="checkbox"]:first-child {
    padding-left:0;
}

.wpcf7 textarea {font-size:16px;}
.wpcf7 input[type="submit"] {
    width:150px;
    height:50px;
    text-transform: uppercase;
    font-weight:400;
    font-size:18px;
    float:right;
    color:#fff;
    background-color:#658d1b;
    box-shadow: none;
}


.wpcf7 p {clear:both;}
.wpcf7 p.small {
    float:right;
    width:49%;
    margin-right:1%;
    clear:none;
}
.wpcf7 p.small:nth-child(even) {
    float:left;
    margin-right:0;
}

.wpcf7 input[name="vorname"] {margin-bottom:5px;}

.wpcf7 input[name="vorname"],
.wpcf7 input[name="nachname"],
.wpcf7 input[name="strasse"],
.wpcf7 input[name="hausnr"],
.wpcf7 input[name="plz"],
.wpcf7 input[name="ort"] {
    width:100%;
}






/* FELLOWS PAGE */

.pick-fellows {
    display:inline-block;
}

.fellow {
    cursor:pointer;
    text-transform:uppercase;
    font-weight:700;
    float:left;
    padding:0 10px;
    color:#658d1b;
}
.fellow:first-child{padding-left:0;}
.fellow:hover {text-decoration: underline;}





/* PARTNER PAGE */

.single_partner_wrapper {
    width:310px;
    height:170px;
    overflow:hidden;
    background-color:#fff;
    position:relative;
    float:left;
    margin:0 1% 1% 0;
}
@media screen and (min-width:961px) {
    .single_partner_wrapper:nth-child(3n) {margin:0 0 1% 0;}
}
@media screen and (max-width:960px) and (min-width:581px) {
    .single_partner_wrapper {
        width:49%;
    }
}
@media screen and (max-width:580px) and (min-width:541px) {
    .single_partner_wrapper {
        position:relative;
        margin:0 auto;
        margin-bottom:10px;
        width:100%;
    }
    .page_info_wrapper {margin-bottom:20px;}
}
@media screen and (max-width:540px) {
    .single_partner_wrapper {
        position:relative;
        margin:0 auto;
        margin-bottom:10px;
        margin-left:5%;
        width:90%;
    }
    .page_info_wrapper {margin-bottom:20px;}
	.static_page_block {
		width:100%;
		padding:20% 10%;
	}
	#main {
		width:100%!important;
	}
	.fellow {
		font-size:14px;
	}
	.site-title {
		font-size:22px!important;
	}
}


.single_partner_wrapper a.single_partner_ahref {
    text-decoration:none;
    color:#fff;
}
.single_partner_wrapper {
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
}
.single_partner_wrapper .single_partner_hover {
    width:100%;
    height:100%;
    background-color:#658d1b;
    position:absolute;
    top:0;
    left:0;
    color:#fff;
    font-size:24px;
    text-transform:uppercase;
    font-weight:700;
    text-align:center;
    line-height:170px;
}
.single_partner_hover .single_partner_title {
    width:80%;
    margin:10% auto 2% auto;
    text-align:center;
    font-size:18px;
    text-transform:uppercase;
    font-weight:700;
    color:#658d1b;
}
.single_partner_hover p {
    margin:0 auto;
    width:80%;
    text-align:center;
    font-size:16px;
    font-weight:300;
    color:#777;
}




/*-------------------
MEDIATHEK
-------------------*/
#media, #media .project_wrapper, #media .project_info {
		width:100%;
                position:relative;
                margin:0 auto;
		}
                #media .single_project_wrapper {
                    height:44px;
                    width:100%!important;
                }
                #media .single_project_wrapper h4 {display:none;}
                #media .single_project_info_more {
                    width:150px;;
                }
                #media .single_project_wrapper .single_project_title, #media .openproject h1  {
                width:100%;
                line-height:120%!important;
		position:relative!important;
		top:0px!important;
		color:#658D1B!important;
                background-color:#fff;
		padding:10px 160px 10px 4%!important;
		margin:0!important;
		font-size:18px!important;
                text-align: left;
                left:0;
                display:inline-block;
		}
                #media .single_project_title {
                    background-color:#fff;
                } 
                #media .single_project_wrapper {
                    background-color:transparent;
                }
	#media .short {
		position:absolute;
		left:-9999px;
		top:0;
		}
	#media .single_project_image {
                display:none;
		}
		               
        #media .openproject {
                padding-bottom:90px;
                padding-top:20px;
                }  
                #media .openproject .single_project_title {
                    padding:15px 0 25px 4%;
                }        
        #media .openproject h4 {display:block;width:90%;padding-left:4%;}
        #media .openproject .single_project_image {
                display:none;
                }
        #media .openproject .single_project_image img {
                width:100%;
                position:absolute;
                top:0;
                }
        #media .openproject p {
                margin:auto;
                margin-left:4%;
                width:90%;
                }
        #media .openproject .single_project_info_less {display:block;width:100%;}
        #media .openproject .single_project_ahref {
            left:0;
            right:auto;
            width:49.5%;
        }
        @media all and (max-width:540px) {
            #media .single_project_wrapper {
                    margin:20px auto!important;
                    display:inline-block!important;
                }
            #media .single_project_wrapper .single_project_title, #media .openproject h1  {
            padding:10px 4%!important;
            }
        }        

/* ENDE MEDIATHEK */



























/* FILTER */
.beautiful-taxonomy-filters-label {display:none;}
.beautiful-taxonomy-filters-button {
    width:120px;
    height:30px;
    font-size:16px;
    border-radius:0;
    background-color:#fff;
    color:#828282;
    box-shadow:none;
    text-transform:uppercase;
    line-height:15px;
    overflow:hidden;
}
.beautiful-taxonomy-filters-button:hover {
    background-color:#658d1b;
    color:#fff;
    box-shadow:none;
}

.select2-results__option,
.select2-results__option--highlighted,
.select2-selection__rendered {
    font-size:16px;
}

.select2-results__option--highlighted {
    background-color:#658d1b!important;
    color:#fff;
}



/* MITGLIEDER */
#memberwrap {
	width:960px;
	margin:10px auto;
	}
.member {
	position:relative;
	width:310px;
	height:278px;
	float:left;
	margin-right:15px;
	margin-bottom:15px;
	}
.member:nth-child(3n+1) {margin-right:0;}
.member .image {
	background-color: #fff;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
	position: relative;
	width: 100%;
	height: 232px;
	}
.member .info {
	background-color:#fff;
	width:100%;
	height:100%;
	}
.member .info p {
	font-size: 18px;
	font-weight:300;
	color: #777;
	line-height: 1.4;
	text-align: left;
	width: 85%;
	height: 95%;
	overflow:hidden;
	display:block;
	padding:6% 0;
	margin:0 auto;
}
.member .info p span {
	color:#777!important;
}
.member .name {
	background-color:#658d1b;
  	width: 310px;
  	height: 46px;
	}
.member .name h3 {
	font-size: 18px;
	color:#fff;
	font-weight: bold;
	line-height: 43px;
	text-align: center;
	width: 90%;
	margin:0 auto;
	}
 @media all and (max-width:960px) and (min-width:650px) { /* TABLET */
	#memberwrap {width:650px;}
	.member {
		margin-right:0;
		margin-bottom:15px;
	}
	.member:nth-child(4n) {margin-right:0;}
	.member:nth-child(2n) {margin-right:15px;}
 }
@media all and (max-width:649px) { /* MOBILE */
	#memberwrap {width:310px;min-width:310px;}
	.member {
		margin-right:0;
	}
	.member:nth-child(3n) {margin-right:0;}
 }
 #beautiful-taxonomy-filters-form {
     padding-bottom:10px;
 }
 
 
 /* IMPRESSUM */
 #colophon {
     width:100%;
     height:30px;
     margin:0 auto;
 }
 .impressum {
    display:block;
    position:relative;
    font-size:14px;
    color:#999;
    line-height:30px;
    margin:0 auto;
    text-align: center;
 }
 .impressum a {
     text-decoration:none;
 }
 .impressum a:hover {
     color:#658D1B;
 }
 
 
 
 /* EINLADUNG SLIDE CSS */
 #fp-nav ul li a span, .fp-slidesNav ul li a span {
     border:2px solid #fff!important;
     background:rgb(101, 141, 27) none repeat scroll 0% 0%!important;
 }
 
 
 
 /* RESPONSIVE MENU FIX */
 #responsive-menu .RMImage {
     padding:10% 0 4% 0;
     margin:0;
 }
 #responsive-menu-title {
     max-width:90%;
 }
#responsive-menu ul.sub-menu a {
     color:#777!important;
     font-weight:400!important;
 }
 #responsive-menu a:hover {
     text-decoration:underline!important;
 }
#click-menu:after { /* ADD MENU TEXT */
    content:"MENÜ";
    font-size:13px;
    font-weight:400;
    color:#fff;
}




/* ----------- MARKTPLATZ -------------*/
.main {
	width:960px;
	margin:0 auto;
	position:relative;
}
@media screen and (max-width:960px) {
	.main {
		width:90%;
	}
}
a.marktplatz_link {
	text-decoration:none;
}
.page_info_wrapper p span {
	background-color:rgba(101, 141, 27, 0.9);
}
.mp_house {
	background-color:rgba(255,255,255,0.9);
	width:220px;
	height:305px;
	float:left;
	margin:10px;
        overflow:hidden;
}
.img_house {
	width:100%;
	height:160px;
	background-position:center;
	background-repeat:no-repeat;
	background-size:100%;
	-webkit-transition:all 1s linear;
	-moz-transition:all 1s linear;
	-ms-transition:all 1s linear;
	-o-transition:all 1s linear;
	transition:all 1s linear;
}
.img_house_wrap {
	width:100%;
	height:160px;
	overflow:hidden;
}

.head_house {
	width:100%;
	height:35px;
	line-height:35px;
	color:#fff;
	background-color:#658d1b;
	text-align:center;
	font-size:10px;
	overflow:hidden;
}
.head_house h1 {
	margin:0;
}
.p_house {
	color:#444;
	font-size:16px;
	line-height:1.3;
	padding:10px 20px;
	text-align:center;
}


/*------- MARKTPLATZ HOUSES --------*/
.grid {
	width:960px;
	margin:0 auto;
	margin-bottom:150px;
}

.mp_entry {
	box-sizing:border-box;
	width:470px;
	margin-bottom:20px;
	background-color:rgba(255,255,255,0.9);
	padding:30px;
	float:left;
}
.mp_entry--mobile {
	width:100%;
}

.mp_entry_head {
	
}
.mp_entry_head h2, .mp_entry_head h1 {
	margin-top:0;
	padding-top:0;
	color:#658d1b;
	font-weight:700;
	font-size:22px;
	line-height:1.4;
}
.mp_entry_text {
	line-height:1.4;
	padding-bottom:20px;
	font-size:16px;
	font-weight:300;
	color:#777;
}

.mp_entry_button {
	width:33%;
	min-width:140px;
	height:40px;
	background-color:#658d1b;
	line-height:40px;
	font-weight:700;
	font-size:16px;
	text-align:center;
	text-transform:uppercase;
	color:#fff;
	float:right;
	cursor:pointer;
	position:absolute;
	right:0;
	bottom:0;
}

/* OPEN ENTRY */
.mp_entry_content {
	display:none;
	position:fixed;
	top:0;
	left:0;
	background-color:#fff;
	width:100%;
	height:100%;
	box-sizing:border-box;
	padding:10%;
	z-index:999;
	overflow:scroll;
}
.mp_entry_content_close:first-child {
	position:absolute;
    	top: 8%;
    	right: 11%;
	opacity:0.5;
	cursor:pointer;
}
.mp_entry_content_close:last-child {
 	margin:40px auto;
	padding:10px 15px;
	background-color:#658d1b;
	color:#fff;
	font-weight:700;
	text-align:center;
	max-width:180px;
	cursor:pointer;
}
.mp_entry_content h1 {
	color:#658d1b;
	font-size:1.5em;
	line-height:1.4;
}
.mp_entry_content p {
	font-size:1.1rem;
}
.mp_entry_content img {
	max-height:400px;
	max-width:100%;
}
.mp_entry_content_wrap {
	margin:0 auto;
	position:relative;
	padding:0;
	max-width:860px;
}

.grid img {
	margin-bottom:10px;
}

.mp_back {
	margin-top:20px;
	display:block;
	font-size:16px;
	font-weight:400;
	color:#fff;
	text-decoration:none;
}
.mp_back:visited {
	color:#fff;
}
.mp_back:hover {
	text-decoration:underline;
}




@media all and (max-width:960px) and (min-width:650px) { /* TABLET */
	.grid {
		width:650px!important;
		margin:0 auto;
	}
	.mp_entry {
		width:650px!important;
	}
	.mp_entry_content h1 {font-size:1.25em;}
	.main {
		width:90%;
	}
	.mp_house {
		width:30%;
		min-width:220px;
		margin:1.5%;
	}
	.img_house {
		background-size:cover;
	}
}
@media all and (max-width:805px) and (min-width:650px) { /* TABLET */
	.mp_house {
		width:45%;
		margin:2.5%;
	}
}

@media all and (max-width:649px) { /* MOBILE */
	.grid, .main {
		width:100%!important;
	}
	.mp_entry {
		width:100%!important;
	}
	.mp_entry_button {
		width:135px;
	}
	.mp_entry_content h1 {font-size:1em;}
	.mp_entry_content_close:last-child {
 		margin:40px auto;
		padding:10px 15px;
		max-width:100%;
		width:60%;
		font-size:20px;
	}
	.mp_house {
		width:80%;
		float:none;
		margin:20px auto;
	}
	.mp_entry_content_close:first-child {
		position:relative;
		top:0;
		right:0;
	}	
}