@charset "UTF-8";

/*************************
	FONTS
*************************/

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-regular.woff') format('woff'), url("../fonts/roboto-regular.ttf") format("truetype");
	font-weight:normal;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-italic.woff') format('woff'), url("../fonts/roboto-italic.ttf") format("truetype");
	font-weight: normal;
	font-style:italic;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-bold.woff') format('woff'), url("../fonts/roboto-bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-bolditalic.woff') format('woff'), url("../fonts/roboto-boldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}

/*************************
	PALETTE

#08c	CAMAC ORANGE
#555 GRIGIO BLU CHIARO
#333 GRIGIO BLU SCURO



*************************/


/*************************
	BOOTSTRAP OVERRIDES
*************************/

::selection {
	background: #555;
	color:#fff;
}

::-moz-selection  {
	background: #555;
	color:#fff;
}

body {
	font-family: "Roboto", "Verdana", "Helvetica", "Arial", sans;
	font-size: 100%;
	font-size: 0.9em;
	background-color: #eee;
	position: relative;
	z-index:1;
	color:#555;
	overflow-y: scroll;
}

body.loginpage {
	background-color: #333;
}

a {
	color:#09f;
	text-decoration: none;
}

a:hover, a:active {
	color:#0af;
	text-decoration: underline;
	transition: 200ms;
}

strong {
	font-weight: bold;
}

h1, h2, h3, h4, h5 {
	color:#333;
}

h1 {
	font-size: 2.0rem;
	margin-bottom: 4.0rem;
}

h2 {
	font-size: 1.8rem;
	margin-bottom: 4.0rem;
}

h3 {
	font-size: 1.6rem;
	margin-bottom: 3.0rem;
}

h4 {
	font-size: 1.4rem;
	margin-bottom: 3.0rem;
}

h5 {
	font-size: 1.2rem;
	margin-bottom: 2.0rem;
}

hr {
	border:none;
	border-bottom:solid 1px #eee;
	margin: 60px 0px;
}

.btn, .form-control {
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: solid 1px #ccc;
	padding:5px 10px;
	height: auto;
}

.form-group {
	position: relative;
}

.form-control:focus, .form-control:hover, .form-group:focus > .form-control, .form-group:hover  > .form-control, .input-group:focus > .form-control, .input-group:hover  > .form-control, select:focus, select:hover, textarea:focus, textarea:hover {
	border: solid 1px #007bff;
}

.form-group:focus label, .form-group:hover label, .input-group:focus label, .input-group:hover label, select:focus label, select:hover label, textarea:focus label, textarea:hover label {
	background-color: #007bff;
	color:#fff;
	border-radius: 3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border:solid 1px #ccc;
}

.btn, button, input[type="submit"], input[type="reset"]{
	padding:10px 30px;
}

.btn-primary {
	background-color: #08c;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
}

.btn-primary:hover, .btn-primary:active {
	background-color: #08c;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
}

.table .thead-dark th {
	border: none;
	background-color: #555;
}

.row > [class*='col-'] {
	padding-right:5px;
	padding-left:5px;
}


.ripple {
	background-position: center;
	transition: background 0.4s;
}

.ripple:hover {
	background: rgba(100,200,255,0.1) radial-gradient(circle, transparent 1%, rgba(100,200,255,0.1) 1%) center/15000%;
}

.ripple:active {
	background-color: rgba(100,200,255,0.1);
	background-size: 100%;
	transition: background 0s;
}

.badgenotify {
	background: #c33;
	color:#fff;
	font-size: 9px;
	width:20px;
	height:20px;
	position: absolute;
	top:-5px;
	right:-5px;
	border-radius: 10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	padding-top:2px;
}

.box {
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: none;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	padding: 45px;
	background-color: #fff;
}

.form-group {
	position: relative;
	margin-bottom: 30px;
}

.form-group label {
	z-index: 10;
	position: absolute;
	background-color: #fff;
	color:#333;
	padding:2px 5px;
	font-size: 0.8em;
	top:-15px;
	left:7px;
	border-radius: 3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border:solid 1px #eee;
	transition: top 0.5s;
}

.form-check-inline label {
	position: relative;
	padding:2px 5px;
	font-size: 1.2em;
	border: none;
	top:0;
}

.form-check-inline label:hover {

}


.data-form input, .data-form textarea, .data-form select {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border:solid 1px #eee;
	height: auto;
}

.data-form input:hover, .data-form input:active, .data-form input:focus, .data-form textarea:hover, .data-form textarea:active, .data-form textarea:focus,
.data-form select:hover, .data-form select:focus, .data-form select:active {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border:solid 1px #999;
}

.table td, .table th {
	padding: 5px;
}

.table .riga {
	cursor: pointer;
}

table {
	margin-bottom: 60px !important;
}

.modal-backdrop.show {
	z-index:5999;
}

.modal-open .modal {
	z-index:6999;
}

.modal-backdrop {
	width: 100%;
	height: 100%;
}

.tr-evidenza {
	background-color: yellow !important;
}

/*************************
	REDACTOR OVERRIDES
*************************/
.redactor-dropdown {
	z-index: 9999;
}


/*************************
	LOGIN
*************************/

.loginpage .box {
	width:100%;
	max-width: 400px;
	margin: 0 auto;
	margin-top:200px;
	text-align: center;

}

.loginpage .box img {
	margin: 0 auto;
	width: 100%;
	max-width: 300px;
	margin-bottom: 45px;
}


/*************************
	SIDEBAR
*************************/

#sidebarscroller {
	width:250px;
	transition: width 0.2s;
	float: left;
	position: relative;
	-webkit-box-shadow: 5px 0px 10px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 5px 0px 10px 0px rgba(0,0,0,0.6);
	box-shadow: 5px 0px 10px 0px rgba(0,0,0,0.6);
	z-index:2999;
	background-color: #555;
	overflow: hidden;
	min-height: 100vh;
}


