:root {

	--rfc_orange: rgb(240, 126, 33);
    --rfc_orange2: #ea4d24;


	--rfc_grey: #eaeef5;
	--rfc_blue: rgb(18, 59, 99);
	--rfc_red: #cb0101;
	--rfc_blue_dark: #021849;

	--beige: var(--rfc_grey);

	--rfc_dark: #0c0d2b;

    --container--max-width: 1650px;
    --container-small-width: 1400px;

}

#rfc_editor {
	display: grid;
	grid-template-columns: max-content 1fr;
	column-gap: 25px;
	margin-top: 25px;
	width: 100%;
	max-width: var(--container--max-width);	
	margin-left: auto;
	margin-right: auto;
}

.jcrop-holder input {
	display: none !important;
}

#add_to_cart_form {
	background: var(--rfc_grey);
	padding: 20px;
}

#rfc_editor #rfc_view_cntr {
	max-height: calc( 100svh - 100px);
	position: sticky;
	top: 90px;
}

#rfc_view_cntr .cou {
	position: absolute;
	left: 0;
	top: 0;
}


#watermark2 {
	animation: rfc_watermark 4s linear infinite;
}

    @keyframes rfc_watermark {
    	29%, 71% {
		    opacity: 0;
		}
		0%, 21%,79%, 100% {
		    opacity: 1;
		}
    }

.rfc_skewie_blocks.rfc_blocks .skewie {
	background: var(--color);
	color: black;
}


#upload-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9001; 
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(5px);
    left: 0px;
    top: 0px;
    overflow-y: scroll;
    display: none;
}

#upload-overlay ul {
    text-align: left;
}

#upload-overlay li:before {
    content: '';
    position: absolute;
    left: -75px;
	background-image: url('/rfc/img/time_gray.svg');  
	xxbackground-image: url('/rfc/img/check_mark_gray.svg');    
	display: block;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#upload-overlay li.busy {
	color: var(--rfc_orange);
	transition: .3s;
    opacity: 1;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

#upload-overlay li.busy:before {
	background-image: url('/rfc/img/time_orange.svg');    
    animation: rotate linear 1s infinite;
}

#upload-overlay li.active:before {
	background-image: url('/rfc/img/check_mark.svg');    
}

#upload-overlay li {
	transition: .3s;
    list-style-type: none;
    line-height: 50px;
    font-size: 110%;
    font-family: 'obvia-expanded';
    opacity: 0.5;
}

#upload-overlay li.active {
	color: #277b13;
	transition: .3s;
    opacity: 1;
}


.grouppp_cntr h3 {
	margin-bottom: 7.5px;
}

#rfc_values {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

#rfc_values>div {
	background: none;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
}


.rfc_warning .dismiss {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}

.alert.alert-orange {
    background: rgb(254 203 161);
    margin: 30px;
    color: rgb(93 43 2);
    border: 1px solid rgb(93 43 2);
    border-radius: 7px;
}

.alert.alert-red {
    background: rgb(227 162 162);
    margin: 30px;
    color: rgb(90 6 6);
    border: 1px solid rgb(90 6 6);
    border-radius: 7px;
}

.img_flex {
    display: grid;
    gap: 25px;
    align-items: stretch;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
}


.img_flex>div {

	background: white;
	border: 1px solid #ddd;
	border-radius: 3px;
	cursor: pointer;
}

.img_flex>div.chosen,.rfc_blockss .block_item.active, .img_flex>.rfc_card.chosen {
	border: 2px solid var(--rfc_blue);
}

.img_flex>div.chosen:after,.rfc_blockss .block_item.active:after, .img_flex>.rfc_card.chosen:after {
    content: var(--content);
	position: absolute;
	left: 0px;
	top: 0px;
	background: var(--rfc_blue);
	padding: 5px;
	font-size: 10px;
	color: white;
	letter-spacing: .5px;
}


