/*!
 *
 * File specifico per sito 
 *
 * Copyright 2014 SpoonDesign di Cattorini Davide
 * Tutti i diritti riservati - All rights reserved
 * http://www.spoondesign.it - info@spoondesign.it
 *
 */

html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-size: 100%;
}
body {
	margin: 0;
	padding: 0;
	background: #222 url("../images/bg.jpg") top left;
}
body, td, li  {
	font: 0.9rem/1.5rem Arial, Helvetica, sans-serif;
	color: #817b7b;
}

@font-face {
	font-family: BebasNeue;
	src: url("../fonts/bebasneue_regular.woff");
}

a {
	color: #dc6147;
	text-decoration: underline;
}
a:hover, a:focus, a:active {
	color: #dc6147;
	text-decoration: none;
}
h1, h2 {
	padding-left: 38px;
	font: 27px/30px BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	color: #4a4747;
	position: relative;
}
h1:before, h2:before {
	content: "\f00c";
	font-family: FontAwesome;
	font-size: 1.5rem;
	color: #dc6147;
	position: absolute;
	top: -2px;
	left: 0;
}

h3, h4, h5 {
	font: 12px/16px BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	color: #4a4747;
}

/* CONTENITORI */

.sdgrid {
	width: 93%;
	margin: 2% auto;
}
.sdfull {
	width: 100%;
}

/* CONTENT */

.content {
	display: flex;
	background: #FCFBF7;
}
.content img, .content .sdshowyoutube_container {
	border: 1px solid #cfcecb;
	padding: 2px;
}
.content hr {
	border-top: 1px solid #cfcecb !important;
}
.content .item-page ul, .content .item-page ol,
.content .custom ul, .content .custom ol {
	margin: 12px 0;
}
.content .item-page li, .content .custom li {
	padding-left: 18px;
	list-style: none;
	position: relative;
}
.content .item-page li:before, .content .custom li:before {
	content: "\f0c8";
	font-family: FontAwesome;
	font-size: 7px;
	font-weight: bold;
	color: #dc6147;
	position: absolute;
	top: 1px;
	left: 2px;
	opacity:  0.9;
}

.content #col_dx h2 {
	margin: 20px 0 10px 0;
	padding: 0 10px;
	font: 27px/50px BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	text-transform: uppercase;
	color: #fff;
	background: #222 url("../images/bg.jpg") top left;
}
.content #col_dx h2:first-child {
	margin-top: 3px;
}
.content #col_dx h2:before {
	display: none;
	visibility: hidden;
}

.content .timeline {
	margin: 0;
	padding: 0;
	list-style: none;
}
.content .timeline li {
	margin: 8px 0;
	padding: 8px 0 0 0;
	border-top: 1px solid #cfcecb;
	background: none;
}
.content .timeline li:first-child {
	border-top: 0;
}
.content .timeline li:before {
	display: none;
	visibility: hidden;
}

.content .read_more, .gallery_back {
	margin-top: 1.3rem;
	text-align: right;
}
.content .read_more a, .gallery_back a {
	margin: 1rem 0;
	padding: 0.5rem 1rem;
	font: 1.3rem BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	text-decoration: none;
	color: #FFF;
	background: #D0AC62;
}
.content .read_more a:hover, .gallery_back a:hover {
	background: #dc6147;
}

.content .title {
	font: 20px/23px BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	color: #4a4747;
}
.content .evidenzia {
	font: 27px/30px BebasNeue, Arial, Tahoma, Verdana, sans-serif;
	color: #dc6147;
}
.content .giallo {
	font-weight: bold;
	color: #4a4747;
}
.content .little {
	font: 9px/14px Verdana, Arial, Tahoma, Helvetica, sans-serif;
}

a.photo{
	margin: 10px;
	padding: 10px 10px 10px 10px !important;
	display: inline-block;
	border: 1px solid #cfcecb;
	position: relative;
	background-color: #eee;
	background-image: none !important;
	-webkit-box-shadow: 0 2px 15px #8a8787;
	-moz-box-shadow: 0 2px 15px #8a8787;
	box-shadow: 0 2px 15px #8a8787;
	z-index: 5;
}
a.photo img {
	padding: 0 !important;
	border: 1px solid #cfcecb;
}
a.pic_2 {
	-ms-transform: rotate(-1deg);
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	transform: rotate(-1deg);
}
a.pic_6 {
	-ms-transform: rotate(2deg);
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	transform: rotate(2deg);
}
a.photo:hover {
	z-index: 10;
	-webkit-box-shadow: 3px 5px 15px #8a8787;
	-moz-box-shadow: 3px 5px 15px #8a8787;
	box-shadow: 3px 5px 15px #8a8787;
}
.img_right {
	margin: 10px 0 10px 20px !important;
}
.img_left {
	margin: 10px 20px 10px 0 !important;
}

