/* Font BebasNeue per il menu */
@font-face {
	font-family: 'BebasNeue';
	src:    url('media/fonts/BebasNeue-webfont.eot');
	src:    url('media/fonts/BebasNeue-webfont.woff') 	 format('woff'), 
            url('media/fonts/BebasNeue-webfont.ttf') 	format('truetype'), 
            url('media/fonts/BebasNeue-webfont.svg')  	format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MuseoSans-300';
	src:    url('media/fonts/MuseoSans-300.eot');
	src:    url('media/fonts/MuseoSans-300.otf')  format('opentype'),
                url('media/fonts/MuseoSans-300.woff') format('woff'), 
                url('media/fonts/MuseoSans-300.ttf')  format('truetype'), 
                url('media/fonts/MuseoSans-300.svg')   format('svg');
	font-weight: 300;
	font-style: normal;
}

@font-face {
    font-family: 'MuseoSans-500';
	font-style: normal;
  	font-weight: 500;
    src: url('media/fonts/MuseoSans_500.otf') format("opentype");
}

/* Font ECONOMICA da Google */
@font-face {
  font-family: 'Economica';
  font-style: normal;
  font-weight: 700;
  src: local('Economica Bold'), local('Economica-Bold'), url(http://themes.googleusercontent.com/static/fonts/economica/v1/UK4l2VEpwjv3gdcwbwXE9HhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
  font-family: 'Economica';
  font-style: italic;
  font-weight: 700;
  src: local('Economica Bold Italic'), local('Economica-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/economica/v1/ac5dlUsedQ03RqGOeay-3TqR_3kx9_hJXbbyU8S6IN0.woff) format('woff');
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

@media (max-width: 979px) {
	/* Nasconde quando si riduce la finestra */
	#slider {
		display: none;
	}
	#top-header-dx {
		display: none;
	}
}

html, body { margin: 0; padding: 0 }
html {
    height: 100%; 
    margin-bottom: 1px /* per la scrollbar laterale in Opera e Mozilla*/
}

body {
    padding-bottom: 0px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1em;
    color: #888;
    background: #999 url('/media/bg.png');
    background-attachment: fixed;
}

h1 { margin: 0px; font-size: 2.1em; font-family: "Lucida Sans", sans-serif; color: #224E8B }
h2 { margin: 0px; font-size: 1.7em; font-family: "Lucida Sans", sans-serif; color: #FE831C }
h3 { margin: 0px; font-size: 1.4em; font-family: "Lucida Sans", sans-serif; color: #54BAE2 }
h4 { margin: 0px; font-size: 1.2em; font-family: "Lucida Sans", sans-serif; color: #2D6987 }

/* Modifica di bootstrap */

textarea, 
input[type="text"], 
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"], 
.uneditable-input {
	border-radius: 0px;	
}

.page-header {
    border-bottom: 2px solid #9C642C;
    margin: 0 0 20px;
}

.page-title {
	font-family: "Open Sans", Arial, Helvetica;
	font-size: 2em;
	color: #9C642C;
}

.lesson-title {
	font-family: Arial;
	font-size: 1.8em;
	font-weight: 500;
	background: #fff;
	color: #2d296b;
	margin-left: 0px;
	padding: 0px 4px;
	line-height: 1.8em;
}

.accordion-heading {
	background: #ececec;
}

.accordion a:hover, a:focus, a:active {
    text-decoration: none;
	color: #B94A48;
}

.img-polaroid {
	padding: 2px;
}

label {
	font-family: Arial, "Open Sans", Helvetica;
}



/* intestazione corso nel catalogo */
.media-title {
	font-family: "Open Sans", Arial;
	font-size: 1.7em; 
	font-weight: normal; 
	padding-top: 0px; 
	line-height: 33px; 
	margin-bottom: 10px; 
	color: #2D6987;
}

.media-title a:hover, a:active, a:focus {
	color: #B94A48;
	text-decoration: none;
}

.label-wide {
	font-size: 1em; 
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.label-big {
	font-family: "Open Sans", Arial;
	font-size: 15px; 
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 3px;
	padding-bottom: 4px;
	font-weight: bolder;
	margin-bottom: 2px;
}

.quiz-question {
	color: #006699;
	font-size: 1.2em;
	line-height: 1.2em;
	font-family: "Open Sans", Arial;
}

.quiz-answer {
	font-size: 1.1 em;
	line-height: 1.2em;
	font-family: "Open Sans", Arial;
}

.approval-question {
	color: #006699;
	font-size: 1.2em;
	line-height: 1em;
	font-family: "Lucida Sans", sans-serif;
	margin-bottom: 4px;
}

/* BOX STILE METRO */
.box_metro {
    font-family: "Lucida Sans", sans-serif;
    font-size: 1.4em;
    padding: 12px 6px 12px 6px;
	margin-bottom: 4px;
}

.row_metro {
    padding: 0px;
    margin-bottom: 12px;
    min-height: 4px;
    background: #ccc;
}

.box_metro_icon { 
    float:right;
    margin-top: -36px;
    margin-right: -6px;
    height: 48px;
    width: 48px;
    overflow: hidden;
    margin-bottom: 6px;
}

.box_metro_p {  line-height: 1.2; font-size: 1em; font-family: MuseoSans-300, "Lucida Sans", sans-serif; color: #888; }

.orange  { background: #F09609; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
a.orange:hover { background: #aa6806; }
.blue    { background: #1BA1E2; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.green   { background: #339933; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.brown   { background: #A05000; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
a.brown:hover { background: #552b00; }
.red     { background: #E51400; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.purple  { background: #A200FF; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.magenta { background: #FF0097; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.teal    { background: #00ABA9; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.pink    { background: #E671B8; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }
.lime    { background: #8CBF26; color: #2e2e2e; text-shadow: none; font-family: Arial, "Open Sans"; }
a.lime:hover { background: #6f951e; color: #FFF; }
.gray    { background: #dbdbdb; color: #FFF; text-shadow: none; font-family: Arial, "Open Sans"; }

.boxHtml {
    height: 100px;
    overflow: auto;
    padding: 4px;
    border: 1px solid #ccc;
	}
	
.widget {
	background: none repeat scroll 0 0 #fff;
	border: 2px solid #e7a50a;
    box-shadow: none;
    margin-bottom: 0.618em;
    padding: 8px 8px 6px 8px;	
}

.widget > h3 {
    border-bottom: 1px solid #E6E6E6;
	padding: 0 0 4px;
    color: #694624;
    /*font: 300 1.3em/1em 'Economica',arial,sans-serif;*/
    font: 600 1em "Open Sans";
	margin-bottom: 4px;
}

.widget > a {
	font-size: 0.75em;
}

.widget > a:hover {
	color: #B94A48;
	text-decoration: none;
}


/* PAGE -----------------------------------------------------------------------------------------*/
#page {
 	background: #fafafa;
 	margin-left: 10%; 
 	margin-right: 10%;
 	margin-top: 8px;
 	margin-bottom: 8px;
 	border: 1px solid #f2f2f2;
 	-webkit-box-shadow: 0px 0px 10px 2px rgba(66,66,66,1);
	-moz-box-shadow: 0px 0px 10px 2px rgba(66,66,66,1);
	box-shadow: 0px 0px 10px 2px rgba(66,66,66,1);
}

/* TOP ------------------------------------------------------------------------------------------*/
#top {
 
}
	
/* HEADER ---------------------------------------------------------------------------------------*/
#header {
  -webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
    padding-top: 0px;
    border-bottom: 1px solid #dedede;
    }

/* WRAPPER --------------------------------------------------------------------------------------*/
#wrapper {
   padding-top: 20px;
    padding-bottom: 20px;
    background: #fafafa;
    min-height: 430px;
    }



/* LOGO -----------------------------------------------------------------------------------------*/
#logo {
    position: absolute;
    top: 10px;                  
    left: 10px; 
    overflow: hidden;
    width:  200px;
    height: 80px;
	}

/* NAVIGATOR ------------------------------------------------------------------------------------*/
#navigator { 
    margin: 0px;
    height: 42px;
    opacity: 0.8;
    z-index: 10000;
    padding-top: 2px;
    background: #6961a8;
    }

#social {
	margin: 0px;
    height: 44px;
    padding-top: 6px;
}

#slider {
	margin-top: 12px;
	margin-bottom: 12px;
} 
  
/* CONTAINER ------------------------------------------------------------------------------------*/
#contenuto { 
    min-height: 400px;
	padding: 12px 0px;
    }

/* FOOTER ---------------------------------------------------------------------------------------*/
#footer { 
    color: #FFF;
     background: #6961a8;
    }
#footer p { font-family: "Verdana", Arial; }

.credits { font-family: "Verdana", Arial }
.credits, .credits>a { font-size: 12px; color: #ffffff; padding: 4px; font-weight: normal; }
.credits>a:hover { font-weight: bold;  text-decoration: none; }

/* SOCIAL MEDIA ICON ----------------------------------------------------------------------------*/
a.social-media-icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin-right: 8px;
	background-position: 0 0;
	overflow: hidden;
	text-indent: -1000px;
	-moz-transition: background-position .20s linear ;
	-webkit-transition: background-position .20s linear ;
	-o-transition: background-position .20s linear ;
	transition: background-position .20s linear ;
}

a.social-media-icon:hover {	background-position: 0 -32px; }

.facebook    { background-image: url(media/social/facebook.png); }
.twitter     { background-image: url(media/social/twitter.png); }
.youtube     { background-image: url(media/social/youtube.png); }
.google-plus { background-image: url(media/social/google-plus.png); }
.email       { background-image: url(media/social/email.png); }

/* LOADER AJAX ----------------------------------------------------------------------------------*/
#div-loader {  
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:5000;
    /*background-color: #888;
    opacity: .6; */
 }

.div-loader-inside {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px; /* -1 * image width / 2 */
    margin-top: -35px;  /* -1 * image height / 2 */
    display: block;   
	width: 300px; 
	height: 70px; 
	background-color: #303030;
    opacity: .8;
} 
 .div-loader-image {
 	width: 50px;
	height: 50px;
	padding-left: 125px;
	padding-top: 10px;
}

.grigio {
  -webkit-transition: all .2s ease-in-out;
       -o-transition: all .2s ease-in-out;
          transition: all .2s ease-in-out;
}

.grigio > a > img,
.grigio > img {
	  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      /*-ms-transition: all 1s ease;*/
          transition: all 1s ease;
}

.grigio > a > img:hover,
.grigio > img:hover { 
	opacity: 0.7; 
	filter: alpha(opacity=70); 
	-webkit-filter: grayscale(100%);
}

.grigio > a {
	text-decoration: none;
}

/* BOTTONI */
.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    font-family: Arial, "Open Sans";
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}
.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}
.btn-warning {
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ec971f;
  border-color: #d58512;
}
.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #c9302c;
  border-color: #ac2925;
}
.btn-primary {
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #3071a9;
  border-color: #285e8e;
}

/* --- ALTRI BOTTONI --- */
.btn-viola {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #cb3de4;
	border-color: #cb3de4;
}
.btn-viola:hover,
.btn-viola:focus,
.btn-viola:active,
.btn-viola.active,
.btn-viola.disabled,
.btn-viola[disabled] {
	color: #FFFFFF;
	background-color: #9f22d5;
	border-color: #9f22d5;
}

.btn-porpora {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #f12792;
	border-color: #f12792;
}
.btn-porpora:hover,
.btn-porpora:focus,
.btn-porpora:active,
.btn-porpora.active,
.btn-porpora.disabled,
.btn-porpora[disabled] {
	color: #FFFFFF;
	background-color: #bc0c68;
	border-color: #bc0c68;
}

.btn-oro {
	color: #FFFFFF;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #D6A93E;
	border-color: #D6A93E;
}
.btn-oro:hover,
.btn-oro:focus,
.btn-oro:active,
.btn-oro.active,
.btn-oro.disabled,
.btn-oro[disabled] {
	color: #FFFFFF;
	background-color: #9f7a22;
	border-color: #9f7a22;
}

.btn-blu {
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #2d296b;
    border-color: #2d296b;
}

.btn-blu:hover,
.btn-blu:focus,
.btn-blu:active,
.btn-blu.active,
.btn-blu.disabled,
.btn-blu[disabled] {
    color: #FFFFFF;
    background-color: #2d296b;
    border-color: #2d296b;
}

.btn-blu-verde {
	color: #FFFFFF;
	text-shadow: none;
	background-color: #0099CC;
	border-color: #0099CC;
}
.btn-blu-verde:hover,
.btn-blu-verde:focus,
.btn-blu-verde:active,
.btn-blu-verde.active,
.btn-blu-verde.disabled,
.btn-blu-verde[disabled] {
	color: #FFFFFF;
	background-color: #008C46;
	border-color: #008C46;
}
.btn-blu-verde.disabled,
.btn-blu-verde[disabled] {
	color: #FFFFFF;
	background-color: #0082ac;
	border-color: #0082ac;
}

.btn-arancio {
	color: #FFFFFF;
	text-shadow: none;
	background-color: #9C642C;
	border-color: #7a4f23;
}
.btn-arancio:hover,
.btn-arancio:focus,
.btn-arancio:active,
.btn-arancio.active,
.btn-arancio.disabled,
.btn-arancio[disabled] {
	color: #FFFFFF;
	background-color: #c17c37;
	border-color: #9C642C;
}
.btn-arancio.disabled,
.btn-arancio[disabled] {
	color: #FFFFFF;
	background-color: #9C642C;
	border-color: #7a4f23;
}

/* Timer */
.days {
  float: left;
  margin-right: 4px;
}
.hours {
  float: left;
  font-weight: bold;
}
.minutes {
  float: left;
  font-weight: bold;
}
.seconds {
  float: left;
  font-weight: bold;
}
.title {
	float: left;
}
.clearDiv {
  clear: both;
}

/* VAI SU */
#vai-su {
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none; 
    width: 36px;
    height: 36px;
    z-index: 16000;
    background: #ccc url("media/gotop.png");
    opacity: .9;
}

#vai-su:hover {
	background: #ccc url("media/gotop_blue.png");
}
