html {
  min-height: 100%;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}
body {
  margin: 0;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  flex: auto;
  min-height: 100%;
  font-size: 15px;
}

.no-transition,
.no-transition * {
  transition: none !important;
}

a, a:hover {
  color: #2e87ca;
}
.btn {
  text-transform: uppercase;
}
.btn-lg {
  font-size: 14px;
  font-weight: bold;
}

.btn:focus,
.btn:active:focus,
button:focus,
button:active:focus,
input.form-control:focus,
textarea.form-control:focus,
input.form-control,
textarea.form-control {
  outline: none;
  box-shadow: none;
}

.container,
.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.xs-hide {
  display: none;
}
.xs-show {
  display: block;
}
@media (min-width: 768px) {
  .sm-hide {
    display: none;
  }
  .sm-show {
    display: block;
  }
}
@media (min-width: 992px) {
  .md-hide {
    display: none;
  }
  .md-show {
    display: block;
  }
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .lg-hide {
    display: none;
  }
  .lg-show {
    display: block;
  }
  .container {
    width: 1170px;
  }
}
@media (min-width: 1200px) {
  .col-lg-3 {
    width: 20.83333333%;
  }
  .col-lg-pull-3 {
    right: 20.83333333%;
  }
  .col-lg-7 {
    width: 62.5%;
  }
  .col-lg-push-7 {
    left: 62.5%;
  }
}

.nav-pills > li > a {
  padding: 10px 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: bold;
}
.nav-pills > li.divider {
  border-bottom: 1px solid #ededed;
  padding-bottom: 7px;
  margin-bottom: 7px;
}
.nav-stacked > li + li {
  margin-top: 0;
}

.iv-icon,
.iv-icon-before:before {
  background: url(/img/instantview_icons.png?4) no-repeat;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iv-icon,
  .iv-icon-before:before {
    background-image: url(/img/instantview_icons_2x.png?4);
    background-size: 29px 392px;
  }
}

.iv-logo i {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-bottom: -5px;
  background-position: -5px -274px;
  color: #fff;
}
.iv-logo-title {
  margin-left: 10px;
}

.btn.iv-btn,
.popup-buttons .btn {
  padding: 9px 15px;
  margin-left: 2px;
  border-radius: 2px;
}
.btn.iv-btn:hover,
.popup-buttons .btn:hover {
  background: #e6f1f7;
  text-decoration: none;
}
.btn.iv-btn:active,
.popup-buttons .btn:active {
  background: #d4e6f1;
}
.btn.iv-btn:focus,
.popup-buttons .btn:focus {
  text-decoration: none;
}
.btn.disabled,
.btn[disabled],
.popup-buttons .btn.disabled,
.popup-buttons .btn[disabled] {
  color: #b5d1e6;
  opacity: 1;
}

input.iv-form-control,
textarea.iv-form-control,
.input.iv-form-control {
  padding-left: 0;
  padding-right: 0;
  border: none;
  height: auto;
  resize: none;
  box-shadow: inset 0 -1px 0 #e0e0e0;
  transition: box-shadow .15s ease;
}
input.iv-form-control:focus,
textarea.iv-form-control:focus {
  box-shadow: inset 0 -2px 0 #39ade7;
}

.nav-footer {
  font-size: 13px;
  padding: 10px 15px;
  color: #333;
  border-top: 1px solid #ededed;
  margin-top: 7px;
  line-height: 21px;
}
.logged {
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}
.logged-label {
  color: #999;
}
.logged-name {
  white-space: nowrap;
  color: #333;
}
.logged-link {
  float: right;
}

.login-popup-container section {
  line-height: 23px;
  max-width: 600px;
}
.login-popup-container h2 {
  font-size: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.login-popup-container p {
  margin-bottom: 18px;
}
.login-popup-container p.help-block {
  margin-top: 18px;
  margin-bottom: -7px;
}
.login-popup-container .form-control {
  max-width: 280px;
}

.dots-animated:after {
  display: inline-block;
  animation: dotty steps(1, end) 1s infinite;
  content: '...';
}

@-webkit-keyframes dotty {
  0%, 100% { content: '';    }
  25%      { content: '.';   }
  50%      { content: '..';  }
  75%      { content: '...'; }
}
@keyframes dotty {
  0%, 100% { content: '';    }
  25%      { content: '.';   }
  50%      { content: '..';  }
  75%      { content: '...'; }
}

header {
  width: 100%;
  margin: 0;
  position: fixed;
  z-index: 100;
  background: #fff;
}
header .row,
main .row {
  margin-right: 0;
  margin-left: 0;
}
header .header-wrap {
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-sizing: border-box;
  flex-direction: row;
  padding: 8px 0 7px;
  position: relative;
  box-shadow: inset 0 -1px 0 #e0e0e0;
  transition: box-shadow .15s ease;
}
header.url-form-opened .header-wrap {
  box-shadow: inset 0 -2px 0 #39ade7;
}
header .header-wrap .btn.disabled {
  color: #b5d1e6;
  opacity: 1;
}
header + main {
  margin-top: 68px;
}
header.has-message + main {
  margin-top: 112px;
}
header .btn-lg {
  padding: 11px 12px 10px;
}
.header-panel {
  flex-grow: 1;
  position: relative;
  z-index: 7;
  width: 0;
}
.header-panel .header-breadcrumb {
  height: 41px;
}
.container-fluid .header-panel .header-breadcrumb {
  display: flex;
  flex-wrap: nowrap;
}

.header-message {
  background: #1e98d4;
  text-align: center;
  color: #fff;
  padding: 13px 15px;
}
.header-message a {
  color: #fff;
  text-decoration: underline;
}
.header-message .hide-button {
  color: #fff;
  margin: -11px -12px -10px 12px;
  font-weight: normal;
  float: right;
}

header .breadcrumb > .active,
header .breadcrumb > .active a {
  color: #333;
}
header .breadcrumb > .placeholder {
  color: #999;
}
header .breadcrumb > li {
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.3333333;
  font-weight: bold;
  position: relative;
}
header .breadcrumb > li > a,
header .breadcrumb > li.active > strong {
  display: inline-block;
  text-overflow: ellipsis;
  vertical-align: top;
  overflow: hidden;
  max-width: 190px;
}
header .container-fluid .breadcrumb > li > a,
header .container-fluid .breadcrumb > li.active > strong {
  max-width: 240px;
}
header .breadcrumb > li.active > a,
header .breadcrumb > li.iv-logo > a {
  overflow: visible;
  max-width: none;
}
header .breadcrumb > li:before {
  content: '';
}
header .breadcrumb > li:after {
  content: "\00a0/\00a0";
  padding: 0 8px;
  color: #d4d4d4;
}
header .breadcrumb > li:last-child:after {
  content: '';
}
header .input-group-addon.breadcrumb > li:last-child:after {
  content: "\00a0/\00a0";
}
header .header-breadcrumb .dropdown {
  position: static;
}
header .header-breadcrumb .dropdown-menu {
  left: auto;
  top: 48px;
  margin: 0 0 0 -15px;
  min-width: 0;
  font-size: 15px;
  border: none;
  box-shadow: 0 0 2px rgba(0, 0, 0, .15);
}
header .header-breadcrumb .dropdown.open > .dropdown-menu {
  display: inline;
}
header .header-breadcrumb .dropdown.open > .dropdown-menu > li {
  display: block;
}
header .header-breadcrumb .dropdown.open > .dropdown-menu > li > a {
  padding: 10px 35px 10px 15px;
  margin: 0;
  color: #2e87ca;
}
header .header-breadcrumb .dropdown.open > .dropdown-menu > li > a:hover {
  background-color: #f0f6fa;
  color: #2e87ca;
}
header .header-breadcrumb .dropdown.open > .dropdown-menu > li.active > a:hover,
header .header-breadcrumb .dropdown.open > .dropdown-menu > li.active > a {
  background-color: #1e98d4;
  color: #fff;
  font-weight: bold;
  position: relative;
}
header .dropdown-toggle {
  position: relative;
  padding: 11px 10px 12px 0;
  margin-right: -10px;
  cursor: pointer;
}
header .btn {
  margin-left: 10px;
  margin-right: -12px;
}
.buttons-wrap {
  padding: 15px 0;
}
.buttons-wrap .btn {
  margin-left: -15px;
}

.header-breadcrumb .breadcrumb {
  background: none;
  border: transparent;
  padding: 0 0 0 15px;
  overflow: visible;
}
.container-fluid .header-breadcrumb .breadcrumb {
  width: auto;
}
.container-fluid .header-panel .header-breadcrumb .input-dropdown {
  display: block;
  flex-grow: 1;
  width: 1px;
}
.header-breadcrumb-simple .breadcrumb {
  padding: 0 15px;
  overflow: hidden;
}
.header-breadcrumb-simple .breadcrumb > .active {
  display: inline;
}
.header-breadcrumb .input-label {
  font-weight: normal;
}
.input-group .input-dropdown {
  display: table-cell;
  position: relative;
}
.input-dropdown .form-control {
  height: auto;
  border: transparent;
  background: transparent;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 11px 16px 11px 1px;
  margin-left: -1px;
  border-radius: 0 !important;
  transition: color .15s ease;
}
.form-control::-webkit-input-placeholder {
  color: #999;
}
.form-control::-moz-placeholder {
  color: #999;
}
.form-control:-ms-input-placeholder {
  color: #999;
}
.form-control:focus::-webkit-input-placeholder {
  color: #ccc;
}
.form-control:focus::-moz-placeholder {
  color: #ccc;
}
.form-control:focus:-ms-input-placeholder {
  color: #ccc;
}
.has-section-status .input-dropdown .form-control {
  padding-right: 50px;
}

.contest-ready-tooltip-wrap {
  white-space: normal;
  position: absolute;
  width: 270px;
  top: 100%;
  margin-top: 1px;
  margin-left: -17px;
  left: 50%;
}
.contest-ready-tooltip {
  width: 100%;
  margin-left: -50%;
  padding: 10px 15px;
  border-radius: 2px;
  background: #1e98d4;
  color: #fff;
  cursor: auto;
  visibility: visible;
  opacity: 1;
  transition: all .3s ease;
  position: relative;
  font-weight: normal;
  line-height: 20px;
  font-size: 14px;
}
.contest-ready-tooltip:before {
  position: absolute;
  pointer-events: none;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  bottom: 100%;
  left: 50%;
}
.contest-ready-tooltip:before {
  border-width: 8px;
  margin: 0 -8px;
  border-bottom-color: #1e98d4;
}
.tooltip-hidden {
  pointer-events: none;
}
.tooltip-hidden .contest-ready-tooltip {
  margin-top: 10px;
  visibility: hidden;
  opacity: 0;
}
.contest-template-wrap {
  margin-bottom: 22px;
}

.header-panel .list-group-template {
  position: absolute;
  left: -47px;
  right: 0;
  top: 48px;
  z-index: 1;
  overflow: auto;
  max-height: 300px;
  background-color: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, .15);
  padding-bottom: 7px;
  display: none;
}
.url-form-opened .header-panel.has-section-list .list-group-template {
  display: block;
}
.input-dropdown .list-group-item {
  border: none;
  padding-left: 22px;
  margin-bottom: 0;
  border-radius: 0 !important;
}
.input-dropdown .list-group-template .list-group-item,
.input-dropdown .list-group-template .list-group-item:focus {
  padding-left: 47px;
}
.input-dropdown .list-group-template .list-group-item:before {
  left: 11px;
  width: 25px;
  height: 25px;
  margin: 7px 0;
  background-position: -2px -85px;
}
.input-dropdown .list-group-template .list-group-item-danger:before {
  background-position: -2px -61px;
}
.input-dropdown .list-group-template .list-group-item-warning:before {
  background-position: -2px -61px;
}
.input-dropdown .list-group-template .list-group-item-success:before {
  background-position: -2px -37px;
}
.input-dropdown .list-group-template .list-group-item-info:before {
  background-position: -2px -61px;
}
.input-dropdown .list-group-item-body {
  padding: 10px 0 11px;
}
.input-dropdown .list-group-item-heading {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 19px;
}
.input-dropdown .list-group-item-status {
  width: 120px;
  padding: 0 15px;
  margin: 2px 0 0;
  text-align: right;
}

