/*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimplegrid Framework          ||
|| # Copyright (C) 2010  Youjoomla.com. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla.com                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
/*BODY ID'S USED FOR CSS FONT STYLES AND BASE SITE BODY STYLING */
body {
	color:#555;
	/*background:#eee url(../images/top_bg.jpg) no-repeat 30% 0%;*/
}
#centertop{
	/*border-top:1px solid #e2e2e2;
	border-left:1px solid #e2e2e2;
	border-right:1px solid #e2e2e2;*/
}
#centerbottom,
#yjsg5,
#yjsg6,
#yjsg7{
	background:#fff;
	border-left:1px solid #e2e2e2;
	border-right:1px solid #e2e2e2;
	border-top:1px solid #e2e2e2;s
	
}
#logo {
	background:url(../images/red/logo.png) no-repeat 0px 0px;
}
/* SITE LINKS */
a {
	text-decoration: none;
	color:#d50400;
}
/* SITE HOVERS */
a:focus,
a:hover {
	color:#e54944;
}
[class*='yjsg-button-color']{
	background: #d50400;
}
[class*='yjsg-button-color']:hover{
	background:#e54944;
}
/* SITE HEADINGS */
h1,
h2,
h3,
h4,
h5,
h6 {
	color:#454545;
	text-align: center;  
}
/* стиль таблици*/
.boxer {
   display: table;
   border-collapse: collapse;
   width:80%;
   margin:0 auto;
   margin-top:20px;
   min-width:400px;
}
 
.boxer .box-row {
   display: table-row;
   
}
 
.boxer .box {
   display: table-cell;
   text-align: center;
   vertical-align: top;
   border: none;
   width:25%;
   margin:10px;
   
}

/* SITE LI IMAGE */
ul li {
	    padding-left: 40px;
		/*margin-top: 5px;*/
	/*background: url(../images/blue/r_galka.png) no-repeat 0px 0px;*/
}
/* ARTICLE TABLE OF CONTENTS */
fieldset,
#article-index ul {
	border:1px solid #dcdcdc;
}
#article-index ul li {
	border-bottom:1px solid #dcdcdc;
}
#article-index ul li:last-child {
	border:none;
}

.tablost {
	font-size:16px;
}



