﻿@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Regular.eot");
    font-style: normal;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Regular.ttf");
    font-style: normal;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Bold.eot");
    font-weight: bold;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Italic.eot");
    font-style: italic;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-Italic.ttf");
    font-style: italic;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-BoldItalic.eot");
    font-style: italic;
    font-weight: bold;
}
@font-face {
    font-family: "Open Sans";
    src: url("OpenSans-BoldItalic.ttf");
    font-style: italic;
    font-weight: bold;
}

html,body {height:100%;margin:0;}

html { position: relative; min-height: 100%;}

BODY {
	image-rendering: -webkit-optimize-contrast; /*chrome fix */
	font-family: "Open Sans",Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	text-align:justify;
	font-size:16px;
	line-height:24px;
	background:#e8e8e8;
	/*min-width:360px;*/
	word-break:break-word;
	overflow-wrap:break-word;
	}

/******** piè di pagina ******************************************************/

/************ MAIN GRID ************/

.grid-container {
	display: grid;
	grid-template-rows: minmax(0, max-content) minmax(26px, max-content) minmax(446px, auto) 100px;
	grid-template-areas: 'header' 'menu' 'main' 'footer';
	grid-gap: 0px;
	padding: 0px;
	min-height:100%;
}
.grid-container > div {
	text-align: left;
}

.topband {
	grid-area: header;
	text-align:center;
	}
.menubar {
	grid-area: menu;
	color:white;
	text-align:left;
	font-size:15px;
	line-height:16px;
	display: flex;
	/*justify-content: center;*/
	}

.bottombarwrap {
	grid-area: footer;
	display: flex;
	align-items: center;
	justify-content:center;
	position:relative;
	word-break:break-word;
	}

/************ END MAIN GRID ************/

.flex-container {
	grid-area: main;	
	display: flex;
	justify-content: center;
	min-height:100%;
	background-color:#E8E8E8;
}
.flex70 {
	flex: 0 0 70px;
	}
.grayback {
	background-color:#f3f4f6;
}

/************ SUB FLEX ************/

.subflex-container {
	
	display:flex;
	flex-direction:column;
	flex:0 1 1280px;	
	padding:0px;
	min-height:100%;	
	background-color:white;
	max-width:1420px;
}

.navigazione {
	flex:0 1 16px;
	text-align:left;
	font-size:14px;
	line-height:16px;
	color:#666666;
	padding-top:12px;
	padding-bottom:6px;
}
.generic_title {
	flex:0 1 40px;
	text-align:left;
	padding-top:0px;
	padding-bottom:32px;
	background:URL(../images/bg_list.png) repeat-x;
	background-position:center bottom;
}
.generic_text {
	flex:0 1;
	text-align:left;
	color:#666;
	max-width:1360px;
	padding-top:6px;
	padding-bottom:25px;
	color:#606060;
	padding:20px 30px 0;
}

/************ END SUB FLEX ************/

.header {
	width:100%;
	min-width:300px;
	max-width:1420px;
	display:block;
	margin:0 auto;
	position:relative
	}

.subheader {
	max-width:1420px;
	height:138px;
	background-repeat:no-repeat;
	background-size:100%;
	background-position:center top;
	margin:auto;
	position:relative;
	overflow:hidden;
}

.topback {
	width:100%;
	height:100%;
	max-height:138px;
	position:absolute;
	}
.topleft {
	position:absolute;
	top:0;
	left:0;
	background: URL(topleft.jpg);
    width: 50%;
	height:100%;
    background-position: top left;
	}
.topright {
	position:absolute;
	top:0;
	right:0;
	background: URL(topright.jpg);
    width: 50%;
	height:100%;
    background-position: top right;
	}
.bottomback {
	width:100%;
	max-height:100px;
	position:absolute;
	bottom:0;
	z-index:0;
	}	
.bottomleft {
	position:absolute;
	bottom:0;
	left:0;
	min-height:100px;
	background:URL(bottomleft.jpg);
	width:50%;
	background-position:top right;
	}
