/* General styles */



.row,
.container-fluid {
    --bs-gutter-x: 0 !important;

}

#model-section #model-control,
#model-section #model-display {
    /*background-color: rgba(255, 235, 205, 0.67);*/
    /*border: solid black 1px;*/
}



#info-section {
    background-color: rgba(234, 110, 110, 0.67);
}



#cookie-request {

    z-index: 15;
    background-color: #ffffff;
    width: 90vw;
    margin: auto;
    border-radius: clamp(1%, 1rem, 10px);
    margin-bottom: 6vh;
    padding: clamp(0.7rem, 1.5vw, 1rem);
}


#cookie-request {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}



#cookie-request {
    overflow: auto;
    font-size: clamp(0.65rem, 2vh, 3rem);

    -webkit-box-shadow: 0px 0px 15px -3px #000000;
    box-shadow: 0px 0px 15px -3px #000000;
    align-content: center;
    display: flex;


}


#cookie-request #cookie-text {
    flex-grow: 1;
    /*margin: 0 0.8rem 0 2rem;*/
}

#cookie-request .check {
    margin: 0 0 0 2rem;
}


#cookie-request .x {
    color: gray;
    align-content: center;
}

#cookie-request .check {
    font-weight: bold;
    align-content: center;
}


.static-message-site {
    align-content: center;
}

.static-message-site img {
    display: flex;

    margin: auto;
    max-height: 100vh;
    max-width: 100vw;

}

.pointer {
    cursor: pointer;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    font-size: clamp(2vh + 0.25rem, 0.8vw + 0.75rem, 3vh);
}

#page-container {
    flex-grow: 1;
}


#footer {
    background-color: #2f2a2a;
    color: white;
    text-align: center;
    font-size: clamp(0.4em, 1.5rem, 0.6em);
    padding: clamp(0.4em, 1.5rem, 0.6em);
    /*position: static;*/
    /*position: fixed;*/

    width: 100%;
}

.non-obvious-link {
    color: inherit;
    text-decoration: none;
}

.non-obvious-link:hover {
    text-decoration: underline;
}

.non-obvious-link:visited {
    color: inherit;
}


#map-subsec {
    display: flex;
}



.section {
    /*padding: 3rem 3.5rem 0 3.5rem;*/
    padding-right: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-left: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    text-align: justify;
}

.secondary-section {
    padding-top: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
}

table {
    text-align: initial;
    font-size: 0.85em;
}

.classic-spacer {
    height: clamp(2vh + 0.25rem, 3vw + 4rem, 2vh + 4rem);
}

.hover-transition:hover {
    color: #b8322fff !important;
    cursor: pointer;
}


.hover-transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
}



.header-group {
    position: sticky;
    top: 0;
    z-index: 12;
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.32);
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.32);
    /*background-color: rgba(255, 255, 255, 0.6);*/
    background-color: rgba(255, 255, 255, 1);
    /*ackdrop-filter: blur(12px);*/
    -webkit-backdrop-filter: blur(12px);
}


.header-group #logo img {
    max-height: 80%;
    height: auto;
    max-width: 100%;
}

.header-group #logo {
    height: 100%;
    align-content: center;
}


.header-group {
    height: clamp(3rem, 10vh, 10vh);
    align-content: center;
}

.header-group #nav .nav-title a {
    text-decoration: none;
    color: inherit;
}

.header-group #nav .nav-title {
    align-items: center;
    text-align: end;
    align-content: center;
    font-weight: 600;

}

#header-landscape .settings-space-group div {
    width: 2rem;
}

.header-group #logo a {
    flex-grow: 1;
    height: 100%;
    display: block;
    align-items: center;
    align-content: center;
}

#header-landscape #nav .settings-space-group div {
    text-align: right;
    align-content: center;
}

#header-landscape .settings-space-group {
    flex-direction: row;
    align-content: center;
    text-align: center;
    flex-grow: 1;
    display: flex;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.9em;
    text-align: left;
}

h3 {
    font-size: 1.6em;
    text-align: center;
}

