@import url('https://fonts.googleapis.com/css?family=Old+Standard+TT:400i');
@font-face {
	font-family: "MuseoSans";
	src: url(../fonts/MuseoSans/MuseoSans-100.otf) format('opentype');
	font-weight: 200;
}
@font-face {
	font-family: "MuseoSans";
	src: url(../fonts/MuseoSans/MuseoSans-300.otf) format('opentype');
	font-weight: normal;
}
@font-face {
	font-family: "MuseoSans";
	src: url(../fonts/MuseoSans/MuseoSans-500.otf) format('opentype');
	font-weight: bold;
}

@font-face {
	font-family: "AvenirCond";
	src: url(../fonts/avenir-cond/AvenirNextLTPro-Cn.otf) format('opentype');
}

html {
	position: relative;
	min-height: 100%;	
}

body {
	font-family: "MuseoSans", Sans-serif;
	font-weight: 200;
	font-size: 18px;
	color: #444;
	background-color: #ECECEC;
	padding-bottom: 360px;
}

b {
	font-weight: bold !important;
}

table.navBar {
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	display: table;
}

nav {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

a {
	text-decoration: none;
	color: #E77;
}

td.navBar {
	vertical-align: top;
	padding: 25px;
	padding-top: 20px;
	padding-bottom: 0px;
}

div.navBar {
	min-width: 640px;
	width: 100%;
	margin-bottom: 0px;
}

input.navBar {
	transition: background-color .2s ease-in-out;
	font-family: "MuseoSans", Sans-serif;
	font-size: 18px;
	text-align: center;
	padding: 10px;
	color: white;
	background-color: rgba(200, 200, 200, 0.3);
	border: none;
	border-radius: 8px;
	width: 100%;
	margin-bottom: 10px;
}
input.navBar:focus {
	background-color: rgba(255, 255, 255, 0.8);
	top: 23px;
	color: #333;
}

.condensed {
	font-family: "AvenirCond", Sans-serif;
}

.navBarMini {
	transition: border-bottom .2s ease-in-out;
	border-bottom: solid 5px transparent;
	padding-bottom: 15px; 
	padding-top: 15px;
	width: 20%; 
	cursor: pointer;
	text-align: center;
}
.navBarMini:hover {
	border-bottom: solid 5px #AAA;
}

.navBarAttivo {
	border-bottom: solid 5px white !important;
}

img.navBar {
	height: 50px;
	border-radius: 5px;
}

.nomeSerie {
	font-size: 60px;
	color: white;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.container {
	width: 80%;
	margin: auto;
	min-width: 900px;
	max-width: 1300px;
}

.meseAttuale {
	font-size: 60px;
}

.corpoGiorno {
	width: 97%;
	text-align: center;
	background-color: #DDD;
	margin-bottom: 20px;
	border-radius: 5px;
	padding-top: 8px;
	padding-bottom: 2px;
}

.corpoGiorno b {
	display: block;
	padding-bottom: 4px;
	font-size: 19px;
}

.episodiGiorno {
	width: 100%;
	font-size: 15px;
	text-align: left;
	font-family: "AvenirCond";
}

.episodioGiorno {
	margin-bottom: 3px; 
	margin-top: 2px; 
	width: 96%; 
	border-radius: 5px; 
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15); 
	background: white;
	color: #222;
	cursor: pointer;
	table-layout: fixed;
}

.episodioVisto {
	color: #AAA !important;
	text-decoration: line-through;
	background-color: #EAEAEA;
}
.episodioVisto .blue {
	color: #AAA !important;
}
.episodioVisto .red {
	color: #AAA !important;
}
.episodioVisto .orangered {
	color: #AAA;
}
.episodioVisto .green {
	color: #AAA;
}

.blue {
	color: #1E90FF;
}

.red {
	color: #EF5350;
}

.orangered {
	color: orangered;
}

.green {
	color: green;
}

.checkNonVisto {
	transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out, color .2s ease-in-out;
	background-color: white;
	cursor: pointer;
}
.checkNonVisto:hover {
	/*background-color: rgba(20, 255, 20, 0.1);*/
	color: #4CAF50;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
}
.checkNonVisto:active {
	box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.4);
	background-color: #EEE;
}

div#sfondoRicerca {
	position: absolute;
	top: 127px;
	left: 0px;
	width: 100%;
	min-height: 100%;
	background-color: rgba(250, 250, 250, 0.94);
	display: none;
	padding-top: 50px;
	z-index: 10000;
}

.titoloMedio {
	font-size: 33px;
	letter-spacing: 1.5px;
	font-weight: bold;
}

table.ricercaUtente {
	width: 100%;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	background-color: white;
	margin-top: 15px;
}
img.ricercaUtente {
	height: 70px;
	border-radius: 50%;
	margin: 10px;
}

div.ricercaSerie {
	display: table-cell;
	vertical-align: bottom;
	width: 180px;
	height: 250px;
	border-radius: 4px;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	background-image: url(../img/poster.jpg);
	background-size: cover;
	background-position: center;
}

div.ricercaSerieTitolo {
	padding: 10px;
	color: white;
	background-color: rgba(0, 0, 0, 0.7);
	font-size: 16px;
	font-weight: bold;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}

.coverRicercaSerie {
	margin-top: 15px;
	margin-right: 15px;
	display: inline-block;
	cursor: pointer;
}