.url-status {
  padding: 13px 15px;
  position: absolute;
  right: 0;
  z-index: 7;
  display: none;
  cursor: pointer;
}
.has-section-status .url-status {
  display: block;
}
.url-status .list-group-row {
  background-color: #ddd;
  overflow: hidden;
  width: 20px;
  height: 15px;
  padding: 0;
}
.url-status .list-group-row .list-group-item {
  border: none;
  padding: 0;
  margin: 0;
  height: 100%;
  min-width: 4px;
  border-radius: 0 !important;
  transition: width .15s linear;
}
.url-status .list-group-row .list-group-item:before {
  display: none;
}
.url-status .list-group-row .list-group-item.no-shown {
  flex-grow: 0;
  min-width: 0;
  width: 0 !important;
}
.url-status .list-group-row .list-group-item-success {
  background-color: #5cb85c;
}
.url-status .list-group-row .list-group-item-warning {
  background-color: #f0ad4e;
}
.url-status .list-group-row .list-group-item-danger {
  background-color: #d9534f;
}
.url-status .list-group-row .list-group-item-info {
  background-color: #5bc0de;
}
.url-status .list-group-row .list-group-item-muted {
  background-color: #ddd;
}


.progress-bar {
  width: 0;
  transition: width .4s linear, box-shadow .3s ease;
}
.progress-bar.no-transition {
  transition: none;
}
.progress-bar.no-shown {
  box-shadow: inset 0 0 0 #39ade7;
}

header .progress-bar {
  position: absolute;
  z-index: 1;
  bottom: 0;
  height: 3px;
  box-shadow: inset 0 -2px 0 #39ade7;
}

.btn-inactive {
  cursor: auto;
  pointer-events: none;
}

section h3 {
  padding: 12px 0;
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  position: static;
  overflow: hidden;
}
section h3 small {
  padding-left: 10px;
  font-size: 15px;
  color: #999;
}

.nav-menu {
  padding: 10px 0 30px;
}
@media (min-width: 768px) {
  .nav-menu.nav-menu-can-fix {
    position: fixed;
    top: 68px;
    bottom: 0;
    overflow-y: scroll;
  }
  header.has-message + main .nav-menu.nav-menu-can-fix {
    top: 112px;
  }
  .nav-menu.nav-menu-can-fix::-webkit-scrollbar {
    display: none;
  }
}

main.rules {
  padding-bottom: 43px;
}
main.rules section {
  padding-bottom: 12px;
}
main.rules section + section.empty {
  display: none;
}
main.rules section.empty {
  padding: 53px 30px;
  text-align: center;
  color: #999;
}
main.rules section > p {
  margin: 0 0 10px;
}
main.rules section h3 a.section-header {
  color: #333;
}