h5 {
    margin-top: 1em;
    margin-bottom: 0.15em;
    font-size: 1.1em;
    font-weight: 600;
}

.main-page-section {
    /* padding-top: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-bottom: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);*/
    min-height: min(calc(100vh - 2rem), 92vh);
}

#page-containter .main-page-section #contact-subsection {
    display: flex;
}

.t-u {
    text-transform: uppercase;
}

.t-c::first-letter {
    text-transform: capitalize;
}

.bg-em {
    background-color: color-mix(in srgb, var(--bg) 90%, black);
}

#worktime-control #shop-open-status-timer {
    display: flex;
}

#worktime-control #shop-open-status-timer div:first-child {
    flex-grow: 1;
}

#worktime-control,
#contact-control,
#areal-map-control {
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}

.dark-mode-enabled #worktime-control,
.dark-mode-enabled #contact-control,
.dark-mode-enabled #location-section iframe {
    -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 24px 5px rgba(255, 255, 255, 0.48);
    box-shadow: 0px 10px 13px -7px #000000, 5px 5px 24px 5px rgba(255, 255, 255, 0.48);
}





#contact-control #contact-table tr:hover {
    text-decoration: underline;
}

#worktime-control #timer {
    text-align: center;
}


.map-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

#areal-map-control {
    position: relative;
    overflow: hidden;
}

#areal-map-control iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.subsection {
    will-change: transform;
}

#page-container #location-section {
    overflow-x: hidden;
    overflow-y: hidden;
}


body {
    overflow-x: hidden;
}


#page-container #info-section {
    position: relative;
}

/* VIDEO */
.bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: 0;
    animation: slowVideo 20s linear infinite;

    transform: none;
    /* prevent edge gaps */

    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));


}


.bg-video {
    /*   filter: blur(0.5em); */
}


.bg-video {
    /*
    border-top: solid 2em white;
    border-bottom: solid 2em white;
    */
}

.dark-mode-enabled .bg-video {
    /*
    border-top: solid 2em var(--poknet-bg-dark);
    border-bottom: solid 2em var(--poknet-bg-dark);
    */
}


#location-section {
    position: relative;
}

.control {
    border-radius: 0.3em;
}


#location-section {
    padding-bottom: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    min-height: 100vh;
}

.header-space {
    max-width: 100vw;

}

#info-section .text-subsection {

    position: absolute;
    top: 1em;
    max-height: 100%;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    color: white;
    height: 100%;

    padding-left: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-right: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-top: 2em;
    padding-bottom: 3em;


}

#info-section .text-subsection .title {
    letter-spacing: -0.025em;
    font-weight: 700;
    text-align: center;

}


#info-section .text-subsection .body {
    font-weight: 400;
    color: white;

    flex-grow: 1;
    text-align: left;



}




#page-container #info-section {
    overflow-y: hidden;
}

/*
.led-container {
    position: sticky;
    bottom: 0;
    z-index: 15;
    padding: 0.2em;
}
*/

.led-container {
    background-color: var(--poknet-bg-light);
    color: var(--poknet-text-light);
}

.dark-mode-enabled .led-container {
    background-color: var(--poknet-bg-dark);
    color: var(--poknet-text-dark);
}


.modal .modal-content {
    background-color: var(--poknet-bg-light);
    color: var(--poknet-text-light);
}

.dark-mode-enabled .modal .modal-content {
    background-color: var(--poknet-bg-dark);
    color: var(--poknet-text-dark);
}


#model-section #model-control {
    z-index: 10;
    padding-left: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-top: clamp(2vh + 0.25rem, 2vw + 2rem, 3vh);
    padding-bottom: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);


}


#model-section #image-view-controls {
    z-index: 0;
    padding-right: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
    padding-top: clamp(2vh + 0.25rem, 2vw + 2rem, 3vh);
    padding-bottom: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);

}



#model-section {
    position: relative;
    z-index: 9;
    /*
        padding-left: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
        padding-top: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
        padding-bottom: clamp(2vh + 0.25rem, 2vw + 2rem, 8vh);
        */
}




