/* ----------------------------------------------------------------------------------- */
/* Shared/styles.css site wide */
/* ----------------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    padding: 0;
}

strong {
    font-weight: 700;
}

.v-middle {
    vertical-align: middle;
}

/* ----------------------------------------------------------------------------------- */
/* accessibility */
/* ----------------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ----------------------------------------------------------------------------------- */
/* swal forms */
/* ----------------------------------------------------------------------------------- */
.not-visible {
    display: none;
}

/* ----------------------------------------------------------------------------------- */
/* keyframes */
/* ----------------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ----------------------------------------------------------------------------------- */
/* Navigation (large screens) */
/* ----------------------------------------------------------------------------------- */
.navigation-large-screen a.navigation-item {

}

/* ----------------------------------------------------------------------------------- */
/* Navigation (small screens) */
/* ----------------------------------------------------------------------------------- */
.navigation-small-screen {
    visibility: hidden;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    top: 20px;
    inset-inline-end: 0;
    z-index: 1000;
}

.navigation-button-container {
    width: 100%;
    text-align: end;
    margin-inline-end: 10px;
}

.reception-page .navigation-button-container {
    margin-inline-end: 50px;
}

button.navigation-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    color: #000;
}

img.burger-menu {
    width: 2em;
}

.navigation-small-screen > ul {
    width: 100%;
}

.navigation-small-screen > ul {
    display: none;
}

.navigation-small-screen > ul.navigation-open {
}

.navigation-small-screen li a {
    overflow: hidden;
    white-space: nowrap;
}

.navigation-small-screen li a svg {
    flex-shrink: 0;
}

/* ----------------------------------------------------------------------------------- */
/* Tippy */
/* ----------------------------------------------------------------------------------- */
.tippy-box[data-theme~='portfolio'] {
    min-width: 300px;
    background: white;
    font-size: 1em;
    color: #B45309;
    border-radius: 99px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.tippy-box[data-theme~='portfolio'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: white;
}

.tippy-box[data-theme~='portfolio'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: white;
}

.tippy-box[data-theme~='portfolio'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: white;
}

.tippy-box[data-theme~='portfolio'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: white;
}

/* ----------------------------------------------------------------------------------- */
/* Tippy dark */
/* ----------------------------------------------------------------------------------- */
.tippy-box[data-theme~='portfolio-dark'] {
    min-width: 300px;
    background: #000;
    font-size: 1em;
    color: #fff;
    border-radius: 99px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
}

.tippy-box[data-theme~='portfolio-dark'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: white;
}

.tippy-box[data-theme~='portfolio-dark'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: white;
}

.tippy-box[data-theme~='portfolio-dark'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: white;
}

.tippy-box[data-theme~='portfolio-dark'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: white;
}

/* ----------------------------------------------------------------------------------- */
/* Action buttons (admin) */
/* ----------------------------------------------------------------------------------- */
.action-button-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    min-width: 90px;
    background-color: white;
    color: #B45309;
    border: 1px solid #B45309;
    padding: 5px 10px;
    font-size: 12px;
    height: 30px;
    border-radius: 4px;
    font-weight: 400;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.action-button svg {
    width: 1.5em;
    height: 1.5em;
}

.action-button-small {
    min-width: revert;
}

.action-button.selected {
    background-color: #fff7ed;
}

.action-button-disabled {
    background-color: #f5f5f5;
    color: #999;
    border: 1px solid #ccc;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.action-button-icon {
    width: 1.5em;
}

.action-button:hover {
    background-color: #fff7ed;
}

.delete-button {
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

.delete-button:hover {
    background-color: #f7c2c8;
    color: white;
}

/* ----------------------------------------------------------------------------------- */
/* All forms */
/* ----------------------------------------------------------------------------------- */
input.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border: 2px solid;
}

.form-button {
    cursor: pointer;
}

.field-validation-error {
    font-size: 0.9em;
}

/* ----------------------------------------------------------------------------------- */
/* Blank forms */
/* ----------------------------------------------------------------------------------- */
.blank-form-group-row {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}

.blank-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    flex: 1;
}