button.btnInfoSerie, input.btnInfoSerie {
	width: 93%;
	padding: 8px;
	color: white;
	border-radius: 5px;
	border: none;
	font-family: "MuseoSans";
	background-color: #BBB;
	font-size: 16px;
	cursor: pointer;
	margin-top: 5px;
	margin-bottom: 10px;
}

div#foot {
	margin-top: 50px;
	background-color: rgba(20, 20, 20, 0.91);
	color: #EEE;
	padding-top: 30px;
	padding-bottom: 20px;
	margin-bottom: 0px;
	height: 300px;
	width: 100%;
	position: absolute;
	bottom: 0;
}

.btnAggiuntaSerie {
	font-size: 18px;
	letter-spacing: 0px;
	font-weight: normal;
	float: right;
	margin-bottom: 0px;
	margin-left: 10px;
	padding: 10px; 
	padding-left: 12px; 
	padding-right: 12px; 
	border-radius: 4px; 
	background-color: #CCC;
	color: white;
	cursor: pointer;
}

div.serieVoto {
	transition: color .2s ease-in-out, background-color .2s ease-in-out;
	display: inline-block;
	width: 30px;
	height: 30px;
	text-align: center;
	font-size: 15px;
	margin-right: 4px;
	color: #999;
	border: solid 1px #999;
	border-radius: 50%;
	cursor: pointer;
}
div.serieVoto:last-child {
	margin-right: 0px;
}
div.serieVoto:hover {
	color: white;
	background-color: rgba(0, 0, 0, 0.4);
}

div.serieVotoAttivo {
	color: white;
	background-color: rgba(0, 0, 0, 0.4);
}

td.nomeSettimana {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: #717171;
	width: 13%;
	padding-right: 10px;
}

a.btnSub {
	border: none;
	border-radius: 5px;
	padding: 4px;
	font-size: 15px;
	text-decoration: none;
	display: block;
	text-align: center;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
	margin-bottom: 10px;
	margin-right: 25px;
}

.boxWhite {
	padding: 20px; 
	width: 350px; 
	margin-top: 40px; 
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2); 
	background-color: rgba(255, 255, 255, 0.9); 
	border-radius: 3px;
}

.boxWhite input {
	width: 90%;
	display: block;
	padding: 10px;
	font-family: "MuseoSans";
	font-size: 18px;
	border-radius: 6px;
	border: solid 1px #CCC;
	margin-bottom: 15px;
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.boxWhite input[type='submit'], .boxWhite input[type='button']  {
	background-color: #4CAF50;
	color: white;
	border: none;
	border-color: #4CAF50;
	cursor: pointer;
}

.btnSocialFoot {
	padding: 8px;
	width: 100%;
	font-size: 16px;
	font-family: "MuseoSans";
	color: white;
	background-color: gray;
	border-radius: 4px;
	border: none;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.btnStagioneSerie {
	transition: background-color .1s ease-in-out;
	padding: 13px;
	cursor: pointer;
	margin-bottom: 6px;
	margin-right: 6px;
	background-color: #DDD;
	border-radius: 2px;
}
.btnStagioneSerie:first-child {
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}
.btnStagioneSerie:last-child {
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}
.btnStagioneSerie:hover {
	background-color: #CCC;
}
.btnStagioneSerie:active {
	background-color: #EEE;
}

a.tunefind {
	text-decoration: none;
	font-size: 15px;
	color: #444;
	display: block;
}
a.tunefind:hover {
	text-decoration: underline;
}

.sfondoBianco {
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.01);
	width: 100%;
	margin-top: 10px;
	padding-top: 16px;
	padding-bottom: 15px;
	background-color: white;
}

input.form {
	width: 100%;
	display: block;
	padding: 8px;
	font-family: "MuseoSans", Sans-serif;
	font-size: 16px;
	border-radius: 4px;
	border: solid 1px #CCC;
	margin-bottom: 10px;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

input.form[type='submit'], input.form[type='button'] {
	transition: box-shadow .3s ease-in-out;
	box-shadow: 0px 0px 0px black;
	width: auto;
	float: right;
	color: white;
	border: none;
	cursor: pointer;
	background-color: #448AFF;
}
input.form[type='submit']:hover {
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.boxSubs {
	width: 140px; 
	height: 130px; 
	margin-top: -180px; 
	margin-left: -140px; 
	background-color: white; 
	position: absolute;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	padding: 10px;
	color: #333;
}

div#tornaMobile {
	height: 10%;
	width: 100%;
	position: fixed;
	bottom: 0;
	left: 0;
	background-color: gray;
	color: black;
	border: solid 3px black;
	z-index: 86;
}
div#tornaMobile:active {
	text-decoration: underline;
}
@media all and (min-height: 1px)   {  div#tornaMobile  { font-size:0.3em;  } }
@media all and (min-height: 100px)   {  div#tornaMobile  { font-size:0.5em;  } }
@media all and (min-height: 200px)   {  div#tornaMobile  { font-size:1em;  } }
@media all and (min-height: 300px)   {  div#tornaMobile  { font-size:2em;  } }
@media all and (min-height: 400px)   {  div#tornaMobile  { font-size:3em;  } }
@media all and (min-height: 500px)   {  div#tornaMobile  { font-size:4em;  } }
@media all and (min-height: 1000px)  {  div#tornaMobile  { font-size:5em;  } }
@media all and (min-height: 1200px)  {  div#tornaMobile  { font-size:8em;  } }