/* 
Theme Name: Martha Nemec
Description: Custom Theme für Martha
Author: Martin Nemec
Author URI:
Version: 0.1
*/


/*
hellblau: #00a99e
orange: #ce0050 
zartblau: #8ecbc7
*/

/* ============================================= BROWSER RESET ============================================ */

* {  
	margin: 0;  
	padding: 0;
	border: 0;
	outline: 0;
	line-height: 1,3;
	vertical-align: baseline;
	text-decoration: none;
	}  

/* ============================================ TEXTFORMATIERUNGEN ======================================== */

span, p, ul, li {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;	
	font-size: 12px;
	line-height: 17px;
	}
	
a,
a:visited {
	color: #ce0050 ;
	}	
	
p, ul {
	margin-top: 8px;
	}

h2 {
	font-family: 'Cuprum', sans-serif;
	font-weight: 700;
	font-size: 22px;	
	color: #000;
	margin-bottom: 16px;
	}


li { margin-left: 15px;
	}

h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;	
	font-size: 14px;
	margin-top: 20px;
	}
	
h4 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;
	font-size: 12px;
	margin-top: 16px;
	}	
	
strong {
	font-style: normal;
	font-weight: 700;
	}
	
em {
	font-style: italic;
	font-weight: 400;
	}
	
.caption {
	font-style: italic;
	font-weight: 400;
	font-size: 15px;
	line-height: 20px;
	}
	
.box-header span {
	font-family: 'Cuprum', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	}
	
.header-title {
	margin-left: 10px;
	}

.header-title a {
	font-family: 'Cuprum', sans-serif;
	font-weight: 700;
	font-size: 24px;	
	color: #fff;
	}

.header-description {
	margin-left: 20px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 700;	
	font-size: 14px;
	color: #fff;
	}

.box-header-home a {
	font-family: 'Cuprum', sans-serif;
	font-weight: 700;
	font-size: 18px;	
	color: #fff;
	}

.header-title a:visited,
.box-header-home a: visited {
	color: #fff;
	}

.attachments-sub p {
	margin: 0 0 16px 0;
}

.kontaktinfos {
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 22px;
	}
	
kontaktinfos-links {
	line-height: 19px;
	}	

/* --------------------------------------------  MENÜ ------------------------------------------------ */

.menu li {
	margin-left: 0;
	list-style-type: none;
	font-family: 'Cuprum', sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 27px;
	}

.current-menu-item a{
	margin-left: 5px;
	}

.menu ul li:hover {
	margin-left: 5px;
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	}

.menu ul li {
	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
	}
	
.current-menu-item:hover {
	-moz-transition: none;
	-webkit-transition: none;
	-o-transition: color 0 ease-in;
	transition: none;
	}
	
.current-menu-item {
	-moz-transition: none;
	-webkit-transition: none;
	-o-transition: color 0 ease-in;
	transition: none;
	}
	
/* --------- MENÜ-HOME --------- */

.menu-home ul a {
	color: #d2dddd;
	}		
	
.menu-home ul a:visited {
	color: #d2dddd;
	}	

.menu-home ul li:nth-of-type(2) a,
.menu-home ul li:nth-of-type(3) a,
.menu-home ul li:nth-of-type(4) a,
.menu-home ul li:nth-of-type(2) a:visited,
.menu-home ul li:nth-of-type(3) a:visited,
.menu-home ul li:nth-of-type(4) a:visited
	{
	color: #fff;
	}

/* --------- MENÜ-SUB --------- */

.menu-sub ul a,
.menu-sub ul a:visited
	{
	color: #92acaa;
	}	

.menu-sub ul li:nth-of-type(2) a,
.menu-sub ul li:nth-of-type(3) a,
.menu-sub ul li:nth-of-type(4) a,
.menu-sub ul li:nth-of-type(2) a:visited,
.menu-sub ul li:nth-of-type(3) a:visited,
.menu-sub ul li:nth-of-type(4) a:visited
	{
	color: #00a99e;
	}


