/*
Theme Name: Maya
Theme URI: http://www.mayarobert.com/
Description: Maya Robert WordPress theme 
Version: 1.1.2
Author: Simon Fransson
Author URI: http://www.sodraesplanaden.se/digital/
*/


@font-face {
  font-family: 'League Gothic';
  src: url("type/LeagueGothic.eot");
  src: local('type/League Gothic'),
        url("type/LeagueGothic.otf") format('opentype'),
		url("type/leaguegothic.svg#lg") format('svg');
}		

@font-face {
	font-family: "Graublau Web";
	src: url("type/GraublauWeb.eot");
	src: local("Graublau Web Regular"), local("GraublauWeb-Regular"),
		url("type/GraublauWeb.woff") format("woff"),
		url("type/GraublauWeb.otf") format("opentype"),
		url("type/GraublauWeb.svg#GraublauWeb-Regular") format("svg");
}

@font-face {
	font-family: "Graublau Web";
	src: url("type/GraublauWebBold.eot");
	src: local("Graublau Web Bold"), local("GraublauWeb-Bold"),
		url("type/GraublauWebBold.woff") format("woff"),
		url("type/GraublauWebBold.otf") format("opentype"),
		url("type/GraublauWebBold.svg#GraublauWeb-Bold") format("svg");
	font-weight: bold;
}
	


/* Begin Typography & Colors */
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	background: rgb(88, 88, 90) url(images/bg.png) repeat-x;
	font-family: "Graublau Web", Helvetica, Arial, Verdana, sans-serif;
}

#page {
	background: white;
	box-shadow: 0 2px 10px #555;
	-moz-box-shadow: 0 2px 10px #555;
	-webkit-box-shadow: 0 2px 10px #555;
	
}

#header div.menu {
	font-family: 'League Gothic';
	text-transform: uppercase;
	font-weight:200;
	font-size: 1.6em;
}

#content, #sidebar, #footer, #ajax-post {
	font-size: 1.2em;
	line-height: 1.8em;
}

#sidebar {
	text-align: right;
}

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
	border: 1px solid #ddd;
}

.even, .alt {
	border-left: 1px solid #ddd;
}


#footer {
	text-align: center;
	font-size: 1.1em;
	color: rgb(100, 100, 100);
}

small {
}

h1, h2, h3, h3, h5, h6 {
	font-family: 'League Gothic', Impact, 'Trebuchet MS', sans-serif;
	text-transform: uppercase;
	font-weight:200;
}

h1 {
}


h2 {
	font-size: 2.42em;
}

h3 {
	font-size: 1.6667em;
}

h2.pagetitle {
}

#sidebar h2 {
    font-size: 1.8358620691em;
	color: black; /* rgb(135, 136, 138); */
}

#sidebar li.current-menu-item a,
#sidebar li.current-cat a {
	font-weight: bold;
	color: black;
}


h3 {
}

h1, h1 a, h1 a:hover, h1 a:visited {
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
}

#sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
}

acronym, abbr, span.caps
{
	letter-spacing: .07em;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, small.date,
a, h2 a:hover, h3 a:hover, #content.previews .post-preview a:hover {
	text-decoration: none;
	color: rgb(135, 136, 138);
}

a:hover {
	text-decoration: underline;
	color: black;
}

a:focus {
	outline: none;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
}

#wp-calendar a {
	text-decoration: none;
}

#wp-calendar caption {
	font-weight: bold;
	text-align: center;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 30px 0;
	padding: 0;
}

#page, #produced-by, #header {
	max-width: 937px;
	width: 100%;
}

#page, #produced-by {
	padding: 0;
	margin: 0 auto;
}

#produced-by {
	text-align: right;
	margin: 6px auto;
	padding: 0 1.814300961%;
	width: 96.37139808%;
}

#header {
	position: fixed;
	height: 32px;
	display: block;
	line-height: 27px;
}

#header h1 {
	background: url(images/logo.png) no-repeat;
	margin: 0;
	position: absolute;
	top: 0;
	right: 9px;
	
	z-index: 80;
}

#header h1 a {
	width: 225px;
	height: 79px;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}

#header .description {
	display: none;
}

#header div.menu ul {
	list-style: none;
	margin: 0 0 0 5px;
	padding: 0;
}

#header div.menu ul li {
	display: inline;
	margin: 0 5px 0;
}

#header div.menu li a, #header div.menu li a:hover {
	text-decoration: none;
}

#header div.menu li.current_page_item a {
	color: black;
}

#sidebar {
	width: 22.7321238%; /* 213px; */
	padding: 85px 1.814300961% 17px 0;
	margin: 0;
	float: right;
}

#content {
	width: 71.82497332%; /* 673px; */
	padding: 0 1.707577375% 0 1.814300961%;
	margin: 25px 0 0;
	float: left;
	overflow: hidden;
	z-index: 0;
}

#content.previews {
	width: 73.63927428%; /* 690 */
	padding: 0 0 10px 1.814300961%;
	margin: 10px 0 0;
}

#content.previews .post-preview {
	float: left;
	margin: 15px 2.173913043% 0 0;
	box-shadow: 0 0 3px #ccc;
	-moz-box-shadow: 0 0 3px #ccc;
	-webkit-box-shadow: 0 0 3px #ccc;
	max-width: 213px;
	max-height: 213px;
	width: 30.86956522%;
	height: auto;
	overflow: hidden;
	background: url(images/preview-bg.jpg);
}

#content.previews .post-preview img {
    max-width: 213px;
	max-height: 213px;
	width: 100%;
	height: auto;
}

#content.previews .post-preview h2 {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 5px;
	background: white;
	width: 100% ! important;
	line-height: 1.0em;
	color: white ! important;
	background: url(images/semitransparent.png);
	display: none ! important;
	
	font-size: 1.8333333333em;
}

