@charset "utf-8";
/* CSS Document */
/*
,---.|             |o      ,---.     o ,---.              
`---.|--- .   .,---|.,---. |  _.,---.. |__.,---.,---.,---.
    ||    |   ||   |||   | |   ||    | |   ,---||    |---'
`---'`---'`---'`---'``---' `---'`    ` `   `---^`    `---'  
 * Author name : Armagan Tekdoner
 * Release date: December 2015
 * Absolute URL: comp2112.grifare.net/css/ie8.css
 */

/*** 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;	
}

	  /* content container */
	  body > section{
		  width: 86%;

	  }	

/* 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;

	text-align: center;
	border-bottom: 4px #002533 solid;

}
		/* 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 {
	font-weight: 500;	
}

a:link{
	color: #015575;		
}

a:visited{
	color: #646464;
}

a:hover{
	color: #86b200;
}

a:active{
	color: #ff6d6d;
}

/* list items */
li{
	margin-bottom: 2em;	
}

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

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

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

/* for all quotations */
figure.quote{
	margin: 10px 0px 10px 50px;
	padding-left: 15px;
	border-left: 4px solid #3b4e00;
	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;
}

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

/* footer */
footer{
	position: relative;
	background-color: rgb(200,200,200);
	height: 60px;

	text-align: center;	
}

/* external links container */
aside{
	margin: 2em;
	display: inline-block;
	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: rgb(200,200,200);
}
/*** 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;
}

	/* 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;
	}	


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

	/* 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: center;
	margin: auto;
	height: auto;
	font-size: 1em;
	text-align: center;
}

/* each tab */
ul#tabNavigation li{
	width: 18%;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;	
	border-style: solid;
	border-width: 2px;
	border-color: #002533;
	border-bottom: none;	
}

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

/** 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: rgb(200,200,200);
	line-height: 1.8em;
}

/* image enlarger onmouseover */
div#preview{
	position: absolute;
	background-color: transparent;
	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 **/
/*** end of file ***/