/** MISC **/

body {
	overflow:hidden;
}

.noov {
	overflow:hidden!important;
}

.col-0 {
	position: relative;
    width: 100%;
    min-height: 1px;
	padding-right: 15px;
    padding-left: 15px;
	flex: 0 0 5%;
    max-width: 5%;
}

.col-m {
	position: relative;
    width: 100%;
    min-height: 1px;
	padding-right: 15px;
    padding-left: 15px;
	flex: 0 0 95%;
    max-width: 95%;
}

.col-1-2 {
	-webkit-box-flex: 0;
    -ms-flex: 0 0 4.166667%;
    flex: 0 0 4.166667%;
    max-width: 4.166667%;
	position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 0;
    padding-left: 0;
}

::placeholder {
  color: #dc3545!important;
}

a:link {
	text-decoration:none;
}

.rowbody:nth-of-type(even) {
	background:#ebebeb;
}

tr.disabled {
	filter:brightness(90%) opacity(50%);
}

.rowbody>div {
	align-items:center;
}

select option[value="new"] {
	background: #dc3545;
	color:#fff;
}

.btn {
	vertical-align:unset!important;
}

table {
	min-width:500px;
}

.mybox table {
	min-width:unset!important;
}

/* notificatins */
.mynotifications {
	position:relative;
}

.notification-btn.on {
	background:#007bff;
	color:#fff;
}

.mynotifications .num {
	position: absolute;
    top: -10px;
    right: -11px;
    width: 20px;
    height: 20px;
    font-size: 13px;
    background: #ff0000;
    color: #fff;
    padding: 2px;
    line-height: 15px;
    border-radius: 100%;
}

.mynotifications .num.off {
	opacity:0;
}

.mynotifications .notification-container {
	display:none;
	position: absolute;
    width: 250px;
    max-height: 350px;
	overflow:hidden;
    top: 110%;
    left: -210px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.notification-panel {
	height:300px;
	overflow:auto;
}

.notification-panel.off {
	display:flex;
	align-items:center;
	justify-content:center;
	color:#bbb;
}

.notification-panel .note.new .contact {
	background:#dc3545;
	color:#fff;
}

.notification-panel .contact {
	background:#ddd;
	padding:4px;
	border-radius:4px;
}

.notification-panel .contact span {
	font-size:12px;
}

.notification-panel .note {
    padding: 5px;
	margin: 5px;
}

.notification-panel .note:nth-of-type(odd) {
	background:#eee;
	border-radius:5px;
}

.notification-panel .note:nth-of-type(even) {
	background:#e5e5e5;
	border-radius:5px;
}

.notification-panel .note .contact h6 {
	color:#000;
	text-align:left;
	margin: 0;
}

.notification-panel .note.new .contact h6,.notification-panel .note.new .contact span {
	color:#fff;
}

.notification-panel .note .contact span {
	color:#000;
	float:right;
}

.notification-panel .message {
	
}

.notification-panel .message span {
	display:block;
	padding:5px 3px;
	height:55px;
	font-size:11px;
	overflow:hidden;
}

.notification-panel .message .btn {
	display:inline-block;
	padding:0 4px!important;
}

.mynotifications .view {
	padding:5px;
}


.page {
	overflow:auto;
	transition:.4s;
}

.page.disabled:before {
	content:"";
	position:absolute;
	top:2px;
	left:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,.8);
	z-index:1;
}

.page.loading {
	display: inline-flex;
	align-items:center;
}

.page.loading:before {
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#fff;
	z-index:10000000000;
}

.cssload-loader {
	position: absolute;
	left: calc(50% - 75px);
	width: 150px;
	height: 150px;
	border-radius: 50%;
	perspective: 780px;
	z-index:3000000000;
}

.cssload-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border-radius: 50%;
}

.cssload-inner.cssload-one {
	left: 0%;
	top: 0%;
	animation: cssload-rotate-one 1.15s linear infinite;
	border-bottom: 10px solid #dc3545;
}

.cssload-inner.cssload-two {
	right: 0%;
	top: 0%;
	animation: cssload-rotate-two 1.15s linear infinite;
	border-right: 10px solid #dc3545;
}

.cssload-inner.cssload-three {
	right: 0%;
	bottom: 0%;
	animation: cssload-rotate-three 1.15s linear infinite;
	border-top: 10px solid #dc3545;
}

