/************************************/
/************** GLOBALS *************/
/************************************/

body {
  background: #ffffff;
  line-height: 1.5;
  font-family: arial, sans-serif;
  font-size: 12px;
  color: #000000;
  margin: 0;
}

.node .field-type-image img {
  display: block;
}

.node img {
  max-width: 100%;
  height: auto;
}

p img {
  margin: 0 3px 0 0;
}

p {
  margin: 15px 0;
}

.node .content {
  text-align: justify;
}

a {
  color: #0059a5;
  text-decoration: none;
}

a.active,
a:hover {
  text-decoration: underline;
}

p a {
  color: #0059a5;
  text-decoration: underline;
}

p a.active,
p a:hover {
  text-decoration: none;
}

ul {
  padding: 0 0 0 1.5em;
}

.item-list ul li,
ul li {
  list-style: none;
  background: url(../images/list.png) no-repeat 0 3px;
  padding: 0 0 .25em 1.5em;
  margin: 0;
}

ul.contextual-links li {
  background: none;
}

.field-name-body ul {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

.tl, .tr, .br, .bl {
  width: 10px;
  height: 15px;
  position: absolute;
  z-index: 1;
}

.tl {
  left: -1px;
  top: 0;
}

.tr {
  right: -1px;
  top: 0;
}

.br {
  right: -1px;
  bottom: 0;
}

.bl {
  left: -1px;
  bottom: 0;
}

pre.ascii_art_captcha {
  font-size: .3em !important;
  line-height: .6 !important;
  margin: 15px 0 0;
}

div.messages {
  margin-top: 2px;
}

/************************************/
/*************** TABLE **************/
/************************************/

table {
  width: 100%;
  margin: 0 0 5px;
}

thead tr {
  background: #9dd9fb;
  color: #144e89;
}

tbody, tr {
  border: none;
}

tr.odd {
  background: #ffffff;
}

tr.even {
  background: #f6f6f6;
}

tr.odd td.active {
  background: #f6f6f6;
}

th, td {
  padding: 5px;
  border: none;
}

.field-name-body th,
.field-name-body td {
  border: 1px solid #000000;
}

/************************************/
/*************** FORMS **************/
/************************************/

.form-text {
  background: url(../images/form-text.png) repeat-x;
  height: 18px;
  border: 1px solid #bdbcbd;
  padding: 2px;
}

.form-textarea-wrapper .form-textarea {
  padding: 2px;
  resize: none;
}

.form-submit {
  background: #356aa0;
  font-size: 14px;
  color: #ffffff;
  border: 1px solid #174574;
  padding: 2px 10px;
  margin: 0 10px 0 0;
  cursor: pointer;
}

.form-submit:hover {
  background: #3ea9fc;
}

input.form-checkbox,
input.form-radio {
  vertical-align: top;
}

/************************************/
/*************** HEADER *************/
/************************************/

#header {
  padding: 3px 0 0;
  overflow: hidden;
}

#header > .section {
  background: url(../images/header.png) repeat-x;
  height: 104px;
  padding: 0 25px;
  margin: 1px 0 0;
  position: relative;
}

#header > .section .tl,
#header > .section .tr,
#header > .section .br,
#header > .section .bl {
  background: url(../images/header-corners.png) no-repeat;
}

#header > .section .tl {
  left: 0;
}

#header > .section .tr {
  background-position: 0 -15px;
  right: 0;
}

#header > .section .br {
  background-position: 0 -30px;
  right: 0;
}

#header > .section .bl {
  background-position: 0 -45px;
  left: 0;
}

/************************************/
/************* MAIN-MENU ************/
/************************************/

#main-menu .pane-content {
  text-align: center;
  padding: 5px 0 0;
}

#main-menu .pane-content ul {
  padding: 0;
}

#main-menu .pane-content ul li {
  background: none;
  display: inline;
  margin: 0 10px 0 0;
}

#main-menu .pane-content ul li.first {
  padding-left: 0;
}

#main-menu .pane-content ul li.last {
  margin: 0;
}

#main-menu .pane-content ul li a {
  font-size: 16px;
  color: #ffffff;
}

/************************************/
/*************** SEARCH *************/
/************************************/

#search {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 10px;
}

.pane-search-form .form-text {
  background: url(../images/form-text.png) repeat-x !important;
  width: 90%;
  display: block;
  float: left;
  margin: 0 5px 0 0 !important;
}

