html,body {padding:0;margin:0; height:100%}
body {position:relative; color:#000; background:#d3b58f url(../img/bg.jpg) repeat -5px 0; font:.81em Arial,Helvetica,'MS Sans Serif',sans-serif; min-width:1000px}
td,th {color:#000; font:1em Arial,Helvetica,'MS Sans Serif',sans-serif}
input,textarea,option,select {color:#000; font:1em Arial,Helvetica,'MS Sans Serif',sans-serif}

h1,h2,h3,h4,h5,p {margin:0; padding:0}

img {border:0}

a {color:#7c3012; text-decoration:underline}
a:hover {text-decoration:none}

input:focus, a:focus, a:active {outline: none}

#minWidth {position:relative; min-width:1000px; height:100%}
html>body #minWidth {height:auto; min-height:100%}

#outer {position:relative; z-index:9; width:100%; height:602px}
#inner {height:602px}
html>body #outer, html>body #inner {height:auto; min-height:602px}

.middle-main {position:relative; height:266px}
html>body .middle-main {height:auto; min-height:266px}
.middle-main h1 {color:#2a251d; font:2.769em/.806em Georgia,"Times New Roman"; padding-left:177px; padding-bottom:25px; background: url(../img/bgMaintitle.jpg) repeat-x 0 100%; margin-bottom:6px}
.middle-main h1 strong {display:block}
.main-content {color:#dbc29f; background:#7d4225 url(../img/bgMaincontent.jpg) repeat -20% 0; font-size:1.077em; padding:15px 455px 15px 180px}
.main-content p {line-height:1.429em; padding-bottom:7px}
.main-content a {color:#e4ded6}

.ramka-1 {position:absolute; top:-27px; left:0; width:170px; height:342px; background: url(../img/ramka-1.png)}
.ramka-1 div {width:170px; height:342px; background: url(../img/ramka-1.gif)}

.ramka-2 {position:absolute; z-index:10; top:-35px; right:145px; width:301px; height:341px; background: url(../img/ramka-2.png)}
.ramka-2 div {width:301px; height:341px; background: url(../img/ramka-2.gif)}

.ramka-3 {position:absolute; z-index:9; top:-59px; right:6px; width:344px; height:350px; background: url(../img/ramka-3.png)}
.ramka-3 div {width:344px; height:350px; background: url(../img/ramka-3.gif)}

.ramka-4 {position:absolute; z-index:8; top:18px; right:0; width:275px; height:314px; background: url(../img/ramka-4.png)}
.ramka-4 div {width:275px; height:314px; background: url(../img/ramka-4.gif)}

.hid-o {width:100%; overflow:hidden}
form {margin:0; padding:0}
.clr {clear:both; float:none !important; height:1px !important; font-size:1px !important; border:none; margin:0 !important; padding:0 !important; background:transparent !important; visibility:hidden !important}
div.txt-tb:after {display: block; line-height: 0; height: 0; visibility: hidden; content: "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ";}
div.txt-tb {position:relative; z-index:999; display:table-cell}
/* for safari */ body:last-child:not(:root:root) div.txt-tb {display:table}
body:last-child:not(:root:root) div.txt-tb:after {display: block; line-height: 0; height: 0; visibility: hidden; content: " ";}/* for safari */
