/*
	Theme Name: Lifeline Grütsch
	Theme URI: http://lifeline-gruetsch.eu
	Description: Template für LL Grütsch
	Version: 1.4.3
	Author: Jonas Viertl
	Author URI: http://www.image-gestalter.de

*/

/*------------------------------------*\
    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%;
}
body {
	font:300 17px/1.5 'Roboto', Helvetica, Arial, sans-serif;
	color:#444;
	background: #222;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}

strong{
	font-weight: 400;
}

.dekofull img{
	width: 100%;
	height: auto;
	position: absolute;
	bottom: 0;
}

.dekofull{
	height: 400px;
	overflow: hidden;
	position: relative;
}

a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

h1{
	font-size: 40px;
	font-weight: 300;

}

h2{
	font-size: 30px;
	font-weight: 300;
}

h3{
	font-size: 25px;
	font-weight: 300;
}

h4{
	font-size: 20px;
	font-weight: 300;
}

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

/* wrapper */
.wrapper {
	max-width:1200px;
	width:95%;
	margin:0 auto;
	position:relative;
}

header{
	margin: 10px 0px 0px 0px;
	background: #323232;
	box-shadow: 1px 1px 8px rgba(0,0,0,.7);
}

.home header{
	background: transparent;
	box-shadow: none;
}

nav{
	width: auto;
	float: right;
	margin-top: 15px;
}

nav ul{
	
}

nav ul li{
	display: inline-block;
	position: relative;
	padding: 0;
}

nav ul li a{
	font-size: 21px;
	display: block;
	padding: 8px;
	color: #fff;
	border-bottom: 1px solid transparent;
}

nav ul li ul{
	display: none;
}

nav ul li a:hover{
	border-bottom: 1px solid #ccc;
	color: #ccc;
}

nav ul li:hover ul{
	display: block;
	position: absolute;
	z-index: 99999;
	top: 40px;
	background: #333;
	padding: 0;
	width: 120px;
	box-shadow: 0px 0px 4px rgba(0,0,0,.3);
}

nav ul li.current_page_item a, nav ul li.current-page-parent a, a.fancybox-iframe{
	color: #ff6633;
}

nav ul li ul li a, nav ul li ul li{
	color: #fff !important;
	font-size: 16px;
	border: 0 !important;
	display: block;
}

nav ul li ul li a:hover, a.fancybox-iframe:hover{
	color: #666 !important;
}


.logo{
	width: 250px;
	height: auto;
	float: left;
}

.home .logo{
	float: none;
	width: 350px;
}

footer{
	background: #323232;
	border-bottom: 3px solid #ff6633;
	width: 100%;
	padding: 50px 0px 30px 0px;
	color: #fff;
}

footer .drittel.karte iframe{
	width: 80%;
}

footer h4{
	color: #ff6633;
}

footer .adresse, footer .email, footer .telefon, footer .socials{
	display: block;
	margin: 5px 0px;
}

footer .telefon{
	margin: 12px 0px;
	font-weight: bold;
	font-size: 22px;
}

footer .socials{
	margin-top: 18px;
}

footer .socials a img{
	width: 45px;
	height: 45px;
	position: relative;
	top: 9px;
}

footer .socials a:hover{
	opacity: 0.8;
	color: #fff;
}

footer .copy{
	margin: 40px auto 0 auto;
	font-size: 12px;
	font-weight: bold;
}

footer .copy ul{
	display: block; 
	margin: 0 auto;
	list-style-type: none;
	text-align: center;
}

footer .copy ul li{
	margin: 0px 10px;
}

footer a{
	color: #fff;
}



.weiss{
	background: #fff;
	color: #111;
}

.orange{
	background: #ff6633;
	color: #111;
}

.schwarz{
	background: #333;
	color: #fff;
}

.grau{
	background: #eee;
	color: #000;
}

.home .weiss{
	background: rgba(220,220,220,.85);
}

.home .orange{
	background: rgba(255,102,51,.85);
}
.home .schwarz{
	background: rgba(30,30,30,.85);
}
.home .grau{
	background: rgba(150,150,150,.85);
}

.home .weiss:hover{
	background: rgba(220,220,220,.95);
}

.home .orange:hover{
	background: rgba(255,101,51,.95);
}
.home .schwarz:hover{
	background: rgba(30,30,30,.95);
}
.home .grau:hover{
	background: rgba(150,150,150,.95);
}