.list-group.list-group-template {
  margin-bottom: 20px;
  word-wrap: break-word;
}
.list-group-row .list-group-item,
.list-group-row .list-group-item:focus,
.list-group-template .list-group-item,
.list-group-template .list-group-item:focus,
.list-group-feedback .list-group-item,
.list-group-feedback .list-group-item:focus {
  background: none;
  border: none;
  outline: none;
  margin: 0;
  padding: 0 0 0 44px;
  border-radius: 0 !important;
}
.list-group-row .list-group-item,
.list-group-template .list-group-item,
.list-group-feedback .list-group-item {
  color: #808080;
}
.list-group-no-icon .list-group-item,
.list-group-no-icon .list-group-item:focus,
.list-group-feedback .list-group-item,
.list-group-feedback .list-group-item:focus {
  background: none !important;
  padding: 0;
}
.list-group-row .list-group-item:before,
.list-group-template .list-group-item:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  width: 31px;
  height: 31px;
  border-radius: 16px;
  margin: 15px 0;
  background-color: #999;
  background-position: 1px -82px;
}
.list-group-no-icon .list-group-item:before {
  display: none;
}
.list-group-row {
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 0 0 0 44px;
}
.list-group-row .list-group-item {
  flex-grow: 1;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  min-width: 120px;
}
a.list-group-row:hover,
a.list-group-row:focus {
  text-decoration: none;
  outline: none;
}
.list-group-row .list-group-item:before {
  left: -44px;
}
.list-group-row .list-group-item + .list-group-item:before {
  display: none;
}
.list-group-template .list-group-item:hover {
  background: none;
}
.list-group-row .list-group-item-danger,
.list-group-template .list-group-item-danger {
  color: #952222;
}
.list-group-row .list-group-item-warning,
.list-group-template .list-group-item-warning {
  color: #ad770e;
}
.list-group-row .list-group-item-success,
.list-group-template .list-group-item-success {
  color: #2f7832;
}
.list-group-row .list-group-item-info,
.list-group-template .list-group-item-info {
  color: #31708f;
}
.list-group-row .list-group-item-danger:before,
.list-group-template .list-group-item-danger:before {
  background-position: 1px -58px;
  background-color: #ce6c6c;
}
.list-group-row .list-group-item-warning:before,
.list-group-template .list-group-item-warning:before {
  background-position: 1px -58px;
  background-color: #dda73f;
}
.list-group-row .list-group-item-success:before,
.list-group-template .list-group-item-success:before {
  background-position: 1px -34px;
  background-color: #63b863;
}
.list-group-row .list-group-item-info:before,
.list-group-template .list-group-item-info:before {
  background-position: 1px -58px;
  background-color: #6eabcc;
}
.list-group-item-body {
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 #ededed;
  transition: box-shadow .15s ease;
}
a.list-group-row:hover .list-group-item-body,
a.list-group-item:hover .list-group-item-body {
  box-shadow: inset 0 -2px 0 #bdbdbd;
}
a.list-group-row:hover .list-group-item-danger .list-group-item-body,
a.list-group-item-danger:hover .list-group-item-body {
  box-shadow: inset 0 -2px 0 #d15959;
}
a.list-group-row:hover .list-group-item-success .list-group-item-body,
a.list-group-item-success:hover .list-group-item-body {
  box-shadow: inset 0 -2px 0 #63b863;
}
a.list-group-row:hover .list-group-item-warning .list-group-item-body,
a.list-group-item-warning:hover .list-group-item-body {
  box-shadow: inset 0 -2px 0 #e0a22d;
}
a.list-group-row:hover .list-group-item-info .list-group-item-body,
a.list-group-item-info:hover .list-group-item-body {
  box-shadow: inset 0 -2px 0 #6eadcf;
}
.list-group-row .list-group-item-heading,
.list-group-template .list-group-item-heading,
.list-group-feedback .list-group-item-heading {
  font-size: 15px;
  line-height: 19px;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-group-item-status {
  width: 130px;
  float: right;
  color: inherit;
  padding: 11px 25px 10px;
  font-size: 12px;
}
main.rules section .list-group-item-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 12px;
  margin: 2px 0 3px;
}
main.rules .pagination > li > a,
main.rules .pagination > li > span {
  border-radius: 0;
}
main.rules .pagination > .disabled > a,
main.rules .pagination > .disabled > span {
  cursor: default;
}
main.rules section h3 + nav,
main.rules section nav + .list-group-feedback,
main.rules section .list-group-feedback + nav {
  margin-top: 15px;
}
.list-group-item .close {
  width: 1em;
  box-sizing: content-box;
  padding: 8px 7px 12px;
  color: #aaa;
  transition: all .15s ease;
  opacity: .8;
}
.list-group-item .close:hover,
.list-group-item .close:focus {
  opacity: 1;
}
.list-group-template .list-group-item-form:before {
  display: none;
}
.list-group-item-form .form-control {
  padding: 22px 0;
  border: none;
  height: auto;
  box-shadow: inset 0 -1px 0 #ededed;
  transition: box-shadow .15s ease;
}
.list-group-item-form .form-control:focus {
  box-shadow: inset 0 -2px 0 #39ade7;
}

.list-group-feedback .list-group-item-status {
  width: auto;
  text-align: right;
}
.list-group-feedback .list-group-item-text {
  color: #777;
}
.list-feedback-count {
  font-size: 14px;
}
.list-feedback-message {
  margin: 15px 0 7px;
  font-size: 14px;
}
.list-feedback-message-icon {
  float: left;
  margin-right: 9px;
}
.list-feedback-message-icon .glyphicon {
  top: 2px;
}
.list-feedback-message-text {
  margin-bottom: 0;
  overflow: hidden;
}
.list-feedback-message-text p {
  margin: 0 1px;
}
.list-feedback-message-image {
  margin: 2px 0 7px;
  max-width: 100%;
  max-height: 250px;
}
.list-feedback-message-more {
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  margin: 7px 0 0px;
  padding: 0 1px;
  border-bottom: 1px solid transparent;
}
.list-feedback-message-more:hover {
  border-bottom: 1px solid;
}
.list-feedback-message-more .glyphicon {
  top: 2px;
  margin-left: 5px;
}

main.tool {
  display: -webkit-flex;
  display: flex;
  width: 100%;
  padding: 0;
  flex-grow: 1;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: center;
  margin-top: 65px;
  padding: 0 15px 10px 5px;
}
main.tool section {
  display: -webkit-flex;
  display: flex;
  flex-grow: 1;
  width: 33%;
  box-sizing: border-box;
  flex-direction: column;
  margin-left: 10px;
  padding: 0;
}
main.tool section#rules-section {
  width: 36%;
}
main.tool section h3 {
  font-size: 15px;
  padding: 3px 2px 10px;
  text-transform: uppercase;
}
main.tool section.tool-placeholder {
  display: none;
  justify-content: center;
  align-items: center;
}
main.tool section.tool-placeholder .placeholder-message {
  width: 470px;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: #777;
}
@media (max-width: 991px) and (orientation: portrait),
       (max-width: 979px) and (orientation: landscape) {
  #url-mark-btn {
    display: none;
  }
  main.tool section {
    display: none;
  }
  main.tool section.tool-placeholder {
    display: -webkit-flex;
    display: flex;
  }
}
main.tool .contest-header-button-wrap {
  margin-top: -36px;
}
@media (max-width: 1199px) {
  main.tool section h3 {
    padding-bottom: 21px;
  }
  main.tool .contest-header-button-wrap {
    margin-top: -41px;
  }
}

.section-header {
  position: relative;
  overflow: hidden;
}
#issue-section .section-header {
  margin-left: 10px;
}

.header-labels {
  position: absolute;
  font-size: 13px;
  line-height: 16px;
  height: 0;
  bottom: 0;
  right: 0;
}
.header-labels .help-labels {
  position: relative;
  white-space: nowrap;
}
.header-labels .help-label {
  position: absolute;
  padding: 4px 10px;
  right: 0;
  color: #aaa;
}
.header-labels .help-label a {
  color: #555;
  cursor: pointer;
}

