/* restudio
 * http://www.restudio.ru
 *
 * author: Konstantin Fedorov
 */

/* CSS RESET START  --------------------------------------------------------- */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* cellspacing=0  table { border-collapse: collapse;} */
/* cellpadding=0  table td { padding: 0px; vertical-align: top;} */

/* CSS RESET END ------------------------------------------------------------ */

/* MAIN SETUP START --------------------------------------------------------- */

body {
	background: #3d2329 url(../img/astrolex_back.gif) repeat-y top left;
	text-align: center;
	font-family: Georgia,serif;
	font-size: 62.5%;
    color: #e5a75f;
}
/* Default links */
a:link, a:visited {	color: #f8cb97; text-decoration:underline;}
a:hover, a:active {	text-decoration:none;}

/* float break */
.clear { clear: both; font-size: 0; height:0; line-height: 0}

/* Tables */
table {
    margin: 5px 0;
}
table td {
    padding: 3px;
    border: 1px solid #542d36;
}

/* Froms */

form {
    font: 111% Georgia, "Times New Roman", Times, serif;
    background:#44242b;
    margin:20px 0;
    padding:10px 10px;
    width: 620px;
    -webkit-border-radius: 10px;    /* for Safari */
    -moz-border-radius: 10px;       /* for Firefox */
}
form li {
        padding:6px;
        background:#2f161c;
        margin-bottom:1px;
}

form label {
        float:left;
        width:120px;
        text-align:right;
        color:#0066CC;
        line-height:23px;	 /* This will make the labels vertically centered with the inputs */
        padding: 0 7px 0 0;
}

form input[type=text],
form textarea {
        padding:4px;
        font: 111% Georgia, "Times New Roman", Times, serif;
        width: 470px;
        border: 0;
        background:#2f161c;
        color: #fdeed0;
        }
form input[type=text]:focus,
form textarea:focus {
    background:#210e13;
    }
form textarea {
    height: 200px;
}
.errorb {
    border: 1px solid #cc3300;
}
.formerror {
    padding-top: 3px;
    color: #cc3300;
}
/* Other */
p { padding: 0 0 10px 0;}

h1 {
    font-size:180%;
    line-height: 160%;
    font-weight: normal;
    color: #f8cb97;
    margin-bottom: 15px;
}
h2 {
    font-size:160%;
    line-height: 150%;
    font-weight: normal;
    color: #f8cb97;
    margin: 0 0 7px 0;
}
h3 {
    font-size:120%;
    line-height: 160%;
    font-weight: normal;
    text-decoration: underline;
    color: #f8cb97;
    margin: 5px 0;
}

hr { width: 100%; height: 1px;}

/* MAIN SETUP END ----------------------------------------------------------- */

.imglist, #mm, .horlist { list-style:none; padding:0; margin: 0;}

#all {
    width: 100%;
    text-align:left;
    margin: 0 auto;
    background: url(../img/back_r.jpg) repeat-y top right;
}
#gorzdor {
    position: absolute;
     left: 40px;
     top: 335px;
     * margin-left: -200px;
}

#hd1, #hd2 { height: 400px;}
#hd1 {
    background: url(../img/back_hd_l.jpg) no-repeat top left;
}
#hd2 {
    background: url(../img/back_logo.jpg) no-repeat top right;
}

#hd_wrap { padding: 283px 0 0 200px; position: relative;}
#hd_wrap h1 { margin-top: 35px; font-size: 230%;}
#menu { font-size: 160%;}
#menu li { float:left; margin: 0 10px 0 0;}
#menu li a:link, #menu li a:visited {
    text-decoration: none;
    color: #e5a75f;
}
#menu li a:hover, #menu li a:active {
    text-decoration: underline;
}
#menu a {
    background: url(../img/marker.gif) no-repeat 0 6px;
    padding-left: 10px;
}

#logo {
    display:block;
    height: 140px;
    width: 270px;
    position: absolute;
    right: 10px;
    top: 10px;
}


#gor_menu {
    font-size: 110%;
    position: absolute;
    z-index: 100;
    top: -250px;
    right: 30px;
}

