label input + text-display {
    background: linear-gradient(314deg, #fffdfd, #fdfdfe);
    /* background: radial-gradient(farthest-corner at 0% 0%, #fdfdfe, #efefef, #e1e1e1); */
    box-shadow: 2px 2px 7px 0px #dcdcdc;
    padding: 5px 50px;
    corner-shape: squircle;
    border-radius: 20px;
    border: 1px solid white;
    cursor: pointer;
	display:flex;
}

label:hover input + text-display{
	border: 1px solid #6ae;
    box-shadow: 2px 2px 12px 0px #a7c8f1;
    padding: 5px 50px;
    corner-shape: squircle;
    border-radius: 20px;
    background: radial-gradient(at left top, #FDFDFE, #D2ECFD, #75c8ff);
}

label input:checked + text-display {
    border: 1px solid #eed066;
    box-shadow: 2px 2px 12px 0px #ede5ab;
    padding: 5px 50px;
    corner-shape: squircle;
    border-radius: 20px;
    background: radial-gradient(at left top, #FDFDFE, #fdf9d2, #ffdb75);
}

label input{
	display:none;	
}
input.inlineinput{
	display:inline-block;
}

label:hover input + text{
	position:relative;
	border:thin solid black;
	box-shadow:1vmin 1vmin 2vmin rgba(0,0,0,0.3);
	background:#cfe1f3;
	
}
label input:checked + text{
	border:thin solid black;
	background:#a0b7ce;
	box-shadow:1vmin 1vmin 2vmin rgba(0,0,0,0.3) inset;
	
}

.answerInput , display , .notAnswer , .not_answer , [name="answer[]"] , [name="answer"]{
	font-size:1em;
	overflow:hidden;
	margin:0px;
    text-align: center;	
	
    border: 1px solid #eed066;
    box-shadow: 2px 2px 12px 0px #ede5ab;
    corner-shape: squircle;
    border-radius: 20px;
    background: radial-gradient(at left top, #FDFDFE, #fdf9d2, #ffdb75);
}

.answerInput:focus{
    border: thin solid #94813e;
    background: radial-gradient(at left top, #FDFDFE, #ffe2c3, #ffbd75);
}

.answerInput:placeholder-shown{
	animation: pulse-shadow 1s infinite alternate; /* Apply the animation */
}


@keyframes pulse-shadow {
  0% {
    box-shadow: 2px 2px 12px 0px #ede5ab;
	border:thin solid #ee7d66;
  }
  100% {
    box-shadow: 4px 4px 22px 0px #ede5ab;
  }
}

.notAnswer , .not_answer{
    background: radial-gradient(at left top, #F2FCFF, #F2FCFF, #BCDBE6);
    border: 1px solid #66c2ee;
    box-shadow: 2px 2px 12px 0px #abe1ed;
}

select.answerInput{
	font-size:1em;
	overflow:hidden;
    text-align: center;	
	
    border: 1px solid #eed066;
    box-shadow: 2px 2px 12px 0px #ede5ab;
    corner-shape: squircle;
    border-radius: 20px;
	padding:0px 10px;
    background: radial-gradient(at left top, #FDFDFE, #fdf9d2, #ffdb75);
}


input.comma_input{
	width:1ch;
	vertical-align:bottom;
	height:10px;
}

label.sentence_selector{
	display:inline-block;
}
label.sentence_selector text{
	padding:initial;
}



	summary.hover_border{
		padding:1px 10px 1px 0px;
		border:thin solid rgba(0,0,0,0);
		list-style:none;
		display:inline-flex;
	}
	summary.hover_border:hover{
		background: rgba(255,255,255,0.2);
	}
	drop_under{
		border:thin solid white;
		display: flex;
		flex-direction:column;
		background: var(--primary_blue);
		border-bottom: thin solid white;
		box-shadow: var(--box_shadow);
		color: white;
		white-space:nowrap;
	}
	drop_under > *{
		width:100%;
	}
	drop_under > *:hover{
		width:100%;
	}
	
	.pad_children > *{
		padding: 5px;
	}
	.highlight_children > *:hover{
		background: rgba(255,255,255,0.2);
	}
	.white_font a{
		color:white;
		text-decoration:none;
		
	}
	.highlight_hover:hover{
		background: rgba(255,255,255,0.2);
	}



	
.translucent_until_hover{
	cursor:pointer;
}
.translucent_until_hover div{
    opacity: 0.25;
    display: flex;
    font-weight: bold;
    line-height: 1em;
    padding: 3px;
	filter: blur(1px);
}
.translucent_until_hover:hover div{
	opacity:1;	
	filter: none;
}
.translucent_until_hover input[type="radio"]:checked + div{
	opacity:1;
	color:red;
	filter: none;
}

input:focus , select:focus{
	outline: none;	
}
numberPad{
	background: #f2f3f5;
    border: thin solid gray;
	font-size: clamp(1rem, 5vmin, 3.5rem);
}

numberPad leftSide{
	display: grid;
    grid-template-columns: 2.5ch 2.5ch 2.5ch;
    gap: 5px;
    grid-auto-rows: 2.5ch;
}
numberPad rightSide{
	margin-left: 1vw;
    display: grid;
    grid-template-columns: 2.5ch;
    grid-auto-rows: 2.5ch;
    gap: 5px;
}
numpadbutton{
	display:flex;
	align-self: stretch;
    align-items: center;
	justify-content: center;	
	cursor:pointer;
	
	background: #f2f3f4;
    box-shadow: inset 4px 4px 8px white, 2px 2px 7px 1px #c5c5c5;
    corner-shape: squircle;
    border-radius: 15px;
    border: thin solid #a2aab4;
    font-size: 1.5rem;
    font-family: 'Roboto';
}
numpadbutton:hover{
    border: 1px solid #6ae;
    box-shadow: 2px 2px 12px 0px #a7c8f1;
    corner-shape: squircle;
    background: radial-gradient(at left top, #FDFDFE, #D2ECFD, #75c8ff);
    box-shadow: -2px -2px 4px rgb(121 175 211) inset, 2px 2px 4px rgba(255, 255, 255, 0.75) inset, 2px 2px 7px 1px #c5c5c5;
}


numpadbutton:active{
	background: #779bbf;
    color: white;
    box-shadow: 0px 6px 4px 1px rgba(0,0,0,0.5) inset, 1px -4px 5px 0px rgb(255 255 255 / .2) inset;
	transform: scale(0.95);
}
numberPad numpadbutton[value="0"]{
	grid-column:1 / 3;
}


numpadholder{
	position:relative;
	max-width:80%;
	
}
numberPad , displayPad{
	background: #f2f3f5;
    border: thin solid gray;	
	padding:10px;
	display:none;
	position:absolute;
	grid-template-columns:auto auto auto;
	border-radius:5px;
	box-shadow:2px 2px 4px rgba(0,0,0,0.5);
	left: 50%;
	transform: translate(-50%, -0%);

	margin:0px;
	border:none;	
	z-index:20;
	color:black;
}
input:focus + numberPad{
	display:grid;
}
input.no_keyboard:focus + numberPad{
	display:none;
}

.answerInput + numberPad{
	display:none;
}
/*
input + numberPad{
	display:grid;
}
*/

input[super] + numberpad [convertsuper]{
	align-items: flex-start;
    text-decoration: underline;
}

numpadholder[display] numberPad{
	display:grid;
}
numpadholder display{
    display: inline-flex;
    align-items: center;
	height:auto;
}



[maxLength="0"]{display:none;}
[maxLength="1"]{width:calc(1ch + .5ch + 7px);}
[maxLength="2"]{width:calc(2ch + .5ch + 7px);}
[maxLength="3"]{width:calc(3ch + .5ch + 7px);}
[maxLength="4"]{width:calc(4ch + .5ch + 7px);}
[maxLength="5"]{width:calc(5ch + .5ch + 7px);}
[maxLength="6"]{width:calc(6ch + .5ch + 7px);}
[maxLength="7"]{width:calc(7ch + .5ch + 7px);}
[maxLength="8"]{width:calc(8ch + .5ch + 7px);}
[maxLength="9"]{width:calc(9ch + .5ch + 7px);}
[maxLength="10"]{width:calc(10ch + .5ch + 7px);}
[maxLength="11"]{width:calc(11ch + .5ch + 7px);}
[maxLength="12"]{width:calc(12ch + .5ch + 7px);}
[maxLength="13"]{width:calc(13ch + .5ch + 7px);}
[maxLength="14"]{width:calc(14ch + .5ch + 7px);}
[maxLength="15"]{width:calc(15ch + .5ch + 7px);}