.bottomright {
	position:absolute;
	bottom:0;
	right:0;
	min-height:100px;
	background:URL(bottomright.jpg);
	width:50%;
	background-position:top left;
	}

.topmenu {
	flex: 0 1 1280px;
	text-align:left;
}
.navigazione,.titolo,.contenuto {
	padding-left:32px;
	padding-right:32px;
}
.footer3 {
	display:flex;
	flex: 0 1 1420px;
	text-align:center;
	justify-content:center;
	align-items:center;
	color:white;
	background-color:#BF362B;
	z-index:100;
	height:100px;
	font-size:12px;
	line-height:20px;
}
#mainMenu {
	margin:0 auto;
	padding:0;
	list-style:none;
	width:100%;
	text-align:left;
	box-sizing:border-box;
	min-height:28px;
}
#mainMenu LI {
	display: inline-block;
	/*padding: 5px 10px 5px 10px;*/
}
.statusarea {
	position:absolute;
	top:6px;
	right:70px;
	display:inline-block;
	color:#BF362B;
	font-size:13px;
	line-height:15px;
	text-align:right;
}

.footerinside {
	width:100%;
	height:100%;
	margin-left:auto;
	margin-right:auto;
	/*background-image:URL("../images/theme/default/backfooter.jpg");*/
	background-position:top center;
	max-width:1420px;
	}

TABLE.tab01 TD,TABLE.tab01 TD A {
	color:#ffffff;
	}

.navigazione A {
	color:#666666;
	text-decoration:none
	}
.navigazione A:hover {
	text-decoration:underline
	}
#pagetitle{
	font-size:30px;
	line-height:30px;
	font-weight:bold;
	color:#bf362b;
	}
.alog	{
	/*color:#00477F;*/
	font-weight:bold;
	text-decoration:none;
	font-size:15px;
	}
.alog:hover {
	text-decoration:underline;
	}

/****** eye toggle ********/	
@font-face {
  font-family: 'eye_toggle';
  src:url('eye_toggle.ttf') format('truetype');
}
.far {font-family:eye_toggle;margin-left:-30px;cursor:pointer;color:#666}
.fa-eye:before {content:'\e802'}
.fa-eye-slash:before {content:'\e803'}


.loginform {
	width:120px;
	height:14px;
	margin-top:1px;
	margin-bottom:1px;
	font-size:11px;
	}

.privacy {
	width:calc(100% - 15px);
	background-color:#eeeeee;
	resize:vertical;
	min-height:173px;
	height:173px;
	max-height:496px;
	font-family:"Open Sans",Verdana, Arial, Helvetica, sans-serif;
	text-align:justify;
	font-size:12px;
	line-height:14px;
	overflow-y:auto;
	padding:10px;
	}
.flags {
	width:24px;
	vertical-align:top;
	}

.generic_table {
	width:100%;
	/*max-width:1224px;*/
	/*height:70px;*/
	border:0px;
	z-index:1;
	font-weight:normal;
	color:#863637;
	overflow-y:hidden;
	text-align:left;
	}

.titolonews {
	color:#bf362b;
	}
A.titoloart {
	color:#000;
	text-decoration:none;
	}
A.titoloart:hover {
	text-decoration:underline;
	}

.generic_text {
/* fade transition */

animation: fadein 0.5s;
-moz-animation: fadein 0.5s; /* Firefox < 16 */
-webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
-ms-animation: fadein 0.5s; /* Internet Explorer */
-o-animation: fadein 0.5s; /* Opera < 12.1 */
}

@keyframes fadein {from { opacity: 0; } to   { opacity: 1; }}
@-moz-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }} /* Firefox < 16 */
@-webkit-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }} /* Safari, Chrome and Opera > 12.1 */
@-ms-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }} /* Internet Explorer */
@-o-keyframes fadein { from { opacity: 0; } to   { opacity: 1; }} /* Opera < 12.1 */

/* end fade transition */

.generic_subtitle {
	text-align:left;
	font-size:125%;
	font-weight:bold;
	line-height:125%;
	padding-bottom:6px;
	}
