/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/

@media (min-width: 1000px) {
    .content.panel-position-left {
        flex-direction: row-reverse;
    }
}
.content {
    height: 100%;
    display: flex;
}


.content .question-panel-section {
    height: 100%;
	    max-width: 100%;
    width: 40%;
}
.question-panel {
    width: 100%;
    min-height: 100%;
    border-style: solid;
    position: relative;
    overflow-x: hidden;
}
.priceBox {
    font-weight: 500;
    width: 100%;
    position: relative;
    border-style: solid;
    border-width: 0;
    padding: 1.5rem 0;
}
.priceBox span{
	    font-size: 16px;
	font-weight:500;
	color:#f76b6a;
}
.priceBox  .title {
    font-size: 30px;
	    color: #1d1d1f;
    margin: 10px 0;
}

.question-panel .question-panel__content {
    width: 100%;
    padding: 1rem 2rem 2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}
.question-panel .question-panel__content .step:first-of-type {
    margin-top: 0;
}
.question {
    margin-top: 2rem;
}
.label-question {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: .5rem;
    position: relative;
}
.label-question .answer-container {
    display: flex;
    flex-flow: column nowrap;
    cursor: pointer;
    width: 48%;
    align-items: center;
    margin-bottom: 1rem;
}
.label-question .answer-container>div:not(.price-label__under-label) {
    width: 100%;
}
.label-question .font-choice {
    padding: .75rem;
      border: 1px solid #000000;
    border-radius: 8px;
    text-align: center;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size:16px;
	transition:all .3s ease-in;
}
.font-choice .label-answer__badges {
    position: absolute;
    right: -8px;
    top: -8px;
}
.step {
    margin-top: 1rem;
    scroll-margin: 1rem;
}
.step .step__header {
    display: flex;
    border-width: 0;
    border-style: solid;
	justify-content:space-between;
}
.step__header {
    margin-bottom: 1rem;
}
.step .step__description {
    margin-top: 1rem;
    /* white-space: pre-wrap; */
}
.sanitized-html>p {
    margin: 0;
}
.content .displayer-section {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #f7f7f791;
    padding: 20px 20px;
    margin: 10px 0 0;
    max-height: calc(100vh - 340px);
    position: sticky;
    top: 0;
}
.displayer-container {
    display: flex;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    flex: 20 20 auto;
}
.displayer-container .displayer-area {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    /* background: #f5f5f7; */
	border-radius:30px;
	position:relative;
}
.displayer-top-section {
  right:10px;
  margin: 0;
  min-height: 33px !important;
  position: absolute;
  z-index: 1;
}
.displayer-bottom-section>div {
    margin: 0 9px;
}
.finish-customization {
    padding-top: 2rem;
    padding-bottom: 1rem;
    justify-content: center;
    display: flex;
}

.step .step__description p{
	margin-bottom:15px;
}
.finish-customization .action-section__button>span {
    white-space: nowrap;
}
.file-upload-question .themes-file-uploader {
    height: 139px;
}
.themes-file-uploader {
    border: 2px dashed rgba(0,0,0,.2);
    border-radius: 8px;
}
.uploader-container .uploader-container__instructions {
    padding: 0;
    height: 100%;
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
}
.themes-file-uploader .uploader-container__instructions-text {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5rem;
    color: rgba(0,0,0,.54);
}
.file-upload-question .file-upload-question__answers {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.upload-container {
    width: 100%;
    padding: 20px;
    border: 2px dashed #ccc;
    border-radius: 10px;
	position:relative;
    text-align: center;
    cursor: pointer; /* Ensuring the whole container is clickable */
}
#drop-area {
    border: none; /* Removed the border as the whole container is clickable */
}
#drop-area p {
    margin: 0;
    font-size: 16px;
}
#button {
    display: none;
}
#fileElem {
    display: none; /* Hide the file input */
}
#gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	margin: 10px 0 0;
}
.image-box {
    position: relative;
    width: 100px;
    height: 100px;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 5px;
}
.remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 18px;
    width: 20px;
    height: 20px;
    text-align: center;
}


