/*  
Theme Name: Projekt Mittelstand
Theme URI: http://webdesignerwall.com/general/free-base-wordpress-theme
Version: 1.0.0
Author: Themify
Author URI: http://www.themify.me
*/

/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset, figure {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/* ie 8 img max-width */
@media \0screen {
  img { width: auto;}
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #3e3e3e;
	background: #fcf6ed;
	border-top: 8px solid #003f7f;
}

a {
	color: #72a552;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 0 0 1.4em;
	padding: 0;
	line-height: 26px;
}

small {
	font-size: 87%;
}

blockquote {
	font: italic 110%/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}

strong, b {
	font-weight: 600;
}

/* LIST
================================================ */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* HEADINGS
================================================ */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 0px 0 .4em;
	font-weight: 600;
	color: #255b9e;
}
h1 {
	font-size: 1.8em;
	margin: 0px 0 1.8em 0 !important;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: 1em;
}

/* FORM
================================================ */
/* form input */
input, textarea, select, input[type=search], button {
	font-size: 100%;
	font-family: inherit;
}

input[type=text], 
input[type=password], 
textarea, 
input[type=search], 
input[type=email], 
input[type=tel] {
	background: #fff;
	border: solid 1px #c9c9c9;
	padding: 10px 12px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);
  width: 521px;
}

.two-columns-one input[type=text], 
.two-columns-one input[type=password], 
.two-columns-one textarea, 
.two-columns-one input[type=search], 
.two-columns-one input[type=email], 
.two-columns-one input[type=tel] {
	width: 467px;
}

/* text area */
textarea {
	line-height: 150%;
	width: 94%;
}

/* form input:focus */
textarea:focus, 
input[type=password]:focus, 
input[type=text]:focus, 
input[type=email]:focus, 
input[type=search]:focus,
input[type=tel]:focus {
	outline: none;
	background: #fff;
}

/* form button */
input[type=reset], input[type=submit], button,
.flex-caption a,
#sidebar .partner-link {
	background: #333;
	color: #fff;
	text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.8);
	border: 1px solid #3c572b;
	padding: 7px 20px;
	cursor: pointer;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #83bf5f;
	text-decoration: none;
	background: -moz-linear-gradient(top,  #83bf5f 0%, #6a994c 98%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#83bf5f), color-stop(98%,#6a994c));
	background: -webkit-linear-gradient(top,  #83bf5f 0%,#6a994c 98%);
	background: -o-linear-gradient(top,  #83bf5f 0%,#6a994c 98%);
	background: -ms-linear-gradient(top,  #83bf5f 0%,#6a994c 98%);
	background: linear-gradient(to bottom,  #83bf5f 0%,#6a994c 98%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#83bf5f', endColorstr='#6a994c',GradientType=0 );
	-moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.5);;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), inset 0px 1px 1px rgba(255, 255, 255, 0.5);
  margin: 20px 0px 0px 0px;
}

/* form button:hover */
input[type=reset]:hover, input[type=submit]:hover, button:hover,
.flex-caption a:hover,
#sidebar .partner-link {
	background: #72a552;
	background: -moz-linear-gradient(top,  #72a552 0%, #597f3f 98%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#72a552), color-stop(98%,#597f3f));
	background: -webkit-linear-gradient(top,  #72a552 0%,#597f3f 98%);
	background: -o-linear-gradient(top,  #72a552 0%,#597f3f 98%);
	background: -ms-linear-gradient(top,  #72a552 0%,#597f3f 98%);
	background: linear-gradient(to bottom,  #72a552 0%,#597f3f 98%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72a552', endColorstr='#597f3f',GradientType=0 );

}

/* form placeholder */
.placeholder {
	color: #a2a2a2;
}

::-webkit-input-placeholder {
   color: #a2a2a2;
}

:-moz-placeholder { /* Firefox 18- */
   color: #a2a2a2;  
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #a2a2a2;  
}

:-ms-input-placeholder {  
   color: #a2a2a2;  
}

/* form select */
.s-hidden {
  visibility: hidden;
  padding-right: 10px;
}

.select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  border: solid 1px #c9c9c9;
  width: 100%;
  height: 44px;
  line-height: 44px;
  font-size: 14px
  -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 100;
}

.styledSelect {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0px 12px;
  font-weight: bold;
  -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #f0f0f0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#f0f0f0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 );
	font-weight: 400;
}

.styledSelect:after {
  content: "";
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-color: black transparent transparent transparent;
  position: absolute;
  top: 20px;
  right: 20px;
}

.styledSelect:active,
.styledSelect.active {
  background-color: #eee;
}

.options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0 0;
  padding: 0 0;
  list-style: none;
  border: 1px solid #ccc;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  z-index: 999999;
}

.options li {
  margin: 0 0;
  padding: 10px 12px;
}

.options li:hover {
  background-color: #255b9e;
  color: white;
}

/* form custom */
.become-a-partner .wpcf7 .vorname input {
	width: 235px;
}

.become-a-partner .wpcf7 .nachname input {
	width: 235px;
}

.become-a-partner .wpcf7 .plz input {
	width: 115px;
}

.become-a-partner .wpcf7 .ort input {
	width: 355px;
}

/* form custom page */
.page-id-17 .become-a-partner .wpcf7 .vorname input {
	width: 305px;
}

.page-id-17 .become-a-partner .wpcf7 .nachname input {
	width: 305px;
}

.page-id-17 .become-a-partner .wpcf7 .plz input {
	width: 195px;
}

.page-id-17 .become-a-partner .wpcf7 .ort input {
	width: 415px;
}

.page-id-17 .wpcf7-text {
	width: 659px;
}


.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	position: absolute;
	top: -5px;
	right: 4px;
	background: #f00;
	color: #fff !important;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 8px;
	z-index: 10;
	font-size: 12px !important;
	display: block;
	opacity: 0.7;
}

.wpcf7-response-output {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #f7e700;
	padding: 20px !important;
	margin: 0 !important;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
/* main page width */
.pagewidth {
	width: 1024px;
	margin: 0 auto;
}

.with-sidebar,
.with-sidebar .pagewidth {
	width: 685px;
	float: left;
}

/* content */
#content {
	padding: 50px 0;
}

.maps {
	padding-bottom: 10px !important;
}

/* sidebar */
#sidebar {
	width: 280px;
	float: right;
}

/* sidebar left */
.sidebar-left #content {
	float: right;
}
.sidebar-left #sidebar {
	float: left;
}

