/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}



::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
}

.footer-container {
	width:90%;
	text-align:center;
		color:#999;
		text-shadow:1px 1px 0px #fff;
	  margin: 0 5%
}
footer.wrapper{
width:auto;
	margin:0 auto;
	 padding: 0px;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
background:#FFF url(../img/corinaldofooter.png) bottom center no-repeat;
height:225px;
}
.halloween .footer-container{
	text-shadow:none;
	color:#FFF;
width:90%;
	text-align:center;
	margin: 0 5%
	}
.halloween footer.wrapper{
	width:auto;
	margin:0 auto;
	 padding: 0px;

 border:none;
	 background:#000;
	 height:150px;
}

.halloween footer.wrapper h4{
	color:#FFF;
}


.halloween .footer-container a{
color:rgb(247, 170, 0);
}
.halloween .footer-container h4{
	color:rgb(247, 170, 0);
	text-shadow:none;
}
.footer-container h4{
	font-size:1em;
	color:#999;
	text-shadow:1px 1px 0px #fff;
	display:inline-block;
	margin:0px;
	padding:0px;
}
.footer-container a{
	color:#999;
}

.main aside {
	position:relative;
	top:0px;
    padding:0px 20px 0px 20px;
	background: #b5d356; /* Old browsers */
background: -moz-linear-gradient(top,  #b5d356 0%, #95bf26 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b5d356), color-stop(100%,#95bf26)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* IE10+ */
background: linear-gradient(to bottom,  #b5d356 0%,#95bf26 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d356', endColorstr='#95bf26',GradientType=0 ); /* IE6-9 */
	margin:0px 20px 20px 0px;
}
.main aside h1{
color:#666;
text-shadow:1px 1px 0px #dfefab;
font-size:1.6em;
line-height:1.5em;

margin:0px;
padding:0px;
}


.halloween .main aside {
	position:relative;
	top:0px;
    padding:0px 20px 0px 20px;
	background: #000; /* Old browsers */
	color:#FFF;
	margin:0px 20px 20px 0px;
}
.halloween .main aside h1{
color:rgb(247, 170, 0);
text-shadow:none;
}

.main aside h3{
	color:#FFF;

	line-height:1em;
	margin:0px;
padding:0px;
}
.title {
    color: white;
}

@media all and (max-width:480px) {
        .top-td {
            float:none;
            width:96%;
		background:#A62C4B;
		color:#FFF;
		padding:2%;
		text-align:left;
   
        }
        .td {
            float:none;
            width:96%;
			padding:2%;
			background:#FFF;
			color:#000;
        }
		
}

/* ==============
    MOBILE: Menu
   ============== */
   nav{
	
   }

nav ul {
    margin: 0;
    padding: 0;
}
nav ul li{
	background:#b12c1e;  
	-moz-border-radius:6px;
-webkit-border-radius:4px;
border-radius:4px;

-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* FF3.5+ */
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* Saf3.0+, Chrome */
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* Opera 10.5, IE9, Chrome 10+ */
	position:relative;
	z-index:9999;
	padding:10px 0 10px 0px;
	margin:5px 0px; 
}

nav a {
    display: block;

    text-align: center;
	text-transform:uppercase;
	text-decoration:none;
    font-weight: bold;

    color: white;
    
}

nav a:hover {
    text-decoration: underline;
}


.mbox{
	float:none;
	width:auto;
	padding:10px;
	min-height:180px;
	background:#efefef;
	border:1px dotted #333;
	margin-bottom:30px;
	margin-right:20px;
	}

/* ==============
    MOBILE: Main
   ============== */
#slides{
	display:none;
}
.mappa{
	height:300px;
}
.mappa .title{
top:10px; position:absolute;	
}
.mappa iframe{
	display:none;
}

#example {
	width:auto;
	height:auto;
	margin:0px auto;
	position:relative;
	z-index:0;
	clear:both;
	background:url(../img/slide/agriturismo-marche.jpg) no-repeat;
}
.halloween #example {
	background:url(../img/logo.png) no-repeat;
	width:80%;
	height:250px;
	margin:0px auto;
	position:relative;
	z-index:0;
	clear:both;
	text-indent:-99999px;
	overflow:hidden;
	}

.main{
	width:auto;
	 padding: 30px 0px 0 20px;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
background:#FFF;
}

.halloween .main{
	background:#000;
	color:#FFF;
	border:none;
}

.halloween .main a, .halloween .main h4{
color:rgb(247, 170, 0);
}
.halloween .main h2{
	color:#FFF;
	font-size:2em;
}
.halloween .main p{
	font-size:.9em;
	color:#FFF;
}
.halloween .main article h1{
color:rgb(247, 170, 0);

}

.main article h1{
color:#b12c1e;
font-size:2.5em;
line-height:1.1em;
}



