/* style1 */

/* @group Core Elements */

body {
	
	background-image: url("http://www.ipatovo.org/images/bg_field.jpg");
	background-repeat: no-repeat;
	background-position: 50% 0%;
	background-size: auto;
}

h1 { 
	color: #1E6298;
}

h2 {
	color: #444;
}

h3 {
	color: #1E6298;
}

h4 {
	color: #444;
}

a {
	color: #1E6298;
}

/* @end */

/* @group Joomla Elements */

.componentheading {
	color: #444;
}

.contentheading {
	color: #1E6298;
}


TABLE {

 border-collapse: collapse; /* Убираем двойные линии между ячейками */
}

TD, TH {
 padding: 3px; /* Поля вокруг содержимого ячейки */

}


TH {
 background: #bababa; /* Цвет фона */
 color: white; /* Цвет текста */
}

.sectiontableheader {
  	border-bottom: 1px solid #f0f0f0;
}

/* @end */

/* @group Structure */

#header-bar {
	background: #186297;
	color: #fff;
	border-bottom: 3px solid #00395f;
}

#newsflash a {
	color: #CEE1EF;
}

#logo {
	background: url(../img/logo.png) 0 0 no-repeat;
}

#mainpage {
	
background-color: rgba(8,7,7, 0.19);
	border: 0px;
}

#main-content {
	background: #fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.theader{
         font-weight: bold; text-align: center; color: rgb(0, 51, 102); background-color: rgb(205, 255, 255);
}

#mainpage-bottom {
	background: #eee;
}

img#rocket {
	background: url(../img/rocket.png) 0 0 no-repeat;
}

/* @end */

/* @group Modules */

#newsblock2 div.module h3 {
	color: #CA0006;
}

#maincol div.module-latestnews h3 {
	color: #CA0006;
}

#mod-login a {
	color: #CEE1EF;
}


#bottommods div.moduletable h3 {
	color: #186297;
}

/* @end */

/* @group Horizontal Menu */

#horiz-menu {
	border-bottom: 1px solid #e6e6e6;
}

#horiz-menu a {
	color: rgb(255, 255, 255);
}

#horiz-menu li:hover a,
#horiz-menu li.active a {
	background: rgba(244, 244, 244, 0.4549);
}

#horiz-menu li:hover li a,
#horiz-menu li.sfHover li a,
#horiz-menu li.active:hover li a,
#horiz-menu li.active.sfHover li a {
	color: #555;
}

#horiz-menu li:hover a,
#horiz-menu li.sfHover a,
#horiz-menu li:hover a.topdaddy,
#horiz-menu li.sfHover a.topdaddy,
ho.topdaddy:hover,
#horiz-menu li li:hover a:hover,
#horiz-menu li li.sfHover a:hover {
	color: rgb(16, 16, 16);
}

#horiz-menu li.active:hover a,
#horiz-menu li.active.sfHover a {
	color: #444;
}

#horiz-menu li li a:hover {
	color: #ccc;
}

#horiz-menu li li.parent a.daddy,
#horiz-menu li.active li.parent a.daddy,
#horiz-menu li.active a {
	color: #186297;
}

#horiz-menu li li a {
	border-right: none;
	border-bottom: 1px solid #e6e6e6;
}

#horiz-menu ul ul {
	background: #f8f8f8;
	border-left: 1px solid #e6e6e6;
	border-right: 1px solid #e6e6e6;
}

#horiz-menu ul ul ul {
	border-top: 1px solid #e6e6e6;
}

/* @end */

/* @group Submenu */

/* @group Submenu */

ul.menuside a,
ul.menuside li.active li a {
	color: #ccc;
}

ul.menuside li.active a,
ul.menuside a:hover,
ul.menuside li.active li a:hover {
	color: #fff;
}

/* @end */

/* @group Mainmenu */

a.mainlevel:hover {
	color: #186297;
}

a.mainlevel {
	color: #444;
}

a.sublevel {
	color: #444;
}

a.sublevel:hover {
	color: #186297;
}

a#active_menu {
	color: #186297;
}

/* @end */

/* @group Content Styles */

#newsflash .controls img {
	background-image: url(../img/news-scroller-controls_001.png);
}

table.tb-gal {
	border-collapse: collapse;
	border: 1px solid #ebebeb;
	width: 100%;
}

a.thumb {
	display: block;
	position: relative;
	height: 157px;
	width: 210px;
	border: 4px solid #9AD23F;
	overflow: hidden;
	text-align: center;
}

a.thumb img {
	margin: 0 auto;
}

td.g-block a.thumb {
	float: left!important;/* IE6 !!! */	
}

a.thumb:hover {
	border-color: #FF8A75;
	text-decoration: none;
}

a.thumb img {
	border: none;
	margin: 0 auto;
}

.thumb-title {
	position: absolute;
	background: url(img/thumb-title-bkg.png);
	padding-top: 4px; 
	top:110px;
	left:0;
	width: 210px;
	height: 47px;
	margin: 0;
	padding: 0;
	text-align: center;
}

.thumb-title div {
	font-size: 11px;
	color: #FFF;
	padding-top: 4px;
}

.g-block {
	padding: 12px;
	width: 25%;
}


.g-desc-block {
	width: 220px;
	text-align: center;
	float: left;
	padding: 5px 0 15px 0;
	font-size: 11px;
}

ul#gal {
	list-style: none;	
}

ul#gal li{
	display: block;
	text-align: center;
	width: 100%;
	overflow: hidden;
	margin-bottom: 10px;
}


.imgwcor {
           display: block;
           border-radius: 6px;
}

/* @end */
