@import url('https://fonts.googleapis.com/css2?family=Paytone+One&display=block');
@import url('https://fonts.googleapis.com/css2?family=Sarabun&display=block');

:root {
  --link: #0097fe;
  --hover: #0070d6;
  --active: #ed8546;
  --active-hover: #d36629;

  --max-width: 900px;

  --asu-gold: #f5c74e;
  --asu-maroon: #8c1d40;
  --asu-green: #78be20;
  --asu-orange: #ff7f32;

  --special-font: 'Paytone One';
 	--chatting-font: 'Sarabun';
 	--smaller-line-height: 1.25rem;
	}

/* PRINT ONLY */
.print-only{
	display: none !important;
	}			

html{
	scroll-behavior: smooth;
	}

/*#preload{ display: none; }*/

/* ZEROING OUT STYLES ------------------*/
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	}
body, input, button, select, option, textarea {
    background-color: #fff;
    font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
	}

/* LINKS -----------------------*/
a, a:link, a:visited, a:focus, .link{
	color: var( --link );
	text-decoration: none;
	cursor: pointer;
	font-weight: bold;
	}
a:hover, .link:hover{
	color: var( --hover );
	}


img {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
	}
div{
	font-size: 100%;
	}

hr.dotted{
	border: 0;
	border-top: dotted 2px #ccc;
	height: 0;
	margin: 4rem 0 2rem 0; 
	}

h1{
	color: var( --asu-maroon );
	margin: 0 0 1rem 0;
	padding: 1rem 0 0 0;
	font-family: var(--special-font);
  font-size: 3rem;
  line-height: 3rem;
  letter-spacing: .1rem;
  word-spacing: 0.25rem;
	}
h2 {
	font-size:  1.65rem;
	font-weight: normal;
	padding: 1.5rem 0 .75rem 0;
	line-height: 1.75rem;
	}	
p + h2, ul + h2, .img-right-wrapper + h2{ padding-top: 2rem; }	
p + h2 {
	padding-top: 2.5rem;
	}
h1 + h2{ padding-top: 3rem; }	
h2 + h3{
	padding-top: 1rem;
	}
h3 {
	font-size: 1.3rem;
	font-weight: normal;
	padding: 1.75rem 0 0 0;
	}
h4 {
	font-weight: bold;
	padding: .5rem 0;
	}

p{
	padding: .75rem 0;
	}
ul{
	margin: .75rem 0 .75rem 1rem;
	}	
li{
	padding: .15rem 0;
	}

dl{
	display: grid;
	grid-template-columns: 2rem auto;
	grid-gap: 1rem;
	align-items: center;
	padding: .5rem 0 1rem 0;
	}
h2 + dl{
	padding-top: 1.5rem;
	}	
dt{
	display: grid;
	align-items: center;
	}	
dd{
	line-height: var(--smaller-line-height);
	}		

iframe {
  margin: 1rem 0 2rem 0;
  width: 100%;
  aspect-ratio: 1.77;
  border: 2px solid #ccc;
  }
  
.no-select { pointer-events: none; }	

.hidden { display: none; }


/* MAIN BUTTONS --------------------- */	
.button-wrapper{ padding-top: 1.5rem; }
.button-wrapper button{ margin: .25rem .5rem; }

button {
  position: relative;
  display: inline-block;
	padding: .75rem 1rem;
	margin: .5rem 0 .3rem 0;
	background-color: #0097fe;
	color: #fff;
	border: none;
	border-radius: 0.75rem;
	min-width: 7rem;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
	outline: none;
  transition: transform .25s ease-in-out;
  }
button:hover{ 
	background-color: #0077e8;
	transform: scale(1.15);
	z-index: 100;
	}   
