@charset "UTF-8"; /* DW defaults to lower case but Udemy cites upper case */
/* NOTE: Do not remove items from this file, as it's my source for how a tutorial was done. */

body {
	font-family: Arial;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	color: #bbb;
	background: #252525;
	
} /* Using padding values creates a problem with aligning canvases */

h1 { font-size: 1.6em; color: #29abe2; margin: 0px 0px .5em opx; font-weight: normal; }
h2 { font-size: 1.6em; color:#692567; margin: 0px 0px .5em 0px; }
h3 { font-size: 1.25em; color: #8b5487; margin: 0px 0px .25em 0px; }
p {
	margin: 0px 0px 1em 0px;
	font-size: 12px;
	text-align: left;
}
p.head {
	float: right;
	text-align: right;}
li { margin: 0px 0px 1em 0px; }

a img { border: none; }
a { color: #018fd8; }

a:hover { color: #a5319d; }

.content_sidebar h3 { color: #3274ad; margin-bottom: 10px; }
.content_sidebar p, .content_sidebar li { color: #3274ad; }
.content_sidebar a { color: #cc14a1; }
.content_sidebar a:hover { color: #000; }
.content_sidebar figure { display: block; margin: 0px; }
.content_sidebar figure .figure_photo { 
	background: url(images/sidebar_photo_large.jpg) 50% 0px;
	margin: 0px 0px 10px 0px;
	height: 175px;
	border: 1px solid #414141;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10 px;
	box-shadow:: 0px 4px 4px rgba(0,0,0,0.2);
	-moz-box-shadow:: 0px 4px 4px rgba(0,0,0,0.2);
	-webkit-box-shadow:: 0px 4px 4px rgba(0,0,0,0.2);
}

.content_sidebar figure figcaption {
	font-size: .9em;
	display: block;
	color: #777;
	margin: 3px 0px 15px 0px;
	padding: 0px 10px 0 px 10px;
}

/* layout */
.page {font-size: 1.1em; position: relative; margin: 0px auto 0px, auto; max-width: 980px;}

.page header {

	display: block;
	position: relative;
	height: 30px; 
	border-top-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;	
	-webkit-border-top-left-radius: 10px;	
	border-top-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
/*	background: url(../images/logo.png) no-repeat 0px 0px;*/
}

.page header a.logo {
	position: absolute;
	top: 8px;
	left: 10px;
	display: block;
	width: 330px; 
	height: 30px;  
	background: url(../img/logo.png) no-repeat 0px 0px;
}

.page .page_content {  padding: 1px 0px 10x 0px; 
	} 


.page .page_content .page_content_container_left {width: 30%; float: left; margin: 0px; padding: 0px;}

.page .page_content .page_content_container_right {width: 70%; float: left; margin: 0px; padding: 0px;}




.page .page_content .content { margin: 15px 20px 20px 20px; padding: 0px;}
.page .page_content .content_sidebar {
	margin: 15 px 20px 20px 0px;
	padding: 10px;
	border: 1px solid #bdbdbd;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background: #f1f1f1;
}

.page nav { /*position: absolute;*/ top: 4px; right: 20px; text-align: right; border: none; background: #90b091 }

.page nav a {
	
	border: none; 
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	color: #a2e699; 
	padding: 7px 10px 7px 10px;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	margin: 10px 2px 2px 2px;
	background-color: rgba(0,0,0,.6);
	font-size: 1.15em; 
	background: -moz-linear-gradient(left, #404040 0%, #262626 100%);
	background: -webkit-gradient(linear left top, left bottom, color-stop(60%,#404040), color-stop(90%,#262626));
}

.page nav a:hover {background-color: rgba(44,80,117,.7); color: #fff;}

.page footer {
	display: block;
	border-top: 1px solid #ddd;
	padding: 15px 10px 15px 20px;
	font-size: .9em;
	color: #757575;
	background-color: #fff;
	border-bottom-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	box-shadow: 0px 5px 3px rgba(0,0,0,.3);
	-moz-box-shadow: 0px 5px 3px rgba(0,0,0,.3);
	-webkit-box-shadow: 0px 5px 3px rgba(0,0,0,.3);
	background: -moz-linear-gradient(top, #ffffff 60%, #cccccc 90%);
	background: -webkit-gradient(linear left top, left bottom, color-stop(60%,#ffffff), color-stop(90%,#cccccc));
}

.clear_both { clear: both; line-height: 1px; }


/* special for interative media */
p.about {
	font-size: 1.2em; 
	}
button.topic {/* button style for javascript media */
	font-size: 1.2em; 
	color: #fff;   
	margin: 4px 0px 0px 2px;  /*top left? bottom right*/
	/*padding: 2px 4px 2px 4px; this is internal to the border*/
	font-weight: normal; 
	border-width: 0px 0px 0px 0px;
	border-radius: 8px;
	background: linear-gradient(to bottom, #DE5115 0%, #BC4512 49%, #993300 51%, #660000 100%);
}

button.ui {
	font-size: 1.4em; 
	/*color: #276193; */
	margin: 2px 2px 2px 2px; 
	font-weight: normal; 
	border-width: 0px 0px 0px 0px;
	border-radius: 8px;
	background: linear-gradient(to bottom, rgba(221,81,21,0.5), rgba(102,0,0,0.5));
	/*background: url(timer.png) no-repeat 0px 0px;*/
}

button.showhide {
	background: rgba(102,102,102,0.5) url(arrow_down.png) no-repeat left 100%;
}

/*button.toggle { font-size: 1.8em; color: #276193; margin: 0px 0px .5em 0px; font-weight: normal; }*/
button.back {
	height: 24px;
	width: 36px;

	font-size: 1.4em; 
	color: #ccc; 
	background-color: rgba(0,0,0,.6);
	margin: 0px 1px .5em 1px; 
	padding: 0px 10px 0px 10px;
	font-weight: normal; 
	border-width: 0px;
	border-radius: 4px;
	background: rgba(102,102,102,0.5) url(arrow_up.png) no-repeat center 100%;
	 
	/*height: 16px;
	width: 30px;
	*/
}

button.next {
	height: 24px;
	width: 36px;
	font-size: 1.4em; 
	color: #ccc; 
	background-color: rgba(0,0,0,.6);
	margin: 0px 1px .5em 1px; 
	padding: 0px 10px 0px 10px;
	font-weight: normal; 
	border-width: 0px;
	border-radius: 4px;
	background: rgba(102,102,102,0.5) url(arrow_down.png) no-repeat center 100%;
	
	/*
	height: 16px;
	width: 30px;*/
}

button.left {
	height: 30px;
	width: 100px;

	font-size: 1.4em; 
	color: #ccc; 
	background-color: rgba(0,0,0,.6);
	margin: 0px 1px .5em 1px; 
	padding: 0px 10px 0px 10px;
	font-weight: normal; 
	border-width: 0px;
	border-radius: 4px;
	background: rgba(102,102,102,0.5) url(arrow_left.png) no-repeat left 100%;
	 
	/*height: 16px;
	width: 30px;
	*/
}

button.right {
	height: 30px;
	width: 100px;
	font-size: 1.4em; 
	color: #ccc; 
	background-color: rgba(0,0,0,.6);
	margin: 0px 1px .5em 1px; 
	padding: 0px 10px 0px 10px;
	font-weight: normal; 
	border-width: 0px;
	border-radius: 4px;
	background: rgba(102,102,102,0.5) url(arrow_right.png) no-repeat right 100%;
	
	/*
	height: 16px;
	width: 30px;*/
}



/* medium screen */
@media screen and (min-width: 501px) and (max-width: 800px){
	.page { margin: 0px; padding: 0px; font-size: 1.15em;}
	.page header { 
		height: 90px;
		background-image: url(../img/logo.png) no-repeat; 
	 	padding: 10px 50px 0px 70px;
	 } /* background-image: url(../images/logo.png) no-repeat;*/
	.page header a.logo {
		left: 25px;
		width: 200px;
		height: 60px;
		background: url(../img/logo_medium.png) no-repeat 0px 0px;
	}
	.page nav { top: 30px }
	.page nav a {border-collapse: #fff; margin-left; 10px; padding: 5px 10px 5px 10px; font-size: .9em}
	.page .content_sidebar figure .figure_photo{
		background-image: url(images/sidebar_photo_medium.jpg); height: 150px;
	}
	.page .content_sidebar figure figcaption { font-size: .8em; }
	/*canvas{ width: 100%; height: 100%; } */
}

/* Small screen */
@media screen and (min-width: 150px) and (max-width: 500px){
	/*canvas{ width: 100%; height: 100%; } */
	h1 { font-size: 0.8em; color: #276193; margin: 0px 0px .5em opx; font-weight: normal; } /* color: #276193*/
	body { padding: 0px; } /*10px */
	.page { 
		margin: 0px; 
		padding: 0px; 
		font-size: 1.2em; }
	
	.page header a.logo {

		top: 3px;
		left: 20px; 
		margin: 0px auto 0px auto;
		/*width: 300px;*/
		height: 30px;
		background: url(../img/logo_small.png) no-repeat 0px 0px;	
	}
	
	.page .page_content .page_content_container_left { width: inherit; float: none; margin: 0px;}
	.page .page_content .page_content_container_right { width: inherit; float: none; margin: 0px;}
	.page .page_content .content { margin: 10px 10px 20px 10px; }
	.page .page_content .content_sidebar {
		visibility: hidden;
	
		margin: 0px 10px 15px 10px; 
	}
	.page .page_content .content_sidebar figure { width: 30%; float: right; margin-left: 15px; }
	.page .page_content .content_sidebar figure .figure_photo {
		background: url(images/sidebar_photo_small.jpg); height: 100px;	
	}
	.page .page_content .content_sidebar figure figcaption { font-size: .8em; text-align: right; padding: 0px 10px 0px 10px; }
	
	.page nav {
		
		position: inherit;
		padding: 15px 0px 1px 0px;
		text-align: left;
		border-top: 1px solid #ddd;
	}
	
	.page nav a{
	
		color: #ff0;
		padding: 7px 10px 7px 10px;
		font-weight: bold; 
		font-size: 1em;
		display: block;
		margin: 0px 10px 15px 10px;
		background: #47657f url(img/mobile_link_arrow.png) no-repeat right 50%;	
	}
	 
	.page nav a:hover{
		color: #fff; 
		background-color: #27425a;
	}
	
	.page footer { font-size: .8em;}
}
