#page:has(#rfc_editor) {
    padding-top: 0px !important;
}

#rfc_editor {
    height: 100%;
}

body {
    --keyboardheight: 0px;
}

body.preview_rfc_mobile {

    --keyboardheight: 0px !important;
}

body:has(.rfc_values_mobile) #rfc_editor #rfc_view_cntr {
    max-height: calc(100svh - var(--maxheight) - var(--keyboardheight));
    margin: 0px;
}


body:has(.rfc_values_mobile) #rfc_editor #rfc_view_cntr .cartSVG {
    margin: 25px 0px;
}

body:has(#kiosk_init) #header {
    display: none;
}

body, html {
    min-height: 100svh;
}

#rfc_editor:has(.rfc_values_mobile) {
    grid-template-rows: 1fr max-content max-content !important;
    height: 100svh !important;
}

.rfc_last_step #rfc_editor:has(.rfc_values_mobile) {
    grid-template-rows: 75px 1fr !important
}

.rfc_last_step #rfc_editor .grouppp_cntr .rfc_preview #rfc_view_cntr {
    max-height: 50svh;
}



.wcam {
	--wcam_ratio: 9/16;
    display: flex;
    justify-content: center;
}

#kiosk_init {
    height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(var(--rfc_dark), var(--rfc_blue)); 
    font-size: 20px;
    color: white;
    padding: 20px;
}

.wide .overlay-content:has(#add_to_cart_form) {
    padding: 0px;
}

#add_to_cart_form {
    width: 100%;
    padding: 15px;
}

#wcam_button {
    display: flex !important;
    aspect-ratio: 1;
    border-radius: 50%;
    width: auto !important;
    height: 17.5svh;
    margin: 20px auto;
    grid-column: auto / span 2;
    justify-content: center;
    align-items: center;
}
.rfc_blockss {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.rfc_blockss .block_item label {
    height: auto;
    grid-template-columns: 80px 1fr;
}


.rfc_blockss .block_item .pop {
    padding: 5px;
}

.rfc_blockss .block_item.active label {
    grid-template-columns: 80px 1fr;
}

.rfc_blockss .block_item {
    width: auto;
}

.rfc_blockss. .block_item {
    height: auto;
}

.simple-keyboard.hg-theme-default{
    transition: max-height .75s;
    max-height: var(--keyboardheight);
    padding: 0px;
    border-radius: 0px;
}

.simple-keyboard.hg-theme-default>.hg-rows {
    margin: 5px;
    margin-top: 15px;
}

.simple-keyboard[data-style="fixed"]{
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
}

.hg-theme-default {
  background: rgb(255 228 205) !important;    
}

.hg-theme-default .hg-button {
    height: 45px !important;
}

#page:has( .simple-keyboard[data-style="fixed"] ){
    padding-bottom: var(--keyboardheight);
}


#wcam_button:after  {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 5px solid white;
}

#wcam_button  svg {

    width: 60px;
    height: 60px;
}




.cou.fancy svg:not(.cartSVG), .rfc_values_content svg:not(.cartSVG) {
    fill: currentColor;
    filter: none !important;
    width: 18px;
}

.chooseDesignSterrenteamKiosk .cartSVG {
    height: auto;
    max-height: none;
    width: 30svw;
}

#kiosk_kiosk {

}

.scroll_cntr .img_flex {
    display: grid;
            grid-template-rows: 1fr 1fr;
        grid-auto-flow: column;
}

body:has(.rfc_values_mobile) #rfc_editor .scroll_cntr .img_flex .cartSVG {
    margin: 0px 0px !important;
}

body:has(.rfc_values_mobile) #rfc_editor .scroll_cntr .img_flex #rfc_view_cntr {
    padding-bottom: 0px !important;
}

#page:has(.checkout_simple_kiosk){
    padding: 10px !important;
}

#page:has(.checkout_simple_kiosk .simple-keyboard[data-style="fixed"]){
    padding-bottom: var(--keyboardheight) !important;
}

#rfc_editor .grouppp_cntr .scroll_cntr .img_flex .rfc_card #rfc_view_cntr {
    height: 175px;
    width: 165px;
}

ul#cb1-listbox {
    top: 44px;
    border: none;
    background: #eee;
    border-radius: 7px;
}

#kiosk_init .flexxx  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#kiosk_init .flexxhor  {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#kiosk_editor {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
}

#kiosk_editor #wcam {
    display: none;
}
.wcam .camera, .wcam .output {
    width: auto;
    max-height: calc(var(--maxheight) - 120px);
    aspect-ratio: var(--wcam_ratio);
    display: flex;
    align-items: center;
    justify-content: center;
}