#nasa-before-load{
	display:none !important;
}

.konvajs-content .editor-container {
    padding: 0px;
    margin: 0px;
    border: 0px;
    background: #f0f0f0;
    top: 0px;
    margin: auto;
    height: 100%;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    height: 350px !important;
    max-width: 600px;
    box-shadow: 0 0 10px rgb(130 130 130 / 50%);
    
  width: 600px;
  height: 400px;
  overflow: hidden;
  position: relative;
    
}

.mainer_dragdiv .konvajs-content {
    width: 100% !important;
    max-width: 80rem;
    left: 0 !important;
    transform: translate(0%, 0%) !important;
    top: 50% !important;
    margin: 0px auto;
}

.file-upload-question .resolution-indicator .resolution-indicator__quality svg {
    margin-right: .225rem;
    width: 12px;
    height: 12px;
    fill: currentColor;
}
.file-upload-question .resolution-indicator {
    margin-top: 1rem;
    font-size: 14px;
    display: flex;
}
.resolution-indicator__quality svg {
    max-width: 12px;
    margin-top: 5px;
}
#uploading-loader {
    /* position: fixed; */
    top: 0;
    left: 0;
    /* transform: translate(-50%, -50%); */
    background-color: #fffffff0;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 1000;
    display: none;
    height: 100%;
    position: absolute;
    display: flex ;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#selected-image {
    position: absolute; /* Required for dragging */
    cursor: move; /* Cursor change for drag indication */
    max-width: none; /* Ensures no scaling */
    max-height: none; /* Ensures no scaling */
}




div#resizer-image-div input {
    margin: 8px 0 18px;
}

.resizer-image{
margin-top:30px}
#upload-container h4{
	    margin-bottom: 5px !important;
}
.resizerow {
    display: flex;
    justify-content: space-between;
	flex-wrap:wrap
}
.resizerow .resizeDiv {
    width: 48%;
}

.displayer-top-section__controls {
    display: flex;
    gap: 15px;
}
div#zoom {
      margin: 2px 0;
    width: 20px;
}

.options {
    display: flex;
    justify-content: center;
    gap: 10px;
}
button#left,
button#right {
    background: transparent;
    border: 0;
	    padding: 0 !important;
}
button#left svg, button#right svg{
max-width:20px;
max-height:20px}

.priceDiv {
    font-size: 20px;
    color: #8f8f93;
    font-weight: 400;
}

.displayer {
    background-color: #f5f5f7 !important;
}
.font-choice.selected {
    background: #f76b6a1a;
    border-color: #f76b6a6e !important;
    color: #f76b6a;
    font-size: 16px;
}
.font-choice:hover {
    background: #f76b6a1a;
    border-color:#f76b6ac4 !important;
    color: #f76b6a;
    font-size: 16px;
}
.finish-customization .action-section__button {
    padding: 1.8rem 2rem;
    min-width: 100%;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}




.priceBox .priceDiv span {
    font-size: 24px;
    font-weight: 500;
    color: #8f8f93;
}

:root .priceBox .title {
    font-size: 25px !important;
}

/*newCss*/
.single main#main-content .main-container>div:first-child {
    background: #ffffff !important;
    padding: 4rem 35px;
}

.single main#main-content .main-container>div:last-child {
    background: #f9f9f9;
    padding: 12rem;
    margin: 0px;
}
.main-container {
    margin: 0px auto !important;
    gap: 0px !important;
    padding: 0px !important;
    max-width: 100% !important;
}
.single main#main-content {
    max-width: 100%;
    margin: auto;
}
p.quality_text+div button {
    width: 20px !important;
    right: -7px !important;
    height: 20px;
    min-width: 20px !important;
    padding: 0px !important;
    padding-left: 2px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background: #ff4d4f !important;
}
.paragraph_content_div p {
    font-weight: 700 !important;
    font-style: italic;
    color: #111 !important;
}
.content_section_div h4 {
    margin: 0;
    font-weight: 700  !important;
    font-size: 15px;
    color: #111  !important;
}
.content_section_div p {
    font-size: 15px  !important;

}
.content_section_div {
    padding: 15px 0 5px  !important;
}
.button_size_div {
    gap: 15px;
    margin: 20px 0px 40px;
}
.mainer_dragdiv {

    background: transparent !important;
}
/*newCss end*/

