@font-face {
    font-family: GothamBook;
    src: url(Font/Gotham/GothamBook.ttf) format('truetype'),
    url(Font/Gotham/GothamBook.woff) format('woff'),
    url(Font/Gotham/GothamBook.eot?#iefix) format('embedded-opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'Gotham-Bold';
    src: url('Font/Gotham/Gotham-Bold.WOFF');
}

@font-face {
    font-family: 'Gotham-Book-Regular';
    src: url('Font/Gotham/Gotham-Book-Regular.WOFF');
}

@font-face {
    font-family: 'Gotham-Medium-Regular';
    src: url('Font/Gotham/Gotham-Medium-Regular.WOFF');
}

/* ============ PAGINA HYPERCARE - detail =========== */
@media screen and (min-width: 1158px) {
    .col-4-dettagli-chiamata {
        max-width: 31.5%!important;
        margin-right: 10px!important;
        margin-left: 10px!important;
        -ms-flex: 0 0 31.5%!important;
        flex: 0 0 31.5%!important;
    }
    /*
    #pulsanti_operazioni {
        position: absolute !important;
    }
     */
}

@media screen and (max-width: 1158px) {
    .col-4-dettagli-chiamata {
        width: 100%!important;
        max-width: 100%!important;
        -ms-flex: 0 0 100%!important;
        flex: 0 0 100%!important;
        margin-top: 20px;
    }
    #pulsanti_operazioni {
        position: relative !important;
    }
}

