/*****************************************
*	CSS for bmt216a.dk
*	Author: 	Preben Søgaard
*	Company: 	BMT 216A http://www.bmt216a.dk/
*	Date: 		9 May 2013
*	Version:	0.6
*****************************************/

/* HTML 5 Reset */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,time,mark,audio,video,figure,figcaption	{
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}
body { line-height:1; }
ol,ul { list-style:none; }

/* Mobile is not first, but last to serve older browsers */
body{
	font: normal 62.5% Verdana, Helvetica, sans-serif;
	background-color: gray; /* (origin min-width: 960px) */
	font: normal 75% Verdana, Helvetica, sans-serif; /* (origin min-width: 600px) */
}
#container {
	margin: 0 auto;
	background-color: white;
	width: 960px;
}
.nameplate {
	background-color: #999;
	width: auto;
	box-shadow: 0 14px 8px -4px #CCC;
	margin-bottom: 0;
	padding: 0 1em 0em 2em;
}
#page {
/*	width: 100%; */
	width: auto;
/*	margin: 0 1em 0 1em auto; */
	margin: 1em;  /* (origin min-width: 600px) */
	padding: 0 1em 1em 1em;
}
#pageheader {
	padding: 0 1em 0em 0em;
	font-size: 1.5em;
	color: navy;
}
.pager {
	font-size: .7em;
}
.nameplate h1 {
	font-size: 2.5em;
}
.nameplate h2, h2 {
    font-size: 1.5em;
	color: navy;
}
h3 {
	color: navy;
}
a {
	text-decoration:	none;
	font-weight: bold;
}	
a:link {
	color:	maroon;
}
a:visited {
	color:	navy;
}
a:hover {
	color: 	blue;
}
a:active {
	color: 	blue;
}
dd {
	line-height: 1.7em;
	margin-left: 1.3em;
}
#pageheader, .pagefooter {
	width: 880px;
	margin: 0 1em 0 0em;
}
.pagefooter {
	clear: both;
	text-align: center;
	margin-top: 1em;
}
p.copyright, .updates, .authors {
	font-size: 0.8em;
	font-style: italic;
}
.updates, .authors{
	color: navy;
}
.authors {
	float:right;
}
div.google_ad{
	/* google ad styling */
	margin: 0;
	text-align: center;
}
.navbutton {
	padding: 20px 0 0 0px;
}
.navbutton li {
	display: inline;
	margin: 0 5px 0 0;
}
.navbutton li a {
	padding: 5px 15px;
	font-style: normal;
	font-weight: bold;
	color: #FFFFFF;
	color: rgba(255, 255, 255, 0.9);
	background: #000;
	background: rgba(0, 0, 0, 1);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 2px solid #CCCCCC;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
} 
.navbutton li a:hover,
.navbutton li a:focus,
.bottomnav li a:hover,
.bottomnav li a:focus {
	color: #06C;
} 
.navbutton li a:hover {
	box-shadow: 0 0 3px 2px #06C;
}
.bottomnav {
	padding: 10px 0 0 0px;
}
.bottomnav li {
	display: inline;
	margin: 5px 0 0 5px;
}
.bottomnav li a {
	font-weight: bold;
	color: rgba(0, 0, 0, 0.8);	
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.list li{
	list-style-type: disc;
	margin-left: 1.3em;
}
.olist li{
	list-style-type: decimal;
	margin-left: 2em;
}
.col-one { /* (origin min-width: 960px) */
	/* col-one */
    float: left;
    width: 440px;
    margin-right: 1em;
}
.col-two { /* (origin min-width: 960px) */
    /* col-two */
    float: left;
    width: 440px;
    margin-left: 1em;
    clear: none;
}
.article, .pager, .pagefooter {
	/* padding: 1em; */
	margin: 1em 0 1.5em 0;
}
.article_header{
	position: relative;
	left: -.5em;
	color: navy;
	width: 100%;
	border-bottom: 1px solid navy;
	margin-bottom: 1em;
	padding-left: 0.5em;
	font-size: 1.2em;
}
.shadowbox{
	padding: 1em;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 0 0 3px 2px #999;
	background-color: #eee;
}
.gallery {
	padding: 0em;
	margin: 1em 0 2em 0;
	clear: both;
}
.gallery_header{
	position: relative;
	left: -.5em;
	color: navy;
	width:100%;
	border-bottom: 1px solid navy;
	margin-bottom: 1em;
	padding-left: 0.5em;
	font-size: 1.2em;
}
.figure {
	text-align: center;
	font-size: .8em;
	font-style: italic;
	margin: 0.5em 1em 0.5em 0;
}
.photo{
	max-width: 80%;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	box-shadow: 5px 5px 3px 2px #999;
}
.more, .next {
    position: relative;
    top: -.5em;
 /*   right: 1em; */
	float: right;
	color: navy;
	text-align: right; /*
}
.more, .next { */
	text-decoration: none;
	text-transform: uppercase;
	margin-bottom: 1em;
}
.more:after, .next:after {
	content:" >>";
}
.previous {
    position: relative;
    top: -.5em;
	float:left;
	color: navy;
	text-decoration: none;
	text-transform: uppercase;
	text-align: right;
	margin-bottom: 1em;
}
.previous:before {
	content:"<< ";
}
.nav-to-menu {	
	display:none; /* (origin min-width: 600px) */
} 
.photo{
	max-width: 90%; /* (origin min-width: 600px) */
}
.mobileonly {
	display: none;
}
.on a{
	color: #06C;
}
.linkimg {
	margin: 0 1em 1em 0;
	float: left;
	width: 30%;
}
.clear {
	clear: both;
}
.error404 {
	background-image:url('http://www.bmt216a.dk/System/Images/QoS_explotion2.jpg');
	background-repeat:no-repeat;
	font-weight:bold;
	font-size: 1.2em;
	color: blue;
}
#googlesearch {
	/*height: 85em; */
}
/*********************** 
these styles will override
our styles for
larger displays
************************/