.home .grid-startseite > div, .home .grid-startseite div > div{
	-webkit-transition: 0.35s;
	transition: 0.35s;
}

.home .grid-startseite div > div{
	cursor: pointer;
}

.home .grid-startseite .teaserlink{
	margin: 4px 0px;
	width: 100%;
	text-align: left;
	display: block;
	font-size: 0.85em;
}

.home .grid-startseite .teaserlink:hover{
	color: #fff;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.haelfte{
	width: 48%;
	float: left;
}

.drittel{
	width: 33.333%;
	float: left;
}	

.zweidrittel{
	width: 60%;
	float: left;
}

.drittel .mitglied .rechts{
	padding-top: 10px;
}

.viertel{
	width: 25%;
	float: left;
}

.dreiviertel{
	width: 75%;
	float: left;
}

.box{
	padding: 20px;
}

.rechts{
	float: right;
}

.paddingv{
	padding: 25px 0px;
}

.paddingv2{
	padding: 50px 0px;
}

.h2bg div{
	padding-top: 0;
}

.h2bg h2{
	background: #ff6633;
	display: inline-block;
	padding: 20px;
	border-bottom-right-radius: 8px;
	margin-bottom: 30px;
	margin-top: 0;
}


body.home{
	background: url(../../uploads/2015/09/Hauptseite_2b.jpg) no-repeat fixed;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
}

.home section{
	
}

.home .grid-startseite{
	margin: 40px 0px 40px 0px;
}

.grid-startseite .viertel, .grid-startseite .dreiviertel, .grid-startseite .haelfte{
	float: left;
	padding: 20px;
}

.grid-startseite .viertel, .grid-startseite .haelfte{
	display: block;
}

.grid-startseite div > div, .page-id-16 .grid-startseite > div{
	display: block !important;
	text-align: center;
}

.grid-startseite .viertel{
	width: 22%;
	margin-right: 4%;
	height: 100%;
	position: relative;
}

.grid-startseite .haelfte{
	width: 48%;
}

.grid-startseite .dreiviertel{
	width: 74%;
	margin-right: 4%;
}

.grid-startseite .gridbutton{
	font-size: 40px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	-webkit-word-break: break-word;
	-moz-word-break: break-word;
	word-break: break-word;
}

.grid-startseite .orange:hover{
	color: #333 !important;
}

.grid-startseite .weiss:hover{
	color: #333 !important;
}

.grid-startseite .schwarz:hover{
	color: #fff !important;
}

.grid-startseite .post-edit-link{
	height: auto !important;
}


.grid-startseite .reihe2{
	margin-top: 25px;
}

.grid-startseite .letzte{
	margin-right: 0;
}




.newseintrag{
	margin: 50px 0;
}


.kurse .status{
	font-weight: bold;
	font-size: 18px;
	-webkit-transform: rotate(-2deg);
	transform: rotate(-2deg);
	color: #ff6633;
	display: inline-block;
	padding: 6px;
	background: #eee;
	box-shadow: 1px 1px 5px rgba(0,0,0,.4);
	margin-top: 10px;
	border-radius: 2px;
}

.kurse .raum{
	font-style: italic;
}

.kurse .anmeldeurl a{
	display: inline-block;
	color: #fff;
	background: #666;
	padding: 2px;
	font-size: 15px;
	margin-top: 5px;
}



.leistung{
	border-top: 5px solid #ccc;
}

.bereichsinfo{
	color: #ff6633;
	font-weight: 400;
	margin: 0;
}

ul.auswahl-leistung{
	display: block;
	width: 100%;
	text-align: right;
	margin-top: 40px;
}

ul.auswahl-leistung li{
	display: inline-block;
	font-size: 25px;
	margin-left: 15px;
	padding-left: 15px;
	border-left: 1px solid #333;
	color: #111;
}

ul.auswahl-leistung li:first-child{
	border: 0;
}

ul.auswahl-leistung li a{
	color: #111;
}

ul.auswahl-leistung li a:hover{
	color: #ccc;
}

ul.auswahl-leistung li.current{
	color: #ff6633;
}



.mitglied{
	border: 2px solid #ccc;
	padding: 10px;
	background: #333;
	margin: 10px;
	transition: 0.2s;
}

.mitglied .name{
	color: #ff6633;
	font-size: 24px;
}