/* sidebar none */
.sidebar-none #content {
	width: 100%;
	float: none;
}

.two-columns-one {
	width: 48.5%;
}

.three-columns-one {
	width: 31.333%;
}

.three-columns-two {
	width: 65.33%;
}

.four-columns-one {
	width: 22.75%;
}

.four-columns-two {
	width: 45.5%;
}

.four-columns-three {
	width: 100%;
}

.two-columns-one,
.three-columns-one,
.three-columns-two, 
.four-columns-one,
.four-columns-two {
	position: relative;
	float: left;
	margin-right: 3%;
	margin-bottom: 0;
}

.last {
	clear: right;
	margin-right: 0 !important;
}

.divider {
	width: 100%;
	margin-bottom: 30px;
	padding-top: 0px;
	display: block;
	clear: both;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	background: #255b9e;
	border-bottom: 8px solid #003f7f;
	height: 98px;
	padding-top: 32px;
}

#header .login {
	width: 148px;
	height: 35px;
	line-height: 35px;
	font-size: 12px;
	background: #003f7f url('images/login-icon.png') no-repeat 132px center;
	padding: 0px 0px 0px 15px;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

#header .logo a {
	text-indent: -9999px;
	display: block;
	background: url('images/projekt-mittelstand-logo-4.png') no-repeat center center;
	width: 293px;
	height: 56px;
	margin-top: 4px;
}

#header a {
	color: #fff;
}

#header .main-nav-wrap {
	width: 647px;
	margin: 24px 0px 0px 0px;
}

/* 
MAIN NAVIGATION
================================================ */
#main-nav {
	margin: 0;
	padding: 0;
}

#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
	height: 55px;
}

/* main level link */
#main-nav a {
	display: block;
	padding: 5px 12px;
	margin: 0 5px 0 0;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/* main level link :hover */
#main-nav a:hover {
	background: #fff;
	color: #255b9e;
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

