/*
Theme Name: Torretta
Theme URI: http://www.caffe-torretta.de
Description: Torretta
Author: Florian Meyer
Author URI: http://www.dygital.de
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:300,700&subset=latin-ext');
@font-face {
    font-family: 'Butler';
    src: url('fonts/butler_bold-webfont.woff2') format('woff2'),
         url('fonts/butler_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
}
*, *:after, *:before { 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body, html, * {
	font-size: 100%; 
	padding: 0;
	margin: 0;
}
#text {
	height: 0 !important;
	width: 0 !important;
}
body {
    font-family: 'Roboto', sans-serif;
	background: #FFFFFF;
    color: #172024;
	line-height: 100%;
}
header, footer { 
	display: block;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after { 
	clear: both;
}
.cc-window.cc-floating {
	font-size: 0.800em;
}
.cc-window.cc-floating .cc-link {
	padding: 0;
}
.cc-window.cc-floating.cc-right {
	right: 9em;
}
::-moz-placeholder {
	opacity: 1;
}
.mc4wp-form-fields > div {
	margin-bottom: 1.250em;	
}
.mc4wp-form-fields input[type="text"],
.mc4wp-form-fields input[type="email"] {
	display: inline-block;
	width: 100%;
	background: #FFFFFF;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 1.125em;
	border: 3px solid #172024;
	padding: 0.625em 1.250em;
	color: #172024;
	-webkit-transition: border 0.2s;
	-moz-transition: border 0.2s;
	transition: border 0.2s;
}
.mc4wp-form-fields input[type="email"] {
	font-weight: 700;
}
.mc4wp-form-fields .checkbox {
	margin-top: 2.500em;
}
.mc4wp-form-fields .checkbox > div {
	position: relative;
	margin-bottom: 0.625em;
}
.mc4wp-form-fields input[type="checkbox"] {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	margin-left: 2px;
	outline: 2px solid #172024;
	-webkit-transition: border 0.2s;
	-moz-transition: border 0.2s;
	transition: border 0.2s;
}
.mc4wp-form-fields input[type="text"]:focus,
.mc4wp-form-fields input[type="text"]:active,
.mc4wp-form-fields input[type="email"]:focus,
.mc4wp-form-fields input[type="email"]:active,
.mc4wp-form-fields input[type="checkbox"]:focus,
.mc4wp-form-fields input[type="checkbox"]:active {
	border: 3px solid #CC0B1F;
}
.mc4wp-form-fields label {
	display: inline-block;
	padding-left: 2.500em;
	font-size: 1.125em;
	line-height: 170%;
}
.mc4wp-form-fields p {
	margin-top: 2.500em;
	font-size: 0.850em;
}
.mc4wp-form-fields input[type="submit"] {
	display: inline-block;
	background: #FFFFFF;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 1.250em;
	margin-top: 1.250em;
	padding: 0.625em 1.250em;
	border: 0;
	background: #CC0B1F;
	color: #ffffff;
	cursor: pointer;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
}
.mc4wp-form-fields input[type="submit"]:hover,
.mc4wp-form-fields input[type="submit"]:focus {
	background: #172024;
}
@media screen and (max-width: 1280px) {
	body, html, * {
		font-size: 93.8%; 
	}
}
@media screen and (max-width: 1024px) {
	.cc-window.cc-floating.cc-right {
		right: 6.5em;
	}
}
@media screen and (max-width: 740px) {
	.cc-window.cc-floating.cc-right {
		right: 1em;
	}
}
@media screen and (max-width: 480px) {
	.cc-window.cc-floating.cc-right {
		right: 0;
	}
}


/******************************** DIMENSIONS
********************************************
********************************************
*******************************************/

