@import "geosearch.css";

[v-cloak] {
    display: none;
}

@font-face {
  font-family: 'kurjerzy';
  src: url('../fonts/kurjerzy.eot?fwjoar');
  src: url('../fonts/kurjerzy.eot?fwjoar#iefix') format('embedded-opentype'),
  url('../fonts/kurjerzy.ttf?fwjoar') format('truetype'),
  url('../fonts/kurjerzy.woff?fwjoar') format('woff'),
  url('../fonts/kurjerzy.svg?fwjoar#kurjerzy') format('svg');
  font-weight: normal;
  font-style: normal;
}

html, body {
    height: 100%;
    margin: 0px;
    z-index: 0;
    font-family: "Roboto", sans-serif !important;
}

#app {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row-reverse;
}

/* map */
.map-container {
    height: 100%;
    width: 100%;
}

/* geo search */
.search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    max-width: 370px;
    padding-left: 10px;
}

.hidden {
    display: none !important;
}

.header {
    margin-top: 24px;
    font-size: 1.325rem;
    font-weight: 400;
}

.search-group {
}


.search-input-container-all {
    padding: 0 14px 0 0;

    svg {
        position: absolute;
        width: 30px;
        z-index: 99999;
        top: 30px;
        right: 40px;
        color: #5e5d5d;
        opacity: 0.6;
        cursor: pointer;
    }
}

#search-input-container {
    width: 100%;
    display: flex;
    z-index: 1;
    padding-top: 25px;
}

.search-input {
    display: inline-block;
    width: 100%;
    padding: 6px 70px 6px 12px;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;

    background-image: url(../images/search.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 26px 26px;
    border-radius: 3px;
}

.search-input:focus {
    border: 2px solid #53ace8;
    padding: 5px 70px 5px 11px;
    background-position: calc(100% - 9px) center;
}

.autocomplete-wrapper {
    width: 100%;
    z-index: 9999;
    display: inline-block;
}

.autocomplete-list {
    position: relative !important;
    z-index: 9999;
}

.autocomplete ul {
    padding: 0;
    width: 100%;
    z-index: 9999;
}

.autocomplete ul li a {
    font-size: 0.8rem !important;
    color: #595959;
}

.autocomplete ul li span.title {
    font-size: 1rem !important;
    color: #000000;
}

.autocomplete ul li a:hover,
.autocomplete ul li.focus-list a {
    color: white !important;
    background: #53ace8;
}

.autocomplete ul li a:hover > span {
    color: white !important;
}

/* button search */
.icon::before {
  content: "\e90b";
  font-family: 'kurjerzy';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.input-with-icon {
    border: none;
}

.input-icon, .input-with-icon {
    padding: 6px 20px;
    z-index: 10000;
}

.autocomplete-anchor-text {
    font-size: 0.9rem;
    font-weight: normal;
}

/* filters search */
span.search-option-toggle {
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    text-align: center;
    cursor: pointer;
    margin-top: 1em;
    font-size: 0.8rem;
    color: #78BEEB;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    /*margin-bottom: 5px;*/
    line-height: 2em;
}

span.search-option-toggle:hover {
    color: #ff5900;
}

span.search-option-toggle::after {
    display: inline-block;
    font-family: "kurjerzy";
    content: "\e90d";
    font-size: 0.4rem;
    vertical-align: middle;
    top: 50%;
    right: 0;
    margin-left: 6px;
    margin-top: -4px;
}

span.search-option-toggle--open::after {
    content: "\e90c" !important;
    margin-top: -3px;
}

.search-options {
    width: 100%;
    margin-top: 5px;
    padding-right: 10px;
    margin-left: -10px;
    background-color: #eaeaea;
    height: 0;
    overflow: hidden;
    text-align: center;
}

.search-options.active {
    height: auto;
    /*height: 353px; #TODO: merge with dev*/
}

.wrapper-check {
    display: inline-block;
    column-count: 2;
    padding: 0 10px 10px 15px;
    margin-top: 10px;
}

li.form-check {
    position: relative;
    margin-top: 20px;
    display: inline-block;
}

li.form-check input[type="checkbox"] {
    display: none;
}

li.form-check input[type="checkbox"] + label::before {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #BBBBBB;
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 20px;
    content: "";
    margin-right: 5px;
    overflow: hidden;
    transform: translateY(-2px);
    border-radius: 4px;
}

li.form-check input[type="checkbox"] + label:hover::before {
    width: 19px;
    height: 19px;
    border: 2px solid #53ace8;
}

li.form-check input[type="checkbox"]:checked + label::before {

}

li.form-check input[type="checkbox"]:checked + label::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../images/checkbox-checked.svg);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center center;
    position: absolute;
    left: 1px;
    top: 10px;
    transform: translateY(-1px);
}