button.red{	background-color: #dc3545; }
button.red:hover{	background-color: #b80012;}

.full-width{ width: 100%; }	
button.padded-top{	margin-top: 2rem; }

.split-button-wrapper {	display: flex; }
.split-button-wrapper button{	margin-top: 1rem; }	
.split-button-wrapper button:nth-child(2){margin-left: auto; }			
.button-wrapper.right { text-align: right; }
.button-wrapper.center { text-align: center; }


.language-selection-wrapper{
	padding: 1rem 0 3rem 0;
	display: flex;
	grid-template-columns: 1fr 1fr;
	flex-wrap: wrap;
	justify-content: center;
	}
.language-selection-wrapper button:hover{
	transform: none;
	}	
.language-selection-wrapper > button:first-child, .language-selection-wrapper > a:first-child>button {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	}	
.language-selection-wrapper > button:last-child, .language-selection-wrapper > a:last-child>button{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	}	
.language-selection-wrapper > button{
	background-color: var(--asu-maroon);
	cursor: default;
	}		
.language-selection-wrapper > a > button{
	background-color: #e1e1e1;
	color: #8d8d8d;
	box-sizing: border-box;
	}
.language-selection-wrapper > a > button:hover{
	background-color: #ccc;
	color: #333;
	}		


/* INNER WRAPPER --------------------- */
#inner-wrapper{
	margin: 4rem 0 0 0;
	padding: 0 1rem;
	}

/* INLINE MENU --------------------- */
ul.inline-menu {
	list-style-type: none;
	margin: 0;
	padding: 1rem 0 0 0;
	line-height: 1.5em;
	}
ul.inline-menu li{
	display: inline;
	}
ul.inline-menu li:after{ 
	content: ' | ';
	color: #000;
	}
ul.inline-menu li:last-child:after{ 
	content: none;
	}
ul.inline-menu + p{
	padding-top: 2rem;	
	}

/* HEADER --------------------- */
#header-wrapper {
	border-bottom: solid 2px #000;
	position: fixed;
	top: 0;
	width: 100%;
	margin: 0;
	padding: 0 1rem;
	background-color: #fff;
	z-index: 1000;
	}
#header-top-row{
	display: flex;
	align-items: center;
	}	
#header-top-row *:nth-child(2){
	margin-left: auto;
	}
/* BREADCRUMBS ----------------*/ 
#breadcrumb{
	padding: .75rem 0;
	display: inline-block;
	}
#home-crumb{
	font-weight: bold;
	}

/* GAME ICONS ----------------*/ 
#header-icon-wrapper{
	display: flex;
	grid-gap: .65rem;
	align-items: center;
	}
#header-icon-wrapper img{
	height: 1.8rem;
	}
#header-icon-wrapper.hidden{ display: none; }

/* RIGHT SIDE IMAGES ----------------*/ 
.img-right-wrapper{
	display: grid;
	}
.img-right-wrapper img.padded{
	padding: 1rem;
  background-color: #fff;
	}	
.img-right-wrapper>div:first-child{ order:2 }
.img-right-wrapper>div:nth-child(2){ order:1 }	
.img-right-wrapper img{
	width: 80%;
	margin: 1.25rem auto 0 auto;
	color: #939393;
	font-size: .9rem;
	}
.img-right-wrapper.small>div:nth-child(2) {
	text-align: center;	
	width: 50%;
	margin: 0 auto;
	}
.img-right-wrapper.medium>div:nth-child(2)	{
	text-align: center;	
	width: 80%;
	margin: 0 auto;
	}		

/* center images */
.img-center-wrapper{
	text-align: center;
	}	 	
.img-center-wrapper img{
	text-align: center;
	width: 100%;
	}	 		

/* HAMBURGER ICON ----------------*/ 
#hamburger-wrapper {
	display: inline-block;
	cursor: pointer;
  width: 2.4rem;
  border: 2px solid #ccc;
  border-radius: 0.25rem;
  padding: 0.15rem 0.4rem;
  margin-left: .65rem;
	}
.bar-1, .bar-2, .bar-3 {
	height: .2rem;
  background-color: #ccc;
  margin: .25rem 0 .25rem 0;
	transition: 0.4s;
	}
#hamburger-wrapper.open .bar-1 {
  -webkit-transform: rotate(45deg) translate(.3rem, .3rem);
  transform: rotate(45deg) translate(.35rem, .35rem)
	}
#hamburger-wrapper.open .bar-2 {
	opacity: 0;
	}
#hamburger-wrapper.open .bar-3 {
  -webkit-transform: rotate(-45deg) translate(.3rem, -.3rem);
  transform: rotate(-45deg) translate(.3rem, -.3rem);
	}
#hamburger-wrapper.hidden{
	display: none;
	}

/* NAV ----------------*/ 
nav	{
	display: none;
	}
nav.open{
	display: block;
	}	
nav ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
	}	
nav li{
	padding: .75rem 0;
  border-top: 1px solid #ccc;
	}	
nav li.active a:link, nav li.active a:visited, nav li.active a:hover{
	color: #000;
	}
	

/* HOME WARNING BOX ------------- */ 
#home-warning button, #change-language-message button{
	background-color: #aedaff;
	color: #000;
	}
#home-warning button:hover, #change-language-message button:hover{
	background-color: #9ad1ff;	
	}
#home-warning .button-wrapper, #change-language-message .button-wrapper{
	text-align: left;
	padding-top: 1rem;
	}		

