/*
Theme Name: Prefessionelle
Theme URI: http://codedivision.ch/
Description: HTML5 custom theme for profession-elle.ch
Author: Code Division
Author URI: http://codedivision.ch/
Version: 1.0
*/

/* RESET 
************************************************************************************/

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
body {
    line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
nav ul {
    list-style:none;
}
blockquote, q {
    quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}
del {
    text-decoration: line-through;
}
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
table {
    border-collapse:collapse;
    border-spacing:0;
}
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
input, select {
    vertical-align:middle;
}

/* Clearfix 
************************************************************************************/

.clearfix:before,
.clearfix:after {
   content: " "; /* 1 */
   display: table; /* 2 */
}
.clearfix:after {
   clear: both;
}
.clearfix {
   *zoom: 1;
}

/* General Stuff 
************************************************************************************/

html, body {
	font-family: Arial, Helvetica, sans-serif;
	color: #575756;
	font-size: 100%;
	line-height: 1;
	height: 100%;
}

html {
	overflow-y: scroll; 
}

img {
	display: block;
	height: auto;
}

img, iframe {
	max-width: 100%;
}

/* Layout 
************************************************************************************/

.wrapper {
	max-width: 944px;
	/* width: 944px; */
	margin: 0 auto;
	padding: 0 10px;
}

.site-header {
	min-height: 74px;
	height: auto !important;
	height: 74px;
	position: relative;
	padding-top: 47px;
}

.main-nav {
	float: left;
	/* width: 135px; */
	width: 14.30084%; /* 135/944 */
	/* margin-right: 30px; */
	margin-right: 3.17796%;	/* 30/944 */
}

.content {
	float: left;
	/* width: 779px; */
	width: 82.52118%; /* 779/944 */
}

.content-header {
	margin-bottom: 40px;
}

.site-footer {
	border-top: 1px solid #bc163a;
	margin: 40px 0 0 0;
	width: 69.19127%; /* 539/779 */
}

/* Zwei Spalten 
***********************************************/

.left {
	/* width: 543px;  */
	/* margin-right: 15px; */
	width: 69.70474%; /* 543/779 */
	margin-right: 1.92554%; /* 15/779 */
	float: left;
}

.right {
	/* width: 221px; */
	width: 28.3697%; /* 221/779 */
	float: left;
}

.post .left {
	/* width: 500px; */
	width: 64.18485%; /* 500/779 */
	border-right: 1px solid #e1e1e1;
	/* padding-right: 57px; */
	padding-right: 7.31707%; /* 57/779 */
	margin-right: 0;
}

.post .left.empty {
	border-right: none;
}

.post .right {
	/* width: 193px; */
	width: 24.775535%; /* 193/779 */
	/* padding: 5px 14px 0 14px; */
	padding: 5px 0 0 0;
	margin-left: 1.79717%;
	/* margin-right: 1.79717%; */
}

/* Header 
************************************************************************************/

.site-header h1 {
	/* float: left; */
	max-width: 70%;
	/* display: block; */
	/* left: 165px; */
	margin-left: 17.47881%; /* 165/944 */
	/* width: 25.10593%; */ /* 237/944 */
}

.site-header h1 a {
	
}

.img1 {
	margin-bottom: 10px;
}

/* Navigation 
************************************************************************************/

.main-nav {
	text-align: right;
	font-family:'UniversLTW02-47LightCn';
	margin-top: 38px;
}

.main-nav li {
	display: block;
}

.main-nav ul li a {
	display: block;
	text-decoration: none;
	color: #575756;
}

/* First Level 
***********************************************/

.main-nav ul li a {
	font-size: 1.2em;
	/* margin-bottom: 14px; */
	padding-bottom: 14px;
	letter-spacing: 3px;
}

.single-post .main-nav ul li.menu-item-84 a,
.main-nav ul li.current-menu-item a,
.main-nav ul li.current-menu-ancestor a,
.main-nav ul li a:hover {
	color: #b2b2b2;
}

/* Second Level 
***********************************************/

.main-nav .sub-menu {
	display: none;
	margin-bottom: 14px;
}

.main-nav .sub-menu li {
}

/* .main-nav li.current-menu-item .sub-menu, */
.main-nav li.current-menu-ancestor .sub-menu {
	display: block;
}

.main-nav ul li .sub-menu a,
.main-nav ul li.current-menu-item .sub-menu a,
.main-nav ul li.current-menu-ancestor .sub-menu a {
	padding-right: 10px;
	background: transparent url(img/button_grau.jpg) 100% 8px no-repeat;
	color: #575756;
	font-size: 0.95em;
	line-height: 1.1;
	/* margin-bottom: 4px; */
	padding-bottom: 4px;
	letter-spacing: 0;
}

.main-nav ul li .sub-menu a:hover,
.main-nav ul li.current-menu-item .sub-menu a:hover,
.main-nav ul li.current-menu-ancestor .sub-menu a:hover,
.main-nav ul li.current-menu-item ul li.current-menu-item a,
.main-nav ul li.current-menu-ancestor ul li.current-menu-item a {
	color: #bd173b;
	background: transparent url(img/button_rot.jpg) 100% 8px no-repeat;
}

/* Mobile Navigation 
************************************************************************/

	.nav-control {
		display: none;
		width: 40px;
		height: 40px;
		position: absolute;
		top: 0px;
		right: 10px;
		overflow: hidden;
		background: transparent url(img/nav-control.jpg) 0 0 no-repeat;
		text-indent: -999px;
		z-index: 100;
	}

	.mobile-nav {
		display: none;
		padding: 0 10px;
		margin-bottom: 10px;
	}
	
	.mobile-menu ul {
		/* display: none; */
	}
	.mobile-menu  > li {
		border-top: 1px solid #CCC;		
	}
	.mobile-menu li, 
	.mobile-menu li li {
		position: relative;
		float: none;
		width: 100%;
		line-height: 2em;
	}
	.mobile-menu li a, 
	.mobile-menu li li a {
		text-decoration: none;
	}
	/* .mobile-menu .current-menu-parent a, */
	.mobile-menu .current a,
	.mobile-menu .current-menu-item a {
		border-bottom: none;
		color: #bd173b;
	}
	.mobile-menu .current-menu-item ul,
	.mobile-menu .current-menu-parent ul,
	.mobile-menu .current ul {
		display: block;
	}
	.mobile-menu .current-menu-item li a, 
	.mobile-menu .current-menu-parent li a,
	.mobile-menu .current li a,
	.mobile-menu li li a {
		color: #2c2c2c;
	}
	.mobile-menu .current-menu-item li a:hover, 
	.mobile-menu .current-menu-parent li a:hover,
	.mobile-menu .current li a:hover {
		color: #bd173b;
	}
	.mobile-menu .current-menu-parent li.current_page_item a,
	.mobile-menu .current .current-menu-item a,
	.mobile-menu .current li.current a {
		color: #bd173b;
	}	
	.mobile-menu li li {
		padding-left: 20px;
		border-bottom: none;
	}

/* Typography 
************************************************************************************/

h1 {
	/* font-size: 1.125em; */
	font-size: 1.125em;
	color: #a3a3a3;
	margin-bottom: 0.25em;
	font-weight: normal;
}

.content h1,
h2 {
	font-size: 1.8em;
	line-height: 1;
	color: #969595;
	font-weight: normal;
	font-family:'UniversLTW02-47LightCn';
	margin-bottom: 15px;
}

h3 {
		/* font-size: 1.5em; */
	font-size: 1.25em;
	line-height: 1.2;
	color: #b2b2b2;
	font-weight: normal;
	font-family:'UniversLTW02-47LightCn';
	margin-bottom: 5px;
}

h4 {
	font-size: 1em;
	color: #a3a3a3;
	font-weight: normal;
	font-family:'UniversLTW02-47LightCn';
}

p, .content ul {
	font-size: 0.8em;
	/* font-size: 1.05em; */
	margin-bottom: 1em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	line-height: 1.4;
}

.content ul, .content ol {
	
}

.content ul li {
	margin-bottom: 2px;
	list-style-type: none;
	padding-left: 9px;
	background: url('img/button_grau.jpg') no-repeat left 0.58em;
}

.content ol {
	font-size: 0.8em;
	/* font-size: 1.05em; */
	margin-bottom: 2em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	line-height: 1.1;
}

.content ol li {
	margin-bottom: 0.8em;
	list-style-type: none;
	padding-left: 9px;
	background: url('img/button_grau.jpg') no-repeat left 0.45em;
}

p + ul {
	margin-top: -1em;
}

.post .left p:last-child {
	margin-bottom: 0;
}

h2 a {
	text-decoration: none;
}

a {
	color: #b2b2b2;
	text-decoration: underline;
	-webkit-transition: color 0.15s linear;
	-moz-transition: color 0.15s linear;
	transition: color 0.15s linear;
}
a:hover {
	color: #bc163a;
}
a img {
	-webkit-transition: opacity 0.15s linear;
	-moz-transition: opacity 0.15s linear;
	transition: opacity 0.15s linear;	
}
a:hover img {
	opacity: 0.8;
}

.red {
	color: #bc163a;
	font-size: 1.6em;
	line-height: 1.4;
}

.site-footer p {
	font-size: 0.7em;
}

.site-footer a {
	text-decoration: none;
	color: #575756;
}

/* Pinnwand 
************************************************************************************/

.pinnwand {
	background: transparent url(img/line.jpg) 71.50192% 0 repeat-y; /* 557/779 */
}

.pinnwand h2 {
	display: block;
	width: 500px;
	padding-top: 27px;
}

.pinnwand .post:first-child h2 {
	padding-top: 0;
}

.pinnwand .post .left {
	border-right: none;
	padding: 0 0 35px 0;
	margin-right: 7.44544%; /* 58/779 */
	border-bottom: 1px solid #bc163a;
}

.pinnwand .post:last-child .left {
	padding: 0;
	border-bottom: none;
}

.pinnwand .post .right {
	padding-top: 0;
}

.readmore {
	color: #b2b2b2;
}

.blogpost {
	display: none;
	margin-bottom: 1em;
}

/* Sidebar 
************************************************************************************/

aside h1,
aside h2,
aside h3,
aside h4 {
	font-size: 0.95em;
	color: #bc163a;
	margin-bottom: 2px;
}

aside p {
	font-size: 0.75em;
}

/* Formular 
************************************************************************************/

.gform_wrapper {
	font-size: 0.8em;
	line-height: 1.3;
}

.gform_wrapper .gform_body .top_label .gfield_label {
	font-weight: normal;
	font-size: 1.2em;
}

.post .gform_wrapper {
	margin-top: 25px;
	padding-top: 22px;
	border-top: 1px solid #bc163a;
}

.post .gform_wrapper .top_label input.medium, 
.post .gform_wrapper textarea {
	border: 1px solid #878787;
	padding: 3px;
}

.post .gform_wrapper .gform_footer input.button {
	border: 1px solid #575756;;
	background-color: #a7a9ac;
	background-color: #d6d7d8;
	font-size: 0.8em;
	padding: 3px;
	cursor: pointer;
}

.post .gform_wrapper .gform_footer input.button:hover {
	background-color: #a7a9ac;
}

.post .gform_wrapper .gform_footer {
	margin-top: 5px;
}

.post .gform_wrapper li.gfield.gfield_error {
	background-color: #fff;
	border: none;
	padding: 0;
	margin-top: 0;
}

.post .gform_wrapper .top_label li.gfield.gfield_error.gf_left_half,
.post .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half {
	width: 49%;
}

.post .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half {
	margin-right: 0;
}

.post .gform_wrapper li.gfield.gfield_error,
.post .gform_wrapper .top_label li.gfield.gfield_error.gf_right_half {
	padding: 0 !important;
}

.post .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
	margin-top: 0;
}