#content.previews .post-preview h2 a {
	width: 100% ! important;
	display: block;
}

#content.previews .post-preview h2 a, #content.previews .post-preview h2 a:hover, #content.previews small.date {
	color: rgb(220, 220, 220) ! important;
}

#content.previews .post-preview:hover h2, #content.previews .post-preview h2.jquery {
	display: block ! important;
}

#content.previews .post-preview img {
	display: block;
}

#content.previews span.post-preview-text {
	padding: 5px;
	display: block;
	line-height: 1.6em;
}

#content.previews .navigation {
	padding-top: 15px;
	padding-right: 17px;
	clear: both;
}


.post-header {
	margin: 30px 0 0;
	display: block;
}

body.search .post {
	margin: 5px 0;
}

.post-header h2, .post-header h3 {
	display: inline;
}

.post-header small.date {
	display: inline;
	font-size: 1.0em;
}



.post.post-preview h2 small.date {
    font-size: 0.5454545455em;
    line-height: 1.0;
    font-weight: normal;
    font-family: "Graublau Web", Helvetica, Arial, Verdana, sans-serif;
}

.post {
	margin: 0 0 40px;
}

.post hr {
	display: block;
}

.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

p.attachment {
	margin: 10px 0px;
}

.clear {
	clear: both;
}

#footer {
	clear: both;
	padding: 2px;
}

#footer p {
}
/* End Structure */



/*	Begin Headers */
h1 {
}

h2 {
	margin: 30px 0 0;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 25px 0 0;
	padding: 0;
}

h3 {
	padding: 0;
	margin: 30px 0 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

.entry ul {
    list-style-position: inside;
}

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
    
}

html>body .entry li {
	margin: 2px 0 2px 10px;
}

.entry ul li:before, #sidebar ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	margin: 0;
	padding: 0;
}

#prebar p {
	margin: 0.4em 0;
}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}

#sidebar ul, #sidebar ol {
	margin: 5px 0 0 10px;
}

#sidebar ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li {
	list-style: decimal outside;
}

#sidebar ul li, #sidebar ol li {
	margin: 3px 0 0;
	padding: 0;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: right;
}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform {
	margin: 5px 10px 0 0;
}
#commentform textarea {
	width: 100%;
	padding: 2px;
}
#respond:after {
	content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}
/* End Form Elements */



/* Begin Sidebar */
#sidebar
{
}

#sidebar form {
	margin: 0;
}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.center {
	text-align: center;
}

.hidden {
	display: none;
}
	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}

hr {
	display: none;
}

a img {
	border: none;
}

.navigation {
	display: block;
	text-align: center;
	margin: 2px 0;
}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: center;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


a.post-edit-link {
	text-decoration: none;
	font: 11px normal 'Trebuchet MS', sans-serif ! important;
	text-transform: uppercase;
	background: rgb(240, 240, 240);
	padding: 3px;
	margin: auto 0;
	float: right;
	border: 1px solid rgb(224, 224, 224);
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	opacity: 0.5;
}

body.page-template-page-no-heading-php .entry a.post-edit-link {
    float: none;
}

a.post-edit-link:hover {
	opacity: 1.0;
}

#content .page h2, #content .post-header, #ajax-post .post-header {
	position: relative;
}

h2 a.post-edit-link, .post-header a.post-edit-link {
	color: rgb(64, 64, 64) ! important;	
	opacity: 0.5;
	position: absolute;
	top: 0;
	right: 0;
}

h2 a.post-edit-link:hover {
	opacity: 1.0;
	color: rgb(96, 96, 96) ! important;	
}

#content.previews div.post-preview {
	position: relative;
}

#content.previews div.post-preview a.post-edit-link {
	position: absolute;
	top: 5px;
	right: 5px;
	float: none;
}


/* AJAX Posts */

#ajax-wrapper {
	z-index: 100;
	position: fixed;
	padding: 12px;
	width: 731px;
	display: none;
}

#ajax-post {
	background: white;
	box-shadow: 0 2px 10px #555;
	-moz-box-shadow: 0 2px 10px #555;
	-webkit-box-shadow: 0 2px 10px #555;
	padding: 17px;
	
}

#ajax-post.loading {
	background: white url(images/loading.gif) no-repeat center center;
	height: 400px;
	display: block;
}

#ajax-post.loading * {
	display: none;
}

#ajax-post .post-header {
	margin: 1px 0;
}

#ajax-post .post, #ajax-post .page {
	overflow: auto;
	position: relative;
	padding: 0;
	margin: 0;
}

#ajax-post-close {
	background: url(images/ajax-close.png) no-repeat;
	text-indent: -999px;
	overflow: hidden;
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 0px;
	right: 0px;
	
}

#ajax-cover {
	margin: 0;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0.35;
	z-index: 90;
	display: none;
}

img#wpstats{
	display: none;
}


@media screen and (max-width: 420px) {
    
    #sidebar {
    	width: 96.37139808%; /* 213px; */
    	padding: 17px 1.814300961%;
    	margin: 0;
    	float: none;
    	text-align: left;
    }

    #content {
    	width: 96.37139808%; /* 673px; 937 - 17 - 17 */
    	padding: 0;
    	margin: 10px 1.814300961% 0;
    	overflow: hidden;
    	z-index: 0;
    }

    #content.previews {
    	width: 96.37139808%; /* 690px; 937 - 17 - 17 */
    	padding: 0 0 10px 1.814300961%;
    	margin: 10px 0 0;
    }
    
}

@media screen and (max-width: 732px) {
    #page #content,
    #page #content.previews,
    #sidebar {
        padding-top: 70px;        
    }
}