/* --------------------------------------------  FOOTER ------------------------------------------------ */	
	
.footer p {					 
	text-align: right; /* footer-text rechts */
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;	
	font-size: 10px;
	color: #888;
	margin: 0 0 16px 0;
	}
	
.footer a,
.footer a:visited {					 
	color: #888;
	}

/* ============================================= DIV-GERÜST =============================================== */
/* --------------------------------------------  ALLGEMEIN ------------------------------------------------ */

.body {
	position: absolute;
	}

#wrapper {						/* wrapper innerhalb body zentrieren */
	position: relative;
	width: 984px;
	margin: 0 auto 0 auto;
	}
	
.header {
	position: absolute;			
	width: 944px;
	left: 50%;					/* innerhalb wrapper zentrieren */ 
	margin-left: -480px;				
	top: 0px;
	height: 28px;
	padding: 15px 7px 7px 7px;
	}


.footer {
	margin-top: 16px;
	width: 960px;	
	}


/* ----------------------------------------------  HOME ---------------------------------------------------- */
	
.image-home {
	position: absolute;
	top: 42px;
	width: 984px;
	height: 435px;
	left: 50%;					/* zentrieren */ 
	margin-left: -492px;
	z-index:-1;
	}
	
.menu-home {
	position: absolute;
	width: 220px;
	left: 50%;					/* horizontal ausrichten */ 
	margin-left: -470px;
	top: 73px;
	}

.container-home {
	position: absolute;
	width: 990px;					/* etwas breiter wegen margin-right von box */ 
	left: 50%;					/* zentrieren */ 
	 margin-left: -480px;
	top: 437px;
	display: flex;
	flex-wrap: wrap;
	}

.box-home {
	width: 229px;
	margin-right: 8px;
	display: inline-block;
	vertical-align: top;
	}

.box-header-home {
	min-height: 21px;
	padding: 7px;
	}
	
.box-content-home {
	min-height: 340px;
	padding: 7px;
	}


/* ----------------------------------------------  SUB --------------------------------------------------- */	

.container-sub {
	position: absolute;				
	width: 958px;					
	left: 50%;					/* zentrieren */ 
	margin-left: -480px;				
	top: 58px;
	}	
	
.box-sub {
	width: 958px;					
	min-height: 570px;
	padding: 14px 0 21px 0;
	}	
	

.menu-sub {
	width: 221px;
	display: inline-block;
	margin: 0 8px 0 9px;
	vertical-align: top;
	}

.content-sub {
	width: 464px;
	margin-right: 12px;
	display: inline-block;
	vertical-align: top;
	}
	
.attachments-sub {
	width: 221px;
	display: inline-block;
	vertical-align: top;
	}

	
/* ============================================= DIV-STYLES =============================================== */
/* --------------------------------------------  ALLGEMEIN ------------------------------------------------ */
	
body {
	background-image: url(img/body-bg.png);
	background-repeat: repeat-x;
	/* background-color: #dcdcdc; */
	background-color: #f4faff;
	}

.header {
	/* background-color: #ce0050 ; */
	background-color: #00a99e;
	-webkit-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px; 
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1); 
	border-left: 1px solid #8ecbc7;
	border-bottom: 1px solid #8ecbc7;
	border-right: 1px solid #8ecbc7;
	}
	

.box {
	border: 1px solid #8ecbc7;
	background-image: url(img/box-bg.png);
	background-color: white;
	background-repeat: repeat-x;
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1); 
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px; 
	}
	
hr {
	border: 1px;
	background-color: #555;
	height: 1px;
	margin: 16px 0 16px 0;
	}
	
/* ------------------------------------------------  HOME ------------------------------------------------- */
	
.image-home {
	background-color: #333;
	background-image: url(img/home-bg.jpg);
	}
		
.box-header-home
	{
	/* background-color: #ce0050 ; */
	background-color: #00a99e;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px; 
	}
	