.section-block {
  width: 100%;
  height: 200px;
  flex-grow: 1;
  border: 2px solid #ccc;
  position: relative;
  transition: border-color .15s ease-in-out;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.section-block .iframe-wrap,
.section-block .textarea-wrap,
.section-block.collapsed .after-rules-wrap {
  flex-grow: 1;
  height: 0;
  overflow: hidden;
  position: relative;
  transition: flex-grow .15s;
}
.section-block .iframe-wrap {
  overflow: hidden;
}
.rules-header {
  border: 0 solid #ececec;
  border-top-width: 1px;
  background: #f5f5f5;
  padding: 6px 12px;
  cursor: pointer;
}
.section-block .after-rules-wrap,
.section-block.collapsed .custom-rules-wrap {
  flex-grow: 0;
}
.section-block.collapsed .rules-header {
  border-top-width: 0;
  border-bottom-width: 1px;
}
.section-block iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.form-control:focus {
  border-color: #ccc;
}
.section-block-label {
  display: inline-block;
  padding: 4px 10px;
  font-size: 100%;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  transition: all .15s ease-in-out;
}
.section-block-label:before {
  content: attr(data-default);
}

.result-preview-wrap {
  font-size: 13px;
  border-top: 2px solid #ccc;
  margin-top: -2px;
  cursor: pointer;
  transition: border-color .15s ease-in-out;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.result-preview-wrap .result-preview {
  transition: max-height .15s;
  max-height: 0;
  overflow: auto;
  overflow-x: hidden;
  background: #f5f5f5;
}
.section-block.collapsed .result-preview {
  max-height: 292px;
}
.result-header {
  padding: 14px 18px 15px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: #f5f5f5;
}
.page-preview {
  margin: 0 18px 18px;
  padding-left: 12px;
  border-left: 2px solid #3ca7fe;
  font-size: 12px;
  line-height: 15px;
  max-width: 300px;
}
.page-preview-thumbed {
  display: inline-block;
  position: relative;
  max-width: 350px;
}
.page-preview-thumb {
  border-radius: 4px;
  background: no-repeat center;
  background-size: cover;
  margin-left: 10px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
}
.page-preview-media {
  margin: 7px 0 0;
  background: no-repeat center;
  background-size: cover;
  text-align: center;
  max-height: 170px;
  overflow: hidden;
  border-radius: 4px;
}
.page-preview-media img,
.page-preview-media video {
  max-width: 100%;
  vertical-align: top;
}
.page-preview-media img {
  max-height: 170px;
  visibility: hidden;
}
.page-preview-content {
  display: block;
  display: -webkit-box;
  max-height: 64px;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
}
.page-preview-site-name {
  font-weight: bold;
  line-height: 19px;
  color: #0b8bed;
}
.page-preview-thumbed .page-preview-site-name {
  margin-right: 98px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.page-preview-thumbed .page-preview-content {
  max-height: 79px;
  -webkit-line-clamp: 5;
  margin-right: 98px;
}
.page-preview-content br {
  line-height: 19px;
}
.page-preview-button {
  padding: 4px 8px;
  margin: 7px 0 0;
  background: transparent;
  color: #0b8bed;
  border: 1px solid #3ca7fe;
  border-radius: 4px;
  outline: none;
  width: 100%;
}
.page-preview-button .glyphicon {
  margin-left: -2px;
}

.header-labels,
.header-labels .label,
.help-label {
  transition: all .15s ease-in-out;
}

.original-popup-button {
  font-size: 13px;
  margin-left: 10px;
}
.original-popup-button .iv-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  cursor: pointer;
  background-position: -8px -304px;
}

.original-loaded .header-labels {
  height: 24px;
}
.original-loaded .loaded-label {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.rules-demo .header-labels,
.rules-readonly .header-labels,
.rules-saved .header-labels {
  height: 24px;
}
.original-loading .loading-label,
.rules-changed .shortcut-label,
.rules-changed.rules-saving .saving-label,
.rules-saved .saved-label,
.rules-changed .changed-label,
.result-processing .processing-label,
.rules-demo .demo-label,
.rules-readonly .readonly-label,
.result-not-tracked .check-label {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}
.help-label,
.loading-label,
.saving-label,
.rules-saving .shortcut-label,
.rules-changed .demo-label,
.rules-saving .demo-label,
.saved-label,
.changed-label,
.original-loading .loaded-label,
.original-readonly .loaded-label,
.rules-changed .saved-label,
.result-processing .check-label,
.result-readonly .check-label {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.original-loaded .section-block {
  border-color: #337ab7;
}
.original-loaded .section-block-label {
  background-color: #337ab7;
}
.original-loaded .section-block-label:before {
  content: attr(data-loaded);
}
.rules-demo .section-block,
.rules-readonly .section-block {
  border-color: #aaa;
}
.rules-demo .section-block-label,
.rules-readonly .section-block-label {
  background-color: #aaa;
}
.result-not-tracked .section-block,
.result-not-tracked .result-preview-wrap {
  border-color: #5bc0de;
}
.result-not-tracked .section-block-label {
  background-color: #5bc0de;
}
.original-saved .section-block,
.rules-saved .section-block,
.result-tracked .section-block,
.result-tracked .result-preview-wrap,
.result-saved .section-block,
.result-saved .result-preview-wrap,
.result-not-modified .section-block,
.result-not-modified .result-preview-wrap {
  border-color: #5cb85c;
}
.original-saved .section-block-label,
.rules-saved .section-block-label,
.result-tracked .section-block-label,
.result-saved .section-block-label,
.result-not-modified .section-block-label {
  background-color: #5cb85c;
}
.rules-changed .section-block,
.result-modified .section-block,
.result-modified .result-preview-wrap {
  border-color: #f0ad4e;
}
.rules-changed .section-block-label,
.result-modified .section-block-label {
  background-color: #f0ad4e;
}

.result-tracked .header-labels,
.result-saved .header-labels,
.result-not-tracked .header-labels,
.result-not-modified .header-labels,
.result-modified .header-labels,
.result-error .header-labels {
  height: 24px;
}
.result-error .section-block,
.result-error .result-preview-wrap {
  border-color: #d9534f;
}
.result-error .section-block-label {
  background-color: #d9534f;
}
.rules-readonly .section-block-label {
  width: 82px;
}
.rules-readonly .section-block-label:before {
  content: attr(data-readonly);
}
.rules-demo .section-block-label {
  width: 76px;
}
.rules-demo .section-block-label:before {
  content: attr(data-demo);
}
.original-saved .section-block-label,
.rules-saved .section-block-label,
.result-saved .section-block-label {
  width: 56px;
}
.original-saved .section-block-label:before,
.rules-saved .section-block-label:before,
.result-saved .section-block-label:before {
  content: attr(data-saved);
}
.rules-changed .section-block-label {
  width: 76px;
}
.rules-changed .section-block-label:before {
  content: attr(data-changed);
}
.result-tracked .section-block-label {
  width: 70px;
}
.result-tracked .section-block-label:before {
  content: attr(data-tracked);
}
.result-not-tracked .section-block-label {
  width: 94px;
}
.result-not-tracked .section-block-label:before {
  content: attr(data-not-tracked);
}
.result-not-modified .section-block-label {
  width: 102px;
}
.result-not-modified .section-block-label:before {
  content: attr(data-not-modified);
}
.result-modified .section-block-label {
  width: 75px;
}
.result-modified .section-block-label:before {
  content: attr(data-modified);
}
.result-error .section-block-label {
  width: 51px;
}
.result-error .section-block-label:before {
  content: attr(data-error);
}

textarea.form-control[disabled] {
  cursor: auto;
  background-color: #fff;
}
.rules-field,
.rules-header,
.CodeMirror,
.CodeMirror-hints {
  font-family: monospace, 'Courier New';
  font-size: 13px;
  line-height: 18px;
}
.rules-field {
  position: absolute;
  box-shadow: none;
  border: none;
  resize: none;
  height: 100%;
  line-height: 18px;
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}
.CodeMirror {
  box-sizing: border-box;
  padding: 0;
  color: #555;
  cursor: text;
}
.CodeMirror pre {
  padding: 0 12px;
}
.CodeMirror *,
.CodeMirror-merge {
  box-sizing: content-box;
}
.template-source,
.CodeMirror-merge {
  border: 2px solid #ccc;
}
.CodeMirror-merge-gap {
  border-left: 1px solid #ececec;
  border-right: 1px solid #ececec;
  background: #f5f5f5;
}
.CodeMirror-merge-scrolllock-wrap {
  bottom: 4px;
}
.CodeMirror-merge-scrolllock {
  color: #999;
}
.template-diff:empty:before {
  box-sizing: content-box;
  display: block;
  content: '';
  border: 2px solid #ccc;
  height: 350px;
}
.textarea-wrap .CodeMirror {
  position: absolute;
  width: 100%;
  height: 100%;
}
.CodeMirror-hints {
  position: absolute;
  z-index: 10;
  overflow: hidden;
  list-style: none;
  margin: 0 -9px;
  padding: 2px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, .2);
  border-radius: 4px;
  border: 1px solid #ccc;
  background: white;
  max-height: 20em;
  overflow-y: auto;
}
.CodeMirror-hint {
  margin: 0;
  padding: 1px 7px;
  border-radius: 2px;
  white-space: pre;
  color: #333;
  cursor: pointer;
}
li.CodeMirror-hint-active {
  background: #08f;
  color: #fff;
}

.cm-s-default .cm-tag-2 {
  color: #111;
}
.cm-s-default .cm-hr {
  color: #ccc;
}
div.CodeMirror span.CodeMirror-matchingbracket {
  color: #000;
  font-weight: bold;
}
div.CodeMirror span.CodeMirror-nonmatchingbracket {
  color: #f22;
  font-weight: bold;
}
div.CodeMirror span.cm-comment.CodeMirror-matchingbracket,
div.CodeMirror span.cm-comment.CodeMirror-nonmatchingbracket {
  color: #a50;
  font-weight: normal;
}
.CodeMirror-line {
  transition: background 1s ease;
  transition-delay: .4s;
}
.cm-s-default .line-highlight {
  background: #ffff9f;
  transition: none;
}
.CodeMirror-merge-l-chunk { background: #ffffe0; }
.CodeMirror-merge-l-chunk-start { border-top: 1px solid #ee8; }
.CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #ee8; }
.CodeMirror-merge-l-connect { fill: #ffffe0; stroke: #ee8; stroke-width: 1px; }

.CodeMirror-dialog {
  position: absolute;
  left: 0; right: 0;
  background: inherit;
  z-index: 15;
  padding: 5px 12px;
  overflow: hidden;
  color: inherit;
}
.CodeMirror-dialog-top {
  border-bottom: 1px solid #eee;
  top: 0;
}
.CodeMirror-dialog-bottom {
  border-top: 1px solid #eee;
  bottom: 0;
}
.CodeMirror-dialog input {
  border: none;
  outline: none;
  background: transparent;
  width: 20em;
  color: inherit;
  font-family: monospace;
}
.CodeMirror-dialog button {
  font-size: 80%;
  padding: 0 7px;
}
.CodeMirror-search-label {
  float: left;
  padding: 1px 7px 1px 0;
}
.CodeMirror-search-field-wrap {
  display: block;
  overflow: hidden;
}
.CodeMirror-dialog .CodeMirror-search-field-wrap input {
  width: 100%;
  padding: 1px 0;
  color: #111;
}


footer {
  min-width: 960px;
  margin: 0 15px;
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-sizing: border-box;
  flex-direction: column;
}
footer .status-wrap,
footer .process-time {
  font-family: monospace, 'Courier New';
  font-size: 12px;
  line-height: 15px;
  min-height: 35px;
  overflow: auto;
  flex-grow: 1;
  width: 0;
  padding: 10px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  cursor: pointer;
}
footer .process-time {
  flex-grow: 0;
  width: 100px;
  text-align: right;
  padding: 10px 15px;
  color: #777;
}
footer .debug-wrap {
  font-family: monospace, 'Courier New';
  font-size: 12px;
  line-height: 17px;
  padding: 10px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

footer .collapse-icon {
  display: flex;
  visibility: hidden;
  padding: 10px 0 10px 0;
}
footer .collapse-icon:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 15px;
  cursor: pointer;
  background-position: -10px -364px;
}
footer.more .collapse-icon {
  visibility: visible;
}
footer.collapsed .collapse-icon:before {
  transform: scaleY(-1);
}
footer.collapsed .debug-section .section-block {
  max-height: 0;
}
.rule-ref {
  cursor: pointer;
}

.debug-section {
  margin-bottom: -1px;
  overflow: hidden;
  flex-grow: 1;
}
.debug-section .section-block {
  display: block;
  width: auto;
  height: auto;
  max-height: 240px;
  transition: max-height .15s;
  overflow: auto;
  border-width: 1px 0 0;
  border-color: #e0e0e0;
}
.status-section {
  display: -webkit-flex;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  box-sizing: border-box;
  flex-direction: row;
  cursor: pointer;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 1;
}


.section-btn {
  font-size: 13px;
  padding: 2px 0;
  margin: -1px 0 0 12px;
  float: right;
}
section .hover-wrap {
  visibility: hidden;
  opacity: 0;
  transition: all .15s ease;
}
section:hover .hover-wrap {
  visibility: visible;
  opacity: 1;
}
.section-btn.disabled,
.contest-btn.inactive {
  color: #b5d1e6;
  opacity: 1;
}
.section-btn.disabled:before,
.contest-btn.inactive:before {
  opacity: .4;
}
.contest-btn:before,
.contest-remove-btn:before,
.contest-resend-btn:before {
  content: '';
  background-position: -7px -22px;
  display: inline-block;
  width: 16px;
  height: 13px;
  margin-right: 7px;
  position: relative;
  top: 1px;
}
.contest-remove-btn:before {
  background-position: -7px 1px;
}
.contest-rules-links {
  font-size: 14px;
  font-weight: normal;
  padding-top: 7px;
}
.contest-rules-status {
  float: right;
  clear: right;
  font-size: 14px;
  font-weight: normal;
  padding-top: 3px;
  color: #999;
}
.contest-rules-status a {
  color: #1a1a1a;
}
.form-control.domain-filter {
  padding-left: 7px;
  padding-right: 7px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #ededed;
}
.templates-filter-wrap .form-control.domain-filter {
  padding-top: 15px;
  padding-bottom: 15px;
  height: auto;
}
.list-group-contest {
  margin: 0 -7px;
  padding: 0 0 35px;
}
.list-group-contest-header,
.list-group-contest-item,
.list-group-contest-item-empty {
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid #ededed;
  padding: 15px 7px;
  overflow: hidden;
}
.list-group-contest-item.declined-row > * {
  opacity: 0.4;
}
.list-group-contest-header {
  display: none;
  padding: 12px 7px;
  color: #1a1a1a;
}
.list-group-contest-item-empty {
  color: #999;
  border-bottom: none;
}
.list-group-contest-rows {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}
.order-desc .list-group-contest-rows {
  flex-direction: column-reverse;
}
.list-group-contest-order {
  cursor: pointer;
}
.list-group-contest-order .iv-icon {
  display: inline-block;
  width: 14px;
  height: 12px;
  background-position: -8px -326px;
}
.order-desc .list-group-contest-order .iv-icon {
  background-position: -8px -346px;
}
.table-contest {
  width: 100%;
  font-size: 14px;
  line-height: 18px;
  border-bottom: 1px solid #ededed;
  margin: 0 0 35px;
}
.table-contest tr.selected {
  background: #f7f7f7;
}
.table-contest tr.selected + tr > td {
  border-top: 1px solid #ededed;
}
.table-contest td {
  border-top: 1px solid #ededed;
}
.table-contest td,
.table-contest th {
  padding: 15px 7px;
  vertical-align: top;
}
.table-contest-fixed td,
.table-contest-fixed th {
  width: 20%;
}
.table-contest-fixed td.table-row-big {
  width: 40%;
}
.table-contest-top td,
.table-contest-top th {
  width: 25%;
}
.table-contest-num,
.table-contest .table-contest-num {
  position: relative;
  text-align: right;
  width: 5%;
}
td.table-contest-no-num {
  border-top: none;
  width: 5%;
}
#dev_page_content_wrap .table-contest-num a.anchor,
.page-content-wrap .table-contest-num a.anchor {
  top: -45px;
}
header.has-message + main #dev_page_content_wrap .table-contest-num a.anchor,
header.has-message + main .page-content-wrap .table-contest-num a.anchor {
  top: -89px;
}
.table-contest-author {
  font-weight: bold;
  white-space: nowrap;
  width: 35%;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
td.table-contest-cnt,
.table-contest-date {
  color: #808080;
}
.table-contest-cnt {
  text-align: center;
}
.table-contest-row {
  vertical-align: top;
  word-break: break-word;
}
.table-contest-issue {
  width: 50%;
}
.table-contest-issue .issue-comment,
.table-contest-issue .issue-info-row dd {
  margin-bottom: 15px;
}
.table-contest-small {
  font-size: 13px;
  padding: 3px 0 0;
  color: #808080;
}
.table-contest-small a {
  color: #808080;
}
.table-contest-status {
  text-align: right;
}
.table-contest-status a {
  color: #808080;
}
a.table-contest-status-accepted {
  color: #249106;
}
a.table-contest-status-declined {
  color: #b12b2b;
}
.table-contest-winner {
  white-space: nowrap;
  text-align: right;
  color: #249106;
}

section.contest-section h3 {
  padding-bottom: 22px;
}

.contest-section .nav {
  margin-bottom: 15px;
}

.contest-header-button-wrap {
  position: absolute;
  right: 2px;
  margin-top: -46px;
}
.btn.contest-header-button {
  padding: 7px 12px;
  font-size: 13px;
}

.contest-issue-url,
.contest-issue-info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contest-issue-url {
  font-size: 15px;
  color: #2e87ca;
}
.contest-item-info-rows {
  display: inline;
}
.contest-item-info-rows.collapsed .contest-item-info + .contest-item-info {
  display: none;
}
.contest-issue-info {
  color: #999;
  font-size: 13px;
  margin-top: 3px;
}
.list-group-issue-item .contest-item-status {
  width: 100px;
  margin-top: 11px;
}
.contest-item-domain {
  font-weight: bold;
  display: inline-block;
  max-width: 100%;
  padding-right: 140px;
}
.contest-item-domain-cnt {
  color: #999;
  font-weight: normal;
  padding-left: 7px;
}
.contest-item-info-rows .contest-item-info {
  position: relative;
}
.contest-item-info.has-info {
  margin-top: 4px;
}
.contest-item-info-rows .contest-item-info.has-info {
  margin-top: 10px;
}
.contest-item-cell {
  color: #1a1a1a;
}
.contest-item-templates {
  color: #808080;
}
.iv-deadline.soon {
  color: #b12b2b;
}
.list-group-contest-header .contest-item-templates {
  color: #1a1a1a;
}
.contest-item-status {
  text-align: right;
}
.contest-item-prize {
  padding-left: 15px;
  font-size: 13px;
  font-weight: bold;
  color: #249106;
  display: inline-block;
  text-align: right;
}
.table-contest-winner .contest-item-prize,
.list-group-contest-item .contest-item-prize {
  min-width: 50px;
}
.contest-item-prize-few {
  color: #b1b1b1;
  position: relative;
  cursor: help;
}
.contest-item-prize-unpaid {
  padding-left: 6px;
  position: relative;
  cursor: help;
}
.contest-item-prize-unpaid:before,
.contest-item-prize-unpaid:after {
  color: #b1b1b1;
  font-weight: normal;
}
.contest-item-prize-unpaid:before {
  content: '(';
  padding-right: 1px;
}
.contest-item-prize-unpaid:after {
  content: ')';
  padding-left: 1px;
}
.contest-item-prize-tip {
  position: absolute;
  width: 320px;
  top: -60px;
  right: 100%;
  display: inline-block;
  content: attr(data-title);
  white-space: normal;
  font-weight: normal;
  text-align: left;
  font-size: 13px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .3);
  margin-right: 4px;
  padding: 15px 20px;
  color: #333;
  z-index: 10;
  transition: all .15s ease;
  transform: translateX(-10px);
  visibility: hidden;
  opacity: 0;
  cursor: auto;
}
.contest-item-prize-tip:before {
  position: absolute;
  left: 100%;
  top: 63px;
  content: '';
  border: 6px solid #fff;
  transform: rotateZ(45deg);
  box-shadow: 0 0 6px rgba(0, 0, 0, .3);
  margin-left: -6px;
}
.contest-item-prize-tip:after {
  position: absolute;
  left: 100%;
  top: 54px;
  content: '';
  background-color: #fff;
  margin-left: -15px;
  width: 15px;
  height: 30px;
}
.contest-item-prize-unpaid > .contest-item-prize-tip {
  width: 330px;
  top: -16px;
  margin-right: -13px;
}
.contest-item-prize-unpaid > .contest-item-prize-tip:before {
  top: 19px;
}
.contest-item-prize-unpaid > .contest-item-prize-tip:after {
  top: 10px;
}
.contest-item-prize-few:hover > .contest-item-prize-tip,
.contest-item-prize-unpaid:hover > .contest-item-prize-tip {
  transition-delay: .2s;
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.contest-item-prize-unpaid:hover + .contest-item-prize-tip {
  transition-delay: 0;
  transform: translateX(-10px);
  visibility: hidden;
  opacity: 0;
}
.contest-item-btns {
  position: absolute;
  right: 7px;
  top: 15px;
}
.contest-item-info-rows .contest-item-btns {
  top: -28px;
}
.contest-item-btn {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}
.contest-item-btn + .contest-item-btn {
  margin-left: 20px;
}
.contest-item-candidate > a,
.contest-item-winner > a {
  color: #333;
}
.contest-item-btn-success,
.contest-item-btn-success:hover,
.you-are-candidate .contest-item-candidate,
.you-are-candidate .contest-item-candidate > a,
.you-are-candidate .contest-item-winner,
.you-are-candidate .contest-item-winner > a {
  color: #249106;
}
.contest-item-btn-failure,
.contest-item-btn-failure:hover {
  color: #b12b2b;
}
.contest-item-btn-success:before {
  content: '';
  background-position: -7px -252px;
  display: inline-block;
  width: 16px;
  height: 13px;
  margin-right: 4px;
  position: relative;
  top: 1px;
}
.contest-item-btn.disabled {
  opacity: .4;
  pointer-events: none;
}
.has-candidate .contest-item-templates:after {
  content: ', first by';
}
.contest-item-num,
.contest-item-issue {
  float: left;
  color: #808080;
  margin-right: 15px;
}
.contest-item-comp-warn {
  display: block;
  font-size: 12px;
  color: #cb2020;
  white-space: nowrap;
  padding: 7px 0 0;
}
.contest-item-comp-warn + .contest-item-comp-warn {
  padding: 0;
}
.contest-item-comp-warn a {
  color: #cb2020;
}
.contest-item-author {
  margin-right: 15px;
}
.contest-item-author a {
  color: #333;
}
.contest-item-date {
  float: left;
  color: #808080;
  margin-top: 7px;
  margin-right: 15px;
}
.contest-item-date a {
  color: #808080;
}
.contest-item-status {
  margin-top: 7px;
  margin-left: 15px;
  color: #808080;
  text-align: right;
}
.list-group-contest-item .templates-item-date {
  color: #808080;
}
.contest-item-author,
.contest-item-status {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contest-item-status a,
.contest-item-status a.text-muted {
  color: #808080;
}
a.status-live,
a.status-live:hover {
  color: #249106;
}
a.status-winner,
a.status-winner:hover,
.contest-item-status-winner,
.contest-item-status-winner a {
  color: #249106;
  font-weight: bold;
}
.contest-item-status-disputed,
a.contest-item-status-disputed,
.contest-item-status-disputed a {
  color: #cb2020;
}
.contest-item-status-issues,
a.contest-item-status-issues,
.contest-item-status-issues a {
  color: #2e87ca;
}
.contest-item-url-wide .contest-item-btns {
  position: static;
  display: block;
  text-align: right;
  margin-top: 10px;
}
.contest-item-url-wide .contest-item-cell.top {
  display: block;
}
.contest-item-url-wide .contest-item-cell.bottom {
  display: none;
}
@media (min-width: 992px) {
  .list-group-contest-header {
    font-weight: bold;
    display: block;
  }
  .contest-item-domain {
    display: inline;
    max-width: none;
    padding-right: 0;
  }
  .contest-item-info {
    float: right;
  }
  .contest-item-info.has-info,
  .contest-item-info-rows .contest-item-info.has-info {
    margin-top: 0;
  }
  .contest-item-info-rows .contest-item-info + .contest-item-info.has-info {
    border-top: 1px solid #ededed;
    margin: 15px -7px 0;
    padding: 15px 7px 0;
  }
  .contest-item-cell {
    width: 120px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
  }
  .contest-item-templates {
    width: 180px;
  }
  .contest-item-candidate {
    width: 270px;
  }
  .templates-item-date {
    width: 140px;
  }
  .contest-item-winner {
    width: 320px;
  }
  .contest-item-url {
    width: 470px;
  }
  .contest-item-url-wide .contest-item-cell {
    width: auto;
    display: block;
  }
  .contest-item-url-wide .contest-item-btns {
    margin-left: 20px;
    margin-top: 0;
  }
  .contest-item-url-wide .contest-item-cell.top {
    display: none;
  }
  .contest-item-url-wide .contest-item-cell.bottom {
    display: block;
  }
  /*.contest-item-cell + .contest-item-cell {
    margin-right: 20px;
  }*/
  .has-candidate .contest-item-templates:after {
    content: '';
  }
  .contest-item-btns {
    position: relative;
    float: right;
    margin-left: 10px;
    top: 0;
    right: 0;
  }
  .contest-item-info-rows .contest-item-btns {
    margin-left: 20px;
    top: 0;
  }
  .contest-item-num {
    width: 105px;
  }
  .contest-item-issue {
    width: 75px;
  }
  .contest-item-author {
    width: 160px;
    float: left;
  }
  .contest-item-date,
  .contest-item-status {
    margin-top: 0;
  }
}

main.rules section > p.about-text {
  margin-bottom: 20px;
  line-height: 24px;
}
main.rules section > p.about-text + ul {
  margin-top: -15px;
  margin-bottom: 20px;
}
.about-button-wrap {
  margin: 10px -16px 0;
}
.about-button-wrap .iv-btn {
  margin-left: 0;
}
.template-author {
  font-weight: bold;
  color: #2e87ca;
}
section h3 .header-count {
  margin-left: 10px;
  color: #999;
}
.header-help {
  font-size: 13px;
  font-weight: normal;
  border-bottom: 1px dotted;
  display: inline-block;
  margin: 2px 0;
  padding: 0 1px 2px;
  float: right;
  cursor: pointer;
}
.header-help:hover {
  border-bottom-style: solid;
  text-decoration: none;
}

a.th-sort,
a.th-sort:hover,
a.th-sort:focus {
  color: inherit;
}

a.th-sort.active:after,
a.th-sort.th-sort-left.active:before {
  content: '';
  display: inline-block;
  margin: 7px 4px;
  border: 4px solid transparent;
  vertical-align: top;
}
a.th-sort.active.desc:after,
a.th-sort.th-sort-left.active.desc:before {
  border-top-color: currentColor;
  border-bottom-width: 0;
}
a.th-sort.active.asc:after,
a.th-sort.th-sort-left.active.asc:before {
  border-bottom-color: currentColor;
  border-top-width: 0;
}
a.th-sort.th-sort-left.active:after {
  display: none;
}

.sort-marker {
  display: inline-block;
  position: relative;
  width: 8px;
  height: 11px;
  margin: 4px 0 3px 5px;
  vertical-align: top;
}
.sort-marker:before,
.sort-marker:after {
  position: absolute;
  border: 4px solid transparent;
  transition: transform .15s ease;
  left: 0;
  content: '';
}
.sort-marker:before {
  border-top-width: 0;
  border-bottom-color: #999;
  transform-origin: top center;
  top: 0;
}
.cell-sort[data-sort-by="stat_ok"] .sort-marker:before {
  border-bottom-color: #5cb85c;
}
.cell-sort[data-sort-by="stat_no"] .sort-marker:before {
  border-bottom-color: #f0ad4e;
}
.cell-sort[data-sort-by="stat_fail"] .sort-marker:before {
  border-bottom-color: #d9534f;
}
.cell-sort[data-sort-by="stat_ok"] .sort-marker:after {
  border-top-color: #5cb85c;
}
.cell-sort[data-sort-by="stat_no"] .sort-marker:after {
  border-top-color: #f0ad4e;
}
.cell-sort[data-sort-by="stat_fail"] .sort-marker:after {
  border-top-color: #d9534f;
}
.sort-marker:after {
  border-bottom-width: 0;
  border-top-color: #999;
  transform-origin: bottom center;
  top: 7px;
}
.cell-sort {
  display: inline-block;
  cursor: pointer;
}
.cell-sort.sort-active.sort-asc .sort-marker:before {
  transform: scale(1.25) translateY(2px);
}
.cell-sort.sort-active .sort-marker:after {
  transform: scale(1.25) translateY(-2px);
}
.cell-sort.sort-active.sort-asc .sort-marker:after,
.cell-sort.sort-active .sort-marker:before {
  transform: scale(0);
}
.cell-empty,
.cell-empty-full {
  font-weight: normal;
  text-align: center;
  color: #999;
}
.cell-empty-full {
  padding-top: 24px;
  padding-bottom: 24px;
}

.table-contest td .templates-filter-form {
  margin: -15px -7px;
}
.table-contest td .templates-filter-input,
.templates-filter-wrap .templates-filter-input {
  padding: 15px 7px;
  height: auto;
  border: none;
}
.templates-filter-wrap .templates-filter-input {
  font-size: 14px;
  border-bottom: 1px solid #ededed;
}

.table-contest-row svg.stat {
  width: 100px;
  height: 35px;
}

.value_good,
.value_good:hover,
.value_good:focus,
.change_up {
  color: #6a6;
}
.value_bad,
.value_bad:hover,
.value_bad:focus,
.change_down {
  color: #a66;
}
.value_ok,
.value_ok:hover,
.value_ok:focus,
.change_none {
  color: #888;
}
.change_up,
.change_down,
.change_none {
  padding-left: 15px;
  padding-top: 1px;
  float: right;
}
a:hover .change_up,
a:hover .change_down,
a:hover .change_none {
  text-decoration: underline;
}
.change_up .glyphicon,
.change_down .glyphicon,
.change_none .glyphicon {
  font-size: .85em;
  padding-right: 2px;
}

.chart_wrap_loading {
  background-color: #fff;
  color: #7A8A93;
  font-size: 16px;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: absolute;
  width: 100%;
  z-index: 300;
  opacity: 1;
  transition: all .2s ease;
  pointer-events: none;
}
.dark .chart_wrap_loading {
  background-color: #242f3e;
  color: #546778;
}
.chart_wrap_rendered .chart_wrap_loading {
  opacity: 0;
}

.list-group-issues {
  margin: -10px -7px 35px;
}
.template-stats-wrap {
  margin: -10px -17px 15px;
}
h3.accepted,
h3.accepted .header-count,
.status-accepted {
  color: #249106;
}
h3.declined,
h3.declined .header-count,
.status-declined {
  color: #b12b2b;
}
.list-group-issue-item {
  position: relative;
  font-size: 14px;
  padding: 20px 7px;
  color: #1a1a1a;
}
.section-url-field-wrap {
  margin: 35px 0;
}
.popup .section-url-field-wrap {
  margin: 25px 0 45px;
}
.section-url-field-wrap .help-block {
  margin: 10px 17px;
  font-size: 14px;
  color: #999;
}
.issue-author {
  font-weight: bold;
  color: #2e87ca;
}
.issue-comment {
  border-left: 3px solid #1e98d4;
  padding: 1px 0 1px 13px;
  margin: 10px 0 25px;
  word-break: break-word;
}
.issue-comment-short {
  display: -webkit-box;
  max-height: 126px;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-wrap;
}
.issue-comment-content {
  display: table;
  width: 100%;
}
.issue-comment-text {
  display: table-cell;
}
.issue-comment-photo {
  display: table-cell;
  background: no-repeat center;
  background-size: cover;
  width: 100px;
  height: 100px;
  cursor: pointer;
}
.issue-author-template {
  margin: -15px 0 25px;
  color: #808080;
}
.issue-info-row {
  margin: 12px 0 0;
}
.issue-info-row dt {
  font-weight: normal;
  color: #808080;
}
.issue-info-row dd {
  margin: 5px 0 0;
}
.issue-info-row-owner dt,
.issue-info-row-owner dt a {
  font-weight: bold;
  color: #32bfb3;
}
.issue-info-row-owner dd,
.issue-info-row-accepted dd,
.issue-info-row-declined dd {
  padding: 1px 0 1px 13px;
  margin: 10px 0 25px;
  word-break: break-word;
}
.issue-info-row-owner dd {
  border-left: 3px solid #32bfb3;
}
.issue-info-row-accepted dt {
  font-weight: bold;
  color: #249106;
}
.issue-info-row-accepted dd {
  border-left: 3px solid #249106;
}
.issue-info-row-declined dt {
  font-weight: bold;
  color: #b12b2b;
}
.issue-info-row-declined dd {
  border-left: 3px solid #cb6767;
}
.issue-info-row dd:empty {
  display: none;
}
.issue-buttons {
  margin: 10px -18px 0;
}
.list-group-issue-item .issue-buttons {
  margin-top: 20px;
}
.contest-buttons {
  margin: -20px -18px 10px;
}

.popup-form {
  margin: 25px 0 0;
  overflow: visible !important;
}

.radio-row {
  display: block;
  margin: 5px -5px;
  padding: 5px;
  font-weight: normal;
  overflow: hidden;
  cursor: pointer;
}
.radio-row .radio {
  position: absolute;
  left: -5000px;
}
.radio-row .radio + .radio-label {
  display: inline-block;
  position: relative;
  line-height: 18px;
  padding: 0 0 0 30px;
}
.radio-row .radio + .radio-label:before {
  display: inline-block;
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 9px;
  border: 2px solid #999;
  vertical-align: top;
  margin: 0 12px 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
}
.radio-row .radio:checked + .radio-label:before {
  border-color: #319bd8;
}
.radio-row .radio:checked + .radio-label:after {
  display: inline-block;
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #319bd8;
  vertical-align: top;
  margin: 5px;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
}
.radio-row .radio.disabled + .radio-label,
.radio-row .radio[disabled] + .radio-label {
  opacity: 0.65;
}


.issue-section-block {
  width: auto;
  border: none;
  margin: 0 0 0 -7px;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
.issue-section-block .list-group-issue-item-wrap {
  margin-left: 10px;
}
.report-issue-block {
  padding: 0 7px 0 17px;
}
.report-issue-text {
  margin: 0;
  line-height: 24px;
}
.report-issue-text + .report-issue-text,
.issue-form .report-issue-text {
  margin-top: 15px;
}
a.report-issue-button {
  padding: 8px 9px 7px;
  border-radius: 2px;
  margin: -11px -9px 7px;
}
.report-issue-button,
.report-issue-button:hover {
  color: #c64040;
}
.report-issue-button:hover {
  background: #f7e3e3;
  text-decoration: none;
}
.report-issue-button:active {
  background: #f7e3e3;
}
.respond-issue-block {
  padding: 20px 0 0;
}
.respond-issue-block .help-block {
  margin: 10px 0;
  font-size: 14px;
  color: #1a1a1a;
}
.issue-comment-field {
  max-height: 77px;
  margin-top: 7px;
}
.issue-report-help {
  margin: 21px 0;
}
.list-group-issue-item-wrap {
  margin-top: -10px;
}
.issue-form .radio-rows {
  margin-top: 15px;
}

.section-label {
  font-size: 15px;
  font-weight: normal;
  margin: 0 5px 0 12px;
  float: right;
}
.section-label-success {
  color: #449d44;
}
.section-label-danger {
  color: #c9302c;
}
.section-label-info {
  color: #31b0d5;
}
.section-btn .glyphicon,
.section-label .glyphicon {
  font-size: 17px;
  position: static;
  vertical-align: middle;
}
.section-btn .label {
  padding: 0 4px;
}
.section-label .label {
  padding: 0 2px;
  vertical-align: middle;
}
.section-feedback {
  display: inline-block;
  margin-left: 12px;
  margin-bottom: -3px;
}
.section-feedback-counter {
  padding: 0 6px;
}
.section-feedback-counter .counter-label {
  font-size: 12px;
  font-weight: normal;
  line-height: 19px;
  padding: 1px 0;
  transition: all .15s ease;
}
a.section-feedback-counter:hover .counter-label {
  font-size: 13px;
  border-bottom: 1px dotted;
}
.section-feedback-counter.active .counter-label,
a.section-feedback-counter.active:hover .counter-label {
  font-size: 15px;
  padding: 3px 0;
  border-bottom: 1px solid;
}
a.section-feedback-counter {
  cursor: pointer;
}
a.section-feedback-counter:hover,
a.section-feedback-counter:focus {
  text-decoration: none;
}
.section-feedback-counter .glyphicon-eye-open,
.section-feedback-counter .glyphicon-leaf {
  font-size: .92em;
}

.list-group-item-heading .section-label {
  font-size: 13px;
}
.list-group-item-heading .section-label .glyphicon {
  font-size: 14px;
}

.chars-counter {
  font-size: 13px;
  text-align: right;
  padding: 4px 0 0;
  color: #808080;
}

.content {
  padding-left: 15px;
}
#dev_page_content_wrap {
  padding: 0 0 10px;
  max-width: none;
}
#dev_page_content,
#dev_page_content p {
  line-height: 1.6;
}
#dev_page_content_wrap h1,
#dev_page_content_wrap h2,
#dev_page_content_wrap h3,
#dev_page_content_wrap h4,
.page-content-wrap h3 {
  font-weight: bold;
  position: relative;
}
#dev_page_content_wrap h1 {
  font-size: 21px;
  margin: 27px 0 12px;
}
#dev_page_content_wrap h2,
#dev_page_content_wrap h3 {
  font-size: 19px;
  margin: 27px 0 12px;
}
#dev_page_content_wrap h4,
#dev_page_content_wrap h5 {
  font-size: 17px;
  margin: 27px 0 10px;
}
#dev_page_content_wrap pre,
#dev_page_content_wrap code {
  font-family: monospace, 'Courier New';
  font-size: 87%;
}
#dev_page_content_wrap pre {
  line-height: 18px;
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
  padding: 6px 12px;
  border: none;
  background: #f4f8fb;
}
#dev_page_content_wrap code {
  color: inherit;
  background: #ecf3f8;
}
#dev_page_content_wrap blockquote {
  border-color: #179cde;
  padding: 5px 17px;
}
#dev_page_content_wrap .dev_page_image {
  display: block;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 10px 0px 5px;
}

