/* ******* TAGS ******* */

body {
	margin: 0;
	padding: 0;
	background: #f2f2f2 url(../images/template/bg.png) 0 0 repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 15px;
	color: #505050;
}
img {
	border: none;
}
a {
	outline: none;
	/* color: #990103; */
	color: #303030;
	text-decoration: underline;
}

.left-column .category-module h4 a {
color: #505050;
}

a:hover {
	text-decoration: none;
}
br {
	height: 15px;
	line-height: 15px;
}
hr {
	height: 1px;
	background-color: #dedede;
	border: none;
	overflow: hidden;
}

p {
	margin: 0 0 15px 0;
	/*text-indent: 12px;*/
	text-align: justify;
}
p img[align="right"] {
	margin-left: 16px;
}
p img[align="left"] {
	margin-right: 16px;
}
form {
	padding: 0;
	margin: 0;
	display: block;
}
input, select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #505050;
	outline: none;
}

input[type="button"],
input[type="submit"] {
	height: 20px;
	width: 140px;
	/*background: url(../images/template/button.png);*/
	border: 1px solid #000000;
	padding: 0 6px;
	font-size: 13px;
	font-weight: bold;
	color: #000000;
	/*text-shadow: 0 -1px 0 #a10f10;*/
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.20);
}

input[type="reset"] {
	height: 20px;
	width: 140px;
	border: 1px solid #000000;
	padding: 0 6px;
	font-size: 11px;
	color: #000000;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,0.20);
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	box-shadow: inset 1px 1px rgba(255,255,255,0.4), inset -1px -1px rgba(255,255,255,0.4);
}
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: url(../images/template/button-a.png);
	text-shadow: 0 1px 0 #a10f10;
}

.tab_s{
border-top:2px solid #e2e2e2;
border-right:2px solid #e2e2e2;
}

.tab_s td{
border-left:2px solid #e2e2e2;
border-bottom:2px solid #e2e2e2;
padding:5px;
vertical-align: middle;
}

.tab_s .graytd{
background:#f4f4f4;

}

.simple{
border:0px;
}

.simple td{
border-left:0px;
border-bottom:0px;
padding:5px;
vertical-align: middle;
}

.red {
color: #990103;
font-weight: bold;
font-size:large;
}

/* ******* STATIC CLASSES ******* */

.clear:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clear {
	display: block;
	zoom:1;
}
.image-right {
	float: right;
	margin-left: 16px;
}
.image-left {
	float: left;
	margin-right: 16px;
}
.notes-bg {
	width: 383px;
	height: 256px;
	background: url(../images/template/bg2.png);
	position: absolute;
	z-index: 1;
	top: 0;
	left: -38px;
}

/* ****** STRUCTURE ******* */

.wrap {
	width: 1000px;
	margin: 0 auto;
	position:relative;
}
.content {
	padding-bottom: 40px;
	position:relative;
	z-index: 2;
}
.left-column {
	float: left;
}
.right-column {
	float: right;
}

/* ******* TOP MENU ******* */

.topmenu {
	height: 28px;
	background-color: #ffffff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	overflow: hidden;
	position:relative;
	z-index: 2;
}
.topmenu ul {
	height: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}
.topmenu ul li {
	float: left;
}
.topmenu ul li:hover,
.topmenu ul li.active {
	background: url(../images/template/menu-h.png);
}
.topmenu ul li:active {
	background: url(../images/template/menu-a.png);
}
.topmenu ul li a {
	display: block;
	/*background: url(../images/template/point.png) 8px 6px no-repeat;*/
	padding: 0 14px;
	line-height: 28px;
	color: #505050;
	font-weight: bold;
	text-decoration: none;
}
.topmenu ul li a:hover,
.topmenu ul li.active a {
	/*background: url(../images/template/point-h.png) 8px 5px no-repeat;*/
	color: #ffffff;
	text-shadow: 0 -1px 0 #a10f10;
}
.topmenu ul li a:active {
	/*background: url(../images/template/point-a.png) 8px 6px no-repeat;*/
	text-shadow: 0 1px 0 #a10f10;
}

/* Langs */