.container,
.w-full,
.w-100,
.w-50,
.w-33,
.w-25 {
	position: relative;
	-webkit-transition: width 0.3s, padding 0.3s;
	-moz-transition: width 0.3s, padding 0.3s;
	transition: width 0.3s, padding 0.3s;
}
.container {
	margin-right: 6.250em;
}
.w-full {
	width: 100.000%;
	margin: 0 auto;
}
.w-100 {
	max-width: 83.750em;
	margin: 0 auto;
}
.w-50 {
	float: left;
	width: 50.000%;
	padding: 0 4.375em;
}
.w-50:nth-child(odd) {
	padding-left: 0 !important;
}
.w-50:nth-child(even) {
	padding-right: 0 !important;
}
.w-33 {
	float: left;
	width: 28.333%;
	margin-right: 7.500%;
}
.w-33:nth-child(3),
.w-33:nth-child(6),
.w-33:nth-child(9),
.w-33:nth-child(12),
.w-33:nth-child(15),
.w-33:nth-child(18) {
	margin-right: 0 !important;
}
.w-25 {
	float: left;
	width: 19.75%;
	margin-right: 7.000%;
}
.w-25:nth-child(4),
.w-25:nth-child(8),
.w-25:nth-child(12),
.w-25:nth-child(16),
.w-25:nth-child(20) {
	margin-right: 0 !important;
}
.m-50-0 {
	margin: 3.125em 0;
}
.m-t-120 {
	margin-top: 7.500em;
}
.m-b-120 {
	margin-bottom: 7.500em;
}
.m-b-60 {
	margin-bottom: 3.750em;
}
.m-r-100 {
	margin-right: 6.250em;
}
.p-80-0 {
	padding: 5.000em 0;
}
.p-30-0 {
	padding: 1.875em 0;
}
.p-20-0 {
	padding: 1.250em 0;
}
.p-30-50-50-50 {
	padding: 1.875em 3.125em 3.125em 3.125em;
}
.p-t-200 {
	padding-top: 12.500em;
}
.p-t-100 {
	padding-top: 6.250em;
}
.p-r-100 {
	padding-right: 6.250em;
}
.p-l-70 {
	padding-left: 4.375em;
}
.p-r-70 {
	padding-right: 4.375em;
}
.p-l-50 {
	padding-left: 3.125em;
}
.p-r-50 {
	padding-right: 3.125em;
}
@media screen and (max-width: 1560px) {
	.w-100 {
		padding: 0 3.125em;
	}
}
@media screen and (max-width: 1280px) {
	.w-50 {
		padding: 0 3.125em;
	}
	.w-25 {
		width: 50.000%;
		margin: 0 0 3.125em 0 !important;
		padding: 0 3.125em;
	}
	.w-25:nth-child(odd) {
		padding-left: 0 !important;
	}
	.w-25:nth-child(even) {
		padding-right: 0 !important;
	}
}
@media screen and (max-width: 1024px) {
	.container {
		margin-right: 4.375em;
	}
	.w-50 {
		padding: 0 1.750em;
	}
	.w-33 {
		width: 30.000%;
		margin-right: 5.000%;
	}
}
@media screen and (max-width: 740px) {
	.container {
		margin-right: 0;
	}
	.w-100 {
		padding: 0 2.500em;
	}
	.w-50,
	.w-33 {
		float: none;
		width: 100.000%;
		padding: 0;
	}
	.m-t-120 {
		margin-top: 6.250em;
	}
	.m-b-120 {
		margin-bottom: 6.250em;
	}
	.p-t-200 {
		padding-top: 6.250em;
	}
}
@media screen and (max-width: 540px) {
	.w-25 {
		float: none;
		width: 100.000%;
		padding: 0 !important;
	}
}
@media screen and (max-width: 480px) {
	.w-100 {
		padding: 0 1.250em;
	}
}



/************************************ HEADER
********************************************
********************************************
*******************************************/

#logo {
	position: absolute;
	text-align: center;
	z-index: 500;
}
#logo a {
	display: inline-block;
}
#navigation {
	display: none;
}
#mobile {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 6.250em;
	font-size: 1.000em;
	background: #2F373A;
	z-index: 3000;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
}
#mobile:hover {
	background: #CC0B1F !important;
}
#mobile span {
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	padding-top: 2.500em;
	background: url(img/mobile.png) no-repeat center top;
	color: #FFFFFF;
	font-size: 1.125em;
	font-weight: 700;
	text-align: center;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	transition: color 0.2s;
}
#sidr-main {
	position: fixed;
	top: 0;
	right: -50%;
	display: none;
	width: 50%;
	height: 100%;
	color: #FFFFFF;
	background: url(img/navigation-angel.png) no-repeat 2.500em 2.500em #172024;
	overflow-x: hidden;
	overflow-y: auto;
	box-shadow: 0 0 200px #2F373A;
	z-index: 2000;
}
#sidr-main .sidr-inner {
	position: absolute;
	top: 50%;
	left: 7.500em;
	transform: translateY(-50%);
	width: 100%;
}
#sidr-main ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#sidr-main ul:first-child {
	margin-bottom: 7.500em;
}
#sidr-main ul li a {
	display: inline-block;
	color: #FFFFFF;
	font-size: 1.125em;
	font-weight: 700;
}
#sidr-main ul li a:hover,
#sidr-main ul li a:focus,
#sidr-main ul li a:active {
	color: #CC0B1F;
}
#sidr-main ul:first-child li a {
	font-size: 2.500em;
}