.pane-search-form .form-submit {
  height: 24px;
  padding: 0 10px;
  margin: 0;
}

/************************************/
/*************** FOOTER *************/
/************************************/

#footer > .section {
  background: url(../images/footer.png) repeat-x;
  height: 80px;
  padding: 0 20px;
  position: relative;
}

#footer > .section .tl,
#footer > .section .tr {
  background: url(../images/footer-corners.png) no-repeat;
}

#footer > .section .tl {
  left: 0;
}

#footer > .section .tr {
  background-position: 0 -15px;
  right: 0;
}

#footer .pane-content ul {
  padding: 0;
  margin: 0;
}

#footer .pane-content ul li {
  background: none;
  border-right: 1px solid #000000;
  display: inline;
  padding: 0 5px 0 0;
  margin: 0 3px 0 0;
}

#footer .pane-content ul li.last {
  border: none;
  padding: 0;
  margin: 0;
}

#footer .pane-content p {
  margin: 0;
}

#copyright {
  width: 100%;
  float: left;
  margin: 0 -100% 0 0;
}

#copyright > .section {
  padding: 22px 0 0;
  margin: 0 90px 0 0;
  overflow: hidden;
}

#developers-logo {
  background: url(../images/developers-logo.png) no-repeat 50% 0;
  font-family: tahoma, sans-serif;
  font-size: 11px;
  color: #ffffff;
  text-decoration: none;
  padding: 25px 0 0;
  float: right;
  margin: 20px 0 0;
}

#developers-logo:hover {
  background-position: 50% -40px;
  color: #c82522;
}

#counters {
  float: right;
  margin: 0 25px 0 0;
}

.live-internet-counter {
  padding: 30px 0 0;
}

.live-internet-counter img {
  display: block;
}

/************************************/
/************ PANELS-PANE ***********/
/************************************/

.panel-pane {
  position: relative;
}

.panel-pane-white {
  background: url(../images/panel-pane-white.png) repeat-x 0 100% #ffffff;
  border-left: 1px solid #eeeeee;
  border-right: 1px solid #eeeeee;
}

.panel-pane-white .tl,
.panel-pane-white .tr,
.panel-pane-white .br,
.panel-pane-white .bl {
  background: url(../images/panel-pane-white-corners.png) no-repeat;
}

.panel-pane-white .tr {
  background-position: 0 -15px;
}

.panel-pane-white .br {
  background-position: 0 -30px;
}

.panel-pane-white .bl {
  background-position: 0 -45px;
}

.panel-pane-blue {
  background: url(../images/panel-pane-blue.png) repeat-x 0 100% #abdffe;
  border-left: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
}

.panel-pane-blue .tl,
.panel-pane-blue .tr,
.panel-pane-blue .br,
.panel-pane-blue .bl {
  background: url(../images/panel-pane-blue-corners.png) no-repeat;
}

.panel-pane-blue .tr {
  background-position: 0 -15px;
}

.panel-pane-blue .br {
  background-position: 0 -30px;
}

.panel-pane-blue .bl {
  background-position: 0 -45px;
}

.panel-pane-green {
  background: url(../images/panel-pane-green.png) repeat-x 0 100% #a1cb1b;
  border-left: 1px solid #e0e4d2;
  border-right: 1px solid #e0e4d2;
}

.panel-pane-green .tl,
.panel-pane-green .tr,
.panel-pane-green .br,
.panel-pane-green .bl {
  background: url(../images/panel-pane-green-corners.png) no-repeat;
}

.panel-pane-green .tr {
  background-position: 0 -15px;
}

.panel-pane-green .br {
  background-position: 0 -30px;
}

.panel-pane-green .bl {
  background-position: 0 -45px;
}

.pane-title-wrapper {
  background: url(../images/pane-title.png) repeat-x;
  position: relative;
  z-index: 2;
}

.pane-title-left,
.pane-title-right {
  background: url(../images/pane-title.png) no-repeat 0 -32px;
  width: 10px;
  height: 32px;
  position: absolute;
  top: 0;
  z-index: 2;
}

.pane-title-left {
  left: 0;
}

.pane-title-right {
  background-position: 0 -64px;
  right: 0;
}

.pane-title {
  line-height: 32px;
  font-size: 12px;
  color: #144e89;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  z-index: 3;
}