@keyframes cssload-rotate-one {
	0% {transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);}
	100% {transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);}
}

@keyframes cssload-rotate-two {
	0% {transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);}
	100% {transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);}
}

@keyframes cssload-rotate-three {
	0% {transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);}
	100% {transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);}
}

/* Uploader */
body.safari .uploader form {
	display:inline-block!important;
}

body.safari .uploader form input[type='file'] {
	display:inline-block!important;
}

body.safari .uploader form>button {
	top:7px;
	left:8px!important;
}

.uploader {
	position:relative;
}

.uploader .move {
	position:absolute;
	left:-2.6rem;
	z-index:2;
}

.uploader form {
	position: relative;
	width:40%;
}

.uploader form>button {
	position:absolute;
	left:6px;
	width:90px;
	padding: .1rem 0!important;
}

.uploader .file {
	background:#d8d9da;
	width:200px;
	height:125px;
	margin: 10px;
	border: 7px solid transparent;
	box-shadow:inset 0 0 3px rgba(0,0,0,.5);
	transform:scale(.88);
	transition:.3s;
}

.uploader .file>img {
	width:100%;
	height:auto;
	object-fit: contain;
}
.uploader .file>img[src*="(TEMPORARY_NAME)"] {
	object-fit: cover;
}

.file>button {
	position:absolute;
	top:0;
	right:0;
	width:25px;
	height:25px;
	padding:0;
	box-shadow:1px 1px 3px 0 #000;
	transform:scale(.88);
	transition:.3s;
}

.file>button:hover {
	transform:scale(1);
}

.file>p {
	position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
}

.file>span {
    display: block;
    min-width: 100%;
    position: absolute;
    bottom: -30px;
    left: 0px;
    background: #f8f9fa;
    padding: 2px 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 1px 0 #000;
	opacity:0;
	visibility:hidden;
	transition:.3s;
}

.file:hover>span {
	 bottom: -23px;
	opacity:1;
	visibility:visible;
}

.file>span>a {
	white-space: nowrap;
}

.uploader .file:hover {
	transform:scale(1);
}

.uploader .progress {
	display:none;
}

.pageUploader .image-item {
	position:relative;
	display:inline-block;
	margin:1% 2%;
	width:16%;
	height: 150px;
	max-height:150px;
	border-radius:4px;
	padding:10px;
	box-sizing:border-box;
	background:#eee;
	box-shadow:0 0 5px rgba(0,0,0,.7);
	transition:.4s;
}

.pageUploader .image-item:hover {
	cursor:pointer;
	transform:scale(1.1);
}

.pageUploader .image-item .controls {
	position:absolute;
	top:-10px;
	right:-10px;
	z-index:3;
	opacity:0;
}

.pageUploader .image-item:hover .controls {
	opacity:1;
}

.pageUploader .image-item .controls i {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:25px;
	font-size:22px;
	text-shadow:1px 1px 1px #fff,1px -1px 1px #fff,-1px 1px 1px #fff,-1px -1px 1px #fff;
	transition:.4s;
}

.image-item a {
	position: relative;
	display:inline-block;
	width:100%;
	height:100%;
	overflow:hidden;
}

.image-item p {
	display:inline-block;
	width:100%;
	height:100%;
	margin:0;
}

.pageUploader .image-item img {
	width:100%;
	height:100%;
	object-fit:cover;
	vertical-align:unset!important;
}

.image-item .name {
	position:absolute;
	top:130%;
	left:0;
	right:0;
	bottom:0;
	display:flex;
	align-items:center;
	justify-content:center;
	padding: 10px;
	background:rgba(0,0,0,.7);
	color:#fff;
	word-break: break-all;
	transition:.5s;
}

.image-item:hover .name {
	top:0;
}

/** SITO **/
.main>div {
	overflow:auto;
}

.menu,.main {
	transition:.3s;
}

.menu {
	height:100vh;
	overflow:hidden;
}

.menu .item {
	padding-left:10px;
}

.top {
	display:flex;
	align-items:center;
	height:75px;
	max-height:75px;
	box-shadow: 0 0 3px #000;
    z-index: 2;
}

.menu.col-0 .site-logo {
	overflow: hidden;
	width: 20px;
    font-size: 35px;
    margin: auto;
}

.menu.col-0 .site-logo a {
	font-size:22px;
}

.menu.col-0 .primary-menu .item>a {
	font-size:0;
	padding: 10px 0;
}