/* current link */
#main-nav .current_page_item a, #main-nav .current-menu-item a {
	background: #fff;
	color: #333;
}


/* sub-levels link */
#main-nav ul a, #main-nav .current_page_item ul a, #main-nav ul .current_page_item a, #main-nav .current-menu-item ul a, #main-nav ul .current-menu-item a, #main-nav li:hover > ul a  {
	color: #255b9e;
	font-size: 100%;
	line-height: 140%;
	font-weight: normal;
	text-transform: none;
	padding: 10px 6px 10px 15px;
	margin: 0;
	display: block;
	width: 180px;
	background: none;
	border: none;
	text-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-bottom: 1px solid #003f7f;
}

#main-nav ul li:last-child a {
	border-bottom: 0px;
}

/* sub-levels link :hover */
#main-nav ul a:hover, #main-nav .current_page_item ul a:hover, #main-nav ul .current_page_item a:hover, #main-nav .current-menu-item ul a:hover, #main-nav ul .current-menu-item a:hover, #main-nav li:hover > ul a:hover {
	color: #666;
}
/* dropdown ul */
#main-nav ul {
	margin: 20px 0px 0px 0px;
	list-style: none;
	position: absolute;
	background: #fff;
	z-index: 100;
	display: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

#main-nav ul:after {
	bottom: 100%;
	left: 24%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 10px;
	margin-left: -10px;
}

#main-nav ul li {
	background: none;
	padding: 0;
	margin: 0;
	float: none;
	height: auto;
}

/* sub-levels dropdown */
#main-nav ul ul {
	left: 190px;
	top: -2px;
}

/* show dropdown ul */
#main-nav li:hover > ul {
	display: block;
}

/************************************************************************************
SLIDER
*************************************************************************************/
.slider {
	background: #255b9e url('images/slider-bg-shadow.jpg') center center no-repeat;
	border-bottom: 8px solid #003f7f;
}

.slider .flex-container,
.content-slider .flexslider .slides {
	background: #255b9e;
}

.slider .flex-container {
	height: 447px;
}

.slider .flex-caption {
	position: absolute;
	top: 70px;
	width: 490px;
	color: #fff;
}

.slider .flex-caption h2,
.slider .flex-caption h3,
.slider .flex-caption h4,
.slider .flex-caption h5 {
	color: #fff;
}

.slider .flex-caption h2 {
	font-size: 32px
}

.slider .flex-caption a {
	padding: 10px 16px;
}

.slider .flex-caption p {
	margin-bottom: 40px;
}

.slider .cap-left {
	padding-left: 40px;
	left: 0;
}

.slider .cap-right {
	padding-right: 40px;
	right: 0;
}

.slider .flex-control-nav,
.content-slider .flex-control-nav {
	bottom: 25px;
	height: 12px;
	right: 0;
	left: auto;
	margin: 0;
	padding: 6px 36px 0px 0px;
	position: absolute;
	width: 100%;
	z-index: 999;
	text-align: right;
}

.slider .flex-control-paging li,
#content .flex-control-paging li {
	margin-left: 4px;
}