.pane-content {
  position: relative;
}

.panel-pane-white .pane-content {
  padding: 10px;
  z-index: 2;
}

.panel-pane-blue .pane-content {
  padding: 10px;
  z-index: 2;
}

.panel-pane-green .pane-content {
  padding: 10px;
  z-index: 2;
}

#content-top .panel-pane,
#content-bottom .panel-pane,
#left-sidebar .panel-pane,
#right-sidebar .panel-pane {
  margin: 0 0 10px;
}

/************************************/
/*************** PAGER **************/
/************************************/

.item-list .pager {
  margin: .75em 0;
}

.pager-previous a,
.pager-next a,
.pager-current {
  font-size: 16px;
}

/************************************/
/**************** TABS **************/
/************************************/

.tabs.primary {
  border: none;
  padding: 0;
  margin: 5px 0;
}

.tabs.primary li {
  background: none;
  padding: 0;
  margin: 0 .5em 0 0;
}

.tabs.primary li a {
  background: #356aa0;
  height: 20px;
  line-height: 20px;
  color: #ffffff;
  border: 1px solid #174574;
  margin: 0;
}

.tabs.primary li a:hover,
.tabs.primary li a.active {
  background: #3ea9fc;
  color: #ffffff;
  border: 1px solid #174574;
}

.tabs.secondary {
  padding: .5em 0;
}

.tabs.secondary li {
  background: none;
}

/************************************/
/*********** LOCAL ACTIONS **********/
/************************************/

.local-actions-wrapper .pane-content {
  padding: 0 0 10px;
}

.local-actions-wrapper .pane-content li {
  display: inline;
  padding: 0 0 0 10px;
}

/************************************/
/************** HOLIDAY *************/
/************************************/

.view-holiday .view-content {
  position: relative;
}

.holiday-date {
  font-weight: bold;
  font-size: 16px;
  color: #000000;
  position: absolute;
  right: 0;
  top: 0;
}

.holiday-title {
  font-size: 13px;
  color: #ffffff;
  position: absolute;
  right: 0;
  bottom: 15px;
}

/************************************/
/********** SOCIALS-NETWORK *********/
/************************************/

.vkontakte-group,
.twitter-group,
.contact,
.odnoklassniki {
  background: url(../images/social-networks.png) no-repeat;
  width: 48px;
  height: 45px;
  display: block;
  float: left;
  margin: 0 12px 0 0;
}

.vkontakte-group:hover,
.twitter-group:hover,
.contact:hover,
.odnoklassniki:hover {
  opacity: 0.8;
}

.vkontakte-group {
  background-position: 0 -45px;
}

.odnoklassniki {
  background-position: 0 -90px;
}

.contact {
  background-position: 0 -135px;
  margin: 0;
}

/************************************/
/************* USER-BLOCK ***********/
/************************************/

.user-login,
.user-news,
.user-specification {
  background: url(../images/user-block.png) no-repeat 0 5px;
  font-size: 15px;
  color: #010101;
  display: block;
  padding: 5px 0 5px 35px;
}

.user-news {
  background-position: 0 -23px;
  margin: 0 0 5px;
}

.user-specification {
  background-position: 0 -55px;
}

/************************************/
/**************** IMHO **************/
/************************************/

.imho-title {
  margin: 0 0 5px;
}

.imho-title a {
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  color: #144e89;
}

.imho-image {
  float: left;
  margin: 0 5px 0 0;
}

.imho-image img {
  display: block;
}

.imho-body p {
  text-align: justify;
  margin-top: 0;
}

.imho-comment-link ul li {
  background: none;
  padding: 0 .5em 0 0;
  display: block;
}

/************************************/
/************* NAVIGATION ***********/
/************************************/

.pane-system-navigation ul li {
  background: none;
}

/************************************/
/*********** RECENT-COMMENT *********/
/************************************/

.pane-comment-recent li span {
  display: block;
}

/************************************/
/**************** POLL **************/
/************************************/

.poll .title {
  font-weight: bold;
  color: #0059a5;
  margin: 0 0 10px;
}

.poll .bar {
  background: url(../images/poll-bar.png) repeat-x;
  height: 13px;
  border: 1px solid #d0d0d0;
  padding: 0 1px;
}

.poll .bar .foreground {
  background: url(../images/poll-bar.png) repeat-x 0 -13px;
  height: 13px;
}

