/* Generali */

.page-top {
    position: fixed;
    display: flex;
    bottom: 45px;
    right: 30px;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 3;
    -webkit-transition: all .25 ease;
    transition: all .25 ease;
}


.page-top a, .page-top a:active, .page-top a:visited {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #5597D8;
    border-radius: 20px;
    font-size: 24px;
    color: #815e5b;
    -webkit-transition: all .25 ease;
    transition: all .25 ease;
}

.page-top a:hover {
    background-color: #5597D8;
    border-color: #5597D8;
    color: #fff;
    text-decoration: none;
    -webkit-transition: all .25 ease;
    transition: all .25 ease;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: #2858a3;*/
    transition: 1s;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader:before {
    content: '';
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    transition: 1s;
    z-index: 100;
}

.preloader.complete:before {
    left: -50%;
}

.preloader:after {
    content: '';
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    transition: 1s;
    z-index: 100;
}

.preloader.complete:after {
    right: -50%;
}

.loader {
    width: 200px;
    height: 200px;
    box-sizing: border-box;
    border-radius: 50%;
    border-top: 10px solid #2858a3;
    position: relative;
    animation: a1 2s linear infinite;
    z-index: 101;
}

.loader::before, .loader::after {
    content: '';
    width: 200px;
    height: 200px;
    position: absolute;
    left: 0;
    top: -10px;
    box-sizing: border-box;
    border-radius: 50%; 
}

.loader::before {
    border-top: 10px solid #555358;
    transform: rotate(120deg);
}

.loader::after {
    border-top: 10px solid #17B890;
    transform: rotate(240deg);
}

.loader span {
    position: absolute;
    width: 200px;
    height: 200px;
    color: #224870;
    text-align: center;
    line-height: 200px;
    animation: a2 2s linear infinite;
}

.preloader.complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes a1 {
    to{
        transform: rotate(360deg);
    }
}

@keyframes a2 {
    to{
        transform: rotate(-360deg);
    }
}

.infobox, body {
    font-family: 'Nunito Sans', sans-serif;
}

a {
    color: #2858a3;
    text-decoration: none;
}

a:focus, a:hover {
    color: #5597d8;
}

.btn-brand {
    color: #fff;
    background-color: #2858a3;
    border-color: #2858a3;
}

.btn-brand:hover {
    color: #fff;
    background-color: #5597d8;
    border-color: #5597d8;
}

.btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(232, 53, 67, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(232, 53, 67, 0.25);
}

.page {
    background: #f5f5f5;
}

.card-close .dropdown-menu a:hover {
    background: #5597d8;
    color: #fff !important;
}

.client .client-title a:hover {
    background: #e07c84;
}

.statistic .icon, section.dashboard-counts .icon {
    border-radius: 0;
}

header.page-header {
    padding: 20px 0 17px;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.breadcrumb {
    padding: 15px 0 0px;
}

.page-header {
    -webkit-box-shadow: 0 0 0 rgba(0,0,0,.1);
    box-shadow: 0 0 0 rgba(0,0,0,.1);
}

.card-header {
    -webkit-box-shadow: 0 0 0 rgba(0,0,0,.05);
    box-shadow: 0 0 0 rgba(0,0,0,.05);
}

section.dashboard-counts .number strong, .statistic strong {
    font-weight: 300;
}

#first-section {
    padding-top: 50px;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open .table-fixed tbody {
    overflow-y: inherit;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #5597d8;
    border-color: #5597d8;
}

.page-link {
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #5597d8;
    background-color: #fff;
    border: 1px solid #ddd;
}

.page-link:hover {
    z-index: 2;
    color: #5597d8;
    background-color: #e9ecef;
    border-color: #ddd;
}

/* Fine Generali */

/* Colours */

.bg-brand {
    background: #2858a3 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-brand:hover, .btn.bg-brand:hover {
    background: #5597d8 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-purple {
    background: #8A7090 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-purple:hover, .btn.bg-purple:hover {
    background: #323133 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-red {
    background: #F0544F !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-brown {
    background: #555358 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-brown:hover, .btn.bg-brown:hover {
    background: #323133 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-green {
    background: #17B890 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-green:hover, .btn.bg-green:hover {
    background: #129776 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-blu {
    background: #00B7FF !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.btn.bg-blu:hover {
    background: #058cc1 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.bg-blue {
    background: #00B7FF !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.btn.bg-blue:hover {
    background: #058cc1 !important;
    color: #fff;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.text-brand {
    color: #5597d8;
}

.text-green {
    color: #17B890;
}

.text-brown {
    color: #555358;
}

.text-blue {
    color: #00B7FF;
}

/* Fine Colours */

/* Login - Registrazione */

#login {
    min-height: 100vh;
    background-image: url(../img/194248097.jpg);
    background-position: bottom center;
    background-size: cover;
    padding: 0;
    margin: 0;
}

.bg-white-trans {
    background-color: rgba(255, 255, 255, 0.8)
}

.login-form-container {
    min-height: 100vh;
}

.checkbox-template:checked::before, .radio-template:checked::before {
    background: #2858a3;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: rgba(100, 199, 186, 0.3);
    outline: none;
    -webkit-box-shadow: 0 0 0 0.07rem rgba(100, 199, 186, 0.25);
    box-shadow: 0 0 0 0.07rem rgba(100, 199, 186, 0.25);
}

/* Fine Login - Registrazione */


/* Navbar */

nav.navbar .menu-btn.active span:nth-of-type(2),
nav.navbar .menu-btn span:nth-of-type(2){
    width: 20px;
}

nav.navbar .menu-btn span:nth-of-type(2)::before, 
nav.navbar .menu-btn span:nth-of-type(2)::after {
    display: none;
}

nav.navbar .menu-btn.active span:first-of-type,
nav.navbar .menu-btn.active span:nth-of-type(2),
nav.navbar .menu-btn.active span:last-of-type {
    width: 5px;
    height: 5px;
    background: #fff;
    display: block;
    margin: 4px auto 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

nav.navbar .menu-btn.active span:first-of-type,
nav.navbar .menu-btn.active span:nth-of-type(2),
nav.navbar .menu-btn.active span:last-of-type {
    margin: 0 0 0 10px;
}

nav.side-navbar a .collapsed .fa-angle-down::before {
    display: none;
}

nav.side-navbar ul li.active>a {
    background: #2858a3;
    color: #fff;
    border-left: 4px solid #5597d8;
}

nav.side-navbar ul li li.active>a {
    background: #5597d8;
}

nav.side-navbar ul li.active>a:hover {
    background: #5597d8;
}

nav.side-navbar ul li a:hover {
    background: #2858a3;
    border-left: 4px solid #5597d8;
    color: #fff;
}

nav.side-navbar a[aria-expanded="true"] {
    background: #fff;
}

nav.side-navbar ul li li a {
    padding-left: 50px;
    background: #fff;
}

nav.side-navbar {
     -webkit-box-shadow: 0 0 0 rgba(0,0,0,.1); 
     box-shadow: 0 0 0 rgba(0,0,0,.1); 
}

nav.side-navbar a i {
    width: 25px;
}

nav.side-navbar.shrinked ul li a i {
    width: auto;
}

.logout {
    color: #ffffff;
    -webkit-transition: all 0.01s ease-in-out;
    transition: all 0.01s ease-in-out;
}

.logout:hover {
    color: #2858a3;
    -webkit-transition: all 0.01s ease-in-out;
    transition: all 0.01s ease-in-out;
}

/* Fine Navbar */

/* Home */

.card-bottone-home {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.card-bottone-home:hover {
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.3);
    -webkit-transform: translate(0,-10px);
    transform: translate(0,-10px);
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

/* Fine Home */

/* Crea Ordine */

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link i {
    color: #ddd;
    background-color: #fff;
    border: none;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    color: #ddd;
    background-color: #fff;
    border: none;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover, .nav-tabs .nav-link:hover i {
    color: #5597d8;
    background-color: #fff;
    border: none;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active i {
    color: #5597d8;
    background-color: #fff;
}

.modal-content {
    border: 0 none;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}

.nav-text .nav-item .nav-link.tab, .nav-text .nav-item .nav-link, .nav-icons .nav-item .nav-link.tab, .nav-icons .nav-item.tab .nav-link {
    background-color: #f5f5f5;
    color: #5597d8;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.nav-text .nav-item .nav-link.tab:hover, .nav-text .nav-item .nav-link:hover, .nav-icons .nav-item .nav-link.tab:hover, .nav-icons .nav-item.tab .nav-link:hover {
    color: #5597d8;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.nav-text .nav-item .nav-link.tab.active, .nav-text .nav-item.active .nav-link, .nav-icons .nav-item .nav-link.tab.active, .nav-icons .nav-item.tab.active .nav-link {
    background-color: #ffffff;
    color: #5597d8;
    border: solid rgba(0,0,0,.1);
    border-bottom: 0px;
    border-top: 1px solid rgba(0,0,0,.1);
    border-right: 1px solid rgba(0,0,0,.1);
    border-left: 1px solid rgba(0,0,0,.1);
}

.bootstrap-touchspin {
    max-width: 8rem;
    margin-right: 0 !important;
}

/* Fine Crea Ordine */

/* Carica Immagine */

.carica-immagine img {
    transition: all .25s ease-in-out;
}

.carica-immagine:hover img {
    cursor: pointer;
    filter: blur(3px);
    transition: all .25s ease-in-out;
}

/* Fine Carica Immagine */

/* Media Query */


@media (max-width: 575px) {

    #first-section {
        padding-top: 15px;
    }
}
.icona-modale {
    font-size: 60px;
    margin: 0 auto;
    display: block;
}

.icona-home {
    font-size: 40px;
    margin: 1rem 0;
}

/* Disponibilità fattorini */

.fc-event, .fc-event-dot {
    background-color: #009741;
    color: #fff!important;
    border-color: #009741;
}

.fc-button-primary {
    color: #fff;
    background-color: #5597d8;
    border-color: #5597d8;
}

.fc-button-primary:hover, .fc-button-primary:not(:disabled):active, .fc-button-primary:not(:disabled).fc-button-active {
    color: #fff;
    background-color: #5597d8;
    border-color: #5597d8;
}

.fc-unthemed td.fc-today {
    background: rgba(218, 78, 64, 0.39);
}

.fc button {
    border-width: 1px;
    font-weight: 400;
    padding: 8px 16px;
}

.fc button .fc-icon {
    position: relative;
    top: -0.12em;
    margin: 0 .2em;
    vertical-align: middle;
}

.fc-button-group > .fc-button:not(:first-child) {
    margin-left: 1px;
}

.fc h2 {
    font-size: 1.8rem;
    font-weight: 300;
}

@media (max-width: 767px) {

    .fc-toolbar {
        flex-direction: column
    }

    .fc-left {
        display: flex;
        justify-content: space-between;
    }

    .fc h2 {
        margin: 1rem 0;
    }

    .fc-right, .fc-button-group {
        display: flex;
    }

    .fc-button {
        font-size: 0.8em;
    }
}

@media (max-width: 425px) {

    .fc-toolbar {
        flex-direction: column
    }

    .fc-left {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .fc h2 {
        font-size: 1.5em;
    }

    .fc-right, .fc-button-group {
        width: 100%;
        display: flex;
    }

    .fc-button {
        font-size: 0.8em;
    }
}

/* Fine Disponibilità fattorini */

.checkbox-template::before, .radio-template::before {
    margin-right: 10px;
    content: '';
    display: inline-block;
    -webkit-transform: translate(-2px,-2px);
    transform: translate(-2px,-2px);
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    background: #dae2e7;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.radio-template::before {
    border-radius: 50%;
    -webkit-transform: translate(-4px,-4px);
    transform: translate(-4px,-4px);
}


.ql-editor span {
  display: inline-block;
  min-width: 1px;
}