label.form-check-label {
    display: inline-block;
    text-align: center;
    margin-left: 30px;
    font-size: 0.8rem;
    font-weight: 400;
    width: 120px;
    padding: 9px 5px;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

input#checkbox-dhl + label {
    background-color: #ffd618;
    color: #000000;
}

input#checkbox-dpd + label {
    background-color: #dc0032;
    color: #ffffff;
}

input#checkbox-fedex + label {
    background-color: #4d148c;
    color: #ff6600;
}

input#checkbox-ups + label {
    background-color: #3f1d01;
    color: #ffffff;
}

input#checkbox-inpost + label {
    background-color: #ffbb04;
    color: #ffffff;
}

input#checkbox-kurier-inpost + label {
    background-color: #ffbb04;
    color: #ffffff;
}

input#checkbox-ruch + label {
    background-color: #0276bd;
    color: #c4f801;
}

input#checkbox-orlen + label {
    background-color: #d81e04;
    color: #fff;
}

input#checkbox-poczta + label {
    background-color: #d81e04;
    color: #ffc522;
}

input#checkbox-gls + label {
    background-color: #172154;
    color: #f8b514;
}

/* list result search */
.search-list-box {
    position: relative;
    height: 100%;
    overflow: hidden auto;
    margin-top: 10px;
}

.search-list {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.search-list table {
    border-collapse: collapse;
}

.search-list-item {
    border-bottom: 1px dashed #c1c1c1;
    padding-top: 9px;
    padding-bottom: 9px;
    cursor: pointer;
}

.search-list-item:hover {
    background-color: #e5e5e5;
}

.search-list-item-desc {
    font-size: 0.86rem;
    letter-spacing: 0.03em;
    padding: 5px 5px 5px 10px;
}

.courier-button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    border-radius: 3px;
}

.courier-button--list {
    display: inline-block;
    line-height: 3.5rem;
    font-size: 1rem;
    width: 80px;
    height: 3.5rem;
    position: relative;
}

.courier-button__name {
    display: inline-block;
}

.courier-button--inpost .courier-button__name {
    transform: translateY(-5px);
}

.courier-button--kurier_inpost .courier-button__name {
    transform: translateY(-5px);
}

.courier-button--poczta .courier-button__name {
    transform: translateY(-5px);
}

.courier-button--orlen .courier-button__name {
    transform: translateY(-5px);
}

.courier-button__subname {
    bottom: -8px;
    font-size: 0.7rem;
    position: absolute;
    width: 100%;
    left: 0;
}

.courier-button--dhl {
    color: #242426;
    background: #ffd618;
}

.courier-button--dpd {
    color: #ffffff;
    background: #dc0032;
}

.courier-button--fedex {
    color: #ff6600;
    background: #4d148c;
}

.courier-button--inpost {
    color: #fff;
    background: #ffbb04;
}

.courier-button--kurier_inpost {
  color: #fff;
  background: #ffbb04;
  border-color: #fff;
}

.courier-button--ups {
    color: #fff;
    background: #3F1D01;
}

.courier-button--ruch {
    color: #c4f801;
    background: #0276bd;
}

.courier-button--orlen {
    color: #fff;
    background: #d81e04;
}

.courier-button--poczta {
    color: #ffc522;
    background: #d81e04;
}

.courier-button--gls {
    color: #f8b514;
    background: #172154;
}

/* popup leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 3px;
    color: #000000;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background-color: #ffffff;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
}

.leaflet-container a.leaflet-popup-close-button {
    font-weight: normal;
    font-size: 0;
    /*padding: 12px 14px 0 0;*/
    /*color: #999;*/
    padding: 10px;
}

.leaflet-container a.leaflet-popup-close-button::after {
    font-family: kurjerzy;
    content: '\e904';
    font-size: 1.3rem;
    position: absolute;
    top: 12px;
    right: 7px;
    color: #525252;
}

.leaflet-popup-content {
    margin: 10px 10px 5px 10px;
}

.show_mobile div.vue2leaflet-map {
    z-index: 0;
}

.popup-table {
    width: 100%;
}

.popup-head {
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 15px 0 10px 0;
}

.popup-body {
    text-transform: uppercase;
    padding: 10px 0 5px 0;
    /*border-bottom: 1px solid #86c3f2;*/
    color: #3a9ac7;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.label_opening_hours {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.popup-body p {
    margin: 0 0;
}

.popup-footer {
    padding: 15px 0 5px 0;
}

