/*
	Theme Name: NicePen
	Theme URL: http://newwpthemes.com/wordpress-theme/nicepen/
	Description: NicePen is a free WordPress theme with options page. Supports the post thumbnails. Suitable for any niche especially for games, online games or entertainment sites or blogs.
	Author: NewWpThemes.com
	Author URI: http://newwpthemes.com/
	Version: 1.0
*/

/* LAYOUT */

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

#wrapper {
    background: url(images/wrapper-bg.png) center top no-repeat;
	}

#container {
	}

#contentwrap {
    background: #fff url(images/contentwrap.png) right top repeat-y;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
	}

a {
	color: #4A9979;
    text-decoration: none;
	}

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


/* HEADER */

#header {
	height: 113px;
    padding:8px 0;
	}

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

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


#header h2 {
	color: #79BCA1;
	font-size: 14px;
	font-family: Arial, Helvetica, Sans-serif;
	}

    
.logoimg {
    margin: 25px 0 0 0;
    }

/* NAVIGATION MENUS */

#pagemenucontainer {
    margin-top: 50px;
	height: 30px;
    float: right;
    padding:0;
	}
	
#pagemenu {
	height: 30px;
    float: right;
	}

#pagemenu, #pagemenu ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
#pagemenu {
	margin-bottom: 1px;
    padding: 0 2px;
	}
	
#pagemenu ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#pagemenu li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0;
	}
    #pagemenu li:first-child {
	}

#pagemenu ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#pagemenu li a, #pagemenu li a:link {
	color: #3F7560;
	display: block;
    margin: 0 6px 0 0;
	padding: 8px 13px;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	}
	
#pagemenu li a:hover, #pagemenu li a:active {
	color: #3B9C78;
	display: block;
	text-decoration: none;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background: #0D84DE url(images/pagemenu-hover.png) left top repeat-x;
    border-left: 1px solid #B9E0D1;
    border-right: 1px solid #B9E0D1;
    border-bottom: 1px solid #B9E0D1;
    border-top: 1px solid #B9E0D1;
    padding: 7px 12px;
	}

#pagemenu  li.current_page_item a {
	color: #3B9C78;
	text-decoration: none;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background: #0D84DE url(images/pagemenu-hover.png) left top repeat-x;
    border-left: 1px solid #B9E0D1;
    border-right: 1px solid #B9E0D1;
    border-bottom: 1px solid #B9E0D1;
    border-top: 1px solid #B9E0D1;
    padding: 7px 12px;
   	}

#pagemenu li:hover, #pagemenu li.sfhover {
	position: static;
	}
	
.topright {
	text-align: right;
    margin: 16px 0 0 0;
	}

#navcontainer {
	height: 36px;
	display: block;
	overflow: hidden;
    background: url(images/nav-bg.png) left top repeat-x;
    border: 1px solid #B4E0D0;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    padding-left: 10px;
    margin-bottom: 10px;
	}

#navcontainer .current-cat a {
	color:#F76A0C;
    text-decoration: none;
	}

	
#bannercontainer {
	height: auto;
	display: block;
	overflow: hidden;
    background: url(images/nav-bg.png) left top repeat-x;
    border: 1px solid #B4E0D0;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    padding-left: 10px;
    margin-bottom: 10px;
	}	
	
	
/* CONTENT */

/*шаблон для таблиц*/
table { 
    border: 2px groove #628E7D; /* Рамка вокруг таблицы */
}

td,th {
	border:1px solid #628E7D;
	text-align: center; /* Выравнивание по центру */
}

/* шаблон для картинок в тексте */
.img_thumb {
    padding: 6px;
    border: 1px solid #E6E4D9;
	margin: 0 0 1px 6px; 
    background: #FFFFFF;
}

/* шаблон для линий */
hr {
    color: transparent; /*для IE */
    background-color: transparent; /*для Firefox, Opera, Safari*/
    border: 0px none;
    border-top: medium double #B7DFD0;
	height: 3px; /* высота 1px IE, Firefox, Opera, Safari */
    clear: both; /* для очистки, если тег идет после float елемента */
}

#content {
	padding: 15px 5px 15px 15px;
    color: #5E6F68;
	}
    
h1,h2,h3,h4,h5 {
    color: #628E7D;
}

h2 {
	margin-top: 20px;
	font-size: 23px;
}

h3 {
	margin-top: 20px;
}

h4 {
	margin: 15px 0 5px 0;
}

h5 {
	margin: 0 0 5px 0;
}

li {padding: 5px 0;}
	

pre { overflow: auto; 
	width: 470px; 
	}
	
.post {
	padding: 10px 0px 15px 0px;
    margin-bottom: 15px;
	}


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

.title {
	margin: 0 0 8px 0;
	padding: 0px;
	line-height: normal;
	font-size: 22px;
	font-family: Georgia, Times New Roman Times, Serif, Arial;
	color: #628E7D;
    font-weight: bold;
	}

.title2 {
	margin: 0 0 8px 0;
	padding: 0px;
	line-height: 22px;
	font-size: 18px;
	font-family: Georgia, Times New Roman Times, Serif, Arial;
	color: #628E7D;
    font-weight: bold;
	}


	
.title a {
	text-decoration: none;
	color: #628E7D;
	}

.title a:hover {
	text-decoration: none;
    color: #F57C29;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Arial, Verdana;
	text-decoration: none;
    color: #628E7D;
}

.readmorecontent {
	text-align: right;
	}

a.readmore {
	padding: 4px 15px;
	background: none;
	color: #358464;
	text-decoration: none;
    font-size: 12px;
    background: #CCEADE;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
 	}

a.readmore:hover {
    color: #fff;
	background: none;
    text-decoration: underline;
    background: #F76A0C;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
	}


.postdate {
	font-size: 12px;
	padding: 1px 0px;
	font-family: Arial, Verdana;
	color: #71847D;
	}


.postmeta {
	font-size: 12px;
	padding: 2px 4px;
	font-family: Arial, Verdana;
	color: #71847D;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family:  Georgia, Times New Roman Times, Serif, Arial;
	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;
   margin: 0 10px 5px 0;
	}

.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 */
.navigation-page {
	text-align: center;
	}

.wp-pagenavi a, .wp-pagenavi a:link {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #358464 !important;
    background:none !important;
    border: 1px solid #BFBFBF;
	-moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.wp-pagenavi a:active {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #358464 !important;
    background:none !important;
    border: 1px solid #BFBFBF;
	-moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.wp-pagenavi a:hover {
    color: #358464 !important;
    background: #CCEADE !important;
    border: 1px solid #4BB59E !important; 
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

}
.wp-pagenavi span.pages {
    font-size: 15px !important;
    padding:  4px 8px !important;
    color: #358464 !important;
    background: none !important;
/*  border: 0!important; */
	border: 1px solid #BFBFBF;
	-moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.wp-pagenavi span.current {
    font-size: 15px !important;
    padding:  4px 8px !important;
    font-weight: bold;
    color: #fff !important;
    background: #F76A0C !important;
    border: 0 !important;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.wp-pagenavi span.extend {
    font-size: 15px !important;
    padding:  4px 8px !important;
    background:transparent !important;
    color: #358464 !important;
    background: none !important;
    border: 0 !important;
}

/* SIDEBAR(S) */

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


.sidebar {
	margin: 0 10px 10px 10px;
    font-size: 13px;
    color: #4A9979;
    padding: 0;
	}
	
.sidebar a {
	text-decoration: none;
	color: #4A9979;
	}

 .sidebar a:hover {
	text-decoration: underline;
	color:#FEAC46;
	}
	
	
#search {
    border: 1px solid #BAE0D1;
    height: 28px;
    padding: 0 2px;
    background: #FFFFFF;
    text-align: right;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

#search input {
	border: 0;
    background: none;
    color: #79AC98;
}



#s {
	width: 252px;
	padding: 0 3px 3px 3px ;
    margin:0 0 0 0;
    background: none;
}

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

.addthis_toolbox .custom_images a:hover img
{
    filter:alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}

.addthis_toolbox .custom_images a img
{
    filter:alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}


	
.sidebarvideo {

	}

	

.socialboxes {
	background: url(images/socialboxes-bg.png) left top repeat-x;
	border: 1px solid #BAE0D1;
	padding: 10px;
	margin: 10px 0 0 0;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
	}

.socialboxes:hover {
    border: 1px solid #BAE0D1;
    background: url(images/socialboxes-hover.png) left top repeat-x;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    }

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

.sidebar p {
	margin: 10px 0 0px 0;
	padding: 8px 0 7px 10px;
	font-size: 16px;
    line-height: 16px;
	font-family: Arial, Helvetica, Sans-serif;
	font-weight: bold;
	text-transform: uppercase;
	color: #FE8300;
    border: 1px solid #EEB98C;
    background: url(images/sidebar-tab.png) left top repeat-x;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
	text-align:center;
	}

	
.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 0;
 /*   background: url(images/sidebar-line.png) left bottom repeat-x; */
	}


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

#wp-calendar td {
	color: #4A9979;
	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: #FEAC46;
	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: 22px;
	text-align: center;
	color: #14593E;
    background: #B8DFD0;
	font-size: 13px;
    -moz-border-radius: 20px;
    -khtml-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    margin-top: 10px;
	}

#footer a {
	color: #14593E;
	}

#footer a:hover {
    color: #14593E;
	text-decoration: none;
	} 
	
#credits {
	color: #297457;
	font-size: 11px;
	text-align: center;
	padding: 10px;
	}
    	
#credits a {
	color: #297457;
    text-decoration: none;
	} 
	
/* COMMENTS */

.comment-body, .adm_comment-body {
border: 1px solid #bbb; /* Толщина, стиль и цвет линии границы */
border-radius: 8px; /* Радиус закругления границы */
padding: 10px; /* Поля вокруг текста */
}

.adm_comment-body {
background: #e2e9eb;
}

#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: 5px 0 0 0;
	}

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

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

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

.commentlist p {
	margin: 5px 5px 5px 0;
}

.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}
	
.post_thumbnail {
    padding: 6px;
    border: 1px solid #E6E4D9;
    margin: 0 10px 10px 0;
    background: #FFFFFF;
}


.breadcrumb {
font:bolder 12px  "Trebuchet MS", Verdana, Arial;
margin: 10px 0px 0px 10px;
padding-bottom: 7px;
border-bottom: 3px double #B7DFD0; /* Параметры линии внизу */
}
 
.breadcrumb a{
 
color: #628E7D;
}
.breadcrumb a:hover {
color: #EF0E0E;
}


.statpoz { /* Задание позиции счетчиков посещений */
	padding-top:10px;
	margin:0 19%;
}


.next_box { /* Задание отображения ссылок на следующую статью */
	height: 53px; 
	text-align: right;
	width: 40%; 
	float: right;
	border: 1px solid #cccccc; 
	padding: 5px; 
	background-color: #fbfbfb;
}


.previous_box { /* Задание отображения ссылок на предыдущую статью */
	height: 53px; 
	text-align: left;
	width: 40%; 
	float: left;
	border: 1px solid #cccccc; 
	padding: 5px; 
	background-color: #fbfbfb;
}


.strong {font-weight:bold;}
.italic {font-style:italic;}
.underline{text-decoration:underline;}

.google {margin-right: 15px; float: right;}

 
#share42 {display: inline-block; padding: 6px 0 0 6px; margin: 5px 0 0 7px; background: #FFF; border: 1px solid #E9E9E9; border-radius: 4px;}
#share42:hover {background: #F6F6F6; border: 1px solid #D4D4D4; box-shadow: 0 0 5px #DDD;}
#share42 a {opacity: 0.5}
#share42:hover a {opacity: 0.7}
#share42 a:hover {opacity: 1}


.content-category {
  border: 3px groove #B7DFD0; /* Параметры рамки */
  border-radius: 10px; /* Радиус закругления рамки */
  padding: 7px 10px; /* Поля вокруг текста */
  margin-top: 10px; /* Отступ рамки сверху */
  margin-bottom: 10px; /* Отступ рамки снизу */
  background: #F1FBF8;
}