.grouppp_cntr {
padding: 20px 20px 12.5px 20px;
border-radius: 0px;
xxbackground: linear-gradient(0deg, #d9d9d9bd, #f1f1f1d6);
background: #ffffff45;
background: radial-gradient(#ffffff45, #ffffff21);
color: #d8d8d8;
height: 100%;
    border: 1px solid #ffffff2b;
}

.cou {
    text-decoration: underline;
    color: rgb(130 193 255);
    cursor: pointer;
    font-size: 12px;
    display: block;
    width: max-content;
    margin-left: auto;
    margin-right: 0px;
}

.cou:hover, .dropzone:hover, .btn:hover {
	opacity: 0.9;
}

.cou.fancy, .dropzone {
    font-size: 15px;
    padding: 7px 10px;
    background: white;
    border: none;
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 2.5px 0px 2.5px 0px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: auto;
    font-family: system-ui;
    border-radius: 0px;
    width: 100%;
    max-width: 250px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    background: var(--rfc_blue);
    text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
    font-family: 'raleway';
    font-weight: bold;
    letter-spacing: .25px;
    user-select: none;
}

.dropzone.simple * {
	font-family: inherit;
	color: currentColor;
}


#upload-overlay>div {
    position: absolute;
    width: 100%;
    max-width: 500px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: auto;
    min-height: 300px;
    border-radius: 3px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    row-gap: 25px;
    padding: 25px;
}

.overlay-content {
	height: auto;
	overflow-y: auto;
	max-height: calc(100svh - 70px);
	min-height: 50px;
}



#rfc_spinner, .loader {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9999;
    background: rgba(0,0,0,0.65);
    left: 0px;
    top: 0px;
    display: none;
    backdrop-filter: blur(5px);
}

	#rfc_spinner>div, .loader>div {
		position: absolute;
	    left: 50%;
	    top: 50%;
	    transform: translate(-50%,-50%);
	    height: auto;
    }

    .rfc_spinner_bars, .loader-inner {
    	display: flex;
    	column-gap: 10px;
    	align-items: center;
    	height: 125px;
    	width: auto;
    	transform:none;
    }

    	.rfc_spinner_bars>div, .loader-inner>div {
    		width: 50px;
    		background: var(--rfc_orange);
    		transform: skew(-15deg);
    		animation: rfc_spinner 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite !important;
    		animation-delay: calc( var(--i) * 0.12s) !important;
    		position: relative;
    		top: auto;
    		left: auto !important;
    		border-radius: 0px;
    		height: 125px;
    	}

    	.loader-inner>div:nth-child(4){
    		display: none;
    	}


    @keyframes rfc_spinner {
    	0% {
		    height: 125px;
		    background: white;
		}
		50%, 100% {
		    height: 75px;
    		background: var(--rfc_orange);
		}
    }

#crop_cntr {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px;
}

.jcrop-holder, .jcrop-holder * {
	box-sizing: initial;
	position: initial;
}


#rfc_editor .overlay-header-cntr .times {
	opacity: 0;
	transition: .5s;
}

#rfc_view_cntr .overlay-header-cntr {
	overflow: hidden;
	width: 100%;
}

#rfc_view_cntr .zoom_buttons {
	display: none;
}



#rfc_drag .cartSVG {
cursor: move;
}

#rfc_values>div h3:nth-child(2){
	margin-top: 10px;
}



.currentPic_choser {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	column-gap: 25px;
    max-width: 325px;
    margin: 0px auto;
}

#currentPic input[type="button"] {
    background: var(--rfc_orange);
    color: white;
    border-radius: 0;
    display: block;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 14px;
    font-size: 18px;
    margin: 0px;
    width: 30px;
    height: 30px;
    padding-bottom: 9px;
}

#currentPic .currentPic_choser .currentPic_img {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff59;
	aspect-ratio: 1;
    width: 100%;
}

#currentPic .currentPic_choser .currentPic_img img {
	background: none;
}

#currentPic .currentPic_choser .currentPic_img:has(>input:checked){
	border: 2px solid var(--rfc_orange);
}

.currentPic_img input[type="radio"]{
	display: none;
}

.currentPic_img {
	width: max-content;
    margin: 0px auto;
    margin-bottom: 15px;
    margin-top: 10px;
}

#currentPic img {
    width: 125px;
    height: 125px;
    object-fit: contain;
    background: white;
}

.rfc_warning {
	position: absolute;
	top: 30px;
}