/************************************/
/********** WELCOME TO VISIT ********/
/************************************/

.pane-welcome-to-visit .pane-content ul {
  padding: 0;
}

/************************************/
/************* DISCUSSED ************/
/************************************/

.im222-thumbnail {
  overflow: hidden;
}

.im222-thumbnail-comment-count {
  background: url(../images/comment-count.png) no-repeat;
  width: 18px;
  height: 15px;
  line-height: 12px;
  font-size: 9px;
  color: #6c6c6c;
  text-align: center;
  float: right;
}

/************************************/
/************ COMPETITION ***********/
/************************************/

.pane-im222-site-elements-competition .pane-title-left,
.pane-im222-site-elements-competition .pane-title-right {
  background: url(../images/competition-corners.png) no-repeat;
  width: 223px;
  height: 32px;
}

.pane-im222-site-elements-competition .pane-title-right {
  background-position: 0 -32px;
}

.im222-competition-table tbody,
.im222-competition-table tr {
  background: none;
  border: none;
}

.im222-competition-td {
  background: url(../images/separator.png) no-repeat 100% 50%;
  width: 33.3%;
  text-align: center;
}

.im222-competition-td.last {
  background: none;
}

.im222-competition-td a {
  line-height: 60px;
  font-weight: bold;
  font-size: 14px;
}

/************************************/
/*************** NODES **************/
/************************************/

.node-reference-poll,
div.panel-pane div.node-reference-poll {
  border-top: 1px solid #eaeaea;
  margin: 0 0 15px;
}