.topmenu .langs {
	float: right;
	padding: 3px 10px 0 10px;
}
.topmenu .langs a {
	width: 24px;
	height: 24px;
	display: block;
	float: left;
	margin-left: 8px;
	
	-o-transition: opacity 0.1s ease-in-out;
	-webkit-transition: opacity 0.1s ease-in-out;
	-moz-transition: opacity 0.1s ease-in-out;
	transition: opacity 0.1s ease-in-out;
}
.topmenu .langs a:hover {
	opacity: 0.6;
}
.topmenu .langs a:first-child {
	margin: 0;
}

/* ******* CONTENT ******* */

/* Left Logo */

.left-column .logo {
	display: block;
	overflow: hidden;
	cursor: pointer;
	margin-top: 20px;
	text-align: center;
	
	-o-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
.left-column .logo:hover {
	opacity: 0.6;
}

/* Right Logo */

.right-column .logo {
	text-align: right;
	margin-top: 20px;
}
.right-column .logo p {
	text-align: right;
	margin: 0;
}

/* Shadow */

.c-shadow {
	width: 54px;
	z-index: 2;
	position: absolute;
}
.sh-t-l {
	height: 110px;
	background: url(../images/template/c-shadow-tl.png);
	top: 0;
	right: -54px;
}
.sh-bt-l {
	height: 110px;
	background: url(../images/template/c-shadow-btl.png);
	bottom: 0;
	right: -54px;
}
.sh-m-l {
	background: url(../images/template/c-shadow-ml.png);
	top: 110px;
	bottom: 110px;
	right: -54px;
}
.sh-t-r {
	height: 110px;
	background: url(../images/template/c-shadow-tr.png);
	top: 0;
	left: -54px;
}
.sh-bt-r {
	height: 110px;
	background: url(../images/template/c-shadow-btr.png);
	bottom: 0;
	left: -54px;
}
.sh-m-r {
	background: url(../images/template/c-shadow-mr.png);
	top: 110px;
	bottom: 110px;
	left: -54px;
}

/* Left Block */

.l-block {
	background-color: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
	border: 1px solid;
	border-color: #e3e3e3 #d9d9d9 #c4c4c4 #e4e4e4;
	border-radius: 1px;
	margin-top: 18px;
	/*position: relative;*/
	/*z-index: 2;*/
}
.l-block .title {
	padding: 8px;
	font-weight: bold;
	color: #990103;
	/*color: #000000;*/
}
.l-block .descr {
	padding: 0 8px 8px;
}
.l-block .descr:first-child {
	padding: 8px;
}
.l-block.list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.l-block.list ul li {
	background: url(../images/template/ul.png) 0 5px no-repeat;
	padding-left: 8px;
	margin-top: 8px;
}
.l-block.list ul li:first-child {
	margin-top: 0;
}
.l-block.list ul li a {
	color: #505050;
	text-decoration: none;
}
.l-block.list ul li a:hover {
	color: #990103;
	text-decoration: underline;
}

.l-title {
	font-size: 11px;
	font-weight: bold;
	margin-bottom: 4px;
}
.l-title a {
	text-decoration: none;
}
.l-title a:hover {
	text-decoration: underline;
}
.l-descr p {
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 13px;
	text-align: left;
}

.left-column > .custom {
	margin: 18px 0 0 0;
}

/* Left Menu */

.l-block.left-menu {
}
.l-block.left-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.l-block.left-menu ul li {
	background-color: #fff;
	border-top: 1px solid #c5c5c5;
}
.l-block.left-menu ul li:first-child {
	border: none;
}
.l-block.left-menu ul li:hover,
.l-block.left-menu ul li.active {
	background: url(../images/template/menu-h.png) 0 100%;
}
.l-block.left-menu ul li:active {
	background: url(../images/template/menu-a.png) 0 100%;
}
.l-block.left-menu ul li a {
	height: 27px;
	display: block;
	/*background: url(../images/template/point.png) 8px 6px no-repeat;*/
	line-height: 28px;
	padding: 0 8px 0 25px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #505050;
	font-weight: bold;
	text-decoration: none;
}
.l-block.left-menu ul li a:hover,
.l-block.left-menu ul li.active a {
	/*background: url(../images/template/point-h.png) 8px 5px no-repeat;*/
	color: #ffffff;
	text-shadow: 0 -1px 0 #a10f10;
}
.l-block.left-menu ul li a:active {
	/*background: url(../images/template/point-a.png) 8px 6px no-repeat;*/
	text-shadow: 0 1px 0 #a10f10;
}

.l-block.left-menu ul ul {
	background-color: #f6f6f6;
	border-top: 1px solid #C5C5C5;
	padding: 0 8px 0 25px;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), inset 0 -1px 1px rgba(0, 0, 0, 0.1) ;
}
.l-block.left-menu ul li ul li,
.l-block.left-menu ul li.active ul li {
	background: none;
}
.l-block.left-menu ul li ul li a,
.l-block.left-menu ul li.active ul li a {
	background: none;
	padding: 0;
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
	color: #505050;
}
.l-block.left-menu ul li ul li a:hover,
.l-block.left-menu ul li ul li.active a {
	color: #990103;
	text-decoration: underline;
}

