
html{
	scroll-behavior:auto;
}
wordHolder{
	display:contents;
}


.optionsHolder ws_name{
	display:flex;
	align-items:center;
	font-weight:bold;
	font-family:arial;
	letter-spacing:1.5px;
	padding:10px;
	flex:99;
	white-space:nowrap;
	font-size: 13px;
	color:black;
}
.optionsHolder ws_img{
	position:relative;
	left:4px;
	background:white;
	flex:0;
	width:0;
	transition: width 0.15s;
	border-left:1px solid black;
}
.optionsHolder .ws_type_holder{
    overflow: hidden;
    display: flex;
    border: 2px solid white;
    border-left: 15px solid white;
    cursor: pointer;
    width: 100%;
    height: 30px;
    box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 25%);
    background: linear-gradient(45deg, #e6f2ff, #bbcee2);
	position:relative;
	left:0px;
	transition: left 0.1s , border 0.1s , border-left 0s , box-shadow 0.1s , color 0.1s;
}

.optionsHolder input:checked ~ label .ws_type_holder{
	background: linear-gradient(45deg, #1b6592, #2493d7);
	background: linear-gradient(45deg, #2995d6, #83d0ff);
	background: linear-gradient(360deg, #96d1ff, #d5efff);
	box-shadow: unset;
    border: 1px solid black;
	border-left: 15px solid #0f2938;
}

.optionsHolder input:checked ~ label ws_name{
	color:white;
	text-shadow: 1px 1px black;
	color:black;
	text-shadow: unset;

}


.ws_type_holder banner{
	padding:5px; 
	background:yellow; 
	transform:rotate(315deg); 
	position:absolute; 
	width: 75px; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	right: 125px; 
	font-size: 10pt;
}



.options_box label input:checked + text{
	color:black;
}
.options_box label input + text{
	color:gray;
}

.optionsHolder .ws_type_holder:hover{
    border: 1px solid #5b769a;
	border-left: 15px solid #5b769a;
}
input:checked ~ label  .ws_type_holderss:before{
    width: 100%;
    height: 100%;
	box-shadow: -1px 1px 2px 2px rgb(0 0 0 / 25%) inset;
    position: absolute;
    left: 0px;
    top: 0px;
    content: '';
    z-index: 100;
}
.optionsHolder .ws_type_holder:hover ws_img , input:checked ~ label .ws_type_holder ws_img{
	left:0px;
	flex:1;
	width:100%;
	transition: width 0.35s;
}
.optionsHolder .ws_type_holder ws_img{
	left:0px;
	flex:1;
	width:100%;
	transition: width 0.35s;
}

.options_box{
    font-size: 0.85em;
    color: black;
    margin: 0vh 0 0vh 10%;
    display: flex;
    flex-direction: column;
    background: #ebf5ff;
    margin: 0px 5px 0px 40px;
    position: relative;
    top: 0px;
	margin-bottom: 5px;
    max-height: 0px;
    overflow: hidden;
    border: none;
	transition:  opacity 0.1s , max-height:0.1s;
	opacity:0;
}	

input[type="checkbox"]:checked ~ .options_box {
 	margin-bottom: 10px;
	opacity:1;
    display: flex;
	max-height: 10000px;
	padding:5px;
    border: thin solid black;
	transition:  opacity 0.1s , max-height:2s;
}




[name="spelling_word_display"] ~ .spelling_holder label[spelling_word_display]{
	border:thin solid gray;
	border-radius:3px;
	padding:1px 15px;
	cursor:pointer;
}

[name="spelling_word_display"] ~ .spelling_holder label[spelling_word_display]:hover{
	background:gray;
	color:white;
}


[name="spelling_word_display"][value="20"]:checked ~ .spelling_holder label[for="spelling_words_display_20"] , 
[name="spelling_word_display"][value="25"]:checked ~ .spelling_holder label[for="spelling_words_display_25"] , 
[name="spelling_word_display"][value="30"]:checked ~ .spelling_holder label[for="spelling_words_display_30"] , 
[name="spelling_word_display"][value="35"]:checked ~ .spelling_holder label[for="spelling_words_display_35"] { 
	background:black;
	color:white;
}







.options_box .helper{
	color:red;
	font-size:13px;
	display:flex;
	text-align: center;
    font-weight: bold;
	margin:auto;
	text-transform:capitalize;
	padding:3px;
}
.optionsHolder label{
	cursor:pointer;
	user-select: none; 
}
.optionsHolder label input{
	padding:.1em 0vw;
	user-select: none; 
	pointer-events:initial;
}


.optionsHolder input:checked + img{
	border:thin solid white;
	filter: grayscale(0);
	box-shadow:2px 2px 2px rgba(0,0,0,0.25) inset;
}

.wordListHolder input{
    border-radius: 2px;
    background: var(--secondary_blue);
    border-radius: 4px;
    border: var(--border_around_secondary_blue);
    padding: 5px;
}


.wordListHolder{
	display:grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	grid-row-gap: .7em;
    width: fit-content;
    margin: auto;	
}

 .wordListHolder display{
   display: none;
}
 


[name="wrongSpellingDisplay"]:checked ~ .spellingHolder .wrongSpellingHolder{
	display:flex;
}

[name="wrongSpellingDisplay"] ~ .spellingHolder .wrongSpellingHolder{
/*	display:none;*/
}

.createButtonHolder{
	display:flex;
	align-items:center;
	padding:1vw 1vw;
	order:3;
	margin: 0px 20px;
}



.wrongSpelling{
}
.wrongSpelling:invalid {
	box-shadow:none;
	background:linear-gradient(#F7E1E1,#F2D5D5);
	display:none;
}	


details[show_list="0"]{
	display:none;
}




[hideCheck]{
	display:none;
}

.optionsHolder {
}

.worksheetSelectHolder , .sheetOptionsHolder{
	display:flex;
	flex-direction:column;	
    border: thin solid black;
}
.worksheetSelectHolder gridItem{
	display:initial;
}
.sheetOptionsHolder gridItem{
	display:flex;
	flex-direction:column;
	margin-bottom:1vh;
}
wordholder gridItem{
    display: flex;
     align-self: flex-start;
}
wordholder input[type="text"]{
	padding:1px;
}








#options_holder gridLabel.blue {
    background: var(--accent_2);
    color: rgba(115, 110, 110, 1);
    border: thin solid gray;
    border-left: none;
    border-right: none;
}

#options_holder .big_box_holder{
	background: var(--accent_4);
	width:450px;
}


gridRow[nop]{
	display:none;
}







@media only screen and (max-device-width: 480px){
	
	wordHolder{
		display:flex;
		flex-direction:column;
		margin:1vh 1vw;
	}
	.wordListHolder {
		display: flex;
		flex-direction: column;
		padding: 0vh 4vw;
	}
	  
	.optionsHolder{
		display:flex;
		flex-direction:column;
		margin:auto;
		width:100%;
		margin:10vh 0vw;
	}	
	wordholder input[type="text"] {
		padding: 5px;
		font-size: 1.2rem;
		margin: auto;
	}
	.wrongSpellingHolder {
		display: flex;
		flex-direction: column;
	}	
	
	.optionsHolder gridRow > *:nth-of-type(1){ order: 1; }	
	.optionsHolder gridRow > *:nth-of-type(2){ order: 2; }	
}











#normal_word_list{
	border:none;	
}
#normal_word_list legend{
	margin: 10px auto;
    margin-bottom: 10px;
    text-align: center;
}


