.bg-primary {
    background: #3e5783 !important;
}

.top-bar-nav-pills .nav-link {
    border: 0;
    border-radius: 0;
    margin: 0;
    margin-right: 0px !important;
    color: #FFF;
    border: 2px solid #25344f;
    border-width: 2px 0px 2px 0px;
    font-size:12px;
}

.top-bar-nav-pills:first-child {
    border-left: 2px solid #25344f
}

.top-bar-nav-pills .nav-link:last-child {
    border-right: 2px solid#25344f
}

.top-bar-nav-pills .nav-link.active {
    background: #FFF !important;
    color: #1507ff;
}

.text-red {
    color: #ff0000 !important;
}

.dark-bottom-border {
    margin-bottom: 0px;
    border-bottom: 2px solid #303030;
}


/* DOSSIER TOP BAR */

.dossier-top-bar .card-body {
    padding-bottom: 0;
}

.dossier-top-bar .special-btn {
    border-radius: 2px;
    width: 100%;
    margin-top: 30px !important;
    font-size: 18px;
    font-weight: bold;
}

.body-mt-master {
    padding-top: 55px;
}


/* THIS NEED TO BE CLEANED - A LOT */

.textarea-medium {
    height: 120px !important;
}

.editor-container input,
.editor-container select,
.editor-container textarea,
.editor-container .form-control:focus {
    font-size: 18px;
    color: blue;
    font-weight: bold;
    border: 2px solid rgba(0, 0, 0, 0.5);
}

.editor-container input[type=text],
.editor-container select {
    height: 49px;
}

.select2-container {
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.select2-selection__rendered {
    font-size: 18px;
}

.select2-container .select2-selection--single {
    padding-top: 9px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    font-weight: bold !important;
    color: blue !important;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: -0.5px;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}

.select2-selection__rendered {
    font-size: 18px;
}

.select2-container .select2-selection--single {
    padding-top: 9px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {}

input[disabled=disabled],
select[disabled=disabled] {
    color: rgba(0, 0, 0, 0.5);
}

.btn-outline-light:not(:disabled):not(.disabled):active,
.btn-outline-light:not(:disabled):not(.disabled).active,
.show>.btn-outline-light.dropdown-toggle {
    color: blue;
    background: #FFF;
}

input:checked+.slider {
    background-color: blue;
}

.btn-outline-blue {
    color: blue;
    border: 1px solid blue;
}

.btn-blue {
    background-color: blue !important;
    border: 1px solid blue !important;
    color: #FFF;
}

.btn-outline-blue.active {
    background: blue;
    color: #FFF;
}


/* PRESENZE */

.presence-table {
    width: 99%;
    margin: auto;
}

.presence-table-header {
    background: #4582EC;
    color: #FFF;
    font-weight: bold;
}

.presence-table-row>td {
    border: 1px solid rgba(0, 0, 0, 0.5);
    text-align: center;
}

.presence-table-separator {
    height: 30px;
}

.text-weekend {
    color: #e9f0b2;
}

.bg-weekend {
    background-color: #b2e5f0;
    color: #303030;
}

.bg-festive {
    background-color: #b2c2f0;
    color: #303030;
}


/* FILE MANAGER */

.uppy-Dashboard-AddFiles-info {
    display: none !important;
}

.file-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    min-height: 150px;
}

.top-bar-nav-pills .nav-link.bg-success.active {
    color: green !important;
}

.file-card .icon-img {
    width: 150px;
    max-height: 115px;
    border-radius: 2px;
}

.file-card .icon-file-container {
    width: 150px;
    height: 100px;
    text-align: center;
    font-size: 42px;
    color: #FFF;
    padding-top: 20px;
    border-radius: 2px;
}


/* FILE MANAGER - LOADER */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}


.uppy-Dashboard-browse{
    background: #4582ec !important;
      border-radius: 4px !important;
      text-align: center !important;
      padding: 15px !important;
      color: #FFF !important;
      font-size: 24px !important;
      margin-top: 20px !important;
  }


  .calendar-period-navigation button,
  .calendar-period-navigation div{
    float:left;
  }

  .calendar-period-navigation button:first-child{
    margin-right:10px;
  }
  .calendar-period-navigation button:last-child{
      margin-left:10px;
  }

  .calendar-period-label{
      font-size:22px;
      font-weight:bold;
      float:left;
  }



  .tui-full-calendar-popup-section{
    min-height:0 !important;
  }
  .tui-full-calendar-popup-detail-date{
    display:none !important;
  }
  .tui-full-calendar-section-header{
    margin-bottom:0 !important;
  }
  .tui-full-calendar-section-header{
    display:none;
  }


  .today-cell{
    border:3px solid #303030 !important;
    background:#f8e165;
    color:#000;
}


.tui-full-calendar-time-schedule-content{
    border-color:rgba(0,0,0,0.3) !important;
}


/* READONLY */
.dossier-readonly-modal .modal-content{
    border:0px;
}

.dossier-readonly-modal h3{
    color:blue;
    font-size:23px;
}

.dossier-readonly-modal h3 ul li{
    margin-bottom:7px;
}

.dossier-readonly-modal .modal-header{
    background: #2165dc !important;
    color:#FFF;
}

