html, body {
  height: 100%;
}

.container#container_main{
background-color: inherit !important;
}

#mfa_bg {
position: fixed;
top: -50%;
left: -50%;
height: 200%;
width: 200%;
}

.mfa_bg_img{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
min-width: 50%;
min-height: 50%;
}

.module{
min-height:0 !important;
}

.mfa_main {
  position: relative;
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -185px; 
}
.mfa_main:after {
  content: "";
  display: block;
}
#container_copyright_footermenu  {
margin-top: 40px;
position: relative;
height: 85px;
}

.mfa_main:after {
  /* .push must be the same height as footer */
  height: 185px; 
}

/* Params logo */
.logo_container, h1.logo, h1.logo a {
height: 76px;
}

.logo_container {
width: 614px;
}
/* End Params logo */

/* Breadcrumbs */
.breadcrumb li:last-child {
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

/* End Breadcrumbs */

/* Background header block */
/*
#header.block_holder{
background: url(../images/top_bg.jpg);
}
*/
/* end background  header block */

/* List of materials */
.table th, .table td{
vertical-align: middle;
}
/* End List of materials */


/* Menu */
.module_menu .active{
font-weight: bold;
}
/* End Menu */

/* Banners left and in bottom content */
.module_bann{
clear: both;
}

.module_bann .banneritem{
margin: 0 10px 25px 0;
text-align: center;
}

/*.module_bann .banneritem img{
box-shadow: 0 0 10px rgba(0,0,0,0.5);
-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
}*/

.module_rec_bann{
text-align: center;
clear: both;
}

.module_rec_bann .banneritem{
margin-bottom: 10px;
}

/* Login form */

.module_login .control-group{
margin-bottom: 0px;
}

/* End login form*/

/* Pagination */
.pagination{
margin: 40px 0 0 0;
font-size: 12px !important;
}

.pagenav{
padding-right: 7px !important;
}

.pagination ul{
width: 100%;
}

.pagination .pagenav{
background-image: none;
}

.pagination a:hover{
background-image: none;
}

/* End Pagination*/

/* Styling maincontent table */
.item-page table{
margin: 0 0 10px 0;
table-layout: auto;
border-collapse: collapse;
}

.item-page table td, th{
border: 1px solid #D6D6D1;
padding: 5px;
}

/*.item-page table tr:first-child th,
.item-page table tr:first-child td{
padding: 10px 5px;
font-weight: bold;
text-align: center;
vertical-align: middle !important;
}*/

/*.item-page table td {
font-size: 10px;
line-height: 100%;
vertical-align: middle;
padding: 5px;
border-left: 1px solid #D6D6D1;
border-right: 1px solid #D6D6D1;
}

.item-page table tr {
border-top: 2px solid #F9FAEA;
}

.item-page table tr:first-child{
border-top: none;
}

.item-page table td{
text-align: right;
}

.item-page table tr:first-child td{
text-align: center;
font-size: 11px;
font-weight: bold;
}

.item-page table td:nth-child(1){
font-weight:bold;
text-align: center;
}

.item-page table td:nth-child(2){
font-weight:bold;
}

.item-page table td{
text-align: center;
}

*/

#table-informer {
width: 100%;
}

#table-informer td{
width: 50%;
border: none;
}

#table-informer textarea{
background-color: #ffffff;
cursor: default;
resize: none;
}
/* End styling table*/

/* middle sale table */

.module_middle_price table{
margin-top: 10px;
table-layout: fixed;
width: 100%;
}

.module_middle_price td{
padding: 2px;
border: 1px solid #cccccc;
vertical-align: middle;
text-align: center;
}

.module_middle_price td:first-child{
padding-left: 15px;
text-align: left;
}

.module_middle_price a{
margin: 15px 0 0 0;
float: right;
}

.module_middle_price .green{
color: green;
}

.module_middle_price .red{
color: red;
}

.cat-list-row0{
background-color: #f2f2f2;
}

/* End middle sale table */

/* Fuel price table */

.mfa-fuel-inner {
width: 100%;
border: 2px solid #000000;
}

.mfa-fuel-inner th,
.mfa-fuel-inner td {
line-height: 100%;
}

.mfa-fuel-inner td {
font-size: 11px !important;
}

.mfa-fuel-inner th {
cursor: pointer;
}

.mfa-fuel-inner tr:first-child th {
font-weight: bold;
padding-bottom: 0px !important;
}