@media screen and (max-width:1640px){
button.sizeButton {
    font-size: 10px !important;
    width: fit-content !important;
}
.content_section_div p {
    font-size: 11px  !important;
}
.single main#main-content .main-container>div:last-child {
    padding: 8rem;

}
}
@media screen and (max-width:1440px){
	    .konvajs-content .editor-container {
    border-radius: 20px;
}
.main-container {
    gap: 0px !important;
}
.main-container {
    grid-template-columns: 3.5fr 8fr !important;
}
.price_div2 {
    left: calc(100% - 70%) !important;
}
.paragraph_content_div p {
    font-size: 13px;
    font-weight: 500;
}
}

@media screen and (max-width:1366px){

.question-panel .title {
	font-size: 24px !important;
    padding: 20px 10px 0 !important
}
.question-panel .question-panel__content {
    padding: 2rem 1rem 2rem 1rem;
}
.upload-container h2 {
    font-size: 20px;
    margin-bottom: 0 !important;
}

}

@media screen and (max-width:1290px){


.konvajs-content .editor-container {
  /* height: 280px; */
  width: 100%;
}

.content .question-panel-section {
    width: 45%;
}
.content .displayer-section{
    width: 55%;
}
}
.nasa-topbar-wrap {
    position: relative;
    z-index: 999;
}
@media screen and (max-width:991px){
	price_div2 {
    font-size: 2rem;
    margin: 10px auto 20px;
    padding: 0rem 1rem;
}
.single main#main-content .main-container>div:first-child {
    background: #ffffff !important;
    padding: 1rem 20px;
}
.single main#main-content .main-container>div:last-child {
    padding: 3rem;
}
.price_div2 {
    position: unset !important;
    padding-inline: 20px !important;
}
.main-container {

    grid-template-columns: 1fr !important;
}

	    .konvajs-content .editor-container {
        height: auto;
        /* max-height: 300px; */
		width:100% !important;
    }
.content {
    flex-direction: row-reverse;
}
:root .priceBox .title {
    font-size: 18px !important;
} 
.priceBox .priceDiv span {
    font-size: 20px;
}
}

@media screen and (max-width:767px){
.content {
    flex-wrap: wrap;
	width:100%;
}
    .question-panel {
        width: 100%;
    }
	
	.konvajs-content {
    width: 90% !important;
	}
    .content .displayer-section {
        width: 97%;
    }
.priceBox {
    padding: 1.5rem 1rem;
}
.content .displayer-section {
        margin: 0 10px;
    }
    .content .question-panel-section {
        width: 100%;
    }
	    .content {
        flex-direction: column-reverse;
    }
	.displayer-container {
    height: 400px;
	}
}
@media screen and (max-width:576px){
	.label-question .answer-container {
    width: 100%;
    gap: 10px;
}
.single main#main-content .main-container>div:last-child {
    padding: 2rem;
}
}

   .add_to_cart_lader {
    display: inline-block;
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}
#add-to-cart-btn {
    position: relative;
    padding: 10px 20px; /* Add padding to make space for the loader */
}

.price_div2 {
    font-style: normal;
    font-size: 2.5rem;
    letter-spacing: .25px;
    font-weight: 700;
    margin: 50px auto 0px;
    padding: 0rem 3rem;
    max-width: 1280px;
    text-align: left;
    position: absolute;
    left: calc(100% - 72%);
    color: #797979;
}


.mainer_dragdiv .konvajs-content {
    background: #d8d8d8;
    border-radius: 12px !important;
    box-shadow: 0px 10px 4px #b7b7b7;
}
.mainer_dragdiv {
    border: 0px !important;
    border-radius: 12px !important;
}
