html {overflow: auto; min-height: 100%;}
body {margin: 0; padding: 0; font-family: Arial, Verdana, Helvetica, sans-serif; color: #434343; font-size: 14px; min-height: 100%; background: #e3e3da url(/img/bg.jpg) top repeat-x;}
img {border: 0;}
.clear {clear: both; overflow: hidden; font-size: 0; height: 0;}

#container {width: 1000px; margin: 0 auto;}

#header {height: 440px; background: url(/img/header.jpg); overflow: auto;}
#vk {float: right; width: 10%; height: 10%;}

#logo {display: block; width: 450px; height: 162px; margin: 108px auto 0;}
#phone {font-family: Verdana; margin: 3px 0 0; font-size: 12px; color: #fff; text-transform: uppercase; text-align: center;}

#left {float: left; width: 218px; margin: 5px 30px 0 0;}

#menu {list-style: none; margin: 0; padding: 0;}
#menu li {position: relative;}
#menu li > a {display: block; margin: 4px 0 0; padding: 2px 5px 4px 20px; font-size: 16px; line-height: 14px; color: #6c0c00; text-decoration: none; background: url(/img/menu.png) 1px 3px no-repeat;}
#menu li:hover > a, #menu li > a.selected {box-shadow: 0 0 5px rgba(0,0,0,0.5);}
#menu li div {display: none; z-index: 100px; background: #fff; width: 130px; padding: 2px 15px 8px; position: absolute; top: 0; right: -160px; box-shadow: 0 0 5px rgba(0,0,0,0.5);}
#menu li div a {display: block; margin: 5px 0 0; font-family: Verdana; font-size: 15px; color: #6c0c00; text-decoration: none;}
#menu li:hover div {display: block;}
#menu li div span {position: absolute; width: 10px; background: #fff; top: 0; left: -9px;}



#content_w1 {margin: 0 11px 0 10px; background: #fff url(/img/cw1.jpg) no-repeat;}
#content_w2 {padding: 0px; background: url(/img/cw2.jpg) bottom repeat-x; padding: 0 10px 27px 4px;}

#content {overflow: auto;}



#footer {height: 80px; margin: 0 10px; font-size: 12px; color: #4b4b4b; font-family: Verdana;}
#footerleft {float: left; margin: 17px 0 0;}
#footerright {float: right; margin: 23px 0 0;}
#footerright span {display: inline-block; vertical-align: top; margin: 2px 0 0 5px;}
#footerright span a {text-decoration: underline; color: #4b4b4b;}

.main_header {font-size: 24px; color: #000; line-height: 30px; margin: 0 0 10px; font-weight: normal;}
.main_text {line-height: 20px;}



.a_head {margin: 12px 0 5px; font-size: 24px; color: #000;}
.a_date {display: block; margin: 5px 0 3px; font-weight: bold; color: #000; font-size: 12px;}
.a_link {display: block; margin: 0 0 0 28px; color: #6b0d00; font-size: 12px; text-decoration: none;}
.a_all_n {display: block; text-align: right; margin: 9px 0 0;}
.a_all_n a {color: #000; text-decoration: underline;}

.n_date1 {display: block; font-weight: bold; color: #fff; font-size: 12px; margin: 20px 0 10px; line-height: 22px; padding: 0 0 0 12px; background: url(/img/n_date1.png) no-repeat;}
.n_date1:first-child {margin: 0 0 10px;}
.n_link1 {line-height: 18px; color: #464646; margin: 0 0 0 36px; text-decoration: none;}

[name='form_quest'] {margin: 10px 0 0 54px;}


.captcha {display: inline-block; vertical-align: top;}
.captcha .img {vertical-align: middle; width: 100px; border: 1px solid #c5c5c5;}
.captcha .buttons {display: inline-block; vertical-align: middle; margin: 5px 0 0;}
.captcha .refresh {text-decoration: none; margin: 0 0 0 5px;}
.captcha .refresh img {width: 32px; height: 32px;}

.order_name {width: 106px; line-height: 17px; color: #000; vertical-align: top;}
.order_input {vertical-align: top;}
.my_text {margin: 0 0 12px; font-family: Arial; font-size: 12px; width: 238px; height: 17px; line-height: 17px; border: 1px solid #000; outline: none; color: #585858; padding: 0 4px;}
.my_textarea {margin: 0 0 5px; font-family: Arial; font-size: 12px; width: 238px; height: 75px; line-height: 15px; border: 1px solid #000; outline: none; color: #585858; padding: 1px 4px;}

.deny {font-size: 12px; color: #000;}

.send {margin: 7px 0 0; width: 96px; height: 20px; border: none; font-family: Arial; background: url(/img/send.png); font-size: 14px; color: #fff; padding: 0 0 4px;}
.fields_checked {font-size: 11px; color: #000; margin: -5px 0 0;}

.ask {margin: 0 0 13px; color: #000; font-weight: bold;}
.ans {margin: 0 0 26px 30px; color: #000;}


.galery {display: inline-block; width: 221px; font-weight: bold; color: #6b0d00; text-decoration: none; margin: 0 27px 17px 0;}
.galery span {display: block; height: 158px; margin: 5px 0 0; background: url(/img/photo.png);}
.galery span img {width: 206px; height: 144px; margin: 4px 0 0 4px;}

.galery1 {display: inline-block; width: 212px; text-decoration: none; margin: 0 26px 27px 4px; box-shadow: 2px 2px 10px rgba(0,0,0,0.7);}
.galery1 img {width: 206px; margin: 3px 0 3px 3px;}

#album_name {color: #6b0d00; font-weight: bold; margin: 0 0 10px 0;}

.page_num {margin: 20px 0 0 36px;}
.page_num span {font-weight: bold; font-size: 18px; color: #434343;}
.page_num a {color: #434343; text-decoration: none; display: inline-block; border-bottom: 2px solid #959595; margin: 0 2px; line-height: 14px;}
.page_num .prev, .page_num .next {color: #444444; font-weight: bold; border: none;}


.file_link {display: block; width: 400px; padding: 17px 30px; border-bottom: 1px solid #000; text-decoration: none; color: #000; font-family: Tahoma; background: url(/img/file.png) left no-repeat;}

#download_form {margin: 30px 0 0; text-align: right;}
#download_form span {display: inline-block; text-align: left; width: 55px; color: #000;}
#download_form input[type='text'], #download_form input[type='password'] {border: 1px solid #000; margin: 0 0 12px; height: 17px; line-height: 17px;}
#download_form input[type='submit'] {width: 65px; height: 20px; background: url(/img/login_but.png); border: none; padding: 0 0 3px; font-family: Arial; font-size: 14px; color: #fff;}

#files_link {display: block; margin: 20px 0 0; color: #000;}
#logout {display: block; margin: 7px 0 0; color: #000; text-align: right;}