.footer-container footer {

}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Media Queries
   ========================================================================== */

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */
.wrapper {
    width: auto;
    margin:0;
	padding:0 10px 0 10px;
}

    nav{
		height:45px;
		background:#b12c1e;  
	-moz-border-radius:6px;
-webkit-border-radius:4px;
border-radius:4px;

-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* FF3.5+ */
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* Saf3.0+, Chrome */
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.30) ; /* Opera 10.5, IE9, Chrome 10+ */
	position:relative;
	z-index:9999;
	font-size:.7em;
	font-weight:normal;
    }
	
	nav a{
	float: left;
        
        margin: 0 .7%;
        padding: 10px 1%;
        margin-bottom: 0;	
	}

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
	
	.table-wrap {
        border:none;
        width:100%;
       
     }
    .table-wrap div {
        margin:0;
    }
    .row-wrap {
        
        clear:both;
    }
	
	.top-td {
		background:#A62C4B;
        float:left;
        width:25%;
		text-align:center;
        padding:2%;
		min-height:450px;

    }
	.top-td h3{
		font-size:1em;
		margin:0px;
		padding:0px;
		color:#FFF;
	}
	.top-td strong{
		font-size:.8em;
		color:#FFF;
		margin-bottom:20px;
	}
	
	
    .top-td .td {
		margin-top:10px;
		
        width:auto;
		background:#FFF;
		padding-top:20px;
		padding-bottom:20px;
		color:#000;
		
    }
	.top-td .td strong{
		color:#666;
		font-weight:normal;
		font-size:2em;
	}
	.top-td .td b{
		font-size:1.2em;
		color:#900;
		
	}
   
    .clear {clear:both;}
	
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    #slides{
	display:block;
}

#example {
	width:960px;
	height:400px;
	margin:80px auto;
	position:relative;
	z-index:0;
	clear:both;
	background:none;
}

.halloween #example {
background:url(../img/halloweenbg.jpg) no-repeat;
	width:77%;
	height:700px;
	margin:0px auto;
	position:relative;
	z-index:0;
	clear:both;
	text-indent:-99999px;
	overflow:hidden;
}
    .main aside {
        -webkit-box-shadow: 0 0px 10px #aaa;
           -moz-box-shadow: 0 0px 10px #aaa;
                box-shadow: 0 0px 10px #aaa;
			
				-moz-border-radius:6px;
-webkit-border-radius:4px;
border-radius:4px;


position:relative;
	z-index:9999;
	top:-120px;
    padding:0px 24px 0px 20px;
background: #b5d356; /* Old browsers */
background: -moz-linear-gradient(top,  #b5d356 0%, #95bf26 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b5d356), color-stop(100%,#95bf26)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #b5d356 0%,#95bf26 100%); /* IE10+ */
background: linear-gradient(to bottom,  #b5d356 0%,#95bf26 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5d356', endColorstr='#95bf26',GradientType=0 ); /* IE6-9 */

    }

/* ============
    WIDE: Menu
   ============ */

    .title {
      position:absolute; top:-100px; left:-100px; z-index:99999;
    }





#topmenu li a {
display: block;
margin:0px 5px 0px 0px;

font-size:13px;
font-weight:bold;
text-transform:uppercase;
color:#ffffff;

}
  
nav a:hover {
    text-decoration: underline;
}



/* ============
    WIDE: Main
   ============ */
.main{
width:940px !important;
	margin:0 auto;
	 padding: 30px 0px 0 20px;	
}
    .main article {
        float: left;
        width: 65%;
    }

    .main aside {
        float: right;
        width: 22%;
		margin-right:10px;
    }


	.mbox{
	float:left;
	width:43%;
	padding:10px;
	background:#efefef;
	border:1px dotted #333;
	margin-bottom:30px;
	
	}
	section:last-child .mbox{
	margin-right:0px;
	}
	
	.h-mbox{
		float:left;
	width:30%;
	padding:10px;
	margin:0px;
	}
.halloween article footer{
	width:100%;
	padding:10px;
	display:block;
		float:none;
		clear:both;
	}
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

.mappa{
position:relative; height:500px; width:960px; margin:0 auto;	
}
.mappa .title{
top:100px; position:absolute;	
}
.mappa iframe{
display:block;	
}



.halloween .main aside {
	position:relative;
	top:-350px;
    padding:0px 20px 0px 20px;
	background: #000; /* Old browsers */
	color:#FFF;
	margin:0px 20px 20px 0px;
}


    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
	.footer-container {
		padding-left:1px;
		
}
footer.wrapper{
 	width:940px;
	margin:0 auto;
	 padding: 30px 0px 0px 20px;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
background:#FFF url(../img/corinaldofooter.png) bottom center no-repeat;
height:225px;	
}

.halloween .footer-container {
		padding-left:0px;
		
}
.halloween footer.wrapper{
width:940px;
	margin:0 auto;
	 padding: 100px 0px 0px 20px;	
	 border:none;
	 background:#000;
	 height:150px;
}
}

/* ==========================================================================
   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;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}