/* FIXME эти стили желательно вливать с основной style по мере возможности.
Этот файл используется исключительно как временное решение. Эта свалка не должна сильно разбухать */
div.alert.alert-warning {
    margin: 20px 0 20px 0;
    background: #FFF2BB;
    border: 1px solid #E9DCA0;
    color: #292929;
}


.metric-wrapper {
    margin-bottom: 5px;
}

.profile_username {
    display: inline-block;
    margin-right: 10px;
}

.qna-answer {
    background-color: #EAEFF8;
    border: 1px solid #eaeff6;
    border-radius: 2px;
    padding: 20px;
    margin-top: 40px;
}

.qna-answer-content {
    margin-top: 15px;
}

.last_solved h4 {
    font-size: 22px;
}

.last_solved ul {
    margin-left: 15px;
}

.h__link-number {
    position: relative;
    top: -5px;
    color: #00E866;
}

.spacet-30 {
    margin-top: 30px;
}

.spacet-10 {
    margin-top: 10px;
}

.centered {
    text-align: center;
}

a.b-submit-challenge-btn:hover, a.b-submit-challenge-btn:focus {
    text-decoration: none;
    color: #fff;
}

.qna-answer-content img {
    width: 100%;
    margin-top: 10px;
}

.qna-answer-content h3 {
    font-family: Lato-semibold;
    font-weight: 700;
}

.qna_subtitle {
    font-size: 18px;
    line-height: 24px;
    color: gray;
    padding-left: 30px;
}

.qna_promo {
    padding-left: 30px;
}

.qna-devman-promo-btn-col a.know-more,
.qna-devman-promo-btn-col a.know-more:focus,
.qna-devman-promo-btn-col a.know-more:active {
  color: #777;
}
@media (min-width: 1200px) {
  .qna-devman-promo-btn-col {
      margin-top: 40px;
  }
}

@media (max-width: 1199px) {
  .qna-devman-promo-btn-col {
      margin-top: 0px;
  }
}

.qna-devman-promo {
  background-color: #EAEFF6;
}

@media (min-width: 1200px) {
  .qna-devman-promo {
    padding-bottom: 10px;
  }
}

@media (max-width: 1199px) {
  .qna-devman-promo {
    padding-bottom: 20px;
  }
}

ul.qna_list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

a.qna_item {
    color: #333;
    padding: 15px;
    display: inline-block;
    width: 100%;
}

a.qna_item:hover {
    color: #333;
    text-decoration: none;
    background-color: #FFF2BB;
}

.qna_spoiler {
    overflow: hidden;
}

.submodule-content h3.qna_title {
    margin-top: 0;
    font-family: Lato-semibold;
    font-weight: 900;
}

.qna_category {
    line-height: 16px;
}

.qna_subscribe_hint {
    font-size: small;
    color: gray;
    position: absolute;
    bottom: 10px;
    line-height: 14px;
}

.qna_subscribe_form {
    background-color: #EAEFF6;
    padding: 20px;
    height: 160px;
    margin-top: 15px;
}

.qna_subscribe_form .p-task__button-btn {
    width: 100%;
    margin-top: 10px;
    max-width: none;
}

.ask_question_wrapper {
    margin-left: 15px;
}

.ask_question {
    border-bottom: 1px dotted #333;
    cursor: pointer;
}

.qna_subscribe_btn:hover {
    text-decoration: none;
}

.qna_success_subscription, .qna_success_question_asked {
    font-size: 6em;
    color: green;
}

.qna_success_subscription_wrapper, .qna_success_question_asked_wrapper {
    text-align: center;
}

.qna_success_submit_hint {
    margin-top: 10px;
}

.qna_profile {
    color: #333;
}

.qna_date {
    float: right;
    color: lightgray;
    font-size: 14px;
}

.qna_menu_icon {
    font-size: 20px;
}

.qna_promo .submodule-title {
    padding-left: 15px;
    padding-right: 20px;
}

.inner-addon {
    position: relative;
}

.inner-addon .glyphicon {
    position: absolute;
    padding: 10px;
    pointer-events: none;
    z-index: 2;
    top: -1px;
}

.left-addon .glyphicon  {
    left:  0;
}
.right-addon .glyphicon {
    right: 0;
}

.left-addon input[type="text"] {
    padding-left:  30px;
}

.right-addon input[type="text"] {
    padding-right: 30px;
}

.qna_search_wrapper {
    margin-top: 15px;
}

.qna_search_wrapper input[type="submit"] {
    margin-left: 5px;
}

.archive_title {
    margin-left: 30px;
}

.form_submit_btn {
  margin-left: 15px;
}

.quiz_question {
  margin-top: 30px;
}

.quiz_options {
  margin-top: 30px;
  margin-left: -10px;
}

.quiz_option {
  padding: 10px;
  cursor: pointer;
}

.quiz_option>p {
  margin-bottom: 0;
}

.quiz_option:hover {
    background-color: #FFF2BB;
}

.intro_quiz .b-person__progress {
  min-height: 30px;
  margin-top: 30px;
}

.intro_quiz .b-person__progress-line {
  min-height: 30px;
}

.message-item {
  font-size: 14px;
  line-height: 18px;
  font-weight: normal;
}

.subscription_notice {
  margin-top: 20px;
  font-size: large;
}

.subscription_notice>i {
  font-size: x-large;
  margin-right: 5px;
}

.subscription_notice>i.glyphicon-ok {
  color: green;
}

.subscription_notice>i.glyphicon-remove {
  color: red;
}

.js-get-another-tip {
  color: #fff !important;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.margined {
  margin: 5px;
}

.local-anchor {
  text-decoration: none !important;
  border-bottom: 1px dashed black;
}

.verified_server_tick {
  margin-top: 8px;
  margin-left: 3px;
  color: green;
}


/* Sticky footer styles
from http://getbootstrap.com/docs/3.3/examples/sticky-footer/
------------------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  /* 60 top margin + 30 bottom margin + about 90 the footer itself */
  margin-bottom: 180px;
}

.sticky-footer {
  position: absolute;
  bottom: 30px;
  width: 100%;
  height: 90px;
}

code {
  padding: 3px;
  font-size: 85%;
  border-radius: 3px;
  background: #f2f2f2;
  color: #545454;
  text-shadow: none;
  word-break: normal;
  word-spacing: normal;
}

.breadcrumb-item {
    font-size: 16px;
}