.slider .flex-control-paging li a,
.content-slider .flex-control-paging li a  {
	background-image: none !important;
	background-color: #000000 !important;
	opacity: 0.5;
	display: block;
	float: right !important;
	width: 12px !important;
	height: 12px !important;
	margin-left: 8px !important;
	outline: none;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.slider .flex-control-paging li a:hover,
.content-slider .flex-control-paging li a:hover,
.slider .flex-control-paging li a.flex-active,
.content-slider .flex-control-paging li a.flex-active {
	background-color: #fff !important;
	opacity: 0.5;
	background-image: none !important; 
}

.flyer .flex-control-paging li a {
	background-color: #fff !important;
}

.flyer .flex-control-paging li a:hover,
.flyer .flex-control-paging li a.flex-active {
	background-color: #000000 !important;
}

.slider .meteor-nav a {
	display: block;
	outline: none;
	position: absolute;
	text-indent: -9999px;
	width: 27px;
	height: 100%;
	z-index: 998;
}

.slider .meteor-nav .prev a {
	left: 0px;
}

.slider .meteor-nav .next a {
	right: 0px;
}

.slider div.navpaged, .slider div.navboth {
	margin-bottom: 0px;
}

.gecko .slider {
	margin-top: -8px;
}

/************************************************************************************
PAGE
*************************************************************************************/
/* page title */
.page-title {
	margin: 0 0 15px;
	padding: 0;
	font-size: 300%;
	line-height: 110%;
}

.main-content {
	min-height: 300px;
	border-bottom: 8px solid #003f7f;
	color: #fff;
	background: #255b9e;
	padding: 60px 0px 50px 0px;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
	color: #fff;
}

.boxes {
	border-bottom: 8px solid #003f7f;
	padding: 50px 0px 50px 0px;

}

.boxes .box {
	width: 310px;
	height: 215px;
	border: 6px solid #e6e0d8;
}

.boxes .box-2 {
	margin: 0px 0px 0px 30px;
}

.boxes .box img {
	margin: 0;
}

.boxes .box h2 {
	background: #003f7f;
	height: 54px;
	color: #fff;
	text-align: center;
	font-size: 24px;
	line-height: 54px;
	margin: -5px 0 0 0;
}

.boxes .box a {
	color: #fff;
	display: block;
}

.boxes .box a:hover {
	text-decoration: none;
}

.become-a-partner {
	padding: 60px 0px 70px 0px;
}

.become-a-partner h1,
.become-a-partner h2,
.become-a-partner h3,
.become-a-partner h4,
.become-a-partner h5,
.become-a-partner h6 {
	margin-top: 0px;
}

.become-a-partner .left-box {
	width: 400px;
}

.become-a-partner .right-box {
	width: 606px;
}

.become-a-partner .wpcf7 {
	padding: 0px 0px 0px 60px;
}

.become-a-partner .wpcf7 .field {
	padding: 0px 0px 20px 0px;
}

.become-a-partner .wpcf7 input[type=submit] {
	width: 100%;
	height: 60px;
	font-size: 18px;
}

.page-id-17 .become-a-partner,
.page-id-17 .become-a-partner .wpcf7 {
	padding: 0px !important;
}

/************************************************************************************
PARTNER MAP
*************************************************************************************/

#map {
	
}

#map .map-adress {
	min-width: 185px;
	padding: 10px;
}

#map .map-adress span {
	display: inline-block;
	zoom:1;
	*display:inline;
	width: 68px;
	font-weight: 600;
	color: #7b7b7b;
}

#map .map-adress .contact-block {
	margin-top: 10px;
}

#map .map-adress p {
	margin-bottom: 0;
}

/************************************************************************************
POST
*************************************************************************************/
.post {
	margin-bottom: 50px;
}

.teaser {
	background-position: center center;
	background-repeat: no-repeat;
	height: 200px;
	background-color: #255b9e;
	border-bottom: 8px solid #003f7f;
	padding: 40px 0px;
}

.content-slider {
	background: #255b9e url('images/slider-bg-shadow.jpg') center center no-repeat;
	border-bottom: 8px solid #003f7f;
	height: 512px;
}

.content-slider .flexslider,
.content-slider .slides {
	height: 512px;
}

.teaser h1 {
	color: #fff;
	margin-bottom: 30px !important;
}

.small-teaser {
	height: 50px;
}

.telephone {

}

.lesspadding {
	padding: 2% 0 !important;
}

.page-text {
	width: 450px;
	color: #fff;
}

/* post content */
.post-content {
	min-width: 120px;
}

/* post title */
.post-title {
	font-size: 26px;
	margin: 0 0 5px;
	padding: 0;
}
.post-title a {
}

/* post image */
.post-image {
	margin: 0 0 5px;
}
.post-image.left {
	float: left;
	margin-right: 15px;
}
.post-image.right {
	float: right;
	margin-left: 15px;
}

