/*
Theme Name: Raidho
Theme URI: http://o-zone.it
Author: Stanza27
Author URI: http://stanza27.com
Description:
Version: 1.0
Tags:
Text Domain: raidho
*/


/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

input,
textarea,
select {
	font-family: inherit;
	border: 1px solid #2c4c6d;
	border-radius: 2px;
	color: inherit;
	padding: 6px 8px 5px;
}

textarea {
	width: 100%;
}

input:focus,
textarea:focus {
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: 0;
}

/* Buttons */

button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #2c4c6d;
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-weight: 700;
	padding: 10px 40px 11px;
	text-transform: uppercase;
	vertical-align: bottom;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #d0346f;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #1f334b;
}

button[disabled],
html input[disabled],
button[disabled]:hover,
html input[disabled]:hover {
	background-color: #CCCCCC;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
	color: #939393;
}

:-moz-placeholder {
	color: #939393;
}

::-moz-placeholder {
	color: #939393;
	opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
	color: #939393;
}

/* Responsive images. Fluid images for posts, comments, and widgets */

.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */

.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
	margin-bottom: 24px;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

/* Alignment */

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

blockquote.alignleft,
img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

blockquote.alignright,
img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 17px;
	width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
	margin-bottom: 17px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption {
	color: inherit;
}

.wp-caption-text {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	font-size: 14px;
	line-height: 1.2;
	margin: 9px 0 0;
	display: inline-block;
}

.wp-smiley {
	border: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Assistive text */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto;
	color: #352d2a;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	text-transform: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

.hide {
	display: none;
}


/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* apply a natural box layout model to all elements */
*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #766661;
	background: #FFF;
}

img {
	max-width: 100%;
}

p {
	margin-top: 0;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	color: #A41F35;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "BenchNine", Arial, Helvetica, sans-serif;
	font-weight: 300;
	margin-top: 0;
	line-height: 1;
	letter-spacing: 3px;
}

.wrapper {
	max-width: 1170px;
	min-width: 320px;
	margin: 0 auto;
	position: relative;
}

.col {
	float: left;
	margin-right: 2.564102564102564%; /* 30px */
}

.col:last-child {
	margin-right: 0;
}

.btn,
.btn:visited,
.entry-content .btn {
	font-size: 1em;
	font-weight: normal;
	color: #A41F35;
	border: 1px solid #A41F35;
	border-radius: 0;
	background: transparent;
	padding: 12px 40px;
	text-transform: uppercase;
	display: inline-block;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

.btn:hover,
.btn:focus,
.entry-content .btn:hover,
.entry-content .btn:focus {
	background-color: #A41F35;
	color: #ffffff;
}

.btn[disabled],
.btn[disabled]:hover {
	opacity: 0.5;
	color: #A41F35;
	background: transparent;
}

.col {
	float: left;
	margin-right: 2.564102564102564%; /* 30px */
	margin-bottom: 2.564102564102564%; /* 30px */
}

.half {
	width: 50%;
	margin-right: 0;
}

.col_9 .col.one_third {
	width: 33.33333%;
	margin: 0;
}

.col_2 {
	width: 14.52991452991453%; /* 170px */
}

.col_3 {
	width: 23.07692307692308%; /* 270px */
}

.col_4 {
	width: 31.62393162393162%; /* 370px */
}

.col_5 {
	width: 40.17094017094017%; /* 470px */
}

.col_6 {
	width: 48.71794871794872%; /* 570px */
}

.col_7 {
	width: 57.26495726495726%; /* 670px */
}

.col_8 {
	width: 65.81196581196581%; /* 770px */
}

.col_9 {
	width: 74.35897435897436%; /* 870px */
}

.col_10 {
	width: 82.90598290598291%; /* 970px */
}

.col_9 .col {
	margin-right: 3.448275862068966%; /* 30px */
	margin-bottom: 3.448275862068966%; /* 30px */
}

.col_9 .col_3 {
	width: 31.03448275862069%; /* 270px */
}

.col_9 .col_6 {
	width: 65.51724137931034%; /* 570px */
}

.col.last,
.col:last-child {
	margin-right: 0;
}

#page,
#footer {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}



/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

#logo_bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 43.57142857142857%; /* 610px @ 1400 */
	height: 170px;
	background: #ffffff;
	z-index: 110;
}

#head {
}

#head .wrapper {
}

