/*Obrazek ładowania*/

#loading,
#loading_chart {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    background-color: #c0c0c080;
    background-image: url("/public/img/favicon.webp");
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}
#loading_chart{
    width: 100%;
    height: 100%;
}

#loading .circle,
#loading_chart .circle {
    position: relative;
    width: 120px;
    height: 120px;
    left: calc(50% - 60px);
    top: calc(50% - 60px);
    border: 5px solid;
    border-color: #959fa5 transparent transparent;
    border-radius: 50%;
    -webkit-animation: circle 4s .2s linear infinite;
    -moz-animation: circle 4s .2s linear infinite;
    animation: circle 4s .2s linear infinite;
}

@keyframes circle {
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

body {
    font-family: "Tahoma";
    color: #445760;
}

body.modal-open {
    position: static;
    overflow-y: auto;
}

div.login_site::after {
    opacity: 0.3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
    content: "";
}

.content {
    transition: 0.5s;
    height: 100%;
    margin: auto;
}

.container-main {
    margin-left: 242px;
    position: absolute;
    min-width: calc(100% - 242px);
    height: 100vh;
    max-height: calc(100vh - 5px);
    display: flex;
    align-items: center;
}
.container-fluid{
    margin: auto;
}

/*Ekran logowania*/

.header img {
    width: 150px;
    float: right;
    right: 50px;
    position: absolute;
    top: 0px;
}

.login_site {
    display: flex;
    margin-top: 100px;
}

.login {
    text-align: center;
    display: inline
}

.alert-danger.login-error {
    background-color: transparent;
    border-color: transparent;
    text-align: center;
}

.login-error ul {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    width: max-content;
    max-width: 100%;
    padding: 30px 50px;
    border-radius: 5px;
    margin: auto;
}

.logo {
    width: 250px;
    margin: 15px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/*Informacje o opiekunie*/

#advisor {
    display: grid;
    position: absolute;
    top: calc(100vh - 140px);
    width: 100%;
    grid-template-columns: 58px auto;
}

#advisor img.icon {
    max-width: 52px;
    max-height: 52px;
    padding: 0px;
    margin: 0px;
    margin-top: -1px;
    margin-left: -1px;
}

#cssmenu .advisor-email a {
    font-size: 11.5px;
}

.advisor-image {
    grid-area: 1/1/span 3/1;
    align-self: center;
    cursor: pointer;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    margin-left: 3px;
}

@-moz-document url-prefix() {
    .advisor-image {
        display: none;
    }
    .advisor-text.text,
    .advisor-telephone.text,
    .advisor-email.text {
        margin-left: 10px;
    }
    #advisor {
        grid-template-columns: 0px auto;
    }
}

.advisor-text.text {
    grid-area: 1/2/1/2;
}

.advisor-telephone.text {
    grid-area: 2/2/2/2;
}

.advisor-email.text {
    grid-area: 3/2/3/2;
}

#advisor .text {
    padding-top: 0;
    padding-left: 0;
    height: 1.5em;
    font-size: 12px;
    text-transform: none;
    font-weight: normal;
}

#advisor a:link:hover {
    color: #02d0b7;
}


/*------------------------*/


/*Ustawienia canvas*/

canvas {
    width: 100%;
    height: auto;
}


/*Nagłówki sekcji w oknie location*/

.card-title {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
    cursor: move;
}


/*Wyświetlanie mapy*/

#mapid {
    height: 100%;
    width: 100%;
    margin: 0;
    z-index: 0;
}

.map-popup img {
    height: 20px;
    margin-left: 10px;
}

.leaflet-marker-icon {
    filter: drop-shadow(2px 3px 2px black);
}


/*Ustawianie ramek dla elementów na dashboardzie*/

.dashboard-element {
    border-right: #dcdcdc 1px solid;
    text-align: center;
    min-width: 240px;
    padding: 2px;
}

