/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}
.field-validation-valid
{
    display: none;
}
.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}
.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}
.validation-summary-valid
{
    display: none;
}

body, html, #outermost
{
  height: 100%;
  padding: 0; margin: 0;
  border: 0; overflow: hidden;
  font-family: arial, verdana;
}

#outermost
{
  padding: 1em 1em 0.5em 1em;
}
  #overall-content
  {
    position: relative;
    width: 100%; height: 100%; 
    padding: 0; margin: 0 auto;
    overflow: hidden;
  }
  #header
  {
    position: absolute;
    top: 0px; width: 100%;
    z-index: 1001;
  }
  #header div
  {
    background: white;
  }
  #footer
  {
    position: absolute;
    bottom: 1.5em; width: 100%;
    height: 1em;
  }
  #page-content
  {
    position: absolute;
    width: 100%; height: 100%; top: 0px;
    padding-top: 3.5em; padding-bottom: 3em;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
    #payload
    {
      overflow: auto;
      height: 100%;
    }

#YMapsID
{
  width: 100%;
  height: 100%;
}

body.index
{
  min-width: 750px;
}
#form
{
  position: absolute;
  left: 0;
  margin-bottom: 1em;
  text-align: left;
  background-color: white;
}
  #form label
  {
    display: inline-block;
    min-width: 6em;
  }
  #form i
  {
    background: url(http://favicon.yandex.ru/favicon/www.yandex.ru/fotki.yandex.ru) no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: baseline;
  }
    i#fotki
    {
      background-position: 0 -16px;
    }
  #login, #albums
  {
    width: 23em;
  }
#copyright
{
  float: left;
}
div.addthis_toolbox
{
  float: right;
}
#title, #code
{
  margin: 0 0 0.5em 0;
  padding-right: 2px;
  float: right;
  max-width: 30%;
}
  #code
  {
    clear: both;
  }
  #code a.title
  {
    text-decoration: none;
    outline: none;
    border-bottom: 1px dotted;
    border-collapse: separate;
  }
  #code .content
  {
    z-index: 1000;
    border: 1em solid white;
    margin: 0 -1em 0 -1em;
    display: none;
  }
    #code .subtitle
    {
      margin-top: 1em;
    }
    #code .content textarea
    {
      width: 100%;
      margin: 0;
      padding: 0;
    }

.loader
{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 20px;
  margin-top: -10px;
  margin-left: -110px;
  background: url(ajax-loader.gif);
}

.w { color: gray; }
.error { background-color: #FFB6C1; }