#site-title {
	position: relative;
	float: left;
	width: 275px;
	height: 59px;
	margin: 45px 0 0;
	z-index: 120;
}

#site-title a {
	display: block;
	text-indent: -999px;
	width: 100%;
	height: 100%;
	background: url("images/logo.svg") no-repeat left top;
	background-size: 100% auto;
	overflow: hidden;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */

#primary-navigation {
	position: absolute;
	top: 0;
	left: 42.30769230769231%; /* 495px @ 1400 */
	z-index: 110;
	padding: 0;
	text-transform: uppercase;
	line-height: 1;
}

#primary-navigation > div {
	float: left;
}

#primary-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#primary-navigation li {
	display: inline-block;
	position: relative;
	margin-right: 12px;
}

#primary-navigation li:last-child {
	/*margin-right: 0;*/
}

#primary-navigation a {
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
	font-size: 0.875em;
	text-transform: uppercase;
	display: inline-block;
	white-space: nowrap;
	padding-top: 35px;
	border-top: 10px solid transparent;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

#primary-navigation a:hover {
	color: #A41F35;
}

#primary-navigation .current_page_item > a,
#primary-navigation .current-page-ancestor > a,
#primary-navigation .current-menu-item > a,
#primary-navigation .current-menu-ancestor > a,
#primary-navigation .current-post-ancestor > a {
	color: #A41F35;
	border-color: #A41F35;
}

#primary-navigation ul ul {
	float: left;
	margin: 0;
	position: absolute;
	top: 48px;
	left: -999em;
	z-index: 99999;
}

#primary-navigation .nav-menu {
	display: inline-block;
}

#primary-navigation.toggled-on .nav-menu {
	display: block;
}

.menu-toggle {
	display: none;
	cursor: pointer;
	font-size: 0;
	height: 50px;
	width: 50px;
	margin: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	background: url("images/menu.svg") no-repeat center center;
	background-size: 33px auto;
	text-indent: 80px;
	white-space: nowrap;
}

#primary-navigation.toggled-on .menu-toggle {
	background: url("images/close.svg") no-repeat center center;
	background-size: 33px auto;
}

#lang_selector {
	position: absolute;
	right: 10px;
	top: 135px;
	z-index: 110;
	text-transform: uppercase;
}

#lang_selector a {
	font-size: 0.875em;
	margin-right: 15px;
	color: #ffffff;
	background: rgba(0,0,0,0.6);
	padding: 0 5px 1px;
}

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

/**
 * Visual
 * -----------------------------------------------------------------------------
 */

#visual {
	position: relative;
}

#slideshow_container {
	overflow: hidden;
	position: relative;
	min-height: 250px;
}

#slideshow_container ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#slideshow_container li {
	width: 100%;
	text-align: center;
}

#slideshow_container li > img {
	display: block;
	margin: 0 auto;
	color: transparent;
	width: 100%;
}

#visual_overlay {
	background: rgba(121, 117, 112, 0.5);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 44.44444444444444%; /* 200px @ 450 */
	z-index: 105;
}

/**
 * Home page
 * -----------------------------------------------------------------------------
 */

.home .wpcf7-form {
	margin-top: 70px;
	max-width: 470px;
}

.home .entry-content {
	margin-top: 60px;
}

.home .entry-content h1 {
	margin-bottom: 0.2em;
}

.home .entry-content h2 {
	margin-bottom: 0.2em;
}

.home #indici {
	margin: -225px 0 0;
	position: relative;
	z-index: 999;
}

.home #indici h2 {
	color: #ffffff;
	margin-bottom: 0.5em;
	text-shadow: 0 0 3px #000
}

.home #indici div {
	padding: 7.017543859649123%; /* 40px @ 570 */
	background: #C9C5BD;
}

.home #indici table {
	color: #766661;
}

.home #indici table th {
	color: #ffffff;
}

.home #indici table th,
.home #indici table td {
	border-right: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}

/**
 * Pagina
 * -----------------------------------------------------------------------------
 */

#main {
	position: relative;
}

#main:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 280px;
	background: #C9C5BD;
}

.home #main:before {
	display: none;
}

#main .col_5 {
	margin: 66px 0 0 -9.829059829059829%; /* 115px @ 1170 */
	width: 52.13675213675214%; /* 610px @ 1170 */
}

