@font-face {
    font-family: "KlaxonFont";
    src: url("EurostileBold.ttf");
}

body {
    font-family: 'KlaxonFont', sans-serif;
}


#logo-titolo {
    width: 100%;
}

.navbar-brand {
    color: black;
    background-color: white;
    font-size: x-large;
    box-shadow: unset;
}

.navbar-brand:hover {
    color: black;
}

header {
    background-color: white;
    margin-bottom: 1em;
}

#header-search {
    border: 1px solid black;
}


.nav-link:hover {
    background-color: #ffe000;
    color: black;
}

a:hover {
    background-color: #ffe000;
    color: black;
}


/* Define styles for the ascending arrow */
th.ascending::after {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    vertical-align: middle;
    content: "";
    border-style: solid;
    border-width: 0 1px 1px 0;
    transform: rotate(-45deg);
    margin-left: 0.25em;
}

/* Define styles for the descending arrow */
th.descending::after {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    vertical-align: middle;
    content: "";
    border-style: solid;
    border-width: 0 0 1px 1px;
    transform: rotate(45deg);
    margin-left: 0.25em;
}

/* Define styles for the unsorted state */
th::after {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    vertical-align: middle;
    content: "";
    border-style: solid;
    border-width: 0 1px 1px 0;
    opacity: 0.2;
    margin-left: 0.25em;
}

#header-search {
    width: 30%;
}

.chart-container {
    position: relative;
}

.fullscreen-button {
    position: absolute;
    top: 1.5em;
    right: 1.5em;
}

#twist-activations-table {
    height: 25em;
}

.list-group-item {
    display: inline-flex;
    color: #313131;
}

.list-group-item>p {
    margin-left: 0.5em;
    font-size: medium;
    color: black;
}

.list-group-item>u {
    margin-left: 0.5em;
    font-size: medium;
    color: black;
}

.chartContainer {
    height: 100%;
    width: 100%;
    min-height: 30em;
}

.faultChart {
    min-height: 15em;
}

#hv_battery_chart {
    height: 100%;
}

#lv_battery_chart {
    height: 100%;
}

.sidebar-logo-container {
    padding: 1em;
    max-width: 200px;
}

.sidebar-separator {
    height: 1px;
    background-color: #dfdfdf;
    margin: 0.5em 1em;
}

.sidebar-logo-text {
    color: black;
    font-size: medium;
    text-decoration: none;
}

.sidebar-logo-text-mobile {
    color: black;
    font-size: x-large;
    text-decoration: none;
}

#sidebarMenu {
    padding-top: 0.5em;
    width: 12%;
}

td>a {
    color: black;
}

.command-pairing-badge {
    background-color: black;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.mobile-menu {
    display: none;
}

#map {
    z-index: 1;
}

.container-fluid>.row {
    margin-top: 20px;
}

.sidebar .nav-link.active {
    color: black;
    background-color: #e4e4e4;
}

.btn-klaxon {
    background-color: #ffe000;
    color: black;
    border: 1px solid black;
}

.btn-klaxon:hover {
    background-color: #ffe000 !important;
    text-decoration: underline;
    color: black;
    border: 1px solid black !important;
}

.btn-klaxon:active {
    color: #ffe000 !important;
    background-color: black !important;
}

.btn-klaxon-outline {
    color: #ffe000 !important;
    background-color: black !important;
}

.btn-klaxon-small {
    font-size: 12px !important;
    padding: 0.1em;
    margin-left: 0.5em;
    text-decoration: none !important;
}

#categoriesContainer .card {
    /*background-color: #e4e4e4;*/
    border: 1px solid #dfdfdf;
    border-radius: 0;
}

.save-button {
    height: 40px;
    padding: 3px 18px;
    font-size: 13px;
    line-height: 1.2em;
    font-weight: 500;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s all;
    text-decoration: none !important;
    border-radius: 6px;
    border-width: 2px;
}

.save-button {
    background: #e4e4e4;
    color: black;
    font-size: large;
    display: inline-flex;
    height: 3em;
    border-radius: 0;
}

.save-button:hover {
    background: #ffe000 !important;
    color: black !important;
    text-decoration: underline !important;
}

.small-save-button {
    font-size: medium;
    height: 2em;
}

.btn i.icon,
.btn ion-icon {
    font-size: 22px;
    margin-right: 10px;
    margin-top: -2px;
    font-weight: 700;
}

.contactButton {
    margin: 0.5em;
    height: 3.5em;
}

.share-document-button {
    height: auto;
    margin-left: 0.5em;
    padding: 0;
}

.inline-version {
    margin-left: 0.5em;
    font-size: smaller;
}

.bg-klaxon {
    background-color: #ffe000 !important;
    color: black !important;
}

.video-card {
    color: black !important;
    text-decoration: none !important;
    border: 0;
}

.video-card:hover {
    background-color: white !important;
}

.video-card>.card-body {
    display: inline-flex;
    padding: 0;
    text-align: center;
    background-color: #e4e4e4;
}

.video-card>.card-body>.card-title {
    font-size: medium;
    width: -webkit-fill-available;
    margin-bottom: 0;
    padding: 0.3em;
}

.video-card>.video-image-container {
    height: 10em;
}

.video-image-container>img {
    height: 100%;
    object-fit: contain;
}

.video-card-button-container {
    margin: 0 auto;
}

.video-card>.card-body :hover {
    background: #ffe000 !important;
    color: black !important;
    text-decoration: underline !important;
    border: 0 !important;
}

.troubleshooting-faq-container {
    margin: 0 auto;
    padding: 0.5em 3em !important;
    background-color: #e4e4e4;
    border-radius: 0;
    margin-bottom: 0.5em;
}

.contactButton>a {
    word-break: break-word;
}

.tab-pane>.row {
    border: 1px solid #dfdfdf;
    padding: 25px;

}

.content-container {
    margin-top: 1em;
    margin-bottom: 1em;
    max-width: 100%;
}

.bg-notification-active {
    background-color: #ffdbdb;
}

.drive-profiles-list-title {
    font-size: 16px;
    margin-left: 0 !important;
}

.drive-profiles-list {
    list-style: none;
    border-left: 1px solid #dfdfdf;
}

.drive-profiles-item {
    display: block;
    border-bottom: 1px solid #dfdfdf;
}

.drive-profiles-item-description {
    margin-bottom: 0;
    font-style: italic;
    font-size: 14px;
}

.drive-profiles-item-value {
    font-size: 14px;
}

/*.btn-dark {
    background: #333 !important;
    border-color: #333 !important;
    color: #ffffff !important;
}

.btn {
    height: 40px;
    padding: 3px 18px;
    font-size: 13px;
    line-height: 1.2em;
    font-weight: 500;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s all;
    text-decoration: none !important;
    border-radius: 6px;
    border-width: 2px;
}*/

.main-container {
    width: 88%;
}

.org-selector-container {
    overflow-y: scroll;
    height: 20em;
}

.org-selector-item {
    border-top: 1px solid #dfdfdf;
    padding-top: 0.2em;
    padding-left: 0.5em;
}

.org-selector-item a {
    font-size: 16px;
    color: black;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .main-container {
        width: 100%;
    }

    header {
        margin-bottom: 0;
    }

    .mobile-menu {
        display: block;
    }

    .sidebar-logo-text {
        display: none;
    }

    .sidebar-logo-container {
        display: none;
    }

    #sidebarMenu {
        padding-top: 0;
        margin-top: -20px;
        font-size: large;
        width: 100%;
    }

    .chartContainer {
        height: 25em;
    }

    .faultChart {
        min-height: 10em;
    }


    .dashChart {
        height: 25em;
    }

    #fleets-chart {
        height: 90%;
    }

    #types-chart {
        height: 90%;
    }

}

.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: #212529;
    color: #fff;
    text-align: center;
    padding: 1rem;
    z-index: 1050;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.notif {
    color: #ff0000;
}