.dashboard-element .card-title {
    cursor: auto;
}

.row {
    border: #dcdcdc 1px solid;
    border-left: none;
}
#dispenses-filter-body .row{
    border: none;
}

.row:first-child {
    border-bottom: none;
}


/*Tabela z wydaniami na stronie location*/

#dispenses {
    font-size: 12px !important;
}

.dashboard-element {
    min-height: 330px;
}

#amount {
    text-align: center;
}

.tbl-row {
    padding: 10px;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

.yellow-shadow {
    filter: drop-shadow(2px 3px 2px black);
    box-shadow: 0 0 30px 6px #ffc107;
}

.red-shadow {
    filter: drop-shadow(2px 3px 2px black);
    box-shadow: 0 0 30px 6px #dc3545;
}

.green-shadow {
    filter: drop-shadow(2px 3px 2px black);
    box-shadow: 0 0 30px 6px #00a000;
}


/*wykres stanów zbiornika*/

#line div,
#linePrice div {
    margin: 0 auto;
}


/*Cena spotowa paliwa*/

#linePrice {
    margin: auto;
    margin-left: -10px;
}

.chart {
    width: 100%;
    min-height: 450px;
}

#selects {
    text-align: left;
    width: inherit;
    min-width: 100%;
    margin: auto;
    position: relative;
}

#product {
    text-transform: uppercase;
    width: 80%;
    font-size: 11px;
}

#discount {
    width: 65px;
}

#discount,
#product {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .275rem 0rem .375rem .35rem;
    cursor: pointer;
}

#product>option {
    padding: 10px;
}

.fullPrice {
    font-size: 1em;
}

.discountedPrice {
    font-size: 1em;
    font-weight: bold;
}

.fullPrice span {
    font-size: 2.0em;
    font-weight: bold;
}

.discountedPrice span {
    font-size: 2.0em;
    font-weight: bold;
}

.location-phone-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: #02d0b7;
    z-index: 1;
    border-radius: 25px;
    left: 0;
    top: -35px;
    filter: drop-shadow(2px 4px 6px black);
    cursor: pointer;
}

.location-phone-icon:hover {
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

.location-phone-icon img {
    width: 25px;
    top: 50%;
    left: calc(100% - 25px);
    position: absolute;
    transform: translate(-50%, -50%);
}

@-moz-keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(30deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    25% {
        -webkit-transform: rotate(30deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
    }
    75% {
        -webkit-transform: rotate(-30deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    25% {
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    75% {
        -webkit-transform: rotate(-30deg);
        transform: rotate(-30deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}


/*Ikony lokalizacji*/

#on-off-button {
    width: 60px;
}

#plan-checkout,
#alarms-location {
    width: 40px;
}


/*= ICON BOXES
--------------------------------------------------------*/

.icon-box {
    transition: all .3s;
    cursor: pointer;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    position: relative;
    left: calc(100% - 80px);
    font-size: 0px;
    background-color: #f8f9fa;
}

.icon-box:hover {
    opacity: 1;
}

.icon-box img {
    position: absolute;
    top: 50%;
    left: calc(100% - 40px);
    transform: translate(-50%, -50%);
}

.icon-box .slider_span {
    position: absolute;
    top: 0;
    text-align: right;
    right: 80px;
    height: 80px;
    width: 0px;
    text-transform: uppercase;
    transition: all 0.5s linear;
}

.icon-box .slider_span p {
    opacity: 0;
    transition: all 0.5s linear;
    position: relative;
    display: block;
    margin: 0 auto;
    padding-top: 30px;
}

#on-off-text {
    padding-top: 20px;
}

.icon-box:hover {
    width: 300px;
    left: calc(100% - 300px);
}

.icon-box:hover .slider_span {
    width: 180px;
    transition: all 0.3s linear;
}

.icon-box:hover .slider_span p {
    position: relative;
    display: block;
    margin: 0 auto;
    opacity: 1;
    transition: all 0.3s linear;
    font-size: 12px;
}


/*Napełnienie zbiornika*/

#state_charts {
    min-width: 219px;
    margin: 0 auto;
    bottom: 15px;
    width: calc(100% - 3px);
    font-size: smaller;
    position: absolute;
}

#state_charts tr:first-child {
    height: 80px;
}

#state_charts tr:last-child {
    vertical-align: middle;
}


/* Hide scrollbar for Chrome, Safari and Opera */

.state_charts::-webkit-scrollbar {
    display: none;
}


/* Hide scrollbar for IE and Edge */

.rgraph_accessible_text_tank1 {
    font-family: Tahoma !important;
}

.state_charts {
    -ms-overflow-style: none;
}

#state_charts td {
    width: 33%;
}

