/*
    Rabbit Well Website

    Rabbit Well Site main page style sheet
    Author: I-Jien Kou
	Date:   8/25/2016

    Filename:         main_mobile_800px.css
    Description:  for between 800px to 999px to have top nav and right nav
    Supporting Files: 

    Modify: 4/7/2023  -- Use image icons at left navigation list
    Add: div.nav_icon class
    Add: fill_empty_space class
    Modify: 4/7/2023 -- Add Android Game tab into top navigation list
    a. Change: display: none to <--> display: block
    b. Modify li width from fix length to 25%
    Modify: 4/7/2023 -- define header h1 font
    Modify: 4/7/2023 -- fix navigation bar height to accomodiate both text and icon images by using display: flex for ul tag
    Modify: 4/7/2023 -- fix drop down by adding drop down item width: 500% and float clear: both


*/


/* Display HTML5 structural elements as blocks */


aside, figure, footer, header,
section, nav {
	display: block;
}




/* Set the default page element styles */


body * {
	margin: 0px;
	padding: 0px;
}


/* Styles for the Page Body */

body {
    background: #CF9 url(images/math_blackboard.png);
	font-family: Verdana, Geneva, sans-serif;
}



/* Styles for div container of entire content */


#container {
	background: #FFC;
	border-left: 1px solid black;
	border-right: 1px solid black;
    margin: 0px auto;
	width: 800px;
}



/* Styles for the Page Header */


header {
	/* background: rgb(125, 120, 89) url(images/math.png) right no-repeat;  */
	background-image: url(images/rabbit_hole_logo.png), -o-linear-gradient(black, rgb(125, 120, 89) 20%, white 90%) ;
	background-image: url(images/rabbit_hole_logo.png), -ms-linear-gradient(black, rgb(125, 120, 89) 20%, white 90%);
	background-image: url(images/rabbit_hole_logo.png), -moz-linear-gradient(black, rgb(125, 120, 89) 20%, white 90%);
	background-image: url(images/rabbit_hole_logo.png), -webkit-linear-gradient(black, rgb(125, 120, 89) 20%, white 90%);
	background-image: url(images/rabbit_hole_logo.png), linear-gradient(black, rgb(125, 120, 89) 20%, white 90%);
	
	background-repeat: no-repeat;
	background-position: right;
	
	color: white;
	font-size: 20px;
	height: 100px;
	letter-spacing: 7px;
	margin-bottom: 10px;
	padding-left: 50px;
	padding-top: 20px;
	text-align: left;
}



header h1 {
	vertical-align: middle;
	font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, 'sans-serif';
	font-style: oblique;
	font-stretch: condensed;
	font-weight: bolder;
}

.highlight {
	background-color: #6FC;
}

/*
#highlight a {
	color: blue;
}
*/

/* Vertical Navigation List Style */

nav.vertical {
	float: left;
	
	background-color: rgb(125, 120, 89) repeat-y;
	height: 100%;
	width: 100%;
}

nav.vertical ul {
	display: flex;
	justify-content: left;

	background-color: rgb(125, 120, 89);
	line-height: 3em;
	list-style-type: none;
}

/* add this to set horizontal nav tab width */
nav.vertical ul li {
	display: block;
	/* width: 200px;  */
	width: 25%;
}
/* end add */


nav.vertical ul li a {
	color: white;
	color: rgba(255, 255, 255, 0.5);
	padding: 20px 5px 20px 15px;
	text-decoration: none;
}

/* Nav icon */
li.nav_icon {
	display: block;
	/*
	padding-left: 5%;
	padding-right: auto;
	padding-top: 10%;
	padding-bottom: auto;
	align-content: center;
	*/
	
}

nav.vertical ul li:hover {
	background-color: #F9F;
	list-style-image: url(images/wheelmarker.png);
}

nav.vertical ul a:hover {
	color: yellow;
	color: rgba(255, 255, 255, 1);
}



/* Dropdown List Style */

nav.vertical li ul {
	position: absolute;
	/* position: relative; */
	font-size: 12px;
	left: -10000px;
}

nav.vertical li li {
	background: #0F9;
	list-style: none;
}

nav.vertical li li a {
	color: black;
	color: rgba(255, 255, 255, 1);
}

nav.vertical li#programPageLink_1:hover ul {
	display: block;
	position: relative;
	left: 0px;
	/*
	left: 205px;
	top: 185px;
	*/

}

nav.vertical li#programPageLink_1:hover ul li {
	width: 200%;
	float: left;
	clear: both;
}


nav.vertical li#programPageLink_2:hover ul {
	display: block;
	position: relative;
	left: 0px;

}

nav.vertical li#programPageLink_2:hover ul li {
	width: 200%;
	float: left;
	clear: both;
}


nav.vertical li#programPageLink_3:hover ul {
	display: block;
	position: relative;
	left: 0px;

}

nav.vertical li#programPageLink_3:hover ul li {
	width: 200%;
	float: left;
	clear: both;
}


nav.vertical li li:hover {
	background-color: red;
	list-style: none;
}





/* Main section styles */

#main {
	background-color: white;
	float: left;
	width: 600px;
}

#main iframe {
	background-color: white;
	float: left;
	border: none;
	allowTransparency: true;
	margin: 0px;
	padding: 0px;
	height: 660px;
}


iframe {
	background-color: white;
	float: left;
	border: none;
	allowTransparency: true;
	margin: 0px;
	padding: 0px;
}





/* Aside styles */


aside {
	float: left;
	height: 100%;
	width: 200px;
}


aside h1 {
	color: green;
	font-size: 12px;
	font-weight: normal;
	letter-spacing: 2px;
	text-align: center;
}


/* Jane Question: Why no margin left space */

aside li {
	background-color: #996;
	
    -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	
	color: green;
	font-size: 10px;
	list-style: none;
	margin: 5px;
	padding: 5px;
}

aside a {
	text-decoration: none;
}

aside li:hover {
	background-color: rgb(131, 121, 36);
}




/* Footer styles */


footer {
	clear: left;
	margin-left: 200px;
}


footer address {
	border-top: 1px solid green;
	color: green;
	font-size: 10px;
	font-style: normal;
	text-align: center;
	margin-top: 25px;
	padding-bottom: 20px;
}



#highlight_footer a {
	color: rgb(125, 120, 89);
}
	


/**********************************/
 
#games {
	display: inline;
	padding-left: 3%;
	font-size: 12px;
	
}
	
.fill_empty_space {
	display: inline-block;
	padding-right: 60%;
}	


	
