/*=====================*/
/* GENERICS */
/*=====================*/
body, html{
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Roboto';
}
/* PAGE TITLE */
.page-title {
    margin: 0;
    padding: 0 15px;
    border-bottom: 1px solid #ddd;
    background: #fff;
    line-height: 66px;
    font-size: 24px;
}
.page-title .btn{
    margin: 15px 0;
    margin-left: 7px;
}
.page-title>i, .page-title-sidebar>i {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 22px;
    top: 0;
    color: #3498db;
    margin: 5px 0;
    margin-right: 10px;
    position: relative;
}
.page-title input.form-control {
    font-size: 16px;
    width: auto;
    display: inline-block;
}
.form-control{
    border-radius: 0;
    box-shadow:none;
}
.alert.alert-padding {
    margin: 10px;
    font-weight: bold;
}
/*=====================*/
/* CLICKABLE ELEMENTS */
/*=====================*/
.btn{
    border-radius: 2px;
}
.dropdown-menu .divider{
    margin:0; 
}


/*=====================*/
/* LIST TABLE-TABS */
/*=====================*/
ul.table-tabs{
    padding: 0 15px;
    margin-bottom: 15px;
}
ul.table-tabs > li.active > a, ul.table-tabs > li.active > a:hover, ul.table-tabs > li.active > a:focus {
    color: #3498db;
    border: 0;
    border-bottom: 3px solid #3498db;
    border-bottom-color: #3498db;
    font-size: 16px;
}
ul.table-tabs > li > a, ul.table-tabs > li > a:focus {
    color: #555;
    border: 0;
    border-bottom: 3px solid #3498db;
    border-bottom-color: transparent;
    font-size: 16px;
}
 ul.table-tabs > li > a:hover{
    border:0;
    color:#3498db;
    background:transparent;
 }