@media screen and (max-width: 1280px) {
	#logo {
		width: 50%;
	}
}
@media screen and (max-width: 1024px) {
	#mobile {
		width: 4.375em;
	}
	#sidr-main {
		right: -100%;
		width: 100%;
	}
}
@media screen and (max-width: 740px) {
	#logo {
		width: 100%;
		position: relative;
		text-align: left;
	}
	#mobile {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		height: 6.250em;
		width: 6.250em;
		background: #172024;
	}
	#mobile span {
		height: 23px;
		padding-top: 0;
		text-indent: -9999px;
	}
	#sidr-main {
		background-size: contain;
	}
	#sidr-main .sidr-inner {
		left: 5.000em;
	}
}
@media screen and (max-width: 380px) {
	#logo {
		width: 60%;
	}
	#mobile {
		height: 5.600em;
		width: 5.600em;
	}
	#sidr-main .sidr-inner {
		left: 2.500em;
	}
	#sidr-main ul:first-child li a {
		font-size: 1.750em;
	}
}


/*********************************** CONTENT
********************************************
******************************************** 
*******************************************/

h1,
h2,
h3 {
	font-family: 'Butler';
	font-weight: normal;
	font-size: 3.750em;
	line-height: 100%;
	margin-bottom: 0.833em;
}
h2 {
	font-size: 1.750em;
	margin-bottom: 1.429em;
}
h3 {
	font-size: 1.125em;
	margin-bottom: 1.429em;
}
p {
	font-size: 1.125em;
	line-height: 170%;
	margin-bottom: 1.429em;
}
td {
	font-size: 1.125em;
	line-height: 170%;
}
td:nth-child(1) {
	padding-right: 1.250em;
}
.white {
	background: #FFFFFF;
}
.dark {
	background: #172024;
	color: #FFFFFF;
}
.red {
	background: #CC0B1F;
}
a {
	line-height: 170%;
	font-weight: 700;
	color: #CC0B1F;
	text-decoration: none;
	-webkit-transition: color 0.2s;
	-moz-transition: color 0.2s;
	transition: color 0.2s;
}
a:hover,
a:focus,
a:active {
	color: #172024;
}
.dark a:hover,
.dark a:focus,
.dark a:active {
	color: #FFFFFF;
}
ul li a {
	font-size: 1.125em;
}
.w-50 ul {
	list-style-type: square;
	line-height: 170%;
	margin: 0 0 1.429em 1.429em;
}
.button {
	display: inline-block;
	margin-top: 1.563em;
	padding: 0.625em 1.250em;
	color: #CC0B1F;
	font-weight: 700;
	border: 3px solid #CC0B1F;
	white-space: nowrap;
	-webkit-transition: color 0.2s, border 0.2s;
	-moz-transition: color 0.2s, border 0.2s;
	transition: color 0.2s, border 0.2s;
}
.button:hover,
.button:focus,
.button:active {
	color: #172024;
	border: 3px solid #172024;
}
.dark .button:hover,
.dark .button:focus,
.dark .button:active {
	color: #FFFFFF;
	border: 3px solid #FFFFFF;
}
strong,
b {
	font-weight: 700;
}
#page-title {
	position: absolute;
	bottom: 0;
	z-index: 1;
}
#page-title h2 {
	position: relative;
	display: inline-block;
	padding: 0.250em 0.750em;
	margin-bottom: 1.786em;
	background: #FFFFFF;
}
#slider .flex-control-nav {
	position: absolute;
	width: 100%;
	text-align: center;
}
#slider .flex-control-nav li {
	display: inline-block;
	padding: 0 5px;
}
#slider .flex-control-nav li a {
	position: relative;
	display: block;
	width: 3.125em;
	height: 3.125em;
	background: #FFFFFF;
	text-indent: -99999px;
}
#slider .flex-control-nav li a::after {
	content: " ";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	background: #CC0B1F;
}
#slider .flex-control-nav a.flex-active::after {
	background: #172024;
}
.teaser {
	display: block;
	position: relative;
	max-width: 37.500em;
	overflow: hidden;
}
.teaser .teaser-image {
	position: relative;
}
.teaser .teaser-text {
	padding-top: 1.563em;
}
.teaser .teaser-text p {
	font-weight: normal;
}
.teaser.teaser1 .teaser-text {
	padding: 0 3.125em;
	position: absolute;
	right: 0;
	bottom: 3.125em;
}
.teaser h3 {
	position: absolute;
	top: 1.875em;
	left: 3.125em;
	padding: 0.500em 1.250em;
	color: #172024;
	background: #FFFFFF;
}
.teaser .teaser-text p {
	color: #172024;
}
.teaser .teaser-text .button {
	font-size: 1.250em;
}
.teaser.teaser1 .teaser-image,
.teaser.teaser1 .teaser-text {
	float: left;
	width: 50%;
	overflow: hidden;
}
.teaser.teaser1 .teaser-image img {
	position: relative;
	left: -33.333%;
	max-width: inherit;
	height: inherit;
}
.teaser.teaser1 h3 {
	left: calc(50% + 2.800em);
}
.teaser.teaser4 .teaser-text,
.teaser.teaser5 .teaser-text {
	padding: 1.563em 3.125em 3.125em 3.125em;
}
.teaser.teaser5 .teaser-text {
	padding-top: 9.375em;
}
.teaser.teaser5 h3  {
	top: 1.400em;
	left: 2.800em;
}
.teaser.dark .teaser-text p {
	color: #FFFFFF;
}
.teaser.teaser4 .teaser-text p {
	height: 95px;
}
.iframe {
	position: relative; 
	padding-bottom: 75%;
	height: 0; 
	overflow: hidden; 
	width: 100%;
	height: auto;
}
.iframe iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}
@media screen and (max-width: 1280px) {
	#page-title.home-page-title .w-33 {
		width: 50.000%;
		margin-right: 0;
	}
	#page-title.home-page-title .w-33 .teaser.teaser5 .teaser-text {
		padding-top: 6.000em;
	}
	#page-title.home-page-title .w-33 .teaser.teaser5 .teaser-text p {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 1280px) and (min-width: 741px), screen and (max-width: 480px) {
	.teaser.teaser1 .teaser-image,
	.teaser.teaser1 .teaser-text {
		float: none;
		width: 100%;
	}
	.teaser.teaser1 .teaser-image img {
		left: 0;
		max-width: 100%;
		height: auto;
	}
	.teaser.teaser1 .teaser-text {
		position: relative;
		bottom: 0;
		padding-top: 1.875em;
		padding-bottom: 3.125em;
	}
	.teaser h3 {
		left: 3.125em !important;
	}
}
@media screen and (max-width: 1024px) {
	#page-title.home-page-title {
		position: inherit;
		margin-top: 3.400em;
	}
	.teaser {
		-moz-hyphens: auto;
		-o-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}
}
@media screen and (max-width: 1024px) and (min-width: 741px), screen and (max-width: 480px) {
	.teaser.teaser1 .teaser-text,
	.teaser.teaser4 .teaser-text,
	.teaser.teaser5 .teaser-text {
		padding: 1.563em;
	}
	.teaser.teaser5 .teaser-text {
		padding-top: 9.375em;
	}
	.teaser h3 {
		left: 1.563em !important;
	}
}
@media screen and (max-width: 740px) {
	h1 {
		font-size: 2.750em;
	}
	h2 {
		font-size: 1.400em;
	}
	#page-title.home-page-title .w-33 {
		width: 100.000%;
	}
	#page-title h2 {
		margin-bottom: 0.500em;
	}
	.teaser.teaser4 .teaser-text p {
		height: auto;
	}
}


/************************************ FOOTER
********************************************
********************************************
*******************************************/

footer h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	margin: 0.714em 0;
}
footer .w-25 a {
	font-weight: 700;
}
footer .line {
	height: 3px;
	background: #2F373A;
}
footer ul {
	list-style-type: none;
	float: left;
}
footer ul a {
	color: #FFFFFF;
}
footer #logo-footer {
	float: right;
}
@media screen and (max-width: 1024px) {
	footer #logo-footer {
		float: none;
		clear: both;
		padding-top: 2.500em;
	}
}
@media screen and (max-width: 740px) {
	footer { 
		font-size: 80%; 
	}
	footer > div > div:nth-child(2),
	footer > div > div:nth-child(3){
		display: none;
	}
	footer img { 
		max-width: 30px;
	}
}