@charset "utf-8";
/* CSS Document */
/*
,---.|             |o      ,---.     o ,---.              
`---.|--- .   .,---|.,---. |  _.,---.. |__.,---.,---.,---.
    ||    |   ||   |||   | |   ||    | |   ,---||    |---'
`---'`---'`---'`---'``---' `---'`    ` `   `---^`    `---'  
 * Author name : Armagan Tekdoner
 * Release date: December 2015
 * Absolute URL: https://www.grifare.net/examples/5-client-side-topics/css/default.css
 */
 

/** responsive design starts **/
/* Large screens */
@media only screen and (min-width: 1367px) {	  
	  /* content container */
	  body > section{
		  width: 86%;  
	  }	
}
	  

/* Medium screens */
@media only screen and (min-width: 800px) and (max-width: 1366px) {
	  /* content container */
	  body > section{
		  width: 98%; 
	  }
}
/** responsive design rules end **/




/*** global rules ***/
body {
	font-family: Verdana, Geneva, sans-serif;
	font-weight: normal;
	line-height: 1.45;
	width: 100%;
	font-size: 1em;
	/* new and not recognised by all browsers yet */
	text-rendering: optimizeLegibility;		
}

/* headings */
h1, h2, h3, h4 {
	font-weight: inherit;
	padding: 2px;
}

/* size ratios are from a scheme called golden ditonic scale (r = φ, n = 2) */
h1 {
	margin: 0;
	font-size: 2.6179em;
	color: #002533;
	background-color: rgba(188,224,238,0.4);
	text-align: center;
	border-bottom: 4px #002533 solid;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;		
	box-shadow: 0px 15px 40px -20px rgba(0,0,0,0.7);
}
		/* back arrow */
		h1 + span{
			position: absolute;
			margin-top: -60px;
			margin-left: 5px;
			display: none;
			color: #002533;
			background-color: inherit;
		}

h2 {
	font-size: 2.0581em;
	color: #bce0ee;
	background-color: #002533;
	margin-bottom: 0.5em;
	margin-top: 1.4141em;		
}

h3 {
	font-size: 1.618em;
	font-weight: bold;
	padding: 0 0 .4em 0;
	margin-top: 1em;		
}

h4 {
	font-size: 1.272em;
}
/* headings ends */

/* body text */
p {
    margin-bottom: 1.3em;
}

small {
	font-size: 0.7862em;
}
/* body text ends */

/* all responsive */
figure{
	overflow: hidden;
}
  
	figcaption{
		text-align: center;
	}
	
	img{
		max-width: 100%;
		height: auto;
		overflow: auto;
		margin: 0;
	}

/* pseudo classes */
a:link{
	color: #015575;		
}

a:visited{
	color: #646464;
}

a:hover{
	color: #86b200;
	text-decoration: none;
}

a:active{
	color: #ff6d6d;
	text-decoration: none;	
}

/* list items */
li{
	margin: 0.7em !important 0.7em 2em;	
}

/* unordered lists */
ul li{
	display: inline-block;
}

/* ordered lists */
ol li{
	display: list-item;
	text-align: left;		
}

ol li > ol{
	list-style-type: lower-latin;
}

/* abbreviations spelt-out */
abbr[title] {
     border-bottom: dotted 1px;
	 border-bottom-color: rgba(150,150,150,0.8);
}

/* for all quotations */
figure.quote{
	margin: 10px 0px 10px 50px;
	padding-left: 15px;
	border-left: 4px solid #3b4e00;
	background-color: rgba(239,253,197,0.3);
	color: #015575;
	width: 80%;
}

	  /* open quote symbol */
	  figure.quote::before{
		  position: relative;
		  content: url(../icons/open-quote.png);
	  }
  
/* when not clicked it needs margin */	  
details{
	margin-bottom: 2.369em;
}

/* header container */
header{
	position: relative;
	padding: 1px;
}
	
