@charset "uft-8";

:root {
    --unae: rgb(119, 136, 153) !important;
    --unae-hover: rgb(119, 136, 153, 0.8) !important;
}

::-webkit-scrollbar {
	width: 16px;
}

::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	box-shadow: inset 0 0 6px #000;
}

#wrapper .navbar {
    background-color: #fff;
}

#wrapper .navbar-collapse {
    padding: 0 15px;
}

#sidebar-wrapper,
#sidebar-wrapper .sidebar {
    background-color: var(--unae) !important;
}

#sidebar-wrapper {
    position: relative;
}

#sidebar-wrapper .sidebar {
    width: 15rem;
}

#sidebar-wrapper .sidebar .footer {
    position: absolute;
    left: 0;
    bottom: 0;
}

#sidebar-wrapper .sidebar .footer .logo {
    width: 20%;
}

#sidebar-wrapper .sidebar .footer .copyright,
#wrapper #page-content-wrapper #navbar-content {
    font-size: 12px;
    color: #516175;
}

#sidebar-wrapper .sidebar .btn-toggle {
    padding: .25rem .5rem;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
}

#sidebar-wrapper .sidebar .btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

#sidebar-wrapper .sidebar .btn-toggle[aria-expanded="true"] {
    color: rgba(255, 255, 255, .85);
}

#sidebar-wrapper .sidebar .btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

#sidebar-wrapper .sidebar .btn-toggle-nav a {
    padding: .1875rem .5rem .1875rem 2rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

#sidebar-wrapper .sidebar .btn-toggle-nav a:hover,
#sidebar-wrapper .sidebar .btn-toggle-nav a:focus,
#sidebar-wrapper .sidebar .btn-toggle-nav a[aria-selected="true"] {
    color: var(--unae) !important;
    background-color: white;
    margin-left: 3rem;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
}

#sidebar-wrapper .sidebar a.link {
    padding: 10px 30px;
    text-decoration: none;
}

#sidebar-wrapper .sidebar .scrollarea {
    overflow-y: auto;
}

#wrapper #page-content-wrapper {
    background-color: #fafafa;
}

#wrapper #page-content-wrapper #menu-toggle {
    color: rgba(0, 0, 0, .5);
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, .1);
	border-radius: .25rem;
	padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
}

body {
    font-family: sans-serif;
    background-color: #f3f3f3;
}

button {
	outline: none !important;
}

table {
    border-collapse: separate;
}

table thead th {
    padding-bottom: .25rem;
}

table tr td {
    color: #565656;
    background-color: #f2f2f2;
    vertical-align: middle;
}

button[type="submit"], .button[type="submit"], .btn {
    padding: 10px 30px;
	border-radius: 32px;
}

.btn-unae {
    color: #fff;
    background-color: var(--unae);
    border-color: var(--unae);
}

.btn-unae:hover {
    background-color: var(--unae-hover)
}

.btn-cancel {
    color: #fff;
    background-color: rgb(204, 204, 204);
    border-color: rgb(204, 204, 204);
}

.btn-cancel:hover {
    background-color: rgba(204, 204, 204, 0.8);
}

fieldset {
	margin-top: 10px;
}

fieldset legend {
	color: #aaa;
    font-size: 16px;
    font-variant: small-caps;
    border-bottom: 1px solid #ddd;
}

textarea {
	height: 100px !important;
	resize: none;
}

.tab-content .tab-pane {
    background-color: #fff;
    border: 1px solid;
    border-top-color: transparent !important;
    border-color: #dee2e6;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-bold {
    font-weight: bold;
}

.text-italic {
	font-style: italic;
}

.text-danger {
    color: #a94442 !important;
}

.text-disabled {
    color: #bbb;
}

.text-upper {
	text-transform: uppercase;
}

.text-through {
	text-decoration: line-through;
}

.text-fit {
	white-space: nowrap;
    width: 1%;
}

.text-highlight {
	color: #dca972;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0 ,0 , 0.54);
}

.asc:after {
    content: " \2193";
}

.desc:after {
    content: " \2191";
}

#loader {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(40, 40, 40, .7) url(../img/loader.gif) 50% 50% no-repeat;
}

#login {
    /* Impostare a 'none' se viene applicata un'animazione, ad esempio con: $('#login').show(250); */
    display: block;
    width: 500px;
    border: 1px #e4e4e4 solid;
    margin: 80px auto 0 auto;
    padding: 20px;
    background-color: #fff;
}

.message {
	position: fixed;
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
}

.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

.message.success {
    background-color: #198754;
    color: #fff;
}

.message.success:before {
    color: #198754;
}

.message.warning {
    background-color: #ffc107;
    color: #000;
}

.message.warning:before {
    color: #ffc107;
}

.message.error {
    background-color: #C3232D;
    color: #fff;
}

.message.error:before {
    padding: 11px 16px 14px 7px;
    color: #C3232D;
    content: "x";
}

.message.hidden {
    height: 0;
}
