/*
	Theme Name: 1stwebdesigner HTML5/CSS3 Layout
	Date: March 2013
	Description: Basic HTML5/CSS3 layout built on a responsive framework
	Version: 1.0
	Author: Christian Vasile
	Author URL: http://christianvasile.com
*/

@-ms-viewport{
	width: device-width;
} /*Nokia 920 fix */


/* ===========================
   ======= Body style ======== 
   =========================== */
   
body {
	/* background-image: url('img/bg.png'); #c9c3c3;*/
    background: LightGray;
    background: red;
    background: #d0d0d0;
	color: #000305;
	font-size: 87.5%; /* Base font size: 14px */
	font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	line-height: 1.429;
	margin: 0;
	padding: 0;
	text-align: left;
	}
	
.body {
	clear: both; 
	margin: 0 auto; 
	width: 96%; /*width: 70%;*/ /*Allt fer inn í body 96% gefa 2% til beggja hlida*/
}
.clearfix {
    clear: both;
}
/*EHH setti inn img blokk */
img {
    /*width:  100%;*/
    max-width: 100%;
}

/* ===========================
   ========= Tables ======== 
   =========================== */
table {
    border-collapse: collapse;  
}
td, th {
    padding: .2em;
    border: 1px solid #ccc;
} 
thead{
        font-weight:bold;
      }
	
/* ===========================
   ========= Headings ======== 
   =========================== */
h1 {font-size: 1.714em; color: #cf5c3f;}	/* 24px */
h2 {font-size: 1.571em}	/* 22px */
h3 {font-size: 1.429em}	/* 20px */
h4 {font-size: 1.286em}	/* 18px */
h5 {font-size: 1.143em}	/* 16px */
h6 {font-size: 1em}		/* 14px */

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
}

/* ===========================
   ======= Anchor style ====== 
   =========================== */
nav a {
	float: left; /*EHH*/
	outline: 0;
	}

a {
    
   float: none; /* ehh */ 
}
a img {
	border: 0px; 
	text-decoration: none;
    max-width: 100%; /* ehh */
    height: auto;
}

a:link, a:visited {
	color: #CF5C3F;
	padding: 0 1px;
	text-decoration: none;
}

a:hover, a:active {
	background-color: #CF5C3F;
	color: #fff;
	text-decoration: none;
}

/* ===========================
   ===== Main Navigation ===== 
   =========================== */
   
.mainHeader nav {
	background: #666;
	font-size: 1.143em;
	height: 40px;
	line-height: 30px;
	margin: 5px auto 5px auto; /*margin: 0 auto 30px auto;*/ /*Bilið í kringum menu*/
	text-align: center;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
	
.mainHeader nav a:link, .mainHeader nav a:visited {
	color: #fff;
	display: inline-block;
	height: 30px;
	padding: 5px 5px 5px 5px; /*padding: 5px 23px;*/
	text-decoration: none;
}
.mainHeader nav a:hover, .mainHeader nav a:active,
.mainHeader nav .active a:link, .mainHeader nav .active a:visited {
	background: #CF5C3F;
	color: #fff;
	text-shadow: none; /*!important*/
}
	
.mainHeader img {
	width: 30%;
	height: auto;
	margin: 3% 0;
}

/* ===========================
   ======= Content Area ====== 
   =========================== */

.mainContent {
	overflow: hidden;
	line-height: 25px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.gpscontent { /* verður 100% i widescreen */
	background-color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
    padding-top: 5px;
    padding-left: 2%;
    padding-right: 2%;
	margin-bottom: 10px;
    margin-top: 5px;
}

.topcontent {
	background-color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
    padding-top: 5px;
    padding-left: 2%;
    padding-right: 2%;
	margin-bottom: 10px;
    margin-top: 5px;
}

.bottomcontent {
	background-color: #FFF;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
    margin-bottom: 10px; /*ehh*/
	padding: 2% 3%;
}

.content {
	width: 100%; /*width: 68%;*/
	float: left;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}

.post-info {
	font-style: italic;
	color: #999;
	font-size: 85%;
}

/* ===========================
   ======== Sidebar ========== 
   =========================== */

.top-sidebar {
	width: 94%; /*width: 24%;*/
	float: left;
	margin-left: 0%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
	margin-bottom: 10px;
}

.middle-sidebar {
	width: 94%; /*width: 24%;*/
	float: left;
	margin-left: 0%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
	margin-bottom: 10px;
}

.bottom-sidebar {
	width: 94%; /*width: 24%;*/
	float: left;
	margin-left: 0%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
    margin-bottom: 10px;
}

/* ===========================
   ========= Footer ========== 
   =========================== */

.mainFooter {
    background: #666;
	text-align: left; 	
	line-height: 40px;
    color: #FFF;
    
    margin-right: auto;
    margin-bottom: 5px;
    margin-left: auto;
    
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
 }

.mainFooter p {
	width: 91%;
	margin: 2% auto;
}

/* Media quieries */

@media only screen and (min-width : 769px) /* Virkar eftir Nokia 920 fix */
/* @media only screen and (min-width : 480px)*/ /* Nokia 920 er p0rttrait til og með 480. 481 og yfir: landscape*/
{
.mainContent {
	overflow: hidden;
	line-height: 25px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.gpscontent {
    width: 90%;
	background-color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
	margin-bottom: 10px;
}

.topcontent {
	background-color: #FFF;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
	margin-bottom: 10px;
}

.bottomcontent {
	background-color: #FFF;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	padding: 3% 5%;
    margin-bottom: 10px;
}

.content {
	width: 68%;
	float: left;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}

.post-info {
	font-style: italic;
	color: #999;
	font-size: 85%;
}

/* ===========================
   ======== Sidebar ========== 
   =========================== */

.top-sidebar {
	width: 24%;
	float: left;
	margin-left: 2%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
    margin-top: 5px;
    margin-bottom: 10px;
}

.middle-sidebar {
	width: 24%;
	float: left;
	margin-left: 2%;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
	margin-bottom: 10px;
}

.bottom-sidebar {
	width: 24%;
	float: left;
	margin-left: 2%;
    margin-bottom: 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	background-color: #FFF;	
	padding: 2% 3%;
}

/* ===========================
   ========= Footer ========== 
   =========================== */

.mainFooter {
}

.mainFooter p {
}

}