@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);

/*= HTML elements reset (selective) */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote,
address,
dl,
dt,
dd,
pre,
form,
figure,
figcaption,
article,
nav,
header,
section,
footer {
  margin: 0;
  padding: 0;
  font-size: 100%;
  list-style: none;
}
input,
select,
textarea {
  font: 1em 'Lato', Arial, sans-serif;
  vertical-align: baseline;
}
*:focus {
  outline-style: none;
}


/*= General elements */

html {
  background: #fff;
}
body {
  font: 100%/1 'Lato', Arial, sans-serif;
  color: #32312d;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;
	line-height: 1.3;
	color: #000;
	font-weight: normal;
}

/* = Links */
a {
  text-decoration: none;
  color: #283583;
}
a:hover {
  color: #338;
  text-decoration: underline;
}
a.more-link, .btn {
  text-decoration: none;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 0.5em 1.5em;
  background: #283583;
  position: relative;
  text-transform: uppercase;
  transition: all 500ms ease-in;
  font-weight: bold;
}
a.more-link:hover {
  text-decoration: none;
  color: #fff;
}

a.more-link span,
.btn span {
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 0px;
	background: #000;
}

a.more-link.alt {
}
a.more-link.alt:hover {
}
a.more-link.full {
	display: block;
}

a img {
	border: none;
}

/*= Columns */

.row {
	margin-left: auto;
	margin-right: auto;
	max-width: 1140px;
}

.row:after {
	content: '.';
	display: block;
	clear: both;
	height: 0;
	overflow: hidden;
	visibility: hidden;	
}

[class^="col"] {
	float: left;
	margin-right: 3%;
}

.row > [class^="col"]:last-child {
	margin-right: 0;
}

.col1 {
	width: 100%;
	margin-right: 0;
	float: none;
}

.col2 {
	width: 47%;
}

.row > .col2:last-child {
	width: 50%;
}

.col3 {
	width: 30%;
}

.row > .col3:last-child {
	width: 33%;
}

.col4 {
	width: 22%;
}

.row > .col4:last-child {
	width: 25%;
}

.right {
	float: right;
}

@media screen and (max-width: 1024px) {
	[class^="col"], 
	.right {
		float: none;
		margin-right: 0;
		margin-bottom: 1em;
	}
	
	.col2 {
		width: auto;
	}

	.row > .col2:last-child {
		width: auto;
	}

	.col3 {
		width: auto;
	}

	.row > .col3:last-child {
		width: auto;
    }

	.col4 {
		width: auto;
    }

	.row > .col4:last-child {
	    width: auto;
    }
    

}

/*= Header */

#masthead {
	height: 981px;
	width: 100%;
	background-image: url(images/header-overlay.png), url(images/header.jpg);
	background-repeat: repeat, no-repeat;
	background-position: 50% 50%, 50% 50%;
	background-size: cover;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
}

#masthead-wrapper {
	width: 100%;
	height: 156px;
	background: url(images/menu-overlay.png) repeat-x 0 0;
}

#site-title {
	width: 100%;
	height: 102px;
	margin: 0 auto;
	padding-top: 1.5em;
}

#site-title a {
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9999em;
	background: url(images/logo.png) no-repeat;
	background-size: 100% 100%;
}

#navigation {
	padding-top: 4.5em;
	text-align: right;
}

#navigation a {
	font-size: 20px;
	text-transform: uppercase;
	color: #fff;
	margin-right: 14px;
	
}

#navigation > a:first-child:after {
	content: '|';
	padding: 0 0 0 14px;
	
}

#navigation > a:last-child {
	margin-right: 0;
}

#header-line {
	padding-top: 20%;
	
}

#header-line-text h2 {
	font-size: 70px;
	font-weight: bold;
	color: #fff;
	padding-left: 15%;
}

#header-line-text h3 {
	font: 300 36px/1.3 'Lato', sans-serif;
	color: #fff;
	padding-left: 15%;
}

body[lang="de"] #header-line {
	padding-top: 10%;
}

#header-line-text p {
	font-size: 23px;
	padding-left: 15%;
	font-weight: bold;
	margin-top: 8px;
}

@media screen and (max-width: 1024px) {
	#site-title a {
		height: 86px;
	}
	
	#navigation {
	padding-top: 0;
	text-align: center;
	background: #000;
}

#navigation a {
	font-size: 20px;
	text-transform: uppercase;
	color: #fff;
	margin-right: 0;
	padding: 10px;
	display: block;
	
}

#navigation > a:first-child:after {
	content: none;
	
}

}

/*= Content */

#page {
	width: 100%;
	background: #fff;
}

#callout {
	width: 100%;
	padding: 2em 0;
	background: #282828;
	color: #fff;
}

#callout p {
	text-align: center;
}

#callout-text {
	font-size: 40px;
}

#callout a.more-link {
	padding: 0.8em 1.6em;
	font-size: 18px;
}

#content {
	padding: 40px 0;
}

#content p {
	line-height: 1.3;
	margin-bottom: 1em;
}

#content-text {
	padding-top: 4em;
}

.responsive {
	display: block;
	max-width: 100%;
	margin: 0 auto;
	height: auto;
}

.title {
	font-size: 18px;
	font-weight: bold;
	color: #283583;
}

#teaser {
	width: 100%;
	height: 468px;
	background: url(images/teaser.jpg) no-repeat 50% 50%;
	background-size: cover;
}

#social {
	padding: 4em 0;
}

#social p {
	font-size: 35px;
	color: #b9b9b9;
	text-align: right;
	min-height: 109px;
	line-height: 109px;
}

