.tooltip-ebat .tooltip-inner {
    background-color: #f0ad4e;
    color: #000;
    font-size: 0.85rem;
    max-width: 250px;
}

.tooltip-ebat .tooltip-arrow::before {
    border-right-color: #f0ad4e; /* match placement direction */
}

.custom-form-outline-body {
    display: inline-block;
    min-width: 90vw;
}
.custom-form-outline-body.scrollable {
    max-height: 78vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}
.custom-form-outline-body > form {
    max-width:98%;
}
/* +++++++++++++++++++++++++++++++++++++++ */
.fade-in {
    opacity: 0;
    animation: fadeIn 300ms ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.link {
    cursor: pointer;
}

.alert-container {
    padding: 30px;
}

.hidden { display: none !important; }

.info_content {
    background-color: white;
    margin: 12px;/*
    border-bottom: 1px solid #ccc;*/
}

.bigger-checkbox {
    transform: scale(1.2);
     margin-right: 0.5rem;
}

.modal-full-height {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}

.modal-stretch {
    display: flex; !important
    flex-direction: column; !important
    flex: 1;
}

/* ++++++++++++++ FORM VALIDATION ++++++++++++++++ */

/* per evitare che campi non obbligatori diventino verdi */
.was-validated .form-control:not([required]):valid {
    border-color: #ced4da;
    background-image: none;
}

.was-validated .form-check-input:not([required]):valid {
    border-color: #ced4da;
}

.server-feedback {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}
/* ++++++++++++++ CUSTOM SELECT ++++++++++++++++++ */
.searchable-select {
    position: relative;
}
.dropdown-results {
    position: absolute;
    top: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    z-index: 1000;
    display: none;
}
.dropdown-results:not(:empty) {
    display: block;
}
.dropdown-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* +++++++++++++++++++++++++++++++++++++++ */
* {
    font-size: 14pt;
}
body {
    background-color: rgb(234, 234, 234);
}
.tab-pane {
    background-color: white;
}
.nav-tabs .nav-link {
    color:#495057;
}
.nav-tabs .nav-link.active {
    color: #ff6900;
}
.nav-tabs {
    padding-top:4px;
}
.ebat-alert.alert-info {
    border-color: #075D91 !important;
    background-color: #075D91 !important;
    color: white !important;
}
.ebat-alert.alert-info .alert-link {
    color: white !important;
}
.ebat-alert .text-secondary,.ebat-alert .link-secondary, .ebat-alert .link-secondary:hover {
    color: white !important;
}
.ebat-btn, .ebat-btn:hover {
    background-color: #075D91 !important;
    color: white;
    font-weight: bold;
}
.ebat-alert a {
    text-decoration: underline;
}
.as_link {
    text-decoration: underline;
    cursor: pointer;
}
.company-outline-body {
    width:73%;
    display: inline-block;
}

.company-outline-body.scrollable {
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}
.company-outline-body > form {
    max-width:98%;
}
.company-tools {
    vertical-align: top;
    width:25%;
    display: inline-block;
    margin-left: 1%;
}
.job {
    font-size: 80%;
    opacity: 70%;
    font-style: italic;
}
.file-upload-container {
    width: 100%;
    height: 300px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    background: #f8f8f9;
    color: #666;
    overflow: hidden
}
.file-upload-container i {
    font-size: 6em;
    color: #ccc
}
.file-upload-container input {
    cursor: pointer;
    opacity: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0
}
.file-upload-container .dplay-tbl {
    padding-top:20px;
}
#toast-container {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;
    display: none;
    z-index: 10000;
}
#sare_data label {
    font-size: 80%;
    text-decoration: underline;
}
tbody.collapsed tr:nth-child(2) {
    display: none;
}
tbody.expanded tr:nth-child(2) {
    display: table-row;
}
tbody.collapsed tr:nth-child(2) td,  tbody.expanded tr:nth-child(2) td {
    padding-left:20px;
}
tbody.collapsed tr:nth-child(1) td i.fa,  tbody.expanded tr:nth-child(1) td i.fa {
    color: #075D91 !important;
}
tbody.expanded td:first-child > div, tbody.collapsed td:first-child > div {
    float:left;
}
tbody.expanded div.collapse-arrow {
    display:block;
    padding-top: 10px;
    padding-right: 10px;
}
tbody.expanded div.expand-arrow {
    display:none;
}
tbody.collapsed div.expand-arrow {
    display:block;
    padding-top: 10px;
    padding-right: 10px;
}
tbody.collapsed div.collapse-arrow {
    display:none;
}
.clickable {
    cursor: pointer;
}
.expanded_div {
    border-top: 1px dashed #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 90%;
    width: 100%;
}
.expanded_div input {
    font-size: 100%;
}
.ebat-wizard a.nav-link {
    color: #075D91 !important;
}
.ebat-wizard a.nav-link:hover {
    color: #075D91 !important;
}
.ebat-wizard a.nav-link.active {
    background-color: #075D91 !important;
    color: white !important;
}
.box {
    border: 1px solid #ccc;
    padding: 16px;
}
.training_container .title {
    clear:both;
    font-weight: bold;
}
.training_event {
    width: 50%;
    float:left;
}
.training_event .inner {
    border: 2px solid #000;
    padding: 12px;
    margin: 12px;
    min-height: 120px;
    cursor: pointer;
    background-color: lightgrey;
    border-radius: 10px;
}
.training_event.suggested .inner {
    color: #155724;
    background-color: #d4edda;
    border-color: #155724;
    font-weight: bold;
}