#main #child_pages_container {
	background-position: center;
	background-size: cover;
	min-height: 800px;
}

#main #child_pages {
	background: rgba(121, 117, 112, 0.6);
	padding: 25px 0;
}

#main #child_pages ul {
	width: 49.18032786885246%; /* 300px @ 610 */
	margin: 0 0 0 18.85245901639344%; /* 115px @ 610 */
	padding: 0;
	border-top: 4px solid #ffffff;
	border-bottom: 4px solid #ffffff;
}

#main #child_pages li {
	border-bottom: 1px solid #ffffff;
}

#main #child_pages li:last-child {
	border-bottom: none;
}

#main #child_pages a {
	font-size: 0.9375em;
	font-weight: bold;
	color: #ffffff;
	padding: 12px 0;
	display: block;
}

#main #child_pages .current_page_item a {
	color: #000000;
}

#main .col_5 #info_request {
	float: right;
	margin-top: 30px;
}

#contenuto_secondario {
	width: 81.14754098360656%; /* 495px @610 */
	margin-left: 18.85245901639344%; /* 115px @ 610 */
	clear: both;
	padding-top: 60px;
}

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 2.5em;
}

#indici h2 {
	color: #A41F35;
}

#indici div {
}

#indici table {
	text-align: left;
	font-size: 0.875em;
	width: 100%;
}

#indici table th {
	color: #A41F35;
}

#indici table th,
#indici table td {
	padding: 1.4%;
	width: 25%;
	vertical-align: top;
	line-height: 1.2;
	border-right: 1px solid #C9C5BD;
	border-bottom: 1px solid #C9C5BD;
}

#indici table tr:last-child td {
	border-bottom: none;
}

#indici table th:last-child,
#indici table td:last-child {
	border-right: none;
}

#main-content .col_6 {
	background: #ffffff;
}

#main .col_7 {
	width: 57.69230769230769%; /* 675px @ 1170 */
	float: right;
	margin-right: 0;
}

#content {
	margin-top: 110px;
}

.entry-header {
	padding: 0 10.44776119402985%; /* 70px @ 670 */
	margin-bottom: 25px;
}

.entry-title {
	text-transform: uppercase;
	font-size: 3.125em;
	color: #ffffff;
	margin-bottom: 0;
}

.entry-header span {
	font-weight: bold;
}

.entry-content {
	position: relative;
}

.entry-content > div {
	background: #ffffff;
	padding: 60px 10.44776119402985% 0; /* 70px @ 670 */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: none;
}

.entry-content > div.active {
	display: block;
}

.entry-content h4 {
	font-family: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	font-size: 1.25em;
}

.entry-content a {
	color: #A41F35;
	text-decoration: underline;
}

#video {
	margin-top: 60px;
}

#video h2 {
	font-size: 2.5em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

#video ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#video li {
	margin-bottom: 20px;
}

#video figure {
	float: left;
	margin-right: 30px;
	position: relative;
}

#video figure:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("images/play.svg") no-repeat center center / 54px 54px;
}

#video img {
	display: block;
}

#video a {
	font-size: 0.875em;
	text-decoration: none;
}

#video a:hover {
	text-decoration: underline;
}

#tabs {
	margin: 0;
	padding: 0;
	list-style: none;
}

#tabs li {
	float: left;
	width: 33.3333333%;
	text-align: center;
	background: #F5F2F2;
	line-height: 75px;
	cursor: pointer;
}

#tabs li.active {
	background: #ffffff;
	color: #A41F35;
}

#documenti {
	margin: 0;
	padding: 0;
	list-style: none;
}

#documenti li {
	border-top: 1px solid #C9C5BD;
}

#documenti li:last-child {
	border-bottom: 1px solid #C9C5BD;
}

#documenti a {
	display: block;
	padding: 15px 0 15px 40px;
	background-position: left center;
	background-size: auto 28px;
	background-repeat: no-repeat;
	text-decoration: none;
}

#documenti a:hover {
	background-color: rgba(235,230,219, 0.5);
}

#documenti .pdf {
	background-image: url("images/ico_pdf.svg");
}

.entry-content table {
	text-align: left;
	font-size: 0.875em;
	width: 100%;
}

.entry-content table th {
	color: #A41F35;
}

.entry-content table th,
.entry-content table td {
	padding: 1.4%;
	width: 25%;
	vertical-align: top;
	line-height: 1.2;
	border-right: 1px solid #C9C5BD;
	border-bottom: 1px solid #C9C5BD;
}

.entry-content table tr:last-child td {
	border-bottom: none;
}

.entry-content table th:last-child,
.entry-content table td:last-child {
	border-right: none;
}

/**
 * Contatti
 * -----------------------------------------------------------------------------
 */

#main .col_5 #contact-form {
	display:  none;
}

.mfp-content #contact-form {
	position: relative;
	background: #ffffff;
	max-width: 470px;
	padding: 40px;
	margin: 0 auto;
}

.page-contatti .wpcf7-form h3,
.page-contact .wpcf7-form h3 {
	display: none;
}

.page-contatti #info_request,
.page-contact #info_request {
	display: none;
}

div.wpcf7 {
}

.wpcf7-form {
}

.wpcf7-form h3 {
	font-size: 2.5em;
	color: #A41F35;
	text-transform: uppercase;
	margin-bottom: 0.75em;
}

.wpcf7-form .col {
	margin-bottom: 10px;
}

.wpcf7-form .half:nth-of-type(2n-1) {
	padding-right: 4%; /* 20px */
	clear: left;
}

.wpcf7-form .half:nth-of-type(2n) {
	padding-left: 4%; /* 20px */
	padding-right: 0;
}

.wpcf7-form h2 {
}

.wpcf7-form label {
	display: block;
	font-weight: normal;
	font-style: italic;
	position: relative;
	top: 25px;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.wpcf7-form label.focus {
	top: 0;
}

#mc4wp-checkbox label {
	top: 0;
	font-style: normal;
}

.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea {
	border: none;
	background: transparent;
	width: 100%;
	margin-top: 5px;
	border-bottom: 1px solid #9D958C;
	border-radius: 0;
}

.wpcf7-form input[type=checkbox] {
	margin-right: 5px;
}

.wpcf7-form-control-wrap.referenza {
	margin-top: 0.5em;
	display: inline-block;
	font-weight: normal;
}

span.wpcf7-list-item {
	margin: 0 2em 0 0;
}

.wpcf7-form .privacy {
	margin-top: 2em;
}

.wpcf7-form .campi_obbligatori {
	font-size: 0.8125em;
}

input.wpcf7-submit {
	font-size: 1em;
	font-weight: normal;
	color: #A41F35;
	border: 1px solid #A41F35;
	border-radius: 0;
	background: transparent;
	padding: 12px 40px;
	margin-top: 1.5em;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

input.wpcf7-submit:hover,
input.wpcf7-submit:focus {
	background-color: #A41F35;
	color: #ffffff;
}

input.wpcf7-submit[disabled],
input.wpcf7-submit[disabled]:hover {
	opacity: 0.5;
	color: #A41F35;
	background: transparent;
}

span.wpcf7-not-valid-tip {
	font-size: 0.9em;
}

div.wpcf7-response-output {
	margin: 30px 0 0;
}

.page-contatti iframe,
.page-contact iframe {
	width: 100%;
}

.page-contatti #contenuto_secondario,
.page-contact #contenuto_secondario {
	background: #F5F3F1;
	padding: 30px;
}

.page-contatti #contenuto_secondario strong,
.page-contact #contenuto_secondario strong {
	color: #A41F35;
	font-size: 1.125em;
}

/**
 * Gallery
 * -----------------------------------------------------------------------------
 */

.gallery {
	clear: left;
}

.gallery div {
	float: left;
	margin-right: 2.702702702702703%; /* 30px */
	margin-bottom: 20px;
}

.gallery-columns-2 div {
	max-width: 48.64864864864865%; /* 540px */
}

.gallery-columns-2 div:nth-of-type(2n) {
	margin-right: 0;
}

.gallery-columns-3 div {
	max-width: 31.53153153153153%; /* 350px */
}

.gallery-columns-3 div:nth-of-type(3n) {
	margin-right: 0;
}

.gallery-columns-4 div {
	max-width: 22.97297297297297%; /* 255px */
}

.gallery-columns-4 div:nth-of-type(4n) {
	margin-right: 0;
}

.gallery-columns-6 div {
	max-width: 14.41441441441441%; /* 160px */
}

.gallery-columns-6 div:nth-of-type(6n) {
	margin-right: 0;
}