.mitglied .zusatz{
	color: #fff;
	font-weight: bold;
	font-size: 14.5px;
}

.mitglied .bereich{
	color: #fff;
	line-height: 3;
}

.mitglied:hover{
	opacity: 0.9;
}
/*
footer .su-tabs, footer .su-tabs-pane{
	background: #ddd !important;
	color: #fff;
	font-size: inherit !important;
	padding: 0;
}
/*
footer .su-tabs-nav span.su-tabs-current, footer .su-tabs-nav span:hover{
	color: #ff6633;
}

footer .su-tabs-nav span{
	color: #fff;
	font-weight: 400;
	background: transparent !important;
	font-size: inherit !important;
	padding: 0;
	padding-right: 10px;
	padding-bottom: 20px;
	text-decoration: underline;
}
*/

.su-tabs{
	background: #777 !important;
}

.newseintrag .viertel h2{
		margin: 0 !important;
}


.single-eintrag{
	background: #fff;
	color: #111;
	padding: 25px;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

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


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

	.logo, nav{
		float: none;
	}

	.logo{
		margin: 0 auto;
		padding-top: 20px;
	}

	nav{
		text-align: center;
	}

	.dekofull{
		height: 300px;
	}

	.team .drittel{
		width: 50%;
	}

	.page-id-12 .dekofull img{
		top: 0 !important;
	}

	.grid-startseite .gridbutton{
		font-size: 29px;
	}

}

@media only screen and (max-width:960px) {
	.home .grid-startseite .teaserlink{
		font-size: 0.6em;
	}
}

@media only screen and (max-width:768px) {
	footer .drittel{
		margin-bottom: 50px;
		width: 100%;
		float: none;
	}

	footer{
		padding-top: 50px;
	}

	footer .copy ul{
		padding: 0;
	}

	.dekofull{
		height: 250px;
	}

	.leistung .viertel, .leistung .dreiviertel, .haelfte{
		float: none;
		width: 100%;
		margin: 15px 0px;
	}

	.leistung .viertel.box{
		padding: 0 !important; /* vorübergehend */
	}

	.newseintrag .viertel, .newseintrag .dreiviertel{
		float: none;
		width: 100%;
	}

	.newseintrag .viertel{
		height: auto !important;
	}

	.grid-startseite .viertel{
		width: 46%;
		margin-right: 3.2%;
		margin-bottom: 30px;
	}

	.grid-startseite .dreiviertel{
		width: 100%;
		margin-right: 0;
		margin-left: 0;
		margin-bottom: 30px;
	}

	.grid-startseite .haelfte{
		width: 100%;
	}

	.grid-startseite .reihe2{
		margin: 0;
	}

	.grid-startseite .gridbutton{
		font-size: 38px;
	}

	form input, form textarea, form select{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.home .grid-startseite .teaserlink{
		font-size: 1em;
		margin: 2px 0px;
	}


}

@media only screen and (max-width:480px) {
	footer .drittel.karte iframe{
		width: 100%;
	}

	.dekofull{
		height: 200px;
	}

	nav ul{
		padding: 0;
	}

	.logo{
		padding-top: 5px;
		width: 260px !important;
	}

	nav ul li a{
		font-size: 19px;
	}

	.team .drittel{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
		float: none;
	}

	.grid-startseite .gridbutton{
		font-size: 24px;
	}

	.grid-startseite .viertel, .grid-startseite .dreiviertel, .grid-startseite .haelfte{
		padding: 10px;
	}

	h1{
		font-size: 35px;
		font-weight: 300;
	}

	h2{
		font-size: 26px;
		font-weight: 300;
	}

	h3{
		font-size: 22px;
		font-weight: 300;
	}

	h4{
		font-size: 19px;
		font-weight: 300;
	}

	body{
		font-size: 15px;
	}

	.grid-startseite .viertel{
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
		height: auto !important;
		min-height: 130px !important;
	}

}

@media only screen and (max-width:360px) {
	.dekofull{
		height: 150px;
	}
}



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

}
@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 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px 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;
	}
}

.single-team h1{
	text-align: center !important;
	width: 100%;
}


.su-tabs-nav span{
	color: #fff !important;
}

.su-tabs-nav span:hover{
	color: #333 !important;
}
.su-tabs-nav span.su-tabs-current{
	color: #ff6633 !important;
	font-weight: bold;
}
