﻿/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template-overviews/simple-sidebar)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */
a {
  cursor: pointer; }

.btn {
  border-radius: 2px !important; }

.bg-light {
  background-color: white !important; }

html {
  -webkit-text-size-adjust: none;
  touch-action: manipulation; }

.btn {
  text-transform: uppercase;
  -font-weight: 700; }

.btn-primary {
  background-color: #001689;
  border-color: #001689; }
  .btn-primary:hover {
    background-color: #ececec !important;
    border-color: #ececec !important;
    color: #001689 !important; }

.btn-danger {
  background-color: transparent;
  border: none;
  color: #dc3545; }
  .btn-danger:disabled {
    background-color: transparent;
    color: #e8979f; }
  .btn-danger:hover {
    background-color: #ececec !important;
    border-color: #ececec !important;
    color: #dc3545 !important; }

.btn-secondary {
  background-color: transparent;
  border: none;
  color: #001689; }
  .btn-secondary:hover {
    background-color: #ececec !important;
    border-color: #ececec !important;
    color: #001689 !important; }

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #001689;
  border-color: #001689; }

html, body {
  height: 100% !important; }

body {
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

h1 {
  color: #707070;
  margin: 20px 0px;
  font-size: 2rem !important; }
  @media (max-width: 767px) {
    h1 {
      font-size: 20px !important; } }

#sidebar-wrapper {
  min-width: 300px;
  min-height: 100vh;
  margin-left: -300px;
  -webkit-transition: margin .25s ease-out;
  -moz-transition: margin .25s ease-out;
  -o-transition: margin .25s ease-out;
  transition: margin .25s ease-out; }
  #sidebar-wrapper a.bg-light:hover, #sidebar-wrapper button.bg-light:hover {
    background-color: inherit !important;
    font-weight: 400; }
  #sidebar-wrapper a.bg-light:focus, #sidebar-wrapper button.bg-light:focus {
    background-color: inherit !important; }
  #sidebar-wrapper a.tabelle-item.selected {
    font-weight: bold !important; }
  @media (min-width: 768px) {
    #sidebar-wrapper {
      margin-left: 0; } }
  #sidebar-wrapper .sidebar-heading {
    padding: 0.65rem 1.25rem;
    font-size: 1.2rem;
    background-color: #001689; }
    #sidebar-wrapper .sidebar-heading img {
      width: 100%;
      max-height: 35px; }
  #sidebar-wrapper .list-group {
    width: 15rem; }
  #sidebar-wrapper .user-badge {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between; }
    #sidebar-wrapper .user-badge img {
      width: 60px;
      height: 60px;
      border-radius: 30px;
      margin: 10px; }
    #sidebar-wrapper .user-badge .logoutbtn {
      height: 100%;
      border-left: solid 1px #dee2e6;
      padding: 15px;
      display: flex;
      align-items: center; }
      #sidebar-wrapper .user-badge .logoutbtn a, #sidebar-wrapper .user-badge .logoutbtn a:visited {
        color: #707070; }
  #sidebar-wrapper .dropdown-toggle {
    display: block;
    padding: 20px;
    background-color: #f3f3f3;
    color: #001689;
    position: relative;
    text-decoration: none;
    border-bottom: solid 1px #ececec !important; }
    #sidebar-wrapper .dropdown-toggle::after {
      position: absolute;
      right: 20px;
      top: 30px; }
  #sidebar-wrapper a.list-group-item.list-group-item-action.bg-light {
    border: none;
    border-bottom: solid 1px #ececec !important;
    border-radius: initial; }
  #sidebar-wrapper a.list-group-item.list-group-item-action span {
    font-size: 12px; }
  #sidebar-wrapper .sidebarscroll {
    overflow-y: auto;
    overflow: auto;
    overflow-x: hidden;
    height: calc(100vh - 135px); }

#page-content-wrapper {
  min-width: 100vw; }
  @media (min-width: 768px) {
    #page-content-wrapper {
      min-width: 0;
      width: 100%; } }
  #page-content-wrapper .navbar {
    background-color: #001689;
    color: white;
    max-height: 60px; }
    #page-content-wrapper .navbar a.nav-link {
      color: white; }
    #page-content-wrapper .navbar #toggle-menu {
      border: solid 1px white; }
    #page-content-wrapper .navbar #menu-toggle {
      display: inline-block;
      cursor: pointer; }
    #page-content-wrapper .navbar .navbar-nav {
      flex-direction: row !important;
      padding-left: 10px; }
    #page-content-wrapper .navbar #navbarSupportedContent {
      width: 100%; }
  #page-content-wrapper #mainArea {
    height: calc(100vh - 60px);
    padding-right: 0px !important;
    padding-left: 0px !important; }

