html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.align-control {
    height: 34px !important;
}

html {
    /*position: relative;*/
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body {
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500 !important;
    margin-bottom: .3rem;
}

.loading {
    width: 10%;
    margin: 0 auto;
    text-align: -webkit-center;
    text-align: center;
}

.tableHeaderColor {
    background-color: #5C7D99;
    color: whitesmoke;
}

/* Asterisco rosso accanto alla label */
.required-label::after {
    content: "*";
    color: #dc3545 !important;
    margin-left: 5px;
}

.center-block {
    margin: 0 auto;
}

.entity-title {
    background-color: #ACC2D5;
    color: #FFFFFF;
}

.bg-study {
    background-color: #DBE7F4;
}

.right-buffer {
    margin-right: 0.2rem;
}

.protocol {
    margin-left: 5px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #000000;
}

.description {
    margin-left: 0px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #000000;
    /*overflow: scroll;*/
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
}

.sponsor-name {
    color: #495057;
    font-size: 1.0rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sponsors-list {
    padding-left: 0;
    list-style: none;
}

.top-buffer {
    margin-top: 2rem;
}

.study-less-card {
    padding: 0.5rem 0.5rem 0rem 0.5rem !important;
}

.sponsor-img {
    border-radius: 50%;
    height: auto;
    max-width: 100%;
}

.horizontal-timeline .items {
    border-top: 3px solid #ACC2D5;
    display: flex;
}

.bg-timesetup {
    background-color: #403D58 !important;
    color: white;
}

.bg-rtg {
    background-color: darkseagreen !important;
    color: white;
}

.bg-fpfv {
    background-color: #EA9010 !important;
    color: white;
}

.bg-lplv {
    background-color: #2CA6A4 !important;
    color: white;
}

.bg-dblock {
    background-color: yellowgreen !important;
    color: white;
}

.bg-closure {
    background-color: #E30B5D !important;
    color: white;
}

.bg-labels-top {
    background-color: #ACC2D5 !important;
    color: white;
    top: -40px;
    position: absolute;
}

.bg-labels-bottom {
    background-color: #ACC2D5 !important;
    color: white;
    top: 48px;
    position: absolute;
}

.timeline-event {
    padding-top: 0.5rem !important;
    font-size: 1rem;
    color: #403D58;
}

.timeline-description {
    font-size: .7rem;
    color: #403D58;
}


.horizontal-timeline .items .items-list {
    display: block;
    position: relative;
    text-align: center;
    padding-top: 70px;
    margin-right: 0;
}

    .horizontal-timeline .items .items-list:before {
        content: "";
        position: absolute;
        height: 36px;
        border-right: 2px dashed #ACC2D5;
        top: 0;
    }

    .horizontal-timeline .items .items-list .event-date {
        position: absolute;
        top: 36px;
        left: 0;
        right: 0;
        width: fit-content;
        margin: 0 auto;
        font-size: 0.9rem;
        /*padding-top: 8px;*/
    }

@media (min-width: 1140px) {
    .horizontal-timeline .items .items-list {
        display: inline-block;
        width: 24%;
        padding-top: 45px;
    }

        .horizontal-timeline .items .items-list .event-date {
            top: -40px;
        }
}

.card-sponsor {
    cursor: pointer;
}

    .card-sponsor:hover {
        background-color: #cdf9ea;
        border-radius: 25px;
    }

    .card-sponsor.selected {
        background-color: #cdf9ea;
        border-radius: 25px;
    }

.card-study {
    border-radius: 10px;
    padding: 10px;
}

.study-tags {
    margin-bottom: 1.2rem;
}

.status-tags {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: aliceblue;
    border-radius: 100px;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
}

.status-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 100px;
}

.status-tag-2 {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 5px;
}

.status-green {
    background-color: #51cf66;
    color: #333;
}

.status-gray {
    background-color: lightgrey;
    color: #333;
}

.card-study:hover {
    background-color: #79cffc !important;
    border-radius: 10px;
    cursor: pointer;
}

.status-ball-active {
    width: 10px;
    height: 10px;
    border-radius: 150px;
    background-color: #cdf9ea;
}

.status-ball-closed {
    width: 10px;
    height: 10px;
    border-radius: 150px;
    background-color: #ecadad;
}

.status-ball-interrupted {
    width: 10px;
    height: 10px;
    border-radius: 150px;
    background-color: #ffc573;
}

.status-ball-transferred {
    width: 10px;
    height: 10px;
    border-radius: 150px;
    background-color: #ffc573;
}

.row-status-tag {
    display: flex;
    gap: 5px;
    cursor: pointer;
}



/* spinner */
.lds-hourglass {
    position: absolute;
    top: 40%;
    left: 48%;
    display: inline-block;
    width: 80px;
    height: 80px;
}

    .lds-hourglass:after {
        content: " ";
        display: block;
        border-radius: 50%;
        width: 0;
        height: 0;
        margin: 8px;
        box-sizing: border-box;
        border: 32px solid #fff;
        border-color: #fff transparent #fff transparent;
        animation: lds-hourglass 1.2s infinite;
    }

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}

