:root {
    --white-color: #fff;
    --main-color: #0F2C42;
    --sidebar-bg-color: #E9F0F4;
    --blue-color: #1D4F91;
    --blue-light-color: #93A9D1;
    --red-color: #d85d63;
    --red-light-color: #FF7477;
}

body {
    font-size: .875rem;
    overflow-y: overlay;
}

.sidebar a,
.primary-cards h6,
.title,
.filter .btn-white,
.filter .filter-item h6,
.users .table thead tr th,
.users h3,
.swal2-title{
    font-family: "aktiv-grotesk-extended", sans-serif;

}
.sidebar a,
.primary-cards h6,
.swal2-title{
    font-weight: 700 !important;
}

.dropdown button,
.dropdown .dropdown-menu a.dropdown-item,
.counter,
.top-bar-menu a,
.top-bar-menu .btn,
.theme-table.table tbody tr td,
.theme-table.table thead tr th,
.users .table tbody tr td,
.btn-outline-light,
.action-button,
.profile-actions .dropdown-menu a,
.status-col span,
.select select,
.btn-disabled
{
    font-family: "canada-type-gibson", sans-serif;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

.show > .btn-primary.dropdown-toggle:focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.filter .btn.focus, .filter .btn:focus,
.btn-delete, .btn-delete:focus{
    box-shadow: none;
}
.swal2-close:focus {
    outline: none;
}

.toggle-no-after.dropdown-toggle::after {
    display: none;
}

.toggle-custom.dropdown-toggle::before,
.profile-actions .dropdown-toggle::before {
    background-image: url(../img/icons/chevron-down.png);
    background-size: cover;
    display: inline-block;
    width: 12px;
    height: 7px;
    content: "";
    right: -8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.profile-actions .dropdown-toggle::before {
    left: 0;
}
.profile-actions .dropdown-menu {
    right: 0 !important;
    left: auto;
    top: 45px;
    border: 0;
    border-top: 5px solid #93A9D1;
    border-radius: 0;
    box-shadow: 0px 3px 6px #0F2C4269;
}
.top-bar-menu a, .top-bar-menu .btn {
    font-size: 18px;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 65px 0 0; /* Height of navbar */
}
img.profile-pic {
    height: 34px;
}
.main-menu .nav-item {
    background: var(--sidebar-bg-color);
    box-shadow: 1px 1px 5px #0F2C4257;
    padding: 10px 0px;
    margin-bottom: 3px;
    width: 100%;
}
.logo {
    height: 50px;
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
.profile-actions .dropdown-menu a {
    font-size: 15px;
    line-height: 25px;
}
.profile-actions .dropdown-menu a,
.swal2-title{
    color: var(--main-color) !important;
}
.profile-actions .dropdown-menu a:hover{
    background-color: transparent;
    color: var(--blue-light-color);
}
.status-col {
    position: relative;
}

.status {
    width: 17px;
    height: 17px;
    display: block;
    position: relative;
    border-radius: 4px;
    margin: 0 auto;
    cursor: pointer;
}
.status-warning{
   background-color: #F7DE74;
}
.status-success{
    background-color: #4DE683;
}
.status ~ span {
    visibility: hidden;
    font-size: 13px;
    color: #929899;
    line-height: 25px;
    width: 100%;
    position: absolute;
    left: 50%;
    bottom: calc(0px - 28px);
    transform: translateX(-50%);
}
.table .thead-dark th.funsione {
    background-color: var(--blue-color) !important;
    border-color: var(--blue-color) !important;
}
.gestione-profilo tbody tr td:first-child {
    border-right:1px solid #dee2e6 !important;
}
.gestione-profilo tbody{
    border-bottom:1px solid #dee2e6 !important;
}
a.link-camera {
    position: fixed;
    right: 40px;
    bottom: 0;
}
.table .thead-dark th.abilita-col {
    background-color: var( --sidebar-bg-color) !important;
    border-color: var( --sidebar-bg-color) !important;
    color:#0F2C42;
    text-align: center;
}
.cancel,
.save{
    border-radius: 8px;
}
.cancel:hover{
    color: white;
    background-color: var(--red-color);
}
.save:hover{
    color: white;
    background-color: var(--blue-color);
}
.pr{
    position: relative;
}
.box-info {
    display: block;
    margin: 0 auto;
    cursor: pointer;
}
.users .table-responsive {
    overflow-x: visible;
    overflow-y: auto;
}
.box-info ~ .ruoli {
    display: none;
    font-size: 15px;
    color: #929899;
    line-height: 25px;
    position: absolute;
    left: 0;
    height: 135px;
    top: 0;
    background: white;
    padding: 18px 35px;
    box-shadow: 0px 3px 6px #0F2C4269;
    z-index: 9;
    overflow-y: auto;
}
.status:hover ~ span{
    visibility:visible !important;
}
.info-td:hover .ruoli, .box-info ~ .ruoli:hover {
    display: block !important;
}
.btn-modal {
    background-color: #1D4F91;
    color: white;
    padding: 5px 33px;
    border-radius: 8px;
}
#user_password {
    position: relative;
    z-index: 2;
}
#strength {
    padding: 10px;
    font-size: 21px;
    line-height: 25px;
    font-weight: 500;
    text-align: center;
    position: relative;
    top: -9px;
}
.strong {
    color: #93A9D1;
    background: #E9F0F4;
}
.good {
    color: #F7DE74;
    background: rgba(239, 215, 114, 0.24);
}
.short,
.weak{
    color: var(--red-light-color);
    background: #ffc3af;
}
.form-show-pass,
.form-pass{
    display: none;
}
.form-show-pass.show-form,
.form-pass.show-form{
    display:block;
}
.btn-modal:hover,
.btn-disabled:hover{
    background-color: #0F2C42;
    color: white;
}
.select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: transparent;

    background-image: none;
}
/* Remove IE arrow */
.select select::-ms-expand {
    display: none;
}
/* Custom Select */
.select {
    position: relative;
    display: flex;
    width: 20em;
    height: 3em;
    line-height: 3;
    background:transparent;
    overflow: hidden;
    border:2px solid var(--blue-color);

}
.select select {
    flex: 1;
    padding: 0 .5em;
    color: var(--blue-color);
    cursor: pointer;
    font-size: 21px;
    line-height: 25px;
}
.btn-disabled{
    background-color: #93A9D1;
    color: white;
    font-weight: 500;
    font-size: 21px;
    line-height: 25px;
}
.w-20 {
    width: 20em;
}
/* Arrow */
.select::after {
    content: url("../img/icons/arrow.png");
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 1em;
    background: transparent;
    cursor: pointer;
    pointer-events: none;
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
        background: var(--sidebar-bg-color);
        box-shadow: 1px 1px 5px #0F2C4257;
    }
}