.generic_subtitle_reserved {
	text-align:left;
	font-size:125%;
	font-weight:bold;
	line-height:110%;
	}
sup,sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	_vertical-align: bottom;
	position: relative;
	}
sup {
	bottom: 1ex;
	}
sub {
	top: .5ex;
	}
LABEL {cursor:pointer;
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	}
DIR {
	padding-left:20px;
	}
h1 {
	font: bold 22px "Open Sans",Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	margin: 0px;
	padding: 0px;
	}
hr {
	/*color:#ddd;background-color:#ddd;padding: 0px;border: none;height: 1px;*/
	border-top: 1px dotted #AAA;
	border-bottom:0;
	border-left:0;
	border-right:0;
	color:#fff;
	background-color:#fff;
	}
hr.gray {
	color:#888888;
	background-color:#888888;
	height: 1px;
	padding: 0px;
	border: none;
	}
hr.red {
	color:#BA0000;
	background-color:#BA0000;
	height: 2px;
	padding: 0px;
	border: none;
	}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}
DIR	{
	margin-top:0px;
	margin-bottom:0px;
	}
A {
	color:#58585a;
	}
	
.domanda { /* per i test */
	text-align:left;
	cursor:pointer;
	}
.immarticolo {
	max-width:250px;
	float:right;
	margin-left:15px;
	margin-bottom:15px;
	margin-top:5px;
}

.smallarrow {
	color:#bf362b;
	text-decoration:none;
	display:inline-block; /* to make text-decoration work */
}

.rispostaquestionario {color:#666666 !important}

A.backbutton {
	width:50px;
	font-weight:bold;
	font-size:10px;
	z-index:2;
	text-decoration:none;
	color:#666666;
	}
A.backbutton:hover {
	text-decoration:underline;
	}

/*****************************************************************************/

/*.lista {
	list-style:disc inside;
	margin-left:15px;
	margin-top:3px;
	list-style-position: outside;
	text-indent: -2px;
	}*/

#green {
	color:#00617c;
	}
A.black {
	color:#bf362b;
	text-decoration:none;
	}
A.black:hover {
	text-decoration:underline;
	}

FORM {
	margin:0px;
	padding:0px;
	}

INPUT, input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

INPUT.button {
	margin:0px;
	padding:0 12px 9px 12px !important;
	background-color:#bbbbbb;
	color:#444444;
	border:0;
	padding:0px 10px 0px 10px;
	height:32px;
	line-height:32px;
	/*font-weight:bold;*/
	/*border-bottom-left-radius: 9px;*/
	border-radius: 4px;
	cursor:pointer;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	font-family: "Open Sans",Verdana, Arial, Helvetica, sans-serif;
	}

INPUT.button:hover {
	background-color:#bf362b;
	color:white;
	}

INPUT.buttonorange {
	margin:0px;
	padding:0px;
	background-color:#7a1c1d;
	color:white;
	border:0;
	padding:0px 10px 4px 10px;
	height:26px;
	line-height:26px;
	border-radius: 4px;
	cursor:pointer;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	}

INPUT.buttonorange:hover {
	background-color:#bf362b;
	}

INPUT::-moz-focus-inner /*Remove button padding in FF*/
{
	border: 0;
	padding: 0;
}
INPUT.buttonsmall {
	margin:4px 0 0 0;
	/*background:#bf362b URL(../images/background_button.gif) repeat-x;*/
	color:white;
	border:0;
	padding:0px 10px 4px 10px;
	border-radius: 4px;
	height:15px;
	font-size:11px;
	cursor:pointer;
	}