.menu.col-0 .primary-menu .item i {
	width:100%;
	font-size: 20px;
	text-align:center;
}

.menu.col-0 .primary-menu .submenu {
	padding-left: 0!important;
    text-align: center;
}

.menu.col-0 .item {
	padding-left:0!important;
	justify-content: center;
}

.menu.col-0 .site-logo>span {
	display: none;
}

.menu.col-0 .parent>a {
	color:#dc3545;
}

.menu.col-0 .parent>.item {
	color:rgba(255,255,255,.2);
}

.item.prime.parent.on {
    box-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.page {
	position:relative;
}

.page.on:before {
	content:"";
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: rgba(0,0,0,.6);
    z-index: 2;
}

/* menu */

.menu-user {
	/*display:none;*/
}

.menu-user {
    background: #6c757d;
	width: calc(100% + 42px);
    margin-left: -21px;
}

.col-0 .menu-user {
    width: calc(100% + 32px);
    margin-left: -16px;
}

.col-0 .menu-user .item {
	text-align:center;
	padding-left: 10px!important;
}

.col-0 .menu-user span {
	display:inline-block;
	width:0;
	height:0;
	overflow:hidden;
}

.showmenu {
	position: absolute;
    right: 5px;
    top: 36px;
    font-size: 20px;
	transition:.4s;
}

.showmenu.on {
	transform:rotate(90deg);
}

.menu-user .item {
	padding:5px;
}

.menu-user a{
   color:#fff;
   transition:.4s;
}

.menu-user .item:hover a {
	filter:brightness(60%);
}

.site-logo {
	font-size:24px;
	white-space: nowrap;
	overflow:hidden;
}

.site-logo>b {
	
	display:inline-flex;
	text-transform:capitalize;
	color:#dc3545;
	font-family: monospace;
    white-space: pre;
	width:150px;
	overflow: hidden;
}

.site-logo a {
	
}

.primary-menu {
	
}

.primary-menu>.item {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	white-space: nowrap;
	width:100%;
}

.primary-menu>.item:hover {
	cursor:pointer;
}

.primary-menu .item a {
	position:relative;
	display:block;
	width:100%;
	padding:10px 25px 10px 0;
	text-transform:capitalize;
	color:#999;
	transition:.3s;
}

.primary-menu .parent>a:after {
	content:"\f105";
	position:absolute;
	right:10px;
	font-family: "Font Awesome 5 Free";
	font-weight:bold;
}

.primary-menu .parent.on>a:after {
	content:"\f107";
}

.primary-menu>.item a:hover {
	color:#fff;
}

.primary-menu .item i {
	width:25px;
}

.primary-menu .item:not(.on)>.submenu {
	display:none;
}

.primary-menu .item.on>.submenu {
	display:block;
	/*padding-left: 15px;*/
	width:100%;
}

.primary-menu .item.on>.submenu .item {
	display:flex;
	flex-wrap:wrap;
	width:100%;
}

.primary-menu .item.on>.submenu .item i {
	width:30px;
}

.primary-menu .item.act>a {
	color:#fff;
}

/** Top **/
.header {
	display: inline-block;
	padding-left:20px;
}

.toggle {
	height:40px;
	width:40px;
	border-radius:100%;
}

.breadcrumbs {
	margin:0 -1rem;
	text-transform:capitalize;
}

.page {
	height:90vh;
	height:calc(100vh - 75px);
}

/** ___ Nav ___ **/
.mynav>a {
	display:inline-block;
	padding: .5rem 1rem;
	margin:0!important;
	color:#000;
}

.mynav>a.active {
	color:#dc3545;
	border-radius: 10px 10px 0 0;
	background: #f8f9fa;
    border: 2px solid #fff;
    box-sizing: border-box;
	
    border-bottom: 0;
}

.mynav>a:hover {
	cursor:pointer;
}

.navPanel {
	border:2px solid #fff;
	border-top:0;
	max-height:90%;
	overflow-y:scroll;
}

.navPanel.loading {
	position: relative;
    height: 150px;
    overflow: hidden;
}

.navPanel.loading:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,.9);
	z-index:3;
}

.navPanel.loading:after {
	content:'';
	position:absolute;
	top:5px;
	left:5px;
	width:40px;
	height:40px;
	border:2px solid red;
	border-radius:50%;
	border-left:2px solid transparent;
	animation: rotate 5s linear 0s infinite normal;
	z-index:4;
}