/* ============ PAGINA HYPERCARE - colori icone e tabella =========== */
.fa-calendar::before, .fa-user::before, .fa-check-square::before {color: #f47b20!important;}

.selected-tr {box-shadow: 0px -4px 15px 0px rgba(69,65,78,0.15)!important;}

/* ============ COLORI =========== */
:root {
    --primary:#009CDE!important;
    --secondary:#F47B20!important;
    --indaco:#001489!important;
    --scuro:#222731!important;
    --grigio:#888B8D!important;
    --giallo:#FFD100!important;
    --libreorange:#E95526!important;
    --jollygold:#EEB33B!important;
    --font-family-sans-serif: "GothamBook" !important;
}

/* FONT*/
body {font-family: 'Gotham-Book-Regular'!important; font-size: 16px;}
.btn {font-family: 'Gotham-Book-Regular'!important;}
h1, thead {font-family: 'Gotham-Bold'!important;}

@media (max-width: 1024px) {
    .m-header--fixed-mobile .m-body {
        padding-top: 20px!important;
    }

    h1 {
        font-size: 2rem;
    }
}

/* HOVER ICONA UTENTE */
.m-brand .m-brand__tools .m-brand__icon:hover > i {color: #001489!important;}

/* HOVER MENU MOBILE */
.m-brand__toggler:hover span::after, .m-brand .m-brand__tools .m-brand__toggler:hover span::before {background: #001489!important;}
.m-brand .m-brand__tools .m-brand__toggler:hover span::after, .m-brand .m-brand__tools .m-brand__toggler:hover span::before {background: #001489!important;}
.m-brand .m-brand__tools .m-brand__toggler:hover span {background: #001489!important;}

/* =========== GENERALE ========== */
.m-container.m-container--responsive.m-container--xxl {width: 100%;}
.container {max-width: 1700px;}
.col-xl-8, .col-xl-4, .col-xl-2, .col-xl-10, .col-xl-7 {padding-right: 0px!important; padding-left: 0px!important;}
.row {margin-right: 0px; margin-left: 0px;}

h1 {text-align: center; margin-bottom: 40px;}
/*.m-content {font-size: 16px;}*/
.pagination {float: right;}

/* Header */
.m-header-menu.m-header-menu--skin-light .m-menu__nav>.m-menu__item>.m-menu__link .m-menu__link-icon, .m-header-menu.m-header-menu--skin-light .m-menu__nav>.m-menu__item>.m-menu__link .m-menu__link-text {
    color: var(--primary)!important;
}

.m-topbar .m-topbar__nav.m-nav > .m-nav__item.m-dropdown--open > .m-nav__link .m-topbar__username {color: var(--secondary)!important;}
.m-topbar .m-topbar__nav.m-nav > .m-nav__item > .m-nav__link .m-topbar__username {color: var(--primary)!important;}
.m-card-user .m-card-user__pic img {display: none!important;}
.btn.m-btn--label-brand {color: #222731;}

/* Footer */
.m-footer {height: auto; padding: 0px 0px 10px 0px;}

/* Links */
a.disabled  { pointer-events: none; }
a {color: var(--primary);}
a:hover {color: var(--secondary);}

.m-nav .m-nav__item:hover:not(.m-nav__item--disabled)>.m-nav__link .m-nav__link-text {color: var(--secondary)!important;}

.clearable-input {
    position: relative;
    display: inline-block;
}
.clearable-input > input {
    padding-right: 1.4em;
}
.clearable-input > [data-clear-input] {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
    font-size: 1.9em;
    padding: 0 0.6em;
    line-height: 1.2em;
    cursor: pointer;
}
.clearable-input > input::-ms-clear {
    display: none;
}
/* Portlet | Section */
.m-section {margin: 0!important;}
/*.m-portlet {padding-top: 0!important; padding-bottom: 20px!important; margin-bottom: 1rem; border-radius: 7px; box-shadow: 0 1px 15px 1px rgba(69,65,78,.08);}*/

.m-portlet {box-shadow: none; background-color: rgba(255, 255, 255, 0)!important;}

/* Dropdown */
.m-dropdown {float: left; margin-right: 4px;}
@media screen and (min-width: 749px) and (max-width: 1024px) {
*.m-dropdown.m-dropdown--align-right .m-dropdown__wrapper {left: 0;}
}

/* Sfondo hover freccette sotto tabella eventi*/
.dataTables_wrapper .pagination .page-item.disabled:hover > .page-link, .dataTables_wrapper .pagination .page-item.disabled > .page-link {opacity: 1;}
.dataTables_wrapper .pagination .page-item:hover > .page-link {background: #009CDE;}

/* Datepicker pagina AGGIUNGI EVENTO */
.datepicker tbody tr > td.day.today {background: #001489;}
.datepicker tbody tr > td.day.active, .datepicker tbody tr > td.day.active:hover, .datepicker tbody tr > td.day.selected, .datepicker tbody tr > td.day.selected:hover {background: #001489;}

/* PULSANTI*/

.btn {
    padding: 1.3rem 1.15rem 0.8rem!important;
    padding-top: 0.8rem!important;
    padding-right: 1.15rem!important;
    padding-bottom: 0.8rem!important;
    padding-left: 1.15rem!important;
}

.m-btn--icon > span > i {
    display: inline-block;
}

.btn-black {color: white; background-color: black; border-color: black;}

.btn-success {background-color: var(--secondary); border-color: var(--secondary);}
.btn-success:hover {background-color: var(--secondary); border-color: var(--secondary);}
.btn-success:not(:disabled):not(.disabled):active {background-color:var(--secondary); border-color: var(--secondary);}

.btn-primary {background-color: var(--primary); border-color: var(--primary);}
.btn-primary:hover {background-color: var(--primary); border-color: var(--primary);}
.btn-primary:not(:disabled):not(.disabled):active {background-color: var(--primary); border-color: var(--primary);}
.btn-primary.disabled, .btn-primary:disabled {background-color: var(--primary); border-color: var(--primary);}

.btn-accent {background-color: #001489; border-color: #001489;}
.btn-accent:hover {background-color: #001489; border-color: #001489;}
.btn-accent:not(:disabled):not(.disabled):active {background-color: #001489; border-color: #001489;}

.btn-metal {background-color: #888B8D; border-color: #888B8D;}

.btn-info {background-color: #E95526; border-color: #E95526;}
.btn-info:hover {background-color: #E95526; border-color: #E95526;}
.btn-info:not(:disabled):not(.disabled):active {background-color: #E95526; border-color: #E95526;}


.btn-metal {
    border-bottom: solid 3px #eeb33b!important;
    background-color: transparent;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2.8rem 0.7rem !important;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    color: black !important;}
.btn-metal:hover {background-color: #eeb33b; border-color: #eeb33b;}
.btn-metal:not(:disabled):not(.disabled):active {background-color: #eeb33b; border-color: #eeb33b;}




.m-btn--icon > span [class*=" fa-"], .m-btn--icon > span [class^="fa-"] {padding: 7px;}

.btn-danger {background-color: #E95526; border-color: #E95526;}
.btn-danger:hover {background-color: #E95526; border-color: #E95526;}


/* ========== CHAT =========== */
.mes-chat-risposto {margin-left: 20px; margin-top: 10px; margin-bottom: 10px; background-color: #eeeeee; padding: 10px; border-radius: 20px 0px 20px 20px;}
.mess-body {margin-top: 5px; margin-bottom: 5px;}
.chat-ora {color: #888B8D; font-size: 13px;}

.mes-chat-darispondere {margin-left: 20px; margin-top: 10px; margin-bottom: 10px; background-color: #daeafa; padding: 10px; border-radius: 20px 0px 20px 20px; text-align: right;}
/*.mes-chat-darispondere strong {text-align: right!important; display: block;}*/
.mes-chat-darispondere p.mess-body {text-align: right!important; display: block;}
/*.mes-chat-darispondere em.chat-ora {text-align: right!important; display: block;}*/


.mes-chat-relatore {margin-right: 20px; margin-top: 10px; margin-bottom: 10px; background-color: #ffffff; padding: 10px; border-radius: 0px 20px 20px 20px;}

.scrollable-content {overflow-y: scroll; overflow-x: hidden; max-height: 530px;}
.mes-inviato-da-relatore {height: 120px; padding-top: 10px; padding-bottom: 10px;}


/* ========== BADGE =========== */
.m-badge {line-height: 15px; min-height: 15px; min-width: 15px; margin-left: 10px;}

/* ========== TABELLA =========== */
/* Modifica  Tabella Base */
.table-striped tbody tr:nth-of-type(odd) {background-color: #f9f9f9;}
.td-mese {background-color: white; border-bottom: 1px solid #F47B20; text-align: center;}
thead tr {background-color: var(--secondary); color: white;}
.table-hover tbody tr:hover {background-color: #fbfafa;}

/* DATATABLE */
tr.group {background-color: #f9f9f9;}
.table td, .table th {padding: 1.2rem;}

/* Pulsante più e meno in mobile */
.dataTables_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before, .dataTables_wrapper table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before {
    color: var(--primary);
}

/* Intestazione */
thead tr {font-size: 1.2em; text-transform: uppercase;}
.group td {color: #222731; text-align: center;}

/* Pagination */
.dataTables_wrapper .pagination .page-item.active > .page-link {
    background: none; color: #222731; border: 1px #222731 solid; /*padding-top: 13px;*/}
.m-datatable>.m-datatable__pager>.m-datatable__pager-nav>li>.m-datatable__pager-link.m-datatable__pager-link--next:hover {background: #888B8D!important;}
.m-datatable__pager-link.m-datatable__pager-link--next:hover {background: #888B8D!important;}
.dataTables_wrapper .pagination .page-item.previous > .page-link:hover {background: #888B8D!important;}
#m_table_1_previous.paginate_button.page-item.previous.disabled a:hover {background-color: lightgrey!important; border: 1px black!important;}


/* Pulsante Cerca */
#m_table_1_filter.dataTables_filter {text-align: right;}

/* Ricerca Eventi Mobile */
@media screen and (max-width: 650px) {
    .m-portlet .m-portlet__head .m-portlet__head-tools .m-portlet__nav {
        display: block!important;
    }
}

/* ========== LOGIN =========== */

.m-login.m-login--2 .m-login__wrapper {
    padding: 2% 2rem 1rem 2rem;
    margin: 0 auto 1rem auto;
}

.form-control, .form-control:focus {
    border-color: #F47B20;
}

login.m-login--5 .m-login__wrapper-2 {
    padding-top: 2%;
}

.m-login.m-login--5 .m-login__wrapper-1 .m-login__wrapper-1-1 .m-login__contanier {
    padding-top: 0;
}

.m-login.m-login--5 .m-login__wrapper-1 .m-login__wrapper-1-1 .m-login__border {
    margin-top: 0;

}

.m-checkbox.m-checkbox--light > span {

    border: 1px solid #000;

}

.m-login.m-login--5 .m-login__wrapper-1 .m-login__wrapper-1-1 .m-login__contanier .m-login__content .m-login__title {
    padding-top: 20px;
}

.m-login.m-login--5 .m-login__wrapper-2 .m-login__contanier .m-login__form .m-login__form-sub .m-checkbox {color: black !important;}

div#m_login.m-grid__item.m-grid__item--fluid.m-grid.m-grid--hor.m-login.m-login--signin.m-login--2.m-login-2--skin-1 {background-image: none!important;}
.m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__form .m-form__group .form-control {border-radius: 2px;}
.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .form-control {color: black!important; border: 1px solid #009CDE!important; background-color: white;}
.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__head .m-login__title {color: #000;}
.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .m-login__form-action .m-login__btn.m-login__btn--primary {border-color: #000; background-color: black;}
.btn-focus.m-btn--air {
    -webkit-box-shadow: 0 5px 10px 2px rgba(239, 239, 239, 0.2) !important;
    box-shadow: 0 5px 10px 2px rgba(239, 239, 239, 0.2) !important;
}
.m-login.m-login--2.m-login-2--skin-1.m-login__container.m-login__form.form-control:focus::-moz-placeholder {color: black!important;}
.m-checkbox, .m-link, .m-login__account-msg {color: var(--primary)!important;}
.m-login.m-login--2.m-login-2--skin-1.m-login__container.m-login__form.m-login__form-sub.m-link {color: var(--primary)!important;}

.btn-focus.m-btn--air:focus, .btn-focus.m-btn--air:hover {
    -webkit-box-shadow: 0 5px 10px 2px rgba(0,0,0,.15)!important;
    box-shadow: 0 5px 10px 2px rgba(0,0,0,.15)!important;
}

/* Placeholder */
.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .form-control::-webkit-input-placeholder {
    color: grey!important; opacity: 1;}

.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .form-control:-ms-input-placeholder {
    color: grey!important; opacity: 1;}

.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .form-control::-moz-placeholder {
    color: grey!important; opacity: 1;}

.m-login.m-login--2.m-login-2--skin-1 .m-login__container .m-login__form .form-control:-moz-placeholder {
    color: grey!important; opacity: 1;}

/* ======= FORM CONTROL - Pagina inserisci Evento ======== */
.m-form .col-form-label, .m-form .form-control-label, .m-form .m-form__group > label {
    color: white; background-color: #F47B20; font-size: 1.3rem;}
.form-control {font-size: 1.2rem;}

/* ======= CUSTOM ======= */

/* HIDE MOBILE / DESKTOP */
@media screen and (min-width: 1020px) {
    .m–hidden-desktop {display: none;}
    .padtop26desk {padding-top: 26px!important;}
    .padtop10desk {padding-top: 10px!important;}
}

@media screen and (max-width: 1020px) {
    .m–hidden-tablet-and-mobile {display: none;}
    .m-nav.m-nav--inline > .m-nav__item {height: auto!important;}
}

/* Hide scroll chat */
.scrollchat::-webkit-scrollbar {width:0!important;}
.scrollchat {overflow: -moz-scrollbars-none!important;}
.scrollchat {-ms-overflow-style: none!important;}

/* Timer */
@media screen and (max-width: 527px) {
    .timer-align {
        text-align: left;
    }
}

@media screen and (min-width: 528px) {
    .timer-align {
        text-align: right;
    }
}
/* End Timer */

.dettagli {text-align: right;}
.width20 {width: 20%!important;}
.fontsize11{font-size: 11px;}
.fontsize16{font-size: 16px;}
.utenti-prenotati {display: block; width: 100%; float: left; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid #009CDE;}
.pad20 {padding: 20px;}
.pad-bottom-40 {padding-bottom: 40px;}
.pad-top-50 {padding-top: 50px;}
.pad-left-top20 {padding-left: 20px; padding-top:20px;}
.sfondo-titoli {background-color: #F47B20; color: white; padding: 10px 15px; margin-bottom: 0; font-weight: 400; margin-left: -15px; margin-right: -15px;}
.btn {font-weight: 500; margin-top: 0.5rem;}
.m-checkbox--black {color: black!important;}
.login-sinistra {background-image: url(/application/views/template/dist/demo9/assets/demo/demo9/media/bg/pattern-logo-pieno.png); background-position: bottom;}
.login-destra {background-color: white;}
.check-orange.m-checkbox > span::after {border: solid #F47B20!important; top: 50%;
    left: 50%;
    margin-left: -2px;
    margin-top: -6px;
    width: 5px;
    height: 10px;
    border-width: 0 2px 2px 0 !important;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);}
.dark-green {display: block!important; padding: 5px!important; background-color: #006600!important; color: white!important;}
.light-green {display: block!important; padding: 5px!important; background-color: #339900!important; color: white!important;}
.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 3s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

    animation-name: blinker;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@media screen and (max-width: 800px) {
    .btn {width: 100%!important; margin-top: 0.5rem;}
}

@media screen and (min-width: 1200px) {
    .button-prenota {width: 80%; margin-left: 10%; margin-right: 10%;}
    .bg-arrow {background-image: url(/application/views/template/dist/demo9/assets/demo/demo9/media/bg/arrow.png); background-position: center; background-repeat: no-repeat; background-size: 100px; background-position-x: 45%; background-position-y: 75%;}
}


@media screen and (min-width: 1200px) and (max-width: 1505px) {
    #userd {width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
}

/* ========= MOBILE NAVIGATION ========= */
@media screen and (max-width: 1024px) {
    .m-stack__item.m-stack__item--middle.m-stack__item--center {height:0px!important;}
    .m-stack__item.m-stack__item--middle.m-stack__item--center img {display:none!important;}
    .m-topbar .m-topbar__nav.m-nav {float: none;}
    .m-header--fixed-mobile .m-header {position: static;}
}

.m-aside-header-menu-mobile-close.m-aside-header-menu-mobile-close--skin-dark > i {
    color: #fff;
}

.m-aside-header-menu-mobile-close.m-aside-header-menu-mobile-close--skin-dark:hover {
    background-color: #E95526;
}

.m-brand .m-brand__tools .m-brand__icon > i {
    font-size: 1.8rem;
    font-weight: 900 !important;
}

.m-brand .m-brand__tools .m-brand__icon:hover > i {
    color: #001489;
}

.m-topbar .m-topbar__nav.m-nav {
    margin: 0 0 20px 20px;
}

/* ========= LOGIN MOBILE ========= */
@media screen and (max-width: 990px){
.login-top-mobile {width: 100%; background-color: #009CDE; padding: 7px; text-align: center; color: white; font-weight: 700; font-size: 20px; margin-top: -20px; margin-bottom: -6px;}
#collogindestradesktop {display:none!important;}
.m-portlet .m-portlet__head {height:100%;}
}

@media screen and (min-width: 991px){
.login-top-mobile {display:none!important;}
#collogindestramobile {display:none!important;}
}

a.linkloginmobile {color: white!important;}
a.linkloginmobile:hover {color: black!important; text-decoration: none;}
/* ========= END LOGIN MOBILE ========= */



.fadeGreen {
    background: #006600;
    animation: color-me-in 10s infinite; /* other keywords like "infinite alternate" can be useful here */
}

@keyframes color-me-in {
    /* You could think of as "step 1" */
    0% {
        background: #99CC00;
    }
    10%{
        background: #006600;
    }
    20%{
        background: #99CC00;
    }
    /* You could think of as "step 2" */
    30% {
        background: #006600;
    }
    40% {
        background: #99CC00;
    }
    50%{
        background: #006600;
    }
    60%{
        background: #99CC00;
    }
    /* You could think of as "step 2" */
    70% {
        background: #006600;
    }
    80% {
        background: #99CC00;
    }
    90%{
        background: #006600;
    }
    100%{
        background: #99CC00;
    }

}
/* ======= VIDYO ======= */
.toolbar {margin-left: -30px;}

/* ======= P4W ======= */

/* custom grid */

.gutter-0 > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

@media screen and (max-width: 800px) {
    .gutter-xs-0 > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

@media screen and (min-width: 801px) {
    .gutter-50 > [class*="col-"] {
        padding-right: 25px;
        padding-left: 25px;
    }
}

/* cta buttons */

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-secondary-alt {
    border: solid 2px #e4572d;
    background-color: #e4572d;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 2.3rem 0.7rem !important;
}

.btn-cta-secondary {
    border: solid 2px #e4572d;
    background-color: #fff;
    color: #e4572d !important;
}

.btn-cta-secondary-alt {
    border: solid 2px #009CDE;
    background-color: #fff;
    color: #009CDE !important;
}

.btn-cta-minimal {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.btn-cta-primary i,
.btn-cta-secondary i,
.btn-cta-secondary-alt i{
    position: relative;
    top: -1px;
    font-size: 1.25rem;
}

@media screen and (max-width: 800px) {
    .btn-cta-primary,
    .btn-cta-secondary {
        margin-bottom: 1rem;
    }
}

/* tables */

.table-striped-custom tr:nth-of-type(odd){
    background-color: #fafafa;
}

.table-striped-custom thead tr:nth-of-type(odd){
    background-color: var(--secondary);
}

.dataTables_paginate.paging_bootstrap_number .pagination a{
    display: block;
    border-radius: 1rem;
    background-color: #eee;
    color: #333;
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    margin: 0.5rem;
}

.dataTables_paginate.paging_bootstrap_number .pagination .active a {
    border: 1px solid #333;
    background-color: #fff;
    line-height: calc(2rem - 2px);
}

.dataTables_paginate.paging_bootstrap_number .pagination .disabled {
    opacity: 0.5;
}

.anagrafica a {
    color: #222731;
}

@media screen and (max-width: 800px) {
    .anagrafica td:first-of-type::after {
        content:attr(data-attr-email);
        display: block;
        font-size: 0.75rem;
        color: #999;
    }

    .client-events td:nth-of-type(2)::after {
        content:attr(data-attr-spokesman);
        display: block;
        font-size: 0.75rem;
        color: #999;
    }

    .client-events td:first-of-type{
        width: 3rem !important;
        font-size: 0.75rem;
    }

    thead tr {
        font-size: 1em;
    }
}

/* modals */

.modal .modal-content .modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e4572d;
    text-transform: uppercase;
}


.modal .modal-content .modal-body p {
    word-break: break-word;
}

/* mobile footer fix */

.m-footer {
    min-height: initial;
}

/* checkbox hack */

.custom-checkbox {
    position: fixed;
    top: -50px;
    left: -50px;
}

.custom-checkbox + label {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    border: 1px solid #E95526;
    position: relative;
    margin: 0 auto;
    background-color: #fff;
}

.custom-checkbox:checked + label::after {
    content:"";
    display: block;
    width: 14px;
    height: 14px;
    background-color: #001489;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 6px;
}




.myinput[type="checkbox"]:before {
    position: relative;
    display: block;
    width: 11px;
    height: 11px;
    border: 1px solid #808080;
    content: "";
    background: #FFF;
}

.myinput[type="checkbox"]:after {
    position: relative;
    display: block;
    left: 2px;
    top: -11px;
    width: 7px;
    height: 7px;
    border-width: 1px;
    border-style: solid;
    border-color: #B3B3B3 #dcddde #dcddde #B3B3B3;
    content: "";
    background-image: linear-gradient(135deg, #B1B6BE 0%, #FFF 100%);
    background-repeat: no-repeat;
    background-position: center;
}


/* Large checkboxes */
.myinput.large {
    height: 22px;
    width: 22px;
}

.myinput.large[type="checkbox"]:before {
    width: 20px;
    height: 20px;
}

.myinput.large[type="checkbox"]:after {
    top: -20px;
    width: 16px;
    height: 16px;
}

.transparent_class {
    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";

    /* IE 5-7 */
    filter: alpha(opacity=50);

    /* Netscape */
    -moz-opacity: 0.5;

    /* Safari 1.x */
    -khtml-opacity: 0.5;

    /* Good browsers */
    opacity: 0.5;
}

.loader {
    border: 8px solid #001489;
    border-top: 8px solid #FFD100;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    right: 50%;
    z-index: 1024;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.container-spinner {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1023!important; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* ======== INIZIO CHECKBOX PERSONALIZZATO PAGINA DETTAGLI DANA */

/* il contenitore è position: relative. Questa ci aiuta a posizionare la casella di controllo e contrassegnare gli pseudo elementi ::before e ::after utilizzando position: absolute. */
.wrapper-checkbox {
    position: relative;
}

/* si nasconde visivamente il tag input con OPACITY: 0, e non con display: none */
.wrapper-checkbox input {
    height: 30px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 30px;
}

.wrapper-checkbox input + label::before {
    border: 2px solid #e95526;
    /*background-color: #f4f2f4;*/
    content: "";
    height: 30px;
    left: 0;
    position: absolute;
    top: 0;
    width: 30px;
}
/* lo stile alla "spunta" */
.wrapper-checkbox input + label::after {
    content: "";
    border: 4px solid #009bde;
    border-left: 0;
    border-top: 0;
    height: 15px;
    left: 11px;
    opacity: 0;
    position: absolute;
    top: 4px;
    transform: rotate(45deg);
    transition: opacity 0.2s ease-in-out;
    width: 7px;
}


/* stiamo ancora nascondendo la spunta visivamente utilizzando opacity: 0. Lo pseudo selettore :checked seleziona una casella di controllo quando è attivata con lo stato "on". Possiamo usare ciò per modificare l'opacità della spunta personalizzata: */
.wrapper-checkbox input:checked + label::after {
    opacity: 1;
}
/* ======== FINE CHECKBOX PERSONALIZZATO */

/*contatore riga in tabella */

.customtablewithcounter tbody{
    counter-reset: rowNumber;
}
.customtablewithcounter tbody tr{
    counter-increment: rowNumber;
}
.customtablewithcounter tbody tr td:first-child::before {
    content: counter(rowNumber);
}
.customtablewithcounter tbody tr:last-child td:first-child::before {
    content: none;
}
.customtablewithcounter th {
    text-align: center;
}
.customtablewithcounter td {
    text-align: center;
}

/* fine contatore riga in tabella */

/* tab attivo nella dashboard */
.dashboardactivetab {

    background-color: antiquewhite;

}
 /* fine tab attivo nella dashboard */
.btn-metal-pos.solid {background-color: #009cde; border-color: #009cde;color:white !important;}

.btn-metal-pos:hover {background-color: #009cde; border-color: #009cde;}
.btn-metal-pos{
    border-bottom: solid 3px #009cde !important;
}
.btn-metal-neg.solid {background-color: #E95526; border-color: #E95526;color:white !important;}
.btn-metal-neg{
    border-bottom: solid 3px #E95526 !important;
}
.btn-metal-neg:hover {background-color: #E95526; border-color: #E95526;}