/* Quiz Block */

.l-block.quiz p {
	text-indent: 0;
	text-align: left;
	font-size: 11px;
	font-weight: bold;
	margin: 0 0 12px;
}
.l-block.quiz ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.l-block.quiz ul li {
	font-size: 11px;
	margin-top: 12px;
	line-height: 13px;
}
.l-block.quiz ul li:first-child {
	margin-top: 0;
}
.l-block.quiz input[type="radio"],
.l-block.quiz input[type="checkbox"] {
	margin:0 6px 0 0;
	float: left;
}
.l-block.quiz label {
	display: block;
	overflow: hidden;
}
.l-block.quiz .buttons {
	text-align: center;
	padding: 12px 0 4px;
}

/* News Block */

.l-block.newsflash .item:last-child p:last-child  {
	margin-bottom: 0;
}

/* Content Block */

.c-block {
	min-height: 176px;
	background-color: #ffffff;
	box-shadow: 0 0 4px rgba(0,0,0,0.2);
	margin-top: 20px;
	padding: 22px;
	position: relative;
	z-index: 1;
}
.c-block.notification {
	min-height: 0;
}

.c-block.notification p:last-child {
	margin-bottom: 0;
}

.c-block a {
	color: #669900;
	/*color: #0055CC;*/
	text-decoration: underline;
}
.c-block a:visited {
	/*color: #990099;*/
	color: #669900;
}
.c-block a:hover {
	text-decoration: none;
}
.c-block ul {
	margin: 0 0 15px 0;
	padding: 0 0 0 25px;
}
.c-descr .pagination {
	margin-bottom: 15px;
}
.c-descr .pagination ul {
	padding: 0;
	margin: 0;
}

.c-title {
	border-bottom: 1px solid #dedede;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	/*color: #990103;*/
	color: #000000;
	line-height: 32px;
	text-indent: 12px;
	padding-bottom: 7px;
	margin-bottom: 15px;
}
.c-title a, .c-title a:visited {
	text-decoration: none;
	color: #990103;
}
.c-title a :hover {
	text-decoration: underline;
}

.c-info {
	border-top: 1px solid #dedede;
	padding-top: 12px;
}
.c-info .l {
	font-size: 11px;
	line-height: 16px;
	font-style: italic;
	overflow:hidden;
}
.c-info .r {
	width: 138px;
	text-align: right;
	float: right;
	margin-left: 12px;
}
.c-info .l ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.c-info .l ul li {
	float: left;
	border-left: 1px solid #b6b6b6;
	line-height: 14px;
	margin-left: 8px;
	padding-left: 8px;
}
.c-info .l ul li:first-child {
	border: none;
	padding: 0;
	margin: 0;
}

.c-after {
	margin-top: 32px;
}

.c-intro {
	margin-bottom: 16px;
}

.c-next {
	border-top: 1px solid #dedede;
	margin-bottom: 15px;
	padding-top: 12px;
}
.c-next ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	font-style: italic;
}
.c-next ul li {
	display: inline;
	margin-left: 10px;
}
.c-next ul li:first-child {
	margin: 0;
}
.c-next ul li a {
	text-decoration: none;
}
.c-next ul li a:hover {
	text-decoration: underline;
}

