.qa {
    width: 100%;
    margin: auto;
    padding: 55px 15px 0px;
    max-width: 1118px;
    display: flex;
    justify-content: space-between;
}

.qa .qa-sidebar {
    width: 100%;
    max-width: 285px;
}

.qa .qa-sidebar-content {
    background: #ffffff;
    box-shadow: 0px 6px 16px rgba(43, 50, 115, 0.2);
    border-radius: 6px;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.qa .qa-sidebar-item {
    position: relative;
    padding: 27px 30px 0;
}

.qa .qa-sidebar-item a {
    display: block;
    border-bottom: 1px solid #dddee2;
    padding-bottom: 18px;
    font-size: 14px;
    line-height: 21px;
    color: #2e2e2e;
}

.qa .qa-sidebar-item:last-child a {
    border-bottom: 0;
}

.qa .qa-sidebar-item a:hover {
    text-decoration: none;
}

.qa .qa-sidebar-item.active .qa-sidebar-border,
.qa .qa-sidebar-item:hover .qa-sidebar-border {
    position: absolute;
    width: 2px;
    height: 28px;
    background: #398ff2;
    border-radius: 1px;
    left: 0;
    top: 25px;
}

.qa .qa-sidebar-item.active a {
    font-weight: 700;
    color: #398ff2;
}

.qa .qa-content {
    max-width: 730px;
    width: 100%;
}

.qa .wrapper {
    margin-bottom: 60px;
}

.panel-heading {
    padding: 0 16px;
    border: 0;
}

.panel {
    border-bottom: 1px solid #dddee2;
}

.panel:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 5px 16px rgba(0, 0, 0, 0.1);
}

.panel-title {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 0;
}

.panel-title img {
    margin-right: 25px;
}

.panel-title > a,
.panel-title > a:active {
    display: block;
    color: #232632;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 27px;
}

.panel-heading .plus {
    display: block;
}

.panel-heading .minus {
    display: none;
}

.panel-heading.active .plus {
    display: none;
}

.panel-heading.active .minus {
    display: block;
}

.panel-body {
    font-size: 14px;
    line-height: 21px;
    padding-left: 11px;
    border-left: 1px solid #fb9e4d;
    margin-bottom: 22px;
    margin-left: 83px;
    padding-right: 11px;
}

.btn-qa {
    background: #398ff2;
    border-radius: 24px;
    max-width: 226px;
    min-height: 48px;
    box-shadow: 0px 3px 2px 0px rgba(57, 143, 242, 0.2);
    margin: 0 auto 73px;
    font-size: 14px;
    color: #f9f9f9;
}

.btn-qa img {
    margin-left: 11px;
    height: 16px;
}

.qa-modal .modal-header {
    padding: 19px 25px 18px;
    border-bottom: 0;
}

.qa-modal .modal-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 21px;
    color: #232632;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.qa-modal .close {
    opacity: 1;
}

.qa-modal .close:focus {
    outline: none;
}

.qa-modal .modal-body {
    padding: 0 28px 28px;
}

.qa-modal .modal-content {
    background: #ffffff;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.1);
    border-radius: 9px;
}

.qa-form label {
    font-size: 14px;
    line-height: 21px;
    color: #232632;
    margin-bottom: 6px;
}

.qa-form .qa-input {
    background: #ffffff;
    border: 1px solid #dddee2;
    box-sizing: border-box;
    border-radius: 4px;
}

.qa-form .qa-input::placeholder {
    color: #989caa;
}

.qa-form .qa-input:focus {
    outline: none;
    box-shadow: none;
}

.qa-form .qa-select {
    background: #f4f4f7;
    border: 1px solid #dddee2;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../../img/icons/arrow-down-black.png");
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: 15px;
}

.qa-form .qa-select:focus {
    outline: none;
    box-shadow: none;
}

.qa-form .qa-textarea {
    border: 1px solid #dddee2;
    box-sizing: border-box;
    border-radius: 4px;
    height: 81px;
    overflow: auto;
    resize: none;
}

.qa-form .qa-textarea:focus {
    outline: none;
    box-shadow: none;
}
#modalSuccess {
    padding-right: 0 !important;
}

.qa-form .btn-submit {
    background: #398ff2;
    border-radius: 24px;
    max-width: 113px;
    min-height: 36px;
    box-shadow: 0px 3px 2px 0px rgba(57, 143, 242, 0.2);
    margin: 20px auto 0;
}

.modal-success .modal-dialog {
    width: 100%;
    max-width: 637px;
}

.modal-success .modal-content {
    background: #ffffff;
    border-radius: 12px;
    border: 0;
    padding: 20px 20px 45px 20px;
    text-align: center;
}

.modal-success .modal-content button.close {
    padding-right: 0;
}

.modal-success .modal-body {
    padding: 0;
}

.modal-success img {
    margin-bottom: 25px;
}

.modal-success .modal-success-description {
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #2a2e43;
    margin-bottom: 30px;
}

.modal-success .modal-success-bottom {
    font-size: 16px;
    line-height: 24px;
    color: #2a2e43;
}

.modal-success .modal-success-bottom a {
    color: #3490dc;
}

.label-required {
    background-color: #d60050;
    border-radius: 2px;
    font-weight: 400;
    font-size: 10px;
    color: white;
    line-height: 12px;
    padding: 1px 8px 1px 7px;
}

/* responsive */

@media screen and (max-width: 767px) {
    .qa {
        flex-wrap: wrap;
    }
    .qa .qa-sidebar {
        max-width: 100%;
        margin-bottom: 50px;
    }
    .panel:hover {
        background: transparent;
        box-shadow: none;
    }
    .panel-body {
        border-left: 0;
        position: relative;
    }
    .panel-body::before {
        content: "";
        position: absolute;
        width: 1px;
        height: 36px;
        top: 0;
        left: 0;
        background-color: #fb9e4d;
    }
}

.faq {
    padding-bottom: 100px;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .qa .qa-sidebar {
        margin-right: 20px;
    }
}
@media screen and (max-width: 767px) {
    .modal-success .modal-dialog {
        max-width: 90%;
        margin: auto;
    }
    .modal-success .modal-success-description {
        font-size: 16px;
    }
}
@media screen and (max-width: 450px) {
    .modal-success .modal-success-description {
        font-size: 14px;
    }
}