/* ячейки первой строки */
.mfa-fuel-inner tr:nth-child(1) th{
border-left: 2px solid #000000;
border-right: 2px solid #000000;
}

/* первая ячейка первой строки */
.mfa-fuel-inner tr:nth-child(1) td:nth-child(1)  {
font-weight: bold !important;
text-align: left;
}

/* ячейки второй строки */
.mfa-fuel-inner thead tr:nth-child(2){
background-color: #858585;
color: #ffffff;
}

.mfa-fuel-inner thead tr:nth-child(2) th{
font-size: 11px !important;
}

.mfa-fuel-inner td:nth-child(1){
padding-left: 10px !important;
font-weight: bold !important;
text-align: left !important;
}

.mfa-fuel-inner td:nth-child(2) {
font-weight: normal !important;
}

.mfa-fuel-inner th,
.mfa-fuel-inner td {
text-align: center;
padding: 9px 3px 9px 3px !important;
border: 1px solid #bab9b9;
}

.mfa-fuel-inner th:nth-child(3n+2){
border-left: 2px solid #000000;
}

.mfa-fuel-inner tr:first-child td{
font-weight: normal !important;
}

.mfa-fuel-inner td:nth-child(3n) {
border-left: 2px solid #000000;
}

.mfa-fuel-inner tr{
border: 1px solid #bab9b9 !important;
}

.marker-gas {
background: #1fa1ff;
}
.marker-dt {
background: #000000;
}
.marker-80 {
background: #ff1d00;
}
.marker-92 {
background: #ffff00;
}
.marker-95 {
background: #008f00;
}
.marker-98 {
background: #3b00df;
}

.marker-hide {
margin: -4.5px -3px -4.5px -3px;
padding:24px 0px 24px 0px;
background: #ffffff;
font-size: 14px;
}

.headerSortUp {
background: url(../images/asc.gif) no-repeat 100% 10%;
}
.headerSortDown {
background: url(../images/desc.gif) no-repeat 100% 10%;
}

.multi-logo{
height: 44px;
background: url(../images/logo_mt.png);
background-repeat: no-repeat;
background-position: right;
}


#mfa-fuel > li > a:hover{
color: #ffffff !important;
 padding-bottom: 12px;
}

#mfa-fuel > li > a{
padding-bottom: 12px;
font-weight: bold;
font-size: 14px;
}

.mfa-chart-select{
margin-right: 20px;
}

.mfa-datepicker{
 zoom: 1;
 *display:inline;	
 display: inline-block;
 margin-left: 5px;
 margin-right: 0px;
 vertical-align: top;
}

#mfa-start-range,
#mfa-end-range{
width: 155px;
}
/* END fuel price table*/

/* Nav tabs */
#mfa-fuel .active a {
background: #0099cc;
color: #ffffff !important;
}
/* End Nav tabs */

/* Category list */
table.weblinks td, table.category td {
padding: 15px;
}

.list-title a {
text-decoration: underline !important;
}

.list-title a:hover {
text-decoration: none !important;
}

/* end category list */

/* Quality */
#mfa-quality{
clear: both;
width: 100%;
padding: 20px 0 20px 0;
}

#mfa-quality .quality-1,
#mfa-quality .quality-2,
#mfa-quality .quality-3{;
width: 30%;
height: 68px;
background-color: #e4f3fa;
color: #000000;
line-height: 100%;
text-align: center;
float: left;
}

#mfa-quality .quality-1 p,
#mfa-quality .quality-2 p,
#mfa-quality .quality-3 p{
position: relative;
top: 50%;
margin-top: -12px;
}

#mfa-quality a {
text-decoration: underline;
}

#mfa-quality a:hover {
text-decoration: none;
}

#mfa-quality .quality-1,
#mfa-quality .quality-2{
margin: 0 5% 0 0;
}
/* End Quality */

/* Banner 960px */

#container_slideshow_bg{
position: relative;
}

.mfa-banner-960{
text-align: center;
display: block;
}

.mfa-banner-960 img{
border-left: 30px solid #ffffff;
border-right: 30px solid #ffffff;
border-top: 30px solid #ffffff;
}

/* End Banner 960px */

/* Archive table */
#mfa-archive td, th {
border: 0px;
}
/* End Archive table */

/* Contact */

.jicons-icons img {
margin-top: 5px;
}

/* End contact */