/**
 * default template
 * -------
 * Modified: accordion style for product detail FAQ
 */
.rof-section {
    position: relative;
}
.rof-section h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}
.rof-section time {
    font-size: .9em;
    font-weight: normal;
}
.rof-section a:focus,
.rof-section a:link,
.rof-section a:active {
    outline: 0 none;
    color: #0082d5;
}
.rof-section a.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.rof-section fieldset {
    border: 0 none;
    margin-top: 10px;
}
.rof-section .rof-list {
    position: relative;
    margin: 36px 0 0;
    border: 1px solid #e5e5e5;
}
.rof-section .rof-list .rof-item {
    padding: 0px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    transition: var(--tr-linear);
}
.rof-section .rof-list .rof-item:last-of-type {
    border-bottom: none;
}
.rof-section .rof-list .rof-item:hover {
    background-color: #f0f0f0;
}
.rof-section .rof-list .rof-item.opened {
    background-color: #f7f7f7;
}
.rof-section .rof-list .rof-item.opened:hover {
    background-color: #f7f7f7;
}
.rof-section .rof-list .rof-item .rof-question {
    font-weight: bold;
    position: relative;
    padding: 0px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 14px;
    line-height: 20px;
}
.rof-section .rof-list .rof-item .rof-question > a {
    display: block;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    padding: 19px 64px 19px 24px;
    position: relative;
}
.rof-section .rof-list .rof-item .rof-question > a:after {
    content: '';
    position: absolute;
    right: 3px;
    top: 12px;
    display: block;
    width: 34px;
    height: 34px;
    background: url(/bitrix/templates/_aspro_optimus/images/arrows.png) 8px -255px no-repeat;
}
.rof-section .rof-list .rof-item .rof-question > a.opened:after {
    background: url(/bitrix/templates/_aspro_optimus/images/arrows.png) -25px -255px no-repeat !important;
}
.rof-section .rof-list .rof-item .rof-question > a.adm-edit {
    position: relative;
    float: none;
    font-style: italic;
    font-size: 13px;
    font-weight: normal;
    text-decoration: underline;
    color: #0082d5;
    margin: 0 5px 0 8px;
    display: inline-block;
    width: auto;
    padding: 0;
}
.rof-section .rof-list .rof-item .rof-question > a.adm-edit:after {
    content: none;
}
.rof-section .rof-list .rof-item .rof-question > a.adm-edit:hover {
    color: #2a6496;
}
.rof-section .rof-list .rof-item .rof-answer {
    display: none;
    padding-top: 14px;
    padding: 0px 24px 22px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 13px;
    line-height: 20px;
    color: #333;
}
.rof-section .rof-list .rof-item .rof-answer p {
    font-size: 13px;
    margin: 0;
}
.rof-section .rof-list .rof-item .rof-answer p:last-child {
    margin-bottom: 0;
}
.rof-section .rof-list .rof-item .rof-likes {
    position: relative;
    display: block;
    margin-top: 15px;
    text-align: right;
}
.rof-section .rof-list .rof-item .rof-likes .like-action {
    cursor: pointer;
    text-decoration: none;
    opacity: .5;
    display: inline-block;
    vertical-align: middle;
}
.rof-section .rof-list .rof-item .rof-likes .like-action i {
    font-size: 1.3em;
}
.rof-section .rof-list .rof-item .rof-likes .like-action.disabled {
    opacity: 1;
}
.rof-section .rof-list .rof-item .rof-likes .like-action.like {
    margin-right: 5px;
}
.rof-section .rof-list .rof-item .rof-likes .like-action.dislike {
    margin-left: 5px;
}
.rof-section .rof-list .more-answers-block {
    margin-top: 10px;
}
.rof-section .rof-list .more-answers-block ul.more-answers-list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rof-section .rof-list .more-answers-block ul.more-answers-list li {
    margin-bottom: 0;
    padding-left: 0;
    font-size: 13px;
    line-height: 20px;
}
.rof-section .rof-list .more-answers-block ul.more-answers-list li:before {
    content: none;
    padding-left: 20px;
}
.rof-section .rof-responce-control-block {
    margin-top: 30px;
    margin-bottom: 30px;
}
.rof-section .rof-responce-control-block .show-more,
.rof-section .rof-responce-control-block .hide-more,
.rof-section .rof-responce-control-block .rof-add-question {
    display: inline-block;
    float: right;
    margin-left: 1%;
}
.rof-section .rof-responce-control-block:after {
    content: ' ';
    clear: both;
    display: block;
    float: none;
}
.rof-section .add-question-link {
    cursor: pointer;
    text-decoration: none;
}
.rof-section .faq-preload,
.rof-section .faq-add-preload {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    vertical-align: bottom;
    background: #ffffff no-repeat center;
    opacity: 0.8;
    z-index: 10003;
    cursor: wait;
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}
.rof-section .rof-add-question-block .input-field {
    vertical-align: top;
}