/* FOOTER */

.footer {
	margin: 20px 20px 0 20px;
	padding: 1rem;
	color: #FFF;
	text-align: center;
}
.footer .custom {
	margin-top: -8px;
}
.footer i {
	font-size: 3rem;
	padding: 0 0.8rem;
}
.footer .fa-twitter-square {
	color: #53d2f5;
}
.footer .fa-facebook-square {
	color: #4668a5;
}
.footer .fa-youtube {
	color: #bc3d3b;
}

/* DEVICES */

@media (min-width: 1200px) {
	.sdgrid {
		width: 95%;
		margin: 1% auto;
		max-width: 1175px;
	}

	header {
		position: relative;
    }
    header .banner {
		height: 546px;
		overflow: hidden;
    }
	header .logo {
		width: 490px;
		height: 100px;
		position: absolute;
		bottom: 235px;
		left: -160px;
		z-index: 1000;
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}
	header .menu {
		width: 402px;
		position: absolute;
		top: -30px;
		right: 25px;
		z-index: 6000;
	}
	header .menu li {
		width: 0;
		height: 495px;
		float: left;
		margin: 0;
		padding: 0;
		position: relative;
		list-style: none;
	}
	header .menu li:nth-child(1), header .menu li:nth-child(6) {
		border: solid 25px #DD654A;
	}
	header .menu li:nth-child(2), header .menu li:nth-child(7) {
		border: solid 25px #C62C48;
	}
	header .menu li:nth-child(3), header .menu li:nth-child(8) {
		border: solid 25px #451F2E;
	}
	header .menu li:nth-child(4), header .menu li:nth-child(9) {
		border: solid 25px #5D868A;
	}
	header .menu li:nth-child(5), header .menu li:nth-child(10) {
		border: solid 25px #EDD782;
	}
	header .menu li:hover, header .menu li.active {
		height: 530px;
		z-index: 6000;
		border-bottom: solid 25px transparent;
	}
	header .menu a {
		width: 500px;
		height: 50px;
		line-height: 50px !important;
		display: block;
		position: absolute;
		top: 250px;
		left: -250px;
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
		z-index: 2000;
		font: 1.7rem/1.7rem BebasNeue, Arial, sans-serif;
		letter-spacing: 0.2rem;
		color: #FFF;
		text-transform: uppercase;
		text-align: right;
		text-decoration: none;
	}
	header .menu a:hover, header .menu a:active, header .menu a:focus {
		background: none !important;
	}

	header .box {
		width: 97%;
		height: 41px;
		margin: 0 1.5%;
		position: absolute;
		bottom: -20px;
		left: 0;
		z-index: 1000;
		background: #FCFBF7;
	}

	.content {
		margin: 0 1.5% 0 1.5%;
		padding: 1.8rem;
		position: relative;
		z-index: 5000;
		justify-content: space-between;
	}
	.content #col_sx_lg {
		width: 100%;
	}
	.content #col_sx_sh {
		width: 63%;
	}
	.content #col_dx {
		width: 33%;
	}
}

@media (max-width: 1199px) {
	header .logo {
		text-align: center;
	}
	header .logo img {
		width: 95%;
		max-width: 400px;
		padding: 1rem 0;
	}

	.dj-megamenu-accordion {
		width: 100% !important;
		margin: 1rem auto;
	}
	.dj-mobile-open-btn, .dj-mobile-open-btn:focus, .dj-mobile-open-btn:active, .dj-mobile-open-btn:hover {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		background: #DD654A !important;
		color: #FFF !important;
		padding: 0.7rem 0 !important;
		text-decoration: none;
	}
	.dj-mobile-open-icon:before {
		height: auto;
		font-size: 1.6rem !important;
	}
	.dj-mobile-open-label {
		font-size: 1.2rem;
	}

	.content {
		padding: 1rem;
		flex-direction: column;
	}
	.content #col_dx {
		margin-top: 2rem;
	}
	
	.sdshowyoutube_container, .sdshowvimeo_container {
		width: 100%;
	}
}