/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

@font-face {
    font-family: 'Bragga';
    src: url('../fonts/bragga.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

.baum {
    font-family: 'Bragga';
    font-weight: 400 !important;
}

:root {
    --albastru: #336699;
    --albastru-bg: #336699;

    --portocaliu: #ff5b00;
    --portocaliu-bg: #ff5b00;

    --verde: #1dc115;
    --verde-bg: #1dc115;

    --galben: #bac007;
    --galben-bg: #bac007;

    --rosu: #da2020;
    --rosu-bg: #da2020;

}

.menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo svg {
    width: 22px;
    height: 38px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.w-49 {
    width: 49%;
}


input, select, option {
    cursor: pointer;
}

*[ng-click] {
    cursor: pointer;
}

.left-shadow {
    box-shadow: -2px 0 12px 0 rgb(39 39 39 / 32%);
}

.top-shadow {
    box-shadow: 0px 0 12px 0 rgb(39 39 39 / 32%);
}

.right-shadow {
    box-shadow: 2px 0 12px 0 rgb(39 39 39 / 32%) !important;
}

@media (max-width: 1199px) {
    .right-shadow {
        box-shadow: none !important;
    }
}


nav {
    position: absolute !important;
    margin-left: 10px !important;
    margin-right: 10px !important;

    width: calc(100vw - 16.25rem - 20px) !important;
}

ul.nav.nav-tabs {
    border-bottom: 1px solid #d3d3d3;
}

.container-xxl, .body {
    background-color: #f5f5f9;
}

.offcanvas {
    /*background-color: #f5f5f9;*/
    transition: all 0.25s ease-in-out;
}

.offcanvas-body {
    /*background-color: #fff;*/
}

.offcanvas-bottom {
    border-radius: 10px 10px 0 0;
    margin-left: 5px;
    margin-right: 5px;
    height: 100vh;
    /*transform: translateY(100%)*/

    touch-action: none;
    -ms-touch-action: none;

    left: 0;
    right: 0;
    bottom: 0;
    /* start at 50% from bottom -> set initial var in JS too */

    transition: transform 220ms cubic-bezier(.22, .9, .25, 1);
    touch-action: none; /* stops native scrolling while dragging */
    will-change: transform;
    /* other styles you already have */


}

.offcanvas-bottom.show {
    transform: translateY(50%);
}

#fereastraLog.offcanvas-bottom.show {
    transform: translateY(67%) !important;
}

.offcanvas-bottom.expanded {
    transform: translateY(10%)
}

.offcanvas-body .tab-content .tab-pane .list-group {
    height: calc(100vh - 103px);
    overflow: auto;
}

.of-expander {
    background: #9f9f9f;
    height: 5px;
    width: 80%;
    margin: 5px auto;
    border-radius: 5px;
}

.marker-firma {
    border-radius: 32px;
    font-size: 20px;
    color: white;
    border: 2px solid white;
    background-color: #333;
    width: 34px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.marker-sala {
    border-radius: 32px;
    font-size: 20px;
    color: white;
    border: 2px solid white;
    background-color: #77166f;
    width: 34px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.marker-aparat {
    border-radius: 32px;
    font-size: 20px;
    color: white;
    border: 2px solid white;
    background-color: #993342;
    width: 34px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.marker-gpsbox {
    border-radius: 32px;
    font-size: 20px;
    color: white;
    border: 2px solid white;
    background-color: rgb(113, 221, 55);
    width: 34px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.marker-istoric {
    border-radius: 50%;
    font-size: 20px;
    color: white;
    border: 2px solid white;
    width: 34px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.custom-marker {
    transform: translate(0px, 17px);
}

.custom-marker.hover .marker-aparat,
.custom-marker.hover .marker-sala,
.custom-marker.hover .marker-firma,
.custom-marker.hover .marker-gpsbox,
.custom-marker.hover .marker-istoric {
    /*background: #ef4444;*/
    transform: scale(1.2);
    /*box-shadow: 0 0 0 6px rgba(239,68,68,.25);*/
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .55);

    animation: pulse 1.4s infinite;

}


.marker-aparat.albastru {
    background-color: var(--albastru-bg);
}

.marker-aparat.portocaliu {
    background-color: var(--portocaliu-bg);
}

.marker-aparat.verde {
    background-color: var(--verde-bg);
}

.marker-aparat.galben {
    background-color: var(--galben-bg);
}

.marker-aparat.rosu {
    background-color: var(--rosu-bg);
}

.custom-tooltip {
    position: absolute;
    bottom: 100%; /* place above marker */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;

    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;

    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;

    z-index: 10;
    pointer-events: none; /* tooltip doesn't steal hover */
}


.text-albastru {
    color: var(--albastru-bg);
}

.text-portocaliu {
    color: var(--portocaliu-bg);
}

.text-verde {
    color: var(--verde-bg);
}

.text-galben {
    color: var(--galben-bg);
}

.text-rosu {
    color: var(--rosu-bg);
}


.nav-align-top .nav-tabs .nav-link.active {
    border-bottom: 2px solid #939393;
    box-shadow: none;
    color: #336699;
}

.nav-tabs .nav-item .nav-link:not(.active) {
    background-color: transparent !important;
    color: #8e9baa;
}

.nav-align-top .nav-tabs ~ .tab-content, .nav-align-top > .tab-content {
    box-shadow: none;
}


.hand {
    cursor: pointer;
}


/*horizontal timeline*/


.timeline-wrap {
    width: 100%;
    overflow-x: auto;
    padding: 14px 10px;
    /*cursor: grab;*/
    /*-webkit-overflow-scrolling: touch; !* smooth on mobile *!*/
}

/*.timeline-wrap.active {*/
/*    cursor: grabbing;*/
/*}*/

.timeline {
    display: inline-flex;
    gap: 2px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #1f2933, #475569);
}

.timeline-tail {
    width: 60px; /* extends line past last dot */
    height: 1px;
    flex-shrink: 0;
}

.event {
    position: relative;
    min-width: 110px;
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
}

.event:hover .dot {
    transform: scale(1.25);
    box-shadow: 0 0 0 8px rgba(59, 130, 246, .18);
}


.pulse {
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, .8);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}


.dot {
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin: 21px auto 6px;
    padding-top: 4px;
    position: relative;
    z-index: 2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

/*.dot.ok   { background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.15); }*/
/*.dot.warn { background: #facc15; box-shadow: 0 0 0 6px rgba(250,204,21,.15); }*/
/*.dot.err  { background: #ef4444; box-shadow: 0 0 0 6px rgba(239,68,68,.15); }*/

.time {
    font-size: 10px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.label {
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
    white-space: nowrap;
}


.map-wrapper {
    position: relative;
}

.center-pin {
    position: absolute;
    top: calc(50% + 16px);
    left: 50%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -100%);
    pointer-events: none; /* allow map dragging */
    z-index: 1000;
    color: white;
    background-color: #336699;
    border-radius: 50%;
}

.center-pin i {
    margin: 8px;
}

.border-top-0 {
    border-top: 0;
}


.border-left-0 {
    border-left: 0;
}

.btn-float {
    position: fixed;
    bottom: 25px;
    right: 0;
    z-index: 1000;
    box-shadow: 2px 2px 7px #336699;
    font-size: 17px;
    border-radius: 50% !important;
    width: 42px;
    height: 42px;

}

.btn-float.rounded {
    /*border-radius: 50% !important;*/
}

.btn-float.pos-b-e {
    right: 25px;
    bottom: 25px;
}

#map {
    filter: blur(0);
    transform: translateZ(0);
    will-change: transform;
}

.col-form-label {
    width: 100%;
}

code {
    color: #336699 !important;
    background: #33669922;
    padding: 3px;
}

.code-fragment {
    background: rgba(138, 153, 165, 0.13);
    border: 1px solid rgba(164, 169, 179, 0.75);
    border-radius: 5px;
    padding: 10px;
    font-family: Consolas, Menlo, "courier new", monospace;
    font-size: 14px;
}

.code-fragment .comment {
    color: #AAA !important;
}

.text-transparent {
    color: transparent !important;
}

.search-results {
    margin-top: 50px !important;
    box-shadow: none;
    height: unset !important;
}

.leaflet-tooltip-pane {
    z-index: 1085 !important;
}

.leaflet-tooltip {
    /*opacity: 1 !important;*/
    background: transparent !important;
    border: 0 !important;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none !important;
    min-width: 300px;
}

.leaflet-tooltip .card {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35)
}

.leaflet-tooltip-top:before {
    border-top-color: rgba(30, 30, 30, 0) !important;
}

.leaflet-tooltip-bottom:before {
    border-bottom-color: rgba(30, 30, 30, 0) !important;
}

.leaflet-tooltip-left:before {
    border-left-color: rgba(30, 30, 30, 0) !important;
}

.leaflet-tooltip-right:before {
    border-right-color: rgba(30, 30, 30, 0) !important;
}

/*page header*/

.page-header {
    transition: box-shadow .2s ease;

}

.page-header .card.desktop {
    /*background-color: #f5f5f9 !important;*/
    background-color: white !important;
    box-shadow: none;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 1px solid #d9dee3;
}

.page-header .card.desktop .searchButton {

}

.page-header .card.desktop .card-header.search .card-title {
    box-shadow: 0 0 6px 0 rgb(179 179 179 / 65%);
    border-radius: 5px;
}

.page-header .card.desktop h5 {
    color: #566a7f;
}

.page-header .card.desktop i {
    color: #566a7f;
}

.page-header .card.desktop a {
    color: #566a7f !important;
}


.page-header input,
.page-header .input-group-text {

    background-color: #ffffff26;
    color: white;
    border: 0;
    border-radius: 5px;
}

.page-header input:focus {
    background-color: #ffffff26;
    color: white;
}

@media ( min-width: 1200px) {

    .page-header input,
    .page-header .input-group-text {

        background-color: white !important;
        color: #566a7f;
        border: 0;
        border-radius: 5px;
    }

    .page-header input:focus {
        background-color: white !important;
        color: #566a7f;
    }

}

.page-header .search .card-title {
    width: 100%;
}

.page-header .search {
    padding-top: 9px;
    padding-bottom: 9px;
}

.page-header .card-header {
    padding-left: 10px;
}

.page-header.shadow-bottom {
    background-color: white;
    box-shadow: 0 0 6px 0 rgb(179 179 179 / 65%);
}


.bx-header-end {
    font-size: 1.15rem !important;
}

@media (max-width: 1199px) {
    .btn-sm:not(.header) {
        /*//1200*/
        /*padding: 0.25rem 0.6875rem;*/
        padding: 0.4375rem 1.25rem !important;
        font-size: 0.9375rem !important;
        border-radius: 0.375rem !important;
    }
}

.modal.fade.show {
    backdrop-filter: blur(2px);
}

.modal-body .list-group {
    border-radius: 0 !important;
}

.modal-body .list-group a {
    border-left: 0;
    border-right: 0;
}

.modal-header {
    background-color: rgba(var(--bs-primary-rgb));
}

.modal-header .bx-search,
.modal-header .bx-x {
    font-size: 1.30rem !important;
}

.modal-header .modal-title {
    color: white;
}

.modal-header .btn-close {
    background-color: transparent;
    color: #AAA;
}

.modal-header .modal-title i {
    margin-right: 1rem;
}

.modal-header.searchOpen {
    padding: 0.55rem 0.8rem;
}

@media (max-width: 1199px) {
    .w-50-mobile {
        width: 48%;
    }
}

.tooltip-arrow {
    display: none !important;
}

/*card footer sticky*/


.card-footer-sticky {
    position: sticky;
    bottom: 0;
    /*background: #fff;*/
    z-index: 10;
    /*border-top: 1px solid #dee2e6;*/
}

.card-footer-sticky.shadow-top {
    box-shadow: 0 0 6px 0 rgb(179 179 179 / 65%);
}

/*lists*/

.entity-list .list-group-item {
    border: 0;
    padding: .75rem .75rem;
}

.entity-list .list-group-item:hover,
.list-group-item.hover:hover {
    background: #f8f9fa;
}

.entity-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    /*background: #eef2ff;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*route animations*/

/*.route-fade.ng-enter,*/
/*.route-fade.ng-leave {*/
/*    transition: opacity .15s ease-in-out;*/
/*}*/


/*.route-fade.ng-leave {*/
/*    opacity: 1;*/
/*}*/

/*.route-fade.ng-leave-active {*/
/*    opacity: 0;*/
/*}*/


/*.route-fade.ng-enter {*/
/*    opacity: 0;*/
/*    !*transform: translateY(4px);*!*/
/*}*/

/*.route-fade.ng-enter-active {*/
/*    opacity: 1;*/
/*    !*transform: translateY(0);*!*/
/*}*/


/*.route-fade.ng-enter {*/
/*    will-change: opacity;*/
/*}*/

.layout-menu {
    border-right: 1px solid #d9dee3;
}

.panel-primary {
    background: #33669911;
    border-top: 1px solid #d9dee3AA;
    border-bottom: 1px solid #d9dee3AA;
}

.panel-primary .text-muted {
    color: #7b838d !important
}

.panel-danger {
    background: #ff3e1d11;
    border-top: 1px solid #d9dee3AA;
    border-bottom: 1px solid #d9dee3AA;
}

.panel-danger .text-muted {
    color: #7b838d !important
}


.panel-warning {
    background: #ffab0011;
    border-top: 1px solid #d9dee3AA;
    border-bottom: 1px solid #d9dee3AA;
}

.panel-warning .text-muted {
    color: #7b838d !important
}

/*btn copy*/

.textarea-wrapper {
    position: relative;
    width: 100%;
}

.textarea-wrapper textarea {
    width: 100%;
    box-sizing: border-box;
    padding-right: 36px;
}

.copy-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
}

.textarea-wrapper:hover .copy-btn {
    opacity: 1;
    pointer-events: auto;
}

.copy-btn:hover {
    background: #e0e0e0;
}

.badge.top-right {
    position: absolute;
    top: 5px;
    right: 5px;
}

.bx-spin.stop-spin {
    animation: none !important;
}


.bg-label-yellow {
    background-color: #977e2536 !important;
    color: #977e25 !important;
}

.badge.small {
    font-size: 85% !important;
    padding: 0.42em 0.493em;
}


/* The popup bubble styling. */
.popup-bubble {
    /* Position the bubble centred-above its parent. */
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    /* Style the bubble. */
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 60px;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.5);
}

/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
    /* Position the div a fixed distance above the tip. */
    position: absolute;
    width: 100%;
    bottom: 8px;
    left: 0;
}

/* This element draws the tip. */
.popup-bubble-anchor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* Center the tip horizontally. */
    transform: translate(-50%, 0);
    /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
    width: 0;
    height: 0;
    /* The tip is 8px high, and 12px wide. */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid white;
}