.node-title {
  line-height: 16px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h1.node-title {
  font-size: 16px;
  color: #7da50f;
  margin: 10px 0 15px;
}

.node-reference-poll .node-title {
  font-size: 14px;
  color: #7da50f;
  margin: 15px 0;
}

.node-title a {
  font-size: 14px;
  color: #7da50f;
  text-decoration: underline;
}

.node-title a:hover {
  text-decoration: none;
}

.node-submitted {
  clear: left;
  float: right;
}

.node-submitted-date {
  background: url(../images/node-sprites.png) no-repeat 0 1px;
  color:  #6d7b8d;
  padding: 0 0 0 20px;
  margin: 0 0 .75em;
}

.node-submitted-author {
  background: url(../images/node-sprites.png) no-repeat 0 -18px;
  padding: 0 0 0 20px;
}

.node .content .field-name-field-pics {
  float: left;
  margin: 0 10px 10px 0;
}

.node-image-description {
  background: #eaeaea;
  color: #6d7b8d;
  padding: 5px;
}

.node-links {
  margin: 10px 0 0;
  overflow: hidden;
  clear: left;
}

.node-read-more {
  float: right;
}

.node-statistics {
  background: url(../images/node-sprites.png) no-repeat 0 -35px;
  padding: 0 0 0 20px;
  margin: 0 20px 0 0;
  float: left;
}

.node-comment-count {
  background: url(../images/node-sprites.png) no-repeat 0 -55px;
  padding: 0 0 0 20px;
  overflow: hidden;
}

.node .content .field-name-field-pic-gal {
  margin: 0 0 15px;
}

.node .content .field-name-field-pic-gal .field-item {
  display: inline;
}

.node .content .field-name-field-pic-gal img {
  display: inline;
  vertical-align: top;
  margin: 0 3px 3px 0;
}

.node .content .field-name-upload {
  overflow: hidden;
}

.node-terms ul li {
  background: none;
  display: inline;
  padding: 0 0 0 20px;
}

.node-terms ul li.first {
  background: url(../images/node-sprites.png) no-repeat 0 -76px;
}

/************************************/
/************ NODES TEASER **********/
/************************************/

.node-teaser,
div.panel-pane div.node-teaser {
  border-bottom: 1px solid #dbdbdb;
  padding: 0 0 10px;
  margin: 0 0 10px;
}

.node-contain-audio a,
.node-contain-photo a,
.node-contain-video a {
  background: url(../images/node-sprites.png) no-repeat 100% -96px;
  padding: 0 30px 0 0;
}

.node-contain-photo a {
  background-position: 100% -115px;
}

.node-contain-video a {
  background-position: 100% -135px;
}

.node-teaser .node-submitted {
  background: #eeeeee;
  padding: 4px 10px;
  overflow: hidden;
  margin: 0 0 10px;
  float: none;
}

.node-teaser .node-submitted-date {
  margin: 0;
}

.node-teaser .node-submitted-author {
  float: right;
}

.node-teaser .node-links {
  clear: both;
  margin: 0;
}

/************************************/
/**************** FORUM *************/
/************************************/

.forum-post-date {
  background: #eeeeee;
  padding: 10px;
  margin: 0 -10px;
}

.forum-content-wrapper {
  background: url(../images/forum-content-wrapper.png) repeat-y #ffffff;
  border-top: 1px solid #8cbf00;
  border-bottom: 1px solid #8cbf00;
  overflow: hidden;
  margin: 0 -10px;
}

.forum-post-author {
  width: 150px;
  padding: 10px;
  float: left;
}

.forum-content-wrapper .content {
  padding: 15px 15px 0 15px;
  overflow: hidden;
}

.forum-content-wrapper .field-name-body p:first-child {
  margin-top: 0;
}

/************************************/
/**************** FILM **************/
/************************************/

.node-film .field-name-field-pics {
  float: left;
  margin: 0 10px 0 0;
}

.node-film .field-name-field-film-category,
.node-film .field-name-field-film-continue,
.node-film .field-name-field-film-country {
  margin: 0 0 5px;
}

.node-film .field-name-field-film-category .field-label,
.node-film .field-name-field-film-continue .field-label,
.node-film .field-name-field-film-country .field-label {
  font-weight: normal;
  color: #989898;
  float: left;
  margin: 0 95px 0 0;
}

.node-film .field-name-field-film-continue .field-label {
  margin: 0 9px 0 0;
}

.node-film .field-name-field-film-country .field-label {
  margin: 0 85px 0 0;
}

.node-film .field-name-body {
  margin: 15px 0 0;
}

.node-film .field-name-body .field-label {
  font-weight: normal;
  color: #989898;
}

.node-film .field-name-body p:first-child {
  margin: 0 0 15px;
}

.node-film .content {
  overflow: hidden;
}

.node-film .field-collection-container {
  border: none;
  margin: 0;
}

.node-film .field-name-field-film-sessions > .field-label {
  border-bottom: 1px solid #d9d9d9;
  padding: 0 0 5px;
}

.node-film .field-collection-view {
  border-bottom: 1px solid #d9d9d9;
  padding: 5px 0 .3em;
  margin: 0;
}

.node-film .field-name-field-film-cinema {
  color: #0059a5;
  margin: 0 0 5px;
}

.node-film .field-name-field-film-date-time {
  overflow: hidden;
}

.node-film .field-name-field-cinema-date {
  float: left;
  margin: 0 10px 0 0;
}

.node-film .field-name-field-cinema-time {
  overflow: hidden;
}

.node-film .field-name-field-film-price {
  margin: 5px 0 0;
}

.node-film .field-name-field-film-price .field-label {
  width: auto;
  font-weight: normal;
  float: left;
}

.field-collection-view-links li,
.action-links-field-collection-add li {
  padding: 0 0 5px 20px;
}

/************************************/
/**************** BOOK **************/
/************************************/

.book-navigation {
  margin: 0 0 10px;
}

.book-navigation ul.menu {
  padding: 1em 0 0;
  overflow: hidden;
}

.book-navigation ul.menu li {
  list-style: none;
  padding: 0 0 5px 20px;
}

/************************************/
/************* AD GALLERY ***********/
/************************************/

.ad-gallery {
  margin: 0 auto;
}

ul.ad-thumb-list li {
  background: none;
  padding-left: 0;
}

.node-photogallery .content {
  overflow: hidden;
}

.node-photogallery .content .field-name-field-right {
  width: 50%;
  text-align: right;
  float: right;
}

.node-photogallery .content .field-name-field-left {
  width: 50%;
  float: left;
}

/************************************/
/************** COMMENT *************/
/************************************/

#comments {
  margin: 0;
}

.pane-node-comments .pane-title,
.pane-node-comment-form .pane-title {
  color: #000000;
  text-align: left;
}

.comment {
  background: #e2f4ff;
  margin: 0 0 10px;
  position: relative;
}

.comment .tl,
.comment .tr,
.comment .br,
.comment .bl {
  background: url(../images/comment-corners.png) no-repeat;
  width: 10px;
  height: 10px;
  left: 0;
  top: 0;
}

