/********************* CSS for Vrevent *****************/

#jform_title_deField-lbl, #jform_title_enField-lbl, #jform_description_deField-lbl, #jform_description_enField-lbl,
#jform_vreventList-lbl, #jform_countryList-lbl, #jform_yearField-lbl {
	color: green;
	position: relative;
	right: -60px;
	top: 10px;
	font-size: 18px;
	background-color: white;
	width: fit-content;
}

#jform_title_deField, #jform_title_enField, #jform_description_deField, #jform_description_enField,
#jform_vreventList {
	margin-right: 10px;
	padding: 6px 3px 6px 8px;
		padding: 8px 3px 8px 3px;
	border: 1px solid black;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
}

#vreventform >
 .control, .control-group { /* force horizontal alignment */
	display: block;
	margin-top: 0 !important;  /* no gap beetween fields */
	margin-bottom: 0 !important;  /* no gap beetween fields */
	background-color: white;
}
.form-select, .custom-select {
	border-width: 2px;
	background: white;
	padding-left: 4px;
}

#parent {
	background-color: white;
	width: auto;
	height: 100%;
	display: grid;
	grid-template-columns: 4fr 1fr 1fr;
	grid-template-rows: 100px 70px 4fr 1fr;
	gap: 8px;
}
/*							r>	c>	<r	<c */
#filterDiv { grid-area:		1 / 1 / 2 / 3; }
#vreventDiv { grid-area:		2 / 1 / 5 / 2; }
#buttonDiv { grid-area:		2 / 3 / 5 / 4; }

#yearDiv {
	height: 90px;
	padding: 0 0 0 5px;
}

#jform_filterOptions * {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	/* margin-top: 5px; */
}

/* #buttonDiv { */
	/* border: 1px solid black; */
	/* border-radius: 12px; */
	/* margin-top: 8px; */
	/* margin-bottom: 8px; */
	/* padding: 0px; */
	/* height: fit-content; */
/* } */

#jform_yearField {
	width: 80px;
	height: 25px;
	font-size: 9.5px;
	transform: scale(2);	/* the trick to make the up/down buttons bigger */
	text-align: center;
	margin: 0px auto 12px auto;
}

#filterDiv {
	overflow: hidden;
	width: 100%;
	height: fit-content;
	justify-content: center;
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 3fr;
	border: 1px solid black;
	border-radius: 12px;
	padding: 8px 10px;
	column-gap: 15px;
	margin: 0;
}
#filterCountryDiv, #filterYearDiv, #filterOptionDiv {
	width: 100%;
	margin: 0;
}
#filterCountryDiv { padding-top: 6px; }
#filterCountryDiv > .control-group { line-height: 0; }
#filterCountryDiv *, #vreventDiv * { font-size: 18px; }

#jform_filterOptions-lbl {
	font-size: 18px;
	color: green; 
	margin: 5px auto;
}
#filterOptionDiv {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 26px 30px;
	grid-row-gap: 1px;
	/* background-color: blue; */
}
#filterOptionLabelDiv { margin: 0; padding: 0; } 
#filterOptionLabel {
	grid-area: 1 / 1 / 2 / 2;
	width: 100%;
	color: darkgreen;
	font-size: 18px;
	font-weight: 550;
	text-align: center;
	padding-top: -5px;
}
#filterOptionSelectButtonsDiv {
	grid-area: 2 / 1 / 3 / 2;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
}

.optionButton {
	border-radius: 0;
	font-size: 20px;
	font-weight: 550;
	color: white;
	background-color: #448344;
}

.optionButton:disabled {	/* can be deleted */
	cursor: not-allowed;
	text-shadow: 1px 2px black;
	pointer-events: none;
	opacity: 0.4;
}
.optionBustton:hover {	/* can be deleted */
	box-shadow: none;
	background: linear-gradient(to bottom, darkgreen 5%, green 100%);
	background: linear-gradient(to bottom, #367c2b 5%, #1DB954 100%);
	border-color: #1DB954;
	box-shadow: none;
}

.optionButton:hover { background-color: darkgreen; }

.optionButton:active {	/* can be deleted */
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
	box-shadow: inset 0 2px 5px green;
}

#buttonDiv {
	padding-bottom: 20px;
	display: flex;
	flex-direction: column;
	margin: 0 0 30px 0;
	border: none;
}

.button {
	box-shadow: 1px 4px 0px 0px #005A9C;
	background: linear-gradient(to bottom, #005A9C 5%, #4682B4 100%); /* dodgers blus -> steel blue */
	border-radius: 18px;
	border: 1px solid #005A9C;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-weight: 550;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	padding: 10px 12px;
}

.button:disabled {
	cursor: not-allowed;
	text-shadow: 1px 2px black;
	pointer-events: none;
	opacity: 0.4;
}
.button:hover {
	box-shadow: none;
	background: linear-gradient(to bottom, darkgreen 5%, green 100%);
	background: linear-gradient(to bottom, #367c2b 5%, #1DB954 100%);
	border-color: #1DB954;
	box-shadow: none;
}

.button:active {
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
	box-shadow: inset 0 2px 5px green;
}

.bigButton {
	border-radius: 18px;
	font-size: 22px;
	font-weight: 650;
	margin: 8px auto 8px auto;
	width: 80%;
	max-height: 120px;
}

.bigButton:active {
	position:relative;
	top:1px;
}
.button:disabled {
	cursor: not-allowed;
	text-shadow: 2px 2px #000;
}
.smallButton {
	border-radius: 8px;
	font-size: 18px;
	font-weight: 650;
	margin: 8px auto 8px auto;
}
