.q-promo {
    margin-top: 10px;
    background-size: cover !important;
    height: 300px;
    border-radius: 12px !important;
    border: none;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #ebecec;
    background-origin: border-box;
    background-repeat: no-repeat;
    overflow: hidden;
}

.modal-close-button {
    background-image: url(/images/search-clear.svg);
    background-repeat: no-repeat;
    background-size: 55px;
    background-position: -15px 0;
    height: 55px;
    width: 55px;
    position: absolute;
    right: -10px;
    top: 5px;
    z-index: 1006;
    opacity: .4;
    background-color: transparent;
    border: none;
}

.qa-photo {
    display: inline-block;
    position: relative;
    margin: 0 8px 8px 0;
}

.qa-photo img {
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #d8e2ea;
}

.qa-photo-remove {
    position: absolute;
    right: -6px;
    top: -6px;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #d9534f;
    color: #fff;
    line-height: 20px;
    padding: 0;
    font-size: 18px;
}

.qa-photo-uploader .qq-upload-list {
    display: none;
}


.q-descr.media-review p{
    margin: 10px 0;
}

.q-promo .hl-title-wrapper{
    height: auto;
    padding: 15% 20px 5px !important;
    bottom: 0;
    position: absolute;
    width: 100%;
}


.form-group-lg .bootstrap-tagsinput {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    border: 1px solid #c2cad8;
}

.bootstrap-tagsinput {
    box-shadow: none !important;
    border: 1px solid #e5e5e5;
    line-height: 28px;
    margin-bottom: 0;
    width: 100%;
}

.tt-hint {
    color: #999 !important;
}

.twitter-typeahead input {
    min-width: 10em;
}

.page_header .tt-dropdown-menu, .pharm, .twitter-typeahead {
    width: auto !important;
}

.tt-dropdown-menu {
    width: auto;
    z-index: 10000;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
    white-space: nowrap !important;
}

.form-group-lg .bootstrap-tagsinput .tag {
    font-size: 18px !important;
    padding: .2em .6em .3em;
    display: inline-block;
    margin-bottom: 3px;
}