#state_charts td:hover>div>img {
    max-width: 98px;
    max-height: 98px;
    height: 73px;
}

.tank1_hovered {
    width: 180px;
    height: 180px;
    left: -10px !important;
    top: -10px !important;
    font-weight: bold !important;
}

.bold {
    font-weight: bold !important;
}

.bigger {
    font-size: 30px !important;
}

.yellow:hover {
    filter: drop-shadow(#ffc107 2px 4px 6px) !important;
}

#tank1.green:hover {
    filter: drop-shadow(#00a000 2px 4px 6px) !important;
}

.red:hover {
    filter: drop-shadow(#dc3545 2px 4px 6px) !important;
}

#forecastDays,
#temp_img,
#tank_volume {
    max-height: 68px;
    height: 58px;
    max-width: 98px;
}

.centred_text {
    text-align: center;
    margin: auto;
    font-weight: bold;
    color: #337b5d;
}


/*Wykres stanu zbiornika*/

.few .dygraph-legend>span.highlight {
    border: 1px solid grey;
    left: 30px !important;
}

.many .dygraph-legend>span {
    display: none;
}

.many .dygraph-legend>span.highlight {
    display: inline;
}

.dygraph-legend {
    left: 0px !important;
    top: -15px !important;
    width: 100% !important;
    text-align: center !important;
    background: transparent !important;
}

.dygraph-axis-label {
    color: #445760 !important;
}

#myModal .dygraph-legend {
    top: -25px !important;
}

#myModal h5.card-title,
#modalWalkthrough h5.card-title {
    margin-bottom: 35px;
    width: 100%;
    text-align: left;
}
#modalWalkthrough {
    padding: 0 10px 20px 10px;
    max-width: 500px;
}
#modalWalkthrough h5 {
    margin-top: -10px;
}

/*Tooltips - hints*/