.box-home:hover{
	-webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4);
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.4); 
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	}
	
	
.box-home {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    }
    
    
/* =========================================== FORMULARE =============================================== */

/* ----------------------------------- WP Contact Form 7 ----------------------------------------------- */

.wpcf7 label,						/* Textattribute für Formularfelder setzen */
.wpcf7 span,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7-response-output 
	{
	font-family: 'Cuprum', sans-serif;
	font-size: 14px;
	line-height: 21px;
	color: #000;
	padding: 1px 3px 1px 3px;
	}

.wpcf7 div {						/* alle DIVs innerhalb des Formulars selber Rand */
	margin: 12px 24px 12px 0;
	}
							/* --------------- Senden-Button -- --------------- */
.wpcf7 .button {					/* -- div */
	width: 110px;
	height: 40px;
	margin: 18px 0 0 0;
	}

.wpcf7 .wpcf7-submit {					/* -- input */
	cursor: pointer;				/* Hand-Cursor */
	width: 100%;					/* selbe grösse wie das umgebende div */
	height: 100%;
	}

.wpcf7 .wpcf7-submit {
	-moz-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	-webkit-box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	box-shadow:inset 0px 1px 0px 0px #bbdaf7;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #79bbff), color-stop(1, #378de5) );
	background:-moz-linear-gradient( center top, #79bbff 5%, #378de5 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#79bbff', endColorstr='#378de5');
	background-color:#79bbff;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #84bbf3;
	display:inline-block;
	color:#ffffff;
	font-size:16px;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #528ecc;
}

.wpcf7 .wpcf7-submit:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff) );
	background:-moz-linear-gradient( center top, #378de5 5%, #79bbff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#378de5', endColorstr='#79bbff');
	background-color:#378de5;
}

.wpcf7 .wpcf7-submit:active {
	position:relative;
	top:1px;
}




.wpcf7 input[type="text"],				/* ------------- Textfelder --------------- */
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea
	{
	font-size: 14px;				
	border: solid 1px #ccc;
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.1);	/* Schatten */
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.1);
	box-shadow: 0 0 3px rgba(0,0,0,.1);
	}

.wpcf7 input[type="text"]:focus,			/* Rahmen und Schatten für aktives Textfeld */
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus
	{
	border: solid 1px #aaa;			
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);	
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
	box-shadow: 0 0 5px rgba(0,0,0,.2);
	}

.wpcf7 input[type="text"],				/* Höhe - wegen grossem Font */
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"]
	{	
	height: 22px;
	}

.wpcf7 input[type="text"],				/* alle immer 450px breit */
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea
	{
	width: 450px;
	}
	
.wpcf7 textarea
	{
	height: 75px;
	}	

							/* -- Formatierungen für Fehler+Statusmeldungen -- */			
.wpcf7-mail-sent-ok {					/* - erfolgreich versendet */			
	border: 1px solid #7fad00!important;		/* dunkelgrüner Rahmen (overridet plugin-default) */
	background-color: #bcda53;			/* hellgrüner Hintergrund */
	}

.wpcf7-mail-sent-ng,					/* - Fehler beim Senden */			
.wpcf7-validation-errors {				/* - nicht alle Felder ausgefüllt */			
	border: 1px solid #e30000!important;		/* dunkelroter Rahmen (overridet plugin-default) */
	background-color: #ff6c6c;			/* hellroter Hintergrund */
	}

.wpcf7-mail-sent-ok,					/* Schatten und Textformatierungen für alle */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng
	{
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);	
	-moz-box-shadow: 0 0 5px rgba(0,0,0,.2);
	box-shadow: 0 0 5px rgba(0,0,0,.2);
	font-weight: bold;
	color: #333;
	padding: 12px!important;
	}

.wpcf7-not-valid-tip {					/* -- Hinweis auf falsch ausgefüllte Felder -- */
	border: 1px solid #e30000!important;
	background-color: #ff6c6c;
	}