/*  
Theme Name: Symaskinsgrottan
Theme URI: http://uppdateramera.se/
Template: swedish-greys-pro
Author: Göran Arvidson & Niklas Högefjord
.
This work is released under GNU General Public License, version 2 (GPL).
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.
*/

@import url("../swedish-greys-pro/style.css");

body {
	background: url(images/sym_bg.jpg) repeat #efefef;
}


/* Layout */


.wraper:after,
#header:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

#branding {
	overflow: visible;
}

#wrapper {
    background: #fff url(images/main_bg.png) repeat-y center 100px;
    -moz-box-shadow: 0 0 6px rgba( 100, 100, 100, .8);
    -webkit-box-shadow: 0 0 6px rgba( 100, 100, 100, .8);
    box-shadow: 0 0 6px rgba( 100, 100, 100, .8);
}

#header {
	padding:20px 2% 0 2%;
	background: #d3d2d1 url(images/femman.png) repeat-x center top;
	border-bottom: 10px solid #2C2C2C;
	*overflow: hidden;
}

#site-title {
	width: 30%;
	float: left;
}

#header-widget {
	width: 66%;
	float: right;
	padding-top:50px;
	position: relative;
}
#header-widget #text-4 {
	width: 90px;
	position: absolute;
	top:-33px;
	right: -36px;
}

#main {
	overflow: hidden;
	margin: 0;
}

.layout-2c-r-fixed #content {
    margin: 10px 36.45% 0 2%;
    position: relative;
}
.layout-2c-l-fixed #content {
    margin: 10px 2% 0 36.45%;
    position: relative;
}
.layout-3c-m-fixed #content {
    margin: 10px 19.79% 0 19.79%;
    position: relative;
}

.page-template-template_onecolumn-php #container {
    float: left;
    margin: 0;
    width: auto;
}

.page-template-template_onecolumn-php #content {
    padding: 0;
    margin: 10px 2% 0 2%;
}

.page-template-template_frontpage-php #content {
    padding: 0;
    margin: 10px 2% 0 2%;
}


.layout-2c-r-fixed #primary,
.layout-2c-r-fixed #secondary {
    float: right;
    width: 30.2%;
    margin-right: 2%;
    margin-top: 10px;
}
.layout-2c-l-fixed #primary,
.layout-2c-l-fixed #secondary  {
    float: left;
    width: 30.2%;
    margin-left: 2%;
    margin-top: 10px;
}

.layout-3c-m-fixed #primary {
	position: relative;
    float: left;
    width: 15.1%;
    margin: 10px 0 0 -15.1%;
}
.layout-3c-m-fixed #secondary  {
	position: relative;
    float: left;
    width: 15.1%;    
    margin: 10px 0 0 -100%;
}

/* Headlines
------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1,
h2,
h2 a,
h2 a:visited {
	font-family: 'Paytone One', serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
}

.page h1 {
	font-size: 24px;
	line-height: 28px;
	margin: 0 0 5px;
}

.page-title {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}
.page-title span {
	font-style: italic;
}
.page-title a {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
}

h1 a:hover,
h2 a:hover {
	color: #000000;
	text-decoration: none;
}

h3 {
	font-family: 'Paytone One', serif;
	font-size: 16px;
	font-weight: 500;
	margin: 10px 0 5px 0;
}

#primary h3.widget-title, #secondary h3.widget-title {
	border-bottom: 0px solid #EEE;
	border-top: 0px solid #EEE;
	padding: 5px 0 5px 0;
	margin: 0 0 10px 0;
	font-weight: 500;
}

#footer h3.widget-title {
	color: #cccccc;
	border-bottom: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
    padding: 5px 0 5px 1px;
    margin: 0 0 10px 0;
    font-weight: 500;
}
#header-widget h3.widget-title {
    margin: 0 0 10px 0;
}

h4 {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 10px 0 5px 0;
}

h5 {
	font-size: 16px;
	font-weight: 700;
	margin: 10px 0 5px 0;
}
#rad3 h5,
#frontpage-row-4 h5 {
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
	margin: 0 0 7px 0;
}

h6 {
	font-size: 14px;
	font-weight: 500;
	font-style: italic;
	margin: 10px 0 5px 0;
}

#site-title {
	font-family: 'Kreon', serif;
	font-size: 48px;
	line-height: 58px;
	font-weight: 700;
	margin-bottom: 5px;
}
#blog-title {
	font-size: 40px;
	line-height: 50px;
	font-weight: 700;
    position: absolute;
    text-indent: -999em;
}
#blog-description {
	font-size: 16px;
	line-height: 22px;
	font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

/***** Aside ********************/
.home .aside a, .home .aside a:visited {
	color: #333;
	text-decoration: none;
	border-bottom: 0px dotted #CCC;
}