.comment .tr {
  background-position: 0 -10px;
  left: auto;
  right: 0;
}

.comment .br {
  background-position: 0 -20px;
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
}

.comment .bl {
  background-position: 0 -30px;
  top: auto;
  bottom: 0;
}

.comment.even {
  background: #f1f3c4;
}

.comment.even .tl {
  background-position: 0 -40px;
}

.comment.even .tr {
  background-position: 0 -50px;
}

.comment.even .br {
  background-position: 0 -60px;
}

.comment.even .bl {
  background-position: 0 -70px;
}

.comment-by-node-author,
.comment-by-node-author.even {
  background: #ffecc6;
}

.comment-by-node-author .tl,
.comment-by-node-author.even .tl {
  background-position: 0 -80px;
}

.comment-by-node-author .tr,
.comment-by-node-author.even .tr {
  background-position: 0 -90px;
}

.comment-by-node-author .br,
.comment-by-node-author.even .br {
  background-position: 0 -100px;
}

.comment-by-node-author .bl,
.comment-by-node-author.even .bl {
  background-position: 0 -110px;
}

.comment-inner {
  padding: 10px 20px;
  overflow: hidden;
}

.comment-author {
  float: left;
  margin: 0 10px 0 0;
}

.comment-author-name {
  font-size: 10px;
}

a.comment-permalink {
  font-size: 10px;
  text-decoration: none;
  float: right;
  margin: 0 5px 0 0;
}

a.comment-permalink:hover {
  text-decoration: underline;
}

.comment-submitted {
  font-size: 10px;
  padding: 0 0 0 10px;
  overflow: hidden;
}

.comment .content {
  text-align: justify;
  padding: 0 20px 2px;
  overflow: hidden;
  position: relative;
}