@media only screen and (max-width: 960px) {
/* Style adjustments for viewports under 960px */
  body {
	background-color: gray; 
  }
  #container {
	width: 100%;
  }
  .col-one {
    float: left;
    width: 46%;
    margin-right: 1em;
  }
  .col-two {
    float: left;
    width: 46%;
    margin-left: 1em;
    clear: none;
  }
  #pageheader {
    clear: both;
    width: 95%;
    margin-right: 0em;
  }
  .more, .next {
    margin-right: 0em;
  }
  .pagefooter {
  	clear: both;
    width: 92%;
  	margin-right: 1.5em;
  }
}	/* end media query 960px */

/**************************/

@media only screen and (max-width: 675px) {
/* Style adjustments for viewports under 675px */
  #container {
  	width: 100%;
	margin: 0; 
  }
  .nameplate {
    box-shadow: 0 3px 3px 0px #CCC;
	padding: 0 1em 1em 2em;
  }
  #page {
	width: auto; 
  	margin: 1em; 
  }
  .gallery_header{
	width:100%;
	}

  #pageheader, .pagefooter {
    clear: both;
    width: auto;
    margin-right: 0em;
  }
  #topnav, .logo {
  	display:none;
  }
  .bottomnav {
  	font: normal 110% Verdana, Helvetica, sans-serif;
  }
  .nav-to-menu {	
		top: 10px;
		right: 2em;
		display: inline; /* (min-width: 600px) */
		position: absolute;
		text-align: center;
		width: 5em;
		height: 20px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		background: black;
		border: 2px solid white;
		padding-top: 4px;
		font-weight: bold;
		font-size: 1.2em;
		color: #CCCCCC;
	}
	.nav-to-menu a{
		color: white;
		text-decoration: none;
	}
	.mobileonly {
		display: block;
	}
	.localmenu{
		font-size:1.2em;
		line-height: 1.5em;
	}
	.next {
		margin-right: 0em;
	}
	div.google_ad{
		/* google ad styling */
		position: relative;
		left: -2em;
	}
}	/* end media query 960px */

/**************************/

@media only screen and (max-width: 600px) {
/* Style adjustments for viewports under 600px */
  .col-one { 
    float: clear;
    width: 100%;
    margin-right: 0;
  }
  .col-two {
    float: clear;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

}	/* end media query 600px */