@keyframes rotate {
	0%	{transform:rotate(0deg);}
	100%{transform:rotate(360deg);}
}

.navPanel .pdffile.half {
	position:relative;
	width: 48%;
    display: inline-block;
	padding-right:2%;
}

.navPanel .pdffile.half.odd:after {
    content: '';
    position: absolute;
    top: 0;
    right: 13px;
    bottom: 0;
    width: 1px;
    background: rgba(0,0,0,.6);
}

/** __ MISC __ **/
[data-doc]:hover {
	cursor:pointer;
}

.mybox.doc {
	top:10px!important;
	left:10%!important;
	margin:0!important;
	width:80%;
	height:500px;
}

.mybox.doc iframe {
	width:100%;
	height:100%;
}

.mybox.doc .undoBox,.mybox.mex .undoBox {
	position:absolute;
	top:-10px;
	right:-25px;
}

/** __ ajaxTable __ **/
.dataTables_wrapper {
	padding-bottom:30px;
}

.dataTable.hidden,.dataTable.hidden ~ div {
	display:none!important;
}

.dataTables_wrapper .dt-buttons>button {
	background-color: #28a745;
    border-color: #28a745;
	color:#fff;
	display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.dataTables_wrapper .dt-buttons>button:active {
	color: #fff;
    background-color: #1e7e34;
    border-color: #1c7430;
}

.dataTables_wrapper .dt-buttons>button:focus {
    box-shadow: 0 0 0 0.2rem rgba(40,167,69,.5);
}

.dataTables_wrapper .dt-buttons>button:hover {
	color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
	cursor:pointer;
}

.ajaxTab {
	width:100%!important;
}

.ajaxTab thead th {
	text-transform:capitalize;
	font-weight:bold;
	padding:15px 0;
}

.ajaxTab + .dataTables_info {
	display:none;
}

.ajaxTab tr.nopsw {
	background-color: #c82333A3;
}

.ajaxTab.loading {
	position:relative;
}
.ajaxTab.loading:after {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.9);
}
.ajaxTab.loading:before {
    content: "";
    position: absolute;
    left: 50%;
    border: 6px solid #c1c1c1;
    border-radius: 50%;
    border-top: 6px solid #c82333;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    z-index: 2;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/** __ PAGES __**/

.pageHome .home {
	text-align:center;
}

.pageHome .home h4 {
	display:inline-block;
	font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    margin: 0px;
    font-weight: 900;
    background: url(/area-riservata/uploads/images/bg.jpg) no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: cover;
    background-position: center;
}

.pageHome .home h2 {
	display:inline-block;
}

.pageHome .home h2>b {
	color:#dc3545;
}

.pageHome  .content {
	font-size:18px;
}

.pageHome  .content>a {
	font-size:16px;
}

.pageHome td {
	padding:10px 0;
}

.pageHome .logo>img {
	width:150px;
	height:auto;
	max-height: 75px;
	object-fit:contain;
}

.pageHome .footer a:last-of-type {
	padding:0 20px;
}

.pageImpostazioniutente h1 {
	margin:0 auto 30px;
}

.pageImpostazioniutente .page  [class*='col-']{
	padding:10px;
}

.pageImpostazioniutente .page [class*='col-']:nth-of-type(even){
	background:#ddd;
}

.pageImpostazioniutente h3,.pageImpostazioniutente .info {
	/*text-align:center;*/
}

.pageImpostazioniutente .info {
	text-transform:capitalize;
}

.pageListeeprodotti .ajaxTab tr>th:first-of-type ,.pageListeeprodotti .ajaxTab tbody>tr>td:first-of-type {
	width:50%!important;
}

.pageListeeprodotti .ajaxTab tr>th:last-of-type ,.pageListeeprodotti .ajaxTab tbody>tr>td:last-of-type {
	width:50%!important;
}

.changeicon i {
	width:25px;
	text-align:center;
}

.mainmenu .hideToggle.off {
	filter:grayscale(100%);
}

.mybox {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25%;
    margin-top: -15%;
    width: 40%;
    z-index: 3;
}

.mybox.off {
    display: none;
}

.mybox .title {
	font-size:30px;
}

.mybox .roleBtn {
	padding:10px 0;
}

/* utenti */

.pageUtenti .ajaxTab tbody>tr>td:nth-last-of-type(2),.pageUtenti .ajaxTab tbody>tr>td:nth-last-of-type(1) {
	white-space:nowrap;
}

.pageUtenti .opa {
	opacity:.7;
}

.userList tr>th:nth-of-type(2) {
	width:150px;
}

.userList tr>td:nth-last-of-type(2),.userList tr>th:nth-last-of-type(2){
	width:0;
	font-size:0;
	overflow:hidden;
}

.pageUtenti .dt-button span:before {
	content:"\f019";
	margin-right:5px;
	font-family: "Font Awesome 5 Free";
	font-weight:bold;
}

.pageUtenti .mybox {
	left:5%;
	margin:0;
	top:5%;
	width:90%;
}

.pageUtenti .mybox h2 span {
	font-size:15px;
}

.pageUtenti #DataTables_Table_0_wrapper {
	padding:0!important;
}