.comment .content .tl,
.comment .content .tr,
.comment .content .br,
.comment .content .bl {
  background: url(../images/comment-content-corners.png) no-repeat;
  width: 17px;
  height: 35px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.comment .content .tr {
  background-position: 0 -35px;
  left: auto;
  right: 0;
}

.comment .content .br {
  background-position: 0 -70px;
  height: 15px;
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
}

.comment .content .bl {
  background-position: 0 -85px;
  height: 15px;
  top: auto;
  bottom: 0;
}

.comment .content .l,
.comment .content .r {
  background: url(../images/comment-content-sides.png) repeat-y;
  width: 17px;
  position: absolute;
  left: 0;
  top: 35px;
  bottom: 15px;
  z-index: 1;
}

.comment .content .r {
  background-position: -17px 0;
  left: auto;
  right: 0;
}

.comment .content .b {
  background: url(../images/comment-content-bottom.png) repeat-x;
  height: 15px;
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 0;
  z-index: 1;
}

.comment .content .bg {
  background: #ffffff;
  position: absolute;
  left: 17px;
  right: 17px;
  top: 0;
  bottom: 15px;
  z-index: 1;
}

.content-inner {
  padding: 15px 0;
  position: relative;
  z-index: 1;
}

.comment .new {
  font-weight: bold;
  font-size: 10px;
  color: red;
}

.comment .im222-vote-down-wrapper {
  margin: 0 0 15px;
}

.field-name-comment-body p:first-child {
  margin: 0 0 15px;
}

.user-signature {
  clear: both;
}

.user-signature p {
  margin-bottom: 0;
}

.comment ul.links {
  text-align: right;
  margin: 0;
  display: block;
}

.comment ul.links li {
  background: none;
}

/************************************/
/*********** COMMENT FORUM **********/
/************************************/

.comment-forum,
.comment-forum.even {
  background: #eeeeee;
}

.comment-forum .tl,
.comment-forum .tr,
.comment-forum .br,
.comment-forum .bl {
  background: url(../images/comment-form-corners.png) no-repeat;
}

.comment-forum.even .tl {
  background-position: 0 0;
}

.comment-forum .tr,
.comment-forum.even .tr {
  background-position: 0 -15px;
}

.comment-forum .br,
.comment-forum.even .br {
  background-position: 0 -35px;
}

.comment-forum .bl,
.comment-forum.even .bl {
  background-position: 0 -50px;
}

.comment-forum .comment-inner {
  padding: 10px 0;
}

.comment-forum .comment-submitted {
  font-size: 12px;
  margin: 0 0 5px;
}

.comment-forum a.comment-permalink {
  margin: 0 10px 0 0;
}

.comment-forum .content-wrapper {
  background: url(../images/forum-content-wrapper.png) repeat-y #ffffff;
  border-bottom: 1px solid #8cbf00;
  border-top: 1px solid #8cbf00;
  padding: 10px 10px 0;
  margin: 0 0 5px;
  overflow: hidden;
}

.comment-forum .comment-author {
  width: 160px;
  padding: 0 0 10px;
  margin: 0;
}

/************************************/
/******** COMMENT UNPUBLISHED *******/
/************************************/

.comment-unpublished,
.comment-unpublished.even {
  background: #f7bfd5;
}

.comment-unpublished .tl,
.comment-unpublished .tr,
.comment-unpublished .br,
.comment-unpublished .bl {
  background: url(../images/comment-corners.png) no-repeat;
}


.comment-unpublished .tl,
.comment-unpublished.even .tl {
  background-position: 0 -120px;
}

.comment-unpublished .tr,
.comment-unpublished.even .tr {
  background-position: 0 -130px;
}

.comment-unpublished .br,
.comment-unpublished.even .br {
  background-position: 0 -140px;
}

.comment-unpublished .bl,
.comment-unpublished.even .bl {
  background-position: 0 -150px;
}

.comment-unpublished .content .tl,
.comment-unpublished .content .tr,
.comment-unpublished .content .br,
.comment-unpublished .content .bl {
  background: url(../images/comment-content-corners.png) no-repeat;
  width: 17px;
  height: 35px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.comment-unpublished .content .tr {
  background-position: 0 -35px;
  left: auto;
  right: 0;
}

.comment-unpublished .content .br {
  background-position: 0 -70px;
  height: 15px;
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
}

.comment-unpublished .content .bl {
  background-position: 0 -85px;
  height: 15px;
  top: auto;
  bottom: 0;
}

/************************************/
/*********** COMMENT FORM ***********/
/************************************/

.comment-form-wrapper {
  background: #eeeeee;
  padding: 10px;
  margin: 0 0 10px;
  position: relative;
}

.comment-form-wrapper .tl,
.comment-form-wrapper .tr,
.comment-form-wrapper .br,
.comment-form-wrapper .bl {
  background-image: url(../images/comment-form-corners.png);
}

.comment-form-wrapper .tr {
  background-position: 0 -15px;
}

.comment-form-wrapper .br {
  background-position: 0 -30px;
}

.comment-form-wrapper .bl {
  background-position: 0 -45px;
}

/************************************/
/************** GALLERY *************/
/************************************/

.gallery-group {
  border: 1px solid #cccccc;
  padding: 10px;
  margin: 0 0 10px;
  overflow: hidden;
}

.gallery-image {
  float: left;
  margin: 0 10px 0 0;
}


/************************************/
/*********** USER ACTIONS ***********/
/************************************/

#im222-user-actions-left {
  background: url(../images/separator.png) no-repeat 100% 50%;
  padding: 10px 20px 10px 0;
  float: left;
}

#im222-user-actions-center {
  padding: 13px 20px;
  float: left;
  position: relative;
}

#im222-user-actions-right {
  background: url(../images/separator.png) repeat-y;
  padding: 10px 0 10px 20px;
  float: left;
}

#vk-like-wrapper {
  float: left;
}

#tweet-like-wrapper {
  width: 120px;
  float: left;
}

#facebook-like-wrapper {
  width: 150px;
  float: left;
}

#mail-like-wrapper {
  width: 80px;
  float: left;
}

#im222-social-share-labels {
  background: url(../images/social-share-labels.png) no-repeat 0 0;
  font-size: 10px;
  color: #144e89;
  padding: 0 0 0 20px;
}

#im222-social-share-labels:hover {
  text-decoration: underline;
  cursor: pointer;
}

#im222-social-share-value {
  background: #aaaaaa;
  width: 200px;
  border: 1px dashed #000000;
  font-size: 10px;
  padding: 10px;
  position: absolute;
  left: 65px;
  z-index: 5;
  display: none;
}

/************************************/
/*********** AFISHA FILMS ***********/
/************************************/

