/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
html, body {
	height: 100%;
}

/* html element 62.5% font-size for REM use */
html {
	font-size: 62.5%;
}
body {
	font: 400 11px/1.4 'Lato', sans-serif;
	color: #5b5b5b;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#5b5b5b;
	text-decoration:none;
}
a:hover {
	color:#5b5b5b;
	text-decoration:none;
}
a:focus {
	outline:0;
	text-decoration:none;
}
a:hover,
a:active {
	outline:0;
	text-decoration:none;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

p {
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.8;
	text-align: justify;
	margin: 0 0 15px 0;
}

.sc-row-padding {
	padding-top: 100px;
	padding-bottom: 100px;
}

.sc-row-padding-top {
	padding-top: 100px;
}

.sc-row-padding-bottom {
	padding-bottom: 100px;
}

.sc-general-title {
	font-family: 'Playfair Display', serif;
	font-weight: bold;
	margin: 0 0 30px 0;
}

a.sc-btn {
	display: inline-block;
	color: #de996f;
	border: 2px solid #de996f;
	font-size: 1.6rem;
	padding: 8px 25px;
	margin-top: 30px;
  transition: 0.75s;
}

a:hover.sc-btn {
	color: #fff;
	background: #de996f;
	border: 2px solid #de996f;
	font-size: 1.6rem;
	padding: 8px 25px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* header */
.header {
	position: fixed;
	width: 100%;
	height: 100px;
	background: rgba(128, 128, 128, 0.5);
	z-index: 9999;
}

/* logo */
img.sc-logo {
	display: inline-block;
	width: 70px;
	margin-top: 27px;
	margin-left: 20px;
}

/* nav */
.nav {
	float: right;
}

.nav ul li {
	display: inline-block;
	text-transform: uppercase;
	font-size: 1.7rem;
	letter-spacing: 1.2px;
	margin-right: 30px;
}

.nav ul li a {
	display: inline-block;
	color: #fff;
	height: 100px;
	line-height: 100px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
  transition: 0.75s;
}

.nav ul li a:hover {
	color: #de996f;
	text-decoration:none;
}

.nav ul li a.mPS2id-highlight {
	color: #de996f;
	border-bottom: 3px solid #de996f;
	text-decoration:none;
}

.sc-nav-cta {
	float: right;
	height: 100px;
	background: #acacac;
}

.sc-nav-cta a {
	display: inline-block;
	font-size: 1.7rem;
	color: #fff;
	height: 100px;
	line-height: 100px;
	letter-spacing: 1.2px;
	border-left: 1px solid #fff;
	padding: 0 30px;
}

a.sc-nav-cta-tel {
  transition: 0.75s;
}

a:hover.sc-nav-cta-tel {
	color: #5b5b5b;
}

.sc-nav-cta img {
	vertical-align: middle;
	padding: 0 15px;
}

.sc-nav-icon-email {
	height: 20px;
}

.sc-nav-icon-tel {
	height: 25px;
}

/* sidebar */
.sidebar {

}

/* footer */
.footer {
	background: #575651;
	color: #fff;
	padding: 60px 150px 60px 150px;
}

.sc-footer-area {
	float: left;
	width: 33.3333%;
}

h2.sc-footer-title {
	color: #de996f;
	font-size: 2rem;
	margin: 0 0 15px 0;
}

.sc-footer-area p {
	font-size: 1.5rem;
	margin: 0;
}

p.copyright {
	background: #de996f;
	color: #fff;
	font-size: 1.3rem;
	padding: 15px 15px 15px 150px;
	margin: 0;
}

.copyright a,
.copyright a:hover {
	color: #fff;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.sc-1-hp {
	position: relative;
	display: table;
	width: 100%;
	height: 100%;
	text-align: center;
	background-image:url('img/homepage/1.jpg');
	background-repeat:no-repeat;
	background-size:cover;
	background-position: bottom;
}

.sc-1-title {
	display: table-cell;
	vertical-align: middle;
}

.sc-1-title h1 {
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-size: 8.5rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}

.sc-1-title h2 {
	color: #de996f;
	font-weight: 300;
	letter-spacing: 1.2px;
	font-size: 3rem;
	margin: 0;
}

.sc-down {
	width: 40px;
	position: absolute;
	bottom: 30px;
	left: 50%;
	margin-left: -20px;
}

img.sc-image-pro {
	margin-top: 10px;
	border-bottom: 8px solid #de996f;
}

.sc-3a-hp {
	display: table;
	background: #f6f5ee;
	text-align: center;
	padding: 90px 45px;
}

.sc-3a-hp-cta {
	display: table-cell;
	vertical-align: middle;
}

.sc-3a-hp h2 {
	color: #de996f;
	font-size: 1.8rem;
	margin: 0 0 8px 0;
}

.sc-3a-hp h3 {
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 30px 0;
}

.sc-3a-hp p {
	font-size: 1.7rem;
	font-style: italic;
	text-align: center;
}

.sc-3b-hp {
	position: absolute;
	left: 0;
	top: -60px;
	width: 100%;
	height: auto;
	background-image:url('img/homepage/2.png');
	background-repeat:no-repeat;
	background-size:cover;
	background-position: center;
}

.sc-4-hp a:visited {
	color: #de996f;
}

.sc-4-hp a:hover {
	color: #de996f;
}

.sc-biblio-icon {
	position: absolute;
	top: 9px;
	left: 220px;
	width: 30px;
}

.sc-biblio-item {
	margin-bottom: 15px;
}

p.sc-biblio-title {
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

p.sc-biblio-description {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 300;
	line-height: normal;
	margin: 0 0 7px 0;
}

a.sc-biblio-btn {
	color: #de996f;
	font-size: 1.3rem;
	font-weight: 400;
	margin-left: 5px;
}

/* Aree */
.sc-1-ar {
	display: table;
	width: 100%;
	height: 100px;
	text-align: center;
	background: grey;
}

.sc-1-ar > .sc-1-title {
	display: table-cell;
	vertical-align: middle;
}

.sc-1-ar > .sc-1-title h1 {
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-size: 7rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-shadow: 2px 2px 2px rgba(150, 150, 150, 1);
	margin: 80px 0 0 0;
}

.sc-box-area-1 {
	background: #f6f5ee;
	border-left: 7px solid #de996f;
	padding: 15px 30px;
	margin-bottom: 2px;
}

.sc-box-area-1 p {
	font-weight: 400;
	margin-bottom: 0;
}

/* Contatti */
.sc-1-cc {
	display: table;
	width: 100%;
	height: 100px;
	text-align: center;
	background: grey;
}

.sc-1-cc > .sc-1-title {
	display: table-cell;
	vertical-align: middle;
}

.sc-1-cc > .sc-1-title h1 {
	font-family: 'Playfair Display', serif;
	color: #fff;
	font-size: 7rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-shadow: 2px 2px 2px rgba(150, 150, 150, 1);
	margin: 80px 0 0 0;
}

.sc-cc-info-left {
	float: left;
	width: 50%;
}

.sc-cc-info-right {
	float: right;
	width: 50%;
}

.sc-2-cc p {
	text-align: center;
	font-style: italic;
	line-height: 1.6;
}

.sc-3a-cc {
	padding-left: 0;
	padding-right: 0;
}

.sc-3b-cc {
	background: #f6f5ee;
	padding: 30px 30px 0 30px;
}

.sc-3b-cc h2 {
	text-align: center;
	color: #de996f;
	font-size: 1.8rem;
	margin: 0 0 30px 0;
}

#sc-map {
	width: 100%;
	height: auto;
}

/* Form */
.sc-form-nome input,
.sc-form-email input {
	width: 100%;
	height: 40px;
	border: none;
	padding: 5px;
	margin-bottom: 15px;
}

.sc-form-messaggio textarea {
	width: 100%;
	border: none;
	padding: 5px;
	margin-bottom: 15px;
}

.sc-form-btn {
	background: #de996f;
	color: #fff;
	font-weight: 400;
	line-height: 38px;
	width: 100%;
	height: 40px;
	border: none;
	font-size: 1.6rem;
	margin-top: 15px;
  transition: 0.75s;
}

.sc-form-btn:hover {
	background: #d19068;
}

.sc-form-privacy-form {
	font-size: 1.1rem;
}

input[type="checkbox"] {
  margin: 0;
	vertical-align: middle;
}

span.wpcf7-list-item {
	padding-left: 0;
	margin-left: 0;
}

span.wpcf7-not-valid-tip {
  color: #f00;
  font-size: 1.3rem;
}

div.wpcf7-response-output {
	color: red;
	font-size: 1.4rem;
	text-align: center;
	margin: 0;
	padding: 0;
	border: none;
}

div.wpcf7-mail-sent-ok {
	border: none;
}

div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
	border: none;
}

div.wpcf7-spam-blocked {
	border: none;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
	border: none;
}

/* Fat nav */
.hamburger {
  display: none;
  width: 50px;
  height: 50px;
  position: fixed;
  top: 30px;
  left: 100px;
  z-index: 10000;
  padding: 12px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: transparent;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
.hamburger__icon {
  position: relative;
  margin-top: 7px;
  margin-bottom: 7px;
}
.hamburger__icon, .hamburger__icon:before, .hamburger__icon:after {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  -moz-transition-property: background-color, -moz-transform;
  -o-transition-property: background-color, -o-transform;
  -webkit-transition-property: background-color, -webkit-transform;
  transition-property: background-color, transform;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.hamburger__icon:before, .hamburger__icon:after {
  position: absolute;
  content: "";
}
.hamburger__icon:before {
  top: -7px;
}
.hamburger__icon:after {
  top: 7px;
}
.hamburger.active .hamburger__icon {
  background-color: transparent;
}
.hamburger.active .hamburger__icon:before, .hamburger.active .hamburger__icon:after {
  background-color: #fff;
}
.hamburger.active .hamburger__icon:before {
  -moz-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  -webkit-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger__icon:after {
  -moz-transform: translateY(-7px) rotate(-45deg);
  -ms-transform: translateY(-7px) rotate(-45deg);
  -webkit-transform: translateY(-7px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

.fat-nav {
  top: 0;
  left: 0;
  z-index: 9999;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -moz-transform: scale(1.4);
  -ms-transform: scale(1.4);
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
  -moz-transition-property: -moz-transform;
  -o-transition-property: -o-transform;
  -webkit-transition-property: -webkit-transform;
  transition-property: transform;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.fat-nav__wrapper {
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
}
.fat-nav.active {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.fat-nav ul {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}
.fat-nav li {
  list-style-type: none;
  text-align: center;
	text-transform: uppercase;
  padding: 10px;
  font-size: 1.7rem;
}
.fat-nav li, .fat-nav li a {
  color: #fff;
}
.fat-nav li a {
  text-decoration: none;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1250px) {

	.nav ul li {
		font-size: 1.5rem;
		letter-spacing: 1px;
		margin-right: 20px;
	}

	.sc-nav-cta a {
		font-size: 1.5rem;
		letter-spacing: 1px;
		padding: 0 20px;
	}

}

@media only screen and (max-width:1024px) {

	.sc-row-padding {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.sc-row-padding-top {
		padding-top: 50px;
	}

	.sc-row-padding-bottom {
		padding-bottom: 50px;
	}

	.nav {
		display: none;
	}

	.hamburger {
		display: block;
	}

	.sc-1-title h1 {
		font-size: 7rem;
	}

}

@media only screen and (max-width:767px) {

	.hamburger {
	  left: 65px;
	}

	img.sc-logo {
		display: inline-block;
		width: 50px;
		margin-top: 33px;
		margin-left: 15px;
	}

	.sc-nav-cta a:nth-child(2) {
		display: none;
	}

	.sc-nav-cta img {
		padding: 0 5px;
	}

	.sc-1-title h1 {
		font-size: 5rem;
	}

	.sc-1-title h2 {
		font-size: 2rem;
	}

	img.sc-image-pro {
		margin-bottom: 15px;
	}

	a.sc-biblio-btn {
		margin-left: 0;
	}

	p.sc-biblio-title {
		font-size: 1.3rem;
	}

	p.sc-biblio-description {
		margin: 0;
	}

	.sc-cc-info-left {
		width: 100%;
	}

	.sc-cc-info-right {
		width: 100%;
	}

	.footer {
		padding: 60px 30px;
	}

	.sc-footer-area {
		float: left;
		width: 100%;
	}

	p.copyright {
		padding: 15px;
	}

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