#gor_menu li {
    text-align: center;
}
#gor_menu a {
    display:block;
    height: 10px;
    padding: 70px 0 0 0;
    width: 70px;
}
#gor_menu a:link, #gor_menu a:visited {
    text-decoration: none;
    color: #3a0d0d;
    font-weight: bold;
}
#gor_menu a:hover, #gor_menu a:active {
    color: #fff;
}
#gor_space {
    height: 830px;
}

#m_oven { background: url(../img/signs/oven2.gif) no-repeat center;}
#m_tel { background: url(../img/signs/bik2.gif) no-repeat center;}
#m_bliz { background: url(../img/signs/bliz2.gif) no-repeat center;}
#m_rak { background: url(../img/signs/rak2.gif) no-repeat center;}
#m_lev { background: url(../img/signs/lev2.gif) no-repeat center;}
#m_deva { background: url(../img/signs/deva2.gif) no-repeat center;}
#m_vesi { background: url(../img/signs/vesi2.gif) no-repeat center;}
#m_skorp { background: url(../img/signs/skorp2.gif) no-repeat center;}
#m_strel { background: url(../img/signs/strel2.gif) no-repeat center;}
#m_kozer { background: url(../img/signs/kozer2.gif) no-repeat center;}
#m_vodo { background: url(../img/signs/vodo2.gif) no-repeat center;}
#m_ribi { background: url(../img/signs/fish2.gif) no-repeat center;}

#m_oven:hover { background: url(../img/signs/oven.gif) no-repeat center;}
#m_tel:hover { background: url(../img/signs/bik.gif) no-repeat center;}
#m_bliz:hover { background: url(../img/signs/bliz.gif) no-repeat center;}
#m_rak:hover { background: url(../img/signs/rak.gif) no-repeat center;}
#m_lev:hover { background: url(../img/signs/lev.gif) no-repeat center;}
#m_deva:hover { background: url(../img/signs/deva.gif) no-repeat center;}
#m_vesi:hover { background: url(../img/signs/vesi.gif) no-repeat center;}
#m_skorp:hover { background: url(../img/signs/skorp.gif) no-repeat center;}
#m_strel:hover { background: url(../img/signs/strel.gif) no-repeat center;}
#m_kozer:hover { background: url(../img/signs/kozer.gif) no-repeat center;}
#m_vodo:hover { background: url(../img/signs/vodo.gif) no-repeat center;}
#m_ribi:hover { background: url(../img/signs/fish.gif) no-repeat center;}

#mdl {
    background: red;
    width: 200px;
    float:left;
    background: url(../img/astrolex_l.gif) repeat-y top left;
}

#mdr {
    padding-left: 200px;
}

#mdr_left {
    font-size: 125%;
    /*padding: 0 165px 100px 0;*/
    /*width: 620px;*/
    line-height: 16px;
    border-bottom: 180px solid #3d2329;
    text-align: justify;
    margin-right: 200px;
}
#mdr_right {
    float:right;
    width: 155px;
    position:relative;
}

#mdr_left img{
    margin: 3px 7px;
    border: 7px solid #4f252a;
}

#rb_img {
    position:relative;
    text-align: right;
    height: 170px;
    width: 345px;
    background-repeat: no-repeat;
    float: right;
    margin-top: -160px;
    * margin: -120px 0 0 0;
}

#rb_img div.info {
    padding: 64px 10px 0 0;
    line-height: 14px;
    font-size: 110%;
    margin: 0 0 0 auto;
    width: 211px;
    height: 70px;
}
#rb_img img {
    position: absolute;
    top: 135px;
    right: 0;
}

.submenu {
    list-style: circle;
    font-size: 130%;
    margin-left: 20px;
}
.submenu li a {
    display:block;
    padding: 7px;
}
.submenu li a:hover {
    background: #44242b;
    text-decoration: underline;
}



.aa1 { color: #fdeed0;}
.aa_askbox, .aa_answbox {
    -webkit-border-radius: 10px;    /* for Safari */
    -moz-border-radius: 10px;       /* for Firefox */
    padding: 10px;
    margin-top: 10px;

}
.aa_askbox {   background: #44242b;     color: #e9c697;}
.aa_answbox { background: #4f252a;}

#slideshow {
	position: absolute;
	top:32px;
	left: 55%;
}
#CustomSlideshow {
	margin-left: -142px;
}