/*=====================*/
/* STRUCTURE */
/*=====================*/
/* HEADER */
header{
    height:50px;
    margin-bottom: 0!important;
    background: #fff!important;
    border-bottom: 1px solid #e6e6e6;
    z-index: 9999;
    position: fixed;
    top: 0;
    left:0;
    right: 0;
}
header .navbar{
    margin: 0;
    line-height: 50px;
}
header .navbar-nav > li > a{
    line-height: 20px;
}
header .user-connected .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    padding: 0;
    margin: 0;
    margin-top: -1px;
    border-radius: 0;
}
header .user-connected .dropdown-toggle{
    padding: 0 15px;
    line-height: 50px;
    text-decoration: none;
    display: inline-block;
}
header .user-connected .dropdown-menu > li > a {
    padding: 0;
    line-height: 40px;
    padding: 0 15px;
    padding-right: 0;
}
header .user-connected .dropdown-menu > li > a i{
    width: 30px;
    height: 30px;
    text-align: center;
    margin: 5px;
    line-height: 30px;
    font-size: 18px;
    float: right;
}
/* NAVIGATION */
nav.project-navigation{
    width:200px;
    background:#34495e;
    position: absolute;
    top:50px;
    left:0;
    bottom:0;
    z-index: 9998;
    display: block;
}
nav.project-navigation.active{
    display: none;
}
nav.project-navigation .navbar-nav{
    margin:0!important; 
}
nav.project-navigation ul{
    padding: 0;
    margin:0;
    list-style: none; 
    float:none;
}
nav.project-navigation ul li{
    float:none;
}
nav.project-navigation ul li a i{
    width: 30px;
    height: 30px;
    text-align: center;
    margin-right: 15px;
    line-height: 30px;
    font-size: 18px;
}
nav.project-navigation ul li a.active{
    color: #fff;
}
nav.project-navigation ul li a.active i{
    color: #3498db;
}
nav.project-navigation ul li a:hover, nav.project-navigation ul li a:visited, nav.project-navigation ul li a:link{
    text-decoration: none;
}
nav.project-navigation ul li a{
    display: block;
    color: #96a9b8;
    padding: 0px 15px;
    line-height: 44px;
}
nav.project-navigation ul li .btn-group a{
    margin-right: 32px;
}
nav.project-navigation ul li .btn-group ul li a{
    margin-right: 0;
}
nav.project-navigation ul li a:hover{
    background: #233342;
    color: #fff;
}
nav.project-navigation .btn-group{
    display: block;
}
nav.project-navigation button.btn.dropdown-toggle {
    float: right;
    line-height: 44px;
    padding: 0 12px;
    width: 32px;
    border-radius: 0;
    border: 0;
    background: #34495e;
    color: #96a9b8;
}
nav.project-navigation button.btn.dropdown-toggle i{
    margin:0; 
}
nav.project-navigation button.btn.dropdown-toggle:hover {
    background: #233342;
    color: #fff;
}
nav.project-navigation .nav .open > a, .project-navigation .nav .open > a:hover, .project-navigation .nav .open > a:focus {
    background-color: #233342;
    border-color: #fff;
}
nav.project-navigation .nav .open > .dropdown-menu {
    display: block;
    border-radius: 0;
    font-size: 14px;
    position: absolute;
    background: #34495e;
    left: auto;
    right: -100%;
    width: 200px;
    top: 0;
    border: 0;
}
nav.project-navigation .btn-group.open .dropdown-toggle {
    box-shadow: none;
    background: #233342;
}
nav.project-navigation .dropdown-menu > li > a{
    margin: 0;
    font-size: 12px;
}
nav.project-navigation .dropdown-menu > li > a i{
    font-size: 14px;
}
/* SITE CONTENT */
.site-content{
    margin-left: 210px;
    height: 100vh;
    padding-top: 50px;
    overflow-y:auto; 
}
.site-content.active{
    margin-left: 0px;
}
/* BTN TOGGLE MENU */
.toggle-menu {
    position: relative;
    padding: 0;
    margin: 0;
    margin-left: 15px;
    margin-top: 10px;
    background-color: transparent;
    background-image: none;
    border: 0;
    border-radius: 4px;
    height: 30px;
    width: 30px;
    display: inline-block;
    cursor: pointer;
    float: left;
}
.toggle-menu .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
    margin: 3px auto;
}
.dhx_cal_event.calendar-yes-validation .dhx_body,
.dhx_cal_event.calendar-yes-validation .dhx_footer,
.dhx_cal_event.calendar-yes-validation .dhx_header,
.dhx_cal_event.calendar-yes-validation .dhx_title {
	background:green;
}
.dhx_scheduler_month .dhx_cal_event_clear.calendar-yes-validation, 
.dhx_scheduler_month .dhx_cal_event_clear.calendar-yes-validation a {
	color:green;
}
.dhx_cal_event.calendar-no-validation .dhx_body,
.dhx_cal_event.calendar-no-validation .dhx_footer,
.dhx_cal_event.calendar-no-validation .dhx_header,
.dhx_cal_event.calendar-no-validation .dhx_title {
	background:red;
}
.dhx_scheduler_month .dhx_cal_event_clear.calendar-no-validation, 
.dhx_scheduler_month .dhx_cal_event_clear.calendar-no-validation a {
	color:red;
}
.dhx_cal_event a {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
}
.dhx_cal_data .dhx_scale_holder_now {
     background-image: url("../img/bg_new66.png");
}

.dhx_cal_data .dhx_scale_holder {
     background-image: url("../img/bg2_new66.png");	
}
.dhx_scale_holder_now, .dhx_scale_holder {
    border-top: 1px solid #d1d1d1;
}
.dhx_cal_tab, .dhx_cal_tab.active {
    width: 56px!important;
    border-radius: 5px!important;
    font-size: 12px!important;
}
.dhx_cal_tab_first {
	border-right:1px solid #0288d1!important;
}

.dhx_scale_holder .dhx_body, .dhx_cal_event {
    width: 100%!important;
	overflow:hidden!important;
}