.logout {
    margin-right:6px;
}

.btn-edit {
    border: 3px solid #075D91 !important;
    background-color: #075D91 !important;
    transition: all 0.25s ease;
    color:white !important;
    text-decoration: none !important;
}
.btn-edit:hover {
    background-color: rgb(124, 101, 105) !important;
    color:white !important;
    text-decoration: none !important;
}

.btn-visualizza {
    border: 1px solid rgb(80,80,80) !important;
    background-color: white !important;
    color: rgb(80,80,80) !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-visualizza:hover {
    background-color: rgb(230, 230, 230) !important;
    color: rgb(80,80,80) !important;
}

.btn-visualizza i {
    margin-top: 1rem;
}

.bg-prugna {
    background-color: #075D91;
}
.btn-prugna {
    border: 1px solid #075D91;
    background-color: #075D91;
    color:white;
    text-decoration: none;
}
.btn-prugna:hover {
    background-color: white;
    color:#075D91
    text-decoration: none;
}
.btn-prugna.call-action {
    border: 1px solid white;
    color: #075D91
    background-color:white;
    text-decoration: none;
}
.btn-prugna.call-action:hover {
    background-color: #075D91
    color: white;
    text-decoration: none;
}
needed {
    color: red;
}
.mt1 {
    margin-top: 4px;
}
.mt2 {
    margin-top: 8px;
}
.select2-selection  {
    padding: 2px;
    height: 32px !important;
}
.select2-selection__arrow {
    top: 3px;
}
.select2-selection__clear {
    position: relative;
    top: -3px;
}



.company-training .collapsed .training-info {
    display: none;
}
.company-training .expanded .training-info {
    display: block;
}
.company-training .expand-arrow i.fa,  .company-training .collapse-arrow i.fa {
    color: #075D91 !important;
}
.company-training .expanded .collapse-arrow {
    display:inline-block;
    padding-top: 10px;
    padding-right: 10px;
}
.company-training .expanded .expand-arrow {
    display:none;
}
.company-training .collapsed .expand-arrow {
    display:inline-block;
    padding-top: 10px;
    padding-right: 10px;
}
.company-training .collapsed .collapse-arrow {
    display:none;
}
.alert-xs {
    display: inline-block;
    padding: 2px;
}
.inline-block {
    display: inline-block;
}
.w300 {
    width: 300px;
}
.upload_area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 100%;
    height:200px;
    font-family: sans-serif;
    padding: 20px;
}
.upload_area.highlight {
    border-color: purple;
}
.btn-default {
    border-color: #777;
    color: #777;
}
.btn-xs {
    padding: 2px;
}
.hours_collapsed {
    display: none;
}
.as_link {
    cursor: pointer;
    text-decoration: underline !important;
}
.ehours {
    border : 2px dotted #777;
    padding: 4px;
}

.alert-info-dotted, .legend-box.alert-info-dotted {
    border: 1px dotted #0c5460 !important;
    background-color: white;
}


/* +++++++++++++ MOBILE ++++++++++++++ */

@media (max-width: 768px) {
    .company-outline-body,
    .company-tools {
        width: 100%;
        display: block;
    }
}

/* +++++++++++++        ++++++++++++++ */