#loader {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999999999999999999;
}

#loaderMsg {
    position: absolute;
    top: 55%;
    left: 50%;
    font-size: 25px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: center;
}


.float-end {
    float: right !important;
}

.btn-helpdesk {
    color: black;
    background-color: #FFCB00;
    border-color: #FFCB00;
    box-shadow: 1px;
}

.page-content {
    padding: calc(70px + 1.25rem) calc(1.25rem / 2) 60px calc(1.25rem / 2);
}

.main-content {
    margin-left: 250px;
    overflow: hidden;
}

.box-container {
    padding: 20px;
}

.box {
    /*height: 175px;*/
    /*display: flex;*/
    padding: 10px;
}

.box-left {
    /*background-color: #dcdcdc85;*/
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    /*flex-direction: column;*/
    padding: 20px;
}

.box-right {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    padding: 20px;
    background-color: #fff;
}

.box-element-label {
    padding-top: 10px;
    color: #7d7d7d;
}

.box-element-inline {
    display: flex;
    gap: 5px;
}

.box-element-list {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}


/* COLORS */
.opis-text-primary {
    color: #ACC2D5 !important;
}

.opis-text-secondary {
    color: #C8EDF0 !important;
}

.opis-text-success {
    color: #83d98c !important;
}

.opis-text-danger {
    color: #C33149 !important;
}

.opis-text-warning {
    color: #FDBE4F !important;
}

.opis-text-info {
    color: #34A0A2 !important;
}

.opis-text-light {
    color: #E8FBFF !important;
}

.opis-text-white {
    color: #fff !important;
}

.opis-bg-primary {
    background-color: #ACC2D5 !important;
}

.opis-bg-secondary {
    background-color: #C8EDF0 !important;
}

.opis-bg-success {
    background-color: #6CC675 !important;
}

.opis-bg-danger {
    background-color: #E30B5D !important;
}

.opis-bg-warning {
    background-color: #FFCB00 !important;
}

.opis-bg-info {
    background-color: #34A0A2 !important;
}

.opis-bg-light {
    background-color: #E8FBFF !important;
}

.opis-bg-white {
    background-color: #fff !important;
}

.opis-bg-disable {
    background-color: #c1c3c3 !important;
}

.opis-btn {
    cursor: pointer !important;
}


    .opis-btn.opis-bg-primary:hover {
        background-color: #ACC2D5 !important;
    }

    .opis-btn.opis-bg-secondary:hover {
        background-color: #aee1e5 !important
    }

    .opis-btn.opis-bg-success:hover {
        background-color: #31c140 !important;
    }

    .opis-btn.opis-bg-warning:hover {
        background-color: #ffbd05 !important;
    }


    .opis-btn.opis-bg-disable:hover {
        background-color: #c1c3c3 !important;
        cursor: not-allowed !important;
    }

/*-------*/
.tab-container {
    /*padding: 10px;*/
    display: flex;
}

.tab-element:first-child {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-left: solid 0.15rem #939393;
}

.tab-element:last-child {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border-right: solid 0.15rem #939393;
}

.tab-element {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border: solid 0.1rem #939393;
    border-top: solid 0.15rem #939393;
    border-bottom: solid 0.15rem #939393;
}

    .tab-element.active {
        background-color: aqua !important;
    }

.text-danger {
    margin-top: 2px;
}