.dhx_scale_holder .dhx_body {
    height: calc(100% - 20px)!important;
}
.dhx_cal_tab {
    overflow: hidden;
}
select.form-control, input.form-control, button.btn, a.btn-primary, textarea.form-control {
    max-width: 330px;
    margin: 0 auto;
}
form.loginform {
    padding: 15px;
}
form.loginform input.form-control {
    height: 42px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    margin-bottom: 6px;
}
input[type="checkbox"] {
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
}
label.rememberme {
    font-size: 1.1em;
}
form.loginform input.btn.btn-primary {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    font-size: 1.25em;
    border-radius: 4px;
}
a.linkcalendar {
    text-decoration: none;
}
#scheduler_here .dhx_cal_data .dhx_cal_event_clear {
	cursor:default;
}
.event-class-details i.fa-chalkboard-teacher:before, .event-school-details i.fas.fa-school:before {
    font-size: 10px;
}
.event-class-level i.fas.fa-graduation-cap:before {
    font-size: 11px;
}
.event-date-details i.far.fa-calendar-alt {
    margin-left: 1px;
}
.page-title.validate-page {
    margin-bottom: 15px;
    padding-left: 7px;
}
.lesson-form-validation textarea.form-control {
    width: 100%;
    max-width: unset;
}
.event-details-container {
    margin-left: 15px;
    margin-right: 15px;
    line-height: 22px;
}
.event-details-container i {
    color: #337ab7;
    margin-right: 6px;
}
.back-to-calendar {
    margin: 10px 0px;
    text-align: right;
    text-transform: unset;
    font-size: 18px;
}
.alert.alert-success.validated, .alert.alert-danger.validated {
    margin-top: 10px;
}

.alert.alert-danger.validated {
    margin-bottom: 5px;
}

.logout-now a {
    background: #ffffff;
    font-size: 12px;
    line-height: 32px;
    padding: 0 5px;
    cursor: pointer;
    border: 1px solid #0288d1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 6px;
    font-family: arial;
    color: #0288d1;
    font-weight: 500;
}

.logout-now a:hover {
    background: #edf8ff;
}

.logout-now.hidden-xs a {
    position: absolute;
    right: 20px;
    top: 16px;
}

.logout-now.visible-xs {
    text-align: center;
}

.logout-now.visible-xs a {
    padding: 8px 10px;
}

div#scheduler_here {
    margin-bottom: 15px;
}

.dhx_body {
    width: 100%!important;
}

.form-control.checkbox-input {
    border: 0;
}

label.label-checkbox {
    font-weight: normal;
    margin-left: 8px;
}

.alert.alert-success.validated.calendar-page {
    margin-left: 15px;
    margin-right: 15px;
}

.container-lang-selector.hidden-xs {
    position: absolute;
    right: 100px;
    top: 16px;
    height: 34px;
}

.container-lang-selector {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #0288d1;
}

.container-lang-selector select.form-control {
    padding-right: 0;
    color: #0288d1;
    font-family: arial;
	font-size:12px;
	font-weight:500;	
}

.container-lang-selector.visible-xs {
    margin-right: 15px;
    height: 32px;
}

.buttons-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Add a black background color to the top navigation */
.header-nav {
  background-color: #333;
  overflow: hidden;
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.header-nav.right {
    height: 52px;
    display: flex;
    justify-content: space-between;
    width: auto;
    float: right;
}

.header-nav .right-sidebar-1 {
    margin: auto 20px auto auto; 
    order: 1;
}

.header-nav .right-sidebar {
    margin: auto 20px auto auto;
    order: 2;
}

.header-nav .right-sidebar a {
    font-weight: 600;
    color: #ffe484;
    border: 1px solid #ffe484;
    font-size: 17px;
    border-radius: .25rem;
    padding: 5px 10px;
}

.header-nav .right-sidebar a:hover {
    color: #2a2730;
    background-color: #ffe484;
    border-color: #ffe484;
	text-decoration: none; 
}

.header-nav a.hidden-but-mobile,
.header-nav form.hidden-but-mobile {
    display: none;
}

.header-nav.opened {
    overflow: initial;
} 

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

body.login .header-nav {
    display: none;
}

div#all_classes, .mylessons, .row.myclass {
    margin-top: 20px;
}

.mylessons {
    margin-bottom: 20px;
}

.myclass.row {
	margin:0;
	padding:0;
}

.myclass.row .page-title {
    margin-bottom: 20px;
}

.myclass input.form-control, .myclass select.form-control {
    max-width: unset;
}

.myclass input.form-control {
    cursor: initial;
    background: #f9f9f9;
}

.myclass input.form-control.download-on-click {
    cursor: pointer;
	color:#337ab7;
}