.bottoneprenota {
	background-color:#bf362b !important;
	color:white !important;
	font-size:15px !important;
	letter-spacing:1px;
	transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
}
.bottoneprenota:hover {background-color:#f3c052 !important;color:black !important}

INPUT.fixed {
	width:220px;
	background-color:#F4F4F4;
	border:1px solid #bbbbbb;
	padding:3px 3px;
	min-height:20px;
	}

INPUT[type=radio],INPUT[type=checkbox] {cursor:pointer}

.notfixed {
	background-color:#F4F4F4;
	border:1px solid #bbbbbb;
	padding:3px 3px;
	}

TEXTAREA.notfixed {
	width:220px;
	background-color:#F4F4F4;
	border:1px solid #bbbbbb;
	padding:1px 3px;
        font-family: "Open Sans",Arial, Helvetica, sans-serif;
        font-size:12px;
	}

SELECT.dropdown {
	width:228px;
	background-color:#F4F4F4;
	border:1px solid #bbbbbb;
	min-height:24px;
	padding:4px 3px;
	}

INPUT.loginbutton {
	height:35px;
	font-size:13px;
	font-weight:normal;
	padding:0;
	margin:0 13px 0 0;
	width:83px;
	color:#ffffff;
	background:#F3861F;
	}

.topleft {
	background:URL(../images/theme/default/topleft.jpg);
	width:50%;
	background-position:top right;
	}

.topright {
	background:URL(../images/theme/default/topright.jpg);
	width:50%;
	background-position:top left;
	}

.bottomleft {
	position:absolute;
	bottom:0;
	left:0;
	min-height:100px;
	background:URL(../images/theme/default/bottomleft.jpg);
	width:50%;
	background-position:top right;
	}

.bottomright {
	position:absolute;
	bottom:0;
	right:0;
	min-height:100px;
	background:URL(../images/theme/default/bottomright.jpg);
	width:50%;
	background-position:top left;
	}

#mobilemenu {
	display:none;
	background-color:#bf362b;
	/*color:@topmenu_text@;*/
	font-size:15px;
	line-height:26px;
	text-decoration:none !important;
	text-transform:uppercase;
	text-align:left;
}
#mobilemenu A {
	color:#ffffff;
	text-decoration:none !important;
	/*display:inline-block;*/
	}
/*#mainmenumobile3 UL {padding-left:12px}	*/
.logtable, .logtable A {color:#bf362b}
/*
.logtable {
	background-color:#bf362baa;
	padding:5px;
	border-radius:2px;
}*/

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.statbars {
	background-color:#23518c;
	background: linear-gradient(90deg, rgba(35,81,140,1) 0%, rgba(66,117,184,1) 100%);
	height:30px;
	border-radius:3px;
	box-shadow: 1px 1px 1px #666;
	margin-bottom:7px;
	vertical-align:-15px;
}

.avatardiv {width:60px;height:60px;border-radius:35px;overflow:hidden;background-color:white;margin-bottom:3px}
.avatarimage {max-width:60px;min-width:60px;height:auto;display:block;margin-left:auto;margin-right:auto}

.likebutton {vertical-align:-2px;width:47px;height:16px}
.likebutton:hover {opacity:0.9}

#imagewindow {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:29000;
	border-radius:10px;
	box-shadow: 3px 3px 2px #444;
	border:1px solid #bbb;
	text-align:center;
}
#blackback {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	Z-Index:18000;
	background:URL(../images/blackback.png);
	display:none;
}

.blackbackactive {
	animation: blackbackfadeIn 0.2s;
}

@keyframes blackbackfadeIn {
  0% {opacity:0}
  100% {opacity:1}
}

.fadpopup {
	position:absolute;
	top:50px;
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
	width:926px;
	height:530px;
	display:none;
	Z-index:20000;
	overflow:hidden;
	padding:0;
}
.fadframe {
	width:900px;
	height:530px;
	overflow:hidden;
	padding:0;
}
.videopopup {
	position:fixed;
	top:40px; /*fallback*/
	top:5vh;
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
	width:100%;
	max-width:1000px;
	max-height:566px;
	display:none;
	Z-index:20000;
	overflow:hidden;
	padding:0;
	background-color:white;
	border:4px solid white;
	border-radius:3px;
	box-sizing:border-box;
	box-shadow: 5px 5px 5px #555;
}

.backtotopbox {
	width: 70px;
	height: 16px;
	background: #696666;
	color:white;
	position: fixed;
	bottom:134px;
	right: 0;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	padding:5px 10px 5px;
	/*border:1px solid black;*/
	display:none;
	font-size:13px;
	line-height:15px;
	cursor:pointer;
	z-index:40000;
	opacity:0;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
	}

