/* Template created by tcse-cms.com | Author: Vitaly V. Chuyakov | URL: http://tcse-cms.com */

/* Выравнивание блоков по 3 в ряд */
#dle-content .short-news:nth-of-type(3n+1) { clear: both; }
.wp-caption {max-width: 100%;}
.full-content img {
	max-width: 100%;
	display: inherit;
}

.header-logo {
	padding: 10px 0;
}

/* Подвал */
.bg-grey {
	background-color: #2d3349;
	color: #80909A;
}
.bg-grey a {
	color: #fff;
	text-decoration: none;
}
.bg-grey a:hover {
	color: #eaeaeb;
	text-decoration: underline;
}
.ratebox2 {
  float: right;
}

.ratebox3 {
  float: right;
}

.ratebox ul, .ratebox ul li {
  float: left;
  list-style-type: none;
}

.ratebox2 ul, .ratebox2 ul li {
  float: left;
  list-style-type: none;
}

.ratebox3 ul, .ratebox3 ul li {
  float: left;
  list-style-type: none;
}
/* Правки для разной ширины экрана */
@media (max-width:  640px) {
	.header-logo {
		text-align: center;
	}
	.full-content img {
		max-width: 100%;
		display: block;
	}
}

@media (min-width: 1200px) {

	
}

/* XOOPS KODLARI */

#mainmenu a {text-align:left; display: block; margin: 0; padding: 15px; font-size: 14px; color: #1b2431; border-bottom: 1px solid #E8E9E9; text-decoration: none; }
#mainmenu :hover {background:#F7F7F7; }
#mainmenu a.menuTop {padding-left: 10px;}
#mainmenu a.menuMain {padding-left: 10px;}
#mainmenu a.menuSub {padding-left: 25px; font-size: 10px; font-style: italic;}

#usermenu a {text-align:left; display: block; margin: 0; color: #1b2431; padding: 15px; font-size: 14px; border-bottom: 1px solid #E8E9E9; text-decoration: none;}
#usermenu :hover {background:#F7F7F7; }
#usermenu a.menuTop {}
#usermenu a.highlight {color: #0000ff; background-color: #fcc;}




.xoopsCode {font-family: Consolas, "Andale Mono WT", 
"Andale Mono", "Lucida Console", 
"Lucida Sans Typewriter", 
"DejaVu Sans Mono", 
"Bitstream Vera Sans Mono",
 "Liberation Mono", "Nimbus Mono L", Monaco, 
"Courier New", Courier, monospace;
font-size:0.9em;
border:1px solid lightblue;
padding:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
color:#518BAB;
}

.xoopsQuote { white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
margin: 0px 0px 0px 0px;
padding:5px 5px 3px 5px;
background:#fff;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
-webkit-box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
-moz-box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
box-shadow:inset 0px 0px 7px rgba(0,0,0,0.2);
padding:10px;
margin:0 0 20px 0;
border:1px solid #ddd;
font-family: Consolas, "Andale Mono WT", 
"Andale Mono", "Lucida Console", 
"Lucida Sans Typewriter", "DejaVu Sans Mono",
"Bitstream Vera Sans Mono", 
"Liberation Mono", 
"Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
font-size:0.9em;}
blockquote {font-style : italic; line-height:1.4em;}


table {width: 100%;}
table td {padding: 0; border-width: 0; vertical-align: top; }

caption {font-weight: bold;}


.txtcenter ,.itemHead {background: #e3e3e0 url(../images/head-list.gif) repeat-x; padding: 6px 6px 6px 6px; color: #333333; font-weight:bold;text-transform:uppercase;line-height: 30px;font-weight: bold; font-size: 13px;}
.outer {border: 1px solid #c0c0c0;padding: 5px;}
.outer th, .outer thead { padding: 2px 0 1px 10px; font-weight: bold; background: #e3e3e0 url(../images/head-list.gif) repeat-x; padding: 6px 6px 6px 6px; }


.head {background-color: #EEEEEE; line-height: 20px; padding: 5px; font-size: 0.8em; font-weight: bold;text-align:left;border-bottom: 1px solid #DBDBDB;}
.head td { padding: 2px 4px 2px 4px; }
.odd a b { margin: 4px 0 2px 0; display: block; }


.even, tr.even td ,.odd, tr.odd td {
	background-color: #fefefe;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 5px;
	background-image: url(../images/bg_tables.gif);
	background-repeat: repeat-x;
	background-position: left top;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #E8E8E8;
	border-right-color: #E8E8E8;
	border-bottom-color: #DBDBDB;
	border-left-color: #DBDBDB;
}

.foot {background-color: #E8E8E5; padding: 5px; font-weight: bold;}
tr.even td {background-color: #fff; padding: 5px;}

tr.foot td {background-color: #E8E8E5; padding: 5px; color:inherit; font-weight: bold;}

.errorMsg,.confirmMsg, .resultMsg  { padding: .8em; text-align:center; margin-bottom: 1em; border: 2px solid #ddd;}
.errorMsg  { background-color: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.confirmMsg { background-color: #FFF6BF; color: #817134; border-color: #FFD324; }
.resultMsg { background-color: #E6EFC2; color: #529214; border-color: #C6D880; }
.errorMsg a { background-color: transparent; color: #D12F19; }
.confirmMsg a { background-color: transparent; color: #817134; }
.successMsg a { background-color: transparent; color: #529214; }


button, input[type=submit], input[type=button], input[type=reset], .xo-formbuttons, .formButton {
	width: 				auto;
	background-color: 	 #787878 ;
	padding: 			6px 10px;
	color: 				#fff;

}
button:focus, input[type=submit]:focus, input[type=button]:focus, input[type=reset]:focus, .xo-formbuttons:focus, .formButton:focus {}
button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, .xo-formbuttons:hover, .formButton:hover {background-color: #ee6600;}
input[type=text], input[type=password], input[type=checkbox], input[type=file], textarea {}
input[type=text], input[type=password], input[type=file] {
	width: auto;
	border-radius: 				5px;
		-moz-border-radius: 	5px;
		-webkit-border-radius: 	5px;
}
input[type=text]:hover, input[type=password]:hover, input[type=file]:hover, input[type=checkbox]:hover, textarea:hover {}
input[type=text]:focus, input[type=password]:focus, input[type=file]:focus, input[type=checkbox]:focus, textarea:focus {}
input[type=checkbox], input[type=radio] { margin: 3px; padding:2px; background-color: transparent;}


