body
{
margin: 0 3% 0 0; padding: 0;
font: 12px "Times New Roman", Times, Georgia, sans-serif;
color: #5A2D00;
background: #223813;
}

p, ul, li, dl, dt, dd, h1, h2, h3, form
{
margin: 0;padding: 0;
}

img
{
border: 0;
}

a
{
color: #5A2D00;
text-decoration: underline;
}

#container
{
min-width: 776px;
width:expression(document.body.clientWidth < 779? "778px": "100%" );
}

#header
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/header_bg_.jpg") no-repeat left top;
height: 106px;
}
#logo
{
float: left;
}
#logo a
{
height: 54px;
width: 60px;
display: block;
}
#logo a span
{
display: none;
}

#menu
{
margin: 0 0 0 217px;
padding: 55px 53px 0 0;
}
#menu table
{
border: 0;
width: 100%;
}
#menu td
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_bg.jpg") repeat-x left bottom;
text-align: center;
}
#menu td a
{
display: block;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_right.jpg") no-repeat right bottom;
}
#menu td a span
{
display: block;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_left.jpg") no-repeat left bottom;
padding: 24px 0 10px 0;
}

#menu td.active
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_a.jpg") repeat-x left top;
}
#menu td.active a
{
display: block;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_right_a.jpg") no-repeat right top;
}
#menu td.active span
{
display: block;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/menuli_left_a.jpg") no-repeat left top;
}
#mainframe
{
background: #FCE8CF url("http://www.liepajasmuzejs.lv/templates//img/ru/textright_bg.gif") repeat-y right top;
}
#mainframetopright
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_bg.jpg") no-repeat right top;
}
#mainframebottom
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframebottom_bg.gif") repeat-x left bottom;
}
#mainframebottomright
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframebottomright_bg.gif") no-repeat right bottom;
}
#mainframeleft
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_left_bg.gif") repeat-y left top;
}
#mainframeleftbottom
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_leftbottom.jpg") no-repeat left bottom;
}
#mainframelefttop
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_lefttop.jpg") no-repeat left top;
}
* html #mainframelefttop
{
height: 500px;
padding: 0 0 60px 0;
width:expression(document.body.clientWidth < 779? "778px": "100%" );
}

#language
{
float: right;
}
#language ul
{
padding: 0 53px 0 0;
}
#language li
{
list-style-type: none;
float: left;
}
#language a
{
display: block;
height: 52px;
}
#language a span
{
display: none;
}
#language #english a
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/english.jpg") no-repeat left top;
width: 56px;
}
#language #english a.active
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/english_on.jpg") no-repeat left top;
width: 56px;
}
#language #latviski a
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/latviski.jpg") no-repeat left top;
width: 57px;
}
#language #latviski a.active
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/latviski_on.jpg") no-repeat left top;
}
#language #poruski a
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/poruski.jpg") no-repeat left top;
width: 70px;
}
#language #poruski a.active
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/poruski_on.jpg") no-repeat left top;
}

#submenu
{
padding: 40px 20px 0 15px;
font: 12px "Times New Roman";
}
#submenu li
{
list-style-type: none;
color: #4C4640;
padding: 5px 0 0 0;
}
#submenu li.active
{
font-weight: bold;
}
#submenu li a
{
color: #4C4640;
text-decoration: none;
}

#leftframe
{
float: left;
}

#text
{
min-height: 500px;
padding: 35px 0 60px 0;
margin: 0 53px 0 240px;
}
#text h1
{
font: 24px "Times New Roman";
}
#text h2
{
font: bold 18px "Times New Roman";
padding: 20px 0 0 0;
}
#text h3
{
font: bold 14px "Times New Roman";
padding: 20px 0 0 0;
}
#text p
{
padding: 10px 0 0 0;
line-height: 16px;
}
#text ul
{
margin: 5px 0 0 40px;
}
#text p table
{
margin: 0; padding: 0;
}
#text table
{
width: 99%;
margin: 20px 0 0 0;
border: 0;
border-bottom: 1px solid #FDC76B;
}
#text table td
{
border-bottom: 1px solid #FFF6CE;
padding: 8px 15px 5px 15px;
text-align: left;
font: 11px Tahoma, Arial, sans-serif;
color: #7E5D18;
}
#text table tr.tableFirstRow td
{
width: 20%;
}
#text table tr.tableFirstRow td
{
background: #DFB683;
padding: 8px 15px 5px 15px;
text-align: left;
font: bold 11px Tahoma, Arial, sans-serif;
color: #66461E;
text-decoration: underline;
border-bottom: 1px solid #E4C091;
}

#text .galerija, #text .galerija td
{
border: 0;
}

#text form
{
padding: 45px 60px 0 25px;
margin: 0;
}
#text form table
{
width: 99%;
font: 11px Arial, Tahoma, sans-serif;
margin: 0; padding: 0;
border: 0;
}
#text form table td.firstcolumn, #text form table td
{
border: 0;
padding: 5px 15px 5px 20px;
}
#text form table td.firstcolumn, #text form table .first td, #text form table .last td
{
border-top: 1px solid #E8CC9E;
}
#text form table td.firstcolumn
{
font: 11px Arial, Tahoma, sans-serif;
text-align: left;
color: #000;
width: 30%;
}
#text form table td.required
{
background: #FEEEDA;
}