/* all sections */
section{
	position: relative;
	clear: both;
	overflow: hidden;
}

/* main container */
body > section{
	margin: 0 auto 0 auto;	
	padding-bottom: 30px;
}

/* footer */
footer{
	position: relative;
	background-color: rgba(200,200,200,0.3);
	height: 60px;
	border-radius: 2px;
	box-shadow: 0px -8px 32px -10px rgba(0,0,0,0.7);
	text-align: center;	
}

/* external links container */
aside{
	margin: 2em;
	display: inline-block;
	border-radius: 2px;
	box-shadow: 0px 0px 60px -25px rgba(0,0,0,0.5);
	padding: 1em 1em 1em 2em;
}

	/* external links label */
	aside > p {
		font-size: 1.272em;
		font-weight: bold;
		margin-bottom: 5px;
	}
	
	/* external link items */
	aside li {
		display: list-item;
		text-align: left;
	} 

/* code snippets */
code{
	font-family: "Courier New", Courier, monospace;
	background-color: rgba(200,200,200,0.6);
}
/*** global rules ends ***/

/* locally hosted fake DOS font */
@font-face {			
	/* DOS font */
	font-family: 'Terminus';
	src: url('Terminus.woff') format('woff');
}

/* banner container for mock DOS show */
header > div{
	max-width: 1330px;
	height: 480px;	
	margin: 0 auto 0 auto;
	background-color: #000;
	color: #fff;
	/* fake DOS font */
	font-family: 'Terminus';
	text-align: left;
	font-size: 0.85em;
	box-shadow: 0px 0px 60px -25px rgba(0,0,0,0.5);
}

	/* mock DOS show paragraphs */
	header > div > figure p{
		margin: 0;
	}
	/* mock DOS show figcaption */
	header > div > figure figcaption{	
		margin: 0;
		text-align: left;
	}
	/* mock DOS show cursors */
	header > div > figure span{
		font-size: 1.5em;
		font-weight: bold;
	}

	/* mock DOS show action part */
	header > div > figure article p,
	header > div > figure figcaption{
		display: none;
	}
	
	/* Mock DOS show copyright notice */
	header > div + p {
		max-width: 1330px;
		margin: 0 auto 0 auto;
	}	

/* hello world image */
section#modulesAssigned section:first-child img:first-child{
	margin-top: 1em;
	margin-bottom: -1em;
	margin-left: 0px;
	max-width: 100%; 
}

/* form containers */
div.form_wrapper {
	width: 80%;
	margin: 0 auto 20px auto;
	padding: 10px;
	background-color: rgba(200,200,200,0.2);
	line-height: 1.8em;
	box-shadow: 0px 0px 60px -25px rgba(0,0,0,0.5);
}

	/* HTML5 form */
	div.form_wrapper fieldset label{
		padding: 0;
		width: 30px;
	}
	
	/* HTML5 form radios */
	div.form_wrapper label {
		width: 180px;
		display: inline-block;
	}
	
	/* HTML5 form success notice */
	div.form_wrapper  p {
		color: #520000;
	}

	
/* tabs ul */
ul#tabNavigation {
	width: 96%;
	text-align: left;
}

/* each tab */
ul#tabNavigation li{
	display: list-item;
	margin-bottom: 1em;
	font-size: 1.272em;	
}

/* each tab on mouse over */
ul#tabNavigation li:hover{
}

/* dynamically added class for tab li */
ul#tabNavigation li.selected a{
	color: #bb0000;
	text-decoration: none;
	/*  this beautiful code disables click */
	pointer-events: none;	
}

