/*
	Theme Name: Leander
	Theme URL: http://newwpthemes.com/wordpress-theme/leander/
	Description: Leander is a free WordPress theme with featured content option and supports the post thumbnails. Suitable for any niche. Theme Options at admin panel.
	Author: NewWpThemes.com | Перевод на русский templatelab.ru
	Author URI: http://newwpthemes.com/
	Version: 1.0
	Tags: Blogging, Ads Ready, Three  Columns, Right Sidebar, Fixed Width, Options Page
*/

/* LAYOUT */

body {
    background: #f6f6f1 url(images/background.png) left top repeat-x;
	}

#wrapper {
	}
    

#container {
	}

#contentwrap {
    background: #fff;
	}

a {
	color: #f50532;
    text-decoration: underline;
	}

a:hover {
	color: #000;
    text-decoration: underline;
	}
/* HEADER */

#header {
	height:100px;
	}

#header h1 {
	margin-bottom: 2px !important;
	padding: 22px 0 0 0;
	font-weight: normal;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	font-size: 46px;
	}

#header h1 a, #header h1 a:visited {
	color: #131515;
	text-decoration: none;
	}


#header h2 {
	color: #939292;
	font-size: 14px;
	line-height: 14px; 
	font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
	}

.logoimg {
    margin: 5px 0 0 0;
    }
    
/* NAVIGATION MENUS */ 

#pagemenucontainer {
	height: 50px; 
    float: right;
    padding: 0;
    background: url(images/pagenav-bg.png) left top repeat-x;
	}
	
#pagemenu {
	height: 50px;
    
	}

#pagemenu, #pagemenu ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	margin-bottom: 1px;
	}
	
#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu li a, #pagemenu li a:link {
	color: #2d2b2b;
	display: block;
    margin: 0;
	padding: 16px 16px;
	text-decoration: none;
	text-transform: uppercase;
    font-weight: bold;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	}
	
#pagemenu li a:hover, #pagemenu li a:active {
	color: #d7072e;
	display: block;
	text-decoration: none;
	}
	
#pagemenu  li.current_page_item a {
	color:#d7072e;
    text-decoration: none;
	}

#pagemenu li:hover, #pagemenu li.sfhover { 
	position: static;
	}
	


#navcontainer {
	height: 34px;
	display: block;
	overflow: hidden;
	background: url(images/nav-bg.png) left top repeat-x;
	border-bottom: 4px solid #e5e6de;
	}
    
#navcontainer .current-cat a {
	color:#fff;
	background: url(images/nav-bg-hover.png) left top repeat-x;
	}
    
/* CONTENT */

#content {
	padding: 15px;
    color: #504d4d;
	}
	
pre { overflow: auto; 
	width: 460px; 
	}

	
.post {
	margin-bottom: 15px;
    padding-bottom: 15px;
	border-bottom: 1px solid #ddd;	
	}

.post_thumbnail {
    padding: 6px;
    background: #fff;
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
}


.post p {
	margin-bottom: 10px;
	}

.title {
	margin: 0 0 8px 0;
	padding: 0px;
	line-height: 24px;
	font-size: 24px;
	font-family: Arial, Helvetica, Sans-serif;
	color: #4a4848;
    font-weight: bold;
	}

	
.title a {
	text-decoration: none;
	color: #4a4848;
	}

.title a:hover {
	color: #fa214a;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Verdana;
	text-decoration: underline;
    color: #4a4848;
}


.readmorecontent {
	text-align: right;
	}

a.readmore {
	padding: 4px 15px;
	background: #8d8d8c;
	color: #fff;
	text-decoration: none;
    font-size: 12px;
	}

a.readmore:hover {
	background-color: #de072f;
    color: #fff;
	}
    
   
.postdate {
	font-size: 13px;
	font-family: Arial, Helvetica, Sans-serif;
    font-style: italic;
    color: #666;
	}


