@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.commentable-section {
  position: relative;
}
.commentable-section:hover .side-comment .marker {
  display: block;
}
.side-comment {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  min-height: 100%;
  height: 100%;
}
.side-comment * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.side-comment .hide {
  display: none;
}
.side-comment .marker {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
.side-comment .marker span {
  display: none;
}
.side-comment.active .marker,
.side-comment.has-comments .marker,
.side-comment.has-comments ul.comments {
  display: block;
}
.side-comment .add-comment {
  display: none;
}
.side-comment.has-comments .add-comment,
.side-comment.no-current-user .add-comment {
  display: block;
}
.side-comment.no-current-user .add-comment {
  margin-top: 20px;
}
.side-comment.has-comments .marker:before {
  content: "";
}
.side-comment.has-comments .marker span {
  display: block;
}
.side-comment.has-comments .add-comment.hide {
  display: none;
}
.side-comment.has-comments .comment-form {
  display: none;
}
.side-comment .comments-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 40px;
}
.side-comment .comments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  width: 100%;
}
.side-comment .comments li {
  width: 100%;
  overflow: hidden;
}
.side-comment .comment,
.side-comment .comment-box,
.side-comment .actions {
  margin: 0;
}
.side-comment .actions,
.side-comment .delete {
  margin-left: 42px;
}
.side-comment .add-comment.active {
  display: block;
}
.side-comment .comment-form {
  overflow: hidden;
}
.side-comment .comment-form.active {
  display: block;
}
.side-comment.active .comments-wrapper {
  display: block;
}
@media (max-width: 768px) {
  body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
  }
}



/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
  display: none;
}
.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.ui-helper-reset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.3;
  text-decoration: none;
  font-size: 100%;
  list-style: none;
}
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
  content: "";
  display: table;
  border-collapse: collapse;
}
.ui-helper-clearfix:after {
  clear: both;
}
.ui-helper-clearfix {
  min-height: 0; /* support: IE7 */
}
.ui-helper-zfix {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  opacity: 0;
  filter:Alpha(Opacity=0); /* support: IE8 */
}

.ui-front {
  z-index: 100;
}

/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ui-button {
  margin: 10px 5px;
  padding: 5px 10px;
  text-align: center;
  background-color: #242652;
  border: 1px solid #ddd;
  color: #ddd;
  font-weight: bold;
}
.ui-button,
.ui-button:link,
.ui-button:visited,
.ui-button:hover,
.ui-button:active  {
  background-color: #242652;
  cursor: pointer;
}

.ui-button:focus,
.ui-button:hover,
.ui-button:active {
  background-color: #ff6607;
}

/* button text element */
.ui-button .ui-button-text {
  display: block;
  line-height: normal;
}
.ui-button-text-only .ui-button-text {
  padding: .4em 1em;
}
.ui-button-icon-only .ui-button-text,
.ui-button-icons-only .ui-button-text {
  padding: .4em;
  text-indent: -9999999px;
}
.ui-button-text-icon-primary .ui-button-text,
.ui-button-text-icons .ui-button-text {
  padding: .4em 1em .4em 2.1em;
}
.ui-button-text-icon-secondary .ui-button-text,
.ui-button-text-icons .ui-button-text {
  padding: .4em 2.1em .4em 1em;
}
.ui-button-text-icons .ui-button-text {
  padding-left: 2.1em;
  padding-right: 2.1em;
}

.ui-dialog-titlebar-close {
  display: none;
}
.ui-widget-content {
  width: 600px !important;
}

.ui-dialog {
  overflow: hidden;
  position: fixed;
  top: 30% !important;
  left: 50% !important;
  margin-left: -300px;
  padding: .2em;
  outline: 0;
  width: 600px !important;
  background-color: #242652;
  color: #fff;
}

.ui-dialog a {
  color: #ff6607;
  text-decoration: underline;
}
.ui-dialog .ui-dialog-titlebar {
  padding: .4em 1em;
  position: relative;
  font-weight: bold;
}
.ui-dialog .ui-dialog-title {
  float: left;
  margin: .1em 0;
  white-space: nowrap;
  width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: .3em;
  top: 50%;
  width: 20px;
  margin: -10px 0 0 0;
  padding: 1px;
  height: 20px;
}
.ui-dialog .ui-dialog-content {
  position: relative;
  border: 0;
  padding: .5em 1em;
  background: none;
  overflow: auto;
}
.ui-dialog .ui-dialog-buttonpane {
  text-align: left;
  border-width: 1px 0 0 0;
  margin-top: .5em;
  padding: .3em 1em .5em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
  margin: .5em .4em .5em 0;
  cursor: pointer;
}
.ui-dialog .ui-resizable-se {
  width: 12px;
  height: 12px;
  right: -5px;
  bottom: -5px;
  background-position: 16px 16px;
}

/* Component containers
----------------------------------*/
/* Overlays */
.ui-widget-overlay {
  background: #000000;
  opacity: .6;
  filter: Alpha(Opacity=30); /* support: IE8 */
}
.ui-widget-shadow {
  margin: -8px 0 0 -8px;
  padding: 8px;
  background: #000000;
  opacity: .6;
  filter: Alpha(Opacity=30); /* support: IE8 */
  border-radius: 8px;
}
