/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
	font-family: "Times new roman", Times, serif;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'LatoLight';
    src: url('Lato-Lig-webfont.eot');
    src: url('Lato-Lig-webfont.eot?#iefix') format('embedded-opentype'),
         url('Lato-Lig-webfont.woff') format('woff'),
         url('Lato-Lig-webfont.ttf') format('truetype'),
         url('Lato-Lig-webfont.svg#LatoLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

h2 { font: 30px/36px 'LatoLight', "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; margin-bottom: .6em; margin-top: 0; padding-top: 20px; color: #333; }
h3 { font: 20px/24px "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; margin-bottom: .4em; margin-top: 0; padding-top: .5em; }
h4 { font: 18px/22px "LatoLight", "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; margin-bottom: .3em; margin-top: 0; padding-top: .4em; }

div.hr {
  height: 2px;
  background: rgb(255, 251, 154) url(../img/hr.png) no-repeat;
  background-size: 415px 2px;
  margin-top: -15px;
}
div.hr hr {
  display: none;
}

p, li, pre { font-family: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif; margin: .6em 0; }

.linkbox {
	float: right;
	right: 0;
	margin-right: -420px;
	margin-top: 4em; 
	width: 338px;
	background: url(../img/linkbox-bottom.jpg) center bottom no-repeat;
	background-size: 338px 400px;
}

.above { margin-top: -11em; }

.aligned { margin-top: 0; }

.linkbox .hdr {
	width: 338px;
	height: 30px;
	background: url(../img/linkbox-top.jpg) center center no-repeat;
	background-size: 338px 30px;
}

.linkbox .hdr p {
	display: inline-block;
	margin: 3px 16px 0 16px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: white;
	text-shadow: 0 1px 1px #333;
}

.linkbox li { margin: 0 0; }

.amico {
	margin: 30px 0 30px 0;
}

.amico img {
	float: left;
	padding-right: 20px;
}

.amico h3 {
	float: left;
	width: 430px;
}

.amico p {
	float: left;
	width: 430px;
}

.amici_php { width: 780px !important; }

.luogo {
	margin: 30px 0 30px 0;
}

.luogo img {
	float: left;
	padding-right: 20px;
}

.luogo p {
	float: right;
	margin-right: 20px;
	width: 430px;
}

.luoghi_php { width: 780px !important; }

.contatti { margin-left: 20px; }
.contatti td { text-align: left; height: 1em; vertical-align: top; }

.foto4 div {
	float:left;
	width: 24%; height:130px; padding: 0 2px; margin-top: 10px;
}

.foto_php { width: 750px !important; }
.foto2_php { width: 750px !important; }

div.foto div {float: left; width: 48%; padding: 40px 5px 20px 5px; text-align:center; vertical-align: middle; }

div.thumbelement { width: 66px; height: 66px; overflow: hidden; display: inline-block; vertical-align: middle; }
div.thumbstrip { width: 650px; padding-left: 10px; padding-bottom: 10px; }
div.thumbstripinner { padding-left: 10px; width: 650px; }
div.thumboverlay { position: relative; top: -66px; margin-bottom: -66px; left: 0; width: 650px; height: 66px; }

.fotoperanno_php { width: 650px !important; }
.fotoanno_php { width: 650px !important; }

.fotoconcerto {float:left; height: 280px; width: 320px; padding:20px 5px 20px 5px;text-align:center;  vertical-align: middle;  }

.fotoconcerto_php { width: 750px !important; }

.concerto_php { width: 750px !important; }

.linkblock { padding: 30px 0 20px 150px; }
.linkblock img { float: left; margin-left: -160px; }
.linkblock .stuff { float: left; width: 150px; margin-left: -160px; }

.dischi_php { width: 750px !important; }

.disco { width: 750px; margin-bottom: 30px; }
.disco td.cover { text-align: center; width: 250px; }
.disco td.num { text-align: right; width: 15px; padding: 0 5px 0 5px; }
.disco td.button { width: 5px; padding: 0 5px 5px 5px; }
.disco td.label { width: 240px; padding: 0 5px 0 5px; }
.disco td.time { width: 5px; padding: 0 5px 0 5px; }
.disco td.button img { width: 16px; height: 16px; }
.disco tr.even { background-color: rgb(255, 255, 180); }


#inheader { height: 72px; width: 920px; margin: auto; }
#menu { height: 30px; background: red url(../img/menu.png); width: 920px; margin: 0 auto; }
.ieborder { width: 1px; }
.ieborder img { width: 1px; height: 30px; margin-top: -1px; }
#container { margin: 0 auto; width: 960px; overflow: hidden; }
#body { width: 920px; margin: 0 auto; background: rgb(255, 251, 154); margin-bottom: -99999px; padding-bottom: 99999px; }
#content { padding: 0 20px 80px 80px; width: 410px; }
.stickingout { float: right; margin-right: -450px; }
#menu table { width: 100%; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 14px; }
#menu td { height: 29px; width: 13%; text-align: center; border-left: solid thin rgba(255, 255, 255, .1); }
#menu td.first { border-left: none; }
#menu td.second { width: 22%; }
#menu td a { color: white; text-decoration: none; }
#footer { clear: both; width: 920px; padding: 8px 0 8px 0; font-size: 12px; margin: auto; background: rgb(255, 0, 0); text-align: center; color: white; }

.concerto { background: url(../img/calendarbg.png) no-repeat; width: 435px; height: 110px; padding: 14px 0 0 13px; }
.concerto .dettagli { float: left; width: 240px; padding: 0 15px 0 15px; font-size: 13px; line-height: 15px; }
.concerto .mappa { float: left; width: 80px; border: solid thin black; padding: 0; font-size: 13px; line-height: 15px; }
.concerto .luogo { float: left; width: 240px; font-size: 13px; line-height: 15px; font-weight: bold; margin-top: .5em; }
.calendar { float: left; width: 55px; height: 57px; background-image: url(../img/calendar.png); background-size: 55px 57px; background-repeat: no-repeat; }
.calendar .month { font-size: 8px; color: #f0f0f0; font-weight: bold; font-family: "Helvetica Neue", Arial, sans-serif; text-align: center; position: relative; top: 3px; left: 11px; width: 35px; text-shadow: 0 1px 1px #333; }
.calendar .day { font-size: 40px; color: #444; font-weight: bold; font-family: "Helvetica Neue", Arial, sans-serif; text-align: center; position: relative; top: -6px; left: 5px; width: 45px; letter-spacing: -2px; }
​​













/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
