/*
    Created on : 30-nov-2014, 22.46.19
    Author     : Daniele Cuder
*/

/* IMPORTAZIONE FONTS E DEFINIZIONE font-family */
@font-face {
    font-family: mySans;
    src: url(/css/fonts/OpenSans-Regular.ttf) format('truetype');
}
@font-face {
    font-family: mySans;
    src: url(/css/fonts/OpenSans-Bold.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: mySans;
    src: url(/css/fonts/OpenSans-Italic.ttf) format('truetype');
    font-style: italic;
}
@font-face {
    font-family: myLight;
    src: url(./fonts/OpenSans-Light.ttf) format('truetype');
}
@font-face {
    font-family: myLight;
    src: url(./fonts/OpenSans-LightItalic.ttf) format('truetype');
    font-style: italic;
}
@font-face {
    font-family: mySerif;
    src: url(./fonts/KePTSerif-Regular.ttf) format('truetype');
}
@font-face {
    font-family: mySerif;
    src: url(./fonts/KePTSerif-Bold.ttf) format('truetype');
    font-weight: bold;
}
@font-face {
    font-family: mySerif;
    src: url(./fonts/KePTSerif-Italic.ttf) format('truetype');
    font-style: italic;
}

/* ELEMNTI GENITORI */
html, body, p, div, td{
    font-family: mySans;
    font-size: 14px;
    color:#383838;
}
body{
    background-color: #fff;
    margin: 0 auto;
}

/* CONTENITORI */

header{       
       padding:2em 0 0 10em;
}
    
nav{
    font-family: myLight;
    display: table; 
}
.separatorUP{
    background: -webkit-linear-gradient(#fff, #ccc); /* For Safari 5.1 to 6.0 */
    background: -moz-linear-gradient(#fff, #ccc); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#fff, #ccc); /* Standard syntax (must be last) */
    text-align: center;
    padding: 3px;
}
.separatorDOWN{
    background: -webkit-linear-gradient(#ccc, #fff); /* For Safari 5.1 to 6.0 */
    background: -moz-linear-gradient(#ccc, #fff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ccc, #fff); /* Standard syntax (must be last) */
    text-align: center;
    padding: 3px;
}
.subHeaderHR{
    background-color:#004D91;
    line-height: 0.5em;
}
article{
    /*margin:0 auto;*/
    width:100%;
    margin-bottom: -5px;
}

#content{
    
}
#orario{
    font-family: myLight;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
    background-color: rgba(0,0,0,0.30);
    color:#fff;
    text-shadow: 1px 1px #111;
    padding: 1em 0;
    position:absolute;
    width: 100%;
}
footer{
    text-align: center;
    margin-bottom: 3em;
    font-size: 0.8em;
}

.clear{
    clear:both;
}
.padded{
    padding: 2em;
}
.textCentralBox{
    margin:2em 10em 1em 10em;
}
/* LINKS */
a, a:visited, p a, p a:visited{
    text-decoration: underline;
    color: #004D91;
}
/* MENU DI NAVIGAZIONE */
ul#menu{
    display: table-cell;
    vertical-align: middle;
    padding-top: 1.2em;
}

ul#menu a, ul#menu a:visited{
    color:#444;
    text-decoration: none;
    text-transform: uppercase;
}
ul#menu li{
    list-style: none;
    display: inline;
    padding: 3em;
}

ul#menu li:hover{
    border-bottom: solid 2px #c00;
    background: linear-gradient(#fff, #eee); /* Standard syntax (must be last) */
}

/* INTESTAZIONI */
h1{
    font-size: 3em;
    font-family: myLight;
    padding:0;
    line-height: 1em;
    color:#004D91;
}
h2{
    font-family: myLight;
    font-size: 1.5em;
    font-weight: normal;
}
h3{
    font-family: mySans;
    font-size: 1em;
    font-weight: bold;
}
/* IMMAGINI */
.bordo{
    border: solid 1px #444;
}

.fitPage{
    width: 100%;
}
figure{
    margin:0;
    text-align: right;
}
figcaption{
    font-size:1em;
    font-family: mySerif;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 1em;
}

#logo{
    max-width: 120px;
    vertical-align: text-bottom;
    margin-top: 40px;
    margin-bottom: 20px;
}
/* TABELLE */
table{
    
}
tr{
    
}
td{
    
}

/* FORMS */
input, textarea{
    border:solid 1px #e4e4e4;
    background-color: #ececec;
    padding:0.5em;
}
button{
    padding:0.5em;
    background-color: #004D91;
    color:#fff;
    /*border:solid 1px #ddd;*/
    border-radius: 1em;
    cursor: pointer;
}
legend{
    font-size: 0.9em;
    font-weight: bold;
}
fieldset{
    border: none;
    margin-bottom: 1em;
}

/* CLASSI DA RIUTILIZZARE */
.piccolo{font-size: 0.75em}
.grande{font-size: 1.5em}
.rosso{color:#c00;}
.verde{color:#0c0;}
.bianco{color:#fff;}
.blu{color:#004D91;}
.bgRosso{background-color: #c00;}
.bgVerde{background-color:#0c0;}
.bgBianco{background-color:#fff;}
.bgGrigio{background-color: #333;}
.sx{text-align: left;}
.dx{text-align: right;}
.centro{text-align: center;}
.floatLeft{float: left;}
.inline{display: inline;}
.bottom{vertical-align: bottom;}

.redHighlight{
	background-color:rgba(200,0,0,0.5);
	border: solid 1px #c00;
}

.bordoRosso{
    border-top: solid 1px red;
    border-bottom: solid 1px red;
}
.bordoGrigio{
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
}

#alertMap{
    z-index: 999;
    padding: 1em;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    position:absolute;
    bottom:50px;
    left:5%;
    width:90%;
    border-radius: 100%;
    display: none;
    margin: 0 auto;
}
#closeButton{
    font-size: 1.5em;
    position: absolute;
    bottom:0px;
    right:10%;
    cursor: pointer;
}


/* MEDIA QUUERY PER SCHERMI PICCOLI */
@media (max-width: 760px) {
    header{
        /*padding: 2em 1em 1em 1em;*/
    }
    ul#menu{
        vertical-align: top;
    }
    ul#menu li{
        list-style: none;
        display: list-item;
        padding-bottom:0.5em;
    }
    .textCentralBox{
    	margin:0 1em 1em 1em;
	}
}