.sidebar .nav-link,
.btn-outline-light{
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    padding: 10px 20px;
}
.btn-outline-light:hover{
   background-color: transparent;
    border-color:var(   --main-color);
    color: var(   --main-color);
}
.users .actions{
   opacity: 0;
}
.users .user-name:hover .actions{
   opacity: 1;
}
.actions {
    position: absolute;
}
.users .table td {
    padding: 1.4rem;
}
.users .table thead tr th:first-child{
    padding-left: 1.5rem;
}
.users .actions,
.sidebar .nav-link,
.users h3{
    color: var(--blue-color);
}
.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active,
.btn-outline-light{
    color: var(--blue-light-color);
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */
.bg-blue {
    background-color: var(--blue-color);
}

.navbar-brand {
    padding-top: .45rem;
    padding-bottom: .45rem;
    font-size: 1rem;
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.count-indicator {
    position: relative;
}
.menu-icon{
    height: 30px;
}

.sidebar-secondary {
    position: absolute;
    left: -300px;
    z-index: 999;
    background: var(--sidebar-bg-color);
    top: 65px;
    height: 100%;
    width: 220px;
    transition: all .24s ease-in-out;
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.08);
}
.sidebar-secondary.open{
    left: 100%;
}
.sidebar-secondary .main-menu .nav-item {
    box-shadow: none;
    padding: 5px 0px;
    margin-bottom:0;
}
.sidebar-secondary .main-menu .menu-icon {
    height: 20px;
}
.sidebar-secondary .main-menu .nav-link {
    font-weight: 500;
    font-size: 12px;
}
.count-indicator .count {
    position: absolute;
    right: -2px;
    width: 20px;
    height: 20px;
    line-height: 17px;
    background: var(--red-light-color);
    border: 3px solid #ffc3af;
    top: -2px;
    font-size: .5625rem;
    color: var(--white-color);
    text-align: center;
}
.btn-red {
    color: #fff;
    background-color: var(--red-light-color);
    border-color: var(--red-light-color);
}
.btn-blue {
    color: #fff;
    background-color: var(--blue-color);
    border-color:var(--blue-color);
}
.add-plus {
    display: inline-block;
    width: 144px;
    height: 142px;
    margin-left: 2px;
}

.add-plus .link span {
    font-size: 13px;
    line-height: 14px;
    color: var(--white-color);
}

.add-plus .link img {
    padding-top: 30px;
    padding-bottom: 15px;
}

.title a{
    font-size: 21px;
    line-height: 25px;
    color: var(--main-color);
}

.border-theme-primary {
    border: 5px solid var(--main-color);
}

.border-theme-secondary {
    border: 5px solid var(--red-color);
}

.border-theme-middle {
    border: 3px solid var(--blue-color);
}
.border-theme-thin {
    border: 1px solid var(--blue-light-color);
}
.btn-outline-light {
    border: 2px solid var(--blue-light-color);
    border-radius: 8px;
    background-color: transparent;
}
.border-theme-last{
    border: 5px solid var(--blue-color);
}
.bg-sec-blue{
    background-color: #e6f0ff;
}
.bg-light-blue{
    background-color: #fafbfc;
}
.border-theme-secondary,
.border-theme-middle,
.border-theme-primary,
.border-theme-thin,
.border-theme-last,
.gallery img,
.filter .card,
.border-radius-11,
.filter .card .card .card-body{
    border-radius: 11px;
}
.filter .homes{
    width: auto;
}
.border-w-2{
    border-width:2px !important
}
.gallery img{
    height: 410px;
    object-fit: cover;
    object-position: center;
}
.users table tbody tr td .actions .action-button,
.users table tbody tr td .actions  span{
    color: #929899;
    font-size: 15px;
    line-height: 25px;
}
.modifica:hover{
    color: #1D4F91 !important;
}
.sospendi:hover{
    color: #D9BF2F !important;
}
.abilita:hover{
    color: #59C780 !important;
}
.elimina:hover{
    color: #D85D63 !important;
}
.users .table .thead-dark th{
    background-color: #0F2C42;
    border-color: #0F2C42;
}
.filter-count {
    position: absolute;
    right: -11px;
    top: -13px;
    background: #ffd33c;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    box-shadow: 0 0 0 4px white, 0 0 0 6px #20547b;
    font-size: 16px;
    font-weight: 500;
}
.filter-item {
    margin-bottom: 35px;
}
.filter .filter-item:nth-child(odd) .filter-count{
    background:#ff8767;
}
.primary-cards .card,
.gallery img,
.middle-section .card,
.filter .card
{
    box-shadow: 4px 4px 5px #0F2C4257;
}

.primary-cards h6, .filter .filter-item h6,
.users table tbody tr td,
.users table tbody tr td a{
    font-size: 17px;
    line-height: 20.4px;
    color: var(--main-color);
}
.users .name{
    font-weight: 500;
}
.users table tbody tr td{
    line-height: 25px;
    font-weight: 500;
}
.img-lg {
    height: 50px;
}

p.counter.mb-0 {
    font-weight: bold;
    line-height: 1;
    color: var(--blue-light-color);
}
p.counter.mb-0,
.swal2-title{
    font-size: 27px !important;
}

.filter .card{
    border:0;
}
.filter .card-header,
.filter .card-body{
    background-color:var(--main-color);
}

.filter .btn-white,
.users h3{
    font-size: 21px;
    line-height: 25px;
    font-weight: bold;
}
.filter .btn-white{
    color: white;
}
.button-icon {
    border: 2px solid white;
    border-radius: 100%;
    padding: 6px 3px;
    visibility: hidden;
}
.collapsed .button-icon ,
#collapseOne .button-icon-footer{
    visibility: visible;
}
#collapseOne .button-icon-footer{
    transform: rotateZ(180deg);
    cursor: pointer;
}