#sidebar {
	width:250px;
	flex-direction: column;
	background-color: #555;
	position: relative;
	z-index:6000;
}

#sidebar .identity {
	display: block;
	padding:15px;
	background-color: #333;
}

#sidebar .identity img {
	max-width: 140px;
	display: block;
	margin:0 auto;
}

#sidebar .user {
	background-color: #333;
	color:#eee;
	text-align: center;
	position: relative;
	overflow: visible;
	padding-bottom:  45px;
	padding-top:30px;
}

#sidebar .user .name {
	font-size: 1.2em;
	margin:0px;
}

#sidebar .user .email {
	color:#aaa;
}

#sidebar .user .identity {

	position: absolute;
	bottom: -45px;
	left:80px;
	padding: 0px;
	width:90px;
	height:90px;
	border-radius: 45px;
	-moz-border-radius:45px;
	-webkit-border-radius:45px;
	border:solid 10px #555;
	overflow: hidden;

}

#sidebar .user .identity img {
	width: 100%;
}

#sidebar .content {
	margin:60px 0px;
}

#sidebar .content .menu {
	margin:0px 10px;
}

#sidebar .content .menu ul {
	padding:0px;
	margin:0px;
	list-style-type: none;
	text-align: left;
}

#sidebar .content .menu ul li a {
	display: block;
	padding:10px;
	border-bottom: solid 1px rgba(0,0,0,0.3);
	text-decoration: none;
	position: relative;
	color: #eee;
}

#sidebar .content .menu ul li a:not(.collapsed) {
	background-color:rgba(0,0,0,0.3);
}

#sidebar .content .menu ul li a:hover, #sidebar .content .menu ul li a:active {
	color: #fff;
	background-color:rgba(0,0,0,0.3);
}


#sidebar .content .menu ul li ul.collapse li a, #sidebar .content .menu ul li ul.collapsing li a {
	padding-left: 30px;
}

#sidebar .content .menu ul li a svg.fa-caret-right {
	display: block;
	position: absolute;
	right:5px;
	top:20px;
}



