@font-face {
    font-family: 'Roboto Mono';
    src: url('/fonts/RobotoMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* AFTERSALESTOOLS */
.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.dropdown-menu {
    border: 0px solid rgba(0,0,0,.15);
    border-radius: 0rem;
}

.dropdown-item {
    border-bottom: 2px solid #f1f1f1;
}

    .dropdown-item:hover {
        color: #0271bb !important;
        border-bottom: 4px solid #0271bb !important;
        background-color: #ffffff;
    }

#divFooter {
    background-color: #00468a;
}


#divMasterMenu {
    background-color: #ffffff;
    border-width: 0px;
    border-color: #e7e7e7;
    border-style: solid;
    margin-bottom: 20px;
}

#divMasterHeading {
    border-width: 0px;
    border-color: #ddd;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #ffffff;
    margin-top: 0px
}

#divBody {
    background-color: #ffffff;
    border-width: 0px;
    border-color: #ddd;
    border-style: solid;
    border-radius: 4px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 30px;
    padding-left: 30px;
}



.navbar-nav .nav-item .nav-link {
    color: #373737;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
}


    .navbar-nav .nav-item .nav-link :hover {
        color: #0271bb;
        border-bottom: 4px solid #0271bb;
        padding: 30px 0px;
    }

.nav-tabs .nav-link {
    color: #0271bb !important;
    font-size:large;
}

.MainContent {
    background-color: #ffffff;
    border-width: 0px;
    border-color: #ddd;
    border-style: solid;
    border-radius: 4px;
    padding-top: 20px;
    padding-bottom: 20px
}


.coloricons {
    color: #0271bb
}

.tablecolor {
    background-color: #0271bb
}

/* MENU LATERALE */
.col2sidenav {
    min-width: 80%;
}

.isidenav {
    width: 28px !important;
}

.psidenav {
    padding: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;
}

.p2sidenav {
    padding: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.row0sidenav {
    max-height: 42px;
}

.rowsidenav {
    padding: 2px 2px 2px 8px;
    !important;
}

.row2sidenav {
    padding-left: 50px;
}


.colsidenav {
    padding-right: 5%;
}

.hrsidenav {
    border-top: 1px solid #818181 !important;
    width: 96% !important;
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}
/****************/



/* The side navigation menu */
.sidenav {
    width: 100%;
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    background: rgba(0, 0, 0, 0.9);
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}



    /* The navigation menu links */
    .sidenav a {
        padding: 8px;
        text-decoration: none;
        font-size: 1.2rem;
        color: #f1f1f1;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidenav a:hover {
            color: #818181;
        }

        .sidenav a:not([href]):not([tabindex]) {
            color: #fff;
            text-decoration: none;
        }

            .sidenav a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
                color: inherit;
                text-decoration: none;
            }


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

.ast-dropdown-menu {
    left: -120px;
}

.ast-dropdown-menu-language {
    left: -45px;
}

.ast-card {
    border-radius: 4px;
    border: 0px;
}

.ast-card-body {
    padding: 2.25rem;
}

.ast-btn-primary {
    color: #fff !important;
    background-color: #0271bb;
    border-color: #0271bb;
}

    .ast-btn-primary:hover {
        color: #0271bb !important;
        background-color: #fff;
        border-color: #0271bb;
    }

.ast-btn-secondary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0271bb;
    padding: .0rem .0rem;
    line-height: 1.5;
}

    .ast-btn-secondary:hover {
        color: #0271bb;
        background-color: #ffffff;
        border-color: #ffffff;
    }

.ast-btn-outline-primary {
    color: #0271bb;
    background-color: transparent;
    background-image: none;
    border-color: #0271bb;
}

    .ast-btn-outline-primary:hover {
        color: #0271bb;
        background-color: #F0F1F2;
        border-color: #0271bb;
    }

.ast-btn-admin {
    color: #fff !important;
    background-color: #ff0000;
    border-color: #ff0000;
}

    .ast-btn-admin:hover {
        color: #ff0000 !important;
        background-color: #fff;
        border-color: #ff0000;
    }

.ast-label {
    font-weight: bold;
}


.ast-content {
    text-align: right;
}

.ast-elencoSX {
    color: #666666;
    text-decoration: none;
}

    .ast-elencoSX:hover {
        text-decoration: none;
    }

.ast-page-title {
    padding: .5rem 1rem;
    margin-bottom: 0rem;
}

.ast-page-title-upper {
    padding: .5rem 1rem;
    margin-bottom: 0rem;
    text-transform: uppercase;
}