/*
Tables
 */
.theme-table.table thead th,
.theme-table .table thead th{
    border-top:0;
    border-bottom:0;
}
.theme-table.table thead tr th,
.theme-table.table tbody tr td
{
    padding: .55rem;
    font-size: 20px;
    line-height: 25px;
}
.theme-table.table thead tr th {
    font-weight: 500;
}
.theme-table.table tbody tr td{
    color: #929899;
}
.theme-table.table tbody tr td,
.users table tbody tr td{
    font-weight: 300;
}
.theme-table.table tbody tr:first-child td,
.theme-table.table tbody th:first-child td {
    border-top: 0;
}
a.view {
    width: 49px;
    height: 25px;
    display: block;
}
.danger-color thead tr th{
    color: var(--red-light-color);
}
.danger-color tbody tr td{
    border-top-color: var(--red-light-color);
}
.danger-color .view{
    background-color:  var(--red-light-color);
}
.blue-color thead tr th{
    color: var(--blue-light-color);
}
.blue-color tbody tr td{
    border-top-color: var(--blue-light-color);
}
.blue-color .view{
    background-color:  var(--blue-light-color);
}
#dropdownMenuButton {
    line-height: 45px;
}
#notificationDropdown {
    line-height: 41px;
}
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.profile-avatar{
    width: 241px;
    height: 241px;
    object-fit: cover;
    object-position: center;
}
.file-drop-zone {
    width: 300px !important;
}
.file-preview-image{
    border-radius: 100%;
}
img.file-preview-image.kv-preview-data {
    margin-left: 25px;
}
.btn-outline-blue{
    color: var(--blue-color);
    border-color:  var(--blue-color);
    border-width:  3px;
}
.btn-outline-red{
    color: var(--red-color);
    border-color:  var(--red-color);
    border-width:  3px;
}
.repeater div  div:first-child .btn-outline-red {
    display: none;
}
.element {
    position: absolute;
    right: -6rem;
    top: 0;
    cursor: pointer;
    z-index: 99;
}
.delete-svg{
    width: 15px;
    height: auto;
}

