/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
/** WARNING - USE AT OWN RISK */
/** IT IS AGAINST APPLE'S POLICY TO USE SF PRO FOR ANYTHING OTHER THAN iOS/tvOS/macOS/watchOS DESIGN & DEVELOPMENT */
/** font/LICENSE.pdf */

/** 1. Copy/import this file into your main css/scss file */
/** 2. Change css font-family: to "SF Text", "SF Display" or "SF Mono" */
/** 3. Apply font-weight or italic to html elements */

/*---------------------------------------------------------------------------*
 * SF UI Display
 *---------------------------------------------------------------------------*/

/** Black */
@font-face {
  font-family: "SF Display";
  font-weight: 900;
  src: url("font/SF-UI-Display-Black.otf");
}

/** Bold */
@font-face {
  font-family: "SF Display";
  font-weight: 700;
  src: url("font/SF-UI-Display-Bold.otf");
}

/** Heavy */
@font-face {
  font-family: "SF Display";
  font-weight: 800;
  src: url("font/SF-UI-Display-Heavy.otf");
}

/** Light */
@font-face {
  font-family: "SF Display";
  font-weight: 200;
  src: url("font/SF-UI-Display-Light.otf");
}

/** Medium */
@font-face {
  font-family: "SF Display";
  font-weight: 500;
  src: url("font/SF-UI-Display-Medium.otf");
}

/** Regular */
@font-face {
  font-family: "SF Display";
  font-weight: 400;
  src: url("font/SF-UI-Display-Regular.otf");
}

/** Semibold */
@font-face {
  font-family: "SF Display";
  font-weight: 600;
  src: url("font/SF-UI-Display-Semibold.otf");
}

/** Thin */
@font-face {
  font-family: "SF Display";
  font-weight: 300;
  src: url("font/SF-UI-Display-Thin.otf");
}

/** Ultralight */
@font-face {
  font-family: "SF Display";
  font-weight: 100;
  src: url("font/SF-UI-Display-Ultralight.otf");
}


html {
    color: #222;
    font-size: 0.8em;
	font-weight : 400;
    line-height: 1.4;
	font-family : 'SF Display', sans-serif;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input[type=text],
input[type=date],
input[type=number],
input[type=password],
textarea, select{
    box-sizing : border-box;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 15px 'SF Display', sans-serif;
	color : #333;
	font-weight : 400;
}

	.logologin 
	{
		position : fixed;
		bottom : 140px;
		right : 70px;
		width : 200px;
		display: none;
	}
	
.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 10px solid #235F87;
}

.footer-container,
.main aside {
    border-top: 10px solid #235F87;
}

.header-container,
.footer-container,
.main aside {
    background: #2B6E9D;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */


/* ==============
    MOBILE: Main
   ============== */

	.statwidget
	{
		margin-top : 25px; 
		width : 25%; 
		max-width : 250px; 
		float : left; 
		text-align : center; 
		font-size : 11px; 
		font-weight : normal; 
	}
	
   	.statwidget img
	{
		width : 30px;
		margin : 5px 0px 10px 0px;
	}
.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 0.8em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}
.footer-container 
{
	position : fixed;
    top: 100%;
	margin-top : -90px;
	width : 100%;
	z-index : 999;
}

.footer-container footer {
    color: white;
    padding: 10px;
	height : 60px;

}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

	.celldiv
	{
		padding : 10px 10px 10px 10px;
		height : 60px;		
	}
	
	.celldomanda, .celldomandafile
	{
		padding : 20px 0px 20px 0px;
	}
	
	
/* ==========================================================================
   Author's custom styles
   ========================================================================== */















/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

	.logologin 
	{
		position : fixed;
		bottom : 140px;
		right : 70px;
		width : 200px;
		display: none;
	}
	
/* ====================
    INTERMEDIATE: Menu
   ==================== */
	.formcontainer
	{
		width : 100%; 
	}
	.intcontainer
	{
		margin-top: 10px; 
	}
	.celldiv
	{
		padding : 10px 10px 10px 10px;
		height : 60px;		
	}
	
	.celldomanda, .celldomandafile
	{
		padding : 20px 0px 20px 0px;
	}
	
	.statwidget
	{
		margin-top : 25px; 
		width : 25%; 
		max-width : 250px; 
		float : left; 
		text-align : center; 
		font-size : 15px; 
		font-weight : bold; 
	}
	
    .statwidget img
	{
		width : 50px;
		margin : -5px 0px 10px 0px;
	}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */


}

