/******************************************  
 CUSTOM STYLESHEET
*******************************************/

/*
* You can place your custom CSS statements in this file, after this message.
* It is better to write everything custom here
* because this file won't be replaced during updates.
* 
* Simply copy an existing style from style.css to this file, 
* and modify it to your liking.
*/

/*@font-face {
 	font-family: 'italo_regular';
 	
	src: url('font/italo_regular-italic-webfont.svg'),
		url('font/italo_regular-webfont.svg'),
	
	url('font/italo_regular-italic-webfont.ttf'),
	url('font/italo_regular-webfont.ttf'),
	
	url('font/italo_regular-italic-webfont.eot'),
	url('font/italo_regular-webfont.eot'),
	
	
	url('font/italo_regular-italic-webfont.woff'),
	url('font/italo_regular-webfont.woff'),
	
	
	url('font/italo_regular-italic-webfont.woff2'),
	url('font/italo_regular-webfont.woff2');
}

@font-face {
	font-family: 'italo_light';
	src: url('font/italo_light-italic-webfont.svg'),
	url('font/italo_light-webfont.svg'),
	
	url('font/italo_light-italic-webfont.ttf'),
	url('font/italo_light-webfont.ttf'),
	
	url('font/italo_light-italic-webfont.eot'),
	url('font/italo_light-webfont.eot'),
	
	url('font/italo_light-italic-webfont.woff'),
	url('font/italo_light-webfont.woff'),
	
	url('font/italo_light-italic-webfont.woff2'),
	url('font/italo_light-webfont.woff2');
	
}

@font-face {
	font-family: 'italo_medium';
	
	src: url('font/italo_medium-italic-webfont.woff2'),
	url('font/italo_medium-webfont.woff2'),
	
	url('font/italo_medium-italic-webfont.woff'),
	url('font/italo_medium-webfont.woff'),
	
	url('font/italo_medium-italic-webfont.eot'),
	url('font/italo_medium-webfont.eot'),
	
	url('font/italo_medium-italic-webfont.ttf'),
	url('font/italo_medium-webfont.ttf'),
	
	url('font/italo_medium-italic-webfont.svg'),
	url('font/italo_medium-webfont.svg');
	
}*/

@font-face {
 	font-family: 'italo_regular';
 	
	src: url('font/italo_regular-webfont.svg'),
	
	url('font/italo_regular-webfont.ttf'),
	
	url('font/italo_regular-webfont.eot'),
	
	
	url('font/italo_regular-webfont.woff'),
	
	
	url('font/italo_regular-webfont.woff2');
}

@font-face {
	font-family: 'italo_light';
	
	src: url('font/italo_light-webfont.svg'),
	
	url('font/italo_light-webfont.ttf'),
	
	url('font/italo_light-webfont.eot'),
	
	url('font/italo_light-webfont.woff'),
	
	url('font/italo_light-webfont.woff2');
	
}

@font-face {
	font-family: 'italo_medium';
	
	src: url('font/italo_medium-webfont.woff2'),
	
	url('font/italo_medium-webfont.woff'),
	
	url('font/italo_medium-webfont.eot'),
	
	url('font/italo_medium-webfont.ttf'),
	
	url('font/italo_medium-webfont.svg');
	
}

/* -------- DA RIVEDERE ----- */

.home {
	line-height: 1.8em;
	}

p:empty {
	display:none;
} 

a:hover {text-decoration:underline; color: #6AAA23;}

#header {
	border-bottom: 3px solid #6AAA23;
	border-bottom-left-radius: 15px;
	/*max-width:calc(100% - 15px);*/
}

#slider .details > div {
	top:88px;
}

.flex-viewport {
	margin-top:-52px;
}

#about .hours {
	display:none;
}

#logo img {
	padding: 15px 0
}

#footer .logo, #footer .wpzoom {
	float:left;
}

@media screen and (max-width: 768px) {

#logo img {
	display:none;}

#header #phonenumber {
	display:none;
}
	
#header #phonenumber {
	right: 10px;
}

#slider .details .items li p {
	display:none;
}

.flex-viewport {
	margin-top:-12px;
}


#about {
	background-image:none;
}

.home #content-wrap {
	margin-top:200px;
}

#slider {
	position:absolute;
	margin-top:-215px;
	height:250px;
	width:100%;
}

#slider .details > div {
	top:128px;
}

.dropdown li a {
	color:#FFFFFF;
}

.dropdown li a:hover {
	color:#6aaa23 !important;
}

.twocol-one {
	width:96%;
}

}

#header-wrap #title {
	margin-top:37px;
	font-family: italo_light;
    font-size: 40px;
	font-weight: bold;
	background: rgba(255, 255, 255, 0.7) none repeat scroll 0 0;
}

#header-wrap #title::before, #header-wrap #title::after {
	content: '';
	display: inline-block;
	vertical-align: 3px;
	background: url('images/btnbox-decoration.png') 0 0 no-repeat;
	height: 22px;
	width: 41px;
}


