/* =================================================================== */
/* Additional Styles for Nevia Template.
======================================================================
Please don't forget to comment your code, if necessary
Please do use sections like defined in main template
*/

/* =================================================================== */
/* Typo3 overwrite
====================================================================== */
h3 {
	line-height: 22px;
	margin: 0 0 10px;
}

div.csc-textpic {
	overflow: visible;
}

DIV.csc-textpic-center {
	text-align: center;
}

DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image {
	margin: 0;
}

DIV.csc-textpic-center DIV.csc-textpic-imagewrap {
	margin: 0 auto;
	max-width: 100%;
	overflow: visible;
}

DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
	text-align: left;
}

div.csc-textpic .csc-textpic-imagewrap figure,
div.csc-textpic figure.csc-textpic-imagewrap {
	display: inline;
}

b {
	font-weight: bold;
}

/* This adds space between Elements inserted in typo3 backend (text, image, headline Elements...) */
.no-fce {
	margin-bottom: 40px;
}
/* ...but not in large notice box */
.large-notice .csc-textpic-text {
	margin-bottom: 0;
}


.elastic-iframe {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
}
.elastic-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* =================================================================== */
/* Layerslider
====================================================================== */
.flexslider-color {
	background: #fff;
	opacity: 0.8;
	padding: 0;
	box-shadow: 5px 5px rgba(0,0,0,0.2);
	-webkit-box-shadow: 5px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 5px 5px rgba(0,0,0,0.2);
}

.flexslider-color h3 {
	color: #000;
	font-family: "Open Sans","HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
	padding: 15px 27px;
	font-size: 43px;
	font-weight: 300;
	letter-spacing: normal;
	line-height: 50px;
}

/* =================================================================== */
/* Inxmail
====================================================================== */
.tx-inxmailsubscriber-form {
	max-width: 320px;
	margin-bottom: 20px;
}

.tx-inxmailsubscriber-form input[type="text"],
.tx-inxmailsubscriber-form input[type="password"],
.tx-inxmailsubscriber-form input[type="email"],
.tx-inxmailsubscriber-form textarea,
.tx-inxmailsubscriber-form select{
	width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tx-inxmailsubscriber-form select{
	padding: 6px;
}

.tx-inxmailsubscriber-form:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.tx-inxmailsubscriber-form .formrow {
	margin-bottom: 20px;
}
/* =================================================================== */
/* Navigation Menu
====================================================================== */

.nv-menu-visible {
	display: block;
	visibility: visible;
}

a, a:visited {
	color: #df0029;
	text-decoration: none;
	outline: 0;
	-webkit-transition: color 0.1s ease-in-out;
	-moz-transition: color 0.1s ease-in-out;
	-o-transition: color 0.1s ease-in-out;
	-transition: color 0.1s ease-in-out; }

a:hover, a:focus {
	color: #656565;
}

/* =================================================================== */
/* Navigation
====================================================================== */

.menu .menu-bold {
	font-size: inherit;
	padding: 0;
	margin: 8px 10px -3px;
	line-height: 24px;
	color: #777777;
	font-weight: 600;
	letter-spacing: -0.2px;
}

/* =================================================================== */
/* Header
====================================================================== */

.header-image-right {
	margin-top: 10px;
}

#header a {
	color: #656565;
}

#header > div {
	position: relative;
}

.language-switch {
	position: absolute;
	right: 0;
	top: 70px;
}

.header-claim {
    font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-kerning: normal;
    line-height: 32px;
    text-align: center;
    color: #df0029;

    position: absolute;
    right: 38px;
    top: 0;
    margin-top: 28px;
}

/* =================================================================== */
/* Footer
====================================================================== */

.contact-details-alt {
	margin-top: 19px
}

#footer h4 {
	white-space: nowrap;
}

#footer li a {
	line-height: 20px;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

#footer ul.distributed>li {
	display: inline-block;
	width: 100%;
}

/* =================================================================== */
/* Sitemap
====================================================================== */

.csc-sitemap a {
	display: inline-block;
	padding: 2px 0;
}

.csc-sitemap ul {
	list-style-type: disc;
	list-style-position: inside;
}

.csc-sitemap>ul ul {
	padding-left: 20px;
}


/* =================================================================== */
/* Media Queries
====================================================================== */


/* Higher than standard 960 (desktop devices)
====================================================================== */
@media only screen and (min-width: 960px) {

	#footer ul.distributed>li {
		width: 50%;
	}
}


/* Tablet Portrait size to standard 960 (devices and browsers)
====================================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	/* Logo / Tagline
	====================================*/
	.header-image-right {
		margin-top: 20px;
	}

	#navigation {
		height: 100px;
	}

	.menu > li {
		-moz-box-sizing: border-box;
		border-bottom: 1px solid #999999;
		float: left;
	}

	.left-corner, .right-corner {
		top: 100px;
	}

	/* =================================================================== */
	/* Layerslider
	====================================================================== */
	.flexslider-color {
		box-shadow: 5px 5px rgba(0,0,0,0.2);
		-webkit-box-shadow: 5px 5px rgba(0,0,0,0.2);
		-moz-box-shadow: 5px 5px rgba(0,0,0,0.2);
	}

	.flexslider-color h3 {
		padding: 12px 19px;
		font-size: 30px;
		line-height: 35px;
	}
}


/* All Mobile Sizes (devices and browsers)
====================================================================== */
@media only screen and (max-width: 767px) {

	/* Logo / Tagline
	====================================*/
	.header-image-right {
		margin-top: 15px;
		margin-bottom: 15px;
	}

	#logo a img {
		margin: 0 auto;
		float: none;
	}

	/* =================================================================== */
	/* Layerslider
	====================================================================== */
	.flexslider-color {
		box-shadow: 3px 3px rgba(0,0,0,0.2);
		-webkit-box-shadow: 3px 3px rgba(0,0,0,0.2);
		-moz-box-shadow: 3px 3px rgba(0,0,0,0.2);
	}

	.flexslider-color h3 {
		padding: 5px 11px;
		font-size: 18px;
		line-height: 24px;
	}
}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	table.standard-table td {
		padding: 3px;
	}

	/* =================================================================== */
	/* Layerslider
	====================================================================== */
	.flexslider-color {
		box-shadow: 2px 2px rgba(0,0,0,0.2);
		-webkit-box-shadow: 2px 2px rgba(0,0,0,0.2);
		-moz-box-shadow: 2px 2px rgba(0,0,0,0.2);
	}

	.flexslider-color h3 {
		padding: 5px 11px;
		font-size: 18px;
		line-height: 24px;
	}
}


/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
====================================================================== */
@media only screen and (max-width: 479px) {

	/* =================================================================== */
	/* Layerslider
	====================================================================== */
	.flexslider-color {
		box-shadow: 2px 2px rgba(0,0,0,0.2);
		-webkit-box-shadow: 2px 2px rgba(0,0,0,0.2);
		-moz-box-shadow: 2px 2px rgba(0,0,0,0.2);
	}

	.flexslider-color h3 {
		padding: 5px 9px;
		font-size: 14px;
		line-height: 18px;
	}
}