.repeater-delete{
    padding: 18px 23px;
}
.repeater-delete::after{
    content: '';
    position: absolute;
    background: var(--red-color);
    display: block;
    height: 4px;
    width: 20px;
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}
.fileinput-upload.fileinput-upload-button {
    color: var(--red-light-color);
    border-color:  var(--red-light-color);
    border-width:  3px;
    background: transparent;
    border-radius: 37px;
    font-weight: bold;
    margin-top: -8px;
}
.form-modifica-profilo .form-group input[type="email"],
.form-modifica-profilo .form-group input[type="password"],
.form-modifica-profilo .form-group input[type="text"]{
    border:3px solid var(--blue-color);
    border-radius: 11px;
}
.users .form-group input[type="email"],
.users .form-modifica-profilo .form-group input[type="password"],
.users .form-modifica-profilo .form-group input[type="text"]{
    border:2px solid var(--blue-color);
}
::placeholder { /* Most modern browsers support this now. */
    color:   #929899;
    font-weight: 200;
    font-size: 21px;
}
.beforeAnimation {
    -moz-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    -o-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    -webkit-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
}
.afterAnimation {
    box-shadow: 0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 0px 0 hsla(0, 0%, 0%, 0.04), 0 4px 9px hsla(0, 0%, 0%, 0.13), 0 3px 3px hsla(0, 0%, 0%, 0.05);
    -moz-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    -o-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    -webkit-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
}
.toggleWrapper {
}
.toggleWrapper input.mobileToggle {
    opacity: 0;
    position: absolute;
}
.toggleWrapper input.mobileToggle + label {
    position: relative;
    display: inline-block;
    user-select: none;
    -moz-transition: 0.4s ease;
    -o-transition: 0.4s ease;
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
    -webkit-tap-highlight-color: transparent;
    height: 22px;
    width: 40px;
    border: 1px solid #e4e4e4;
    border-radius: 60px;
}
.toggleWrapper input.mobileToggle + label:before {
    content: "";
    position: absolute;
    display: block;
    -moz-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    -o-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    -webkit-transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
    height: 20px;
    width: 41px;
    top: 0;
    left: 0;
    border-radius: 30px;
}
.toggleWrapper input.mobileToggle + label:after {
    content: "";
    position: absolute;
    display: block;
    box-shadow: 0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 0px 0 hsla(0, 0%, 0%, 0.04), 0 4px 9px hsla(0, 0%, 0%, 0.13), 0 3px 3px hsla(0, 0%, 0%, 0.05);
    -moz-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    -o-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    -webkit-transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
    background: whitesmoke;
    height: 20px;
    width: 20px;
    top: 0px;
    left: 0px;
    border-radius: 60px;
}
.toggleWrapper input.mobileToggle:checked + label:before {
    background: #2ecc71;
    -moz-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
    -o-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
    -webkit-transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
    transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
}
.toggleWrapper input.mobileToggle:checked + label:after {
    left: 24px;
}
.privacy {
    font-size: 14px;
    text-align: left;
    color: #0F2C42;
}

