html    { height: 100vh; user-select: none; }
body    { height: 100vh; padding: 0px; margin: 0px; font-family: verdana; font-weight: bold;}
:root {
  --separator-height: 20px;
  --circle-size: 100px; 
  --item-height: 100px;
  --border: 1px solid #000000;
  --effect-color-a: #ffffff;
  --effect-color-b: #465298;
}


div#container
{
	margin: 20px;
	margin-top: 0px;
}

@media screen and (max-width: 960px) {
  html { height: calc(100vh - 100px);}
  body { height: calc(100vh - 100px);}
  div#container {
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
}

@media screen and (min-width: 960px) {
  div#container {
    width: 940px;
    margin: 0 auto;
  }
}

div#list
{
	margin: 0 auto;
	display:flex;
	flex-direction:column;
	width: 100%	;
	align-items:center;
	padding-top: 40px;
	padding-bottom: 20px;
}

div#result
{
	padding: 40px;
	margin: 0 auto;
	display:flex;
	flex-direction:column;
	justify-content: space-evenly;
	align-items: center;
	height: calc(100vh - 120px);
	width: calc(100% - 80px);
}

div#res_title
{
	text-align: center;
	min-height: 50px;
	flex-grow: 1;
	color: #ffffff;
	font-size: 24px;
	display: flex;
	align-items: center;
}
div#res_year
{
	text-align: center;
	min-height: 50px;
	flex-grow: 1;
	color: #ffffff;
	font-size: 36px;
	display: flex;
	align-items: center;
}
div#res_desc
{
	text-align: center;
	min-height: 100px;
	flex-grow: 3;
	color: #ffffff;
	font-size: 16px;
	display: flex;
	align-items: center;
}
button#res_button
{
	background-color: #444444;
	color: #000000;
	border: 2px solid #ffffff;
	border-radius: 2px;
	height: 60px;
	width: 120px;
	color: #ffffff;
	font-size: 16px;
}
div#res_padding
{
	min-height: 20px;
	flex-grow: 1;
}


.red
{
	background-color: #62060c;	
}

.green
{
	background-color: #1e513e;		
}

div.crunchandhide
{
	height:50vh !important;
	display:none !important;
	overflow:hide;
}


div.item
{
	padding: 10px;
	padding-top: 16px;
	padding-bottom: 16px;
	background-color: #dddddd;
	min-height: var(--item-height);
	width: calc(100% - 20px);
	display: flex;
	align-items: center;
	justify-content: center;
	border: var(--border);
	z-index:100;
	border-radius: 2px;
	font-size: 32px;
	text-align: center;
}

.blue
{
	color: #313d59;
}

div.separator
{
	display:flex;
	flex-direction:column;
	align-items:center;
	z-index: 101;
	cursor: pointer;
	width: 100%;
}

div.sep_circ
{
	padding: 0px;
	margin: 0px;
	width: var(--circle-size);
	height: var(--circle-size);
	border-radius: var(--circle-size);
	background-color: var(--effect-color-a);
	/* margin-top: calc(var(--circle-size)*(-0.4)); */
	margin-top: calc( calc(var(--circle-size) - var(--separator-height) - 2px) / -2);
	margin-bottom: calc( calc(var(--circle-size) - var(--separator-height) - 2px) / -2);
	z-index:102;
	border: var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 1s ease-in-out;
}

div.sep_line
{
	height: var(--separator-height);
	padding: 2px;
	width: 100%	;
	background-color: var(--effect-color-a);
	z-index:103;
	/* margin-top: calc(-4px + var(--circle-size)*(-0.2) ); */
	margin-top: calc(var(--separator-height) * -1 - 4px);
	display: flex;
	justify-content: space-between;
	border-radius: 2px;
}

div.sep_line_bg
{
	width:0px;
	background: repeating-linear-gradient(
  		45deg,
  		#606dbc,
  		#606dbc 10px,
  		#465298 10px,
  		#465298 20px
	);
	
	transition: width 2s ease-in-out;
	border-radius: 2px;
}

@media screen and (min-width: 960px) {
  div.sep_line_bg
  {
  	background: none;
    background-color: var(--effect-color-b);
    border-radius: 0px;
  }
}


div.sep_text
{
	font-size: 32px;
	user-select: none;
	z-index:104;
	margin-top: calc(var(--separator-height) * -1 - 4px);
	line-height: calc(var(--separator-height) + 4px);
	height: calc(var(--separator-height) + 4px);
	transition: opacity 1s ease-in-out; 
}

div.startend
{
	height: calc(var(--circle-size)*(0.5));
	background-color: #888888;
	width: 100%	;
	border: var(--border);
	border-radius: 2px;
}


div#header
{
	background-color: #000000;
	color: #ffffff;
	position: sticky;
	top: 0;
	z-index: 110;
	box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.75);
	display: flex;
	padding: 10px;
	margin: -2px;
	height: auto;
	justify-content: space-between;
}


div#progress
{
	font-size: 16px;
	font-weight: normal;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 60px;
	padding-left: 10px;
}
div#progress>div
{
	text-align: right;
}
div#progress_total
{
	align-self:flex-end;
}

div#card_title
{
	font-size: 24px;
}

div#card_hint
{
	font-size: 16px;
	font-weight: normal;
}

div.package
{
	border:1px solid #000000;
	border-radius: 2px;
	padding: 10px;
	font-weight: normal;
	cursor: pointer;
}

div.package_title
{
	font-weight: bold;
}

.selected_package
{
	background-color: #465298;
	color: #ffffff;
}

button#package_select_submit
{
	width: 100%;
	height: 40px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 2px;
	border: 2px solid #444444;
	background-color: #dddddd;
}

/* effect ---------------------------- */
div.instant  > div >div.sep_line_bg { transition: width 0.2s ease-in-out;    }
div.selected > div >div.sep_line_bg { width: 100%; }
div.instant  > div.sep_circ { transition: background-color 0.2s ease-in-out; }
div.selected > div.sep_circ { background-color: var(--effect-color-b);       }
div.instant  > div.sep_text { transition: opacity 0.2s ease-in-out;            }
div.selected > div.sep_text { opacity: 0;                  }