.home .aside a:hover {
    color: #D42C33;
    text-decoration: none;
}


/***** Footer ********************/
#footer {
	color: #333333;
	border-top: 0px solid #2c2c2c;
	overflow: hidden;
	background: url(images/bg_footer_grejs.png) repeat;
	padding:0;
	margin-top: 0;
}

#footer p {
	color: #333333;
}

#footer-widgets {
	overflow: hidden;
}

#footer-1 {
    float: left;
    padding: 0 0 0 0;
    margin: 0 2% 10px 2%;
    font-family: 'Paytone One',serif;
    font-size: 15px;
    line-height: 25px;
    width: 96%;
}
/*
#footer-2 {
    float: left;
    padding: 0 25px 0 0;
    max-width: 280px;
}
#footer-3 {
    float: right;
    padding: 0 0 0 0;
    max-width: 285px;
}

#site-info {
    text-align: center;
    color: #666666;
    max-width: 900px;
    margin:-20px auto;
    padding: 0 30px 10px 30px;
    font-size: 11px;
}
*/
#site-info p {
    color: #666666;
}


/***** Nav Menu In Header ********************/

#nav_menu-3 {
	margin: 10px 0 0 0;
	overflow: hidden;
	clear: both;
	font-family: 'Paytone One', arial, serif;
	border-top: 0px dashed #cccccc;
	border-bottom: 0px dashed #cccccc;
}

#nav_menu-3 ul {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0 0 0 10px;
	}

#nav_menu-3 ul ul {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    margin: 10px 0 0;
    padding: 10px 15px;
}

#nav_menu-3 li:first-child {
	float: left;
	list-style: none;
	background: transparent;
	padding-left: 0;
}

#nav_menu-3 li {
	float: left;
	list-style: none;
}
	
#header #nav_menu-3 li a {
	color: #d42c33;
	font-size: 18px;
	line-height: 28px;
    font-weight: normal;
    margin: 0;
	padding: 8px 22px 10px 0;
	text-decoration: none;
	display: block;
	position: relative;
	}

#nav_menu-3 li a:hover, #nav_menu-3 li a:active {
	color: #333333;
	}

#nav_menu-3 li a .sf-sub-indicator {
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	position: absolute;
	}

#nav_menu-3 li ul li {
	background: transparent;
	padding-left: 0;
}
	
#nav_menu-3 li li a, #nav_menu-3 li li a:link, #nav_menu-3 li li a:visited {
	color: #888888;
	width: 168px; 
	font-size: 14px;
	margin: 0;
	padding: 5px 10px 5px 10px;
	border-bottom: 1px solid #efefef;
	text-transform: none;
	position: relative;
	}
	
#nav_menu-3 li li a:hover, #nav_menu-3 li li a:active {
	background: transparent;
	color: #333333;
	}
	
#nav_menu-3 li ul {
	z-index: 9999;
	position: absolute;
	left: -999em;
	height: auto;
	width: 190px;
	margin: 0 0 0 -1px;
	padding: 0 0 0 0;
	}

#nav_menu-3 li ul a { 
	width: 170px;
	}
	
#nav_menu-3 li ul ul {
	margin: -33px 0 0 189px;
	}