#text form input
{
font: 11px Arial, Tahoma, sans-serif;
}

#text form input.forminput
{
font: 11px Arial, Tahoma, sans-serif;
width: 100%;
}

#text form table img
{
margin: 3px 5px 0 0;
}

#navigation
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/home.gif") no-repeat left top;
margin: 10px 0 0 7px;
padding: 0 0 0 19px;
color: #736B61;
}
#navigation p
{
margin: 0; padding: 0;
}
#navigation a
{
color: #736B61;
text-decoration: underline;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/navigationa_bg.gif") no-repeat right top;
padding: 0 10px 0 2px;
}

#footer
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/footer_bg.jpg") no-repeat left top;
height: 186px;
padding: 0 0 0 350px;
font: 12px "Times New Roman", Times, Georgia, sans-serif;
color: #FCE6CC;
}
#footer p
{
padding: 0 0 0 66px;
}
#footer p.first
{
padding: 70px 0 0 66px;
}
#footer a
{
color: #FCE6CC;
text-decoration: underline;
}

#footer .liepajaslogo
{
float: left;
margin: 46px 0 0 0;
}
#footer .liepajaslogo a
{
display: block;
margin: 2px 0 0 2px;
width: 47px;
height: 56px;
}
#footer .liepajaslogo a span
{
display: none;
}
#footer #kkf
{
float: right;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/kkf_bg.gif") no-repeat right top;
width: 350px;
margin: 46px 10px 0 0;
}
#footer #kkf p
{
text-align: right;
margin: 20px 144px 20px 0;
}
#footer .kkflogo
{
float: right;
}
#footer .kkflogo a
{
display: block;
width: 114px;
height: 46px;
margin: 3px 0 0 0;
}
#footer .kkflogo a span
{
display: none;
}
body#index
{
margin: 0; padding: 0;
text-align: center;
}

#index #container
{
width: 654px;
margin: auto;
text-align: left;
}

#index #header
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/index_header_bg.jpg") no-repeat center bottom;
height: 555px;
text-align: center;
}
#index #language
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/index_language_bg.jpg") no-repeat right bottom;
height: 99px;
float: none;
display: block;
width: auto;
margin: 0 181px 0 0;
}
* html #index #language
{
margin: 0 120px 0 0;
}
#index #language ul
{
margin: 0; padding: 0;
}
#index #language li
{
list-style-type: none;
float: right;
background: none;
}
#index #language li a
{
display: block;
height: 99px;
}
#index #language li#english a
{
width: 123px;
background: none;
}
#index #language li#latviski a
{
width: 88px;
background: none;
}
#index #language li#poruski a
{
width: 95px;
background: none;
}
#index #language li a span
{
display: none;
}

#index #footer
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/index_footer_bg.gif") no-repeat left top;
height: 57px;
width: 654px;
font: 12px "Times New Roman", Times, Georgia, sans-serif;
color: #E2BC91;
padding: 0;
margin: auto;
}
#index #footer a
{
color: #E2BC91;
text-decoration: underline;
}
#index #footer p
{
margin: 0; padding: 0;
text-align: left;
}


#container_menu_empty 
{
min-width: 776px;
width:expression(document.body.clientWidth < 779? "778px": "100%" );
}
#container_menu_empty #menu
{
margin: 0 0 0 100px;
padding: 55px 53px 0 0;
}

#container_menu_empty #text
{
min-height: 500px;
padding: 35px 0 60px 0;
margin: 0 53px 0 100px;
}
#container_menu_empty #mainframeleft
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_left_bg_e.gif") repeat-y left top;
}
#container_menu_empty #mainframeleftbottom
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_leftbottom_e.jpg") no-repeat left bottom;
}
#container_menu_empty #mainframelefttop
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/mainframe_lefttop_e.jpg") no-repeat left top;
}
#container_menu_empty #header
{
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/header_bg.jpg") no-repeat left top;
height: 106px;
}



#index #liepaja p
{
margin: 0 0 0 64px;
}
#index #liepaja p.first
{
padding: 20px 0 0 0;
}
#index .liepajaslogo
{
float: left;
margin: 0;
}
#index .liepajaslogo a
{
display: block;
margin: 2px 0 0 2px;
width: 47px;
height: 56px;
}
#index .liepajaslogo a span
{
display: none;
}

#index #kkf
{
float: right;
background: url("http://www.liepajasmuzejs.lv/templates//img/ru/kkf_bg.gif") no-repeat right top;
width: 300px;
margin: 0;
}
#index #kkf p
{
text-align: right;
margin: 20px 144px 20px 0;
}
#index .kkflogo
{
float: right;
}
#index .kkflogo a
{
display: block;
width: 114px;
height: 46px;
margin: 3px 0 0 0;
}
#index .kkflogo a span
{
display: none;
}