#wrapper.toggled #sidebar-wrapper {
  margin-left: 0; }
  @media (min-width: 768px) {
    #wrapper.toggled #sidebar-wrapper {
      margin-left: -300px; } }

/* LISTA UTENTI SIDEBAR */
#sidebar-wrapper .user-item:before {
  content: " ";
  width: 12px;
  height: 12px;
  background-color: white;
  border: solid 1px #495057;
  display: inline-block;
  margin-right: 10px;
  border-radius: 10px; }

#sidebar-wrapper .element-item.selected {
  background-color: #fbfbfb !important;
  color: #001689 !important; }

#sidebar-wrapper .tabelle-item {
  color: #001689 !important; }
  #sidebar-wrapper .tabelle-item .selected {
    background-color: #fbfbfb !important;
    color: #001689 !important; }

#sidebar-wrapper .user-item.selected {
  background-color: #fbfbfb !important;
  color: #001689 !important; }
  #sidebar-wrapper .user-item.selected:before {
    content: " ";
    width: 12px;
    height: 12px;
    background-color: #495057;
    display: inline-block;
    margin-right: 10px;
    border-radius: 10px; }

/* FINE LISTA UTENTI SIDEBAR*/
/* TOOLTIP POPUP */
.dhx_cal_quick_info .dhx_cal_qi_title {
  background-color: #001689; }

.dhx_cal_quick_info .dhx_cal_qi_tcontent {
  width: calc(100% - 40px); }

.dhx_cal_quick_info .dhx_qi_big_icon.icon_details {
  color: #001689; }

.dhx_cal_quick_info .dhx_qi_big_icon:hover {
  background-color: #ececec;
  transition: all .1s ease-in-out; }
  .dhx_cal_quick_info .dhx_qi_big_icon:hover.icon_details {
    color: #001689; }

.dhx_cal_quick_info #CloseInfoBox {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: white;
  border: none; }

/* FINE TOOLTIP POPUP */
/* LOGIN PAGE */
#login-page {
  height: 100%; }
  #login-page body {
    background-color: #F8F8F8;
    background-image: url(/Images/bklogo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; }
  #login-page #login-form {
    width: 440px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px; }
    @media (max-width: 480px) {
      #login-page #login-form {
        width: 95%; } }
  #login-page #logo {
    text-align: center;
    margin: 20px; }
  #login-page .form-control {
    animation: none;
    background-color: #F2F2F2;
    border: none;
    padding: .85rem .75rem;
    height: calc(1.5em + 1.5rem + 2px); }
  #login-page .input-group-text {
    background-color: #F2F2F2;
    border: none; }
  #login-page .input-group, #login-page .form-group {
    padding-left: 20px;
    padding-right: 20px; }
  #login-page p {
    color: #707070;
    padding: 10px 20px;
    text-align: center; }
  #login-page .alert {
    position: absolute;
    bottom: 20px;
    width: 400px;
    left: calc(50% - 200px); }

