/** GLOBAL RESET **************************************************************/

* {
  margin: 0px;
  padding: 0px;
  text-align: left;
}

/** STANARD STYLES ************************************************************/

body {  
  text-align: center;
  font-family: sans-serif;
  font-size: 12px;
}

p {
  margin-bottom: 5px;
}

hr {
  margin: 5px;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, 
fieldset, address { margin:0.75em 0;}

h1 {font-size:1.67em;}
h2 {font-size:1.39em;}
h3 {font-size:1.2em;}
h4 {font-size:1em;}

a       { color: #00f; text-decoration: none; }
a:hover { color: #f00; border-bottom: 1px dashed #f00; }

button { text-align: center; }

/** CUSTOM STYLES *************************************************************/

#container {
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
}

#titlebar {
  position: relative;
  width: 100%;
  height: 100px;
  background-color: #4f4f97;
  margin-bottom: 1px;
}

#title {
  position: absolute;
  left: 15px;
  bottom: 15px;
  color: white;
  font-size: 4em;
}

#subtitle {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  font-size: 0.75em;
}

#subtitle a       { color: #fff; text-decoration: none; border-bottom: 1px dashed #fff; }
#subtitle a:hover { color: #f88; border-bottom: 1px dashed #f88; }

#message, #notice, #error { text-align: center; }
#message {  
  background-color: #7474f0;
  margin-bottom: 4px; 
  padding: 5px;
  color: white;
}
#notice { color: #ff0; }
#error  { font-size: 2em; font-weight: bold; color: #f00; }

/** LEFT BAR ******************************************************************/

#leftbar   { float: left; margin-top: 10px; margin-bottom: 5px; }
#leftbar a {
  width:  150px;
  height: 25px;
  display: block;
  
  text-decoration: none;

  color: #000;
  background-color: #ece9d8;
  
  border-top: 1px solid #f6f4f5;
  border-left: 1px solid #f6f4f5;
  border-right: 1px solid #adaa9b;
  border-bottom: 1px solid #adaa9b;
} 

#leftbar a:hover {
  text-decoration: none;

  color: #000;  
  background-color: #dcd6b4;
  
  border-top: 1px solid #adaa9b;
  border-left: 1px solid #adaa9b;
  border-right: 1px solid #f6f4f5;
  border-bottom: 1px solid #f6f4f5;
} 

#leftbar a.selected {
  text-decoration: none;

  color: #000;
  background-color: #cfc799;

  border-top: 1px solid #adaa9b;
  border-left: 1px solid #adaa9b;
  border-right: 1px solid #f6f4f5;
  border-bottom: 1px solid #f6f4f5;
}

#leftbar a span {
  position: relative;
  float: left;
  top: 5px;
  left: 10px;
}

#leftbar a img {
  top: 2px;
  left: 5px;
  position: relative;
  float: left;
  border: none;
  height: 19px;
  width:  22px;
}

#leftbar a.sub, #leftbar a.sub:hover, #leftbar a.subsel { border: 1px solid white; }
#leftbar a.sub       { background-color: #eee; }
#leftbar a.sub:hover { background-color: #ccc; }
#leftbar a.subsel    { background-color: #ddd; }
#leftbar a.sub img,  #leftbar a.subsel img  { left: 10px; }
#leftbar a.sub span, #leftbar a.subsel span { left: 15px; }

/******************************************************************************/

#content    { margin-left: 155px; }
#contentpad { margin:      15px 0px 15px 15px; }

#pagelist, #medialist {
  float: right;
  width: 150px;
  border: 1px solid #eee;
  background-color: #ddd;
}
#pagelist div, #medialist div { margin-left: 5px; }
#pageedit, #mediaedit { width: 665px; }

#medialist {
  height: 500px;
  overflow: auto;
  margin-bottom: 15px;
}

#mediaicons {
  list-style-type: none;
  margin:10px;
  padding:0;
}

.mediaicon {
  float:  left;
  width:  100px;
  height: 70px;
  margin: 5px 2px 5px 2px;
  text-align: center; 
  overflow: hidden; }
  
.mediaicon img {
  display: block; 
  margin:  0px auto 0px auto; 
  border:  0px; }

.mediaiconimg { text-align: center; width:100px; height:50px; margin: 0px;}
.mediaicontxt { text-align: center; width:100px; height:20px;  margin: 0px; overflow: hidden;}  

#footer {
  clear: both;
  background-color: #7474f0;
  margin-bottom: 5px; 
  padding: 5px;  
  color: #fff;
}
#footer a       { color: #fff; text-decoration: none; border-bottom: 1px dashed #fff; }
#footer a:hover { color: #f00; border-bottom: 1px dashed #f00; }
#footercontact  { float: right; }

/** INPUT CLASSES *************************************************************/

.warning { font-weight: bold; color: #f00; }

.htmledit     { width: 660px; }
.htmleditfull { width: 100%; }

.input_1 { width: 100px; }
.input_2 { width: 200px; }
.input_3 { width: 300px; }
.input_4 { width: 400px; }
.input_5 { width: 500px; }
.input_6 { width: 600px; }
.input_p { width: 99%; }

.textright { text-align: right; }



#eventslist {
  width: 100%;
  height: 300px;
  overflow: auto;
  border: 1px solid black;
  margin: 0 0 10px 0;
}

#eventslist table { margin: 2px; width: 99%; }
#eventslist table td { margin: 0px; padding: 2px; border: 0px; }

.edark { background-color:#EEEEEE; }

.i1 { margin-left: 0em; }
.i2 { margin-left: 1em; }
.i3 { margin-left: 2em; }
.i4 { margin-left: 3em; }
.i5 { margin-left: 4em; }
.i6 { margin-left: 5em; }
.i7 { margin-left: 6em; }
.i8 { margin-left: 7em; }
.i9 { margin-left: 8em; }
