body { 
background: #dddddd; 
text-align: center; 
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif; color: #333; }

ul { 
text-align: left;
}

#cargo { 
margin: 10px auto;
width: 980px; background: #ffffff; border: 1px solid black;
}

#header { 
text-align: center; padding-top: 20pt;
}

#afterlogo {
font-family: Helvetica, Verdana, Tahoma, Arial, sans-serif;
display: block;
margin: 0 auto;
width: 290px;
color: gray;
font-size: 85%;
vertical-align: top;
height: 60px;
margin-top: 20px;
}

#name {
width: 130px;
text-align: right;
float: left;
}

#name:first-line {
color: black;
}

#contact {
width: 134px;
text-align: left;
float: right;
}

#contact:first-line {
color: black;
}

#menu { 
font-family: Helvetica, Verdana, sans-serif;
padding: 5pt; 
font-size: 160%;
}

#menu a { 
text-decoration: none;
color: black;
padding: 5pt; 
}

#menu a:hover {  
color: #999999; 
}

#menu strong { 
background: #ffffff;
padding: 5pt;
font-weight: normal;
}

/*
font-family: "Myriad Pro", "Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma, Arial, sans-serif;
*/

#text { 
font-family: Verdana, sans-serif;
font-size: 90%;
font-weight: normal;
background: #ffffff;
margin: 0pt 30pt;
padding: 30pt 80pt;
}

#text p {
margin: 15px 0;
line-height: 135%;
text-align: left;
}

#text h3 {
text-align: left;
font-family: Tahoma, Helvetica, Verdana, sans-serif;
font-size: 140%;
font-weight: normal;
}

img.info {
float: right;
border: 1px solid black;
margin: 5pt 0pt 0pt 30pt;
}

#footer { 
color: #777777;
padding: 15% 0pt 50pt 0pt;
}

#footer a { 
color: #555555;
}

#footer a:hover { 
color: #777777;
}

#admin { 
color: #777777;
padding: 2% 0pt 5pt 0pt;
font-size: 70%;
}

#admin a { 
color: #555555;
}

#admin a:hover {  
color: #777777;
text-decoration: none;
}

#menu3 { 
text-align: center; font-size: xx-large;
}

#menu3 a {
text-decoration: none;
}

.center { 
text-align: center;
}

/* Фотогалерея */
#menuG { 
text-align: left;
margin: 0 auto;
margin-top: 50px;
}

#menuG a {
margin-left: 0;
text-decoration: none;
color: black;
}

#menuG a:hover {
text-decoration: underline;
}

#menuG td { 
padding: 10px 30px;
height: 130px;
list-style-type: none;
vertical-align: top;
margin-top: 2px;
}

#menuG img {
border: 1px solid black;
}

.name {
display: block;
}

#gallery { 
padding-top: 5%;
width: 100%;
text-align: center; 
margin-top: 0px;
}

#bigimg { 
margin-top: 25px;
padding: 1px;
padding-top: 20px;
}

/* Область превьюшек */
#preview { 
margin-top: 5px;
width: 100%;
text-align: center;
margin-top: 0;
padding-top: 0;
margin-left: auto;
margin-right: auto;
}

#preview table {
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}

#preview img { 
margin: 3px;
border: 1px solid black;
}

#preview a {
border: none;
}

#preview a.current {

}

#editusr td { 
width: 100px;
text-align: right;
}

#preview td {
padding: 20px;
border: 1px solid #dddddd;
text-align: center;
vertical-align: middle;
width: 25%;
}

/* Листалка */
#previnext { 
font-family: Helvetica, Verdana sans-serif;
vertical-align: top;
margin-top: 2%;
font-size: 190%;
}

#previnext img { 
border: none;
}

#previnext a { 
text-decoration: none;
color: black;
}

#previnext a:hover {
color: gray;
}

a.previos {
width: 22px;
height: 24px;
text-decoration: none;
background-image: url('../image/ico_previous.gif');
background-repeat: no-repeat;
background-position: center;
}

a.previos:hover {
background-image: url('../image/ico_previous_hover.gif');
}

a.next {
width: 22px;
height: 24px;
text-decoration: none;
background-image: url('../image/ico_next.gif');
background-repeat: no-repeat;
background-position: center;
}

a.next:hover {
background-image: url('../image/ico_next_hover.gif');
}

/* ссылки на страницы */
#photolink { 
background-color: #eeeeee;
width: 710px;
text-align: right;
margin-left: auto;
margin-right: auto;
padding-right: 10px;
font-size: 130%;
margin-bottom: 15px;
margin-top: 0px;
font-family: "Centiry Gothic", Helvetica, Verdana sans-serif;
}

#photolink a {
text-decoration: none;
color: black;
}

#photolink a:hover {
color: gray;
}

#photolink a.current { 
color: gray;
}