body {
	background-image: url("images/sfondo.webp");
	background-repeat: repeat-y;
	background-attachment: fixed;
	background-color: #d6c3b1;
	font-weight: bold;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	overflow-x: hidden;
}
body {
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}
body.fontLoaded {
  font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}
img {
	pointer-events:none;
}
header {
    z-index: 100;
	position: -webkit-sticky;
	position: sticky;
	height: 52px;
	/*width: 101.2%;*/
	background-color: blue;
	margin: -8px -8px 0 -8px;
}
a {
	color: inherit;
	text-decoration: none;
}
.logo {
	margin: 0 0 0 5px;
	content: url('images/logo.png');	
}
@media only screen and (max-width: 630px) {
	.logo {
		max-width: 150px;
	}
	header {
		margin-right: -8px;
	}
}
@media only screen and (max-width: 510px) {
	.logo {
		max-width: 100px;
	}
	header {
		margin-right: -8px;
	}
}
@media only screen and (max-width: 375px) {
	.logo {
		max-width: 80px;
	}
	header {
		margin-right: -8px;
	}
}
.camporicerca {
	font-weight: bold;
	font-size: 16px;
}
input[type=text] {
	width: 50%;
	border: 2px solid #000;
	border-radius: 10px;
	background-color: lightblue;
	background-image: url('images/search.png');
	background-position: 10px 10px;
	background-repeat: no-repeat;
	padding: 12px 20px 12px 40px;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #000;
	opacity:  0.5;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #000;
   opacity:  0.5;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #000;
   opacity:  0.5;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #000;
   opacity:  0.5;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color: #000;
   opacity:  0.5;
}
::placeholder { /* Most modern browsers support this now. */
   color: #000;
   opacity:  0.5;
}
#newMessage {
    margin-left:-8px;
    color:red;
    background-color:black;
    padding:5px;
    border-radius:6px;
    font-size:12px;
}
#loader {
  border: 25px solid #f3f3f3;
  border-radius: 50%;
  border-top: 25px solid blue;
  width: 200px;
  height: 200px;
  -webkit-animation: spin 0.8s linear infinite; /* Safari */
  animation: spin 0.8s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
section {
	margin: 15px 8px;
	border-radius: 10px;
}
section > img {
	margin-right: 0 px;
}
table {
	width: 100%;
	max-width:1100px;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}