.pageUtenti .mybox .ajaxTab {
	display:flex;
	flex-wrap:wrap;
}

.pageUtenti .mybox .ajaxTab>tbody {
	width:100%;
}

.pageUtenti .mybox .ajaxTab tr {
	display: flex;
    flex-wrap: wrap;
	width: 100%;
}

.pageUtenti .mybox .ajaxTab td {
	text-align:left;
	margin-bottom:15px!important;
}

.pageUtenti .mybox .ajaxTab td:nth-of-type(1), .pageUtenti .mybox .ajaxTab td:nth-of-type(9) {
	width:60%;
}

.pageUtenti .mybox .ajaxTab td:nth-of-type(2),.pageUtenti .mybox .ajaxTab td:nth-of-type(3) {
	width:15%;
}

.pageUtenti .mybox .ajaxTab td:nth-last-of-type(3),.pageUtenti .mybox .ajaxTab td:nth-last-of-type(2) {
	width:100%;
}

.pageUtenti .mybox .ajaxTab td:nth-of-type(4),.pageUtenti .mybox .ajaxTab td:nth-of-type(5) {
	width:49%;
	margin:0 .5%;
}

.pageUtenti .mybox .ajaxTab td:nth-of-type(6),.pageUtenti .mybox .ajaxTab td:nth-of-type(7),.pageUtenti .mybox .ajaxTab td:nth-of-type(8) {
	width:30%;
	margin:0 1.5%;
}

.pageUtenti .mybox .ajaxTab td:last-of-type {
	margin:20px 0;
}

.pageUtenti .mybox td.sconto:not(.on){
	display:none;
}

/* news */
.pageNews .navPanel {
	height:100%;
}

.pageNews .image-item {
	padding:10px 0;
}

.pageNews .image-item .controls {
	display: flex;
	align-items: center;
}

.pageNews .image-item a {
	width:auto!important;
	padding:0 15px 0 0;
}


/* listini */
.pageListini .imgs {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	min-height: 300px;
    width: 90%;
    margin: auto;
}

.pageListini span.imgtit {
	position:relative;
	display: inline-block;
	width: calc(100% / 9);
    height: 100%;
	max-height: 280px;
    margin:0 20px;
	border: 2px solid #000;
	/*overflow:hidden;*/
    transition: .4s;
}

.pageListini span.imgtit img {
	width:100%;
	height:100%;
	object-fit: contain;
	object-position:center;
}

.pageListini a>img {
	height:unset!important;
	/*object-fit:none!important;*/
}

.imgtit[data-perc] {
	position:relative;
	display: block;
}

.imgtit[data-perc]:before {
	content: '';
    position: absolute;
    top: -38px;
    width: 50px;
    aspect-ratio: 3/2;
    background-image: url(../uploads/img/graph.png);
    background-size: cover;
}

.imgtit[data-perc]:after {
	content: "+" attr(data-perc) "% \A dai prezzi esposti";
    position: absolute;
    white-space: pre;
    top: -38px;
    left: 55px;
    font-size: 17px;
    line-height: 1.1;
    color: #000;
    font-weight: bold;
    text-align: left;
}

.pageListini span.imgtit:hover {
	transform:scale(1.1);
	filter:contrast(130%);
}

.pagePromo .promoimg {
	transition:.4s;
}

.pagePromo .promoimg:hover {
	transform:scale(1.1);
}


#pageTopretails :is(.top, .menu, #logout, .toggle, .mynotifications) {
	display: none!important;
}

#pageTopretails .main {
	min-width: 100%!important;
}