.under-sidebar span.totalduration {
    color: #d43f3a;
}
.under-sidebar span.totaldurationdone {
    color: #408424;
}
.under-sidebar span.totaldurationtodo {
    color: #f1ad15;
}

td.user-validation .fas.fa-check, td.user-status .fas.fa-check {
    color: #089f08;
}

button.note-tooltip {
    background: none;
    padding: 0;
}

i.fas.fa-info-circle.shownote {
    color: #4d7b8a;
}

.user-plan i.fas, td.actions .fas.fa-trash-alt, td.user-validation .fas.fa-times, td.user-status .fas.fa-times {
    color: #d43f3a;
}

.record-of-works-panel.teacher-view {
    margin-bottom: 20px;
}

.myclass.row .accordion {
	background-color: unset;
    color: #444;
    cursor: pointer;
    padding: 10px 20px;
    width: 100%;
    text-align: left;
    outline: none;
    transition: 0.4s;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.myclass.row .accordion-active, .myclass.row .accordion:hover {
  background-color: #ececec;
}

.myclass.row .accordion:after {
	content: '\002B';
	color: #777;
	font-weight: bold;
	float: right;
	margin-left: 5px;
	color:#d43f3a;
	font-size:18px;
}

.myclass.row .accordion-active:after {
  content: "\2212";
}

.myclass.row .record-of-works-panel {
  padding: 0;
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.myclass.row span.page-title.record-of-works {
    background: none;
    line-height: unset;
    border: none;
    padding: 0;
    font-size: 18px;
}

span.gotonewline {
    display: none;
}

.timesheet .page-title {
    padding: 0;
    margin-bottom: 20px;
}

.month-picker .flatpickr-wrapper input.input.form-control {
    background: inherit;
    max-width: 100%;
}

.month-picker .flatpickr-wrapper {
    display: inline;
}

.month-picker .flatpickr-calendar.static.open {
    margin-top: 35px;
}

.mytimesheet-search-label, .mytimesheet-search-icon {
    padding-left: 0;
    padding-right: 0;
}

.timesheet a.salva-file-pdf {
    background: #d43f3a;
    border: 0;
}

table.check-attendance {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
  margin:10px 0;
}

.check-attendance th, .check-attendance td {
  text-align: center;
  padding: 16px;
} 

.check-attendance th:first-child, .check-attendance td:first-child {
  text-align: left;
}

.check-attendance th.name-student {
	width:50%;
	overflow:hidden;
}

.check-attendance tr:nth-child(even) {
  background-color: #f2f2f2
}

i.fas.fa-exclamation-triangle, i.fas.fa-times {
    color: red;
}

i.fas.fa-check {
    color: green;
}

#lesson-plan-error, #checkboxes-error {
    display: block;
} 

#lesson-plan-error:before {
    content: "\f071";
    font-family: fontAwesome;
    color: red;
    margin-right: 5px;
    font-size: 14px;
}

.btn-secondary.btn-close {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
span.titledesc {
    font-weight: bold;
}

@media (max-width: 768px) {
    .salva-file {
        height: 34px;
        width: 40px;
    }
    .salva-file .glyphicon {
        font-size: 20px;
        margin-right: 0;
        top: 0;
    }
    .create-page-actions .action-content {
        right: 40px;
        width: 270px;
    }
	.topnav.responsive {
		position: relative;
	}
	.topnav.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block!important;
		text-align: left;
	}
	.topnav a:not(:first-child) {
		display: none;
	}
	.topnav a.icon {
		float: right;
		display: block;
	}
	.header-nav.opened .topnav.responsive form.hidden-but-mobile {
		display: block;
	}
	.header-nav.opened .topnav.responsive a.hidden-but-mobile {
		color:#ffe484;
	}
	span.gotonewline {
		display: block;
		margin-top: -20px;
	}
}
/* --- Modale centrata verticalmente e orizzontalmente (mobile + desktop) --- */
.modal.fade { text-align: center; padding: 0 !important; }
.modal.fade:before { content: ''; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px; }
.modal.fade .modal-dialog { display: inline-block; text-align: left; vertical-align: middle; }
@media (max-width: 767px) { .modal.fade .modal-dialog { width: 94%; } }