.pagenavcounter {
	font-style: italic;
	text-align: right;
	margin-bottom: 15px;
}
.pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	font-style: italic;
}
.pagination ul li {
	display: inline;
	margin-left: 10px;
}
.pagination ul li:first-child {
	margin: 0;
}
.pagination ul li a {
	text-decoration: none;
}
.pagination ul li a:hover {
	text-decoration: underline;
}
.pagination .counter {
    margin-bottom: 15px;
	font-style: italic;
    text-align: right;
}
.filters {
	padding: 10px;
	border: 1px solid #DEDEDE;
	border-radius: 5px;
	margin: 0 0 16px 0;
}
.display-limit {
	line-height: 20px;
}
.filters select.inputbox {
	width: 60px;
}

/* Category Styles */

.category {
	width: 100%;
}
.category td {
	padding: 2px;
}
.category th {
	font-size: 11px;
	font-weight: bold;
	text-align: left;
	border-bottom: 1px solid #DEDEDE;
	line-height: 22px;
	padding: 0 2px;
}
.category th a {
	color: #505050;
}
.category .list-hits {
	width: 8%;
	font-size: 11px;
	text-align: right;
}
.category .list-date {
	width: 18%;
	font-size: 11px;
	text-align: right;
}
.category .list-author {
	width: 16%;
	font-size: 11px;
	text-align: right;
}
.category .list-title a {
	text-decoration: none;
}
.category .list-title a:hover {
	text-decoration: underline;
}
.cat-items .pagination {
	margin-top: 20px;
}
.cat-items .pagination .counter {
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.cat-children ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.cat-children ul li {
	margin-top: 20px;
}
.cat-children ul ul {
	margin-left: 30px;
}

/* Blog Page */

.blog .item {
	width: 100%;
	margin-bottom: 12px;
	float: left;
}

.blog .pagination {
	margin-top: 20px;
}
.blog .pagination .counter {
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.blog-featured h2 {
	margin: 0 0 15px 0;
	font-weight: normal;
	font-size:  24px;
	text-indent: 12px;
}
.blog-featured h2 a {
	text-decoration: none;
}
.blog-featured h2 a:hover {
	text-decoration: underline;
}
.blog-featured .pagination {
	margin-top: 12px;
}
.blog-featured .pagination .counter {
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.row-separator {
	clear: both;
}
.cols-2 .item {
	width: 48%;
	float: left;
	margin-left: 4%;
}
.cols-2 .item:first-child {
	margin-left: 0;
}
.cols-3 .item {
	width: 32%;
	float: left;
	margin-left: 2%;
}
.cols-3 .item:first-child {
	margin-left: 0;
}
.cols-4 .item {
	width: 23.5%;
	float: left;
	margin-left: 2%;
}
.cols-4 .item:first-child {
	margin-left: 0;
}
.cols-2 p, .cols-3 p, .cols-4 p {
	font-size: 11px;
	line-height: 14px;
}

/* Blog Items */

.b-info {
	margin-bottom: 8px;
	font-size: 11px;
	line-height: 16px;
	font-style: italic;
}
.b-info ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.b-info ul li {
	float: left;
	border-left: 1px solid #b6b6b6;
	line-height: 14px;
	margin-left: 8px;
	padding-left: 8px;
}
.b-info ul li:first-child {
	border: none;
	padding: 0;
	margin: 0;
}

.cols-2 .b-info ul li,
.cols-3 .b-info ul li,
.cols-4 .b-info ul li {
	float: none;
	border: none;
	padding: 0;
	margin: 0;
}

.b-title {
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
}
.b-title a, .b-title a:visited {
	text-decoration: none;
	color: #990103;
}
.b-title a:hover {
	text-decoration: underline;
}

/* ******* FOOTER ******* */

.footer {
	margin-top: 12px;
}
.footer .copy {
	font-size: 12px;
	font-style: italic;
	text-align: center;
}
.footer .copy p {
	text-align: center;
}
.footer .copy a {
	text-decoration: none;
}
.footer .copy a:hover {
	text-decoration: underline;
}