#nav_menu-3 li:hover ul ul, #nav_menu-3 li:hover ul ul ul, #nav_menu-3 li.sfHover ul ul, #nav_menu-3 li.sfHover ul ul ul {
	left: -999em;
	}

#nav_menu-3 li:hover ul, #nav_menu-3 li li:hover ul, #nav_menu-3 li li li:hover ul, #nav_menu-3 li.sfHover ul, #nav_menu-3 li li.sfHover ul, #nav_menu-3 li li li.sfHover ul {
	left: auto;
	}

#nav_menu-3 li:hover, #nav_menu-3 li.sfHover { 
	position: static;
	}
	

/* Egna klasser
------------------------------------------------------------ */
#rad1, 
#frontpage-row-1 {
	background: #ffffff;
	overflow: hidden;
	padding:10px 10px 8px 10px;
}
#rad2,
#frontpage-row-2 {
	margin-top: 20px;
	font-size: 22px;
	line-height: 28px;
	font-family: 'Paytone One', serif;
	text-align: center;
	overflow: hidden;
}
#rad3 {
	margin-top: 20px;
}
#rad3 h3 {
	margin-top: 0px;
}
#frontpage-row-4 .post {
margin-bottom: 0px;
}
/*
#startsida-1 {
	float: left;
	max-width: 576px;
	height:236px;
	margin-right: 15px;
}
#startsida-2 {
	float: left;
	max-width: 301px;
	height: 236px;
}
*/

#startsida-1 {
	overflow: hidden;
}
#startsida-1.two-thirds,
#frontpage-row-1 .widget-1.one-half {
	margin-bottom: 0px;
	width: 65.9%;
}

#startsida-2.one-third,
#frontpage-row-1 .widget-2.one-half {
	width: 33%;
	margin-left: 1%;
	margin-bottom: 0px;
}
#startsida-4 {
	background: url(images/gra_opacity_bg.png) repeat;
/*
	float: left;
	width: 31%;
	margin-right: 28px;
*/
}
#startsida-5 {
	background: url(images/gra_opacity_bg.png) repeat;
/*
	float: left;
	width: 31%;
	margin-right: 28px;
*/
}
#startsida-6 {
	background: url(images/gra_opacity_bg.png) repeat;
/*
	float: left;
	width: 31%;
*/
}
#rad3 .widget_text {
	margin: 7px;
	padding: 5px;
	border: 2px dashed #ed1c24;
}
#rad3 .widget-container {
	margin: 7px;
	padding: 5px;
	min-height: 200px;
	border: 2px dashed #ed1c24;
	background: url(images/gra_opacity_bg.png) repeat;
}

#frontpage-row-4 .widget-container {
	box-sizing: border-box;
	padding: 0 1.5% 8px 1.5%;
	min-height: 221px;
	border: 2px dashed #ed1c24;
	background: url(images/gra_opacity_bg.png) repeat;
}


#main .wrapper {
	overflow: hidden;
	margin: 0 7px 0 7px;
	border-left: 2px dashed #ed1c24;
	border-right: 2px dashed #ed1c24;
	padding-bottom: 20px;
	background: url(images/gra_opacity_bg.png) repeat;
}
.home #main .wrapper {
	background: transparent;
}
#footer .wrapper {
	overflow: hidden;
	margin: 0 7px 7px 7px;
	border-left: 2px dashed #ed1c24;
	border-right: 2px dashed #ed1c24;
	border-bottom: 2px dashed #ed1c24;
	background: url(images/gra_opacity_bg.png) repeat;
}
.home #footer .wrapper {
	background: transparent;
}
#query-posts-12 {
	position: relative;
}

#query-posts-12 h3 {
	position: absolute;
	top: 0px;
	left:7px;
}
#query-posts-12 h5 {
	position: absolute;
	bottom:10px;
	left:7px;
}
#query-posts-12 img {
	border: 1px solid #dddddd;
}
#query-posts-12 .post {
	margin-bottom: 0px;
}
.facebook-knapp {
	float: right;
	margin: 0 0 10px 5px;
}
.addthis_toolbox {
	clear:both;
}


