/**
 * base/grid
 */

html {
    font-family: sans-serif;
    overflow: auto;
}
body {
    overflow-x: hidden;
}

*[v-cloak] {
    visibility: hidden;
}

.app-container {
    max-width: 1400px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.flex-1 {
    flex: 1;
}

/**
 * bs overrides
 */
hr {
    background: #88888899;
}

.btn,
.btn:disabled {
    transition: background .25s cubic-bezier(.33,.7,.32,1) 0ms;
    margin-bottom: 7px;
    border-radius: 4px;
    padding: 12px 40px 11px 40px;
    min-width: 160px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    white-space: unset !important;
}

.btn-primary,
.btn-primary:disabled {
    box-shadow: 0 3px 0 0 #802e55 !important;
    background: #a53c6e;
    color: #fff;
    border: none !important;
}
.btn-primary:hover, .btn-primary:focus {
    background: #7d2851;
}
input:focus, select:focus, textarea:focus {
    box-shadow: none !important;
    border-color: #b2b7bc !important;
}
.form-check-input {
    display: block;
    margin: 0 .24em 0 0;
    width: 1em;
    height: 1em;
}
.form-check {
    padding-left: 0;
    padding-right: 1.5em;
}
.form-check .form-check-input {
    margin-left: 0;
}
.form-check-input:checked {
    background-color: #a53c6e;
    border-color: #a53c6e;
}
.form-check-label {
    display: flex;
    align-items: center;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #dc3545 !important;
}
.link {
    cursor: pointer;
}
a, .link {
    color: #2daad2 !important;
    text-decoration: none;
}
a:hover,
.link:hover {
    color: #27b5e2 !important;
    text-decoration: underline;
}
p, .form-control, .form-select, label, button, .app-font-1 {
    font-size: .9rem !important;
}
.form-check-input {
    font-size: 1.4rem !important;
}
.h5 {
    font-size: 1.15rem;
}
.link-underline:hover {
    text-decoration: underline;
}
ol, ul {
    padding-left: 1.4em;
}
.app-container .row {
    margin-left: 0;
    margin-right: 0;
}
.app-container .row > * {
    padding-left: 0;
    padding-right: 0;
}

/**
 * forms/loading
 */

input.form-control,
select.form-select {
    border-radius: 0;
    height: 3rem !important;
}

.form-control::placeholder,
select.form-select._placeholder {
    color: #8f9599;
}

input[type=range]:focus {
    outline: none;
}

input[type=range] {
    appearance: none;
    width: 100%;
    border-radius: 3px;
    height: 8px;
    border: 1px solid #aaa;
    background-color: #ccc;
}

input[type='range']::-webkit-slider-thumb {
   appearance: none;
   background-color: #a53c6e;
   border: 2px solid #802e55;
   width: 25px;
   height: 25px;
   border-radius: 50%;
   cursor: pointer;
}

input[type=range]::-moz-range-thumb {
   appearance: none;
   background-color: #a53c6e;
   border: 2px solid #802e55;
   width: 30px;
   height: 30px;
   border-radius: 15px;
   cursor: pointer;
}

.app-loading {
    position: relative;
    pointer-events: none;
}
.app-loading:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background: #ffffff99;
}
.app-loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 11;
    width: 20px;
    border: 4px solid #33333366;
    margin-top: -10px;
    margin-left: -10px;
    animation:
        l20-1 0.8s infinite linear alternate,
        l20-2 1.6s infinite linear;
}
@keyframes l20-1 {
    0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
    12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
    25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
    50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
    62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
    75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
    100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2 {
    0%    {transform:scaleY(1)  rotate(0deg)}
    49.99%{transform:scaleY(1)  rotate(135deg)}
    50%   {transform:scaleY(-1) rotate(0deg)}
    100%  {transform:scaleY(-1) rotate(-135deg)}
}

/**
 * text/colors
 */

b, strong {
    font-weight: bold;
}

.app-text-marker {
    border-radius: 0.8em 0.3em;
    background: transparent linear-gradient(to right, rgba(234, 255, 78, .1), rgba(234, 255, 78, 0.7) 4%, rgba(234, 255, 78, .3));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.app-color-gray {
    color: #777;
}
.app-color-lightgray {
    color: #999;
}
.app-color-error {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}
.app-color-suissetec {
    color: #a53c6e;
}
.app-bg-lightgray {
    background: #f9f9f9;
}
.app-border-lightgray {
    border: 1px solid #efefef;
}

.font-size-08 {
    font-size: 0.8rem !important;
}
.font-size-1 {
    font-size: 1rem !important;
}
.font-size-12 {
    font-size: 1.2rem !important;
}
.font-size-15 {
    font-size: 1.5rem !important;
}
.font-size-2 {
    font-size: 2rem !important;
}

/**
 * common
 */

.app-relative {
    position: relative;
}
.app-absolute {
    position: absolute;
}
.app-fill {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.app-scroll-vertical {
    overflow-y: auto;
    overflow-x: hidden;
}

.word-break-all {
    word-break: break-all;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}
.text-overflow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cursor-pointer {
    cursor: pointer;
}
.app-img {
    display: block;
    height: auto;
}
.app-toggle-height {
    max-height: 0;
    opacity: 0;
    transition: max-height 300ms ease-out, opacity 150ms ease-out;
    position: relative;
    z-index: -1;
}
.app-toggle-height._active {
    max-height: 500px;
    opacity: 1;
    z-index: auto;
}
.app-toggle-height._small._active  {
    max-height: 300px;
}
.app-badge {
    background: #d9d9d9;
    color: #000000;
}

.app-filter-remove {
    cursor: pointer;
    position: relative;
    margin-right: .8em;
    padding-right: 1.6em;
}
.app-filter-remove:after {
    content: 'x';
    display: block;
    position: absolute;
    right: 6px;
    top: 20%;
    opacity: .4;
}
.app-marker {
    transition: all 120ms ease;
}
.app-marker-active {
    color: #f3ee43 !important;
    font-size: 2.25rem;
    position: relative;
    top: 1px;
    text-shadow: 1px 1px 1px #b98300;
}
.alert-default {
    background: #f9f9f9;
    border-color: #f0f0f0;
}

/**
 * modals/tooltips
 */

.app-info-layer {
    position: absolute;
    background: #d9d9d9;
    font-size: .8rem;
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 9;
}

/**
 * icons
 */

.app-ico-info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    height: 1.5em;
    font-size: .7rem;
    font-weight: bold;
    user-select: none;
    border: .16em solid #666;
    color: #666;
    border-radius: 50%;
}
.app-ico-info:after {
    content: '!';
}

.app-ico-help {
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5em;
    height: 1.5em;
    font-size: .8rem;
    font-weight: normal;
    user-select: none;
    background: #a53c6e;
    border-radius: 50%;
    opacity: .8;
    transition: opacity 200ms ease;
    color: white;
}
.app-ico-help:after {
    content: 'i';
    font-weight: bold;
}
.app-ico-help:hover, .app-ico-help._active {
    opacity: 1;
}

/**
 * search-map
 */

.map-container {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio (eg. 3:4 = 0.75) */
    position: relative;
}
.map-container > div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.map-container button:focus {
    outline-style: none;
    border-color: transparent !important;
}

/**
 * skeletons
 */

.app-skeleton {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #dddbdd;
    opacity: .7;
    border-radius: 8px;
}
.app-skeleton::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
    content: '';
}
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes skeleton {
    100% {
        transform: translateX(100%);
    }
}

/**
 * scrollbar
 */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f100;
}
::-webkit-scrollbar-thumb {
    background: #77777799;
    border-radius: 6px;
    transition: all 300ms ease-in;
    opacity: .4;
}
::-webkit-scrollbar-thumb:hover {
    background: #777777;
}

/**
 * Responsive
 */
@media (max-width: 992px) {
    .mobile-d-block {
        display: block !important;
    }
    .mobile-static {
        position: static !important;
    }
    .mobile-mh-600 {
        max-height: 600px;
    }
}

.autocomplete, .autocomplete li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.autocomplete {
    position: absolute;
    left: 0;
    min-width: 200px;
    z-index: 999;
    background: white;
    color: #666;
    border: 1px solid #dedede;
    border-bottom: none;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .45);

    li {
        border-bottom: 1px solid #dedede;
        padding: .34em .7em .34em .7em;
        font-size: .9rem;
        cursor: pointer;
        white-space: nowrap;
    }

    li._active {
        background-color: #f3f3f3;
    }
}