.combobox .group {
    display: grid;
    cursor: pointer;
    grid-template-columns: 1fr max-content;
}

.combobox input,
.combobox button {
  height: 32px;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  outline: none;
}

#combobox_chosen {
    margin-top: 5px;
    height: 24px;
    display: grid;
    align-items: center;
    font-size: 12px;
    background: var(--rfc_orange);
    color: white;
    align-items: center;
    justify-content: center;
    width: max-content;
    grid-template-columns: max-content auto;
    column-gap: 10px;
    padding: 0px 10px;
    border-radius: 4px;
    user-select: none;
}

.combobox img {
	width: 16px;
	height: 16px;
	cursor: pointer;
	padding: 3px;
}

.combobox .times img {
	width: 19px;
}

#rfc_editor .combobox input {
  font-size: 87.5%;
  padding: 1px 1px 1px 10px;
  border-radius: 6px 0 0 6px;
}

#rfc_editor .combobox button {
    width: 32px;
    color: white;
    border-radius: 6px 6px 0 0;
    background: var(--rfc_orange);
    transform: rotate(90deg);
    font-size: 30px;
    font-family: 'obvia-expanded';
    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: 32px;
  list-style: none;
  background-color: white;
  display: none;
  border: 1px solid var(--light-gray);
  max-height: 250px;
  width: 100%;
  overflow: scroll;
  overflow-x: hidden;
  cursor: pointer;
  z-index: 999;
    color: black;
}

.combobox ul[role="listbox"] li {
	
    align-items: center;
    margin: 0;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.combobox ul[role="listbox"] li[role="option"] {
    display: grid;
    grid-template-columns: 1fr max-content;
    border-bottom: 1px solid #ddd;
}

.combobox ul[role="listbox"] li[role="option"]:after {
	content: var(--c);
    background: var(--rfc_orange);
    color: white;
    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;
}

/*.combobox .group.focus button {
  transform: rotate(270deg);
    border-radius: 0px 0px 12px 12px;
}*/

[role="listbox"].focus [role="option"][aria-selected="true"],
[role="listbox"] [role="option"]:hover {
  background-color: var(--rfc_grey);
}



#overlay-preview .cartSVG {
	max-height: calc( 100svh - 300px);
}


.show_buttons_inline .rfc_photo_buttons_inline {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    column-gap: 5px;
}

.show_buttons_inline .cou.fancy, .show_buttons_inline .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;
}

.show_buttons_inline .dropzone span {

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-direction: column;
	row-gap: 5px;
}

.cou.fancy svg, .dropzone svg {
	fill: currentColor;
	filter: none !important;
	width: 18px;
}

	#anopic b {
		font-weight: normal;
	}
	

	.show_buttons_inline .rfc_photo_buttons_inline>* {
   		width: calc((100% - 10px) / 3) !important;
	    display: flex;
	    align-items: stretch;
	    justify-content: space-between;
	}

	.show_buttons_inline  .rfc_values_mobile .rfc_photo_buttons_inline * {
		background: var(--rfc_blue);
	}

	.show_buttons_inline  .rfc_values_mobile #zoom_buttons {
		background: rgb(18 59 99 / 68%);
	}

	#zoom_buttons:before {
	    width: 100%;
	    content: 'zoom';
	    position: absolute;
	    left: 0;
	    top: 50%;
	    transform: translateY(-50%);
	    text-align: center;
	    background: none;
	    color: white;
	    line-height: 14px;
	}

    #zoom_buttons .btn.resize_btn {
	    height: calc(50% - 8px);
	    position: absolute;
	    left: 0;
	    top: 0;
	    width: 100%;
	    font-size: 35px;
	    line-height: 35px;
	    padding: 12px !important;
	    margin: 0px;
	    margin: 0px;
	    font-weight: normal;
	    text-align: center;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    text-align: center;
	    background: var(--rfc_blue);
	}

	#zoom_buttons .btn.resize_btn:nth-child(1) {
	    xxclip-path: polygon(0% 0%, 97.5% 0%, 0% 97.5%, 0% 97.5%);
	}

	#zoom_buttons .btn.resize_btn:nth-child(2) {
	    xxclip-path: polygon(100% 2.5%, 100% 0%, 100% 100%, 2.5% 100%);

    		top: auto;
    		bottom: 0px;

	}

	#zoom_buttons {
		display: none;
	}

	#rfc_values .rfc_values_popup,#rfc_values  .rfc_values_header {
		display: none;
	}

	#rfc_values.rfc_values_mobile {
		grid-template-columns: 1fr;
	}

	.rfc_values_content>div {
		width: 100%;
    	display: grid;
    	grid-template-columns: 1fr 1fr;
    	gap: 25px;
	}

	.grouppp_buttons {
		display: none;
	}

	#page:has(#rfc_editor) { 
		xxbackground: linear-gradient(var(--rfc_dark), var(--rfc_blue)); 
		max-width: none; 
    	padding: 90px 0px 0px 0px !important ;
    }

    .grouppp_block[data-type="dynamic"]{
    	display: none;
    }

	.show_buttons_inline .wysiwyg .cou.fancy, .show_buttons_inline .wysiwyg .dropzone {
		padding: 7.5px;
	}


	#rfc_editor .rfc_trigger_btn, #rfc_editor .rfc_zoom_btn, #rfc_editor #shareDesign_btn {
		display: none;
	}