/* lightbox zoom image */
.post-image .lightbox {
	position: relative;
	display: inline-block;
	zoom:1;
	*display:inline;
	max-width: 100%;
}
.post-image .lightbox .zoom {
	width: 40px;
	height: 40px;
	background: url(images/icon-zoom.png) no-repeat center center;
	margin: -20px 0 0 -20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.post-image .lightbox:hover .zoom {
	background-color: #000;
}

/* post meta */
.post-meta {
	margin: 0 0 7px;
}
.post-meta .post-author {
	background: url(images/post-author.png) no-repeat 0 2px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-category {
	background: url(images/post-category.png) no-repeat 0 2px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-tag {
	background: url(images/post-tag.png) no-repeat 0 3px;
	padding: 2px 0 2px 16px;
	margin-right: 7px;
}
.post-meta .post-comment a {
	background: url(images/post-comment.png) no-repeat 0 3px;
	padding: 2px 0 2px 16px;
}

/************************************************************************************
POST VIDEO (css for fluid video)
*************************************************************************************/
.post-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}
.post-video iframe,  
.post-video object,  
.post-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/************************************************************************************
PAGE NAVIGATION
*************************************************************************************/
.pagenav {
	clear: both;
	padding-bottom: 20px;
	text-align: right;
}
.pagenav a, .pagenav span {
	line-height: 100%;
	padding: 6px 0 0;
	margin: 0 2px;
	vertical-align: middle;
	display: inline-block;
	zoom:1;
	*display:inline;
	min-width: 24px;
	min-height: 18px;
	text-align: center;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.pagenav a {
	background: #111;
	color: #fff;
	text-decoration: none;
}
.pagenav a:hover {
	background-color: #000;
}
.pagenav .current {
	text-decoration: none;
}

/************************************************************************************
POST NAVIGATION
*************************************************************************************/
.post-nav {
	margin: 0 0 30px;
	padding: 15px 0;
	clear: both;
}
.post-nav span {
	width: 47%;
	position: relative;
}
.post-nav a {
	text-decoration: none;
	display: block;
}
.post-nav a:hover {
	text-decoration: none;
}
.post-nav .prev {
	float: left;
}
.post-nav .next {
	float: right;
	text-align: right;
}

/* post nav arrow */
.post-nav span span {
	background: #333;
	color: #fff;
	font: normal 20px/100% "Times New Roman", Times, serif;
	display: block;
	width: auto;
	float: left;
	width: 32px;
	height: 28px;
	padding: 4px 0 0;
	text-align: center;
	margin: -8px 10px 17px 0;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
}
.post-nav .next span {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}
.post-nav a:hover span {
	background: #000;
}

/************************************************************************************
COMMENTS
*************************************************************************************/
.commentwrap {
	margin: 10px 0 20px;
	position: relative;
	clear: both;
}

/* comment title */
.comment-title, #reply-title {
	font-size: 140%;
	margin: 0 0 10px;
	padding: 0;
}

/* comment pagenav */
.commentwrap .pagenav {
	margin: 10px 0;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.commentwrap .pagenav.top {
	margin: 0;
	position: absolute;
	top: 10px;
	right: 0;
}

/* commentlist */
.commentlist {
	margin: 0 0 30px;
	padding: 5px 0 0;
	border-top: solid 1px #ddd;
}
.commentlist li {
	margin: 0;
	padding: 15px 0 0;
	list-style: none;
	position: relative;
}
.commentlist .comment-author {
	margin: 2px 0 5px;
	padding: 0;
}
.commentlist .avatar {
	float: left;
	margin: 0 15px 0 0;
}
.commentlist cite {
	font-style: normal;
	font-size: 130%;
}
.commentlist cite a {
	text-decoration: none;
}
.commentlist .bypostauthor > .comment-author cite {
	background: url(images/icon-author-comment.png) no-repeat 0 2px;
	padding-left: 18px;
}
.commentlist .comment-time {
	font-size: 75%;
	text-transform: uppercase;
}
.commentlist .commententry {
	border-bottom: solid 1px #ddd;
	position: relative;
	min-height: 40px;
	overflow: hidden;
	padding-bottom: 5px;
	word-wrap: break-word;
}
.commentlist ul, .commentlist ol {
	margin: 0 0 0 7%;
	padding: 0;
}

/* reply link */
.commentlist .reply {
	position: absolute;
	right: 0;
	top: 8px;
}
.commentlist .comment-reply-link {
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
}
.commentlist .comment-reply-link:hover {
	text-decoration: none;
}

/* 
COMMENT FORM
================================================ */
#respond {
	margin: 0;
	padding: 10px 0 0;
	position: relative;
	clear: both;
}
#respond #cancel-comment-reply-link {
	position: absolute;
	top: 20px;
	right: 0;
	font-size: 85%;
	line-height: 100%;
	text-decoration: none;
	padding: 5px 10px;
	display: block;
	color: #fff;
	background: #F30;
}
#respond #cancel-comment-reply-link:hover {
	background: #333;
}
#commentform {
	margin: 15px 0 0;
}
#commentform input[type=text] {
	width: 206px;
	margin-right: 5px;
}
#commentform label {
	font-weight: bold;
}
#commentform label small {
	font-weight: normal;
}
#commentform textarea {
	height: 140px;
}
#commentform input#submit {
	padding: 7px 20px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