table tr {
	word-break: break-word;
}
caption {
	font-size: 25px;
	color: white;
	padding: 10px;
	background-color: #373636;
	border-radius: 10px;
}
tr:nth-child(2) td:first-child {
	border-top-left-radius: 15px; 
	-moz-border-radius-topleft:15px;
	-webkit-border-top-left-radius:15px;
}
tr:nth-child(2) td:last-child {
	border-top-right-radius: 15px; 
	-moz-border-radius-topright:15px;
	-webkit-border-top-right-radius:15px;
}
tr:nth-child(3) td:first-child {
	/*border-bottom-left-radius: 15px; */
}
tr:nth-child(3) td:last-child {
	/*border-bottom-right-radius: 15px;*/
}
tr:last-child td:first-child {
	border-bottom-left-radius: 15px; 
	-moz-border-radius-bottomleft: 15px; 
	-webkit-border-bottom-left-radius: 15px; 
}
tr:last-child td:last-child {
	border-bottom-right-radius: 15px; 
	-moz-border-radius-bottomright: 15px; 
	-webkit-border-bottom-right-radius: 15px; 
}
tr:not(:first-child) {
	background-color: white;
}
div.freccia {
	float: right;
	content: url('images/freccia.png');
}
.login {
	margin: 0;
	font-size: 25px;
	text-align: center;
}
input[type=password] {
	width: 80% !Important;
	border-radius: 10px;
}
.registrati {
	margin: 10px 0 10px 0;
	font-size: 13px;
}
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  color: white;
  border: none;
  cursor: pointer;
  top: -5px;
  right: 28px;
}
/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  border: 3px solid black;
  z-index: 11;
}
/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: lightblue;
  text-align: left;
}
/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}
/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  outline: none;
}
/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
}
.sidepanel {
  width: 0;
  position: fixed;
  z-index: 1002;
  height: 82.4%;
  top: 52px;
  right: 0;
  background-color: lightblue/*#111*/;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft:10px;
  -webkit-border-top-left-radius:10px;
  border: 3px solid black;
}
.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: black/*#818181*/;
  display: block;
  transition: 0.3s;
}
.sidepanel a:hover {
  color: white/*#f1f1f1*/;
}
.sidepanel .closebtn {
  position: absolute;
  top: 8%;
  right: 25px;
  font-size: 36px;
  margin-top: -40px;
}
.openbtn {
  position: fixed;
  top: 52px;
  right: 0;
  font-size: 20px;
  cursor: pointer;
  background-color: black/*#111*/;
  color: white;
  padding: 10px 15px;
  border: none;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft:10px;
  -webkit-border-top-left-radius:10px;
  z-index:1001;
}
.openbtn:hover {
  background-color:#444;
}
.popup {
	position: fixed;
	bottom: 0;
	/*height: 90px;
	width: auto;
	margin: 10px;
	background-color: #373636;*/
	padding: 5px;
	border-radius: 5px;
	z-index: 99999;
}
.exit {
	float: right;
	cursor: pointer;
}
footer {
	position: relative;
	bottom: -8px;
	background-color: blue;
	margin: 15px -8px 0 -8px;
	border-top: 5px solid;
}
.show {
    margin-bottom: 0px;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-o-user-select: none; 
}
.show2 {
    margin-bottom: -40px!Important;
}
.spoiler {
	/*width: 97%;*/
	border: 2px inset grey;
	padding: 5px;
	margin: 10px;
}
.normal {
	font-weight: normal;
}
.legendaEpisodi {
	border-collapse: separate !Important;
	background-color: #DCDCDC;
	border: 4px solid #373636;
	box-shadow: 1px 2px 2px #3F2224;
	box-shadow: inset 0 0 4px #3F2224;
	border-radius: 10px;
}
.spazioBottoni {
    padding:10px;
}
.bottone {
  position:relative;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 20px;  
  background-color: #156BC1;
  color: #CCD6E1;
  border-radius: 4px; 
  padding:5px;
  margin: -10px 10px 0 0;
}
/* bubbles */
.bottone::before {
  content: '';
  pointer-events: none;
  opacity: .6;
  background:
    radial-gradient(circle at 20% 35%,  transparent 0,  transparent 2px, #CCD6E1 3px, #CCD6E1 4px, transparent 4px),
    radial-gradient(circle at 75% 44%, transparent 0,  transparent 2px, #CCD6E1 3px, #CCD6E1 4px, transparent 4px),
    radial-gradient(circle at 46% 52%, transparent 0, transparent 4px, #CCD6E1 5px, #CCD6E1 6px, transparent 6px);
  width: 100%;
  height: 100%;
  top: 18px;
  left: 0;
  position: absolute;
  animation: bubbles 2s linear infinite both;
}
.bottone:focus {
	outline: none;
}
@keyframes bubbles {
  from {
    transform: translate();
  }
  to {
    transform: translate(0, -66.666%);
  }
}
.frecciasx {
	float: left;
	margin: 1px 5px 0 0;
	content: url('images/frecciasinistra.png');	
}
.frecciadx {
	float: right;
	margin: 1px 0 0 5px;
	content: url('images/frecciadestra.png');	
}
/* Bottone Download Episodi */
.bnEp {
	background-image: linear-gradient(to right, #006175 0%, #00a950 100%);
	border-radius: 40px;
	box-sizing: border-box;
	color: #00a84f;
	height: 50px;
	font-size: 1.4em;
	width: 100%;
	cursor:pointer;
}
.bnEp:hover {
	color: #fff;
}
.bnEpspan {
	font-size: 15px;
	font-weight: bold;
}
.bnEp .bnEpspan {
	align-items: center;
	background: #0e0e10;
	border-radius: 40px;
	display: flex;
	justify-content: center;
	height: 100%;
	transition: background 0.5s ease;
}
.bnEp:hover .bnEpspan {
	background: transparent;
}
.btn {
    position: relative;
    display: inline-block;
    width: 277px;
    height: 50px;
    font-size: 1em;
    font-weight: bold;
    line-height: 60px;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
    text-decoration:none;
}
.btn svg {
    position: absolute;
    top: 0;
    left: 0;
}
.btn svg rect {
    stroke-width: 4;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}
.btn span{
  background: rgb(255,130,130);
  background: -moz-linear-gradient(left,  #54aedb 0%, #061478 100%);
  background: -webkit-linear-gradient(left,  #54aedb 0%,#061478 100%);
  background: linear-gradient(to right,  #54aedb 0%,#061478 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54aedb', endColorstr='#061478',GradientType=1 );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn:hover svg rect {
    stroke-width: 4;
    stroke-dasharray: 196, 543;
    stroke-dashoffset: 437;
}
/* CAPITOLI */
.open {
    max-width: 100% !important;
    height: auto !important;
	image-rendering: -webkit-optimize-contrast !important;
}
img[class^='page'], img[class*='page'] {
    max-width: 100% !important;
    height: auto !important;
}
img {
    image-rendering: optimizeQuality;
    -ms-interpolation-mode: bicubic;
    border:none;
}
#page {
    margin:10px auto;
    margin-top:0;
    overflow:visible;
    width:100%;
	max-width:1100px;
    position:relative;
    background-color: #072351;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
}
#page .inner {
    margin: 0 auto;
    position:relative;
    text-align:center;
}
#page .inner > a > img {
    margin:0 auto;
    display:block;
    z-index:1000;
}
#movimento1 {
    position:absolute;
    width:52%;
    height:100%;
	margin-left:-5px;
    left:0;
    z-index:3;
}
#movimento2 {
    position:absolute;
    width:53%;
    height:100%;
	margin-right:-5px;
    right:0;
	top:0;
    z-index:3;
}
.frecciadxC {
    position:absolute;
    top:50%;
	width:20px;
    right:-11px;
    z-index:1000;
}
.frecciasxC {
    position:absolute;
    top:50%;
	width:20px;
    left:-11px;
    z-index:1000;
}
.topbar {
	display: flow-root;
    color:#FFF;
    width:100%;
	max-width:1100px;
    margin:0 auto;
    font-size:14px;
    margin-top:10px;
    /*position:relative;*/
    background:#072351;
    /*height:40px;*/
    border-top-left-radius:5px;
    border-top-right-radius:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-top-right-radius:5px;
	-moz-border-radius-topleft:5px;
	-webkit-border-top-left-radius:5px;
}
.topbar_left {
    float:left;
	padding: 12px 10px 9px 10px;
}
.topbar_right {
    float:right;	
	padding: 11px 10px 9px 0;
}
.topbar_right div {
    float:right;
}
.text {
    font-size:15px!important;
}
.dropdown_parent .text {
    /*font-size:16px;*/
    background-color: #485884;
    border:1px solid #fff;
    padding:6px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    margin-top:-6px;
    cursor: pointer;
}
.dropdown_parent:hover ul.dropdown {
    display:block;
}
ul.dropdown {
    display:none;
    color:#fff;
    background:#0b3b87;
    /*font-size:14px;*/
    position:absolute;
    /*top:23px;*/
	/*right:4%;*/
    /*line-height:120%;
    width:260px;
    max-height:400px;
    overflow:auto;*/
	margin:26px 0 0 -35px;
    overflow-x:hidden;
    z-index:1000;
    padding:6px 5px;
    list-style: none;
    border-bottom:1px solid #fff;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    border-left:1px solid #fff;
    border-right:1px solid #fff;
}
.dropdown_right ul.dropdown {
    /*right:0;*/
}
/* Works on Firefox */
* {
  scrollbar-width:15px;
  scrollbar-color:skyblue #000066;
}
*::-webkit-scrollbar {
  width:15px;
}

*::-webkit-scrollbar-track {
  background:#000066; /* color of the tracking area */
}

*::-webkit-scrollbar-thumb {
  background-color:skyblue; /* color of the scroll thumb */
  border-radius:4px; /* roundness of the scroll thumb */
}