.wcam #video {
    background: var(--rfc_blue);
    border-radius: 50px;

}

.megaInput {
    padding: 50px;
    font-size: 30px;
}

.wcam #canvas {
	display: none;
}

.wcam #photo {
  width: 100%;
  aspect-ratio: var(--wcam_ratio);
}

.timer:after {
	z-index: 95;
	content: '';
	position: fixed;
	inset: 0;
	background: var(--rfc_blue);
}

.btn:not(.btn-slanted) {
    border-radius: 50px;
}


.co_b_address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    justify-content: flex-start;
}

#page:has(.checkout) {
    min-height: 100svh;
    padding: 25px 25px !important;
}
#shareDesign_btn {
    display: none !important;
}


.timer .camera {
    position: fixed;
    z-index: 99;
    left:50%;
    top: 50%;
    background: var(--rfc_blue);
    max-width: none;
    transform:translate(-50%,-50%);
}


.timer .wcam #video {
    padding: 0px;
    border-radius: 50px;
    height: 95svh;
    width: auto
    ;
}

#fotoOnPhone2 {
    padding: 25px 10px;
    width: 100%;
    max-width: none;
    border-radius: 50px;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rfc_photo_buttons_inline {
    width: 100%;
}


.fly_in_number.animate {
    transition: 1s;
    xxtransform: translate(-50%, -50%) scale(1);
	animation: number_fly_in linear 0.95s forwards;

}

#fotoOnPhone {
    display: flex;
}

@keyframes number_fly_in{
	0% {
    	transform: translate(-50%, -50%) scale(2);
    	opacity: 0.9;
	}
	75% {

    	opacity: 0.85;
	}
	100% {

    	transform: translate(-50%, -50%) scale(0);
    	opacity: 0;
	}
}

.fly_in_number {
    position: fixed;
    top: 50svh;
    left: 50svw;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: 50% 50%;
    font-size: 100svh;
    line-height: 100svh;
    z-index: 102;
    color: white;
    display: block;
    -webkit-text-stroke: 10pt var(--rfc_orange);
    font-family: 'obvia-expanded';
}

.timer-flash:after {
	z-index: 99999999;
	content: 'flits';
	position: fixed;
	inset: 0;
	background: rgba(255,255,255,1);
    text-shadow: 0 0 100px var(--rfc_orange);
    color: white;
    font-family: 'obvia-expanded';
    font-size: 10svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 10px;
    text-transform: uppercase;
}

/*
.overlay>div {
    width: 100svw;
    height: 100svh;
    max-width: none;
    max-height: none;
}*/
#upload-overlay {
    overflow: hidden;
}

#upload-overlay>div {
    max-width: none;
    height: 100svh;
    background: var(--rfc_blue);
    color: white;
}

#rfc_editor .rfc_values_mobile .griddd {
    padding: 0px 5px;
}



body #kiosk_kiosk #upload-overlay li:before {
    background-image: url('/rfc/img/time_white.svg');
}

body #kiosk_kiosk #upload-overlay li.busy:before {
    background-image: url('/rfc/img/time_orange.svg?v1');
}

body #kiosk_kiosk #upload-overlay li.active:before {
    background-image: url('/rfc/img/check_mark.svg');
}

.rfc_last_step #rfc_editor.sterrenteam:has(.rfc_values_mobile) {
    grid-template-rows: 1fr max-content;
}

.sterrenteam #rfc_values .rfc_values_header>div>div {
    width: calc(100% / var(--steps));
}

.sterrenteam #rfc_values .rfc_values_header>div {
    width: 100%;
}

#rfc_editor {
    --maxheight: calc(50svh); 
}

#rfc_editor .grouppp_buttons {
    padding-bottom: calc( var(--keyboardheight) * 1px) !important;
}


#dropzone_1405 {
    display: none;
}


.combobox {
    --cbbw: 100px;
    width: 100%;
}

#rfc_editor.kiosk #wcam, #rfc_editor.kiosk #wcam_button {
    display: none !important;
}


.combobox .group {
    display: grid;
    cursor: pointer;
    grid-template-columns: 1fr max-content;
    align-items: flex-start;
    width: 100%;
}

#kiosk_init .combobox input,#kiosk_init .combobox button {
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    outline: none;
    height: var(--cbbw);
    color: currentColor;
    font-size: 20px;
}

#kiosk_init .combobox input {
    padding-left: 15px;
    min-width: 350px;
}

#kiosk_init .combobox button {
    width: var(--cbbw);
    color: white;
    background: var(--rfc_blue);
    transform: rotate(90deg);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 4px;
}

