/*

Theme Name: Lastvagnsteknik i Borås AB
Theme: URI: http://wwww.lvt.se
Description: Text
Version: 1.0
Author: Hemsidauppsala.se
Author: URI: http://www.hemsidauppsala.se

*/

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,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,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	margin: 0;
	padding: 0;
}

body {
	line-height: 1;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

nav ul {
	list-style: none;
}

blockquote,q {
	quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: none;
}

a {
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	margin: 0;
	padding: 0;
}

ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: 700;
}

del {
	text-decoration: line-through;
}

abbr[title],dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

input,select {
    vertical-align: middle;
}

/* GENERAL */

body {
	background: url('images/bg.png');
	padding: 0;
	margin-top: 30px;
	font-family: 'Arial', sans-serif;
	font-size: 14px;
	color: #000;
}

*{	
	margin:0;
}

img { 
	border: 0px; 
	vertical-align: bottom; 
	display: block;
}

a:link, a:visited, a:active, a:hover  {
	color: #000;
	text-decoration: none;
}

a:hover  {
	color: #fe9a00;
	text-decoration: underline;
}

h2 {
	font-size: 22px;
	padding-bottom: 25px;
	font-weight: normal;
}

h3 {
	font-size: 12px;
	padding-bottom: 2px;
}

/* WRAPPER */

#wrapper {
	max-width: 909px;
	min-height: 1px;
	overflow: hidden;
	margin: 0 auto;
}



/* HEADER */

header {
	max-width: 909px;
	height: 137px;
	margin-bottom: 30px;
	position: relative;
}

/* LOGO */

#logo {
	width: 137px;
	height: 91px;
	float: left;
	border: 0px;
}

/* OPENING HOURS */

#info-box {
	background: rgba(255, 255, 255, 0.7);
	color: #000;
	float: right;
	margin-top: 24px;
	padding: 20px;
	font-size: 14px;
	width: 370px;
	border-bottom: 1px solid #ccc;
}

#info-box:hover{
	background: rgba(255, 255, 255, 1);
}

#icon-phone { 
	background: url('images/icon-phone.png');
	float:left; 
	width: 20px; 
	height: 20px;
	margin-right: 10px;
}

#icon-info { 
	background: url('images/icon-info.png');
	float:left; 
	width: 20px; 
	height: 20px;
	margin-right: 10px;
}


/* NAVIGATION */

nav {
	width: 245px;
	background: #17306f;
	min-height: 1px;
	overflow: hidden;
	font: 16px/27px 'Arial', sans-serif;
	list-style-type: none;
	float:left;
}

nav ul {
	list-style-type: none;
}

nav li {
	width: 245px;
	float: left;
	display:block;
	clear:both;
	border-bottom: 1px solid #00469b;
}

nav li:last-child {
	width: 245px;
	float: left;
	display:block;
	clear:both;
	border-bottom: 1px solid #17306f;
}

nav a:link, nav a:visited, nav a:active {
	background: #003366;
	font-weight: bold;
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 18px 20px 0px 20px;
	height: 43px;
	
}

nav a:hover  {
	color: #fff;
	text-decoration: none;
}

nav .current_page_item a:link,
nav .current_page_item a:visited,
nav .current_page_item a:active,
nav .current_page_item a:hover {
	background: #00469b;
	font-weight: bold;
	color: #fff;
}

/* SLIDER */

#slider {
	background: #c11724;
	width: 602px;
	float:right;
	padding: 20px;
	height: 270px;
	margin-bottom: 23px;
}

/* CONTENT */

h1 { font: 16px/27px 'Arial', sans-serif;color:#fff; background: #00469b; padding: 18px 20px 18px 20px;}

article#content {
	background: #fff;
	max-width: 909px;
	min-height: 1px;
	overflow: hidden;
	line-height: 29px;
	border-bottom: 1px solid #ccc;
}

article#content .text {
	padding: 30px;
}




article#content img {
	margin-bottom: 20px;
}

/* FOOTER */

footer{
	padding-top: 20px;
	color: #333;
	max-width: 909px;
	min-height: 1px;
	overflow: hidden;
	margin-top: 30px;
	margin-bottom: 50px;
	line-height: 21px;
	font-size: 12px;
}

footer a:link, footer a:visited, footer a:active, footer a:hover  {
	color: #333;
	text-decoration: none;
}

footer a:hover  {
	color: #333;
	text-decoration: underline;
}

.clearfix{
	clear: both;
}

.menu-toggle{
	display: none;
	position: absolute;
	right: 20px;
	bottom: 20px;
	font-size: 30px;
}

nav li:last-child{
	width: 100%;
}

@media (max-width: 910px) {
	header{

		width: 100%;

	}
	#wrapper {
		width: 100%;
	}

	#slider {
		width: 66%;
		float: left;
		padding: 10px;
		height: 290px;
	}

	#slider img{
		width: 100%;

	}

	nav {
		width: 30%;
	}

	footer{
		width: 100%;
		padding:10px;
	}

	nav li{
		width: 100%;
	}
}

@media (max-width: 660px) {

	.menu-toggle{
		display: block;
		cursor: pointer;
	}
	
	header{
		height: auto;
	}

	#logo{
		width: 100%;
		float: none;
		height: auto;
	}

	#logo img{
		display: block;
		margin: auto;
		height: 90px;
		width: auto;
	}

	#info-box{
		width: 100%;
		float: none;
	}
	#menu-menu {
		display: none;
	}


		nav {
		width: 100%;
	}

		nav li{
		width: 100%;
		float: none;
	}

	#slider{
		width: 100%;
		float: none;
		padding: 0px;
	}

	#slider img{
		margin: auto;
		width: 100%;
		height: auto;
	}


}

.slide-img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
}