.rfc_blockss .block_item {
    border: 1px solid #ddd;
    width: 500px;
    max-width: 100%;
}

#rfc_form .overlay-header, #rfc_form .overlay-header>div  {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.griddd {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: flex-start;
    margin-bottom: 5px;
}

.griddd div {
	display: flex;
	align-items: flex-start;
	width: 100%;
	flex-direction: column;
}
#rfc_editor input, #rfc_editor  select {
	padding: 8px;
	border: none;
	border-radius: 6px;
}

.griddd input, .griddd select {
	width: 100%;
	max-width: 250px;
	margin: 0;

}

.griddd select {
	-webkit-appearance: menulist-button;

}

.grouppp h3 {
	margin-bottom: 2.5px;
}

.grouppp_cntr .grouppp {
	display: grid;
	grid-template-columns: repeat(var(--columns), 1fr);
	column-gap: 20px;
}


.rfc_blockss .block_item label {
    padding: 7.5px;
    border-radius: 3px;
    cursor: pointer;
    display: grid;
    align-items: center;
    grid-template-columns: 100px 1fr;
    grid-gap: 25px;
    row-gap: 25px;
    width: 100%;
    height: 100%;
    margin: 0px;
    text-transform: none;
    font-family: inherit;
    font-weight: normal;
	transition: .3s;
}

.block_item img {
    aspect-ratio: 1;
    object-fit: contain;
    width: 100%;
}

.rfc_blockss .block_item.active label {
	grid-template-columns: 2fr 1fr;
	transition: .3s;
}

.block_item input {
    display: none;
}

.block_item label div {
    font-size: 16px;
}

.rfc_blockss {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: left;
	flex-direction: column;
	gap: 5px;
}



.grid-buttons {
	display:grid;
	grid-template-columns: 1fr 1fr;
	column-gap:20px; 
	margin-top: 25px;
}

.grid-buttons .cou.fancy,.grid-buttons  .dropzone {
	justify-content: center;
}

.block_item .pop {
	display: none;
}

.block_item.active .pop{
	display: flex;
}

.block_item h4 {
	font-size: 90%;
}



.btn:disabled {
	background: #ddd;
	cursor: not-allowed;
}

	.wysiwyg {
	    display: flex;
	    background: #ccc;
	    gap: 1px;
	    padding: 1px;
	    flex-direction: row !important;
	}

.wysiwyg .currentTextColor {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    padding: 27px 2px 0px 2px !important;
    border-radius: 0px !important;
    background: transparent;
    margin: 0px;
    cursor: pointer;
}


.overlay>div, .wide.overlay>div {
    max-width: none;
    max-width: calc(100svw - 40px);
    min-height: 50px;
    width: max-content;
}


.cartSVG{
	width: auto;
	height: 750px;
	max-height: 100%;
	max-height: calc( 100svh - 190px);
	max-width: 35vw;
}


.img_flex {
    display: grid;
    gap: 25px;
    align-items: stretch;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
}