.gallery-columns-2 div:nth-of-type(2n - 1),
.gallery-columns-3 div:nth-of-type(3n - 2),
.gallery-columns-4 div:nth-of-type(4n - 3),
.gallery-columns-6 div:nth-of-type(6n - 5){
	clear: left;
}

.gallery a:hover {
	opacity: 0.5;
}

/**
 * Disclaimer
 * -----------------------------------------------------------------------------
 */

#disclaimer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(157, 149, 140, 0.7);
}

#disclaimer > div {
	width: 40%;
	min-width: 500px;
	margin: 9% auto 0;
	background: rgba(255, 255, 255, 0.9);
	padding: 30px;
}

#disclaimer strong {
	color: #A41F35;
}

#disclaimer textarea {
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
	font-size: 14px;
	background: transparent;
	min-height: 150px;
	border: 1px solid rgba(157, 149, 140, 0.5);
}

#disclaimer #close {
	cursor: pointer;
	border: 2px solid #A41F35;
	color: #A41F35;
	text-transform: uppercase;
	padding: 0.4em 0.6em;
	font-weight: bold;
	font-size: 14px;
}

/**
 * Footer
 * -----------------------------------------------------------------------------
 */

#footer {
	margin-top: 50px;
	padding-bottom: 40px;
	border-bottom: 15px solid #797570;
}

#address {
	float: left;
	width: 43.57142857142857%; /* 610px @ 1400 */
	background: #a41f35 url("images/bg_footer.svg") no-repeat scroll 39%  center / 320px 68px;
	color: #ffffff;
	font-size: 0.875em;
	line-height: 1em;
	min-width: 320px;
	padding: 17px 0;
}

#address p {
	margin: 0 0 0 23.5%;
	width: 255px;
}

#address p a:hover {
	color: inherit;
	text-decoration: underline;
}

#footer #text {
	float: left;
	width: 56.07142857142857%; /* 785px @ 1400 */
	margin-top: 76px;
	padding-left: 70px;
}

#footer #text p {
	float: left;
	margin: 0;
}

#secondary-navigation {
	float: right;
}

#secondary-navigation ul {
	padding: 0;
	margin: 0;
}

#secondary-navigation li {
	display: inline-block;
}

#secondary-navigation li:first-child .separator {
	display: none;
}

/**
 * Cookie notice
 * -----------------------------------------------------------------------------
 */

#cookie-notice {
	opacity: 0.85;
}

.cookie-notice-container {
	padding: 8px;
}

#cookie-notice a {
	color: #000000;
	background: #FFFFFF;
	border-radius: 2px;
	padding: 0.1em 0.5em 0.3em;
}