.overlay-rof {
    display: none;
    background-color: rgba(34, 34, 34, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.popup-rof {
    min-width: 275px;
}

.popup-rof-add-question,
.popup-rof-add-question-responce,
.popup-rof-no-auth {
    display: none;
    width: 570px;
    top: 100px;
    left: 50%;
    margin-left: -285px;
    height: auto;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    position: fixed;
    z-index: 2001;
    background-color: #fff;
}
.popup-rof-add-question .popup-rof-add-question-header,
.popup-rof-add-question-responce .popup-rof-add-question-header,
.popup-rof-no-auth .popup-rof-add-question-header {
    border-radius: 5px 5px 0 0;
    position: relative;
    padding: 25px 30px;
    background-color: #F7F7F7;
    border-bottom: 1px solid #E4E4E4;
}
.popup-rof-add-question .popup-rof-add-question-header h2,
.popup-rof-add-question-responce .popup-rof-add-question-header h2,
.popup-rof-no-auth .popup-rof-add-question-header h2 {
    display: inline-block;
    margin: 0;
    font-weight: 500;
    text-shadow: none;
    color: #3d4d65;
    font-size: 22px;
    font-family: "OpenSans-Regular";
    letter-spacing: 0.4px;
    line-height: 15px;
    text-transform: uppercase;
}
.popup-rof-add-question .popup-rof-add-question-header a.x-popup-close,
.popup-rof-add-question-responce .popup-rof-add-question-header a.x-popup-close,
.popup-rof-no-auth .popup-rof-add-question-header a.x-popup-close {
    display: inline-block;
    text-decoration: none;
    vertical-align: 5px;
    position: absolute;
    right: 30px;
    margin-top: 4px;
}
.popup-rof-add-question .popup-rof-add-question-header a.x-popup-close i,
.popup-rof-add-question-responce .popup-rof-add-question-header a.x-popup-close i,
.popup-rof-no-auth .popup-rof-add-question-header a.x-popup-close i {
    display: block;
    border-radius: 0px;
    width: 14px;
    height: 14px;
    opacity: 1;
    background: url(./images/close_icons.png) -1px -46px no-repeat;
}
.popup-rof-add-question .popup-rof-add-question-body,
.popup-rof-add-question-responce .popup-rof-add-question-body,
.popup-rof-no-auth .popup-rof-add-question-body {
    padding: 30px 30px;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-block img,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-block img,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-block img {
    margin-right: 3%;
    width: 20%;
    height: auto;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-block textarea,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-block textarea,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-block textarea {
    width: 76%;
    font-size: 14px;
    line-height: 16px;
    color: #999999;
    padding: 15px 15px;
    background-color: #F7F7F7;
    border: 1px solid #E4E4E4;
    height: 102px;
    min-height: 102px;
    resize: vertical;
    float: right;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-block textarea.error,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-block textarea.error,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-block textarea.error {
    border-color: #FF7362;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-block textarea.full,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-block textarea.full,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-block textarea.full {
    width: 100%;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-block:after,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-block:after,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-block:after {
    content: ' ';
    clear: both;
    display: block;
    float: none;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-report,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-report,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-report {
    display: none;
    text-align: right;
    margin-top: 10px;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .input-report.error,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .input-report.error,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .input-report.error {
    color: #FF7362;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .control-block,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .control-block,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .control-block {
    margin-top: 26px;
    margin-bottom: 4px;
    text-align: right;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .control-block .btn,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .control-block .btn,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .control-block .btn {
    color: #fff;
    background-color: #4DAF7C;
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
}
.popup-rof-add-question .popup-rof-add-question-body .rof-add-question-form .control-block .btn:hover,
.popup-rof-add-question-responce .popup-rof-add-question-body .rof-add-question-form .control-block .btn:hover,
.popup-rof-no-auth .popup-rof-add-question-body .rof-add-question-form .control-block .btn:hover {
    background-color: #67BD90;
}

body.fix {
    overflow: hidden !important;
}

/**
 * <= 570
 * ----------------------------------------------------------------------------
 */
@media (max-width: 570px) {
    .popup-rof {
        width: 100%;
        margin-left: 0;
        left: 0;
    }
}

/**
 * <= 440
 * ----------------------------------------------------------------------------
 */
@media (max-width: 440px) {
    .rof-section .rof-list .rof-item .rof-likes {
        text-align: left;
    }
}

/**
 * <= 360
 * ----------------------------------------------------------------------------
 */
@media (max-width: 360px) {
    .popup-rof .popup-rof-add-question-header h2 {
        font-size: 1em;
    }
}