.img_flex .rfc_card {

    margin: 0px;
}

.img_flex .rfc_card .cartSVG {

    height: 250px;
}

.img_flex .rfc_card h2 {
    font-size: 100%;
    text-align: center;
    font-weight: normal;
}



.rfc_blockss .block_item.active:after {
	left: auto;
	right: 0px;
}

.img_flex img {
	width: 200px;
	height: 200px;
	object-fit: contain;
}

.grouppp_block {
    display: flex
;
    flex-direction: column;
    gap: 25px;
    justify-content: stretch;
    height: 100%;
}


@media screen and (max-width: 1300px){

 	.grouppp_block[data-type="dynamic"]{
 	   	display: block;
    }

    .rfc_dragger .cartSVG {
	    width: 100%;
	    max-width: none;
	    height: auto;
        max-height: 50svh;
	}

	.overlay .zoom_buttons {
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		gap: 5px;
	}

	#page:has(#rfc_editor) { 
		min-height: 100svh;
	}

	#rfc_editor .rfc_card {
		gap: 0px;
		margin-bottom: 10px;
	}

	 #rfc_editor .grouppp_cntr .scroll_cntr .img_flex .rfc_card #rfc_view_cntr {
    	height: calc( var(--maxheight) - 125px);
    	width: 200px;
    }

    body:has(.rfc_values_mobile).preview_rfc_mobile #rfc_editor #rfc_view_cntr {
    	transition: .75s;
        max-height: 100svh;	
    }

    body:has(.rfc_values_mobile).preview_rfc_mobile #rfc_editor .cartSVG {
    	max-width: 95svw;
    	width: 100%;

    }


	body:has(.rfc_values_mobile)  #rfc_editor .rfc_zoom_btn.btn {
		display: none;
	}

	body:has(.rfc_values_mobile) .rfc_trigger_btn {
		display: none;
	}

	#rfc_editor svg {
			filter: drop-shadow(0px 0px 25px var(--rfc_orange));
			transition: .75s;
	}

	.rfc_values_popup>span {
		transform: rotate(90deg);
	    line-height: 35px;
	    width: 35px;
	    align-items: center;
	    justify-content: center;
	    text-align: center;
	    display: flex;
	    padding-bottom: 3px;
	    font-size: 35px;
		transition: .5s;
	}

	.preview_rfc_mobile .rfc_values_popup>span {
		transform: rotate(270deg);
		transition: .5s;
	}

	.preview_rfc_mobile #rfc_editor #rfc_form {
		max-height: 10px !important;
		transition: .75s;
	}



	#rfc_values.rfc_values_mobile {
		display: grid;
		grid-template-rows: max-content 1fr;
        gap: 0px;
        padding: 0px !important;
        height: 100%;
	}

	#rfc_values .rfc_values_header {
        display: flex !important;
        align-items: center;
        grid-column: auto !important;
        flex-direction: row;
        justify-content: space-between;
        padding: 0px 10px;
        width: 100%;

        margin-left: auto;
        margin-right: auto;
        opacity: 1;


        overflow-x: scroll;
        overflow-y: hidden;
        border-radius: 20px 20px 0px 0px;
    }


	.preview_rfc_mobile #rfc_values .rfc_values_header {
		
        opacity: 0;
	}

    #rfc_values .rfc_values_header>div {

        display: flex !important;
        align-items: center;
        grid-column: auto !important;
        flex-direction: row;
        justify-content: space-between;
        gap: 0px;
        width: max-content;

    }

    	#rfc_values .rfc_values_header>div>div {
		    width: 90px;
		    padding: 5px;
		    cursor: pointer;
		}

		#rfc_values .rfc_values_header>div>div:before {
			content: '';
			position: absolute;
			inset: 5px 0px;
			border-radius: 25px;
			background: transparent;
			transition: .3s;
		}

		#rfc_values .rfc_values_header>div>div:hover:before {
			xxbackground: rgba(0,0,0,0.1);
			transition: .3s;
		}

		.rfc_values_header span {
		    position: absolute;
		    left: 10px;
		    display: block;
		    width: calc(100% - 20px);
		    text-align: center;
		    text-transform: capitalize;
		    background: none;
		    border-radius: 25px;
		    font-size: 80%;
		    text-transform: uppercase;
		    color: var(--rfc_orange);
		    line-height: 26px;
		}


        #rfc_values .rfc_values_header h3 {
        margin: 0px auto !important;
        height: 100%;
        display: flex;
        align-items: center;
        font-size: 13px !important;
        padding: 13px 10px;
        color: var(--rfc_blue);
        width: 100%;
        text-align: center;
        justify-content: center;
        transform: translateY(6px);
    }

	#rfc_values .rfc_values_header>div:before {
		content: '';
		background: #eee;
		width:calc(100% / var(--steps));
		height: calc(100% - 10px);
		border-radius: 50px;
		position: absolute;
        left: calc(var(--step) * calc(100% / var(--steps)));
        transition: left .75s;
		top: 5px;
	    text-shadow: 1px 1px 1px rgb(0 0 0 / 20%);
	}


	#rfc_values .rfc_values_content {
        width: 100%;
        overflow: hidden;
        padding: 0px !important;
        height: 100%;

        max-width: min(var(--maxwidth), 100svw);
        margin-left: auto;
        margin-right: auto;
        border-radius: 0px 0px 25px 25px;
	}

	#rfc_values .rfc_values_content>div {
		width: max-content;
		display: flex;
		align-items: stretch;
        flex-direction: row;
        height: 100%;
        left: calc(var(--step)* -100%);
        transition: left .75s;
	}

	#rfc_values.rfc_values_mobile .grouppp_cntr {
        width: min(var(--maxwidth), 100svw);
        background: white;
        display: grid;
        grid-template-rows: 1fr max-content;
        align-items: stretch;
        color: black;
        padding: 0px !important;
        margin: 0px !important;
    }

    #rfc_values.rfc_values_mobile #currentPic .currentPic_choser .currentPic_img {
    	font-size: 80%;
        border: 2px solid #ddd;
    }

    #rfc_values.rfc_values_mobile #currentPic .currentPic_choser .currentPic_img:has(>input:checked) {
    	border: 2px solid var(--rfc_orange);
    }


	body:has(.rfc_values_mobile) #rfc_after, body:has(.rfc_values_mobile) #seeeo_rfc2,body:has(.rfc_values_mobile) #seeeo_rfc1 {
		display: none;
	}

	#rfc_form:has(.rfc_values_mobile) {

        --maxwidth: 700px;

		padding: 0px !important;
        width: 100%;
        overflow: visible;
        background: white;
        height: var(--maxheight);
        transition: .57s;
        border-radius: 25px;
        margin-right: 25px;

	}

	.grouppp_buttons {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 5px 10px;
	}

	.rfc_values_mobile .grouppp_cntr .grouppp {
		xxdisplay: block;
	}

	.rfc_values_mobile label:has(input[name="pic_orig"]){
		display: none;
	}



	#currentPic img {
	    width: 100px;
	    height: 100px;
	}

	.currentPic_choser {
    	column-gap: 15px;
    	max-width: 250px;
	}

	 #rfc_editor .rfc_values_mobile input,  #rfc_editor .rfc_values_mobile select {
		background: #eee;
		padding: 7px 8px !important;
		margin-bottom: 2px;
		font-size: 16px;
	}

	#rfc_form .rfc_values_mobile , #rfc_form .rfc_values_mobile   p {
		color: black;
		padding: 0px 5px;
	}

	.rfc_values_mobile .grouppp_cntr[data-step="4"], .rfc_values_mobile .grouppp_cntr[data-step="2"] {
		--columns: 1 !important;
	}



	.griddd b {
        line-height: 34px;
	}

	#rfc_editor .rfc_values_mobile .griddd {

        padding-bottom: 2.5px;
        padding-bottom: 0px;
        border-bottom: 1px solid #eee;
        margin-top: 2.5px;
	}



	#rfc_values {
		grid-template-columns: 1fr !important;
	}

	#rfc_values>div { 
		grid-column: 1 !important;
	}

	#rfc_values>div:nth-child(1) {
		display: grid;
		grid-template-columns: 1fr;
	}



	#rfc_values>div:nth-child(3)>div {
		--columns: 1 !important;
	}

	#rfc_form .overlay-header-cntr {
		display: none;
	}

	.grouppp_block {
		flex-direction: row !important;
		gap: 0px !important;
	}

	.grouppp_block.no-mobile {
		display: none;
	}


	#rfc_values .rfc_values_content>div {
		gap: 0px;
	}

	.cou:hover, .dropzone:hover, .btn:hover {
		opacity: 1;
	}

	.grouppppname {
		display: none;
	}

	#rfc_editor .grouppp_cntr .rfc_preview #rfc_view_cntr {
		height: 25svh;
	}

	#rfc_editor .grouppp_cntr .rfc_preview svg {
		filter: none;
	}

	#rfc_editor {
		--maxheight: 595px;
		align-items: center;
	}

	#rfc_form:has(.rfc_values_mobile) {
		--maxwidth: 500px;
	}



	#rfc_editor .grouppp_cntr .rfc_preview svg {
		height: 100%;
		width: 100%;
	}

	#rfc_editor .grouppp_cntr .rfc_preview  #rfc_view_cntr {

    	max-height: 300px;
    	height: 300px;
	}







}