.home.blog #header {
	border-bottom-left-radius: 15px;
}

#interventorapido_button {
	background-image: url('../../uploads/2015/08/interventorapido_button.png');
	/*font-family: 'Give You Glory', cursive;*/
	width: 97px;
	height: 43px;
	float: left;
	/*margin-left: -15px;*/
	padding: 7px;
	text-align: center;
	color: #ffffff;
	text-transform: uppercase;
	line-height:20px;
	
}

#interventorapido_button a {
	color:#ffffff;
	font-family: 'italo_light';
	font-size:27px;
}

#interventorapido_button a:hover {
	font-weight:bold;
	text-decoration:none;
}

#logo {
	float: right;
	margin-top: -15px;
}
	
.dropdown ul { position: absolute; top: -999em; width: 170px; background: #373a3b; border-bottom: 3px solid #6AAA23;}

#slidenav {
	text-align: center;
}

#slidenav ul li {
	background-color: #6AAA23;
}

#slidenav ul li .post-thumb img {
	margin: 0;
}

#slider {
	height:188px;
}

.contattiimg {
	width: 33%;
	float: left;
	margin-bottom:25px;
	/*margin-top: -15px;*/
}

.contattiimg p img {
	max-width: 90% !important;
}

.dettaglicontatti .nome {
	text-transform:uppercase;
	color:#6aaa23;
	font-family: 'italo_light';
	font-size: 30px;
	font-weight:normal;
}

.dettaglicontatti .dettaglicontatto, .dettaglicontatti .dettaglicontatto a {
	color:#555555;
}

.dettaglicontatti .dettaglicontatto a:hover {
	color:#6aaa23;
}

#btnbox h2::before, #btnbox h2::after {
	height: 20px;
}

#btnbox h2, #about h2 {
	/*font-family: 'Give You Glory', cursive;*/
	font-family: 'italo_light';
	font-weight:normal;
	font-size: 40px;
}

#btnbox .btn a, #about .btn a {
	font-family: 'italo_light';
	text-transform:uppercase;
	font-size:22px;
}

button {
	margin-bottom:20px;
}

button, .button, input[type="button"], input[type="reset"], input[type="submit"], .post .readmore a, #header #booknow a, #btnbox .btn a, #about .btn a, #featdishes .btn a, #respond input[type="submit"] {
	font-family:'italo_light';
	font-size:22px;
	text-transform:uppercase;
}

.home button {
	margin-bottom:0px;
}

#btnbox .content p a {
	color:#6aaa23;
}

#slider .details h3 {
	padding: 12px 0px 7px 0px;
	max-width:180px;
	/*font-family: 'Give You Glory', cursive;*/
	font-family: 'italo_light';
	line-height: 31px;
	font-size:35px;
	color:#81ce2b;
}



.post .meta a:hover, .post .meta a:active {
	color: #6AAA23;
}

.foogallery-container img {
	max-width:100% !important;
}

.post h2.title a:hover {
	color: #6AAA23;
}

.entry h1 {
	/*font-family: 'Give You Glory', cursive;*/
	font-family: 'italo_light';
	color: #6AAA23;
	font-size: 40px;
	font-weight:normal;
}

.post_content h1 a:hover {
	color: #6AAA23;
}

#featured-dishes ul li .content {
	background-color: #6AAA23;
	text-align: center;
	padding: 5px 15px;
}

#featured-dishes h3 {
	color: #ffffff;
	font-weight: normal;
	font-size:14px;
}

#featured-dishes h2 {
	font-family: 'italo_light';
	font-size: 40px;
}

pre, code { white-space: normal; word-wrap: break-word; }

input[type="submit"] {
	font-weight: normal;
}

.entry a { color:#6AAA23; }

.entry img {
	margin-bottom: 0;
}

.full-width .entry img.alignnone, .full-width .entry img.aligncenter, .full-width .entry img.alignleft, .full-width .entry img.alignright, .full-width .entry img.attachment-fullsize {border: 5px solid #fff !important; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); box-sizing:border-box; margin-right:7px;}

#footer {
	color:#fff;
}

#footer a:hover, #footer a:active {
	color: #6AAA23;
}

#footer .wrap {
	border-bottom: 1px solid #6AAA23;
}

#footer .widget h3.title {
	font-family:'italo_light';
	font-size:40px;
}


/* ------- FINE DA RIVEDERE  ------ */

@media screen and (min-width: 769px) {
	
#slider {
	height:568px;
}

#slider .details > div {
	height: 260px;
	width: 260px;
	left: 40px;
	top: 143px;
}

#slider .details .items > li span {
	background: none;
	margin-top: 40px;
	max-width: 220px;

}

#slider .details .items > li span p {
	margin-bottom: 8px;
	line-height: 22px;
}

#slider .details .items > li span p img {
	vertical-align: baseline;
}

#slider .details .items > li {
	color: #ffffff;
}