.dossier-readonly-modal .modal-header{
    background: #2165dc !important;
}

.dossier-readonly-modal .card{
    box-shadow: 0px 2px 0px rgba(0,0,0,0.1);
    margin-bottom:10px;
}

.dossier-readonly-modal .card-header-module{
    color:#FFF;
    border-radius:0;
}

.dossier-readonly-modal .alert-blue,
.dossier-readonly-modal .badge-employee{
    border:2px solid blue;
    background:none;
}



.badge-opaque{
    background-color:rgba(0,0,0,0.3)
}


.small-italic{
    font-size:10px;
    font-style:italic;
}


/* HOME */
.home-item a:link,
.home-item a:active,
.home-item a:visited{
    color:#303030;
    text-decoration:none;
}

.home-item a:hover .card{
    background:#458cff;
    color:#FFF;
}

.home-item .card{
    padding-top:20px;
    padding-bottom:20px;
    min-height:280px;

}
.home-item:hover{
    cursor:pointer;
    
}
.home-item h1{
    font-size:120px;
}
.home-item h2{
    font-size:30px;
}

/*CATALOG (PUBLIC)*/
/*CATALOG (MASTER)*/
.catalog-image-master{
    width:60px;
    height:auto;
}





/* TIMELINE */
.vis-timeline{
    border:0
}
.vis-label,
.vis-text
{
    font-weight:bold;
    border:0;

}
.vis-minor{
    font-size:10px;
}

.vis-major{
    background:none;
}

.vis-major::first-letter{
  text-transform: uppercase;
}


.vis-time-axis .vis-text{
  color:red;
}
.vis-major{
  font-size:20px;
}

.vis-vertical .vis-time-axis .vis-h0.vis-tomorrow{
  border-left:2px solid #303030 !important;
}
.vis-current-time{
  background-color:#0059ff;
  opacity:1;
}
.labelset .inner {
    height: 100px;
  }

.vis-labelset .vis-label
{
  border:1px solid #22375c;
  background:#3e5783;
}
.vis-labelset .vis-label:last-child,
.vis-foreground .vis-group:last-child{
  border-bottom:1px solid #bfbfbf;
}
.vis-time-axis .vis-foreground{
  border:1px solid #bfbfbf;
}

.vis-text.vis-minor{
  background:#bed5fb;
  color:#000;
  font-size:13px;
}

.vis-panel.vis-left{
  border:0;
}
.vis-panel.vis-center{
  border:0;
}
.vis-foreground .vis-group{
  border-right:1px solid #bfbfbf;
}
.vis-foreground{
  border-right:1px solid #bfbfbf;
}
.vis-time-axis.vis-foreground{
  border-top:1px solid #bfbfbf;
  background:#FFF;
}

/* FORMS */
.form-status-badge{
    width:100px;
    min-height:70px;
    text-align:center;
    font-size:40px;
    color:#FFF;
    padding-top:5px;
    background:rgba(0,0,0,0.2);
}

.form-status-badge-created{
    background:rgba(4, 204, 87, 0.924);
}







/* RESPONSIVENESS */
@media only screen and (max-width: 767px) {
    .btn-group {
      display: block;
    }


    
    .btn-group .btn {
      display: block;
      float: none;
      width: 100%;
      border-radius:0;
    }

    .nav-pills {
        display: block;
      }
      
      .nav-pills .nav-item {
        display: block;
        float: none;
        width: 100%;
        border-radius:0;
      }


      .action-bar-row{
          margin-top:25px;
      }

      #editor-settings-bar{
          margin-top:10px;
          margin-bottom:10px;
      }

  
  }


.modal{
    z-index:9998;
}

/* BILLING */
.billing-table{
    background-color:#FFF;
}
.billing-row-disabled,.fatt-flora-row-disabled{
    background-color:#EEEEEE;
    color:#808080 !important;
}
.billing-row-disabled .billing-row-final-price-free,.fatt-flora-row-disabled .fatt-flora-row-final-price-free{
    color:#808080 !important;
}
.billing-row .billing-row-final-price-free,.fatt-flora-row .fatt-flora-row-final-price-free{
    color:blue;
}

.billing-row-disabled input,.fatt-flora-row-disabled input{
    background-color:#EEEEEE;
    color:#808080;
}
.billing-table thead, tfoot{
    background-color:#25344f;
    color:#FFF;
    font-weight:bold
}
/* Description Row */
.billing-table tbody td:nth-child(2) ,.fatt-flora-table tbody td:nth-child(2) {
    width: 80%;
}
.billing-table tbody td,.fatt-flora-table tbody td{
    vertical-align: middle;
}
.billing-table tbody td:nth-child(3) ,.fatt-flora-table tbody td:nth-child(3) {
    color:#808080;
}

/*Pricing (Final Price)*/
.billing-table tbody td:nth-child(4) > div ,.fatt-flora-table tbody td:nth-child(4) > div {
    display:flex;
    align-items:center;
    gap:4px
}
.billing-table tbody input[type=text],.fatt-flora-table tbody input[type=text],
.billing-table tbody input[type=number]{
    border-radius:10px;
    text-align:center
}
.billing-price-total-row,.fatt-flora-price-total-row{
    font-weight:bold;
    font-size:22px;
    background-color:#f3f7ff
    
}