#facebook {
	display: block;
	width: 109px;
	height: 109px;
	background: url(images/facebook.png) no-repeat;
	text-indent: -9999em;
	margin: 0 auto;
}

@media screen and (max-width: 1024px) {
	#teaser {
		height: 268px;
	}
	
	#social p { text-align: center; }	
}

/*= Legal */

#legal {
	display: none;
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	background: rgba( 255, 255, 255, 0.9 );
	color: #000;
}

#legal-close {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 64px;
	height: 64px;
	background: url(images/close.png) no-repeat;
	text-indent: -9999em;
}

#legal-wrapper {
	margin: 100px auto;
	max-width: 960px;
	line-height: 1.4;
	font-size: 19px;
}

#legal-wrapper p {
	margin: 0.5em 0;
}



/*= Footer */

#site-info {
	width: 100%;
	background: #303030;
	color: #fff;
}

#site-info a,
#site-info a:hover {
	color: #fff;
}

#site-info .menu li {
	display: block;
	margin-bottom: 0.7em;
}

#site-info .menu li a {
	display: block;	
}

#site-info .menu li a:after {
	content: '>>';
	padding-left: 0.4em;
}

#site-info-top {
	padding: 30px 0;
}

#site-info-bottom {
	background: #282828;
	padding: 30px 0;
}

#site-info-bottom p {
	text-align: right;
	font-size: 14px;
}

#site-info p {
	line-height: 1.3;
	margin-bottom: 20px;
}

#site-info img {
	display: block;
	max-width: 100%;
	height: auto;
}


/*= Form */

#subscribe-form {
	padding: 3em 0;
	width: 100%;
	background: #fff;
	display: none;
}

#subscribe-form form {
	margin: 0 auto;
	max-width: 960px;
}

#subscribe-form form div {
	margin-bottom: 1em;
}

#subscribe-form form .required:before {
	content: '* Campo obbligatorio';
	display: block;
	margin-bottom: 0.7em;
	font-weight: bold;
	text-align: right;
}

body[lang="en"] #subscribe-form form .required:before,
body[lang="de"] #subscribe-form form .required:before,
body[lang="fr"] #subscribe-form form .required:before,
body[lang="es"] #subscribe-form form .required:before {
	content: '* Required field';
	display: block;
	margin-bottom: 0.7em;
	font-weight: bold;
	text-align: right;
	
}


#subscribe-form form div input {
	display: block;
	background: #fff;
	border: 1px solid #ccc;
	padding: 0.7em;
	width: 100%;
	box-sizing: border-box;
}

#subscribe-form form p {
	margin: 1em 0;
}

#subscribe-form form p input {
	background: #fff;
	padding: 0.7em 1.8em;
	border: 2px solid #ccc;
	color: #888;
	text-align: center;
	cursor: pointer;
	transition: all 400ms ease-in;
	text-transform: uppercase;
	font-weight: bold;	
}

#subscribe-form form p input:hover {
	border-color: #000;
	color: #000;
}

#subscribe-form .message {
	margin: 1em 0;
	font-weight: bold;
}

#subscribe-form .error {
	color: #c00;
}

#subscribe-form .success {
	color: #393;
}

/*= Loader */

#loader {
	margin: 1em 0;
	height: 1em;
	display: none;
}

#loader-text {
	text-transform: uppercase;
	padding-right: 0.4em;
	display: block;
	float: left;
}

#loader-points {
	display: block;
	float: left;
	width: 0em;
	height: 100%;
	overflow: hidden;
	background: #ddd;
	 
}

#loader-points.loading {
	-webkit-animation: load 9s ease-out infinite alternate;
	 animation: load 9s ease-out infinite alternate;
}

@-webkit-keyframes load {
	from {
		width: 0em;	
	}
	to {
		width: 3em;
	}
}

@keyframes load {
	from {
		width: 0em;	
	}
	to {
		width: 3em;
	}
}


/* = Langs */

body.home #site {
	display: none;
}

#langs-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba( 0, 0, 0, 0.6 ) url(images/header-overlay.png);
}

#langs-wrapper {
	width: 498px;
	height: 400px;
	position: absolute;
	top: 70px;
	left: 50%;
	margin: 0 0 0 -249px;
}

#langs-logo {
	text-align: center;
	margin-bottom: 1em;
}

#langs-content {
	margin-top: 2em;
	background: #fff;
}

#langs {
	overflow: hidden;
	padding-top: 0.7em;
}

#langs li {
	display: block;
	width: 20%;
	float: left;
}

#langs li a {
	color: #000;
	font-weight: bold;
	font-size: 18px;
	padding: 65px 0 0 0;
	text-decoration: none;
	display: block;
	margin-bottom: 0.7em;
	text-align: center;
	text-transform: uppercase;
	transition: all 400ms ease-in;
}

#langs li a:hover {
	background-color: #f5f5f5;
	color: #3d9f33;
}

#langs-title {
	margin: 1.5em 0;
	text-align: center;
	font-family: 'Oswald', sans-serif;
	color: #fff;
}

#langs-title h3 {
	font-size: 35px;
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
}

#langs-title h4 {
	font-size: 25px;
	text-transform: uppercase;
	margin-top: 9px;
	color: #fff;
}

#langs-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 6px auto;
}

#langs li a.it {
	background: url(images/flags/it.png) no-repeat 50% 0;
}
#langs li a.en {
	background: url(images/flags/en.png) no-repeat 50% 0;
}
#langs li a.de {
	background: url(images/flags/de.png) no-repeat 50% 0;
}
#langs li a.fr {
	background: url(images/flags/fr.png) no-repeat 50% 0;
}
#langs li a.es {
	background: url(images/flags/es.png) no-repeat 50% 0;
}

