.note{
    font-style: italic; color: #555; margin-bottom: 15px;
}
#predefined_text {
    /*margin-bottom: 5px;*/
}
#story-descriptions {
    float:left;
    display:inline-block;
}


.dedication-actions {
    /*display: inline-block;*/
    text-align: center;
    padding:20px;
    margin-left:5px;
    border: 1px solid #C0C0C0;
    border-radius: 5px;
    border-style: dashed !important;
    position:relative;
    float: right;
    width: 43%;
}
@media only screen and (min-width: 1025px) {
  #predefined_text , #story-descriptions {
    width:53%;
  }
}

@media only screen and (max-width: 1024px) {
  #predefined_text , #story-descriptions, .dedication-actions, #existing-dedication-image, #story-preview-container img {
    width:100%;
  }
}
.save-your-dedication-button,.confirmation_dedication {
    width: 100%;
    display: block;
    /*float: left;*/
    text-align: center;
    clear: both;
}
.wp-block-heading{
    /*display: none;*/
}

.btn{
    background-color:#0275d8 !important; color:white !important;padding:10px 20px; border:none; border-radius:5px !important; cursor:pointer !important;font-family: Arial;font-size: 15px;
}
.btn:hover{
    background-color:#000 !important;
}
.btn-buy{
    background-color:green !important; color:white !important; width: 40%;
}
.btn-delete{
    background-color:#ff4242 !important; color:white !important;
}

#keyword-story-generator input[type="text"], select{
    background: #efefef !important;
    border: 1px solid #aaa !important;
}

textarea{
    /*background: #efefef !important;*/
    border: 1px solid #aaa !important;
}

select{cursor: pointer;}

#keyword-story-generator input[type="text"]::placeholder{
    color: #909090;
    font-style: italic;
}

.pt20{padding-top: 20px !important;}
.pb20{padding-bottom: 20px;}

#edited_story{
    height: 330px;
    width:100%;
    margin-top:10px;
    white-space:pre-wrap;
    font-family:"Times New Roman";
    font-size: 20px;
}

input[type="color"]{
    height:57px;
    background: #eee !important;
    width: 70px !important;
    padding: 3px 10px !important;
    cursor: pointer;
    display: block;
}

.containerRadioButtons {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  /*font-size: 22px;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.containerRadioButtons input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
  border: 1px solid #aaa;
}

/* On mouse-over, add a grey background color */
.containerRadioButtons:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.containerRadioButtons input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.containerRadioButtons input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.containerRadioButtons .checkmark:after {
 	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

.required{ color: red !important; }
/*
.spinner {
  display: none;
  width: 30px;
  height: 30px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
*/

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* semi-transparent white */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  z-index: 10000;
}

/* Spinner in the center */
.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}