.opis-bg-studycard {
    background-color: #acc2d5 !important;
    color: white;
    border-color: white;
}

.intest-table {
    background-color: #d5edfe; /*#dfdfdf85; #F8F9FA;*/
}

.is-invalid {
    border-color: #dc3545 !important;
    padding-right: 2.25rem !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.report-buttons-fixed-top {
    position: fixed;
    top: 49px;
    right: 0;
    left: 0;
    z-index: 1030;
}

.opis-alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #bdab75;
}

.opis-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.opis-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f25969;
}

.opis-alert-info {
    color: #004085;
    background-color: #cce5ff;
    border-color: #3797ff;
}


mark {
    background-color: yellow !important;
}

input[type="radio"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.5em;
    height: 1.5em;
    border: 0.15em solid #cdcdcd;
    border-radius: 50%;
    display: grid;
    place-content: center;
}

input[type="radio"]::before {
    content: "";
    width: 1.0em;
    height: 1.0em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    background-color: #aad6fb;
}

input[type="radio"]:checked::before {
    transform: scale(1);
}

.btnExcel {
    background-color: #147B14;
    color: white;
}

.btnExcel:hover {
    color: white;
}


.td-break-to-long {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*********************************************************/
/********** HEADER FIXED RESPONSIVE WITH SIDEBAR *********/
/*********************************************************/
.sidebar-mini.sidebar-collapse .formBox.formBoxInformation {
    left: -10px !important;
    right: -10px !important;
    transition: left 0.4s ease;
}

.sidebar-mini .formBox.formBoxInformation {
    left: -10px !important;
    right: -10px !important;
    transition: left 0.4s ease;
}

@media (min-width: 576px) {
    .sidebar-mini.sidebar-collapse .formBox.formBoxInformation {
        left: -10px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }

    .sidebar-mini .formBox.formBoxInformation {
        left: 225px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .formBox.formBoxInformation {
        left: -10px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }

    .sidebar-mini .formBox.formBoxInformation {
        left: 225px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .formBox.formBoxInformation {
        left: 64px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }

    .sidebar-mini .formBox.formBoxInformation {
        left: 240px !important;
        right: -10px !important;
        transition: left 0.4s ease;
    }
}

/* SIDEBAR OVERRIDE */
.nav-sidebar .nav-item {
    margin-bottom: 2px !important;
}

    .nav-sidebar .nav-item .nav-link {
        font-size: 14px !important;
        padding: 5px 5px !important;
        margin: 0px !important;
        padding-left: 10px !important;
    }

[class*=sidebar-light-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-light-] .nav-sidebar > .nav-item:hover > .nav-link {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 10px !important;
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
    top: 0.4rem !important;
}

[class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link {
    color: black !important;
}

/*
    TR DANGER
*/
.tr_danger {
    background-color: red !important;
    color: white !important;
}

/*
    DEVICE MANAGEMENT
*/
/*.boxTypeMaterial {
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.boxTypeMaterial_MONITOR {
    background-image: url(../images/tvLCDMonitor.svg);
}
.boxTypeMaterial_PC {
    background-image: url(../images/notebook.svg);
}
.boxTypeMaterial_PRINTER {
    background-image: url(../images/Printer.svg);
}
.boxTypeMaterial_SMARTPHONE {
    background-image: url(../images/others.svg);
}*/

[role="button"] {
    cursor: pointer !important;
}

.blink {
    animation: blinker 1s infinite;
}

@keyframes blinker {
    from {
        opacity: 1.0;
    }

    50% {
        opacity: 0.5;
    }

    to {
        opacity: 1.0;
    }
}

.dataTables_empty {
    font-style: italic;
    font-weight: bold;
    color: darkred;
    text-align: center
}

i.icon-baby {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/icon_baby.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    text-indent: -9999px;
    overflow: hidden;
}

/* 
    =====================================================================================
    jQuery UI Autocomplete with Bootstrap Styling
    https://jsfiddle.net/gotemkfr/
    =====================================================================================
*/
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999999;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

    .ui-autocomplete > li > div {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
        color: #333333;
        white-space: nowrap;
    }

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-autocomplete-loading {
    background: white url("../images/ajax-loader.gif") right center no-repeat;
    background-size: contain;
}