@media only screen and (min-width: 768px) {
	
	.logologin 
	{
		position : fixed;
		bottom : 140px;
		right : 70px;
		width : 200px;
		display: block;
	}
	
/* ====================
    WIDE: CSS3 Effects
   ==================== */
	.formcontainer
	{
		width : 670px; 
	}
	
	.intcontainer
	{
		margin-top: 400px; 
	}
	
	.celldiv
	{
		width : 100%;
		max-width: 315px;
		min-width : 100px;
		float : left;
	}
	
	.celldomanda, .celldomandafile
	{
		width : 100%;
		max-width: 100%;
		min-width : 100px;
		text-align : center;
	}
	
	
    .header-container,
    .main aside {
        -webkit-box-shadow: none;
           -moz-box-shadow: none;
                box-shadow: none;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }



/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

	.logologin 
	{
		position : fixed;
		bottom : 140px;
		right : 70px;
		width : 200px;
		display: block;
	}
	
/* ===============
    Maximal Width
   =============== */
	.formcontainer
	{
		width : 1026px; 
	}
	
	.statwidget
	{
		margin-top : 25px; 
		width : 25%; 
		max-width : 250px; 
		float : left; 
		text-align : center; 
		font-size : 17px; 
		font-weight : bold; 
	}
	
    .statwidget img
	{
		width : 50px;
		margin : 0px 0px 12px 0px;
	}
	
	.intcontainer
	{
		margin-top : 30px; 
	}
	
	.celldiv
	{
		width : 100%;
		max-width: 322px;
		min-width : 245px;
		float : left;
	}
	
	.smalldiv
	{
		max-width: 293px;
		min-width : 105px;
	}
	
	.celldomanda, .celldomandafile
	{
		width : 100%;
		max-width: 100%;
		min-width : 245px;
	}
	
    .wrapper {
        width: 1120px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
   
   
   
.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

table.nice {
	width : 75%;
}

table.nice td {
	padding : 15px 8px 15px 8px;
}

table.filetable td {
	height : 60px;
}

table.nice th {
	background: #2B6E9D;
	color : #FFF;	
	padding : 8px;
	text-align : left;
}
table.nice tr:nth-child(even) {background: #C9D1D6}
table.nice tr:nth-child(odd) {background: #FFF}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


.icona img
{
	width : 25px;
}


.error
{
	float: right;
	font-size : 10px;
	color : #CC0000;
	text-align: right;
	text-transform : uppercase;
	padding : 2px 0px 3px 0px;	
}

.errorSurvey
{
	font-size : 10px;
	color : #CC0000;
	text-align: center;
	text-transform : uppercase;
	margin-top : -50px;
	margin-bottom : 35px;
	padding : 2px 0px 3px 0px;	
}

.fieldtip
{
	font-size : 12px;
	color : #235F87;
	font-weight : 500;
	letter-spacing : 1px;
	text-transform : uppercase;
	padding-bottom : 3px;
}

.fieldtip img
{
	width : 17px;
	margin-top : -3px;
	
}

.sectiongroup
{
	font-size : 15px;
	color : #235F87;
	font-weight : 600;
	letter-spacing : 5px;
	margin-top : 20px;
	text-transform : uppercase;
	text-align : center;
}

.pagetitle
{
	font-size : 55px;
	color : #235F87;
	font-weight : 600;
	padding-bottom : 15px;
}

.pagesubtitle
{
	font-size : 25px;
	color : #235F87;
	font-weight : 600;
	padding-top : 15px;
}

.savebutton {
	-moz-box-shadow:inset 0px 1px 0px 0px #3dc21b;
	-webkit-box-shadow:inset 0px 1px 0px 0px #3dc21b;
	box-shadow:inset 0px 1px 0px 0px #3dc21b;
	background-color:#44c767;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:15px;
	padding:10px 24px;
	text-decoration:none;
	width : 250px;
	margin-top : 15px;
}
.savebutton:hover {
	background-color:#5cbf2a;
}
.savebutton:active {
	position:relative;
	top:1px;
}
.deletebutton {
	-moz-box-shadow:inset 0px 1px 0px 0px #8a2a21;
	-webkit-box-shadow:inset 0px 1px 0px 0px #8a2a21;
	box-shadow:inset 0px 1px 0px 0px #8a2a21;
	background-color:#c62d1f;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #d02718;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:15px;
	padding:10px 24px;
	text-decoration:none;
	width : 250px;
	margin-top : 15px;
}
.deletebutton:hover {
	background-color:#f24437;
}
.deletebutton:active {
	position:relative;
	top:1px;
}
.actionbutton {
	-moz-box-shadow:inset 0px 1px 0px 0px #54a3f7;
	-webkit-box-shadow:inset 0px 1px 0px 0px #54a3f7;
	box-shadow:inset 0px 1px 0px 0px #54a3f7;
	background-color:#007dc1;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #124d77;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:15px;
	padding:10px 24px;
	text-decoration:none;
	width : 250px;
	margin-top : 15px;
}
.tablebutton {
	font-size:10px;
	padding:5px 12px;
	width : 100%;
	margin-top : 0px;
}
.actionbutton:hover {
	background-color:#0061a7;
}

.actionbutton:active {
	position:relative;
	top:1px;
}

	.field
	{
		padding : 8px;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
		border : 1px solid #AAA;
		width : 100%;
	}
	
	.fieldSurvey
	{
		padding : 8px;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 4px;
		border: 2px solid #2B6E9D;
		width : 100%;
	}
	.errorfield
	{
		padding : 8px;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 4px;
		border : 2px solid #CC0000;
		width : 100%;
	}	
	
	.formcontainer
	{
		margin : auto; 
	}
	
	.positivemessage, .errormessage
	{	
		font-weight : bold; 
		background: #FFF;
		color : #2B6E9D;
		padding : 20px;
		vertical-align : center;
		text-align : center;
		margin-bottom : 30px;
		border : 1px dotted #2B6E9D;
		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
	}
	
	.errormessage
	{
		color : #C0392B;
		border : 1px dotted #C0392B;
	}
	
	.pagination
	{
		font-size : 15px;
		margin-top : 6px;
	}
	
	.paginationlink
	{
		padding : 3px;
		margin : 2px;
		width : 27px;
	}
	
	.bp-icon-next:after {
	content: "\e000";
}
.bp-icon-drop:after {
	content: "\e001";
}
.bp-icon-archive:after {
	content: "\e002";
}
.bp-icon-about:after {
	content: "\e003";
}
.bp-icon-prev:after {
	content: "\e004";
}
.tbFiltri td
{
	padding : 3px;
}

.trablack, .loader
{
	position : fixed; 
	top : 0; 
	left : 0; 
	height : 100%; 
	width : 100%; 
	background-color: #000000; 
	display : none;
	z-index : 999;
	overflow : hidden;
}

.canvasloader-container
{
	display:none; 
	position:fixed; 
	top:50%; 
	left:50%;
}




.attesa, .completato
{
	text-align : center; 
	font-size : 11px; 
	font-weight : bold; 
}

.completato
{
	color : #27AE60;
}
.attesa
{
	color : #2B6E9D;
}


#file {
    display:none;
	font-size : 18px;
}

#file
{
	text-shadow: 0px 2px 2px #000;
	font-size : 13px;
}

.btn_photo {
	background-color: #F6F6F6;
	color : #AEAEAE;
	text-align: center;
	font-size : 18px;
	padding : 13px;
	border-radius : 3px;
	width : 100%;
	border :  none;
}

.bubbleUser
{
	position: relative;
	width : 100%;
	color : #FFF;
	padding: 20px;
	background: #8EB2CB;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin : 5px;
    box-sizing : border-box;
}

.bubbleUser:after
{
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 8px 0 8px 10px;
	border-color: transparent #8EB2CB;
	display: block;
	width: 0;
	z-index: 1;
	margin-top: -8px;
	right: -10px;
	top: 33%;
}

.bubbleOther
{
	position: relative;
	width : 100%;
	color : #000;
	padding: 20px;
	background: #DDDDDD;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	margin : 5px;
    box-sizing : border-box;
}

.bubbleOther:after
{
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 8px 10px 8px 0;
	border-color: transparent #DDDDDD;
	display: block;
	width: 0;
	z-index: 1;
	margin-top: -8px;
	left: -10px;
	top: 33%;
}

.ui-autocomplete-loading {
	background-color: white;
	background-image : url("../img/ui-anim_basic_16x16.gif");
	background-repeat : no-repeat;
	background-position : 98% 50%;
}

.splashcontainer
{
	display:none; 
	width : 100%; 
	height : 100%; 
	position : fixed; 
	background-color : #2B6E9D; 
	background: radial-gradient(#2B6E9D 45%, #1D4C6B);
	z-index : 99999;
}

.splashspin:before,
.splashspin:after,
.splashspin {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.splashspin {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.splashspin:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.splashspin:after {
  left: 3.5em;
}
.splashspin:before,
.splashspin:after {
  content: '';
  position: absolute;
  top: 0;
}






@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
	box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
	box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
	box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
	box-shadow: 0 2.5em 0 0;
  }
	}
@keyframes fadeIn {
	to {
	opacity: 1;
  }
}
	.fade-in {
  opacity: 0;
  animation: fadeIn .2s ease-in 1 forwards;
}
	.is-paused {
  animation-play-state: paused;
}



.redBox, .yellowBox, .greenBox
{
	border : 1px solid #C0392B;
	font-size : 11px;
	text-align : center;
	color : #C0392B;
	padding : 2px 5px 2px 5px;
}

.yellowBox 
{
	border-color : #F39C12;
	color : #F39C12;
}
.greenBox
{
	border-color : #27AE60;
	color : #27AE60;
}

.recordRow
{
	width : 100%;
	border : 0px;
}

.recordRow td
{
	padding : 5px;
}

.sectionBox
{
	margin : 10px;
	padding : 30px;
	background-color : #F1F1F1;
	border : 1px solid #ccc;
}
.sectionBox h3
{
	padding : 10px;
	margin-top : -15px;
	border-bottom : 1px solid #BBB;
}

h3
{
	font-size : 25px;
	font-weight : 600;
	color : #333;
}

.credits
{
	font-size : 12px;
	color : #FFF;
	font-weight : 400;	
	margin-top : 15px;
}

.domanda
{
	font-size : 25px;
	color : #333;
	font-weight : 600;	
	margin : 20px 0px 50px 0px;
}

.help
{
	font-size : 15px;
	color : #AAA;
	font-weight : 400;	
	margin : 15px 0px 0px 0px;
	text-align : center;
}

/* STILE CHECKBOX SURVEY ----------------------------------------------------------------------- */

.celldomanda input[type="checkbox"],
.celldomanda input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.celldomanda label {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding-left: 40px;
  padding-top : 2px;
  padding-right: 10px;
  line-height: 34px;
  cursor: pointer;
  font-size : 20px;
  margin-top : 7px;
}
.celldomanda label::before {
  content: " ";
  position: absolute;
  top: 6px;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid #2B6E9D;
  border-radius: 4px;
  z-index: -1;
}
.celldomanda input[type="radio"] ::before {
  border-radius: 20px;
}
/* Checked */
.celldomanda input[type="checkbox"]:checked + label,
.celldomanda input[type="radio"]:checked + label {
  padding-left: 10px;
  color: #fff;
    padding-left: 40px;

}
.celldomanda input[type="checkbox"]:checked + label::before,
.celldomanda input[type="radio"]:checked + label::before {
  top: 0;
  width: 100%;
  height: 100%;
  background: #2B6E9D;
}
/* Transition */
.celldomanda label,
.celldomanda label::before {
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}
/* STILE CHECKBOX SURVEY ----------------------------------------------------------------------- */


.celldomanda table
{
	margin : auto; 
	max-width : 800px;
}

.celldomanda table td
{
	text-align : left;	
}


.form-switch {
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.form-switch i {
  position: relative;
  display: inline-block;
 margin-right: .5rem;
  width: 46px;
  height: 26px;
  background-color: #e6e6e6;
  border-radius: 23px;
  vertical-align: text-bottom;
  transition: all 0.3s linear;
}

.form-switch i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.form-switch i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.form-switch:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.form-switch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); }

.form-switch input { display: none; }

.form-switch input:checked + i { background-color: #4BD763; }

.form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }

.form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }

.subquecheck input:checked + i { background-color: #2B6E9D; }

.blockcheck input:checked + i { background-color: #C00; }


.intestazione
{
	max-width : 1000px;  
	color : #235F87;
	font-weight : 600;
	margin-bottom : 20px;	
	border-bottom : 1px dotted #999;
}

.numVou input {
  background-color: #ccc;
  transition: all 1s ease;
}
.numVou input:focus {
  border-color: red;
  background-color: #f5b093;
  outline: none;
}

.beta
{
	border : 1px solid #FF7200;
	border-radius : 2px;
	color : #FF7200;
	font-weight: 600;
	text-transform : uppercase;
	width : 30px;
	font-size : 10px;
	padding : 0px;
	background : #FFF;
}

.societyTitle
{
	text-align : center; 
	padding: 20px 0px 20px 0px;
	font-size : 20px;
	font-weight : 500;
	color : #AAAAAA;
}