/* TOP MESSAGE BOXES (HELP, POP UP FOR BREADCRUMB TO GET BACK TO MENU) ----------------- */ 
.top-message-wrapper{
	padding: 1rem;
  border-radius: .75rem;
	position: relative;
	background-color: #dff2ff;
	margin: 1rem 0;
	}
.top-message-wrapper .title{
	font-weight: bold;
	}
.top-message-wrapper p{
	padding: .5rem 0;
	}			
.top-message-wrapper .close-icon, .warning-close-icon{
	width: 2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
	}
.top-message-wrapper+.top-message-wrapper{
	margin-top: 0;
	}

/* TOGGLE BOXES ---------------------------------- */
.toggle-box{
	margin-top: 1rem;
	} 	
.toggle-box + .toggle-box{
	margin-top: 1rem;
	}	
.toggle-title{
	background-color: #efefef;
	padding: 1rem 3rem 1rem 1rem;
	border-radius: .75rem;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1.5rem;
	}
.toggle-title:hover{
	background-color: #ddd;
	}	
.toggle-box .arrow{
	background-image: url('../images/toggle-arrow-up.svg');
	background-repeat: no-repeat;
	background-position: 96% center;
  background-size: 1.75rem;
	}	
.toggle-box .toggle-content-wrapper{
	padding: 1rem;
	display: none;
	border: solid 3px #efefef;
	border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
	}	
/* open toggle */
.toggle-box.show .toggle-title{ border-radius: .75rem .75rem 0 0; }
.toggle-box.show .arrow{ background-image: url('../images/toggle-arrow-down.svg'); }	
.toggle-box.show .toggle-content-wrapper{	display: block;}

.toggle-box .toggle-content-wrapper > h2 {
	padding-top: 0;
	}

/* Error */ 	
.error {
	background-color: #ffe5e5;
	padding: 2rem;
	color: #e01919;
	border-radius: .5rem;
	}

/* BACK TO TOP --------------------- */
#back-to-top{
	position: fixed;
	width: 3rem;
	height: 3rem;
	background-color: rgba( 0, 0, 0, .4);
	right: 0;
	bottom: 0;
	border-radius: 50%;
	text-align: center;
	margin-right: 1rem;
	margin-bottom: 2rem;
	padding-top: 0;
	z-index: 500;
	cursor: pointer;
	transition: all 300ms ease-in-out;
	transform: rotate( 240deg) scale(0, 0);
	}	
#tri {
	width: 0;
    height: 0;
    border-left: 1rem solid transparent;
    border-right: 1rem solid transparent;
    border-bottom: 1.6rem solid #fff;
    margin: auto;
    padding-top: .5rem;
	}
#back-to-top.show{
	transform: scale(1, 1);
	transform: rotate(0deg);
	}

/* FOOTER --------------------- */
footer{
	border-top: solid 1px #ccc;
	padding: .5rem 0 0 0;
	margin: 2rem 0 3rem 0;
	}
footer ul{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	}
footer li{
	padding: 0;
	font-size: .9rem;
	color: #aaa;
	line-height: 1.15rem;
	}
footer li::after{
	content: '|';
	margin: 0 .25rem;
	}	
footer li:last-child::after{
	content: '';
	}				
footer a:link, footer a:visited{
	color: #aaa;
	font-weight: normal;
	}		
footer a:hover{
	color: #888;
	}	
	
/* REMOVES BLUE HIGHLIGHT WHEN ELEMENT IS CLICKED --------------------- */
a:active, img:active, #back-to-top, .link:active, #main-icons>div a:active, #main-icons>div a:active > *, #choice-icons-wrapper > div {
	-webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
	}	



/* PAGE SPECIFIC STYLES ---------------------------------------- */


/* HOME PAGE --------------------- */
#home-title{
	text-align: center;
	font-weight: normal;
	font-size: 4.5rem;
	line-height: 4rem;
  padding: 1.5rem 1rem;
  }
.banner{
	padding: 2rem 2rem;
  background-color: #FFC627;
  color: #000;
  text-align: center;
  font-weight: bold;
  line-height: 2rem;
  margin-bottom: -1rem;
	}
/* ICON GRID FOR HOME PAGE --------------------- */
#main-icons{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
	grid-gap: 2rem 1rem;
	}
#main-icons > div{
	width: 160px;
	}	
#main-icons img {
  max-width: 10rem;
  display: block;
  margin: 0 auto .5rem auto;
	}
#main-icons button{
	margin: .4rem auto .5rem auto;
	line-height: 1.3rem;
	}

/* home page link */
#home-worksheet-link{
	margin: 3rem 0;
	}


.center{
	text-align: center;
	}
.larger-text {
	font-size: 1.15rem;
	}		