.hint {
    margin: 0px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

.hint .hint-content {
    width: fit-content;
    width: -moz-fit-content;
    position: absolute;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    pointer-events: none;
    visibility: hidden;
    pointer-events: none;
    font-size: 12px;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.hint:hover .hint-content {
    width: fit-content;
    width: -moz-fit-content;
    position: absolute;
    z-index: 5;
    opacity: 1;
    visibility: visible !important;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    pointer-events: none;
    visibility: hidden;
    pointer-events: none;
    text-align: left;
    padding-left: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.hint .hint-content::before {
    width: 0px;
    bottom: 0;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
}

.hint:hover .hint-content::before {
    width: 100%;
    transition: width 0.4s;
}

.hint .hint-content::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
    bottom: 0;
    left: 0;
    width: 80px;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.hint[data-position="3"] .hint-content::after,
.hint[data-position="2"] .hint-content::after {
    width: 40px;
}

.hint:hover .hint-content::after {
    opacity: 1;
    visibility: visible;
    font-weight: bold;
}

.hint[data-position="4"] .hint-content {
    top: 0;
    left: calc(50% + 57px);
}

.hint[data-position="2"] .hint-content {
    top: -20px;
    left: calc(50% + 29px);
}

.hint[data-position="2"] .hint-content::after {
    width: 40px;
}

.hint[data-position="3"] .hint-content {
    top: -20px;
    left: calc(50% + 39px);
}

.hint[data-position="1"] .hint-content {
    top: calc(50% + 10px);
    left: 60px;
    font-size: 11px;
    z-index: 0;
}


/*data-position:6*/

.hint[data-position="6"] .hint-content {
    top: -20px;
    left: calc(-100% - 40px)
}

.hint[data-position="6"] .hint-content {
    width: 150px;
    position: absolute;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    pointer-events: none;
    visibility: hidden;
    pointer-events: none;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.hint[data-position="6"]:hover .hint-content {
    width: fit-content;
    width: -moz-fit-content;
    position: absolute;
    z-index: 5;
    opacity: 1;
    visibility: visible !important;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    pointer-events: none;
    visibility: hidden;
    pointer-events: none;
    text-align: left;
    padding-left: 5px;
    font-weight: bold;
    white-space: nowrap;
}

.hint[data-position="6"] .hint-content::after {
    width: 0px;
    bottom: 0;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.hint[data-position="6"]:hover .hint-content::after {
    width: 100%;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.hint[data-position="6"] .hint-content::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    bottom: 0;
    left: 100%;
    width: 40px;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}


/*Tekst do raportów*/

.hint[data-position="5"] .hint-content {
    width: 150px;
    top: 35px;
    left: 100%;
    position: absolute;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    pointer-events: none;
    font-size: 12px;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-weight: bold;
    white-space: nowrap;
}

.hint[data-position="5"]:hover .hint-content {
    width: fit-content;
    width: -moz-fit-content;
    opacity: 1;
    visibility: visible !important;
    -webkit-transition: opacity .7s ease, visibility .7s ease;
    transition: opacity .7s ease, visibility .7s ease;
    text-align: left;
    padding-left: 5px;
}


/**/

.hint[data-position="1"] .hint-content::after,
.hint[data-position="5"] .hint-content::after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    bottom: 0;
    width: 0;
}

.hint[data-position="1"]:hover .hint-content::after,
.hint[data-position="5"]:hover .hint-content::after {
    width: 100%;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    bottom: 0;
}

.hint[data-position="1"] .hint-content::before,
.hint[data-position="5"] .hint-content::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(215deg);
    transform: rotate(215deg);
    bottom: 0;
    left: 0px;
    width: 40px;
    content: '';
    background-color: #445760;
    height: 1px;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.glow::after {
    /* //green glow */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: 2px;
    height: 2px;
    z-index: 1;
    -webkit-box-shadow: 0 0 50px 30px rgba(72, 170, 72, .3);
    box-shadow: 0 0 50px 30px rgba(72, 170, 72, .3);
    -webkit-animation: home_hero_item_hints_glow 2s cubic-bezier(.25, .1, .2, 1) infinite;
    animation: home_hero_item_hints_glow 2s cubic-bezier(.25, .1, .2, 1) infinite;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
}

@-webkit-keyframes home_hero_item_hints_glow {
    0% {
        -webkit-box-shadow: 0 0 30px 5px #48aa48;
        box-shadow: 0 0 30px 5px #48aa48
    }
    70% {
        -webkit-box-shadow: 0 0 70px 50px rgba(72, 170, 72, 0);
        box-shadow: 0 0 70px 50px rgba(72, 170, 72, 0)
    }
    100% {
        -webkit-box-shadow: 0 0 0 50px rgba(72, 170, 72, 0);
        box-shadow: 0 0 0 50px rgba(72, 170, 72, 0)
    }
}

@keyframes home_hero_item_hints_glow {
    0% {
        -webkit-box-shadow: 0 0 30px 5px #48aa48;
        box-shadow: 0 0 30px 5px #48aa48
    }
    70% {
        -webkit-box-shadow: 0 0 70px 50px rgba(72, 170, 72, 0);
        box-shadow: 0 0 70px 50px rgba(72, 170, 72, 0)
    }
    100% {
        -webkit-box-shadow: 0 0 0 50px rgba(72, 170, 72, 0);
        box-shadow: 0 0 0 50px rgba(72, 170, 72, 0)
    }
}


/*PODSUMOWANIE DNIA*/

.daily_summary {
    position: absolute;
    width: calc(100% - 80px);
    font-size: 14px;
}

.summary {
    padding: 6px 0;
    width: 100%;
    border: 4px solid rgba(222, 224, 226, 0.5);
    border-radius: 0;
    height: 70px;
    margin: 8px auto;
    /*margin-left: 50px;*/
    background-color: white;
    box-shadow: 0 0 3px rgba(222, 224, 226, 0.5);
    width: 175px;
}

.summary p:after {
    display: block;
    content: '';
    border-bottom: solid 5px #02d0b7;
    border-radius: 10px;
    margin: 0px;
    transform: scaleX(0);
    transition: transform 150ms ease-in-out;
}

.summary:hover p:after {
    transform: scaleX(1);
}

.summary_title {
    left: 5px;
}

.summary p {
    margin: 5px auto 0px auto;
    transition: all 0.3s linear;
    font-weight: bold;
    font-size: 16px;
}


/*Ciemny kolor tła*/

.dark {
    background-color: #445760;
    color: white;
    font-weight: bold;
}

.location-reports-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    background-color: #02d0b7;
    z-index: 1;
    border-radius: 25px;
    left: calc(100% - 50px);
    filter: drop-shadow(2px 4px 6px black);
    cursor: pointer;
}

.location-reports-icon img {
    width: 25px;
    top: 50%;
    left: calc(100% - 25px);
    position: absolute;
    transform: translate(-50%, -50%);
}

.text-over-chart.no-probe{
    display:none;
}
.text-over-chart {
    position: absolute;
    top: 0;
    font-weight: bold;
    font-size: 2.5em;
    color: #dc3545;
    width: 100%;
    height: 100%;
    padding-top: 20%;
}


/* The Modal (background) */

.hide {
    display: none;
}

.show,
.hide {
    color: #445760;
    -webkit-box-shadow: 1px 1px 3px #000;
    -moz-box-shadow: 1px 1px 3px#000;
    box-shadow: 1px 1px 3px #000;
    margin: auto;
    margin-top: 10px;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 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 */
}


/* Modal Content/Box */

.modal-content,
.modal-action-content,
.modal-limit-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
    width: -moz-fit-content;
    min-width: 806px;
    /* Could be more or less, depending on screen size */
    align-items: center;
}

.modal-info {
    margin-bottom: 10px;
    font-size: 10px;
    margin-top: -10px;
}

button:focus {
    outline: none;
}


/* The Close Button */

.close,
.close-limitation,
.close-action,
.action-close,
.limit-close,
.close-msg,
.close-tl {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    text-align: right;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 2;
}

.close:hover,
.close:focus,
.close-limitation:hover,
.close-limitation:focus,
.action-close:hover,
.action-close:focus,
.close-msg:hover,
.close-msg:focus,
.close-tl:hover,
.close-tl:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.preview-icon {
    height: 15px;
}

.delete-icon,
.edit-icon {
    height: 15px;
    margin: 2px 3px;
}
.edit-icon.qr{
    height: 13px;
}
.edit-icon.print{    
    height: 30px;
    margin: 6px 3px;
}
.modalButton {
    cursor: pointer;
    background-color: #02d0b8;
    /* width: 17px !important; */
    /* height: 100%; */
    border-radius: 50%;
    /* display: inline; */
    /* padding-top: 0; */
    padding: 1px 2px 2px 2px;
    float: right;
    /*  filter: drop-shadow(1px 2px 3px black);*/
    -webkit-box-shadow: 2px 14px 10px #000;
    -moz-box-shadow: 2px 4px 6px#000;
    box-shadow: 2px 4px 6px #000;
}
.modalButton.printButton{
    float: right;
    width: 45px;
    height: 45px;
}
.modalButton.printButton img{
    height: 30px;
    margin: 6px 3px;
}

#dispenses.dataTable tbody th,
#dispenses.dataTable tbody td {
    padding: 7px 10px !important;
}

.modalButton .preview-tooltip {
    position: absolute;
    text-transform: uppercase;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    /*margin-left: -135px !important;*/
    margin-top: 15px;
    background-color: transparent !important;
    border-color: transparent !important;
}

.modalButton:hover .preview-tooltip {
    visibility: visible;
    opacity: 1;
    position: absolute;
    z-index: 1;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.preview-tooltip::before {
    width: 0px;
    bottom: 0;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
}

.preview-tooltip::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    bottom: 0;
    width: 0;
}

.modalButton:hover .preview-tooltip::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(215deg);
    transform: rotate(215deg);
    bottom: 0;
    left: 0px;
    width: 20px;
    content: '';
    background-color: #445760;
    height: 1px;
    opacity: 1;
    content: '';
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    left: 100% !important;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 25px;
}