.widget {
	margin: 0 0 30px;
	word-wrap: break-word;
}
.widgettitle {
	margin: 0 0 0px;
	padding: 10px 12px 10px 12px;	
	background: #003f7f;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	color: #fff;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #ddd;
}
.widget ul ul {
	margin: 6px 0 -6px 0px;
	padding: 0;
	border-top: none;
}
.widget ul ul li {
	margin: 0;
	padding-left: 10px;
}

#sidebar .partner .line {
	border: 2px solid #aeaeae;
}

.widget_text,
#sidebar .partner {
	box-shadow: 0 32px 20px -22px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 32px 20px -22px rgba(0,0,0,0.5);
}

.widget_text .textwidget,
#sidebar .partner .body {
	background: #fcf6ed;
	color: #3e3e3e;
	padding: 20px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border: 1px solid #cbcbcb;
	border-top: 0px;
}

#sidebar .partner .body {
	padding-bottom: 30px;
}

#sidebar .partner a {
	color: #255b9e;
}

#sidebar .partner img {
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}

#sidebar .partner-link {
	color: #fff !important;
	width: 82% !important;
	display: block;
	text-align: center;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	padding: 60px 0;
	clear: both;
	background: #255b9e;
	color: #fff;
	height: 280px;
	border-top: 20px solid #003f7f;
}

#footer span {
	padding: 0px 20px 0px 0px;
}

#footer a {
	color: #fff;
}

/* back to top */
.back-top {
	clear: both;
	float: right;
	margin-top: -3px;
	position: absolute;
	top: 14px;
	right: 0;
}
.back-top a {
	background: #000 url(images/arrow-up.png) no-repeat center center;
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 10px 10px 0;
	text-indent: -900em;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;	
}
.back-top a:hover {
	background-color: #333;
}

/* footer nav */
.footer-nav,
.footer-2-nav {
	margin: 7px 0 10px;
	padding: 0;

}
.footer-nav li,
.footer-2-nav li {
	padding: 0;
	margin: 0 8px 10px 0;
	list-style: none;
	display: block;
	text-transform: uppercase;
}

/* footer text */
.footer-text {
	font-size: 90%;
	clear: both;
}

/************************************************************************************
WORDPRESS POST FORMATTING
*************************************************************************************/
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 15px;
}
.alignleft {
	float: left;
	margin-right: 30px;
}
.alignright {
	float: right;
	margin-left: 30px;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	text-align: center;
	margin-bottom: 15px;
	max-width: 100%;
}
.wp-caption-text {
	font-style: italic;
	font-size: 95%;
	line-height: 120%;
	margin: 6px 0;
}

/************************************************************************************
GALLERY
*************************************************************************************/
#body .gallery {
	margin: 5px 0 20px 0;
}
#body .gallery img {
	border: none;
}

/* gallery item */
#body .gallery dl {
	margin: 0 8px 8px 0;
	display: inline-block;
	vertical-align: top;
	zoom:1;
	*display:inline;
	width: auto;
	float: none;
	text-align: center;
}

/* gallery caption */
#body .gallery dd {
	width: 140px;
	line-height: 120%;
	font-size: 90%;
	text-align: center;
	margin: 5px 0 0;
}

/* get rid of br tag */
.gallery br {
	display:none;
}

/************************************************************************************
CLEAR & ALIGNMENT
*************************************************************************************/
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: left;
}
.textright {
	text-align: right;
}
.textcenter {
	text-align: center;
}

/* clearfix */
.clearfix:after, .widget li:after, #body:after, #footer:after, footer:after, .pagenav:after, #main-nav:after, .menu:after, .gallery:after, #content:after
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .widget li, #body, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }