/* Standart Styles */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input {
	margin: 0;
	padding: 0;
}
html {
	background: #fff url("../images/bg_left.gif") repeat-y;
	height: 100%;
}
body {
	background: url("../images/bg_right.gif") repeat-y 100% 0;
	/*height: 100%;*/
	color: #000;
	word-wrap: break-word;
}
 h1, h2, h3, h4, h5 {
	line-height: normal;
}
h1 {
	font-size: 1.25em;
}
h2 {
	font-size: 1.2em;
}
 h3 {
	font-size: 1.15em;
}
 h4 {
	font-size: 1.1em;
}
 h5 {
	font-size: 1em;
}
a {
	color: #1C2D63;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #375898;
}
a img {
	border: 0 none;
}
textarea {
	resize: vertical;
}
input, textarea, select, button, body {
	font: 13px/17px tahoma, arial, verdana, sans-serif, Lucida Sans;
}
input, textarea, select, button, a {
	outline: none;
}
p {
	margin-bottom: 0.4em;
}
hr {
	border: 0 none;
	border-top: 1px solid #dbe8ed;
	height: 1px;
}
ul {
	margin: 0 0 18px 2em;
	list-style: disc outside;
}
ol {
	margin: 0 0 18px 2.1em;
	list-style: decimal;
}
.reset, .reset li {
	list-style: none;
	padding: 0;
	margin: 0;
}
.clr {
	clear: both;
}
nav, article, .block, header.main, footer, .navigation, .mass_comments_action, section.slider {
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid #2A488D;
	border-radius: 4px;
}
/* buttons and links*/
.textin, 
.f_textarea, 
.f_input, 
.fbutton, 
.nlinksfull a, 
.nlinksfull button, 
.searchtable input[type="button"], 
.searchtable input[type="reset"],
section.logregbar a, 
#loginform input[type="text"], 
#loginform input[type="password"], 
#options input[type="text"], 
#options input[type="password"], 
#options textarea {
	padding: 5px 5px 5px 5px !important;
	display: inline-block;
	font-weight: bold;
	color: #3F3F3F;
	font-size: 13px;
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid #2A488D;
	border-radius: 4px;
	cursor: pointer;
	height: auto;
}
.textin:hover, 
.f_textarea:hover, 
.f_input, .fbutton:hover, 
.nlinksfull a:hover, 
.nlinksfull button:hover, 
.searchtable input[type="button"]:hover, 
.searchtable input[type="reset"]:hover, 
section.logregbar a:hover, 
#loginform input[type="text"]:hover, 
#loginform input[type="password"]:hover, 
#options input[type="text"]:hover, 
#options input[type="password"]:hover, 
#options textarea:hover {
	color:#000;
	background: #fff;
	text-decoration: none;
	cursor: pointer;
}

/* Scelete */
.container {
	width: 1150px;
	margin: 0 auto;
	border-radius: 5px;
	padding-top: 5px;
	background: #fff url("../images/block_bg2.gif");

}
header.main {
	height: 160px;
	position: relative;
	background: url("../images/logo_bg.gif") !important;
}
main {
	overflow: auto;
	min-height: 680px;
}
footer {
	margin: 0px 0px;
	height: 90px;
	padding: 5px;
	margin-bottom: 5px;
	background: #fff url("../images/kids_footer.gif") repeat-y 100% 0;
}

/* left block on site */
.block {
	min-height: 100px;
	/*border: 1px solid #2A488D;
	border-radius: 4px;*/
	padding: 5px;
	margin: 0px 0px 5px 0px;
}
.block h2 {
	/*font-family: 'Comic Sans MS','Monotype Corsiva','Ubuntu Condensed', sans-serif;*/
	font-size: 16px;
	color: #EB3D00;
	text-shadow: 0.2px 0.2px #000;
	padding-bottom: 5px;
	border-bottom: 1px solid #C1CAD3;
}

/* Header */
header section a.logo {
	display: block;
	position: absolute;
	margin: 5px;
	background: url(../images/logo.png) no-repeat;
	min-width: 840px;
	height: 150px;
}
section.searchbar {
	position: absolute;
	right: 10px;
	bottom: 10px;
}
section.searchbar input {
	height: 17px;
	border: 1px solid #2A488D;
	border-radius: 4px;
	padding: 5px;
	width: 300px;
}
section.searchbar button {
	line-height: 17px;
}
section.logregbar {
	position: absolute;
	right: 10px;
	top: 16px;
	text-align: right;
}
section.logregbar a {
	font-weight: bold;
	height: 17px;
	border: 1px solid #2A488D;
	border-radius: 4px;
	padding: 5px;
	margin-bottom: 3px;
}
/* login.tpl */
#loginform {
	width: 260px;
	margin: 0 auto;
}
#loginform input[type="text"], #loginform input[type="password"]  {
	width: 250px;
	margin: 5px 0;
}
.sociallogin {
	margin: 0 auto;
	width: 130px;
	padding: 0 5px;
}
#uinfpopupdiv img {
	float: left;
}
#uinfpopupdiv div {
	float: left;
	margin-left: 5px
}

/* Main Page*/
section.left {
	float: left;
	width: 265px;
	margin: 0px 0px 0px 0px;
}
section.right {
	float: right;
	width: 880px;
	margin: 0px 0px 0px 0px;
}

/* Footer blocks*/
div.copyright {
	background-image: url("../images/logo_80.gif");
	background-repeat: no-repeat;
	padding-left: 90px;
	font-size: 11px;
	float: left;
	width: 325px;
}
footer section a.logo {
		display: block;
		position: absolute;
		margin: 0;
}
div.banner_footer {
	float: left;
	/*text-align: center;*/
	min-width: 280px;
	padding: 20px 0;
	/*margin: 0 auto;*/
}

/* Menu */
nav {
	height: 35px;
    margin: 5px 0px;
  /*  text-align: center;
	height: 35px;
	border: 1px solid #2A488D;
	border-radius: 4px;
	*/
}
/*nav a {
	padding: 8px 5px 11px 5px !important;
	border-bottom: none;
	display: inline-block;
	color: #EB3D00;*/
	/*font-family: 'Comic Sans MS','Monotype Corsiva','Ubuntu Condensed', sans-serif;-*/
/*	text-shadow: 0px 1px #000;
	font-size: 18px;
}
nav a:hover {*/
	/*background: #6FA7DE;*/
/*	background: #ededed;
	text-decoration: underline;
	height: 16px;
}*/

#ddmenu {
	display: block;
	cursor: pointer;
	outline: none;
	height: 35px;
    width: 940px;
    margin: 0 auto;
}
#ddmenu li { display: block; position: relative; float: left;  }
#ddmenu li a {
	display: block;
	float: left;
	padding: 0 12px;
	line-height: 35px;
	text-decoration: none;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
	border-bottom: none;
	color: #EB3D00;
	/*font-family: 'Comic Sans MS','Monotype Corsiva','Ubuntu Condensed', sans-serif;-*/
	text-shadow: 0px 1px #000;
	font-size: 18px;
}
#ddmenu li:hover > a { background: #ededed; text-decoration: underline;}
#ddmenu ul {
	position: absolute;
	top: 45px;
	min-width: 210px;
	background: #fff;
	display: none;
	margin: 0;
	padding: 7px 0;
	list-style: none;
	border: 1px solid #2A488D; 
	border-radius: 4px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1004;
}
/* Стрелочки */
#ddmenu ul:after {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	bottom: 100%;
	left: 8px;
	border-width: 0 8px 8px 8px;
	border-style: solid;
	border-color: #2A488D transparent; 
}

#ddmenu ul:before {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	bottom: 100%;
	left: 4px;
}
#ddmenu ul li { display: block; }
#ddmenu ul li a {
	display: block;
	min-width: 130px;
	padding: 6px 7px;
	line-height: 1.4em;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