@media screen and (max-width: 1000px){

	.img_flex {
        grid-template-columns: 1fr 1fr 1fr;
    }


	.rfc_last_step #rfc_editor .grouppp_cntr .rfc_preview #rfc_view_cntr {
		height: auto;
		width: 100svw;
		height: 100svh;
        max-width: 100svw;
        max-height: 75svw;
	}




    .rfc_last_step #rfc_editor:has(.rfc_values_mobile){

        --maxheight: 100%;
        grid-template-rows: 75px 1fr;
        transition: .5s;
    }

    body.rfc_last_step:has(.rfc_values_mobile) #rfc_editor>#rfc_view_cntr {
    	max-height: 0svh;
    }


	

	.rfc_last_step #rfc_values  .rfc_values_popup {
		display: none;
	}


	#rfc_values .rfc_values_header { 

        max-width: min(var(--maxwidth), 100svw);
	}	

	#rfc_editor {
		--maxheight: 395px;
	}

	#rfc_values .rfc_values_content {
		border-radius: 0px;
	}

	#rfc_form:has(.rfc_values_mobile) {
		--maxwidth: 700px;
		margin-right: 0px;
        border-radius: 20px 20px 0px 0px;
	}

	body:has(.rfc_values_mobile) #rfc_editor #rfc_view_cntr {
        height: auto;
        transition: 0.75s;
        position: relative;
        max-height: 42svh;
    	transition: .75s;
    	margin-top: 15px;
    }

	#rfc_values  .rfc_values_popup {
	    position: absolute;
	    right: 35px;
	    bottom: 100%;
	    background: white !important;
	    width: 75px;
	    height: 30px;
	    display: block;
	    border-radius: 20px 20px 0px 0px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	   	font-family: 'obvia-expanded';
        color: var(--rfc_orange);
        font-size: 30px;
        cursor: pointer;
	}
	
	.rfc_scroll #header {
		transform: translateY(-125%);
		transition: .5s;
	}

	.rfc_scroll.sub-shop #page {
		padding-top: 0px !important;
		height: 100svh;
		transition: .5s;
	}

	.rfc_scroll #rfc_editor {
		height: 100svh;
		transition: .5s;
	}

	.rfc_scroll #page {
	}

	#rfc_view_cntr .overlay-header {
		display: none;
	}

	#rfc_form {
		overflow-y: scroll;
    	overflow-x: hidden;
	}

	#rfc_editor {
		margin-top: 0px;
	}

	.dropdown .dropdown-content {
		top: calc(var(--header-height) + 10px);
	}

	#rfc_editor {
		height: calc(100svh - 90px);
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        transition: .5s;
	}

	#rfc_editor:has(.rfc_values_mobile) {

        grid-template-rows: 1fr max-content;
        overflow: hidden;
        transition: .5s;
	}

	#rfc_view_cntr .cou {
		display: none;
	}

	.preview_rfc_mobile #rfc_editor #rfc_form{
        height: 5px !important;
	}


	.preview_rfc_mobile #rfc_editor #rfc_view_cntr{
		height: 100svh;
		transition: .3s;
	}

	.preview_rfc_mobile #rfc_editor .overlay-header-cntr  .times {
		opacity: 1;
		transition: .5s;
	}

	#rfc_editor .cartSVG {
    	height: 100%;
    	max-width: 90svw;
    	max-height: none;
    	margin: 0;
    }

    .preview_rfc_mobile #rfc_editor .zoom_buttons {
	    position: fixed;
	    z-index: 9999;
	    left: 10px;
	    top: 115px;
	    width: calc(100% - 20px);
	}

    .preview_rfc_mobile #rfc_editor #rfc_view_cntr .rfc_trigger {
    	display: none;
    }


