/*Menu*/
  .menu {
    font-weight:bold;
    font-size:0.94em;
    font-family:Arial, Helvetica, sans-serif;
    margin-left:40px;
  }

  .menu .item {
    position:relative;
    overflow:hidden;
    width:100%;
    height:24px;
    margin-top:3px;
  }

  .menu .item .rounded {
    position:absolute;
    width:100%;
    height:24px;
    left:-8px;
    top:0;
    z-index:1;
    background:none;
  }

  .menu .item.selected .rounded { background: url(/static/images/menu-rounded-shape.png);}

  .menu .item .content {
    padding:3px;
    margin:0 7px;
    width:auto;
    zoom:1;
  }

    .menu .item.selected .content { background:#000; }
    .menu .item .r { margin-left:100%;}
    .menu .item a { position:relative; z-index:1;}

    .menu a, .menu a:visited { color:#333; }
    .menu a:hover, .menu a:focus { color: #990000;}

    .menu .selected a,
    .menu .selected a:visited,
    .menu .selected a:hover,
    .menu .selected a:focus {
        color:#e7e4cd;
        text-decoration:none;
        padding:0;
    }

/*Pathway*/
.pathway {
  font-size:0.7em;
  margin-bottom:1.8em;
  margin-top:-1.8em;  
  color:#666666;
  position:relative;
}

.pathway.create { margin-top:0.5em; }

.pathway a:link, .pathway a:visited { color:#666666; }
.pathway a:hover, .pathway a:focus { color: #990000; }

.pathway a:link.selected, .pathway a:visited.selected {
  text-decoration:none;
  background:#666666;
  color:#e7e4ce;
  padding:0 3px 1px 3px;
  font-weight:normal !important;
}
.pathway a.selected:hover, .pathway a.selected:focus {
  color:#e7e4ce;
  text-decoration:none;
  font-weight:normal !important;
}

.pathway .arr { font-size:1.2em; }

/*Paging*/
.paging { margin:0.5em 0 0 1.5em;}

.paging .arr { font-size:1.4em; }

.paging a { padding:4px 8px !important;}
.paging a.selected, .paging a.selected:visited,
.paging a.selected:hover, .paging a.selected:focus {
  text-decoration:none;
  background-color:#bbcbc8;
  font-weight:bold;
  color:#333333;
}

.paging .next-prev li {
  display:inline;
  margin-right:35px;
}

.paging .numbers { margin:1.55em 0 0 0; }
.paging .numbers li {
  display:inline;
  margin-right:2px;
}

.paging table td {
  padding-right:10px;
  vertical-align:top;
}

.cleaner {
  clear:both;
  overflow:hidden;
  height:0;
}

/*Search*/
.search {
  padding:0 90px 0 0;
  position:relative;
}

.search.simple {
  padding: 0 23px 0 0;
  width:70%;
  float:right;
  margin-bottom:30px;
}

.search .text {
  width:100%;
  -ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=85);
  filter: Alpha(Opacity=85)
  -moz-opacity: .85;
  opacity: .85;
}

.search .button {
  width:80px;
  position:absolute;
  top:0;
  right:0;
}

.search button {
  width:19px;
  position:absolute;
  top:1px;
  right:0;
}

/*Blocks*/
.block  {
  position: relative;
  z-index: 1;
  min-height: 10px;
  color: #000000;
  margin-bottom:2.76em;
  margin-top: 10px;
  padding-top:10px;
}

.block .c {
  position: relative;
  z-index: 2;
  display: block;
  padding: 5px 20px;
}

.block .t, .block .b {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 10px;
  overflow: hidden;
  //width: 100%;
}

.block .b {
  top: auto;
  bottom: -10px;
  height: 10px;
}

.block .r {
  left: auto;
  right: 0;
  width: 10px;
}

.block .t *, .block .b * {
  position: absolute;
  top: 0;
  left: 0;
  width: 1300px;
  height: 1300px;
  background: url('/static/images/rounded-shape.png') 0 0 no-repeat;
}

.block .t * { margin-top: -10px; }
.block .l * { //width: 100%; margin-left: -10px; }

.block h1, .extra-block h1 {
    color:#82826d;
    text-shadow: #edebd5 1px 1px 0;
}


.block h1 a, .block h3 a, .block h3 a:visited { color: #000000;}
.block h3 a:hover, a:focus { color: #990000;}

/*Afisha*/
div.afishainclude h1 {
    margin-bottom:10px;
}


div.afishainclude h2 {
    margin-bottom: 0.2em;
}

div.afishainclude h2 a, div.afishainclude h2 a:visited{
    color: #5C5550;
}

/*div.afishainclude p{*/
    /*color:#000000;*/
    /*text-decoration:none;*/
/*}*/

div.afishainclude h2 a:hover, a:focus { color: #990000;}

div.afishadate {
    font-family:Arial,Helvetica,sans-serif;
    font-weight:bold;
    color:#82826D;
}
.extra-block { margin-bottom:1.43em;}

/*Information*/
.item-info {
    margin-bottom:0;
    color:#666;
    font-size:0.68em !important;
}

.item-info li { padding-bottom:0 !important;}

.item-info a, .item-info a:visited { color:#666; }
.item-info a:hover, .item-info a:focus { color: #990000; }

/*Rating*/
.rpanel .rating {
  background: #928d83;
  font-size:0.87em;
  color:#e7e4cd;
  padding:0 2px;
  white-space:nowrap;
}

/*Buttons*/
.button {
  height:26px;
  position:relative;
  overflow:hidden;
  width:100%;
  font-family:Arial, Helvetica, sans-serif;  
  margin-top:-1px;
}

.button .rounded {
  position:absolute;
  width:100%;
  height:26px;
  left:-21px;
  top:0;
  overflow:hidden;
  background: url('/static/images/button.png') 0 0 no-repeat;
  -background-image: none;
  -filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/static/images/button.png, sizingMethod=crop);
}

.button .content {
  margin:0px 15px;
  padding:2px 5px 2px 5px;
  background:#4e6776;
  border-bottom:1px solid #2d3a48;
  border-right:1px solid #2d3a48;
  border-top:1px solid #91b0aa;
  border-left:1px solid #91b0aa;
  zoom:1;
  width:auto;
  font-size:0.75em;
  line-height:1.3em;
  text-align:center;
}

ul .button .content { font-size:0.9em; }

.button .r { margin-left:100%; }

.button a:link, .button a:visited, .button a:hover {
  cursor: pointer;
  color:#faf7ed;
  font-weight:bold;
  text-decoration:none;
  position:relative;
}

/*Form*/
form { margin:0; padding:0;}
.form { margin: 0 0 0.6em 0;}
.form td { padding: 2px 0 !important; border:none !important; }
.form.oneline td { padding: 0 10px 0 0 !important; }

label { font-size: 0.81em; padding-right:10px; }
ul label { font-size: 0.81em; }

input, select, textarea {
    font-size:0.81em;
    font-family: Verdana, Geneva, sans-serif;
}

ul input, ul select, ul textarea { font-size:0.9em; }

input.text, textarea.text, select {
    border-top: 1px solid #808080;
    border-bottom: 1px solid #d4d0c8;
    border-left: 1px solid #808080;
    border-right: 1px solid #d4d0c8;
    background: #fafaf2 url(/static/images/input-bg.png) left top repeat-x;
    padding:2px 0;
}

select { padding:0;}

input.text { text-indent:2px; }

input:focus.text, select:focus, textarea:focus.text {
    background-color:#fff;
}

button {
    padding:0;
    margin:0;
    border:0;
    background:0;
    cursor:pointer;
}

.error-msg {
  font-size:0.81em;
  color: #990000;
}

.controls { margin-bottom:1.15em; }