.questions-header {
    margin-bottom: 20px;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.input-group.rounded-pill input {
    border-bottom-left-radius: 50rem !important;
    border-top-left-radius: 50rem !important;
}

.input-group.rounded-pill button {
    border-bottom-right-radius: 50rem !important;
    border-top-right-radius: 50rem !important;
}

.btn-question {
    color: white;
    padding-right: 40px;
    padding-left: 40px;
}

.q-promo-text button {
    margin-top: 10px;
}

.q-promo-text {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 400px;
    background: rgba(0, 0, 0, .2);
    padding: 20px;
    margin: 20px;
    border-radius: 12px !important;
    border-bottom-right-radius: 0 !important;
    color:#fff;
}

.q-promo-text p {
    margin-bottom: 0 !important;
    color:#fff;
}

.q-promo h1 {
    line-height: 1;
    font-size: 3rem;
    margin-bottom: 0;
}

.q-promo .lead {
    margin-top: 0;
    line-height: 1.1;
    font-size: 1.8rem;
    color: #fff;
}

.question {
    border: 1px solid #dedee0;
    border-radius: 12px !important;
    position: relative;
    background: #fff;
    margin-bottom: 15px;
    padding: 25px 20px;
}

.question h2 {
    font-size: 2.3rem;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.qa .box .box-title {
    height: inherit;
}

.qa .banner {
    margin-bottom: 15px;
}

.question h2 a {
    color: black;
}

.section-header, .module__title {
    margin-top: 0;
}

.qa .col-md-8 h2 {
    margin-left: 20px;
}

.success {
    border-color: #4CAF50;
    color: green;
}

.success:hover {
    background-color: #4CAF50;
    color: white;
}

/* Blue */
.info {
    border-color: #2196F3;
    color: dodgerblue
}

.info:hover {
    background: #2196F3;
    color: white;
}

ol.breadcrumb {
    margin-bottom: 5px;
}

.question.answer {
    border-top-left-radius: 0 !important;
}

#qa_answer .del_photo i {
    top: 1px;
    left: 3px;
}

.btn-q {
    min-width: 170px;
}

.question.answer .answer {
    background-color: rgba(0, 0, 0, .03);
    margin-top: 2rem;
    margin-left: 2rem;
}

.warning {
    border-color: #ff9800;
    color: orange;
}

.warning:hover {
    background: #ff9800;
    color: white;
}

/* Red */
.danger {
    border-color: #f44336;
    color: red;
}

.danger:hover {
    background: #f44336;
    color: white;
}

/* Gray */
.default {
    border-color: #e7e7e7;
    color: black;
}

.default:hover {
    background: #e7e7e7;
}

.q-act .btn {
    margin-top: 4px;
}


.answer a.author {
    font-weight: bold;
}

.qa h1 {
    font-size: 3.5rem;
}

.q-act {
    border-top: 1px solid #dedee0;
    padding: 20px 0 0 0;
    margin-top: 15px;
}

.q-descr {
    margin-bottom: 5px;
    margin-top: 5px;
    color: #222;
}

.q-author {
    margin-top: 10px;
}

.q-author a {
    text-decoration: none;
    color: black;
}

.q-author a img {
    display: inline-block;
    margin-right: 5px;
}

.q-single {
    border: 1px solid #ccc;
    border-top-left-radius: 0 !important;
}

.question:not(.answer) {
    border-left: 4px solid #ea5460;
}

.qa-body .author {
    position: absolute;
    top: 0;
    left: 0;
}

.qa-body {
    padding-left: 55px;
}

.q-author .dt_com {
    display: inline-block;
    margin-left: 4px;
    color: #777;
    font-size: 1.5rem;
}

.q-author .tags1 {
    display: inline-block;
    margin-left: 4px;
}

.q-author .in {
    margin-left: 3px;
    color: #999;
}

.question .views {
    display: inline-block;
    margin-left: 7px;
}

.full-descr {
    display: none;
}

.right-info {
    color: #999;
    font-size: 1.5rem;
    text-align: right;
}

.search i.fa {
    position: absolute;
    z-index: 10000;
    font-size: 2rem;
    top: 12px;
    left: 17px;
    display: inline-block;
}

.search input {
    padding-left: 45px !important;
}

.xha {
    white-space: unset;
}

.xha img {
    width: 100%;
    max-width: unset;
    bottom: unset !important;
}

.box .title {
    position: absolute;
    z-index: 100;
    bottom: 0;
    width: 100%;
    font-size: 2rem;
}

.hl-title-wrapper {
    color: #fff !important;
    background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    padding: 10px 20px !important;
    font-weight: bold;
    line-height: 1.1;
    text-align: left;
}

.box-title {
    margin-top: 15px;
}

.q-btn {
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.col-sm-6.col-md-12 {
    padding: unset;
}

@media (min-width: 1025px) {
    .h280 {
        height: 280px;
    }
}

@media (min-width: 992px) {
    .row {
        display: flex;
    }
}

@media (max-width: 991px) {
    .btn-question {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {

    .body-questions .content,
    .body-questions .container.content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .body-questions .questions-header .row,
    .body-questions .q-act .row,
    .body-questions .q-promo .row {
        margin-left: 0;
        margin-right: 0;
    }

    .body-questions .questions-header [class^=col-],
    .body-questions .questions-header [class*=" col-"],
    .body-questions .q-act [class^=col-],
    .body-questions .q-act [class*=" col-"],
    .body-questions .q-promo [class^=col-],
    .body-questions .q-promo [class*=" col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .body-questions ol.breadcrumb {
        display: none;
    }

    .body-questions .qa ol.breadcrumb {
        display: block;
        padding: 14px 0 8px;
        margin: 0;
        background: transparent;
        border-radius: 0;
        color: #8d8d8d;
        font-size: 18px;
        line-height: 1.35;
    }

    .body-questions .qa ol.breadcrumb > li,
    .body-questions .qa ol.breadcrumb > li > a {
        color: #8d8d8d;
    }

    .body-questions .qa ol.breadcrumb > .active {
        color: #777;
    }

    .body-questions #logo img {
        margin-left: -32px;
    }

    .q-promo {
        height: 316px !important;
        padding: 0;
        margin-top: 0;
        margin-bottom: 24px;
        background-position: 50% 50%;
        border-radius: 10px !important;
    }

    .q-promo .hl-title-wrapper {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0 24px 24px !important;
        z-index: 2;
    }

    .q-promo .hl-title-wrapper .row {
        display: block;
    }

    .q-promo .pull-right {
        float: none !important;
        width: 100%;
        text-align: center;
    }

    .q-promo .pull-right button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 430px;
        height: 58px;
        margin: 14px auto 0;
        padding: 0 18px;
        font-size: 22px;
        font-weight: 500;
        line-height: 1;
        border-radius: 999px !important;
        box-shadow: none;
    }

    .q-promo .pull-right button i {
        margin-right: 8px;
    }

    .q-promo h1 {
        font-size: 30px;
        line-height: 1.05;
        font-weight: 700;
        margin-bottom: 4px;
        color: #fff;
    }

    .q-promo .lead {
        margin: 0 !important;
        line-height: 1.2;
        font-size: 20px;
        color: #fff !important;
    }

    .questions-header {
        margin-bottom: 18px;
    }

    .questions-header .col-md-4 {
        margin-top: 12px;
    }

    .questions-header .input-group.search {
        display: flex;
        align-items: center;
        width: 100%;
        height: 58px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #d4d8dd;
        border-radius: 999px !important;
    }

    .questions-header .search i.fa {
        position: static;
        width: 52px;
        min-width: 52px;
        font-size: 22px;
        line-height: 58px;
        text-align: center;
        color: #1b232b;
    }

    .questions-header .search input {
        flex: 1 1 auto;
        min-width: 0;
        height: 56px;
        padding: 0 10px 0 0 !important;
        border: 0;
        box-shadow: none;
        font-size: 21px;
        line-height: 56px;
    }

    .questions-header .search .input-group-btn {
        display: block;
        width: auto;
        min-width: 104px;
    }

    .questions-header .search .input-group-btn .btn {
        height: 58px;
        min-width: 104px;
        padding: 0 18px;
        border: 0;
        border-left: 1px solid #d4d8dd;
        border-radius: 0 999px 999px 0 !important;
        background: #fff;
        font-size: 20px;
        line-height: 58px;
        color: #333;
    }

    .btn-question {
        display: flex;
        align-items: center;
        justify-content: center;
        float: none !important;
        width: 100%;
        height: 58px;
        margin-top: 0;
        padding: 0 16px !important;
        font-size: 20px;
        line-height: 1;
        border-radius: 999px !important;
    }

    .btn-question i {
        margin-right: 7px;
    }

    .question {
        padding: 22px 22px 18px;
        margin-bottom: 16px;
        border-color: #e1e5e8;
        border-left-width: 5px !important;
        border-radius: 12px !important;
    }

    .question h1,
    .question h2,
    .question .q-title {
        font-size: 27px;
        line-height: 1.12;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .question h1.q-title {
        margin-top: 0;
    }

    .q-descr {
        font-size: 20px;
        line-height: 1.35;
        margin-top: 6px;
        margin-bottom: 8px;
        color: #303030;
    }

    .q-author {
        margin-top: 14px;
        font-size: 18px;
        line-height: 1.35;
    }

    .q-author a img {
        width: 26px;
        height: 26px;
    }

    .q-author .tags1 {
        display: block;
        margin-left: 31px;
    }

    .q-act {
        margin-top: 18px;
        padding-top: 12px;
    }

    .q-act .btn,
    .q-act .btn-q,
    .q-act .btn-q-follow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 0;
        height: 38px;
        margin: 0 6px 8px 0;
        padding: 0 13px;
        border-radius: 999px !important;
        background: #fff;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }

    .q-act .btn i {
        margin-right: 5px;
        font-size: 14px;
    }

    .qa .q-single {
        padding: 34px 30px 26px;
    }

    .qa .q-single h1.q-title {
        font-size: 40px;
        line-height: 1.08;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .qa .q-single .q-descr {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .qa .q-single .q-author {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        min-height: 46px;
        margin-top: 16px;
        font-size: 20px;
    }

    .qa .q-single .q-author a.author {
        display: inline-flex;
        align-items: center;
    }

    .qa .q-single .q-author a img {
        width: 42px;
        height: 42px;
        margin-right: 12px;
    }

    .qa .q-single .q-author .in {
        margin-left: 8px;
    }

    .qa .q-single .q-author .tags1 {
        width: 100%;
        margin-left: 54px;
        margin-top: 2px;
    }

    .qa .q-single .q-act {
        margin-top: 22px;
        padding-top: 22px;
    }

    .qa .q-single .q-act .btn,
    .qa .q-single .q-act .btn-q,
    .qa .q-single .q-act .btn-q-follow {
        width: 100%;
        height: 56px;
        margin: 0 0 10px 0;
        padding: 0 18px;
        font-size: 20px;
        border-radius: 999px !important;
    }

    .qa .q-single .q-act .btn-q-follow {
        background: #fff;
        border-color: #d7d9dd;
        color: #333;
    }

    .qa .q-single .q-act .btn-q,
    .qa .q-single .q-act .btn-danger {
        background: #ef3e55;
        border-color: #ef3e55;
        color: #fff;
    }

    .qa .q-single .q-act .btn i {
        font-size: 20px;
        margin-right: 7px;
    }

    .r-info {
        margin-top: 4px;
        font-size: 16px;
        line-height: 1.35;
    }

    .right-info {
        text-align: left !important;
        float: none !important;
        margin-bottom: 3px;
    }

    .q-promo-text {
        top: inherit;
        bottom: 0;
        margin: 5px;
        padding: 10px 15px;
        background: rgba(255, 255, 255, .7);
    }

    .q-answers {
        display: inline-block;
        margin: 20px 0 0 0;
    }

}
