/*  Theme Name: Peaksearch 
	Description: Ett tema utvecklat för Peaksearch.se med Wordpress som grund
	Version: 1.0
	Author: Sebastian Brinkenfeldt
	Author URI: http://brinkenfeldtit.se
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

/* Make HTML 5 elements display block-level for consistent styling */  
header, nav, article, footer, address, section {  
    display: block;  
}  
/*--------------------------Global----------------------------- */
body {
	background: url('/wp-content/themes/peaksearch/graphics/background-gradient.png') repeat-x #fff;
	font-family: 'Arial', 'Helvetica', sans-serif;
	color: #696969;
	font-size: 14px;
	line-height: 23px;	
}
#wrapper {
	width:1029px;
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
}
header {
	height: 170px;
	width:1029px;
	background: url('/wp-content/themes/peaksearch/graphics/header-shadow.png') no-repeat;
	padding-top: 22px;

}
h1, h2, h2 a, aside h3 {
	color: #4f8c1b;
	font-weight: normal;
}
h1 {
	font-size: 1.5em;
	margin-bottom: 27px;
}
h2 {
	font-style: italic;
}
h3 {
	font-weight:bold;
	font-size:14px;
}

h4 {
	font-size: 12px;
	font-weight: bold;
}
a {
	text-decoration: none;
	color:#431c54;
	font-weight: bold;
}
blockquote {
	font-family: 'Arial', 'Helvetica', sans-serif;
	font-style: italic;
	color: #4f8c1b;
	font-size: 20px;
	margin-top: 10px;
	line-height: 30px;	
	margin-bottom: 10px;		
}
p {
	margin-top: 10px;
	margin-bottom: 10px;
}
.framed {
	border: 0px;
}
/*--------------------------Header----------------------------- */
#header-content {
	height: 126px;
	background: #fff;
	width: 986px;
	margin: 0px auto;
	border-top: 2px solid #431c54;
}
#top-header {
	width: 380px;
	float: right;
	height: 33px;
	margin-top: 27px;
}
#languages {
	float: left;
	margin-top: 4px;
	width:140px;
}
#languages a {
	color:#a2a2a2;
	font-weight: normal;
	font-size: 12px;
}
#languages li {
	float: left;
	margin-right: 15px;
}
.language-option-1 {
	color:#431c54 !important;
	font-weight: bold !important;
}
#languages span {
	width: 7px;
	height: 7px;
	display: block;
	background: url('/wp-content/themes/peaksearch/graphics/swosch.png');
	float: left;
	margin-top: 8px;
	margin-right: 5px;
}
a#linked-in {
	width: 213px;
	height: 29px;
	background: url('/wp-content/themes/peaksearch/graphics/linked-in.png');
	display: block;
	float: left;	
}
a#linked-in-en {
	width: 213px;
	height: 29px;
	background: url('/wp-content/themes/peaksearch/graphics/linked-in-en.png');
	display: block;
	float: left;	
}
#logo {
	width:163px;
	height:58px;
	background: url('/wp-content/themes/peaksearch/graphics/logo.jpg');
	display: block;
	margin-top: 20px;
	margin-left: 20px;
}
#slider {
	height: 252px;
	background: url('/wp-content/themes/peaksearch/graphics/slider.jpg');
	width: 986px;
	margin: -40px auto;
}
#payoff {
	font-size: 25px;
	color: #fff;
	font-family: Baskerville;
	padding: 8px;
	background: #431c54;
	float: left;
	margin-top: 49px;
	position: absolute;
	width: 450px;
}
#searchform {
	float: right;
	margin: 0px 25px 0px;
}
#searchform input {
	float: left;
	border: 0px;
}
#searchbutton {
	height: 29px;
	width: 47px;
	background: url(/wp-content/themes/peaksearch/graphics/search.png);
	color: #575757;
	text-align: center;
}
#searchbox {
	height: 29px;
	width: 179px;
	background: url(/wp-content/themes/peaksearch/graphics/searchform.png) no-repeat;
	border: 0px;
	margin-right: -2px;
	padding-left: 10px;
	color: #575757;
}
/*--------------------------Nav-------------------------------- */

#menu-top a{
	color: #9a9a9a;
	font-size: 12px;
	padding-left: 18px;
	padding-right: 18px;
	display: block;
	height: 35px;
	padding-top: 10px;
	margin-top: 2px;
	 -webkit-border-image:url("/wp-content/themes/peaksearch/graphics/menu-divider.png") 0 0 0 100% ;
	border-width: 1px;
	border-color: #e4e4e4;
	font-weight: bold;
}
#menu-top a:hover, #menu-top li.current-menu-item a{
	color:#431c54;
	font-weight: bold;
	background: #fff;
}
#menu-top li.current-menu-item a{
	color:#431c54;
	font-weight: normal;
}

