ul.body-footer-social { list-style: none outside none; }
ul.body-footer-social li { float: none !important;  text-align: center; }
ul.body-footer-social li a { text-decoration: none; margin: 0 auto; }

.content p { text-indent: 40px; }

/* ---- social ---- */

.body-footer-social-title {;
    margin-bottom: 3px;
}
.body-footer-social-i {
    float: left;
    margin-right: 6px;
    margin-bottom: 6px;
}

.body-footer-social-i a {
    background-image: url("/myAccount/images/social/sprite-social-large.png");
    background-repeat: no-repeat;
    display: block;
    height: 30px;
    width: 30px;
}
.body-footer-social-i a.vk {
    background-position: 0 0;
}
.body-footer-social-i a.fb {
    background-position: -30px 0;
}
.body-footer-social-i a.twitter {
    background-position: -60px 0;
}
.body-footer-social-i a.gplus {
    background: url("/myAccount/images/social/sprite.png") no-repeat scroll -450px -36px transparent;
}
.body-footer-social-i a.youtube {
    background-position: -90px 0;
}

/* .content_first .fotogal_block { overflow-x: scroll; } */
/* .content_first .fotogal_block { height: 150px; } */
.content_first a.pDb_fotogal img { text-align: center; vertical-align: middle; /* width: 120px; */ height: 120px; padding: 0px; margin: 5px 5px 2px 0px; border: solid 1px #a8262a; }
.content_first a.pDb_fotogal:hover img { text-align: center; vertical-align: middle; /* width: 120px; height: 120px; */ padding: 0px; border: solid 1px #00f; }

.content_last a.pDb_fotogal img { text-align: center; vertical-align: middle; max-width: 60px; max-height: 60px; padding: 1px; margin: 0px; border: solid 0px #a8262a; }
.content_last a.pDb_fotogal:hover img { text-align: center; vertical-align: middle; /* width: 120px; height: 120px; */ padding: 1px; border: solid 0px #00f; }

.content_last .fotogal_block a.highslide {
    border: 1px solid #9f0b0b;
    display: block;
    height: 62px;
    outline: medium none;
    text-decoration: none;
    vertical-align: middle;
    width: 62px;
    margin: 0px 4px 4px 0px;
/*    text-align: center; */
    float: left;
}

/* --- template loader replacement start --- */

#adminslidemenu { margin: 0px 0px -24px -52px; }

@font-face {
    font-family: "calibri";
        src: url( /calibri.eot ); /* IE */
        src: local("calibri"), url( /calibri.otf ) format("truetype"); /* non-IE */
}

@font-face {
    font-family: "Rosamunda_One";
        src: url( /Rosamunda_One.eot ); /* IE */
        src: local("Rosamunda_One"), url( /Rosamunda_One.otf ) format("truetype"); /* non-IE */
}

body {
	font: normal 15px/20px "calibri", Arial, Helvetica, sans-serif;
	background: #000 url(/images/texture_fragment.png);
	color: #ddd;
}

td.tdNameLeft { color: #ddd !important; }

html, body{ margin: 0; 	padding: 0; }
img { border: none; }
form { padding: 0; margin: 0; }
p { padding: 0; margin: 0px 0px 10px 0px; text-align: justify; color: #ddd; }
ul, ol { margin-top: 0; margin-bottom: 6px; }

h1, h2 {
	margin: 0px 0px 14px 0px;
	padding: 0px;
}

h2 { text-align: center; font: normal 45px "Rosamunda_One"; }
h3 { font: bold 17px/17px "calibri"; border-left: 5px solid #9f0b0b; letter-spacing: -1px; padding: 3px 0 0 8px; }
h4 { color: #ddd; font: normal 17px "calibri"; font-style: italic; margin: 20px 0px 12px 0px; }


a { color: #ff7; text-decoration: underline; }
a:hover{ text-decoration: none; }

.wrapper { width: 990px; margin: 0px auto; }

.sidebar { margin: 0px; background: #000 url(/images/kartinka_vino_fix.jpg) no-repeat top left; width: 314px; padding: 517px 10px 10px 10px; display: block; float: left; margin: 0; }

.main{
	width: 655px;
	margin: 0;
	display: block;
	float: right;
}

.head { width: 655px; display: block; margin: 7px 0px 10px 0px; min-height: 136px; }
.head .logo { width: 131px; display: block; float: left;}
.head_ { display: block; float: right; margin: 0; width: 510px; }
.head h1, .head h1 a { font: normal 28px "calibri"; color: #fbfbfb; text-decoration: none; }
.head h1 { display: block; float: left; margin: 28px 0px 10px 0px; }
.head .phone { font: normal 18px "calibri"; color: #fbfbfb; text-decoration: none; display: block; float: right; margin: 15px 0px 15px 0px; padding-left: 27px; background: url(/images/trubka.png) no-repeat left 2px; }
.content { width: 635px; display: block; float: right; }
.footer { margin-top: 50px; }

.content_last { border-top: 1px solid #fbfbfb; margin-top: 20px; }

.content td { vertical-align: top; }

ul#mainMenu { width: 510px; margin: 0; padding: 0; border-bottom: 1px dotted #fbfbfb; }
ul#mainMenu li { list-style: none; margin: 0px 18px; padding: 0; float: left; width: 100px; }
ul#mainMenu li:first-child { margin-left: 0px  !important; }
ul#mainMenu li:last-child { margin-right: 0px  !important; }
ul#mainMenu li a {
	font: normal 15px "calibri";
	text-decoration: none;
	display: block;
	padding: 16px 0px 3px 0px;
/*	width: 160px;
	font-weight: bold;
	text-align: center;
	padding: 16px 0 17px 0;
	text-transform: uppercase;*/
	color: #ddd;
}

ul#mainMenu li a:hover, ul#mainMenu li.activ a, ul#mainMenu li.active a { /* border-bottom: 1px dashed #ddd; */ text-decoration: underline; }


#bottomMenu {
    list-style: none outside none;
    margin: 0 0 5px;
    padding: 0;
}

#bottomMenu li a {
    background: url("/images/li_pic.png") no-repeat scroll -8px 2px transparent;
    color: #ddd;
    display: block;
    line-height: 27px;
    margin: 5px 15px 5px 0px;
    padding-left: 20px;
    text-decoration: none;
    border-bottom: 1px dotted #fbfbfb;
    font-size: 13px
}

#bottomMenu li a:hover {
    text-decoration: none;
    color: #ff7;
}

/* --- template loader replacement end --- */

/* ---------------------------------- */

img.fotogal { text-align: center;
         vertical-align: middle;
/*         width: 120px;
         height: 120px; */
         padding: 0px;
         border: solid 1px #a8262a; }

img.fotogal:hover { text-align: center;
         vertical-align: middle;
/*         width: 120px;
         height: 120px; */
         padding: 0px;
         border: solid 1px #00f; }


/*----- admin panel css fix start -----*/
table.admin { width: 100%; height: 100%; margin: 0px;}

table.admin td { padding: 0px;}

table.admin img { padding: 0px; }

/*----- highslide -----*/


.highslide-wrapper div {
    font-family: Verdana, Helvetica;
    font-size: 10pt;
}
.highslide {
	cursor: url(/myAccount/hs/highslide/graphics/zoomin.cur), pointer;
    outline: none;
    text-decoration: none;
}
.highslide-active-anchor img {
	visibility: hidden;
}
.highslide-wrapper, .drop-shadow {
	background: white;
}
.highslide img {
	border: 0px solid gray;
}
.highslide:hover img {
	border: 0px solid white;
}
.highslide-wrapper {
	background: white;
}
.highslide-image {
	border: 10px solid white;
}
.highslide-image-blur {
}
.highslide-caption {
    display: none;
    border: 5px solid white;
    border-top: none;
    padding: 5px;
    background-color: white;
}
.highslide-loading {
    display: block;
	color: black;
	font-size: 8pt;
	font-family: sans-serif;
	font-weight: bold;
    text-decoration: none;
	padding: 2px;
	border: 1px solid black;
    background-color: white;
    
    padding-left: 22px;
    background-image: url(/myAccount/hs/highslide/graphics/loader.white.gif);
    background-repeat: no-repeat;
    background-position: 3px 1px;
}
a.highslide-credits,
a.highslide-credits i {
    padding: 2px;
    color: silver;
    text-decoration: none;
	font-size: 10px;
}
a.highslide-credits:hover,
a.highslide-credits:hover i {
    color: white;
    background-color: gray;
}

a.highslide-full-expand {
	background: url(/myAccount/hs/highslide/graphics/fullexpand.gif) no-repeat;
	display: block;
	margin: 0 10px 10px 0;
	width: 34px;
	height: 34px;
}


/*------ admin panel css fix end -------*/

img {     border: none; } 

form        { margin: 0px; 
              padding: 0px; } 

input       { border: solid 1px #005e85; } 
textarea    { border: solid 1px #005e85; } 
input.captcha {
	width: 63px !important;
	height: 28px !important;
	margin: 0px !important;
	vertical-align: middle !important; }

div.captcha img {
	height: 30px;
	margin: 0px;
	padding: 0px; }
	
div.captcha img {
	float: left;
	margin-right: 10px; }

td.tdHdr   { 
        font-size: 14pt; 
        font-family: Verdana;  
        text-align : left; 
        margin-bottom: 8pt; 
        padding-bottom: 8pt; 
        color: #2E73B4; 
        line-height : 14pt; 
        font-weight : bold; 
        border-bottom: 1px solid #6C819F; } 

td.tdHdr a, #tdHdr a { 
        font-size: 14pt; 
        font-family: Verdana; 
        text-align : left; 

        margin-bottom: 8pt; 
        color: #2E73B4; 
        line-height : 14pt; 
        font-weight : bold; 
        text-decoration: none; } 

#navig_td   { border-color: #0000ff; 
              font-size: 11pt; 
              color: #0000bb; 
              background-color: #dddd66; 
              border-style: solid; 
              border-width: 1px; 
              font-weight: bold; 
              text-align: center; } 

#td_sel     { background-color: #000077; 
              border-style: solid; 
              border-width: 1px; 
          border-color: #000000; } 
           
#td_selNot  { border-style: solid; 
              border-width: 1px; 
          border-color: #666666; } 

#tblFull    { width: 100%; 
              height: 100%; } 

td.tdNameLeft, #tdNameLeft { text-align: right; 
              vertical-align: middle; 
          background-color: transparent; 
              border: 1px solid #0077ac; 
              color: #333333; 
          width: 1% } 

table.tbljb { 
    border-spacing: 2px; 
    z-index: expression( runtimeStyle.zIndex = 1, cellSpacing = 2 );
    margin-bottom: 8px; } 

table.tbljb td { 
    padding: 3px; } 

table.tbljb thead td { 
              background-color: #0099dd; 
              border: 1px solid #0077ac; 
              color: #ffffff; 
          font-weight: bold; } 

.val0, .val2, .val4, .val6, .val8, #tdVal0, #tdVal2, #tdVal4, #tdVal6, #tdVal8     {
	text-align: left; 
	vertical-align: top; } 

.val1, .val3, .val5, .val7, .val9, #tdVal1, #tdVal3, #tdVal5, #tdVal7, #tdVal9     {
	text-align: left; 
        vertical-align: top; 
	background-color: #ececec; } 

#tdValSel   { text-align: left; 
              vertical-align: middle; 
          background-color: #aadd99; } 

td.tdHdrInfo, td.tdHdrInfo_warning, td.tdHdrInfo_error, #tdHdrInfo  { 
	text-align: center; 
        color: white; 
        vertical-align: top; 
        padding: 8px; 
        border: 1px solid #0077ac; 
        background: #005e85 url(/myAccount/style/images/ui-bg_transp50_40x40.png) 50% 50% repeat; } 

td.tdHdrInfo_warning { background-color: #f6f600; }
td.tdHdrInfo_error { background-color: #900; }

#tdFooter   { border-style: solid; 
              border-width: 0px; 
          border-top-width: 1px; 
          border-color: #000000; 
              background-color: #2222aa; } 

#tdFtrStr   { vertical-align: top; 
              padding: 0px; 
          font-size: 7pt; } 


#tblOrderBy { border-color: #33aaff; 
              font-size: 8pt; 
              color: #0000bb; 
              border-style: solid; 
              border-width: 0px; 
              font-weight: bold; } 

#tdOrderBy  { border-color: #33aaff; 
              padding: 0px; 
              font-size: 8pt; 
              color: #0000bb; 
              border-style: solid; 
              border-width: 1px; 
              font-weight: bold; } 


/*  Ajax  */ 

/*  Visual  */ 

.flexOpen .whenShut { 
  display: none; }    

.flexOpen .whenShut { 
  display: none; }    

.flexOpen .whenOpen { 
  display: block; }   

.flexShut .whenShut { 
  display: block; }   
.flexShut .whenOpen { 
  display: none; }    
                      
.flexOpen {           
padding-bottom: 5px; 
}                     
/*  Headers  */       

.bOpen .flexHeader { 
  border-top: solid 1px #0099dd; 


  background-repeat: no-repeat; 
  background-image: url('/myAccount/style/greenLight/images/flex_arrow_open.gif'); 
  background-position: left center; 
  height: 17px; }                  

.bShut .flexHeader { 
  color: #555;       
  background-color: #ececec; 
  border-top: solid 1px #88c; 
  background-repeat: no-repeat; 
  background-image: url('/myAccount/style/greenLight/images/flex_arrow_shut.gif'); 
  background-position: left center; 
  height: 17px; }                  

.bShut .flexHeader .flexEdit{ 
  display:none;               
}                             

.bOpen .flexHeader span{ 
  display:none;          
}                        

.flexHeader { 
  cursor: pointer; 
  padding: 1px 8px 1px 23px; 
  border-top: solid 1px #b1bdd6; 
  background: #ececec;           
  -khtml-user-select: none; }    

                                 
.flexHeader div {                
  float: left; }                 

.whenOpen .flexHeader { 
  border-top: solid 1px #0099dd; 
  background-repeat: no-repeat; 
  background-image: url('/myAccount/style/greenLight/images/flex_arrow_open.gif'); 
  background-position: left center; 
  height: 17px; }                  

.whenShut .flexHeader { 
  background-color: #ececec; 
  border-top: solid 1px #ccc; 
  background-repeat: no-repeat; 
  background-image: url('/myAccount/style/greenLight/images/flex_arrow_shut.gif'); 
  background-position: left center; 
  height: 17px; }                  

.whenShut .flexHeader h2{ 
  color: #888;            
}                         
/* Content Box */         

.flexBox { 
  padding: 10px 8px 15px 8px; } 

.no_padding { 
  padding: 0px; } 

.flexBox h4 { 
  margin: 1px 0px 0px; 
  padding: 4px 0px 2px; } 


/* clearFix */ 

.clearFix:after { 
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;} 

/* Hides from IE-mac */ 
* html .clearFix { height: 1%; } 
.clearFix { display: block; } 
/* End hide from IE-mac */ 