#review_word_list{
	border: none;
    margin-top: 30px;
    border-top: thin solid green;
}
#review_word_list legend{
    margin: 10px auto 10px;
}


#bonus_word_list{
	border: none;
    margin-top: 30px;
    border-top: thin solid red;
}
#bonus_word_list legend{
    margin: 10px auto 10px;
}



			




.spelling_holder{
	display:flex;
	flex-direction:column;
    max-width: 800px;
    width: 100%;	
	margin:auto;
}

.word_list_holder{
	display:flex; 
	flex-direction:column; 
	margin:auto;
}


word_holder [word_count] {
	text-align: end;
}

word_holder [word_count]::before {
	counter-increment: normal_word;
	content: attr(word) " " counter(normal_word) " ";
}

.word_list_content{
	counter-reset: normal_word;
	display:content;
	display:flex; 
	flex-direction:column;
}




[name="fib_display"]:checked ~ .spelling_holder .word_options .sentences{ display:contents;}
[name="definitions_display"]:checked ~ .spelling_holder .word_options .definitions{ display:contents;}
[name="crossword_display"]:checked ~ .spelling_holder .word_options .crossword{ display:contents;}
[name="wrong_spelling_display"]:checked ~ .spelling_holder .word_options .wrong_spelling{ display:contents;}


.word_options{
	display:none;
}
[word_options_display]:checked ~ .spelling_holder .word_options{
	display:grid;
	grid-template-columns: auto 1fr auto;
	row-gap: 4px;
	padding:4px 0px 4px 150px;
}
[word_options_display]:checked{
	background:pink;
}


[word_options_display]:checked ~ .spelling_holder .word_list_holder{
	width: 100%;
}