#c {
    /* pointer-events: none;*/
}

#info-section {
    z-index: 11;
}


#model-section #model-control #models-list {
    height: 100%;
    overflow-y: auto;

    /* 
    scrollbar-width: none;
    -ms-overflow-style: none;s
    */
}



#model-section #model-control #models-list::-webkit-scrollbar {
    /*display: none;*/
}

#model-section #model-control #models-list .li-i {
    min-height: 15%;
    padding: 1em;
    border-radius: 10px;
    text-transform: capitalize;
    display: flex;
    cursor: pointer;
}

#model-section #model-control #models-list .li-i .li-text {
    flex-grow: 1;
}

.dark-mode-enabled #model-section #model-control #models-list .li-i:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode-enabled #model-section #model-control #models-list .li-i:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.15);

}

#model-section #model-control #models-list .li-i:nth-child(odd) {
    background-color: rgba(47, 42, 42, 0.05);
}

#model-section #model-control #models-list .li-i:nth-child(even) {
    background-color: rgba(47, 42, 42, 0.15);
}

/* background-color: rgba(184, 50, 47, 0.15) !important;*/


#model-section #image-display {
    height: 100%;
}

#model-section #model-display #canvas-wrapper img {
    /* width: 100%; */
}



.dark-mode-enabled #model-section #model-control #models-buttons div.selected {
    background-color: var(--poknet-primary-dark);
}

#model-section #model-control #models-buttons div.selected {
    background-color: var(--poknet-bg-light-2);
}

#model-section #model-control #models-buttons {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5em;
    border-radius: 10px;
}

#model-section #model-control #models-buttons div {
    flex-grow: 1;
    text-align: center;
    padding: 1em;
    border-radius: 10px;
    cursor: pointer;

}

.display-none-switch {
    display: none;
}

.bg-trans-2 {
    background-color: var(--poknet-bg-light-trans-2);
}

.dark-mode-enabled .bg-trans-2 {
    background-color: var(--poknet-bg-dark-trans-2);
}



#model-section #model-display #image-view #image-container img {
    width: 100%;

}



#model-section #image-view-controls div div {
    background-color: var(--poknet-bg-light-trans-2);
}

.dark-mode-enabled #model-section #image-view-controls div div {
    background-color: var(--poknet-bg-dark-trans-2);
}


#image-view {
    height: 100%;
}

.dark-mode-enabled #image-view {
    background-color: var(--poknet-bg-dark);
}

#image-view {
    background-color: var(--poknet-bg-light);
}


#model-section {
    overflow: visible;
}

#model-display {
    height: 50vh;
    min-height: 0;
}

#image-view {
    height: 100%;

    display: flex;
    flex-direction: column;
    min-height: 0;
}

#image-view>div {
    flex-shrink: 0;
}

.section {
    scroll-margin-top: calc(10vh - 10px);
}







/* OVERLAY */
.overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    align-content: center;
    text-align: center;
}

.dark-mode-enabled .overlay {
    background-color: var(--poknet-bg-dark);
}

.overlay {
    background-color: var(--poknet-bg-light);
}

.overlay img {
    width: clamp(5em, 20vw, 10em);
    height: clamp(5em, 20vw, 10em);
    border-radius: 0.3em;
}

.overlay {
    pointer-events: none;
    display: none;
}



/* MODEL DISPLAY*/

#model-section #model-display #canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 2;

}

#model-section #model-display #image-view {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}



#worktime-notification {
    padding: 0.5em;
}


#areal-map-control {
    align-content: center;
}

.enable-cookies-1 {
    text-decoration: underline;
    cursor: pointer;
}

.cookie-placeholder-text {
    text-align: center;

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;


}

.cookie-placeholder-wrapper {
    align-content: center;
    position: relative;
    height: 100%;
    width: 100%;
}

.cookie-placeholder-icon {
    filter: blur(0.15em);
}


#page-loader-element {

    position: fixed;
    inset: 0;
    background: #ffffff;
    /* match your theme */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;

}


.dissapear {
        display: none!important;
    }