.backtotopbox A {
	color:white;
	text-decoration:none;
	}

.divhidden {
	max-height:0;
	overflow:hidden;
	transition: max-height 0s, opacity 0s;
	opacity:0;
	border:2px solid #bf362b;
	border-radius:5px;
}
.divvisible {
	max-height:5000px;
	opacity:1;
	transition: max-height 1.5s ease-out 0s, opacity ease-in 0.5s;
	margin:10px 0;
	padding:15px;
}
.emspan {
	color:#3c3077;
}
#sondaggio {
	display:none;
	position:absolute;
	left:0;
	bottom:15%;
	background-color:#fffffffc;
	padding: 20px;
	border-radius:10px;
	right: 0;
	width:70%;
	display:block;
	margin:0 auto;
	box-shadow:3px 3px 6px #666;
	box-sizing:border-box;
}

.contributo {
	display:inline-block;
	border-radius:5px;
	transition: all 0.3s ease-in-out 0s;
	cursor:pointer;
	padding:5px 15px;
	border:1px solid transparent;
	vertical-align:top; <%' ■■■ importantissimo!!! ■■■ %>
}
.contributo:hover {background-color:#f4f4f4}

img[src$=".svg"] {
	width:100%;
}

/******** rollover images **********************************************/

img.hover {
	display: none;
	border:0;
}
img.nohover {
	border:0;
}
A:hover img.hover {
  display: inline;
}
A:hover img.nohover {
  display: none;
}

/******** tabelle con bordo 1 px ***************************************/

table.simple {
    border-style: solid;
    border-width: 0 0 1px 1px;
    border-spacing: 0;
    border-collapse: collapse;
    border-color:black;
}

table.simple TD {
    margin: 0;
    padding: 2px;
    border-width: 1px 1px 0 0;
    border-style:solid;
    border-color:black;
    text-align:left;
    font-family:"Open Sans",verdana,arial,helvetica,sans-serif;
}

/************ liste con trattino ***********************************/
/*
ul.dashed {
	list-style: none;
	margin-left: 0;
	padding-left: 16px;
}
ul.dashed > li:before {
	display: inline-block;
	content: "-";
	width: 14px;
	margin-left: -14px;
}

ul.bulleted {
	list-style: none;
	margin-left: 0;
	padding-left: 20px;
}
ul.bulleted > li:before {
	display: inline-block;
	content: "•";
	width: 22px;
	margin-left: -22px;
}

ul.circled {
	list-style-type:circle;
	margin-left: 0;
	padding-left: 38px;
}

ul.dashed LI, ul.bulleted LI {margin-top:3px;margin-bottom:3px}
*/
/************ fine liste con trattino ***********************************/

#stats TR:first-of-type {
	background-color: #bf362b;
	}

#logwindow {
	display:none;
	position:fixed;
	top:25%;
	left:0;
	right:0;
	margin:0 auto;
	width:100%;
	max-width:380px;
	min-height:240px;
	background:#cfcdc9;
	z-index:20000;
	border-radius:10px;
	box-shadow: 3px 3px 2px #444;
	border:1px solid #bbb;
	font-family:"Open Sans",Arial,Helvetica,SansSerif;
	box-sizing:border-box;
	background-size:auto 100% !important;
	}

/*************************************** finestra messaggi ******************************************/

.alertwindow {
	display:none;
	position:fixed;
	top:10%;
	/*left:0px;
	right:0px;*/
	left: 50%;
	transform: translate(-50%,0);
	width:70%;
	margin:0px auto;
	/*min-width:420px;
	width:50%;*/
	color:white;
	z-index:19000;
	text-align:center;
	animation-name: alertwindowanimation;
	animation-duration: 0.5s;
	animation-delay: 0s;
	animation-fill-mode: forwards;
	}
