:root {
    --primary-color: #FFCB09;
    --secondary-color: #004380;
    
    --navbar-color: #F2F2F2;
}

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
}

.dataTable > tbody {
    font-size: 13px;
}


/*------------------- CUSTOM SERYPOINT -------------------*/
.login-box {
    background: url(../img/bgGestionale.jpg) no-repeat left top;
    background-size: cover;
}






/*body {
    background: url(../img/bgGestionale.jpg) no-repeat left top;
	background-size: cover;
	color: #FFF;
}



.btn-primary-serypoint {
    width: auto;
	padding: 7px 25px;
	border-radius: 10px;
	border: 1px solid transparent;
	color: #fff;
	background: #004380;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.btn-primary-serypoint:hover {
    background-color: transparent;
    border: 1px solid #FFF;
}



.card {
    background-color: transparent; 
    border: 1px solid #FFF;
    border-radius: 10px;
}
.card-header {
    border-bottom: 1px solid #FFF;
}



.table-serypoint {
    color: #FFF;
    background-color: #08314A;
}
.table-serypoint tbody tr:hover td {
    color: #FFF;
}



.modal-serypoint {
    background-color: #08314A;
}*/





/*---------------- SIDEBAR ----------------*/
.sidebar {
    background-color: var(--navbar-color);
    min-height: 100vh;
    width: 200px;
    z-index: 99;
}
.sidebar.active {
    display: none;
}
.sidebar .sidebar-brand-wrapper {
    transition: width 0.25s ease, background 0.25s ease;
    -webkit-transition: width 0.25s ease, background 0.25s ease;
    -moz-transition: width 0.25s ease, background 0.25s ease;
    -ms-transition: width 0.25s ease, background 0.25s ease;
    width: 200px;
    height: 60px;
    text-align: center;
    background-color: var(--navbar-color);
}
.sidebar .nav {
    overflow: hidden;
    flex-wrap: nowrap;
    flex-direction: column;
    margin-bottom: 60px;
    padding-top: 20px;
}
.sidebar .nav .nav-item {
    -webkit-transition-duration: 0.25s;
    -moz-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: 0.25s;
    transition-property: background;
    -webkit-transition-property: background;
    padding-right: 20px;
}
.sidebar .nav .nav-item .nav-link {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    white-space: nowrap;
    padding: 0.8rem 10px 0.8rem 1.188rem;
    color: var(--secondary-color);
    -webkit-transition-duration: 0.45s;
    -moz-transition-duration: 0.45s;
    -o-transition-duration: 0.45s;
    transition-duration: 0.45s;
    transition-property: color;
    -webkit-transition-property: color;
    height: 46px;
    border-radius: 0px 100px 100px 0px;
}
.sidebar .nav .nav-item .menu-icon {
    margin-right: 0.5rem;
    font-size: 23px;
    line-height: 1;
    background: rgba(108, 114, 147, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.sidebar .nav .nav-item .nav-link .menu-title {
    color: inherit;
    display: inline-block;
    font-size: 0.9375rem;
    line-height: 1;
    vertical-align: middle;
}

.sidebar .nav .nav-item.active > .nav-link {
    background: #CCC;
    position: relative;
}
        
.sidebar .nav .nav-item.active > .nav-link:before {
    content: "";
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}


.sidebar .nav .nav-item.bottom {
    position: fixed;
    bottom: 10px;
}





.navbar {
    background-color: var(--navbar-color);
    left: 200px;
}
.navbar.active {
    left: 0;
}
.navbar .navbar-toggler {
    border: 0;
    color: #004380;
    border-radius: 0px;
    outline: none;
    height: 40px;
}





.container-scroller {
    display: flex;
    position: relative;
    overflow: hidden;
}
.page-body-wrapper {
    min-height: calc(100vh - 50px);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
    transition: all 0.25s ease;
    width: calc(100% - 200px);
}

.main-panel {
    transition: width 0.25s ease, margin 0.25s ease;
    width: 100%;
    min-height: calc(100vh - 70px);
    padding: 70px 20px 20px 20px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}



@media screen and (max-width: 768px) {
    .sidebar {
        position: fixed;
        max-height: calc(100vh - 50px);
        top: 50px;
        overflow: auto;
        display: none;
    }
    .navbar {
        left: 0;
    }
    .sidebar.active {
        display: block;
    }
    
    .page-body-wrapper {
        width: 100%;
    }
    .main-panel {
        margin-left: 0;
        width: 100%;
    }
}