/* each tab */
ul#tabNavigation li small{
	color: #999;
	margin-left: 2em;
}

 /* instructor's comments */
		ul#tabNavigation blockquote{
		  display: none;
		  padding: 1em 1em 1em 4em;
		  margin: 1em 0 1em 2em;
		  position: relative;
		  text-align: justify;
		  border-left: solid #bb0000 4px;
		  box-shadow: 2px 2px 15px #ccc;
		}
		
		ul#tabNavigation blockquote::before{
		  content: "\201C"; /*Unicode for Left Double Quote*/
		  
		  /*Font*/
		  font-family: Georgia, serif;
		  font-size: 6em;
		  font-weight: bold;
		  color: #999;
		  
		  /*Positioning*/
		  position: absolute;
		  left: 10px;
		  top: -10px;
		}
		
		ul#tabNavigation blockquote::after{
		  /*Reset to make sure*/
		  content: "";
		}


/** icons **/	
/* adds icon to external links */
a[rel="external"]::after{
	content: url(../icons/external-link.png);
	padding-left: 0.25em;
}

/* adds icon to download links */
a[download]::after{
	content: url(../icons/download.png);
	padding-left: 0.25em;
}
	
/* adds icon to pdf links */
a[href$=".pdf"]::after{
	content: url(../icons/pdficon_small.png);
	padding-left: 0.25em;
}

/* adds icon to doc links */
a[href$=".doc"]::after{
	content: url(../icons/doc-icon.png);
	padding-left: 0.25em;
}

/* adds icon to xls links */
a[href$=".xls"]::after{
	content: url(../icons/xls-icon.png);
	padding-left: 0.25em;
}

/* lowering icons by 2 pixels */
img[src$="infobox-icon.png"],
img[src$="warning-red.png"] {
	margin-bottom: -2px;
}

/** icons ends **/

/* shows the codes */
iframe#codes {
	width: 80%;
	height: 300px;
	font-family: "Courier New", Courier, monospace;
	margin: 10px auto 20px auto;
	padding: 10px;
	background-color: rgba(200,200,200,0.2);
	line-height: 1.8em;
	box-shadow: 0px 0px 60px -25px rgba(0,0,0,0.5);
}

/* image enlarger onmouseover */
div#preview{
	position: absolute;
	background-color: rgba(188,224,238,0.4);
	padding: 0.5em;
	display: none;
	color: #002533;
	text-align: center;
	border: 4px #002533 solid;
}

/** angular js  **/
input.ng-invalid {
	border-bottom: 1px #bb0000 solid;
}

/* where the data are output */
textarea {
  width: 300px;
  height: 100px;
}

/* knows user-touched fields */
/* untouched */
.ng-pristine {
	background-color: rgba(200,200,200,0.2);
}

/* touched */
.ng-dirty {
	background-color: rgba(188,224,238,0.4);
}
/** angular js  ends **/


/** ajax **/
/* movie table */
table#movieContainer{
	margin: 10px 0px 10px 50px;
}

table#movieContainer thead th{
	text-align: left;
	font-weight: bold;
}

/* shows the row on hover */
table#movieContainer tr:hover{
	background-color: rgba(188,224,238,0.4);
}

/* every second row, a very slight hint */
table#movieContainer tr:nth-of-type(even){
	background-color: rgba(188,224,238,0.1);
}

/* first column */
table#movieContainer td:nth-of-type(odd){
	width: 120px;
}
/** ajax ends **/

/** vimeo api **/
/* it would be a crazy attempt to locate all these using DOM selectors */
	#thumbs { overflow: auto; height: 298px; width: 280px; border: 1px solid #E7E7DE; float: left; }
	#thumbs ul { list-style-type: none; margin: 0 10px 0; padding: 0 0 10px 0; }
	#thumbs ul li { height: 75px; padding: 2px; }
	#thumbs ul li img{ padding-right: 2px; }	

	.thumb { border: 0; float: left; width: 100px; height: 75px; }

	#embed { background-color: #E7E7DE; height: 280px; max-width: 580px; float: left; padding: 10px; }

	#portrait { float: left; margin-right: 5px; max-width: 100px; }
	#stats {  margin-bottom: 20px; }
	.clear { clear: both; }
/** vimeo api ends **/		
/*** end of file ***/