@keyframes alertwindowanimation {
	from {transform: translate(-50%, -4%);opacity:0;}
	to {transform: translate(-50%, 0);opacity:1;}
}
.alertwindow A {color:white !important}
.alertwindow HR {border-top:1px solid white}
.alertwindowint {
	display:inline-block;
	box-shadow:4px 4px 4px #555;
	border-radius:10px;
	padding:20px 10px;
	border:1px solid white;
	background:#cfcdc9 url("../images/theme/default/backlog.jpg") no-repeat scroll 0% 0%;
	background-size:cover;
	position:relative;
	}

/*************************************** graphic toggle switches ******************************************/

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #000000;
}

input:focus + .slider {
  box-shadow: 0 0 1px #6DB33F;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*********************************** end graphic toggle switches ******************************************/

/*************************************** responsive ******************************************/

@media (max-width: 1420px) {
	.subheader {
		min-height:auto;
		height:0;
		padding-bottom:9.86%;
	}
	.topback {
		height:auto;
		}
	.flex70 {display:none}
	.flex-container {background-color:white}
	.statusarea {right:10px};
}

@media (max-width: 1280px) {
	#topmenu {margin-left:0}
	#mybox {width:96% !important}

	.bott10 {
		margin-right:10px;
		}

	.s_videobox {
		float: none !important;
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
		width: 100%;
		}
	.s_slidebox_wrapper	{
		float: none !important;
		margin:20px auto 6px !important;
		max-width: 576px;
		width: 100%;
		}
	.s_controls {
		float: none !important;
		margin:0px auto 20px !important;
		max-width: 576px;
		width: 100%;
		}
	.alertwindow {width:80%}
}
@media (max-width: 1120px) {
	.container {
		border-left:0;
		border-right:0;
	}
	.header {min-height:0}
}

@media (max-width: 1046px) {
	.backtotopbox{display:none !important}
	.alertwindow {width:90%;top:5%}
}


@media (max-width: 934px) {
	.s_slidebox {
		padding:1.2% 1.2% 2% !important;
		}
	.generic_text {
		padding:10px 32px 26px 32px;
		}
	#mainMenu {
		padding-left:19px;
		padding-right:19px;
		}
}

@media (max-width: 862px) {
	.subheader {
		height:0;
		padding-bottom:calc(11% - 6px);
		min-height:0;
		}
	.logtable {
		/*background-color:#ccc;*/
		}
	.videopopup {top:10px !important}
	#sondaggio {
		width:80% !important;
		font-size:13px;
		line-height:15px;
		margin-top:15px;
		margin-bottom:15px;
		bottom:15px;
	}
	.statbars { margin-bottom:5px}
}

@media (max-width: 736px) {
	.divautori {
		margin-left:0 !important;
		line-height:15px;
		}
	#firstcolumn {width:30% !important;}
	BODY {
		font-size:15px;
		line-height:22px;
		}
	#pagetitle {
		font-size:25px;
		line-height:27px;
		}	
}

@media (max-width: 640px) {
	.s_slidebox_wrapper {
		height:0 !important;
		padding-bottom:75%;
		}
	/*#pagetitle {
		font-size:20px !important;
		line-height:22px !important;
	}*/
	#sondaggio {
		width:98% !important;
		font-size:12px;
		line-height:13px;
		margin-top:10px;
		margin-bottom:10px;
		padding:5px;
	}
	#messaggio {
		line-height:19px !important;
		padding:15px 10px !important;
	}
}

@media (max-width: 620px) {
	.subheader {
		padding-bottom: 26% !important;
		}
	#topmenu {display:none}
	#mobilemenu {display:block}
	.generic_text {
		padding:10px 16px 26px 16px;
		}
	.navigazione,.generic_table {padding-left:15px !important;padding-right:15px !important}
	.generic_table {margin-top:3px}
	#backhome {padding-bottom:26% !important;width:50% !important}
	}
	
@media (max-width: 500px) {
	#logwindow {top:15%;text-align:left}
	#logwindow,#logwindowinner {max-width:330px !important}
	#logwindowinner {padding: 15px 20px !important}
	INPUT.loginbutton {margin:0}
}