/* INPUTBOXES */
.inputbox {
	background: #FFFFFF;
	border: 1px solid #dcdcdc;
	-webkit-border-radius:4px;
	-khtml-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
.inputbox:hover,
.inputbox:focus {
	background: #F7F7F7;
	border: 1px solid #838383;
}
/*BUTTONS AND READON
--------------------- */
.button,
.button:hover,
.validate,
a.readon,
a.hover,
a.focus {
	background:#454545!important;
	color:#fff;
	text-shadow:none;
	-webkit-border-radius:4px;
	-khtml-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}
a.readon:hover {
	color:#e54944;
}
/*TOP MENU STYLE FOR SPLIT MENU, CSS DROPDOWN AND SMOOTH DROPDOWN
--------------------- */
#topmenu_holder.yjsgmega,
#topmenu_holder.topmodpoz,
#topmenu_holder.topmodpoz_navbar {
	background:#fff;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	padding-top:0;

}
.top_menu ul.group_holder ul.subul_main.level2,
.top_menu ul.group_holder ul.subul_main.level4 {
	border:none;
	-webkit-border-radius:none;
	-moz-border-radius:none;
	border-radius:none;
}
.header-center-contacts {
    font-size: 28px; 	
	
}
.top_menu ul.subul_main a.first {
	/*-webkit-border-top-left-radius: 4px;
	-moz-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-top-right-radius: 4px;
	border-top-right-radius: 4px;*/
}
.top_menu ul.subul_main a.last {
	/*-webkit-border-bottom-left-radius: 4px;
	-moz-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;*/
}
.top_menu li {
	background-image:none;
}
/* sub ul border */
.top_menu ul.subul_main {
	border: 1px solid #e72623;
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
	background:#d50400;
}
/* reset Bootstrap navbar */
	.navbar-inner {
	-webkit-box-shadow:none;
	-khtml-box-shadow:none;
	-moz-box-shadow:none;
	box-shadow:none;
	border:none;
}
/* TOP LEVEL LINKS */
.top_menu ul li a {
	color:#5b5b5b;
	background:#fff;
	border:1px solid #d0d0d0;
	margin-right:6px;
	-webkit-border-radius:0;
	-khtml-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
}
/* active and hover */
.top_menu ul li a:hover{
	color: #fff;
	background:#d40300;
	margin-right:5px;
	border: 1px solid #e72623;
	-webkit-border-radius:0;
	-khtml-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
}
.top_menu li.active a.activepath,
.top_menu li.active a.activepath:hover{
	background:#d50400;
	color:#fff;
	border:1px solid #d50400;
}	
/*SUBTITLE */
.top_menu ul li a span.yjm_desc {
	color:#fff;
}
/* active and hover */
.horiznav ul li.active a span.yjm_desc,
.horiznav ul li a:hover span.yjm_desc {
	text-shadow:none;
}
/* HASCHILD ARROWS */
.top_menu ul li.haschild span.child a {
	position:relative;
}
.top_menu ul li.haschild span.child a:after {
	font-family: 'FontAwesome';
	content: "\f0d7";
	position: absolute;
	top:30%;
	left: 0px;
	padding: 7px;
}
.top_menu ul.subul_main li.haschild span.child a:after {
	font-family: 'FontAwesome';
	content: "\f0da";
	position: absolute;
	top:30%;
	left:auto;
	right:10px;
}
.top_menu ul.subul_main li.haschild span.child a:hover:after {
	content: "\f0d7";
}
/* rtl arrows */
body.yjsgrtl .top_menu ul.subul_main li.haschild span.child a:after {
	right:auto;
	left:10px;
	content: "\f0d9";
}
/* side menu arrow */
body.yjsgrtl ul.defaultmenu li a:after {
	content: "\f053";
	left:auto;
	right:-15px;
}
/*SUB LEVELS A*/
.top_menu ul.subul_main li a {
	background:#d50400;
	border-bottom:1px solid #e72623;
	border-top:none;
	border-left:none;
	border-right:none;
	color:#fff;
	margin-right:0;
	-webkit-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
}
.top_menu ul.subul_main li a:hover,
.top_menu ul.subul_main li a.activepath{
	background:#e94643;
	color: #7b0e0c;
}
/* Group holder title*/
.top_menu ul.subul_main.group_holder li.holdsgroup ul.subul_main {
	border:none;
}
.top_menu ul.subul_main li.holdsgroup a.holdsgroupTitle {
	border:none;
	color: #fff;
}
.top_menu ul.subul_main li.holdsgroup a.holdsgroupTitle:after {
	display:none;
}
/* MODULE IN MENU */
.top_menu ul.subul_main li.has_module a.yj_menu_module_holder:hover,
.top_menu ul.subul_main li.has_modpoz a.yj_menu_module_holder:hover{
	background:#fff;
}
.top_menu ul.subul_main li.has_module .yjsquare_in,
.top_menu ul.subul_main li.has_modpoz .yjsquare_in{
	color:#555;
	cursor:default;
}
/* SEPARATOR */
span.separator {
	color: #888;
	background:#fff;
	border-bottom: 1px solid #D4D4D4;
}
/* DROPLINE */
ul.subul_main.dropline.dlevel1 {
	background:#f8f8f8;
	border:none;
	-webkit-box-shadow:inset #D4D4D4 0 1px 0 0;
	-moz-box-shadow:inset #D4D4D4 0 1px 0 0;
	-khtml-box-shadow:inset #D4D4D4 0 1px 0 0;
	box-shadow:inset #D4D4D4 0 1px 0 0;
	-webkit-border-radius:0px;
	-khtml-border-radius:0px;
	-moz-border-radius:0px;
	border-radius:0px;
}
ul.subul_main.dropline.dlevel1 a.dlevel1a {
	background:none;
}
/*SIDE MENU MODULE
--------------------- */
.defaultmenu li a {
	border-bottom: 1px solid #D4D4D4;
}
.defaultmenu li a {
	position:relative;
	display:block;
}
.defaultmenu li a:after {
	font-family: 'FontAwesome';
	content: "\f054";
	position: absolute;
	top:7px;
	left:-15px;
}
.defaultmenu a.alast {
	border:none;
}
.defaultmenu a.isactivea,
.defaultmenu li a:hover {
	background:#f5f5f5;
	color: #121212;
}
/* Accordion side menu */
ul.defaultmenu.yjsgacc li.active_yjsgacc a.yjsgtoggler:after {
	content: "\f078";
}
/* FOOTER MENU MODULE*/
#footmod ul.defaultmenu li a,
#footmod ul.defaultmenu li a:hover,
#footmod ul.defaultmenu a.isactivea {
	border:none;
	background:none;
}
/*USER PAGES STYLES */
div.userpageswrap.offline div.userpages {
	border:none;
	background:#fff;
}
div.userpages dt {
	background:#fff;
	border:1px solid #ccc;
}