.flex-direction-nav {
	bottom: 20px;
	left: 112px;
	}

#slider .details h3 {
	padding: 12px 0px 7px 0px;
	max-width:180px;
	/*font-family: 'Give You Glory', cursive;*/
	line-height: 31px;
	font-size:35px;
	color:#81ce2b;
}

#header {
	height: 54px;
}

#about {
	background-image: url('images/about_bg.png');
	background-position:bottom right;
	background-repeat:no-repeat;
	}
	
#header {
	width: 970px;
	max-width:96%;
	/*max-width:calc(100% - 15px);*/
}

}


@media screen and (max-width: 640px) {
	
	#footer div.column { width: 47%; margin:0 2% 0px 0; display: inline-block; vertical-align: top; float: none; }

}

/* ******************* ACCORDION ********************** */

.ac-container{
	/*width: 400px;*/
	width:100%;
	margin: 10px auto 30px auto;
	text-align: left;
}

.ac-container div {
	margin-top:-20px;}

.ac-container label{
	/*font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;*/
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	padding: 5px 0px;
	position: relative;
	z-index: 20;
	/*display: block;*/
	height: 30px;
	cursor: pointer;
	color: #777;
	/*text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
	line-height: 33px;
	/*font-size: 19px;*/
	font-size:14px;
	/*background: #ffffff;
	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);*/
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
	/*box-shadow: 
		0px 0px 0px 1px rgba(155,155,155,0.3), 
		1px 0px 0px 0px rgba(255,255,255,0.9) inset, 
		0px 2px 2px rgba(0,0,0,0.1);*/
}

.ac-container label:after {font-family: FontAwesome; content:"\f054"; color:#80B42B; margin-left:7px;}

.ac-container label {color: #6AAA23;}

.ac-container input:checked + label,
.ac-container input:checked + label:hover{
	background: #c6e1ec;
	color: #3d7489;
	text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
	box-shadow: 
		0px 0px 0px 1px rgba(155,155,155,0.3), 
		0px 2px 2px rgba(0,0,0,0.1);
}
.ac-container label:hover:after,
.ac-container input:checked + label:hover:after{
	/*content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 7px;
	background: transparent url(../images/arrow_down.png) no-repeat center center;	*/
	
	font-family: FontAwesome;
	content:"\f078";
	color:#80B42B;
	margin-left:7px;
}
.ac-container input:checked + label:hover:after{
	background-image: url(../images/arrow_up.png);
}
.ac-container input{
	display: none;
}
.ac-container article{
	/*background: rgba(255, 255, 255, 0.5);*/
	margin-top: -1px;
	overflow: hidden;
	max-height:0px;
	position: relative;
	z-index: 10;
	-webkit-transition: max-height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: max-height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: max-height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: max-height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: max-height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container article p{
	/*font-style: italic;*/
	color: #777;
	line-height: 23px;
	font-size: 14px;
	padding: 20px;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
.ac-container input:checked ~ article{
	-webkit-transition: max-height 0.5s ease-in-out, box-shadow 0.1s linear;
	-moz-transition: max-height 0.5s ease-in-out, box-shadow 0.1s linear;
	-o-transition: max-height 0.5s ease-in-out, box-shadow 0.1s linear;
	-ms-transition: max-height 0.5s ease-in-out, box-shadow 0.1s linear;
	transition: max-height 0.5s ease-in-out, box-shadow 0.1s linear;
	/*box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);*/
}
.ac-container input:checked ~ article.ac-small{
	height: auto;
	max-height:1000px;
}
.ac-container input:checked ~ article.ac-medium{
	height: auto;
	max-height:1000px;
}
.ac-container input:checked ~ article.ac-large{
	height: auto;
	max-height:1000px;
}

/* ******************* END ACCORDION ********************** */

/* carta del docente */

#cartadeldoc {
position: absolute;
top: 50px;
left: 0px;
right: auto;
}

body.home  #cartadeldoc {
position: absolute;
right: 0px;
top: 140px;
left: auto;
}

.tbp {
max-width: 150px;
}

@media all and (min-width: 769px) {
#cartadeldocmob {
display: none;
}

.anchor {
    display: block;
    height: 110px;
    margin-top: -110px;}
}

.tbp {
margin-left:15px;
display: block;
margin-top:20px;}

@media all and (max-width: 768px) {

#cartadeldoc {
display: none;
}

#cartadocente {
right: calc(50% - 140px) !important;}

.tbp {
display: inline;
margin-top: 0px;}

#cartadocente .cdd, #cartadocente .tbp {
max-width: 100px;}

#cartadeldocmob {
position: absolute;
top: -15px;
left: calc(50% - 55px);
right: auto;
}

.anchor {
    display: block;
    height: 240px;
}

@media all and (max-width: 468px) {

#cartadocente .cdd, #cartadocente .tbp {
max-width: 90px;}

#cartadocente .tbp {
margin-left:10px;}

#cartadocente {
right: calc(50% - 130px) !important;}

}