.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
    color: #666;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family: Arial, Helvetica, Sans-serif;
	font-size: 14px;
	}
.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}
	
.post img {
	max-width: 680px;
	}

img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}
	
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
	}

.alignleft {
   float: left;
	}

.alignright {
   float: right;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -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 {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}

	
/* wp-pagenavi */
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #6d6d6d !important;
    background:none !important;
    border: 0 !important;
}
.wp-pagenavi a:hover {
    border: 0 !important;
    color: #fff !important;
    background:#8d8d8c !important;
    border: 0 !important;
    
}
.wp-pagenavi span.pages {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #6d6d6d !important;
    background: none !important;
    border: 0 !important;
}
.wp-pagenavi span.current {
    font-size: 15px !important;
    padding:  4px 8px !important;
    font-weight: bold;
    color: #fff !important;
    background:#de072f !important;
    border: 0 !important;
}
.wp-pagenavi span.extend {
    font-size: 15px !important;
    padding:  4px 8px !important;
    background:transparent !important;
    color: #6d6d6d !important;
    background: none !important;
    border: 0 !important;
}

/* SIDEBAR(S) */

.sidebaradbox {
	margin-top: 5px; 
	text-align:center;
	}
	
.sidebaradbox125 {
	margin-top: 10px; 
	text-align:center;
	}
	
.ad125 {
	margin: 5px 0;
	}


.sidebar {
	margin: 0 0 10px 0;
    color: #6d6d6e;
	}
	
.left-sidebar {
    padding-right: 10px;
}

.right-sidebar {
    padding-right: 10px;
}

.sidebar a {
	text-decoration: none;
	color: #6d6d6e;
	}

.sidebar a:hover {
	text-decoration: underline;
	color:#df5d75;
	}
	

	
	
#search {
    border: 1px solid #e5e6de;
    height: 28px;
    padding: 0;
    background: #fff;
    text-align: right;
}

#search input {
	border: 0;
    background: none;
    color: #7d7d7d;
}
	
	
#s {
	width: 218px;
	padding: 4px;
    margin:2px 0 0 0;
    background: none;
}

#topsearch #search {
    margin-top: 15px;
}

#topsearch #s {
    width: 218px;
}

	
/* Social icons */
.addthis_toolbox {
    padding: 15px 0 0 0;
	text-align: center;
	}
.addthis_toolbox .custom_images a
{
    width: 32px;
    height: 32px;
    margin: 0 0 0 1px;
    padding: 0;
}

.addthis_toolbox .custom_images a:hover img
{
    opacity: 1;
}

.addthis_toolbox .custom_images a img
{
    opacity: 0.85;
}


.socialboxes {
	background: #fff;
	border: 1px solid #dbd9d9;
	padding: 10px;
	margin: 10px 0 0 0;
	}
    
.socialboxes:hover {
    border: 1px solid #9c9c9c;
    }

.socialboxes a {
	color: #52575c;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
    font-family: Arial, Helvetica, Sans-serif;
	}
.socialboxes a:hover {
	color: #353739; 
	text-decoration: underline;
	}


.sidebar h2 {
	margin: 10px 0 0 0;
	padding: 10px 0 10px 15px;
	font-size: 16px;
    line-height: 16px;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
    text-transform: uppercase;
	color: #414445;
    background: url(images/sidebar_tab.png) left center no-repeat;
    border-bottom: 4px solid #e5e6de;
	}

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}
	
.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	}
	
.sidebar ul li li, .sidebar ul li ul li {
	padding: 6px 0px 6px 14px;
	margin: 0;
	background: url(images/arrow.png) left 14px no-repeat;
	}


#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	color: #6d6d6e;
	background: none !important;
	}
#wp-calendar caption {
	padding: 2px 4px;
	text-transform: uppercase;	margin: 2px 0 2px 0;
	background: none !important;
    color: #6d6d6e;
	}