.combobox ul[role="listbox"] {
    margin: 0;
    padding: 0 !important;
    position: absolute;
    left: 0px;
    top: var(--cbbw);
    list-style: none;
    display: none;
    border: 1px solid #4b4b4b;
    max-height: 400px;
    width: 100%;
    overflow: scroll;
    overflow-x: hidden;
    cursor: pointer;
    z-index: 999;
    background: white;
}

#search_nominees:has( ul[role="listbox"][style*="block"]  ):after {
    content: '';
    position: fixed;
    inset: 0;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.65);
    background: #f279799c;
    z-index: 2;
}

#crop_cntr {
    padding: 0px;
}

#search_nominees>* {
    z-index: 3;
}

.combobox:has( ul[role="listbox"][style*="block"]  ) button{
    xxborder-radius: 6px 0 0 0;
}


.combobox:has( ul[role="listbox"][style*="block"]  ) input{
    xxborder-radius: 6px 0 0 0;
}

.combobox input {
    border-radius: 0px;
}

.alert {
    border-radius: 0px;
}

.combobox ul li {
    display: grid;
    flex-direction: column;
    border-bottom: 1px solid #4b4b4b;
    align-items: center;
    margin: 0;
    padding-left: 10px;
    padding-top: 12.5px !important;
    padding-bottom: 12.5px !important;
}

.combobox ul[role="listbox"] li[role="option"]:after {
    content: 'kies';
    background: white
    color: var(--accent_color);
    padding: 5px 7.5px;
    opacity: 0;
    position: absolute;
    right: 0px;
}

[role="listbox"].focus [role="option"][aria-selected="true"]:after,
.combobox ul[role="listbox"] li[role="option"]:hover:after{
    opacity: 1;
}

[role="listbox"].focus [role="option"][aria-selected="true"],
[role="listbox"] [role="option"]:hover {
  background-color: var(--accent_color);;
}

.wcam_cntr {
    width: 350px;
    margin-bottom: 50px;
}

.combobox input {
    color: black;
}

.sterrenteam #rfc_values .rfc_values_popup {
    display: none;
}

#rfc_editor.sterrenteam #shareDesign_btn {
    display: none;
}




.grouppp_buttons {
    width: min(calc(var(--maxwidth)  - 20px ), calc(100svw  - 20px ));
}

#rfc_form .overlay-header .btn.btn-pill {
    display: none;
}



/* KIOSK OP KIOSK */

@media (orientation: portrait) {

    #fotoOnPhone,
    .dropzone_first {
        display: none !important;
    }

    #rfc_form .rfc_photo_buttons_inline {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .show_buttons_inline .rfc_photo_buttons_inline>* {
        width: 100% !important;
    }


    .rfc_values_content .dropzone {
        max-width: none;
        margin: 0px;
        font-size: 11px;
        padding: 12.5px 10px 12.5px 10px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        flex-direction: column;
        row-gap: 5px;
        line-height: 1.2;
        font-weight: normal;
        width: min-content;
    }

    #currentPic {
        display: none !important;
    }

    .rfc_values_content .dropzone span {

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        row-gap: 5px;
    }


    .grouppp_cntr[data-step="0"] .grouppp {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: flex-start;
        align-items: flex-start;
    }

    #rfc_editor .rfc_values_mobile input, #rfc_editor .rfc_values_mobile select {
        font-size: 22px;
        height: 44px;
    }

    .griddd b {
        line-height: 44px;
        font-size: 18px;

    }

    #rfc_editor svg {
        filter:drop-shadow(0px 0px 10px #021849);
    }

    #page:has(#rfc_editor) {
        background: linear-gradient(var(--rfc_orange2), var(--rfc_orange));
    }

    .stnitu {
        display: none;
    }

    .overlay>div, .wide.overlay>div {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        overflow: hidden;
    }

    #wcam_button {
        background: var(--rfc_blue);
    }

    #pickDifferentPic {
        display: none !important;
    }

    .griddd:has(input:focus):before{
        content: '';
        inset: -5px;
        position: absolute;
        background: rgb(255 228 205) !important;
        transition: .25s;
    }

    input:focus {
        background: rgb(252 215 184) !important;
    }




}







/* KIOSK OP LAPTOP */

@media (orientation: landscape) {
    #wcam {
        display: none;
    }

   /* .rfc_values_content .dropzone {
        display: block !important;
    }*/

    .simple-keyboard,
    #wcam_button {
        display: none !important;
    }

    .dropzone {
        padding: 25px 10px;
        min-height: 0px;
    }



}