/**
 * 11.0 Media Queries
 * -----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

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

	#primary-navigation {
		left: 43.58974358974359%; /* 500px @ 1170 */
	}

	#page,
	#footer {
		max-width: 1170px;
	}

	.home #indici {
		margin-top: -155px;
	}

	#main .col_5 {
		margin-left: 0;
		width: 43.58974358974359%; /* 510px @1170 */
	}

	#main .col_7 {
		width: 56.41025641025641%; /* 660px @1170 */
	}

}

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

	#site-title {
		margin-left: 20px;
	}

	#main .col_6 {
		padding-left: 20px;
	}

	#main .col_6:last-child {
		padding-left: 0;
		padding-right: 20px;
	}

	#footer {
		padding-right: 20px;
	}

	#visual .wrapper {
		padding: 0;
	}

	#slideshow_container {
		min-height: 0;
	}

}

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

	body {
		font-size: 14px;
	}

	h1, h2, h3, h4, h5, h6 {
		letter-spacing: 2px;
	}

	#site-title {
		float: none;
		margin: 20px auto;
		min-width: 200px;
		width: 20%;
		height: 43px;
	}

	#logo_bg {
		display: none;
	}

	#primary-navigation {
		position: static;
		float: none;
		text-align: center;
		width: 100%;
		margin: 0 0 25px;
	}

	#primary-navigation > div {
		display: inline-block;
		float: none;
	}

	#primary-navigation a {
		border-top-width: 6px;
		font-size: 1em;
		padding-top: 12px;
	}

	#lang_selector {
		top: 150px;
	}

	.home #indici {
		margin-top: -115px;
	}

	#main .col_5 {
		margin-top: 0;
	}

	#main #child_pages ul {
		margin: 0 auto;
		width: 80%;
	}

	#child_pages .current_page_ancestor ul a,
	#child_pages.side ul a {
		padding: 0 20px;
	}

	#child_pages a {
		font-size: 1.25em;
		padding: 25px 20px;
	}

	#contenuto_secondario {
		margin: 0 auto;
		width: 90%;
	}

	#content {
		margin-top: 60px;
	}

	#tabs li {
		line-height: 55px;
	}

	.entry-title {
		font-size: 2.5em;
	}

	.entry-content > div {
		padding: 10.4478%;
	}

	#address {
		background-position: center;
		background-size: 300px auto;
	}

	#address p {
		margin: 0 auto;
	}

	#footer #text {
		margin-top: 64px;
		padding-left: 50px;
	}

}

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

	.wrapper {
		padding: 0 20px;
	}

	.menu-toggle {
		display: block;
		position: absolute;
		top: 6px;
		right: -50px;
		left: auto;
	}

	.toggled-on .menu-toggle {
		left: 6px;
		right: auto;
	}

	#primary-navigation {
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		background: #777777;
		margin: 0;
		padding: 66px 20px 50px;
		border: none;
		z-index: 9999;
		-webkit-transition: all 0.3s ease-out;
		transition: all 0.3s ease-out;
	}

	#primary-navigation.toggled-on {
		left: 0;
	}

	#primary-navigation > div {
		width: 100%;
	}

	.menu-navigazione-container,
	.menu-navigazione-inglese-container {
		display: block;
	}

	#primary-navigation li {
		display: block;
		border-bottom: 1px solid #999;
	}

	#primary-navigation a,
	#primary-navigation a:hover,
	#primary-navigation .current_page_item > a,
	#primary-navigation .current-page-ancestor > a,
	#primary-navigation .current-menu-item > a,
	#primary-navigation .current-menu-ancestor > a,
	#primary-navigation .current-post-ancestor > a {
		display: block;
		padding: 0.7em 0;
		color: #222222;
		font-size: 1em;
		line-height: 1.5;
		text-align: left;
		border: none;
	}

	#primary-navigation a {
		color: #FFFFFF;
	}

	#primary-navigation li:first-child {
		border-top: 1px solid #999;
	}

	#primary-navigation ul ul {
		float: none;
		margin: 0;
		padding: 0 0 0 2em;
		position: static;
		border-top: 1px solid #999;
	}

	#primary-navigation ul ul li:first-child {
		border-top: none;
	}

	#primary-navigation ul ul li:last-child {
		border-bottom: none;
	}

	#lang_selector {
		bottom: 8px;
		top: auto;
	}

	#lang_selector a {
		color: inherit;
	}

	#main .col_6,
	#main .col_6:last-child {
		padding-left: 0;
		padding-right: 0;
	}

	.col {
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}

	/* home */

	h2 {
		font-size: 2em;
	}

	.home .entry-content h1,
	.home .entry-content h2 {
		font-size: 2em;
	}

	.home #indici h2 {
		color: inherit;
		text-shadow: none;
	}

	.home #indici div {
		padding: 3%;
	}

	.home #indici {
		margin-top: 0;
	}

	#main .col_6:first-child {
		margin-top: 30px;
	}

	.home .wpcf7-form {
		margin-top: 0;
	}

	.wpcf7-form h3 {
		font-size: 2em;
	}

	.wpcf7-form .col {
		margin-bottom: 6px;
	}

	.wpcf7-form label.focus {
		top: 2px;
	}

    /* pagina */

	#main .col_7,
	#main .col_5 {
		width: 100%;
		float: none;
	}

	#child_pages_container {
		display: none;
	}

	#main .col_5 #info_request {
		margin-top: 0;
	}

	.entry-header {
		padding: 0 5.5%;
	}

	.entry-content > div {
		padding: 5.5%;
	}

	#indici table th,
	#indici table td {
		width: auto;
	}

    /* contatti */

	.wpcf7-form .half:nth-of-type(2n-1),
	.wpcf7-form .half:nth-of-type(2n) {
		padding: 0;
	}

	span.wpcf7-list-item {
		display: block;
		margin: 0 0 0.6em;
	}

	.page-contatti #main #child_pages_container,
	.page-contact #main #child_pages_container {
		display: block;
		min-height: 0;
	}

	.page-contatti iframe,
	.page-contact iframe {
		height: 300px;
	}

    /* gallery */

	.gallery-columns-4 div {
		width: 48.64864864864865%; /* 540px */
		max-width: none;
	}

	.gallery-columns-4 div:nth-of-type(2n),
	.gallery-columns-4 div:nth-of-type(4n) {
		margin-right: 0;
	}

	.gallery-columns-4 div:nth-of-type(4n - 3) {
		clear: none;
	}

	.gallery-columns-4 div:nth-of-type(2n - 1) {
		clear: left;
	}

	.gallery-columns-4 img {
		width: 100%;
	}

	/* footer */

	#footer {
		padding-left: 15px;
		padding-right: 15px;
	}

	#address {
		width: 100%;
		min-width: 280px;
		background-size: 260px auto;
	}

	#address p {
		margin: 0 auto;
		width: 230px;
		line-height: 14px;
	}

	#footer #text {
		margin-top: 30px;
		padding-left: 0;
		width: 100%;
	}
}


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


}


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

	.wrapper {
		padding: 0 15px;
	}

	#disclaimer > div {
		min-width: 0;
		padding: 15px;
		width: 95%;
	}

}