#wp-calendar td {
	color: #6d6d6e;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
	}

#wp-calendar td:hover, #wp-calendar #today {
	background: #8d8d8c;
	color: #fff;
	}

#wp-calendar td:hover a {
    color: #fff;
}	

#wp-calendar {
	empty-cells: show;
	font-size: 14px;
	margin: 0;
	font-weight: bold; 
	width: 100%;
	}


/* FOOTER */

#footer {
	padding: 24px 0;
	text-align: center;
	color: #434141;
	font-size: 13px;
    background: #f6f6f1;
    border-top: 6px solid #dadad7;
	}

#footer a {
	color: #434141;
	} 

#footer a:hover {
	text-decoration: none;
    color: #434141;
	} 
	
#footer2 {
	color: #7d7d7d;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	border-top: 2px solid #dadad7;
	}
    	
#footer2 a {
	color: #7d7d7d;
    text-decoration: none;
	} 
	
/* COMMENTS */

#comments h3 {
	margin-bottom: 10px;	
}

#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;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

.breadcrumb{
  overflow: hidden;
  width: 100%;
}

.breadcrumb span{
  float: left;
  margin: 0 .5em 0 1em;
}
.breadcrumb a{
text-decoration: none;
}
.breadcrumb span{
  background: #ddd;
  padding: .6em 1em;
  font-size: 1em;
  float: left;
  text-decoration: none;
  color: #444;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  position: relative;
}

.breadcrumb span:hover{
  background: #99db76;
}

.breadcrumb span::before{
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1.5em;
  border-width: 1.5em 0 1.5em 1em;
  border-style: solid;
  border-color: #ddd #ddd #ddd transparent;
  left: -1em;
}

.breadcrumb span:hover::before{
  border-color: #99db76 #99db76 #99db76 transparent;
}

.breadcrumb span::after{
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -1.5em;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
  border-left: 1em solid #ddd;
  right: -1em;
}

.breadcrumb span:hover::after{
  border-left-color: #99db76;
}

.breadcrumb .current,
.breadcrumb .current:hover{
  font-weight: bold;
  background: none;
}

.breadcrumb .current::after,
.breadcrumb .current::before{
  content: normal;
}



ul.relpost {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  align-items: flex-start;
}

ul.relpost li {
    display: block;
    padding: 5px;
    margin: 5px;
    width: 310px;
    min-height: 100px;
    max-height: 250px;
    overflow: hidden;
    border: #b7a4a4 4px outset;
    border-radius: 9px;
}

ul.relpost li:hover {
  border-color: #f2849e;
}

ul.relpost li img {
    max-width: 308px;
    border-radius: 9px;
}

ul.relpost li div.relimg {
  overflow: hidden;
  height: 190px;
  margin-bottom: 9px;
}
 


.button {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: inset 5px 0 0 2px #a0c186;
    color: #272525;
    display: inline-block;
    line-height: 2.5em;
    padding: 0 1.2em 0 1.6em;
    text-transform: uppercase;
    text-decoration: none;
}


.button:hover {
  color: #f28400 !important;
  box-shadow: inset 0 0 0 2px #f28400;
  background-color: #fff;
}





.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li {
  margin: 5px 5px 5px 0;
  background-color: transparent;
  color: #53c000;
  display: inline-block;
  padding-left: 0;
}

.pagination li a {
  background-color: transparent;
  color: #0ab0e1;
}

.pagination li a.active {
  background-color: #deefe2;
  color: #fff;
}

.pagination li a.active:hover {
  background-color: transparent;
}


h1, h2, h3, h4, h5, h6 {
  color: #54A824;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  line-height: 1.65;
  margin: 0 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  border-bottom: 0;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}


iframe, object {
width:100%; 
height: 480px; 
}

img {max-width: 100%;}


@media only screen and (max-width : 1023px)
{
.span-24, div.span-24, .span-13, .span-12, .container  {
    width: 100%;
}
}