.modalButton:hover .preview-tooltip::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
    bottom: 0;
    left: 0;
    width: 20px;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    width: 100%;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    visibility: visible;
    font-weight: bold;
}


/*--------PRZYCISK ZAPISZ-------*/

.save {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #02d0b8;
    padding: 15px;
    transition: ease-in-out .5s;
    box-shadow: 2px 4px 6px #000;
    cursor: pointer;
}

.save .save-tooltip,
.icons-cell .preview-tooltip {
    position: absolute;
    margin-left: -75px;
    margin-top: 30px;
    text-transform: uppercase;
    visibility: hidden;
    opacity: 0;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.save:hover .save-tooltip,
.icons-cell:hover .preview-tooltip {
    visibility: visible;
    opacity: 1;
    position: absolute;
    z-index: 1;
    filter: none;
}

.save-tooltip::before,
.icons-cell .preview-tooltip::before {
    width: 0px;
    bottom: 0;
    left: 100%;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
}

.save-tooltip::after,
.icons-cell .preview-tooltip::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    left: 100%;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    bottom: 0;
    width: 0;
}

.save:hover .save-tooltip::before,
.icons-cell:hover .preview-tooltip::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 0;
    left: 100%;
    width: 50px;
    content: '';
    background-color: #445760;
    height: 1px;
    opacity: 1;
    content: '';
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.save:hover .save-tooltip::after,
.icons-cell:hover .preview-tooltip::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
    bottom: 0;
    left: 0;
    width: 20px;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    width: 100%;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    visibility: visible;
    font-weight: bold;
}

.save-icon {
    width: 30px;
    transition: ease-in-out .5s;
}

.save:hover img {
    width: 36px;
    margin-top: -2px;
    margin-left: -2px;
}

.save:hover .save-tooltip,
.icons-cell:hover .preview-tooltip {
    display: block;
}


/*-----------------------------*/


/*
 *  STYLE OF SCROLL
 */

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

#callback-show,
#callback-hide {
    background: none;
    border: none;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
    border-radius: 10px;
    padding: 7px 30px;
}

.info {
    width: 100%;
    font-size: 14px;
    /* text-indent: inherit; */
    font-style: italic;
    text-align: justify;
    display: block;
}

.ui-widget.ui-widget-content {
    font-family: Tahoma;
    font-size: 14px;
    background: white;
}

.ui-widget.ui-widget-content .ui-menu-item-wrapper:hover {
    background: #02d0b8;
    color: white;
}

.ui-widget.ui-widget-content .ui-menu-item-wrapper:focus {
    background: #02d0b8;
    color: white;
}

img {
    filter: drop-shadow(0px 1px 0px #888);
}

img.no-shadow {
    filter: none;
}


/*DIALOG*/

.ui-dialog .ui-dialog-titlebar {
    background: none;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
}

.ui-dialog .ui-dialog-titlebar-close {
    background: none;
    border: none;
}

.ui-dialog .ui-dialog-content {
    padding-top: 20px;
}

.ui-dialog .ui-dialog-buttonpane {
    background: none;
    border: none;
    border-color: #ccc !important;
    border-top: 1px solid #ccc;
}

.ui-dialog-buttonset .ui-button {
    background: none;
    border: none;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, .28);
    border-radius: 10px;
    padding: 7px 20px;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-button:hover,
.ui-button:focus {
    border: none !important;
    background: none !important;
    outline: none !important;
}

.ui-slider-handle.ui-state-focus,
.ui-slider-handle.ui-state-hover {
    height: 1em;
    width: 1em;
    border-radius: 50% !important;
    border: #444 2px solid !important;
    background-color: #02d0b8 !important;
}


/*----------------*/

.error {
    text-transform: uppercase;
}

.dtr-details li {
    display: inline-block;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    display: flex !important;
    flex-wrap: wrap;
}

.knowledge-icon-text {
    width: max-content;
    opacity: 0;
    transition: .5s;
    position: absolute;
    margin-top: 5px;
    font-size: 11px;
    backdrop-filter: blur(5px);
}

.knowledge-icon-text::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    bottom: 0;
    width: 0;
    z-index: 100;
}

.knowledge-icon-text::after {
    width: 0px;
    bottom: 0;
    left: 0;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    transition: width 0.4s;
}

.icons-cell:hover .knowledge-icon-text {
    opacity: 1;
}

.icons-cell:hover .knowledge-icon-text::after {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(215deg);
    transform: rotate(215deg);
    bottom: 0;
    left: 0px;
    width: 20px;
    content: '';
    background-color: #445760;
    height: 1px;
    opacity: 1;
    content: '';
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.icons-cell:hover .knowledge-icon-text::before {
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
    bottom: 0;
    left: 0;
    width: 20px;
    content: '';
    background-color: #445760;
    height: 1px;
    position: absolute;
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    width: 100%;
    transition: width 0.4s;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    visibility: visible;
    font-weight: bold;
}


/*Zarządzanie usuniętymi*/

#unactive.suppliers.save {
    left: calc(100% - 130px);
    width: 30px;
    height: 30px;
    top: 25px;
    padding: 7px;
}

#unactive.suppliers.save img {
    width: 15px;
    height: 15px;
}

#unactive.suppliers.save:hover img {
    width: 20px;
    height: 20px;
    margin-top: -1px;
    margin-left: -1px;
}

#deleted,
#del-text {
    display: none;
}

a#filtered,
a#filtered_tank-states {
    display: none;
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 7px;
    line-height: 8px;
    color: #41B7AB;
}

#alarms-number,
#alarms-number-location {
    background: #dc3545;
    border: 1px solid #445760;
    border-radius: 50%;
    text-align: center;
    height: 16px;
    min-width: 16px;
    font-size: 12px;
    color: white;
    font-weight: bold;
    position: absolute;
    left: 35px;
    margin-top: 5px;
    box-shadow: -1px 1px 3px #000;
    line-height: 15px;
}

#alarms-number-location {
    top: 13px;
    left: inherit;
    right: 20px;
}

.no-perms {
    font-size: 12px !important;
}

.no-perms-text {
    text-align: center;
    font-size: 24px;
    padding-top: 200px;
    font-weight: bold;
    color: #dc3545;
}

@-moz-document url-prefix() {
    .select2-container .select2-selection--multiple .select2-selection__rendered{
        display: block !important;
    }
}
.select2 {
    border-radius: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 154px !important;
    width: 154px !important;
    height: 24px;
    font-size: 12px;
    text-align: center;
}