#ddmenu ul li a:hover {
	min-width: 130px;
	background: #e9edf3;
}

/* Pages in site (short,full,static and etc.) */ 
article {
	margin: 0px 0px 5px 0px;
	padding: 5px;
}
.maincont img{
	padding: 3px;
}
header h1 {
	/*font-family: 'Comic Sans MS','Monotype Corsiva','Ubuntu Condensed', sans-serif;*/
	font-size: 18px;
	/*color: #EB3D00;*/
	color: #1C2D63;
	text-shadow: 0.2px 0.2px #000;
	padding-bottom: 5px;
}

/* Short */
div.storyinfo {
	border-top: 1px solid #C1CAD3;
	text-align: right;
	text-transform: lowercase;
	font-style: italic;
	color: #3F3F3F;
	font-size: 10px;
	margin-bottom: 5px;
}
div.storyinfo a {
	color: #3F3F3F;
	font-size: 10px;
}
div.storyinfo a:hover {
	color: #3F3F3F;
}
div.storyinfo input {
	vertical-align: sub;
}
section.nlinks  {
	border-top: 1px solid #C1CAD3;
	text-align: right;
	clear: both;
}
section.nlinks a {
	padding: 5px 5px 0px 2px !important;
	display: inline-block;
	font-weight: bold;
	color: #3F3F3F;
	font-size: 13px;
}
section.nlinks a:hover {
	color:#000;
}
section.nlinksfull  {
	text-align: right;
	clear: both;
	margin-bottom: 5px;
}

/* Vote */
#votes {
	border: 0 none;
	margin: 0 auto;
	width:220px;
}
#votes h3 {
	font-size: 14px;
	padding: 5px 5px;
}
#dle-vote {
	margin-bottom: 8px;
}
.vote, #dle-poll-list div {
	clear: both;
	padding: 2px 0 2px 2px;
}
.vote input, #dle-poll-list div input {
	float: left;
	margin: 0;
	padding: 0;
	width: 15px;
	height: 15px;
	margin-right: 5px;
}

/* Top News */
.topnews {
	clear: both;
	margin: 5px 0px;
	padding: 1px 0px;
	height: 80px;
}
.topnews:hover {
	background: #ededed;
	cursor: pointer;
}
.topnews div{
	float: left;
	margin: 4px 10px;
	overflow: hidden;
	height: 70px;
}
.topnews img {
	margin: -5px -80px -34px -20px;
	width: 170px;
}
.topnews h3 {
	font-size: 12px;
	padding: 2px;
}
.topnews p {
	font-size: 11px;
	font-style: italic;
}
.topnews span {
	color: #7A7A7A;
	text-transform: lowercase;
	font-size: 10px;
}

.newseitinfo, .newseditdetal {
	float: right;
	text-align: right;
	text-transform: lowercase;
	font-style: italic;
	color: #ff0000;
	font-size: 10px;
	width:250px;
}

/* Navigation */
.navigation {
	margin: 5px 0px;
	padding: 5px;
	text-align: center;
	text-transform: uppercase;
	font-weight: bolder;
	clear: both;
}
.navigation a, .navigation span {
	margin: 2px;
	padding: 2px 10px 3px 10px;
}
.navigation a:hover {
	background: #E9EEF5;
}


span.masha_index {
	margin: 0;
	padding: 0;
}
article.addcform textarea {
	max-height: 100px;
	padding: 5px;
}
article.addcform #allow_subscribe {
	background: #ff0000;
}


/* related news */

article.related {
	margin: 5px 0;
}
article.related h4 {
	margin: 2px 0px 10px 5px;
	border-bottom: 1px solid #C1CAD3;
	padding-bottom: 5px;
}
article.related ul {
	padding: 0 20px;
}
article.related li {
	padding-bottom: 5px;
	font-weight: bold;
}

/* Comment */

article.comment {
	margin: 5px 0;
}
article.comment img {
	width: 16px;
	margin: 0;
	position: relative;
}
article.comment h4 {
	font-size: 1.1em;
	font-weight: bold;
}
article.addcform {
		margin-top: 5px;
}
#addcform {
	width: 95%;
	margin: 0 auto;
	margin-top: 20px;
}
#addcform input {
	margin: 0px 5px 20px 0px;
	vertical-align: sub;
}
#addcform label {
	vertical-align: middle;
}

.mass_comments_action {
	text-align: right;
	margin: 5px 0;
	padding: 5px 5px 3px 0px;
}

/* Slider */ 
section.slider {
	height: 300px;
	position: relative;
	margin: 5px 0;
	width: 1148px;
}

.fotoddt {
	float: left;
	margin-top: 10px;
	margin-left: 13px;
	width: 300px;
	height: 279px;
	background: url("../images/dvorec.png") no-repeat;
}

.slides_container {
	position: relative;
	background: url("../images/loading.gif") no-repeat 50% 50%;
	overflow: hidden;
	width: 800px;
	height: 280px;
	margin: 0 auto;
	margin-top: 10px;
}
.pagination {
	text-align: center;
	height: 20px;
	margin: 0;
	list-style: none;
}
.pagination li {
		display: inline-block;
		width: 19px;
		height: 19px;
		/*zoom: 1;*/
		display: inline;
}
.pagination li a {
	background: url("../images/pagination.png") no-repeat;
	display: block;
	width: 19px;
	padding-top: 19px;
	height: 0;
	overflow: hidden;
}
.pagination li a:hover {
	background-position: -19px 0;
}
.pagination li.current a {
	background-position: -38px 0;
}


section.videoblock {
	width: 250px;
	height: 240px;
}

section.videoblock h1 {
	font-size: 14px;
	font-family: verdana;
	padding-left: 5px;
	padding-bottom: 2px;
}
section.videoblock img {
	padding: 5px;
}
section.videoblock:hover {
	background: #ededed;
	cursor: pointer;
}

.media_shortstory {
	text-align: center;
	width: 270px;
	height: 255px;
	float: left;
	padding: 12px 5px;
	margin: 0px 0px 5px 8px;
}
.media_shortstory h1 {
	padding-bottom: 5px;
	font-size: 14px;
	height: 35px;
	overflow: hidden;
}
.media_shortstory img {
	border: 0 none;
	width: 250px;
}

.slidestory {
	position: absolute;
	right: 25px;
	top: 135px;
	z-index: 10;
	font: 18px/20px times;
	color: #555555;
	background: rgba(254, 255, 255, 0.7);
	padding: 9px;
	font-style: italic;
	border-radius: 10px;
	text-shadow: 1px 0px #000;
	text-align: right;
}

.slidestory a {
	margin-top: 10px;
	display: block;
	font-family: verdana;
	font-size: 15px;
	font-style: initial;
}

.searchtable input[type="text"] {
	height: 17px;
	border: 1px solid #2A488D;
	border-radius: 4px;
	padding: 5px;
}

.mainnewsblock {
	width: 885px;
	margin-left: -5px;
}
.mainnewsblock h1 {
	color: #EB3D00;
}

.mainnewsblock article {
	float: left;
	width: 425px;
	margin-left: 5px;
	/*max-height: 1320px;
	padding-bottom: 5px;*/
	height: 1300px;
	padding-bottom: 3px;
}
.mainnewsblock header {
	border-bottom: 1px solid #C1CAD3;
}


.mainnews {
	height: 140px;
	padding: 5px;
	margin: 5px 0px;
	border-bottom: 1px solid #C1CAD3;
	overflow: hidden;
}
.mainnews  h2{
	display: block;
	font-weight: bold;
	padding: 0px;
	color: #232D63;
	/*border-bottom: 1px solid #C1CAD3;*/
	font-size: 14px;
	padding-bottom: 3px;
}
.mainnews  img {
	float: left;
}
.mainnews  p {
	text-align: justify;
	padding-left: 125px;
	margin-bottom: 2px;
}
.mainnews:hover {
	background: #ededed;
	/*cursor: pointer;*/
}

.mainvideonews {
	height: 232px;
	padding: 5px;
	margin: 6px 0px;
	border-bottom: 1px solid #C1CAD3;
}
.mainvideonews img {
	display: block;
	margin: 0 auto;
}
.mainvideonews h2 {
	display: block;
	font-weight: bold;
	padding: 0px;
	color: #232D63;
	/*border-bottom: 1px solid #C1CAD3;*/
	font-size: 14px;
	padding-bottom: 3px;
	max-height: 17px;
	overflow: hidden;
}
.mainvideonews:hover {
	background: #ededed;
	cursor: pointer;
}

.mainnews h5, .mainvideonews h5 {
	text-align: right;
	text-transform: lowercase;
	font-style: italic;
	color: #3F3F3F;
	font-size: 10px;
	margin-bottom: 5px;
	font-weight: normal;
}
.mainnews h5 a, .mainvideonews h5 a {
	color: #3F3F3F;
}


.userinfopage div.foto {
	float: left;
	width: 130px;
	margin-left: 10px;
}

.userinfopage div.foto a {
	padding-left: 5px;
}

.userinfopage div.links {
	display: table;
	width: 380px;
}

#options input[type="text"], #options input[type="password"], #options textarea {
	width: 400px;
	font-weight: normal;
}

.label {
	width:200px;
	font-weight: bold;
	text-align: right;
}

.registration {
	width: 365px;
	margin: 0 auto;
	padding: 10px
}

.registration p {
	margin-bottom: 10px;
}
.registration input, textarea {
	width: 350px;
	font-weight: normal !important;
}

.g-recaptcha {
	width: 304px;
	height: 78px;
	margin: 0 auto;
}

.dpad {
	margin: 5px 15px;
	border-top: 1px solid #C1CAD3;
	border-bottom: 1px solid #C1CAD3;
	padding: 10px 0;
}

.dpad input[type="text"] {
	width: 350px;
	font-weight: normal;
}

.pm_status {
    float:left;
    border: 1px solid #d8d8d8;
    padding: 0px;
    background-color: #fff;
    width: 300px;
    height: 100px;
    margin-left: 20px;
    margin-right: 5px;
}

.pm_status_head {
    border-bottom: 1px solid #d8d8d8;
    font-size: 0.9em;
    background: #fff url("../images/bbcodes.png") repeat-x 0 100%;
    height: 22px;
    padding: 0;
    font-weight: bold;
    text-align: center;
    color: #4e4e4e;
}

.pm_status_content {
    padding: 5px;
}


.textin input {
	width: 250px;
}

.textin {
	font-weight: normal;
	margin-bottom: 3px;
	/*width: 300px*/
}


/* Social buttons 
.socialnetworks {
	width: 440px;
	float: right;
	position: absolute;
	right: 40%;
	bottom: 0px;
}

.ok {
	background: url(../images/socialnetworks/ok.png) no-repeat;
}
.vk {
	background: url(../images/socialnetworks/vk.png) no-repeat;
}
.facebook {
	background: url(../images/socialnetworks/facebook.png) no-repeat;
}
.twitta {
	background: url(../images/socialnetworks/twitta.png) no-repeat;
}
.instagramm {
	background: url(../images/socialnetworks/instagramm.png) no-repeat;
}
.google {
	background: url(../images/socialnetworks/google.png) no-repeat;
}
.youtube {
	background: url(../images/socialnetworks/youtube.png) no-repeat;
}

.ok,
.vk,
.facebook,
.twitta,
.instagramm,
.google,
.youtube {
	height: 62px;
	width: 62px;
	display: block;
	float: left;
	opacity: 0.5;

}*/