/*
   *
   * Main stylesheet for Lilas Site Project.
   *
   * Author: Alexander Kolosov
   * Date: 26.11.2006
   *
*/
#counters {visibility: hidden}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  border: none;
  color: #FFFED2;
/*  font-size: x-small;*/
  font-size: 89%;
  font-family: verdana, helvetica, arial, "nimbus sans l", sans-serif;
}

h1 { font-size: 140%; font-weight: lighter;}
h2 { font-size: 115%; margin-bottom: -12px;}  /* font-weight: lighter; */
h3 { font-size: 110%;}
h4 { font-size: 105%;}
h5 { font-size: 100%;}

/*h1, h2, h3 { margin:0; padding:0; }*/

a { color: #FFFED2; }

img {border: none; margin:0; padding:0;}

table.layout { border: none; width: 100%; margin: 0px; padding:0px;}

body {
  padding-left: 30px;
  background: #351021;
  background-repeat: repeat;
/*  padding-top: 30px;*/
  padding-right: 5em;
}

body.lines { 
  background-image: url("images/bg.gif");  
}

body.leafs { 
  background-image: url("images/bg3.gif");
}

/** BEGIN: Main page */
#main {
    padding: 0;
}

#main_decor {
  background: #47191c;
  background-image: url("images/bg2.gif");
  background-repeat: repeat;
  vertical-align: top;
  text-align: center;
  padding: 0px;
  margin: 0px;
  width: 43%;
}

#main_sidebar {
  text-align: right;
  vertical-align: top;
  padding-top: 250px;
  padding-right: 5px;
  width: 20%;
}

#bl_right {
	text-align:left;
	vertical-align:top;
	padding-top: 8px;
	padding-left: 20px;
	padding-right: 20px;
	width: 37%;
}

#bl_right {color: #fffed2;}

#bl_right p{font-size: 98.5%;}

/** END: Main page */


/** BEGIN: Sidebar */

#sidebar { 
  width: 170px;
  float: left;
  text-align: right;
  
}

#sidebar.edit { 
  width: 100px;
  margin-top: 5em;  
}

#logo { 
  margin-bottom: 5em;
  height: 71px;
  padding-top: 30px;
}

#logo.modelView {
    margin-bottom: 2em;
}

/*** BEGIN: Navigation bar */

#nav-list {

  list-style-type: none;
  margin:0;
  padding:0;
  margin-top: 30px;
}

#nav-list li {
  margin-bottom: 1.4em;
}

#nav-list a {
  color: #FFFED2;
  text-decoration: none;
  font-size: 110%;
}

#nav-list a.selected-item {
  font-weight: bolder;
}

#nav-list a:hover {
    font-weight: bolder;
}

/**** END: Navigation bar */

#decor {
  top:0;
  float: left;
  width: 70px;
  height: 100%;
  left: 200px;
  margin-left: 5px;
  
  background: #351021;
  background-image: url("images/bg2.gif");
  background-repeat: repeat;
  
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
  position: absolute;
}

body>#decor { 
  position: fixed;
}

/** END: Sidebar */

/** BEGIN: Content */

#content { 
  margin-left: 240px; /* width of sidebar + width of decor = 170 + 70 = 240 */
  padding-top: 30px;
  padding-left: 3em;
  padding-bottom: 3em; 
}

#content.edit { 
  margin-left: 100px;
}

#title {
  position: relative;
  height: 71px; 
  margin-bottom: 5em;
}

#title.cont_gal {
  margin-bottom: 0;
}

#title h1 {
  position: absolute;
  bottom: 0;
}

h3.fancy {
  background-image: url(images/bullet.gif);
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 23px;
}

ul.invisible {
  list-style: none;
  margin-bottom: 2.5em;
}

ul.invisible li {
   margin-bottom: 0;
}

ul.fancy {
  list-style: circle;
  list-style-image: url(images/bullet.gif);
}

ul.fancy li {
  margin-bottom: 0.5em;
}