/*
     .preview_rfc_mobile #rfc_editor  #currentPic {

     }
*/
    .preview_rfc_mobile .rfc_trigger_btn {
    	margin-top: 15px;
    	display: block;
        position: absolute;
        bottom: 25px;
    }

    #rfc_editor #rfc_view_cntr .rfc_trigger:after {
		content: none;.
	}

	.preview_rfc_mobile #rfc_editor .cartSVG {
    	max-height: calc(100svh - 200px);
    	height: max-content;
    	width: 90svw;
	}

	#rfc_editor #rfc_values {
		padding: 0px 5px;
	}

	.grouppp_cntr {
		padding: 0px;
		padding-bottom: 10px;
	}

	.grouppp_cntr h3 {
        padding: 10px 20px;
        color: white;
        margin-top: 0px;
        text-align: center;
        font-size: 15px;
    }

    .combobox input, .combobox button {
    	height: 37px;
    }

    #rfc_editor .combobox button {
    	width: 37px;
    }

    .combobox ul[role="listbox"] {
    	top: 37px;
    }

    .combobox ul[role="listbox"] li {
    	padding-top: 7.5px;
    	padding-bottom: 7.5px;
    }





}


@media screen and (max-width: 700px){

	#page:has(#rfc_editor) { 
		padding: 55px 0px 0px 0px !important ;
	}


	.cou {
		margin-bottom: 10px;
		font-size: 14px;
	}

	#rfc_editor {
		height: calc(100svh - 55px);
	}
	
	.rfc_helper {
        margin: 5px 10px;
    }


	.dropzone {
		align-items: center;
		justify-content: center;
	}

	.dropzone span {

    flex-direction: column;
	}


	#rfc_editor .rfc_zoom_btn.btn {
	    display: block;
	    position: absolute;
	    left: 7.5px;
	    top: 0;
	}


	#rfc_editor #shareDesign_btn {
	    display: block;
	    position: absolute;
	    right: 5px;
	    top: -5px;
	    margin: 0px;
	}	

	.preview_rfc_mobile #rfc_editor .rfc_zoom_btn.btn, .preview_rfc_mobile #rfc_editor .rfc_addtocart_btn.btn {
		display: none;
	}

	.overlay>div, .wide.overlay>div {
		left: 0;
	    top: 0;
	    transform: none;
	    width: 100svw !important;
	    height: 100svh !important;
	    max-width: 100svw !important;
	    max-height: 100svh !important;
    	overflow: hidden;

	}

	.overlay {
		overflow: hidden;
	}

	.rfc_split .cartSVG, .prdct  .cartSVG {
	    width: 100%;
	    max-width: none;
	    height: auto;
	}

	#add_to_cart_form .btn {
		width: 100%;
		padding: 30px 25px;
	}

	.overlay-content {
		overflow: auto !important;
		max-height: calc(100svh - 35px) !important;

	}

	#rfc_values>div {
		padding: 0px 5px;
	}

	.grouppp_cntr .grouppp {
		padding: 5px 10px;
	}
	.griddd {
	    margin-bottom:0px;
	    padding-bottom: 0px;
	}

	.grouppp_cntr .griddd:last-of-type{
		border: 0px;
	}

	.grouppp_cntr {
		margin-bottom: -7.5px;
		background: radial-gradient(#ffffff2b, #ffffff21);
    	border: 1px solid #ffffff29;
	}

	#fotoOnPhone {
		display: none;
	}








}