.ads-header-container {
  border: 1px solid #B4E0D0; /* Параметры рамки */
  border-radius: 20px; /* Радиус закругления рамки */
  padding: 7px 10px; /* Поля вокруг текста */
  margin-bottom: 10px; /* Отступ рамки снизу */
  text-align: center;
  background: url(images/adsheader-bg.png) left top repeat-x;
  -moz-border-radius: 20px;
  -khtml-border-radius: 20px;
  -webkit-border-radius: 20px;
 }

/* Стиль заголовка */ 
.budu {
	font-family: Georgia,Times New Roman,Times,serif;
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	color: #4A9979;
}


/*-------------------------------- Contact --------------------------------*/
#contact_form {
    position: relative;
    width: 100%;
	margin-top: 20px;
}
 
.contact_left {
    float: left;
    width: 131px;
}
 
.contact_right {
    float: right;
	width: -moz-calc(100% - 155px);
	width: -webkit-calc(100% - 155px);
	width: calc(100% - 155px);
}
 
.contact_name, .contact_email, .contact_theme, .contact_textarea { position: relative; }
 
.contact_name input[type="text"],
.contact_email input[type="text"],
.contact_theme input[type="text"] {
    position: relative;
	width: 100px;
    height: 30px;
    line-height: 30px;
	padding: 0 0 0 31px;
    margin: 0 0 20px;
    background: #f7f7f7 url(images/nameid.png) no-repeat 2px 0;
    border: none;
    border-radius: 4px;
    box-shadow: inset 0.5px 0.5px 3px #aaaaad;
    font: normal 13px Arial, sans-serif;
    color: #434343;
}
.contact_email input[type="text"] { background: #f7f7f7 url(images/mailid.png) no-repeat 0 0; }
.contact_theme input[type="text"] { background: #f7f7f7 url(images/url.png) no-repeat 2px 0; }
 
.contact_textarea textarea {
    position: relative;
	width: -moz-calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
	width: calc(100% - 20px);
    height: 116px;
    padding: 7px 10px;
	margin: 0 0 18px;
    background: #f7f7f7;
    border: none;
    border-radius: 4px;
    box-shadow: inset 0.5px 0.5px 3px #aaaaad;
	font: normal 13px Arial, sans-serif;
    color: #434343;
}
 
.contact_name input[type="text"]:focus, .contact_email input[type="text"]:focus, .contact_theme input[type="text"]:focus, .contact_textarea textarea:focus, .contact_submit:focus {
    outline: none;
    box-shadow: 0 0 5px #aaaaad;
}
 
.contact_submit {
	float: right;
	width: 120px;
	padding-top: 7px;
	padding-bottom: 4px;
	margin: 0 0 15px;
	background: #6ea077;
    border: none;
    border-radius: 4px;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	color: #fff;
	transition: background-color ease-in-out .15s;
	cursor: pointer;
}
.contact_submit:hover { background: #7FAC87; }
 
.contact_message {
    width: 100%;
    height: 22px;
    padding: 70px 0;
    text-align: center;
    font: normal 22px Arial, sans-serif;
    color: #434343;
}
 
.errors, .errorss {
	position: absolute;
	bottom: 2px;
	left: 10px;
	font: normal 12px Arial, sans-serif;
    color: red;
	z-index: 999;
}

/* Стрелка "Вверх" */
#gotop {
position: fixed;
bottom: 30px;
width: 56px;
height: 96px;
margin-left: 1000px;
background: url(/images/totop.png) no-repeat 0 0;
}

#gotop:hover {
background: url(/images/totop.png) no-repeat -56px 0;
}


/* Боковое меню */
.widget_nav_menu .sub-menu {
    display: none; /* Скрываем подпункты */
	margin-left: 10px; /* Отступ слева для вложенных list-item */
}
.widget_nav_menu li:hover .sub-menu {
    display: block; /* Отображаем подпункты */
	margin: 5px; /* Отступы для всех list-item */
}