.select2-container .select2-selection--single {
    height: 32px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    text-align: center;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-results__option.select2-results__option--selectable.select2-results__option--highlighted {
    background-color: #02d0b8 !important;
    font-size: 12px;
}

.select2-results__option--selectable {
    font-size: 12px;
}

.select2-results__option--disabled {
    background-color: #eee;
}

.select2-results__option--highlighted {
    background-color: #ddd;
}

.select2:hover {
    border-color: #445760;
}

.select2-selection__rendered {
    padding-right: 30px !important;
}

.select2-selection__rendered:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid #333;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.selection .select2-selection--single {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding-top: 4px;
}

td .select2-container {
    margin-top: 4px;
    margin-bottom: 4px;
}

.no-opacity {
    opacity: 0;
    cursor: auto !important;
}

.full-opacity {
    opacity: 1;
}


/*WALKTHROUGH*/

div#driver-popover-item {
    font-family: Tahoma;
}

body div#driver-popover-item {
    min-width: 300px;
}

body div#driver-popover-item .driver-popover-footer button {
    padding: 3px 0px;
    font-size: 12px;
    color: #ccc;
    background-color: white;
    border-radius: 10px;
    font-weight: bold;
    margin: 3px;
    min-width: 70px;
    border: 1px solid #41B7AB;
}
body div#driver-popover-item .driver-popover-footer button:not(.driver-prev-btn){
    background-color: #41B7AB;
    text-shadow: none;
    color: white;
}
body div#driver-popover-item .driver-popover-footer button:not(.driver-prev-btn):hover {
    background-color: #445760;
    border: 1px solid #445760;
    color: white;
    text-shadow: none;
}

body div#driver-popover-item .driver-popover-footer button.driver-prev-btn {
    color: #ccc;
    text-shadow: none;
}

body div#driver-popover-item .driver-popover-footer button.driver-close-btn {
    background: none;
    text-shadow: none;
    border: none;
    color: #aaa;
    text-transform: uppercase;
    font-family: Tahoma;
    font-size: 10px;
    margin-left: -8px;
}

.driver-disabled{
    display:none !important;
}
span.select2-selection__rendered{
    max-width: 220px;
    margin-left: 20px;
}
.select2-container .select2-selection--single .select2-selection__clear{
    top:2px;
}
@media only screen and (max-width: 700px) {
    #container-main {
        margin-left: 60px;
        width: 100%;
    }
    .hint:hover .hint-content {
        font-size: 10px;
    }
    .location-reports-icon {
        top: 30px;
    }
    #line,
    #linePrice,
    #dispenses {
        max-width: calc(100% - 40px);
    }
    .table {
        margin-top: 35px;
    }
}
@media only screen and (max-width: 1366px) {
    .fullPrice span,
    .discountedPrice span{
        font-size: 1.5em;
    }
}

.uppercase, .col-form-label {
 text-transform: uppercase;
}

.forgot-password{
    display: block;
    width: 100%;
    text-align: right;
    margin-top: -10px;
    color: #41b7ab !important;
}
.forgot-password:hover{
    color: #439c8c !important;
    cursor: pointer;
}
#qr-code-container{
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    padding: 50px;
    background-color: white;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}
#qr-code-container-overlay{
    display: none;
    position:absolute;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(102,102,102,0.5);
    left:0;
}
#qr-code-text{
    padding: 20px 5px;
    font-size: 20px;
    width: 100%;
    text-align: center;
}
#qr-close{
    position: absolute;
    top: 0px;
    left: auto;
    right: 20px;
    cursor: pointer;
    font-size: 30px;
}
#qr-close:hover{
    color:#444
}
#run-filters,
#clear-filters{
    text-transform: uppercase;
}

.select2-container .select2-selection--multiple .select2-selection__rendered{
    display: block!important;
}
ul.select2-selection__rendered{
	margin-bottom:0px !important;
}