.blank-form-group input, .blank-form-group select, .blank-form-group textarea, .blank-form-group button {
    flex: 1;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.blank-form-group button {
    font-size: 2em;
}

.blank-form-group div.validationMessage {
    flex: 1;
    min-height: 2em;
    width: 100%;
}

.blank-form-group-checkbox {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    margin-bottom: 10px;
}

.form-field-confirm-email {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    display: none;
}

/* ----------------------------------------------------------------------------------- */
/* Editor forms */
/* ----------------------------------------------------------------------------------- */
.form-group {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.form-group label:not(.switch) {
    width: 120px;
}

.form-group > div.input-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding-right: 40px;
}

.form-group > div.input-container > input,
.form-group > div.input-container > select,
.form-group > div.input-container > textarea {
    flex: 1;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group > div.input-container > div.validationMessage {
    flex: 1;
    min-height: 2em;
}

.form-line {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.form-line-label {
    flex: 0 0 120px;
}

.form-line-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-line-content > span {
    flex: 1;
}

/* ----------------------------------------------------------------------------------- */
/* Check-box slider */
/* ----------------------------------------------------------------------------------- */
.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 25px;
    min-width: 50px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    inset-inline-start: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #ffead6;
}

input:focus + .slider {
    box-shadow: 0 0 1px #ffead6;
}

[dir="ltr"] input:checked + .slider::before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

[dir="rtl"] input:checked + .slider::before {
    -webkit-transform: translateX(-26px);
    -ms-transform: translateX(-26px);
    transform: translateX(-26px);
}

.slider.round {
    border-radius: 30px;
}

.slider.round::before {
    border-radius: 50%;
}

/* ----------------------------------------------------------------------------------- */
/* Content HTML */
/* ----------------------------------------------------------------------------------- */
.content-html table {
    width: 100%;
    border-collapse: collapse;
}

.content-html table td {
    padding: 5px;
}

/* ----------------------------------------------------------------------------------- */
/* SVG icons */
/* ----------------------------------------------------------------------------------- */
.svg-icon {
    width: 1em;
    height: 1em;
}

.svg-icon-verified {
    color: #1d9bf0;
}

.svg-icon-menu {
    width: 30px;
    height: 30px;
}

.svg-icon-globe {
    width: 25px;
    height: 25px;
}

.svg-icon-warning {
    --icon-warning-bg-color: #ffd700;
    width: 25px;
    height: 25px;
}

.svg-icon-warning:hover {
    --icon-warning-bg-color: #fff7ed;
}

/* ----------------------------------------------------------------------------------- */
/* Tri-state selector */
/* ----------------------------------------------------------------------------------- */
.tsi-wrapper {
    display: flex;
    justify-content: center;
}

.tsi-input {
    -webkit-appearance: none;
    appearance: none;
    height: 25px;
    width: 60px;
    background-color: transparent;
    cursor: pointer;
}

.tsi-input::-webkit-slider-runnable-track {
    -webkit-border-radius: 25px;
    border-radius: 25px;
    margin: 0;
    height: 25px;
    width: 60px;
    padding: 2px;
}

.tsi-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    background-color: #fff;
}

.tsi-off::-webkit-slider-runnable-track {
    background-color: #F2D2BD;
}

.tsi-default::-webkit-slider-runnable-track {
    background-color: #333;
}

.tsi-on::-webkit-slider-runnable-track {
    background-color: #00e676;
}

.tsi-input:focus {
    outline: none;
}

/* ----------------------------------------------------------------------------------- */
/* video */
/* ----------------------------------------------------------------------------------- */
.video-player-container {
    margin: 0;
    padding: 0;
    background-color: #000;
    overflow: hidden;
}

.video-player-wrapper {
    height: 80vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-player {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.video-player-container.ginlined-content {
    margin: 0;
    padding: 0;
}

.slide-not-visible {
    visibility: hidden;
}

/* ----------------------------------------------------------------------------------- */
/* video play button overlay */
/* ----------------------------------------------------------------------------------- */
.gallery-item-overlay-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-overlay-container .svg-video-play-button {
    height: auto;
    background-color: transparent;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

/* ----------------------------------------------------------------------------------- */
/* Media type indicators */
/* ----------------------------------------------------------------------------------- */
.gallery-item-footer {
    display: none;
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    font-size: 10px;
    padding: 4px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.gallery-item-footer svg {
    height: 16px;
    width: 16px;
}

.admin-gallery-item:hover .gallery-item-footer,
.site-review-gallery-item:hover .gallery-item-footer{
    display: block;
}

.gallery-item-footer-content {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

/* ----------------------------------------------------------------------------------- */
/* Media queries */
/* ----------------------------------------------------------------------------------- */
@media screen and (max-width: 575px) {
    input:checked + .slider::before {
        -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
        transform: translateX(20px);
    }

    .content-html colgroup {
        display: none;
    }

    .content-html table tr {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 5px;
        width: 100%;
    }

    .content-html table td {
        display: block;
        margin: 0;
        width: 100%;
    }

    .content-html table td, .content-html p {
        box-sizing: border-box;
    }

    .content-html table td img, .content-html p img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    .navigation-small-screen {
        width: 50%;
        visibility: visible;
    }

    .navigation-large-screen {
        display: none;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group label {
        width: auto;
    }

    .form-group > div.input-container {
        width: 100%;
    }
}