/**
 * 12.0 Helper classes
 * -----------------------------------------------------------------------------
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

/**
 * 13.0 Print
 * -----------------------------------------------------------------------------
 */

@media print {
	body {
		background: none !important; /* Brute force since user agents all print differently. */
		color: #2b2b2b;
		font-size: 12pt;
	}

	.site,
	.site-header,
	.hentry,
	.site-content .entry-header,
	.site-content .entry-content,
	.site-content .entry-summary,
	.site-content .entry-meta,
	.page-content,
	.archive-header,
	.page-header,
	.contributor-info,
	.comments-area,
	.attachment .entry-attachment .attachment {
		max-width: 100%;
	}

	#site-header img,
	.search-toggle,
	.site-navigation,
	.site-content nav,
	.edit-link,
	.page-links,
	.widget-area,
	.more-link,
	.post-format-archive-link,
	.comment-respond,
	.comment-list .reply,
	.comment-reply-login,
	#secondary,
	.site-footer,
	.slider-control-paging,
	.slider-direction-nav {
		display: none;
	}

	.site-title a,
	.entry-meta,
	.entry-meta a,
	.featured-content .hentry,
	.featured-content a {
		color: #2b2b2b;
	}

	.entry-content a,
	.entry-summary a,
	.page-content a,
	.comment-content a {
		text-decoration: none;
	}

	.site-header,
	.post-thumbnail,
	a.post-thumbnail:hover,
	.site-content .entry-header,
	.site-footer,
	.featured-content,
	.featured-content .entry-header {
		background: transparent;
	}

	.header-main {
		padding: 48px 10px;
	}

	.site-title {
		float: none;
		font-size: 19pt;
	}

	.content-area {
		padding-top: 0;
	}

	.list-view .site-content .hentry {
		border-bottom: 1px solid rgba(0, 0, 0, 0.1);
		margin-bottom: 48px;
		padding-bottom: 24px;
	}

	.post-thumbnail img {
		margin: 0 10px 24px;
	}

	.site-content .has-post-thumbnail .entry-header {
		padding-top: 0;
	}

	.site-content footer.entry-meta {
		margin: 24px auto;
	}

	.entry-meta .tag-links a {
		color: #fff;
	}

	.singular .site-content .hentry.has-post-thumbnail {
		margin-top: 0;
	}

	.gallery-columns-1.gallery-size-medium,
	.gallery-columns-1.gallery-size-thumbnail,
	.gallery-columns-2.gallery-size-thumbnail,
	.gallery-columns-3.gallery-size-thumbnail {
		display: block;
	}

	.archive-title,
	.page-title {
		margin: 0 10px 48px;
	}

	.featured-content .hentry {
		margin-bottom: 48px;
	}

	.featured-content .post-thumbnail,
	.slider .featured-content .post-thumbnail {
		padding-top: 0;
	}

	.featured-content .post-thumbnail img {
		position: relative;
	}

	.featured-content .entry-header {
		padding: 0 10px 24px;
	}

	.featured-content .entry-meta {
		font-size: 9pt;
		margin-bottom: 11px;
	}

	.featured-content .cat-links {
		font-weight: 900;
	}

	.featured-content .entry-title {
		font-size: 25pt;
		line-height: 36px;
	}
}