#dev_page_content_wrap a.anchor,
.page-content-wrap a.anchor {
  position: absolute;
  height: 1px;
  top: -70px;
}
header.has-message + main #dev_page_content_wrap a.anchor,
header.has-message + main .page-content-wrap a.anchor {
  top: -114px;
}
#dev_page_content_wrap a.anchor-link,
.page-content-wrap a.anchor-link {
  text-decoration: none;
  line-height: 1;
  margin-left: -0.7em;

  cursor: default;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;

  border-top: 10px solid transparent;
  margin-top: -10px;
  outline: 0;
}

#dev_page_content_wrap a.anchor-link i.anchor-icon,
.page-content-wrap a.anchor-link i.anchor-icon {
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  font-size: 62%;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  margin-top: 2px;
  opacity: 0;

  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10;

  -webkit-transition: opacity .15s ease-in-out;
  -moz-transition: opacity .15s ease-in-out;
  -ms-transition: opacity .15s ease-in-out;
  -o-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
}
#dev_page_content_wrap a.anchor-link i.anchor-icon:before,
.page-content-wrap a.anchor-link i.anchor-icon:before {
  content: "\e144";
}
@media (min-width: 992px) {
  #dev_page_content_wrap a.anchor-link,
  .page-content-wrap a.anchor-link {
    margin-left: -1.1em;
  }
  #dev_page_content_wrap a.anchor-link i.anchor-icon,
  .page-content-wrap a.anchor-link i.anchor-icon {
    font-size: 85%;
  }
}