.kv-avatar .krajee-default.file-preview-frame,.kv-avatar .krajee-default.file-preview-frame:hover {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    text-align: center;
}
.kv-avatar {
    display: inline-block;
}
.kv-avatar .file-input {
    display: table-cell;
    width: 213px;
}
.kv-reqd {
    color: red;
    font-family: monospace;
    font-weight: normal;
}
.btn.btn-primary.btn-file {
    background: transparent;
    border: 0;
}
.kv-file-zoom,.file-thumbnail-footer{
    display: none !important;
}
.file-preview {
    border: none;
}


@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }

}

@media(max-width: 1024px){
    .blocks .sicurezza img{
        width: 100%;
    }
}


@media only screen and (min-width: 992px) and (max-width: 1290px) {
    .sidebar .nav-link {
        font-size: 10px !important;
    }
    .primary-cards .card-body .mx-auto {
        display: none;
    }
    .card-body .flex-row img {
        padding-left: 0 !important;
        margin: auto;
    }
    .sidebar .sidebar-sticky .nav-link{
        font-size: 0px !important;
    }
}
@media only screen and (min-device-width: 1261px) and (max-device-width: 1560px) {
    .sidebar .nav-link {
        font-size: 12px !important;
    }
}
@media(max-width: 768px){
    .sidebar-sticky .main-menu .nav-item{
       text-align: left !important;
    }
    .sidebar-sticky .main-menu .menu-icon {
        display: inline-block !important;
    }
    .sidebar-secondary.open {
        left: 60%;
        width: 100%;
    }
}