.popup-button-logo {
    float: left;
    vertical-align: middle;
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 2.7rem;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.courier-button--popup {
    /*float: left;*/
    display: inline-block;
    line-height: calc(3rem + 10px);
    font-size: 1rem;
    width: 75px;
    /*height: 3rem;*/
    position: relative;
}

.courier-button--popup .courier-button__subname {
    bottom: -8px;
    font-size: 0.6rem;
    position: absolute;
    width: 100%;
    left: 0;
}

.courier-button--inpost .courier-button__name--inpost {
    transform: translateY(0px);
}

.courier-button--kurier_inpost .courier-button__name--inpost {
    transform: translateY(0px);
}

.courier-button--orlen .courier-button__name--orlen {
    transform: translateY(0px);
}

.popup-button-label {
    width: 100%;
    background: #2C97DD;
    color: #ffffff;
}

.popup-button-label::before {
    background: #53ace8;
}

.popup-button-label:focus {
    outline: none; /* Usuwa obwódkę przy fokusie */
}

.popup-button-label:focus-visible {
    outline: none; /* Usuwa obwódkę dla nowoczesnych przeglądarek */
}

.button {
    border-radius: 3px;
    display: inline-block;
    zoom: 1;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    user-select: none;
    border: 0;
    font-size: 1.04rem;
    font-family: "PT Sans", sans-serif;
    text-decoration: none;
    transition-property: color, background;
    transition-duration: 0.2s;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
    min-height: 40px;
    line-height: 34px;
    padding: 0 25px;
    letter-spacing: 1px;
}

.button::before {

    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: scaleZ(0);
    transform-origin: 50% 100%;
    border-radius: 3px;
}

.button:hover::before {
    transform: scaleZ(1);
}

/* tabs for moble */
.tabs {
    /*margin-top: 10px;*/
    width: 100%;
    display: none;
}

.tabs div {
    background-color: #f3f3f3;
    border-bottom: 3px solid #f3f3f3;
    color: #46494f;
    line-height: calc(3em - 3px);
    font-weight: 300;
    border-radius: 0;
    text-align: center;
    display: table-cell;
    cursor: pointer;
}

.tabs div:hover {
    background-color: #dedede;
    border-bottom: 3px solid #dedede;
}

.tabs .tab-list, .tabs .tab-map {
    width: 50%;
    /*float: left;*/
}

.button-blue {
    color: #2c96db !important;
    border-bottom: 3px solid #2c96db !important;
}


.show_mobile {
    /*border: 7px red solid;*/
}

.is_not_payment {
    color: #3691c0;
}

.is_not_payment_div {
    text-transform: uppercase;
    text-align: center;
    background-color: #508eb8;
    width: 100%;
    margin-top: 8px;
    line-height: calc(1.5rem + 2px);
    /*line-height: 1.5rem;*/
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffffff;
}

.is_courier_inpost_div {
    text-transform: uppercase;
    text-align: center;
    background-color: #508eb8;
    width: 100%;
    margin-top: 5px;
    line-height: calc(1.0em + 2px);
    font-weight: 300;
    letter-spacing: 1px;
    height: 36px;
    padding-top: 5px;
    padding-bottom: 3px;
    color: #ffffff;
}

@media screen and (max-width: 768px) {

    #app {
        /*flex-direction: column;*/
        overflow: hidden;
        display: block;
        margin: 0;
    }

    .tabs {
        display: table;
    }

    .search-container {
        background-color: #f3f3f3;
    }


    /*!* map *!*/
    .map-container {
        /*height: 100%;*/
        width: 100%;
        /*margin-top: 5px;*/
        display: block;
        /*flex: 1;*/
    }

    .search-list-box {
        display: none;
        margin-top: 0;
    }

    /*!* geo search *!*/
    .header, .search-input-container-all {
        padding: 0 10px 0 10px;
    }

    .search-container {
        height: auto;
        width: 100% !important;
        max-width: unset;
        padding-left: 0;
    }

    .show_mobile {
        display: block;
        /*touch-action: auto;*/
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
        /*z-index:1;*/
        /*border: 7px red solid;*/
        background-color: #ffffff;
    }

    .search-list-item {
        padding-left: 7px;
        padding-right: 7px;
    }

    .search-list-item-desc {
        padding-left: 5px;
    }

    .courier-button--list {
        width: 70px;
        line-height: calc(3.5rem + 10px);
        height: calc(3.5rem + 10px);
    }

    li.form-check {
        margin-left: 25px;
    }

    .wrapper-check {
        padding: 0;
    }

    .search-options.active {
        height: auto;
        padding-bottom: 15px;
    }

}

@media screen and (max-width: 387px) {
    .wrapper-check {
        column-count: 1;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.bounce {
    animation: bounce 1s infinite;
    position: relative;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        top: 0; /* Początkowa pozycja */
    }
    40% {
        top: -10px; /* Ruch w górę */
    }
    60% {
        top: -5px; /* Mniejszy ruch w górę */
    }
}

.custom-popup-close-button {
    font-weight: normal;
    font-size: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: 30px; /* Zapewnia obszar klikalny */
    height: 30px;
}

.custom-popup-close-button::after {
    font-family: kurjerzy;
    content: '\e904';
    font-size: 1.3rem;
    position: absolute;
    top: 12px;
    right: 7px;
    color: #525252;
}

.maplibregl-popup-content {
    width: 223px !important;
    max-width: 223px !important;
    min-width: 223px !important;
    padding: 10px;
    box-sizing: border-box;
}