#agency p {
  margin-top:0;
  text-indent: 3em;
}

#mapWrapper {
    position: absolute;
    width: 603px;
    padding-top: 5em;
    padding-bottom: 3em; 
}

#mapWrapper img {
    display: block;
    margin-bottom: 1em;
}

#gallery {
    position: absolute;
    padding-top: 5em;
    padding-bottom: 3em; 

}

#galleryNews {
    padding-top: 5em;
    padding-bottom: 3em; 

}

/**** BEGIN Strange wish of customer for "Model School" page */
#order_button { 
  float: left;
  width: 64px;
}

#order_info {
    margin-left: 64px;
    padding-left: 3em;
}
/**** END */

#order_form td.input input, 
#order_form td.input select, 
#order_form td.input textarea{ 
  margin-left: 0.5em;
  border: solid 1px;
  background-color: #FFFED2;
  color: black;  
}

#order_form td.input textarea{ 
    overflow: auto;
}

#order_form td.input input, #order_form td.input textarea {
    width: 98%;
}

#order_form table { 
  width: 95%;
}

#order_form td { 
  padding-bottom: 1em;
}

#order_form td.label { 
  text-align: right;
  vertical-align: top;
  width: 13em;
}

#order_form td.submit { 
  text-align: center;
}

#order_form td.footnote { 
  font-size: smaller;
}

/** END: Content */


/** BEGIN: Gallery module */

#galPhoto {
    float: left;
    text-align: center;
}

#galDescr {
    padding-left: 2em;
    padding-right: 1em;
}

#galDescr h3 {
    margin-bottom: 3em;
}

div.galListItem {
    text-align: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

/*
div.galListItem {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

div.galListItemNews {
    float: normal;
}*/

a.galListImgLink {
    padding:0;
    margin:0;
    text-decoration: none;
}

a.galListImgLink span{
    text-decoration: underline;
}

a.galCounter {
    font-size: 110%;
    text-decoration: none;
    margin-right: 0.5em;
}

span.galCurPos {
    font-size: larger;
    font-weight: bolder;
}

img.galImage {
    margin-bottom: 0.7em;
}

img.galNav {
    position: relative;
    bottom: -8px;
}

#galPrevImg {
    margin-right: 0.5em;
}

table.editForm {
    border-collapse: collapse;
}

table.editForm td {
    border: 1px solid white;
}

td.galThumbCol, td.galCheckCol {
    text-align: center;
}

td.galLabel {
    text-align: right;
    vertical-align: top;
}

div.galListNav {
    clear: both;
    text-align: center;
}

#galList {
/*    float:left;*/
}

#galList td {
    padding-right: 1em;
    padding-bottom: 1em;
}

img.galListImg {
    margin-top: 0.5em;
}

div.newsListItem {
/*    padding: 0;
    margin-bottom: 2em;*/
    border: 2px solid green;
}

div.newsListItemHeader {
/*    margin: 0;
    padding: 0;*/
    border-bottom: 2px solid green;
}

/**** END: Gallery module */

#msg_panel { 
  text-align: center;
  margin-bottom: 2em;
}

div#counters {
    visibility: hidden;
}



.thumbnail{
position: relative;
z-index: 0;
}




.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
	visibility: visible;
	top: 0;
	left: 30px; /*position where enlarged image should offset horizontally */
}

/*.thumbnail span{ 
position: relative;
width: 100%;
float: none;
clear: both;
}

.thumbnail img{ 
position: relative;
float: none;
clear: both;
}*/

a.h3 {
	position: relative;
	top: 7px;
	text-decoration: none;
	font-size: 110%;
	font-weight: bold;
	margin-bottom: 1em;
}

div.alert {
	width: 208px;
	position: relative;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

div.alert p {
	font-size: 90%;
	margin-top: 0.3em;
}

div.alert b{
	display: block;
	font-size: 130%;
	font-weight: normal;
}