/*SECTION TABLE */
table.category {
	border: 1px solid #DDD;
	border-collapse: separate;
	border-bottom:none;
	
}
table.category td {
	border-bottom: 1px solid #DDD;
	padding-left:15px;
	border-left: 1px solid #DDD;
}
th.sectiontableheader {
	border-bottom: 1px solid #DDD;
	background:#fff;
}
tr.sectiontableentry1 td {
	background-color: #fafafa;
}
tr.sectiontableentry2 td {
	background-color: #fff;
}
/*tr:hover {background:#d50400; color:#fff;}*/
tr.sectiontableentry1:hover td,
tr.sectiontableentry2:hover td {
	background-color: #f7f7f7;
}
.yjsglogo {
	background: url(../images/blue/yjsglogo.png) no-repeat center center;
}
/* responsive menu */
#mmenu_holder {
	background:#fff!important;
	border: 1px solid #D4D4D4;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}
/* grid bg */
#yjsg1,
#yjsg2,
#yjsg3,
#yjsg4,
#yjsg5,
#yjsg6,
#yjsg7{
	background:#fff;
}

/* Module styles */
.yj1{
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
	border:1px solid #e4e4e4;
	/*-webkit-border-radius:5px;
	-khtml-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;*/
}

.yj1 .module_title{
	color:#464646;
}
.yj2 h2.module_title{
	color:#E20B00;
}
.yj3 .h2_holder {
		background:#383737 url(../images/bgMainMenu.gif) repeat-x left top;
		border:1px solid #4c4c4c;
}
.yj3 h2.module_title{
	color:#fff;
}
.yj4{
	background:#E20B00  url(../images/red/yjpolls-bg.png) repeat-x left top;
	border:1px solid #E20B00 ;
	color:#fff;
}
.yj4 h2.module_title{
	color:#fff;
}
.yj5 .h2_holder {
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
	border:1px solid #e4e4e4;
}
.yj5 h2.module_title{
	color:#464646;
}
.horiznav{ 
   /*background: url(../images/bgMenu.png) repeat-x top left;*/
}
с yj news slider 7*/
#navigator li.selected_right div.inner,
#navigator li.selected_left div.inner {
	background:url(../images/red/nav_selected.png) repeat-x top left !important;
}
/* selected navigator element */
#navigator li.selected_right,
#navigator li.selected_left{
	background:none!important; /*right*/
}
#navigator li.element div.inner{
	background:url(../images/nav_bg.png) repeat-x top left;
}
/*title*/
#navigator li.element div.inner span.title{
	color:#fff;
}
/* description */
#navigator li.element div.inner p.desc{
	color:#fff;
}
#navigator li.selected_right div.inner img,
#navigator li.selected_left div.inner img{
	background:#f5f5f5;
	border:1px solid #e4e4e4;
}
/*description bg*/
#slides div.slide div.long_desc{
background:url(../images/red/desk_bg.png)!important;
}
#slides div.slide div.long_desc a{
	background:url(../images/nav_bg.png) repeat-x top left;
}
/*YJ News Slider5*/
.yjfeatNews .h2_holder{
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
	color:#464646;
	border:1px solid #e4e4e4;
}
/*slide show title*/
.yjfeatNews  #SlideShow5 .SlideShowSlide5 h1{
	background:none;	
}
.yjfeatNews #SlideShow5 .SlideShowSlide5 h1 a{
	color:#d50400!important;
}
.yjfeatNews #SlideShow5 .SlideShowSlide5 h1 a:hover{
	color:#e54944;
}
.yjfeatNews #SlideShow5 a.navigation {
	padding:5px;
	background:#f5f5f5;
	border:1px solid #e4e4e4;
	margin-right:10px;
}
.yjfeatNews #SlideShow5 a.selected{
	padding:5px;
	background:#f5f5f5;
	border:2px solid #d50400;
	margin-right:10px;
}
a.slide5prev {
	background:url(../images/red/prev.gif) no-repeat top left;
}
a.slide5next  {
  background:url(../images/red/next.gif) no-repeat top right;
}
/*slide background*/
.yjfeatNews #SlideShow5,
.yjfeatNews #SlideShow5 div.SlideShowSlide5,
.yjfeatNews #SlideShowScroll5{
	background:none!important;
}
.yjfeatNews #SlideShow5 .SlideShowDetails5{
	background:none;
	color:#555;
}
.yjfeatNews #SlideShow5 .SlideShowDetails5 a{
	background:#d50400 url(../images/red/yjpolls-bg.png) repeat-x left top;
	color:#fff;
}
.yjfeatNews #SlideShow5 .SlideShowDetails5 a:hover{
	color:#fff;
}
/*main menu home*/
.MmHome .h2_holder{
	background:#383737 url(../images/bgMainMenu.gif) repeat-x left top;
	border:1px solid #4c4c4c;
}
.MmHome .h2_holder .module_title{
	color:#fff;
	padding-left:10px;
	font-size: 150%;
	font-style: italic;
	font-weight: normal;
}
/*yjpolls*/
.yjpolls .h2_holder{
	background:#e20b00 url(../images/red/yjpolls-bg.png) repeat-x left top;
	border:1px solid #e20b00;
}
.yjpolls .h2_holder .module_title{
	color:#fff;
}
.yjpolls .yjsquare_in img{
	background:#ececec;
	border:1px solid #e4e4e4;
}
.yjpolls .yjsquare_in .pollsRM {
	background:#d50400 url(../images/red/yjpolls-bg.png) repeat-x left top;
	color:#fff;
}
/* article title*/
div.yjsg-newsitems .yjsg-blog_f .article_title{
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
    border:1px solid #e4e4e4;
	-webkit-border-radius:5px 5px 0  0;
	-khtml-border-radius:5px 5px 0  0;
	-moz-border-radius:5px 5px 0  0;
	border-radius:5px 5px 0  0;
	margin-bottom:10px;
	padding:6px;
	font-size:140%;
	font-style:italic;
	font-weight:normal;
}
/* article title*/
div.yjsg-newsitems .yjsg-blog_f .article_title{
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
    border:1px solid #e4e4e4;	
}
div.yjsg-newsitems .yjsg-blog_f .article_title a{
	color:#464646;
}
/*bump mod*/
div.yj_bump_vote_bg {
background:#fd0f00 url(../images/red/bump.png) center left no-repeat; 
}
/*bump plugin*/
div.voters { 
	background:#ce0000 url(../images/red/bump.gif) center center no-repeat; 
}
div.voters div.votes_loading {
	background: url(../images/red/ajax-loader.gif) no-repeat center center;
}
/* read more*/
div.yjsg-newsitems .yjsg-blog_f .width50 a.readon{
	background:#383838!important;
}
div.yjsg-newsitems .yjsg-blog_f .width50 a:hover.readon{
	color:#d50400;
}
/*you bumpit module*/
.yjbump .h2_holder{
	background: #f3f3f3 url(../images/h3def.png) repeat-x left top;
	color:#464646;
	border:1px solid #e4e4e4;
}
.yjbump .h2_holder .module_title{
	
	color:#464646;
}
/* news flash module* /
/* module title */
.yjnews .h2_holder .module_title{
	color:#d50400;
	border:1px solid #d0d0d0;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f0f0f0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f0f0f0 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#f0f0f0 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 ); /* IE6-9 */
}
.yjnews{
	border-right:1px solid #e5e4e4;
}
.yjnews div.yj_news_flash_photo img{
	background:#f5f5f5;
	border:1px solid #e4e4e4;
}
/* link */
.yjnews div.yj_news_flash_title a {
	color:#d50400;
}
.yjnews div.yj_news_flash_title a:hover{
	color:#121212;
}
/*image captions*/
p.img_caption{
	background:none!important;
	border:none!important;
}
/*site images*/
.caption{
	background:#f5f5f5;
	border:1px solid #e4e4e4;
}
/*Footer*/
#footer{
	background:#2c2c2c url(../images/footer.png) repeat-x left top;
	border-left:1px solid #e2e2e2;
	border-right:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
}		
#footmod a.afirst,
#footmod a.alast,
.validators,
.validators a,
.yjsgcp a,
.yjsgcp{
	color:#fff;
}