#dev_page_content_wrap h1 a.anchor-link i.anchor-icon {
  margin-top: 4px;
}

#dev_page_content_wrap h1:hover a.anchor-link i.anchor-icon,
#dev_page_content_wrap h2:hover a.anchor-link i.anchor-icon,
#dev_page_content_wrap h3:hover a.anchor-link i.anchor-icon,
#dev_page_content_wrap h4:hover a.anchor-link i.anchor-icon,
.page-content-wrap h3:hover a.anchor-link i.anchor-icon {
  opacity: 0.6;
}
#dev_page_content_wrap i.anchor-icon:hover,
.page-content-wrap i.anchor-icon:hover {
  opacity: 1 !important;
}

#dev_side_nav_cont .dev_side_nav_wrap {
  position: relative;
  display: none;
}
@media (min-width: 768px) {
  #dev_side_nav_cont .dev_side_nav_wrap {
    display: block;
  }
}
#dev_side_nav_cont .dev_side_nav {
  position: static;
  width: auto;
}
#dev_side_nav_cont .dev_side_nav > ul {
  width: auto;
  float: none;
  background: none;
  padding: 7px 0;
}
#dev_side_nav_cont .dev_side_nav > ul::-webkit-scrollbar {
  display: none;
}
#dev_side_nav_cont .dev_side_nav > ul.affix-top,
#dev_side_nav_cont .dev_side_nav > ul.affix,
#dev_side_nav_cont .dev_side_nav > ul.affix-bottom {
  position: static;
}
#dev_side_nav_cont .dev_side_nav li {
  float: none !important;
}
#dev_side_nav_cont .dev_side_nav li:before {
  display: none;
}
#dev_side_nav_cont .dev_side_nav li a {
  border-left: 3px solid transparent;
  padding: 9px 15px 9px 12px;
  font-size: 13px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