.ast-far {
    font-size: 1.6rem;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

.ast-far-carousel {
    display: flex;
    font-size: 1.6rem;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

@media only screen and (max-width: 400px) {
    .ast-far-carousel {
        display: none;
    }
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.ast-label-breadcrumb {
    color: #0271bb;
}

/* BOOTSTRAP */

body {
    font-family: open-sans,sans-serif;
    background-color: #ffffff;
    border-top: 5px solid #0271bb;
}

a {
    color: #0271bb;
}

    a:hover {
        color: #999999;
    }

h2, .h2 {
    font-size: 1.2rem;
    color: #0271bb;
}

h3, .h3 {
    font-size: 1.0rem;
}

.show > .btn-secondary.dropdown-toggle {
    color: #0271bb;
    background-color: #ffffff;
    border-color: #ffffff;
    border-radius: .0rem;
    box-shadow: 0 0 0 0rem rgba(108,117,125,.0) !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #999999;
}

.img-fluid {
    width: 100%;
}

.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6 !important;
    border-top-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    padding: 18px;
}

}

.navbar-brand {
    margin-right: 0rem;
}

.breadcrumb {
    background-color: #FFFFFF;
    margin-bottom: 0rem;
}

.container {
    background-color: white;
}

.col-form-label {
    font-weight: 400;
}


.custom-range {
    width: 60px;
}

/*.pager td table tbody tr {
    display: flex;
}*/

pager-flex {
    display: flex;
}

/* FLEXBOX */

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*justify-content: center;*/
}

.no-wrap {
    flex-wrap: nowrap;
    background: #cccccc;
}

.flex-container > div {
    background-color: #ffffff;
    margin: 0.1rem;
    text-align: center;
    line-height: 2rem;
    max-width: 170px;
}


.page-item.active .page-link {
    background-color: #0271bb;
    border-color: #0271bb;
}

.page-link {
    color: #0271bb;
}

    .page-link:hover {
        color: #0271bb;
    }

.pagination {
    float: right;
}

@media only screen and (max-width: 600px) {
    .ast-modal-dialog {
        max-width: 350px !important;
    }
}

@media only screen and (max-width: 768px) {
    .flex-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 991px) {
    .ast-headerxs {
        width: 100%;
        text-align: right;
    }
}

.ast-dropdown-menu {
    left: -120px;
}

.LBL_DISP_STYLE {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.text-decoration-none {
    text-decoration: none !important;
}

.divPromotion {
    color: #000 !important;
}

    .divPromotion a:hover {
        color: #000 !important;
        text-decoration: none;
    }


/* BOOTBOX - ALIGN COLORS TO BRAND COLORS*/
.bootbox-accept {
    color: #fff !important;
    background-color: #0271bb;
    border-color: #0271bb;
}

    .bootbox-accept:hover {
        color: #0271bb !important;
        background-color: #fff;
        border-color: #0271bb;
    }

.bootbox-cancel {
    color: #0271bb;
    background-color: transparent;
    background-image: none;
    border-color: #0271bb;
}

    .bootbox-cancel:hover {
        color: #0271bb;
        background-color: #F0F1F2;
        border-color: #0271bb;
    }
.espCode {
    font-family: "Roboto Mono";
    font-size: 1.2rem;
}
.photolist-body{
    color:#000000;
}
.photolist-title{
    font-weight:bold;
}

.yearmachine-label{
    display: inline;
}

.yearmachine-icon{
    display: none;
}

@media (min-width: 992px) and (max-width: 1600px) {
    .yearmachine-icon{
        display: inline !important;
    }
    .yearmachine-label{
        display: none;
    }
}

/* Commissioning protocols */
.fixed-centerup {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    padding: 0 5px;
    display: inline-block;
    background-color: #0271bb;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 10000 !important;
    font-size: 18px;
}

@media (max-width: 991px){
    .fixed-centerup {
        font-size: 14px;
    }
}
@media (max-width: 1200px){
    .commissioning-check {
        border: 1px solid #ced4da;
        background-color: #f7f7f7;
        margin: 8px 0;
        padding: .5rem 8px 0 8px;
        border-radius: 5px;
    }
}
@media (min-width: 1200px){
    .commissioning-text {
        margin-bottom:.5rem;
    }
}
@media (max-width: 578px) {
    .w-comm-100 {
        width:100%;
    }
}


.cardcourse-flag {
    /*position: absolute;*/
    top: 10px;
    left: 10px;
    width: 21px;
    height: fit-content;
    z-index: 2;
    /*box-shadow: 0 0 5px rgba(0,0,0,0.2);*/
    border-radius: 2px;
    margin-right: 10px;
    flex-shrink:0
}

.cardcourse-body {
    padding: 10px 10px 5px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.cardcourse-img {
    height: 150px;
    max-width: 150px;
    object-fit: contain;
}

.cardcourse-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cardcourse-date,
.cardcourse-location {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 3px;
}

.cardcourse-footer {
    background-color: transparent;
    border-top: none;
    text-align: center;
    padding-bottom: 10px;
}

.cardcourse-img {
    object-fit: contain;
}

.course-txt-enroll {
    color: green;
    font-weight: 400
}

.course-txt-wait {
    color: black;
    font-weight: 400
}

.course-txt-complete {
    color: red;
    font-weight: 400
}

.course-txt-pending {
    color: #856404;
    font-weight: 400
}

.modal-fullscreen-90 {
    max-width: 90vw;
    /*margin: 1.75rem auto;*/
    margin: var(--bs-modal-margin) auto;
}