.post .gform_wrapper .gfield_description.validation_message {
	display: none;
}

.post #gforms_confirmation_message {
	font-size: 0.8em;
	line-height: 1.3;
	margin-top: 25px;
	padding-top: 22px;
	border-top: 1px solid #bc163a;
}

.post .gform_wrapper ul li {
	margin-bottom: 0;
	list-style-type: none;
	padding-left: 0;
	background: none;
}

.post .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
	margin-top: 10px;
}

/* Tabellen 
************************************************************************************/

table tr,
table th {
	font-size: 0.8em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	line-height: 1.4;
}

.post .tablepress th, 
.post .tablepress td {
	padding: 0;
	border-top: none;
}

.post .tablepress th.column-1, 
.post .tablepress td.column-1 {
	width: 45%;
	padding-right: 5%;
}


/* Responsive 
************************************************************************************/

@media only screen and (max-width: 760px) {
	
	html, body {
/* 		font-size: 90%; */
	}

	.right {
		display: none;
	}
	
	.left {
		width: 100%;
		margin-right: 0;
		max-width: 543px;
	}
	.post .left {
		width: 100%;
		margin-right: 0;
		border-right: none;
		max-width: 543px;
	}	
	
	.pinnwand h2 {
		width: 100%;
		max-width: 543px;
	}
	
	.mobile-nav {
		display: none;
	}
	
	.pinnwand {
		background: none;
	}
	.site-footer {
		width: 100%;
		max-width: 543px;
	}
}


@media only screen and (max-width: 540px) {
    
	html, body {
		font-size: 90%;
	}
	
	.wrapper {
		padding: 0 10px;
		margin: 20px auto;
	}
	
	.right {
		display: none;
	}
	
	.main-nav {
		display: none;
	}
	.nav-control {
		display: block;
	}
	.content {
		width: 100%;
	}
	.left {
		width: 100%;
		margin-right: 0;
		max-width: 543px;
	}
	.post .left {
		width: 100%;
		margin-right: 0;
		border-right: none;
		max-width: 543px;
	}
	.site-header {
	min-height: 0;
	height: auto !important;
	height: 0;
	position: relative;
	padding-top: 0;
}
	.site-header h1 {
		margin-left: 0;
		margin-bottom: 20px;
	}
	.logo {
		/* max-width: 60%; */
	}
	.content-header {
    	margin-bottom: 20px;
    }
    .pinnwand {
		background: none;
	}
	.site-footer {
		width: 100%;
		max-width: 543px;
	}
}