/* FINE LOGIN PAGE */
.dhx_save_btn_set {
  background-color: #001689;
  border: #001689;
  font-weight: bold; }
  .dhx_save_btn_set:hover, .dhx_save_btn_set:hover div {
    background-color: #ececec !important;
    border: #ececec !important;
    color: #001689; }

.dhx_cancel_btn_set {
  color: #001689;
  font-weight: bold; }
  .dhx_cancel_btn_set:hover, .dhx_cancel_btn_set:hover div {
    background-color: #ececec !important;
    color: #001689; }

.dhx_delete_btn_set:hover, .dhx_delete_btn_set:hover div {
  background-color: #ececec !important; }

.dhx_cal_container {
  position: relative;
  overflow: inherit;
  background-color: #fff;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px; }

.dhx_cal_tab.active {
  border: 1px solid #001689 !important;
  background-color: #001689 !important;
  font-size: 12px;
  font-weight: 600; }

.dhx_cal_tab {
  font-weight: 600;
  border: 1px solid #001689;
  color: #001689;
  font-size: 12px; }

.dhx_cal_today_button {
  font-size: 12px;
  font-weight: 600;
  color: #001689;
  right: 57px; }

.dhx_cal_navline {
  display: flex;
  align-items: center; }

.dhx_cal_navline div {
  position: initial; }

.dhx_cal_ltext {
  padding: 0 0 0 4px; }

.dhx_cal_ltext .dhx_text_disabled {
  display: block;
  background-color: #dee2e6; }

/* FINESTRA POPUP */
.dhx_cal_light {
  overflow: hidden;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 100; }
  .dhx_cal_light .dhx_btn_set {
    font-weight: 400 !important; }
  .dhx_cal_light label {
    _font-size: 12px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 100; }
  .dhx_cal_light select, .dhx_cal_light textarea {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 100; }

.dhx_cal_ltitle {
  display: none; }

.dhx_cal_larea {
  margin-top: 20px !important; }

.dhx_cal_light {
  border-radius: .3rem; }

.dhx_cal_ltitle {
  background-color: #001689;
  height: auto;
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
  line-height: auto !important; }

@media only screen and (max-width: 1023px) {
  .dhx_cal_light.dhx_cal_light_responsive .dhx_wrap_section .dhx_section_time {
    padding-left: 26.5vw !important;
    width: 100vw !important;
    min-height: 19.531vw !important; }
  .dhx_cal_light.dhx_cal_light_responsive .dhx_cal_ltitle {
    height: auto !important;
    line-height: auto !important; } }

/* EVENTO RICORRENTE*/
.dhx_form_repeat {
  margin-top: 40px;
  border-bottom: 1px solid #cecece; }

.dhx_wrap_section:nth-child(2) .dhx_cal_lsection label {
  display: none; }

.dhx_repeat_center {
  width: 60% !important;
  float: left !important;
  border-bottom: none; }

.dhx_repeat_right {
  width: 30% !important;
  float: left !important;
  margin-left: 40px; }

.dhx_form_repeat form div:nth-child(4) {
  display: none; }

.dhx_cal_lsection div.dhx_custom_button {
  color: #001689; }

/* FINE EVENTO RICORRENTE */
@media (min-width: 1000px) {
  /*.dhx_cal_larea .dhx_wrap_section:nth-child(3),
        .dhx_cal_larea .dhx_wrap_section:nth-child(4),
        .dhx_cal_larea .dhx_wrap_section:nth-child(5),
        .dhx_cal_larea .dhx_wrap_section:nth-child(6) {
            float: left;
            padding-right: 0px;
            width: 49.1%;
        }

        .dhx_cal_larea .dhx_wrap_section:nth-child(5),
        .dhx_cal_larea .dhx_wrap_section:nth-child(7) {
            clear: both;
        }*/
  /* description */
  /* timer */
  _.dhx_cal_larea .dhx_wrap_section:nth-child(3),
  ._dhx_cal_larea .dhx_wrap_section:nth-child(4) {
    display: inline-flex;
    flex-direction: column;
    width: 25%; }
    _.dhx_cal_larea .dhx_wrap_section:nth-child(3) div:nth-child(1),
    ._dhx_cal_larea .dhx_wrap_section:nth-child(4) div:nth-child(1) {
      width: auto;
      text-align: left;
      margin: 5px; }
    _.dhx_cal_larea .dhx_wrap_section:nth-child(3) div:nth-child(2),
    ._dhx_cal_larea .dhx_wrap_section:nth-child(4) div:nth-child(2) {
      margin-left: 0px !important; } }

/* FINE FINESTRA POPUP*/
.titlegenda {
  color: #707070;
  font-weight: 500;
  font-size: 16px;
  margin: 20px 5px 5px; }

#UserLegend {
  display: flex;
  align-items: center;
  flex-wrap: wrap; }
  #UserLegend .item {
    align-items: center;
    margin: 10px;
    display: flex;
    min-width: 180px; }
    #UserLegend .item .color {
      width: 70px;
      height: 20px;
      margin-right: 5px; }

.bootstrap-datetimepicker-widget {
  font-family: Roboto, Arial !important; }

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #001689; }

@media (min-width: 1000px) {
  .dhx_cal_navline {
    height: 40px !important; }
  .dhx_cal_header {
    top: 40px !important; }
  .dhx_cal_scale_placeholder {
    top: 41px !important; } }

.todoDate {
  display: block;
  _padding-left: 20px; }

.invalidField {
  border-color: red !important; }

.invalidMessage:after {
  content: 'campo obbligatorio';
  color: red;
  position: absolute;
  right: 15px;
  font-size: 12px; }

#elencoToDo .user-item.selected:before {
  position: relative;
  top: 10px; }

.dhx_qi_big_icon.icon_delete {
  position: absolute;
  left: 5px; }

#DuplicaEvento {
  position: absolute;
  bottom: 5px;
  right: 90px;
  text-transform: uppercase;
  font-size: 14px;
  color: #001689;
  padding: 5px 10px; }

#DuplicaEvento:hover {
  background-color: #ececec !important;
  color: #001689; }

.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: 'Montserrat', sans-serif; }

.select2-container--default .select2-selection--single {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0px; }

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: black transparent transparent transparent;
  border-width: 5px 5px 0 5px;
  margin-left: -6px; }

.select2-container .select2-selection--single {
  height: 30px; }

/*
.select2-results__option--selectable {
    padding: 5px 5px;
    margin: 0px;
    line-height: 15px;
    font-size: 14px;
}*/
.dhx_event_resize.dhx_footer {
  padding: 5px;
  margin-top: -10px !important; }

.dhx_cal_data div .dhx_cal_event {
  overflow: hidden !important; }

.form_select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 98% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 5px;
}
