/*CSS per Portale CGIL*/

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/*control:Grid*/
.grid { 
	scrollbar-track-color: ;
}
.grid  .grid_table{ 
  background-color:#FFFFFF;
  background-repeat:repeat-y;
  cursor:pointer;
  -webkit-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
  -moz-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
  box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
  border-radius: 10px;
}
.grid .grid_row {
  background-color:transparent;
  font-family:'Open Sans', sans-serif;
  font-size:16pt;
  font-weight:normal;
  text-decoration:none ;
}
.grid .grid_row td{
  padding:2px 2px 2px 5px;
  border-bottom:1px solid #E1E1E1;
}
.grid .grid_row a , .hoverable .grid .grid_row a:hover, .grid .grid_row a:visited {
  font-size:16pt;
  font-weight:normal;
  text-decoration:none;
}
.grid .grid_rowodd {
  background-color:transparent;
  font-weight:normal;
  font-size:16pt;
  text-decoration:none;
}
.grid .grid_rowodd td{
  padding:2px 2px 2px 5px;
  border-bottom:1px solid #E1E1E1;
}
.grid .grid_rowodd a , .hoverable .grid .grid_rowodd a:hover, .grid .grid_rowodd a:visited{
  font-size:16pt;
  font-weight:normal;
  text-decoration:none;
}
.grid .grid_rowover {
  background-color:rgba(207, 17, 45, 0.05);
  font-size:16pt;
}
.grid .grid_rowover td{
  background-color:rgba(207, 17, 45, 0.05) ;
  font-size:16pt ;
  padding:2px 2px 2px 5px;
}
.grid .grid_rowover a , .hoverable .grid .grid_rowover a:hover, .grid .grid_rowover a:visited{
  font-size:16pt;
}
.grid .grid_rowselected {
  font-size:16pt;
}
.grid .grid_rowselected td{
  font-size:16pt ;
  padding:2px 2px 2px 5px;
}
.grid .grid_rowselected a , .hoverable .grid .grid_rowselected a:hover, .grid .grid_rowselected a:visited{
  font-size:16pt;
}
.grid .grid_cell_title {
  background-color:#CF112D;
  color: #ffffff;
  border-width:1px 0;
  border-style:solid ;
  border-color:#E1E1E1;
  padding:2px 2px 2px 5px;
  background-position:bottom;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.grid .grid_cell_title_filter {
}
.grid .grid_cell_title *{
  font-size:16pt;
  font-weight:normal;
}
.grid .grid_cell_title_filter *{
}
.grid .grid_titlehover {
  background-color:transparent;
  font-size:16pt;
  font-weight:normal;
}

.grid .grid_navbar {
  background-color:#FFFFFF;
  color:#474948;
  padding:8px;
}
.grid .grid_navbar_curpage_input {
  font-size:14px;
  padding:1px;
  margin:0;
  width:40px;
  text-align:center;
  background-color:transparent;
  border: none;
  box-shadow: none;
  color: #474948;
}
.grid .grid_navbar_totpages_input {
  font-size:14px;
  padding:1px;
  margin:0;
  width:40px;
  text-align:center;
  background-color:transparent;
  border: none;
  box-shadow: none;
  color: #474948;
}

.grid a.iconFont.grid_prev::after{
  content: "\F053";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.grid a.iconFont.grid_prev:hover{
  text-decoration: none;
}

.grid a.iconFont.grid_prev_dis::after{
  content: "\F053";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}

.grid a.iconFont.grid_prev_dis:hover{
  text-decoration: none;
}

.grid a.iconFont.grid_next::after{
  content: "\f054";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.grid a.iconFont.grid_next:hover{
  text-decoration: none;
}

.grid a.iconFont.grid_next_dis::after{
  content: "\F054";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}
.grid a.iconFont.grid_next_dis:hover{
  text-decoration: none;
}

.to_read{
  font-weight:bold;
}

/*control:Label*/
.label,.label a { 
  font-size:18px;
  text-decoration:none;
}
.hoverable .label a:hover{
  font-size:18px;
  text-decoration:none;
}
.labelWelcome { 
  font-size:40px;
  font-weight: bold;
  text-decoration:none;
}
.labelIscr { 
  font-size:13px;
  text-decoration:none;
}
.labelHead { 
  font-size:13px;
  text-decoration:none;
}
.labelHead a{
  color: #727272;
}
.labelHead a:hover { 
  color: #CF112D;
  -moz-transition: color 200ms ease-in-out;
  -o-transition: color 200ms ease-in-out;
  -ms-transition: color 200ms ease-in-out;
  transition: color 200ms ease-in-out;
}
.labelBack { 
  font-size:18px;
  text-decoration:none;
}
.labelBack a{
  color: #727272;
  text-decoration:none;
}
.labelBack a:hover { 
  color: #CF112D;
  -moz-transition: color 200ms ease-in-out;
  -o-transition: color 200ms ease-in-out;
  -ms-transition: color 200ms ease-in-out;
  transition: color 200ms ease-in-out;
}
.labelBlack { 
  font-size:18px;
  text-decoration:none;
}
.labelBlack a{
  color: #474948;
  text-decoration:none;
}
.labelBlack a:hover { 
  color: #CF112D;
  -moz-transition: color 200ms ease-in-out;
  -o-transition: color 200ms ease-in-out;
  -ms-transition: color 200ms ease-in-out;
  transition: color 200ms ease-in-out;
}

/*** WIZARD ***/
.labelBlueBold { 
  font-size:18px;
  text-decoration:none;
  font-weight: bold !important;
  color: #2A6496;
}

.labelBlueLink a { 
  text-decoration:underline!important;
  color: #2A6496;
}

.labelBlueLink a:visited { 
  text-decoration:underline!important;
  color: #2A6496;
}

.labelBlueLink a:hover { 
  text-decoration:underline!important;
  color: #2892AD;
}

.labelBlack.nonActive a{
  color: #D6D6D6;
  text-decoration:none;
  cursor: auto;
}
/*** FINE WIZARD ***/
.labelTitle{
  font-size:26px;
  color: #727272;
}
.lblSub{
	left: 108px !important;
    top: -35px !important;
    font-size: 20px;
}
.lblSubInfo{
    top: -25px !important;
    font-size: 20px;
}
.lblAccedi, .lblAccedi a{
	color: #CF112D;
	font-weight: bold;
}
.lblReg{
	border: 2px solid #CF112D;
	color: #CF112D;
    padding: 13px;
    border-radius: 100%;	
	cursor: pointer;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
}
.lblRegSel{
	border: 3px solid #CF112D;
    padding: 12px;
    border-radius: 100%;	
	cursor: pointer;
	color: #CF112D;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
	font-weight: bold !important;
}
.lblRegDis{
	border: 2px solid #C0C0C0;
    padding: 13px;
    border-radius: 100%;
	color: #C0C0C0;
}
.boxRegDis{
	background-color: #C0C0C0 !important;
}
.boxRegEn{
	background-color: #CF112D !important;
	-moz-transition: background-color 1000ms ease;
	-o-transition: background-color 1000ms ease;
	-ms-transition: background-color 1000ms ease;
	transition: background-color 1000ms ease;
}

.lblProf{
	border: 2px solid #474948;
	color: #474948;
    padding-top: 18px;
    border-radius: 100%;	
	cursor: pointer;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
}
.lblProfSel{
	border: 3px solid #CF112D;
    padding-top: 18px;
    border-radius: 100%;	
	cursor: pointer;
	color: #CF112D;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
	font-weight: bold !important;
}
.lblProfSub{
	color: #474948;
	cursor: pointer;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
	font-size: 13px;
	padding: 4px 1px;
}
.lblProfSubSel{
	color: #CF112D;
	cursor: pointer;
	-moz-transition: 1000ms ease;
	-o-transition: 1000ms ease;
	-ms-transition: 1000ms ease;
	transition: 1000ms ease;
	font-size: 13px;
	padding: 4px 1px;
	font-weight: bold !important;
}
.lblProfSub:hover, .lblProfSubSel:hover{
	text-decoration: underline;
}

/*control: Button*/
.button{
  background-color: #CF112D;
  border-radius: 5px;
  color: #ffffff;
}
.buttonpanel{
  background-color: transparent;
  color: #CF112D;
  /*border: 1px solid #ffffff;*/
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  /*padding-top: 12px;*/
  padding: .2em .6em .3em;
  /*-webkit-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
  -moz-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
  box-shadow: 0 2px 4px rgba(71, 73, 72, 1);*/
}
.fabutt{
  font-size: 30px !important;
}
.fabutt2{
  font-size: 22px !important;
}
.fabutt3{
  font-size: 28px !important;
}

/* BANDA ROSSA */
.bandarossa {
	background-color: #CF112D;
	padding: 5px 0px 8px 0px;
	color: #ffffff;
	font-size: 30px;
	line-height: 16px;
	width: 100%;
}
.bandarossa a:hover {
	color: #f6f6f6;
}
.bandarossa a {
	color: #ffffff;
	text-decoration: none;
}
.bandarossa .content, .bandarossa .content .box{ /*contenuto*/
	min-height: 20px !important;
}
.bandarossa .content .contentText{
	margin-top:0px !important;
	margin-bottom:0px !important;
}
/* Portlet*/
.sow_infouser_container{
	background-color: #ffffff;
	padding-left: 15px;
	border: 0px solid #b8b8b8;
	border-radius: 10px;
	-webkit-box-shadow: 0 1px 2px rgba(71, 73, 72, 0.25);
	-moz-box-shadow: 0 1px 2px rgba(71, 73, 72, 0.25);
	box-shadow: 0 1px 2px rgba(71, 73, 72, 0.25);
}
.sow_toolbar_container{
	padding-bottom: 5px;
}
/*Control: Box*/
.boxed{
	background-color: #ffffff;
	border: 0px solid #b8b8b8;
	border-radius: 10px;
	-webkit-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	-moz-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
}
.noboxed{
	background-color: #ffffff;
	border: 0px #ffffff;
}
.testboxed{
	background-color: #ffffff;
	border: 0px solid #b8b8b8;
	border-radius: 10px;
	height: auto;
	-webkit-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	-moz-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
}

/*Control: Tabs*/
.tabPreno{
	background-color: #ffffff;
	color: #CF112D;
	font-size: 18px;
	width: 100%;
}
.tabPreno a{
	color: #CF112D;
	font-size: 18px;
}
.tabPrenoSel{
	background-color: #ffffff;
}
.tabPrenoSel a{
	color: #CF112D;
	font-size: 18px;
	font-weight: bold;
}
.tabPrenoDis{
	background-color: #ffffff;
	color: #000000;
	font-size: 18px;
	width: 100%;
}
.tabPrenoDis a{
	background-color: #ffffff;
	color: #000000;
	font-size: 18px;
	width: 100%;
}
.tabRegi{
	background-color: #ffffff;
	color: #CF112D;
	font-size: 18px;
	width: 100%;
}
.tabRegi a{
	color: #CF112D;
	font-size: 18px;
}
.tabRegiSel{
	background-color: #CF112D;
	color: #FFFFFF;
	font-size: 18px;
}
.tabRegiSel a{
	color: #FFFFFF;
	font-size: 18px;
	font-weight: bold;
}
.tabRegiDis{
	background-color: #999999;
	color: #000000;
	font-size: 18px;
	width: 100%;
	/*border: 2px solid #000000*/
}
.tabRegiDis a{
	color: #000000;
	font-size: 18px;
}
/*Logo*/
.cgilogo{
	border: 1px solid #FFFFFF;
	padding-top: 30px;
    padding-right: 15px;
    padding-bottom: 26px;
    padding-left: 15px;
	background-color: #CF112D;
	color: #CF112D;
	-webkit-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	-moz-box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
	box-shadow: 0 2px 4px rgba(71, 73, 72, 1);
}
.cgihead{
	background-color: transparent;
	color: #000000;
	position: absolute;
	top: -56px;
	font-size: 45px;
}
/*.cgifoot{
	background-color: transparent;
	color: #000000;
	position: absolute;
	top: 73px;
	font-size: 11px;
}*/
/*Per centrare gli elementi nei portlet*/
.centra{
	position:relative !important;
	margin: 0 auto !important;
}
/*Forzo sweetalert ad avere una dimesione massima con (eventualmente) le barre*/
.infoBox {
    overflow-y : auto !important;	
	max-height: 512px ;
}

/*Duplicazione dello stile degli input del template */
.uffBox_cont {
	width: 300px !important;
	padding: 0px !important;
	margin-left: -150px !important;
	left: 50% !important;
}

.uffBox select {
	min-height: 30px !important;
    line-height: 30px !important;
    padding: 0px 6px;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    font-size: 18px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 10px;
}
/*Forzo sweetalert a riempire il 90% dello spazio disponibile*/
.mapBox {
	padding: 5px 5px 5px 5px !important;
	height: 90%;
	width: 90% !important;
    top: 230px !important;
	left: 0 !important;
    bottom: 0;
    right: 0;
    margin: auto !important;
}
.mapBox h2{
    display: none !important;
}

/*Transizioni fra pagine 
.animate-in {
    -webkit-animation: fadeIn .5s ease-in;
    animation: fadeIn .5s ease-in;
}
.animate-out {
    -webkit-animation: fadeOut .5s ease-out;
    animation: fadeOut .5s ease-out;
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@-webkit-keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}*/

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background: url(../images/Preloader_10.gif) center no-repeat #fff;
	/*background-color: rgba(0, 0, 0, .25);*/
}

.boxHome{
    margin-left: 5px !important;
}

select[disabled], input[disabled]{
	background-color: #EFEFEF;
}

/* Footer / Credits*/
.cgifooter {
	background-color: transparent;
	color: #000000;
	/*background-color: #CF112D;
	color: #FFFFFF;
	padding: 10px 0;*/
	font-size: 11pt;
	line-height: 16px;
}

.confBox p {
	display: block !important;
    height: auto !important;
    text-align: left !important;
    width: 90% !important;
    left: 5% !important;
}

.confBox button {
	margin-bottom: 10px !important;
}

/**** START RADIO BUTTON VARIOUS STYLE *****/

/* TOOLBAR */
/* @see https://markheath.net/post/customize-radio-button-css */
.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
}

.radio-toolbar span {
  margin-right: 5px;
}

.radio-toolbar label {
	color: #FFF;
  background-color: #cf112d;
  padding: 5px 10px;
  border: 2px solid #adaead;
  border-radius: 4px;
}

.radio-toolbar label:hover {
  background-color: #DB4C61;
}

.radio-toolbar input[type="radio"]:focus + label {
    background-color: #DB4C61;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #DB4C61;
}

/* SWITCH */
/* @see https://codepen.io/JiveDig/pen/jbdJXR/ */
.radio-switch {
  display: -webkit-box;
  display: -ms-flexbox;
	display: flex;
	margin-bottom: 36px;
	/*overflow: hidden;*/
}

.radio-switch input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.radio-switch label {
	background-color: rgba(114, 114, 114, 0.3);
	color: rgba(114, 114, 114, 0.9);
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 8px 16px;
	margin-right: -1px;
	border: 1px solid #727272;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	width: 4em;
}

.radio-switch label:hover {
	cursor: pointer;
	background-color: rgba(207, 17, 45, 0.7);
	color: #FFFFFF;
}

.radio-switch input:checked + label {
	background-color: #cf112d;
	color: #FFFFFF;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.radio-switch span:first-child > label {
	border-top-left-radius: 4px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 4px;
}

.radio-switch span:last-child > label {
	border-top-left-radius: 0px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 0px;
}

/* SLIDER */
/* @see https://fomantic-ui.com/modules/checkbox.html -> SLIDER STYLE*/
.radio-slider {
 /*min-height:1.25rem;*/
}
.radio-slider input[type="radio"] {
  opacity: 0;
  width: 2rem;
}
.radio-slider label {
 padding-left:4.5rem;
 line-height:1.5rem;
 color:rgba(71,73,72,.5);
 margin-bottom: 1.5rem;
}
.radio-slider label:before {
 display:block;
 position:relative;
 content:'';
 -webkit-transform:none;
 -ms-transform:none;
 transform:none;
 border:none!important;
 left:-6.5rem;
 z-index:1;
 top:1.15rem;
 background-color:rgba(114, 114, 114, 0.3);
 width:4.5rem;
 height:.4rem;
 border-radius:500rem;
 -webkit-transition:background .3s ease;
 transition:background .3s ease
}
.radio-slider label:after {
 /*background:#fff -webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(207, 17, 45,.1)));
 background:#fff -webkit-linear-gradient(transparent,rgba(207, 17, 45,.1));*/
 background:#fff /*linear-gradient(transparent,rgba(207, 17, 45,.1))*/;
 position:absolute;
 content:''!important;
 opacity:1;
 z-index:2;
 border:none;
 -webkit-box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 width:2rem;
 height:2rem;
 left:0;
 -webkit-transform:none;
 -ms-transform:none;
 transform:none;
 border-radius:500rem;
 -webkit-transition:left .3s ease;
 transition:left .3s ease
}
/*.radio-slider input[type="radio"]:focus~label:before {
 background-color:rgba(207, 17, 45,.15);
 border:none
}*/
.radio-slider label:hover {
 color:rgba(71,73,72,1);
}
.radio-slider label:hover::before {
 background:rgba(207, 17, 45,.5)
}
.radio-slider input[type="radio"]:checked~label {
 color:rgba(71,73,72,.95)!important;
}
.radio-slider input[type="radio"]:checked~label:before {
 background-color:#cf112d!important;
}
.radio-slider input[type="radio"]:checked~label:after {
 left:2.5rem
}
/*.radio-slider input[type="radio"]:focus:checked~label {
 color:rgba(71,73,72,.95)!important
}
.radio-slider input[type="radio"]:focus:checked~label:before {
 background-color:#cf112d!important
}*/

/* TOGGLE */
/* @see https://fomantic-ui.com/modules/checkbox.html -> TOGGLE STYLE*/
.radio-toggle {
 /*min-height:1.5rem*/
}
.radio-toggle input[type="radio"] {
 opacity: 0;
 width:2rem;
 /*height:1.5rem*/
}
.radio-toggle label {
/* min-height:1.5rem;*/
 line-height:1.5rem;
 padding-left:6.5rem;
 color:rgba(71,73,72,.5);
 margin-bottom: 15px;
 position: relative;
}
.radio-toggle label:before {
 display:block;
 position:absolute;
 content:'';
 z-index:1;
 -webkit-transform:none;
 -ms-transform:none;
 transform:none;
 border:none;
 left:0;
 top:0;
 background:rgba(0,0,0,.05);
 -webkit-box-shadow:none;
 box-shadow:none;
 width:4.5rem;
 height:2rem;
 border-radius:500rem;
}
.radio-toggle label:after {
 background:#fff /*-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.05)))*/;
 background:#fff /*-webkit-linear-gradient(transparent,rgba(0,0,0,.05))*/;
 background:#fff /*linear-gradient(transparent,rgba(0,0,0,.05))*/;
 position:absolute;
 content:''!important;
 opacity:1;
 z-index:2;
 border:none;
 -webkit-box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 width:2rem;
 height:2rem;
 top:0;
 left:0;
 border-radius:500rem;
 -webkit-transition:background .3s ease,left .3s ease;
 transition:background .3s ease,left .3s ease
}
/*.radio-toggle input[type="radio"]~label:after {
 left:-.05rem;
 -webkit-box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset
}*/
/*.radio-toggle input[type="radio"]:focus~label:before {
 background-color:rgba(0,0,0,.15);
 border:none
}*/
.radio-toggle label:hover {
 color:rgba(71,73,72,1);
}
.radio-toggle label:hover::before {
 background:rgba(207, 17, 45,.5);
 border:none
}
.radio-toggle input[type="radio"]:checked~label {
 color:rgba(71,73,72,.95)!important;
}
.radio-toggle input[type="radio"]:checked~label:before {
 background-color:#cf112d!important
}
.radio-toggle input:checked~label:after {
 left:2.5rem;
 -webkit-box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
 box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset
}

.radio-toggle input:disabled~label:hover::before{
 background: rgba(0,0,0,.05);
}

.radio-toggle input:disabled~label:hover{
 color:rgba(71,73,72,.5);
}
/*.radio-toggle input[type="radio"]:focus:checked~label {
 color:rgba(71,73,72,.95)!important
}
.radio-toggle input[type="radio"]:focus:checked~label:before {
 background-color:#cf112d!important
}*/

/**** END RADIO BUTTON VARIOUS STYLE ****/

/**** START SWEET ALERT ****/
.sweet-alert {
	height: auto;
}

.sweet-alert.mysweet-alert {
	/*width: 700px;*/
	padding: 5px;
}

.sweet-alert.mysweet-alert[data-has-confirm-button="false"][data-has-cancel-button="false"] {
	padding-bottom: 5px;
}

.sweet-alert.mysweet-alert h2 {
	margin: 5px;
}
/**** END SWEET ALERT ****/

/**** START CHECKBOX SLIDER ****/
input[type="checkbox"].slider:empty {
  margin-left: -99999px;
  float: left;
}

input[type="checkbox"].slider:empty ~ label {
  /*position: relative;*/
  float: left;
  line-height: 1.0em;
  text-indent: 3.3em;
  /*margin: 0.2em 0;*/
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 13px;
  color: rgba(71,73,72,.95);
}

input[type="checkbox"].slider:empty ~ label:before,
input[type="checkbox"].slider:empty ~ label:after {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: ' ';
  width: 3.2em;
  background-color: #adaead;
  border-radius: 0.75em;
  -webkit-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

input[type="checkbox"].slider:empty ~ label:hover::before {
 background:rgba(207, 17, 45,.5);
}

input[type="checkbox"].slider:empty ~ label:after {
  width: 1.1em;
  height: 1.1em;
  top: 0.1em;
  bottom: 0.1em;
  margin-right:0.1em;
  margin-left:0.1em;
  background-color: rgba(255,255,255,.93);
  border-radius: 1em;
  font-size: 16px;
  box-shadow: 0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
  -webkit-box-shadow:0 1px 2px 0 rgba(34,36,38,.15),0 0 0 1px rgba(34,36,38,.15) inset;
}

/*input[type="checkbox"].slider:empty ~ label:after {
  border-radius: 1em;
}*/

input[type="checkbox"].slider:checked ~ label {
  font-weight: bold !important;
}

input[type="checkbox"].slider:checked ~ label:before {
  color: rgba(71,73,72,.95) !important;
  background-color: #cf112d;
}

input[type="checkbox"].slider:checked ~ label:after {
  margin-left: 1.4em;
}
/**** END CHECKBOX SLIDER ****/

/**** START CHECKBOX SQUARED ****/
/* @see http://jsfiddle.net/ghw5kaco/ -> squaredOne*/
.checkbox-square-input {
  visibility: hidden;
}

.checkbox-square {
  width: 20px;
  height: 20px;
}

.checkbox-square label {
  cursor: pointer;
  position: absolute;
  /*margin: 0px 0px 15px 0px;*/
  /*left: 4px;*/
  top: 4px;
  color: rgba(71,73,72,.95);
  font-size: 14px;
  padding: 3px 0px 35px 30px;
  -webkit-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  text-align: justify;
  display: block;
}

.checkbox-square label:before {
  display: block;
  cursor: pointer;
  content:''!important;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 1px;
  top: 1px;
  border-radius: 4px;
}
.checkbox-square label:hover::before {
  background: rgba(207, 17, 45,.5);
}

.checkbox-square label:after {
  content:''!important;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0,0,0,.5);
  left: 0;
  top: 0;
  position: absolute;
  border-radius: 5px;
  background-color: rgba(114, 114, 114, 0.3);
}
.checkbox-square label:hover::after {
  background: transparent;
}

.checkbox-square input[type=checkbox]:checked + label {
 font-weight: bold !important;
}

.checkbox-square input[type=checkbox]:checked + label:before {
  content:''!important;
  background: #cf112d;
}

.checkbox-square input[type="checkbox"]:checked + label:after {
  position: absolute;
  content:''!important;
  width: 12px;
  height: 8px;
  background: transparent;
  top: 4px;
  left: 4px;
  border: 3px solid #ffffff;
  border-top: none;
  border-right: none;
  border-radius: 0px;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
/**** END CHECKBOX SQUARED ****/

/*** START COMBOBOX ****/
.combobox {
	min-height: 27px !important;
	font-size: 16px;
	color:rgba(71,73,72,1);
	border-radius: 10px; 
	text-overflow: ellipsis;
}
/*** END COMBOBOX ****/

/**** START GRID GALLERY ****/
.gridGallery {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1;
    position: absolute;
    display: inline-block;
    top: 15px;
    left: 250px;
    right: 30px;
    bottom: 5px;
    width: auto;
    border: 2px solid #D6D6D6;
}
.gridGallery .grid_cards_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
}
.gridGallery .grid_card_container {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  border-width: 1px;
  border-style: solid;
  border-color: #DEDEDE;
  border-radius: 5px;
  margin-left: 3px;
  margin-bottom: 3px;
  position: relative;
}
.gridGallery .row_image:first-child{
  display : block;
  width: 100%;
  height: 100%;
}
.gridGallery .row_image:first-child td, .row_image:first-child td > div {
  /*display: block;*/
  padding: 5px 5px 5px 5px;
  height: 100%;
}

.gridGallery .row_image .title-thumbnail{
  display : block;
  padding: 8px 8px 8px 8px;
  overflow: hidden;
  max-height: 100%;
  word-wrap: break-word;
  background: rgba(255,255,255,.8);
  -webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
  height: auto !important;
  color: #464646;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  border-radius: 5px;
  margin-top: 5px;
}

.gridGallery .row_image:hover .title-thumbnail{
  text-decoration: underline;
}

.gridGallery .row_image .grid_cell.close_icon a {
  padding: 3px 3px 3px 3px;
  /*border-radius: 50% 50% 50% 50%;
  border: 1px solid #BFBFBF;*/
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: rgba(255,255,255,0.8);
  font-size: 16px !important;
  color: #767676;
}

.gridGallery .row_image .grid_cell.close_icon a:hover {
  color: #cf112d;
}

.gridGallery .grid_card_footer_container {
  -ms-flex: 100%;
  -webkit-box-flex:100%;
  flex:100%;
}

.gridGallery .grid_navbar {
  color:#474948;
  width: 320px;
}
.gridGallery .grid_navbar_curpage_input {
  font-size:14px;
  padding:1px;
  margin:0;
  width:40px;
  text-align:center;
  background-color:transparent;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #474948;
}
.gridGallery .grid_navbar_totpages_input {
  font-size:14px;
  padding:1px;
  margin:0;
  width:40px;
  text-align:center;
  background-color:transparent;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #474948;
}

/*.gridGallery a.iconFont.grid_first_dis::after{
  content: "\f137";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}

.gridGallery a.iconFont.grid_first_dis:hover{
  text-decoration: none;
}

.gridGallery a.iconFont.grid_first::after{
  content: "\F137";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.gridGallery a.iconFont.grid_first:hover{
  text-decoration: none;
}*/

.gridGallery a.iconFont.grid_prev::after{
  content: "\F053";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.gridGallery a.iconFont.grid_prev:hover{
  text-decoration: none;
}

.gridGallery a.iconFont.grid_prev_dis::after{
  content: "\F053";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}

.gridGallery a.iconFont.grid_prev_dis:hover{
  text-decoration: none;
}

.gridGallery a.iconFont.grid_next::after{
  content: "\f054";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.gridGallery a.iconFont.grid_next:hover{
  text-decoration: none;
}

.gridGallery a.iconFont.grid_next_dis::after{
  content: "\F054";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}
.gridGallery a.iconFont.grid_next_dis:hover{
  text-decoration: none;
}

/*.gridGallery a.iconFont.grid_last_dis::after{
  content: "\f138";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #D6D6D6;
}

.gridGallery a.iconFont.grid_last_dis:hover{
  text-decoration: none;
}

.gridGallery a.iconFont.grid_last::after{
  content: "\F138";
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 18px;
  color: #727272;
}

.gridGallery a.iconFont.grid_last:hover{
  text-decoration: none;
}*/
/**** END GRID GALLERY ****/

/**** START Layout ****/
/*Correzioni fornite da PADOVA (Michele Tollot) per il wizard*/
.wrapper {
  height: 100%;
}
.wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 145px auto 1fr;
  grid-template-rows: 145px auto 1fr;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
  margin: 0 auto;
}

.wrapper > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

.wrapper > *:nth-child(2) {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
}

.wrapper > *:nth-child(3) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}

.header {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
}

nav.navigation {
  -ms-grid-row: 2;
  grid-row: 2;
  -ms-grid-column: 1;
  grid-column: 1;
}

section.main {
  -ms-grid-row: 3;
  grid-row: 3;
  -ms-grid-column: 1;
  grid-column: 1;
  max-height: 100%;
  overflow: hidden;
}

section.home {
  height: 100%;
  /* overflow: auto; */
  /* max-height: 100%; */
}

section.featured {
  height: 100%;
}

.container.center-block {
  height: 100%;
  overflow: auto;
}

.col-sm-12 {
  float: none;
}

.sow_step_wizard_container {
  height: calc(100% - 50px);
}

.container.center-block .row:first-child {
  z-index: 1;
  position: relative;
}

/*Posiziona l'ultimo elemento ancora in fondo alla pagina indipendentemente dalla dimensione della stessa*/
.container.center-block .row:last-child {
 /* position: sticky;
  bottom: 0px;
  z-index: 2;
  background-color: red;rgba(255,255,255,.9);*/
}

textarea:disabled {
	background-color: rgba(0,0,0,.05);
}

/*** SPMODAL LAYER ***/
.spModalLayer {
  overflow:hidden;
  z-index: 10000;
  opacity:0;
  min-width: 150px;
  min-height: 150px;
  padding:0px;
  position:absolute;
  border-color:rgba(0,0,0,.5);
  border-style:solid;
  border-width:0px;
  box-shadow:0 5px 15px rgba(0,0,0,.5);
  background-color:#FFFFFF;
  height: auto;/*sovrascrive height: 100% del body > div*/
}

.spModalLayer.loading {
  border-radius:unset;
  background-color:transparent;
  border-color:transparent;
  box-shadow:unset;
}

.spModalLayer.maximized{
  overflow:visible;
}
.spModalLayer.seethrough{
  border-color:transparent;
}

.spModalLayer .resource_container{
  position: 'relative';
  left: 0px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  top: 0px;
}

.spModalLayer.seethrough .resource_container{
  opacity: 0;
}

.spModalLayer .resource_container_wrapper{
  position: relative;
  left: 0px;
  overflow:hidden;
  background-image: none;
}

.spModalLayer.seethrough .resource_container_wrapper{
  opacity: 0;
}

.spModalLayer_cinema{
  position: absolute;
  top:0px;
  left: 0px;
  z-index: 9999;
  width: 100%;
  height: 100%;
  border:0;
  opacity:0;
  background-color:#000000;
}

.spModalLayer .spModalLayer_draglayer{
  height:26px;
  background-color: #CF112D;
  width: 100%;
}

.spModalLayer .icon_container {
  position: absolute;
  z-index: 1;
  top:0px;
  right:0px;
}

.spModalLayer .icon_container .spModalButton {
  display: inline-block;
  vertical-align: top;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor:pointer;
  text-align:center;
  z-index:10001;
}

.spModalLayer .icon_container .spModalButton:last-child {
    margin-right: 0;
}

.spModalLayer .spModalLayer_closebtn{
  height:26px;
  width:50px;
}
.spModalLayer .spModalLayer_closebtn::after{
  content: "\F048";
  color: #FFFFFF;
  font-family: icons8_win10;
  font-size: 18px;
  vertical-align: middle;
  text-align: center;
  line-height:26px;
}
.spModalLayer .SPModalLayerGoToTabButton{
  width:50px;
  height:26px;
}
.spModalLayer .SPModalLayerGoToTabButton::after{
  content: "\E927";
  color: #FFFFFF;
  font-family: icons8_win10;
  font-weight: normal;
  font-size: 18px;
  vertical-align: middle;
  text-align: center;
  line-height:26px;
}
.spModalLayer .spModalLayerMaximize{
  width:50px;
  height:26px;
  background-position: center center;
  background-repeat: no-repeat;
}
.spModalLayer .spModalLayerMaximize::after{
  content: "\F606";
  color: #FFFFFF;
  font-family: icons8_win10;
  font-size: 18px;
  text-align: center;
  line-height:26px;
}
.spModalLayer .spModalLayerReduce{
  width:50px;
  height:26px;
  background-position: center center;
  background-repeat: no-repeat;
}
.spModalLayer .spModalLayerReduce::after{
  content: "\F608";
  color: #FFFFFF;
  font-family: icons8_win10;
  font-size: 18px;
  text-align: center;
  line-height:26px;
}
.spModalLayer .spModalLayerDetachButton{
  width:50px;
  height:26px;
  background-position: center center;
  background-repeat: no-repeat;
}
.spModalLayer .spModalLayerDetachButton::after{
  content: "\F2C9";
  color: #FFFFFF;
  font-family: icons8_win10;
  font-size: 16px;
  text-align: center;
  line-height:26px;
}
.spModalLayer.hideDragArea .spModalLayer_draglayer,
.spModalLayer.hideDragArea .spModalLayerDetachButton,
.spModalLayer.hideDragArea .spModalLayerMaximize,
.spModalLayer.hideDragArea .SPModalLayerGoToTabButton,
.spModalLayer.hideDragArea .SpModalLayerResize,
.spModalLayer.hideDragArea .spModalLayer_closebtn{
  display:none;
}
.spModalLayer.loading::after {
  content: '';
  border: 14px solid #f3f3f3;
  border-radius: 50%;
  border-top: 14px solid rgb(52, 127, 196);
  width: 80px;
  height: 80px;
  animation: spin 1.5s linear infinite;
  display: block;
  position: absolute;
  top: calc( 50% - 52px);
  left: calc( 50% - 52px);
}
.spModalLayer.loading::before {
  content: '';
  border: 14px solid #f3f3f3;
  border-radius: 50%;
  border-top: 14px solid rgb(52, 127, 196);
  width: 40px;
  height: 40px;
  animation: spin2 0.8s linear infinite;
  display: block;
  position: absolute;
  left: calc( 50% - 32px);
  top: calc( 50% - 32px);
}

.pallinoServizio {
  /*NB: il colore è calcolato runtime...*/
  width: 50%;
  height: 20px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 5px;/*Sarebbe meglio usare 50%, ma non è ben supportato...*/
}