#menu-top li:first-child a {
	border: 0px;
}
#menu-top li {
	float:left;

}
.menu span {
	width: 100%;
	height: 3px;
	background: url('/wp-content/themes/peaksearch/graphics/arrow.gif') no-repeat center;
	margin-top: -10px;
	float: left;
}
/*--------------------------Subpages------------------------------ */
nav#subpages {
	width: 170px;
	float: left;
	margin-left: 19px;
	padding-top: 50px;
	margin-top: -20px;
	border-left: 7px solid #f5f5f5;
	font-size: 11px;
}
#subpages a {
	height:28px;
	padding-top: 5px;
	text-align: left;
	padding-left: 30px;
	display:block;
	width: 130px;
	font-weight: normal;
	color: #7f7f7f;
}
#subpages a:hover {
	background: url('/wp-content/themes/peaksearch/graphics/submenu-background.png');
	color: #431c54;
	font-weight: bold;
}
#subpages li {
	list-style: none;
}
#subpages span {
	width: 17px;
	height: 33px;
	background: url('/wp-content/themes/peaksearch/graphics/submenu-arrow.png') no-repeat;
	display: block;
	float: right;
	margin-top:-33px;
}
/*--------------------------Content---------------------------- */
#main {
	background:url("/wp-content/themes/peaksearch/graphics/main-content-shadow.png") no-repeat ;
	padding-top: 40px;
	float: left;
	width: 1029px;
	margin-top: 20px;
}
#page-main {
	background:url("/wp-content/themes/peaksearch/graphics/main-content-shadow.png") no-repeat ;
	padding-top: 40px;
	float: left;
	width: 1029px;
	margin-top: -60px;
}
#main-content {
	width: 590px;
	margin-left: 60px;
	padding-top: 30px;
	float: left;
}
#page-content {
	width: 420px;
	margin-left: 25px;
	padding-top: 30px;
	float: left;
}
#single-content {
	width: 590px;
	margin-left: 40px;
	padding-top: 30px;
	float: left;
}
#main-content article img, #page-content article img, #single-content article img {
	padding: 5px;
	background: #fff;
	border: 1px solid #e3e3e3;
	-webkit-border-radius: 2px;
	-moz-border-radius:2px;
	border-radius: 2px;
}
#main-content article li, #page-content article li, #single-content article li {
	list-style-type: disc;
}
#main-content article ul, #page-content article ul, #single-content article ul {
	margin-left:20px;
}

ul#consultants li {
	list-style: none;
	width: 100%;
	float: left;
	margin-bottom:20px;
} 
#main-content article {
	border-top:2px dotted #b6b6b6;
	padding-top: 35px;
	width: 540px;
	padding-right: 50px;
	float: left;
}
#single-content article {
	padding-top: 35px;
	margin-bottom: 35px;
	width: 540px;
	float: left;
	padding-right: 50px;
}
#page-content article {
	border: 0px;
}
.more-link, aside a {
	color:#431c54;
	font-weight: bold;
}
#index-archive {
	border-top:2px dotted #b6b6b6;
	float:left;
	padding-top:36px;
	margin-top:36px;
}
#index-archive li {
	list-style: none;
}
#index-archive li {
	width: 50%;
	float: left;
	font-size: 12px;
}
.iframe-map {
	width: 300px;
	float:right;
}
.iframe-map p {
	float: right;
}
#consultants-info td {
	float: left;
	width: 270px;
}
#consultants-info tr {
	margin-bottom: 40px;
	float: left;
}
.image-map {
	border:0px !important;
}
/*--------------------------Sidebar---------------------------- */

#sidebar-right {
	float: right;
	width: 246px;
	margin-top: 30px;
	margin-right: 58px;
	margin-left: 75px;
	font-size: 12px;
	color: #535353;
	line-height: 15px;
}
#sidebar-right li {
	border: 1px solid #bcbcbc;
	padding: 10px;
	background: url('/wp-content/themes/peaksearch/graphics/widget-gradient.png') repeat-x #f4f4f4;
	list-style: none;
	margin-bottom: 37px;
}
#sidebar-right li li {
	border: 0px;
	padding: 0px;
	background: transparent;
	margin: 0px;	
}
.rss-date {
	float: left;
	width: 100%;
}
#aside-content {
	border-top:2px dotted #b6b6b6;
	padding-top: 40px;
}
.widget-title {
	font-size: 14px;
	margin-bottom: 20px;
}
.curriculum-upload {
	background: url('/wp-content/themes/peaksearch/graphics/curriculum-background.png') no-repeat right top !important;
	height: 120px;
	
}
.assignment-widget {
	background: url('/wp-content/themes/peaksearch/graphics/assignment-widget.png') no-repeat right top !important;
	height: 120px;
	
}
.linked-in-widget {
	background: url('/wp-content/themes/peaksearch/graphics/linked-in-widget.png') no-repeat right bottom !important;
	height: 140px;
}
.linked-in-sidebar{
	font-weight: normal !important;
	color: #535353 !important;
}
.assignments li{
	margin-bottom: 20px!important;
}
/*--------------------------Footer---------------------------- */

footer {
	padding-top: 10px;
	width: 905px;
	margin-left: 40px;
	border-top: 2px solid #431c54;
	float: left;
	height: 90px;
}

#footer-info li {
	list-style: none;
	margin-right: 20px;
	float: left;
}
.bottom-footer-li {
	width: 100%;
	font-size: 12px;
}
/*--------------------------Images----------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