#dev_side_nav_cont .dev_side_nav li li a {
  padding: 6px 15px 6px 22px;
  font-size: 12px;
  font-weight: 400;
}
#dev_side_nav_cont .dev_side_nav li a:hover {
  background: #f0f6fa !important;
}
#dev_side_nav_cont .dev_side_nav li.active > a {
  border-left: 3px solid #1e98d4;
}
#dev_side_nav_cont .dev_side_nav li ul {
  display: none;
}
#dev_side_nav_cont .dev_side_nav li.active ul {
  display: block;
}

main.intro,
main.docs {
  padding-bottom: 43px;
}

main.docs #dev_page_content_wrap h1#dev_page_title {
  font-size: 24px;
  margin: 12px 0 12px;
}

main.intro #dev_page_content_wrap h1#dev_page_title {
  padding: 12px 0 12px;
  margin: 0;
  font-weight: bold;
  font-size: 18px;
}

#dev_page_content_wrap .contest-section {
  padding-top: 10px;
  margin-bottom: -10px;
}

.popup-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.6);
  z-index: 101;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup {
  max-width: 100%;
  word-wrap: break-word;
  margin: 15px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
}
.issue-popup-container .popup {
  width: 100%;
  max-width: 480px;
}
.popup section {
  position: relative;
  padding-bottom: 60px;
}
.popup h4 {
  font-size: 18px;
  margin: 5px 0 15px;
}
.popup h4 ~ h4 {
  margin-top: 25px;
}
.popup-body {
  padding: 20px;
}
.login-popup-container .popup-body {
  padding: 15px 25px 25px;
}
.issue-popup-container .popup-body {
  padding: 25px;
}
@media (min-width: 560px) {
  .popup {
    margin: 50px;
    min-width: 350px;
  }
  .popup-body {
    padding: 35px 50px;
  }
  .login-popup-container .popup-body {
    padding: 50px 60px;
  }
}
@media (min-width: 768px) {
  .popup {
    max-width: 600px;
  }
}
.popup .popup-text {
  margin: 0;
  line-height: 24px;
}
.popup .popup-buttons {
  margin: -17px -8px -10px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.popup-image-wrap {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.popup-image {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.well-text {
  margin: 0 -7px 20px;
  padding: 10px 17px;
  background: #f1f1f1;
  word-wrap: break-word;
}
.well-text:empty {
  display: none;
}
.issue-section-block .well-text {
  margin-left: 7px;
  margin-right: 7px;
}
.domain-comment {
  padding: 0;
  margin: 0;
  border-left: none;
}
.domain-comment + .domain-comment {
  margin-top: 20px;
}
.domain-comment p {
  font-size: 14px;
  margin-bottom: 4px;
}
.domain-comment cite {
  font-size: 13px;
  font-weight: bold;
  color: #777;
}