/* JavaScript will position this div at the bottom of the popup tip. */
.popup-container {
    cursor: auto;
    height: 0;
    position: absolute;
    /* The max width of the info window. */
    width: 200px;
}


/* remove default padding */
.gm-style-iw {
    padding: 0 !important;
}

/* allow title to overlap header */
.gm-style-iw-d {
    overflow: visible !important;
}

/* fake header title */
.info-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 40px; /* space for close button */

    height: 36px;
    line-height: 36px;
    padding-left: 12px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-weight: 600;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

/* push body down under fake header */
.info-body {
    padding: 0px 12px 12px;
    font-size: 14px;
}

.info-window {
    min-width: 300px;
}

/* align close button */
.gm-ui-hover-effect {
    top: -5px !important;
    right: -5px !important;
}


/*carousel*/

.carousel-slide-bg {
    height: 50vh;
}

@media (max-width: 1199px) {
    .carousel-slide-bg {
        height: 100vh;
    }
}

.gradient-1 {
    background: #002447;
    background: linear-gradient(135deg, rgba(0, 36, 71, 1) 0%, rgba(51, 102, 153, 1) 100%);
}

.gradient-2 {
    background: #002447;
    background: linear-gradient(135deg, rgb(71, 0, 57) 0%, rgb(153, 51, 139) 100%);
}