word_holder{
	display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

refresh_text_holder{
    justify-content: center;
    align-items: center;
	display: flex;
}

refresh_text_holder img{
	display:none;
	cursor:pointer;
	height:16px;
}
refresh_text_holder[allowed] img{
    justify-content: center;
    align-items: center;
	margin-left:5px;
	display: initial;
}

.word_options .sentences content{
	display:flex;
}

.word_options text{
	display:flex;
	align-items:center;
	justify-content:center;
	margin:0px 10px;
	padding:0px 15px;
	border-radius:9px;
	font-size:8.5pt;
    padding: 2px 15px;
    margin: auto 10px;	
}

.word_options input{
	border:none;
	border-radius:0px;
	width:100%;
	padding: 5px 25px 5px 10px;
}







.word_options manual_select{
    position: absolute;
    right: -2px;
    display: flex;
    flex-direction: column;
    background: white;
    border: border:;
    background: white;
    max-width: 500px;
    width: max-content;
    top: calc(100% + 5px);
    row-gap: 6px;
    /* left: 0; */
    border: 2px solid #22659E;
    box-shadow: -4px 4px 6px 2px rgb(0 0 0 / 25%);
}

.word_options manual_select select_option:before{
	content: '• ';
}

.word_options select_option{
	border: thin solid transparent;
    padding: 1px 10px;
    font-size: 11pt;
	cursor:pointer;
}

.word_options select_option:hover{
	border:thin solid gray;
	background:rgba(0,0,0,0.1);
}


.word_options input{
	border-radius: 6px;
	background:transparent;
}





.sentencesarea[type="text"]:placeholder-shown , .definitionsarea[type="text"]:placeholder-shown , .wrongSpelling:placeholder-shown , .crosswordInput[type="text"]:placeholder-shown{
	box-shadow:none;
}



.word_options .sentences text{
	background:#CCE0F1;
	color:#22659E;
}

.word_options .sentences content{
	background:#f5faff;
	border: 1px solid #22659E;
}

.word_options .sentences input::-webkit-input-placeholder{
	color:rgb(34 101 158 / 50%);
}

.word_options .sentences manual_select{
    border: 2px solid #22659E;
}


[word_count_display]{
	display:none;
}

[name="spelling_word_display"][value="20"]:checked ~ .spelling_holder [word_count_display="20"]{
	display:revert;
}


[name="spelling_word_display"][value="25"]:checked ~ .spelling_holder :is( [word_count_display="25"]  ) {
	display:revert;
}
[name="spelling_word_display"][value="30"]:checked ~ .spelling_holder :is( [word_count_display="25"] ,[word_count_display="30"]  ) {
	display:revert;
}
[name="spelling_word_display"][value="35"]:checked ~ .spelling_holder :is( [word_count_display="25"] ,[word_count_display="30"] ,[word_count_display="35"] ) {
	display:revert;
}


#review_word_list , #bonus_word_list{
	display:none;
}

[name="review_bonus"]:checked ~ .spelling_holder :is( #review_word_list , #bonus_word_list ) {
	display:revert;
}



#spelling_words_extra_options{
	position:absolute; 
	display:flex; 
	flex-direction:column; 
	padding:10px; 
	border:thin solid gray; 
	border-radius:6px; 
	background:white;
	box-shadow:var(--box_shadow);
}

#spelling_words_extra_options fieldset{
	margin-bottom:10px;
	border:none;
}

#spelling_words_extra_options fieldset content{
	padding:10px;
	display:block;
	padding-left: 30px;
}

#spelling_words_extra_options fieldset legend{
	font-size:9pt;
	margin: 0px 5px;
	text-align:left;
	white-space:nowrap;
}

 #spelling_words_extra_options fieldset label{
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.word_options .wrong_spelling text{
	background:#F8C3C3;
	color:#B91414;
}

.word_options .wrong_spelling content{
	column-gap: 10px;
}

.word_options .wrong_spelling input::-webkit-input-placeholder{
	color:rgb(185 20 20 / 50%);
}

.word_options .wrong_spelling input{
	border-radius: 6px;
	border: 1px solid #B91414;
	background:#fff3f3;
}

.word_options .wrong_spelling manual_select{
	border: 2px solid #B91414;
}




.word_options .definitions text{
	background:#D8CCF1;
	color:#52378A;
}

.word_options .definitions content{
	background:#f6f1ff;
	border: 1px solid #52378A;
}

.word_options .definitions input::-webkit-input-placeholder{
	color:rgb(82 55 138 / 50%);
}

.word_options .definitions manual_select{
	border: 2px solid #52378A;
}




.word_options .crossword text{
	background:#F2E5B7;
	color:#796006;
}

.word_options .crossword content{
	background:#fbf8f2;
	border: 1px solid #796006;
}

.word_options .crossword input::-webkit-input-placeholder{
	color:rgb(121 96 6 / 50%);
}

.word_options .crossword manual_select{
	border: 2px solid #796006;
}





word_holder [word_count]{
	width:80px;
}

.word_options content_holder{
	display:none;	
}

.word_options content{
	display:flex;
	width:100%;
	border-radius: 6px;
}

.word_options details{
	display:flex;
}

.word_options summary{
	cursor:pointer; 
	font-size:.8em; 
	height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.word_options details content{
	background:#e9f5ff; 
	position:absolute; 
	top:100%; 
	padding:2px; 
	border:thin solid black; 
	width: 100%; 
	left: 0px; 
	display:flex; 
	flex-direction:column;
}