/*************************
	PROMEMORIA
*************************/

.promemoria-background {
	background-color:#eee;
	height:calc(100vh - 380px);
	padding:30px;
}

.promemoria-list {
	height:calc(100vh - 450px);
	overflow-y:scroll;
	overflow-x:hidden;
	padding-right:15px;
}

.promemoria-list hr {
	margin:30px 0px;
}

#promemoria-descrizione {
	height: calc(100vh - 600px);
	resize: none;

}

.promemoria-element span {
	cursor: pointer;
}

.promemoria-control {
	cursor: pointer;
	margin-left: 10px;
}

	/*************************
        CALENDARIO
    *************************/

.calendario th {
	width: 14%;
}

.calendario td {
	height: 120px;
	border: 1px solid #dee2e6;
}

.calendario td.today {
	background-color: #08c;
}

.calendario td.current-day {
	background-color: #ffffff;
}

.clickable-day {
	cursor: pointer;
}

.calendar-week {
	color: #bbbbbb;
}

.evento-element {
	cursor: pointer;
}

#evento-form textarea {
	height: calc(100vh - 650px);
	resize: none;
}



/*************************
	CHAT
*************************/

.chat-background {
	background-color:#eee;
	height:calc(100vh - 520px);
	padding:30px;
	overflow-y:scroll;
}

.chat-list {
	height:calc(100vh - 450px);
	overflow-y:scroll;
	overflow-x:hidden;
	padding-right:15px;
}

.chat-background .box {
	min-width:20%;
	max-width:40%;
	margin-bottom:30px;
	padding:15px;

}

.chat-background .box .date {
	font-size:0.7em;
	color:#999;

}

.chat-background .previous {
	text-align:center;
	font-size:1.4em;
}

.chat-background .box p {
	margin-bottom:0px;
	margin-top:5px;
}

.chat-background .box.remote {
	background-color:#555;
	float:left;
	color:#fff;
	clear:both;
	margin-left:-30px;
	border-top-left-radius:0px;
	-moz-border-top-left-radius:0px;
	-webkit-border-top-left-radius:0px;
	border-bottom-left-radius:0px;
	-moz-border-bottom-left-radius:0px;
	-webkit-border-bottom-left-radius:0px;
	-webkit-box-shadow: 5px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 5px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 5px 0px 5px 0px rgba(0,0,0,0.3);
}

.chat-background .box.local {
	float:right;
	clear:both;
	background-color:#fafafa;
	border-top-right-radius:0px;
	-moz-border-top-right-radius:0px;
	-webkit-border-top-right-radius:0px;
	border-bottom-right-radius:0px;
	-moz-border-bottom-right-radius:0px;
	-webkit-border-bottom-right-radius:0px;
	margin-right:-30px;
	-webkit-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: -5px 0px 5px 0px rgba(0,0,0,0.3);
}

.chat-heading {
	color:#fff;
	background-color:#555;
	padding:30px;
	font-size:1.2em;
	min-height:100px;
}

.chat-message {
	background-color:#555;
	padding:30px
}

.chat-heading img, .chat-list img {
	height:40px;
	width:40px;
	border-radius:20px;
	-moz-border-radius:20px;
	-webkit-border-radius:30px;
}

.chat-account {
	position:relative;
	margin-left: 20px;
}

.chat-account .dropleft {
	text-align:right;
}

.chat-list hr {
	margin:30px 0px;
}

.archive-button-container {
	margin-top: 9px;
}

.chat-recent-badge {
	background: #c33;
	color: #fff;
	width: 20px;
	height: 20px;
	position: absolute;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 10px;
	text-align: center;
	font-size: 9px;
	padding-top: 3px;
}

/*************************
	PAGE CONTENT
*************************/

#sidecontainerscroller {
	float: left;
	width: calc(100% - 250px);
	transition: width 0.2s;
	position: relative;
}