.gradient-3 {
    background: #002447;
    background: linear-gradient(135deg, rgb(24, 71, 0) 0%, rgb(119, 153, 51) 100%);
}

.gradient-4 {
    background: #002447;
    background: linear-gradient(135deg, rgb(0, 71, 71) 0%, rgb(51, 153, 150) 100%);
}

.gradient-5 {
    background: #002447;
    background: linear-gradient(135deg, rgb(71, 65, 0) 0%, rgb(153, 139, 51) 100%);
}

.carousel-caption {
    bottom: unset;
    top: 1.25rem;
}

.carousel-caption .btn {
    box-shadow: none !important;
}

.spinner {
    padding: 50%;
}

.spinner-border-sm {
    width: 0.7rem;
    height: 0.7rem;
    border-width: 0.2em;
    margin-right: 0.5rem;
}

.btn:not(.btn-float) i:not(.bx-spin) {
    padding-right: 0.5rem !important;
}


.search-match {
    /*font-weight: 600;*/
}

.popover-header {
    padding: 0.7rem 0.7rem 0;
    font-size: 1rem;
}

.popover-body {
    padding: 0.7rem 0.7rem;
    color: #697a8d;
    font-size: 85%;
}


.cluster {
    width: 32px;
    height: 32px;
    background: #336699;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid white;

    box-shadow: 0 0 0 4px rgba(30,136,229,0.25);
    transition: transform 0.2s ease;
}

.cluster:hover {
    transform: scale(1.1);
}