﻿/*
 *
 * CSS CON LE PERSONALIZZAZIONI PRINCIPALI
 *
 */


/* ------------------------------------------------------------------- RESETTA TUTTO */

.reset {
	all:initial;
	all:unset;
}


/* ------------------------------------------------------------------- OVERLAYER POPUP */

.menu{
	z-index:100;
}

#sipario-200 {
	z-index:200;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
   background: #eee url("img/bg_diagonals.png") 50% 50% repeat;
   opacity: .8;
}

#sipario-300 {
	z-index:300;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
   background: #eee url("img/bg_diagonals.png") 50% 50% repeat;
   opacity: .5;
}

.overLayer {
	z-index:210; /* sopra al sipario-200 */
	position:absolute;
	width:100%;
	height:100%;
	padding-top:30px;
	padding-bottom:30px;
}


/* ------------------------------------------------------------------- ASPECT-RATIO */

div.ratio-wrapper {
	width: 100%;
	padding-bottom: 75%; /* 4:3 */
	position: relative;
}

div.ratio-wrapper > div {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
}


/* ------------------------------------------------------------------- JQUERY-UI DIALOG */

.ui-dialog { z-index:1000 !important;}
.ui-dialog .ui-dialog-title { margin-left:1em !important;}
.ui-button { margin-left:8px !important; }
.ui-widget-overlay { background:#999 !important; opacity:0.97 !important; }


/* ------------------------------------------------------------------- FORM */

.cerca input { background-color:#FFEEEE; } /* RICERCA */

input.evide { border:1px solid #00A770; } /* NOTA: lo stesso di EVIDE */
select.evide { border:1px solid #00A770; } /* NOTA: lo stesso di EVIDE */

input[type=radio] {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}


/* ------------------------------------------------------------------- ADMIN: riquadro permessi */

span.permessi {
	border:1px solid #CCC;
	border-radius:3px;
	padding:0 4px;
	margin-right:5px;
}


/* ------------------------------------------------------------------- MASONRY */

.masonry { /* Masonry container */
    column-count: 3;
    /*column-gap: 5%;*/
}

.masonry_item { /* Masonry bricks or child elements */
    background-color: #EEFFEE;
    display: inline-block;
    margin: 0 0 1em;
    width: 100%;
}


/* ------------------------------------------------------------------- INFO */

.info {
	color:#00A770;
	cursor:help;	
}


/* ------------------------------------------------------------------- NOTE/UPLOAD "nu" */

div#nu_wrap {
	padding-bottom:10px;
	border:1px #333 solid;
	border-radius:5px;
	background-color:#FFFFE6;
}

ul#nu_media {
	display:block;
	overflow-y:scroll;
	height:205px;
	margin:0;
	padding:10px;
	border:1px #CCC solid;
	border-radius:4px; width:100%;
	background-color:#EEEEFF;	
}

li.nu_single {
	float:left;
	width:85px;
	height:85px;
	margin-right:10px;
	margin-bottom:10px;
	list-style:none;
	overflow:hidden;
	position:relative;
}

div#nu_progress {
	float:left;
	width:69%;
	margin-left:3%;
	margin-right:3%;
	height:10px;
	margin-top:10px;
	border-radius:5px;
	background-color:#CECDD3;
}

div#nu_bar {
	width:0%;
	height:10px;
	border-radius:5px;
	background:#9BAE77;
}

div#nu_abort {
	float:right;
	width:5%;
	text-align:right;
	cursor:pointer;
}

div.nu_canc {
	display:none;
	position: absolute;
	left: 60px;
	top: 60px;
	background-color:red;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	font-size: xx-small;
	text-align: center;
	line-height: 0;
	padding-top: 5px;
	color: white;
	cursor: pointer;
}

div.nu_play {
	display:none;
	position: absolute;
	left: 5px;
	top: 60px;
	background-color:white;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	font-size: xx-small;
	text-align: center;
	line-height: 0;
	padding-top: 5px;
	color: green;
	cursor: pointer;
}

div.nu_notifica {
	background-color:red;
	color:white;
	position:relative;
	top:-105px;
	left:70px;
	width:26px;
	height:26px;
	border-radius:13px;
	text-align:center;
	text-decoration:none;
}

span.nu_ext {
	display:block;
	position: relative;
	left: 0px;
	top: -42px;
	width: 85px;
	height: 0;
	font-size: x-small;
	text-align: center;
	line-height: 0;
}


/* ------------------------------------------------------------------- personalizzazioni del MAGICSUGGEST */

.ms-ctn .ms-sel-item {
	color:black !important;
	font-size:13px !important;
}


/* ------------------------------------------------------------------- personalizzazioni del AUTOCOMPLETE */

.ui-autocomplete-loading {
	background:white url("../img/spinner_16x16.gif") right center no-repeat;
}
.ui-autocomplete {
	z-index:220 !important;
	background-color:rgba(238, 255, 238, 1.0) !important;
}


/* ------------------------------------------------------------------- HR */

hr {
	margin:0;
	border:1px solid #999;
}


/* ------------------------------------------------------------------- BLINK! */

.blink_me {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}


/* ------------------------------------------------------------------- CATASTO */

.catasto {
	border: 1px solid #999;
	padding: 5px;
	border-radius: 3px;
	background-color: #E6E6E6;
}

.catasto i {
	color:white;
}


/* ------------------------------------------------------------------- FOOTER */

.fixfooter {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   padding:10px;
   background-color:white;
   border-top:2px #999 solid;
   z-index:220;
   text-align:center;
}


/* ------------------------------------------------------------------- GESTIONE INPUT COLORE */

input[type="color"] {
    -webkit-appearance: none;
    border: none;
	cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 10px;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
}


/* ------------------------------------------------------------------- TESTO BORDATO */

.bordato {
	text-shadow:	 2px  0   #fff,
					-2px  0   #fff,
					 0    2px #fff,
					 0   -2px #fff,
					 1px  1px #fff,
					-1px -1px #fff,
					 1px -1px #fff,
					-1px  1px #fff;
}























/* ------------------------------------------------------------------- CHECK e RADIO più grandi */
/* SOLO SU CARLO BIGIONI */
/* input[type=radio] { transform: scale(2.0) !important; } */
/* input[type=checkbox] { transform: scale(2.0) !important; } */










/* ------------------------------------------------------------------- GESTIONE STAMPA */

@media print {
	@page { margin: 0; }
	.solomonitor { display:none !important; }
	.solostampa { display:block; }
	img { margin:0; padding:0; display:block; max-width:100% !important; page-break-after:avoid; page-break-inside:avoid; }
}

@media screen {
	.solomonitor { display:block; }
	.solostampa { display:none !important; }
}

.barra {
	color:white;
	background-color:#09437F;
	font-weight:bold;
	padding:5px 10px;
	cursor:pointer;
	
	display:flex;
	justify-content:space-between;

}

.corpo {
	border:1px solid #09437F;
	background-color:#EEEEEE;
	padding:10px;
}