/* =Responsive Structure
----------------------------------------------- */

@media only screen and (max-width: 800px) {

	/* Simplify the basic layout */
	/*
	#wrapper {
		margin: 20px 5px 20px 5px;
	}
	#header {
		padding: 20px 20px 0 20px;
	}
	
	#main {
		margin: 20px 20px 0 20px;
	}
	*/
	
	

	#secondary-nav {
		margin: 10px 20px 0 20px;
	}
	
	
	.layout-2c-r-fixed #container {
	    margin: 0 0 0 0;
	    width: 100%;
	    float: left;
	}
	.layout-2c-l-fixed #container {
	    margin: 0 0 0 0;
	    width: 100%;
	    float: right;
	}
	.layout-3c-m-fixed #container {
	    width: 100%;
	    float: left;
	}
	.layout-2c-r-fixed #content {
	    margin-right: 2%;
	    position: relative;
	}
	.layout-2c-l-fixed #content {
	    margin: 0 0 0 0;
	    position: relative;
	}
	.layout-3c-m-fixed #content {
	    margin: 0 0 0 0;
	    position: relative;
	}
	
	.page-template-template_onecolumn-php #container,
	.page-template-template_frontpage-php #container {
	    float: left;
	    margin: 0;
	}
	
	.page-template-template_onecolumn-php #content,
	.page-template-template_frontpage-php #content {
	    padding: 0;
	    margin: 10px 2% 0 2%;
	}
	
	
	.layout-2c-r-fixed #primary,
	.layout-2c-r-fixed #secondary {
	    float: none;
		width: auto;
		display: block;
	}
	.layout-2c-l-fixed #primary,
	.layout-2c-l-fixed #secondary  {
	    float: none;
		width: auto;
		display: block;
	}
	
	.layout-3c-m-fixed #primary {
		float: none;
		width: auto;
		display: block;
	}
	.layout-3c-m-fixed #secondary  {
		float: none;
		width: auto;
		display: block;
	}
	
	
	#footer-1 {
    	margin: 0 0 10px 0;
    	float: none;
    	width: auto;
    	display: block;
	}
	#footer-2 {
	    margin: 0 0 10px 0;
    	float: none;
    	width: auto;
    	display: block;
	}
	#footer-3 {
	    margin: 0 0 10px 0;
    	float: none;
    	width: auto;
    	display: block;
	}
	
	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		float: none;
    	width: auto;
    	display: block;
		margin-bottom: 20px;
		margin-left: 0;
	}
	
	#rad1 {
		background: transparent;
		padding: 0;
	}
	#startsida-1.two-thirds {
		margin-bottom: 10px;
		width: 100%;
		display: block;
	}
	#startsida-2.one-third {
		width: 100%;
		margin-left: 1%;
		margin-bottom: 0px;
		display: block;
	}
	#frontpage-row-1 .one-half {
		margin-bottom: 10px;
		width: 100%;
		display: block;
	}
	#startsida-2.one-third,
	#frontpage-row-1 .widget-2.one-half {
		width: 100%;
		margin-left: 1%;
		display: block;
	}
	#frontpage-row-4 .one-third {
		width: auto;
		display: block;
		float: none;
	}
	#rad3 .widget-container {
		margin: 0;
	}
	#rad3 .widget-area {
		padding: 7px;
	}


}

@media screen and (-webkit-min-device-pixel-ratio: 2), (max-width: 480px) {
	#header-widget #text-4 {
		width: 90px;
		position: absolute;
		top:-100px;
		right: -10px;
	}
	
	#site-title {
    	float: none;
    	width: auto;
    	display: block;
	}
	#blog-description {
    	float: none;
    	width: auto;
    	display: block;
	}

	#header-widget {
	    float: none;
    	width: auto;
    	display: block;
    	padding-top: 10px;
	}
	
	#header-widget .social_widget {
		text-align: left;
	}
	/*
	#frontpage-row-1 #text-13 {
		display:none;
	}
	*/

}