#im222-afisha-films,
#im222-afisha-films .ui-tabs-nav,
#im222-afisha-films .ui-tabs-nav li {
  background: none transparent;
  padding: 0;
  border: none;
  border-radius: 0;
}

#im222-afisha-films .ui-tabs-nav {
  margin: 0 0 10px;
}

#im222-afisha-films .ui-tabs-nav li {
  margin: 0 5px 0 0;
}

#im222-afisha-films .ui-tabs-nav li a {
  background: none #378de8;
  color: #ffffff;
  border: none;
  padding: 2px 10px;
  border-radius: 3px;
}

#im222-afisha-films .ui-tabs-nav li.ui-state-active a {
  background: none #efefef;
  color: #000000;
  box-shadow: inset 2px 2px 2px #a7a7a7;
}

#films-today,
#films-anon {
  padding: 0;
}

#films-today li {
  background: none;
  padding: 0;
  position: relative;
}

.afisha-film-title a,
#films-anon li a {
  color: #0059a5;
}

.afisha-film-info {
  padding: 31px 10px 10px;
  overflow: hidden;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  z-index: 5;
}

.afisha-film-info.visible {
  display: block;
}

.afisha-film-info .tl,
.afisha-film-info .tr,
.afisha-film-info .br,
.afisha-film-info .bl {
  background: url(../images/afisha-popup-corners.png) no-repeat;
  width: 47px;
  height: 31px;
  left: 0;
}

.afisha-film-info .tr {
  background-position: 0 -31px;
  width: 10px;
  height: 10px;
  top: 21px;
  left: auto;
  right: 0;
}

.afisha-film-info .br {
  background-position: 0 -41px;
  width: 10px;
  height: 10px;
  left: auto;
  right: 0;
}

.afisha-film-info .bl {
  background-position: 0 -51px;
  width: 10px;
  height: 10px;
}

.afisha-film-info .l,
.afisha-film-info .r {
  background: url(../images/afisha-popup-y.png) repeat-y;
  width: 10px;
  position: absolute;
  left: 0;
  top: 31px;
  bottom: 10px;
  z-index: 1;
}

.afisha-film-info .r {
  background-position: -10px 0;
  left: auto;
  right: 0;
}

.afisha-film-info .t,
.afisha-film-info .b {
  background: url(../images/afisha-popup-x.png) repeat-x;
  height: 10px;
  position: absolute;
  left: 47px;
  right: 10px;
  top: 21px;
  z-index: 1;
}

.afisha-film-info .b  {
  background-position: 0 -10px;
  left: 10px;
  right: 10px;
  top: auto;
  bottom: 0;
}

.afisha-film-info-inner {
  background: #fffae1;
  padding: 3px;
}

.afisha-film-image {
  float: left;
  margin: 0 10px 0 0;
}

.afisha-film-image img {
  border: 2px solid #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 5px #000000;
}

.afisha-film-session {
  overflow: hidden;
}

.afisha-film-cinema-price {
  margin: 0 0 10px;
}

.afisha-film-session .afisha-film-title {
  margin: 0 0 10px;
}

/************************************/
/************* CITY HELP ************/
/************************************/

.im222-city-help-wrapper {
  overflow: hidden;
  margin: 0 0 30px;
}

.im222-city-help-group {
  width: 50%;
  float: left;
  overflow: hidden;
}

.im222-city-help-image {
  float: left;
}

.im222-city-help-parent {
  margin: 0 0 10px 160px;
}

.im222-city-help-group .item-list {
  margin: 0 0 0 160px;
}

/************************************/
/*************** MODAL **************/
/************************************/

#modalContent {
  border-radius: 5px;
  box-shadow: 0 0 10px #000000;
}

div.modal-header {
  background: #a7defd !important;
  border-radius: 5px 5px 0 0;
}

div.modal-header span.modal-title {
  line-height: 32px;
  font-size: 12px;
  color: #144e89 !important;
  text-transform: uppercase;
}

div.ctools-modal-content {
  border: none;
  border-radius: 5px;
}

div.ctools-modal-content p {
  margin: 0 0 5px;
}

div.ctools-modal-content .item-list ul {
  font-size: 14px;
  text-align: center;
  display: block;
  margin: 0;
}

div.ctools-modal-content .item-list ul li {
  background: none;
  padding: 0 0 0 1em;
}

div.ctools-modal-content .item-list ul li.first {
  padding: 0 0 .25em 0;
}