#sidecontainer {
	width: 100%;
	min-width: 480px;
}

#sidecontainer .heading .dropleft {
	text-align: right;
}

#sidecontainer .heading .dropdown-menu a {
	color: #333;
}

#sidecontainer .heading {
	font-size: 2em;
}

#sidecontainer .menu {
	padding:15px 30px;
	width: 100%;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	line-height: 1em;
	position: relative;
	z-index:5000;
	height: 65px;
	overflow: hidden;
}

#sidecontainer .menu .app {
	text-align: right;
}

#sidecontainer .menu .app a {
	display: inline-block;
	position: relative;
	text-align: center;
	color: #555;
}

#sidecontainer .menu a {
	color: #555;

}

#sidecontainer .menu .date a,  #sidecontainer .menu .date p{
	display: block;
	float: left;
	margin-right: 10px;
}

#sidecontainer .menu .date a {
	display: none;
}

#sidecontainer .page {

}

#sidecontainer .page .heading {
	padding:40px 30px 80px 30px;
	background-color: #ccc;
	color: #333;
	z-index:100;
}

#sidecontainer .page .content {
	z-index:200;
	margin: -45px 30px 90px 30px;
	background: #fff;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

#sidecontainer .page .content h1, #sidecontainer .page .content h2, #sidecontainer .page .content h3, #sidecontainer .page .content h4, #sidecontainer .page .content h5 {
	margin-bottom: 30px;
}

#sidecontainer .page .content .content-padding {
	padding:45px;
}

#sidecontainer #formclienti {
	font-size: 0.5em;
	line-height: 0.5em;
}

#sidecontainer .content .content-box {
	margin: 10px 5px;
	padding: 20px;
	border: 1px solid #eeeeee;
}

#scrolltotop {
	position: absolute;
	z-index:8000;
	bottom:15px;
	right:15px;
	padding:15px;
	background: #fff;
	border-radius: 5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
	transition:opacity 500ms;
}

#scrolltotop:hover {
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
}

#scrolltotop.closed {
	opacity: 0;
	transition:opacity 500ms;
}

td.identity img {
	height: 30px;
}

td .dropleft {
	position: absolute;
	z-index: 9999;
}

.dropdown-menu {
	-webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.3);
}

ul.ui-autocomplete {
	background:#fff;
	z-index: 9999;
}
.spacer {
	margin:15px 0px 15px 0px;
	width:100%;
	height:1px;
}

thead a {
	margin-left: 15px;
}


.modal .form-group .row .form-control {
	margin-bottom:30px;
}

.modal .form-group .row:last-child {
	margin-bottom:-30px;
}

.tabbable .nav-tabs {
	overflow-x: auto;
	overflow-y: hidden;
	flex-wrap: nowrap;
}


/*************************
	MEDIA QUERIES
*************************/

/* DEFAULT STYLE IS FOR LARGE DESKTOP DISPLAYS */

@media screen and (min-width: 1201px) {
}


/* SMALL DESKTOP DISPLAYS AND TABLET LANDSCAPE*/
@media screen and (max-width: 1200px) {
	#sidecontainer .menu .date a {
		display: block;
	}

	#sidecontainer .menu .date p{
		display: none;
	}

	#sidecontainerscroller {
		width:100%;
	}

	#sidebarscroller {
		width:0px;
		overflow: hidden;
	}

	#sidebarscroller.open {
		width:250px;
		transition: width 0.2s;
	}

	#sidecontainerscroller.open {
		width:calc(100% - 250px);
	}
}

/* TABLET PORTRAIT AND MOBILE LANDSCAPE*/
@media screen and (max-width: 992px) {

}

/* LARGE MOBILE PORTRAIT AND SMALL MOBILE LANDSCAPE*/
@media screen and (max-width: 768px) {
	#scrolltotop {
		display: none;
	}

}

/* SMALL MOBILE PORTRAIT*/
@media screen and (max-width: 575px) {
	#sidecontainer .menu .app {
		display: none;
	}
}