h1 {
    font-size: 48px;
    line-height: 72px;
}
h2 {
    font-size: 36px;
    line-height: 54px;
}
h3 {
    font-size: 24px;
    line-height: 36px;
}
h4 {
    font-size: 18px;
    line-height: 27px;
}
.mr-16 {
    margin-right: 16px;
}
.mb-16 {
    margin-bottom: 16px;
}
.mr-32 {
    margin-right: 32px;
}
.mb-32 {
    margin-bottom: 32px;
}
.mr-42 {
    margin-right: 42px;
}
.mb-42 {
    margin-bottom: 42px;
}
.wt-700 {
    font-weight: 700;
}
.wt-600 {
    font-weight: 600;
}
.wt-500 {
    font-weight: 500;
}
.rounded-20 {
    border-radius: 20px;
}
.border-2 {
    border: 2px solid #E8EAED;
}

label {
    cursor: pointer;
}
/****** color and background ******/
.soft-black {
    color: #333438 !important;
}
.gray {
    color: #565555 !important;
}
.bg-light-gray {
    background-color: #E8EAED !important;
}
.green {
    color: #4BA441 !important;
}
.bg-green {
    background-color: #4BA441 !important;
}

/********** ask question follow *********/

.message-wrap{
    width: 220px;
    min-height: 38px;
    margin: auto;
    padding: 8px 8px 0px 8px;
    color: white;
    background-color: #73A46E;
    border-radius: 7px;
}
.ask-question-wrapper {
    padding-top: 64px;
}
.question-wrap {
    width: 824px;
    min-height: 525px;
    margin: auto;
    padding: 24px;
}
.question-wrap.sage-selection {
    height: 770px;
}
.steps-counter {
    position: relative;
    height: 8px;
    margin-bottom: 24px;
}
.steps-counter .step-value {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
}
.user-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.user-name .title {
    font-size: 12px;
    line-height: 16.50px;
}
.question-title-box textarea {
    border: 0;
    color: #333438;
    resize: none;
    height: 126px;
}
.question-title-edit{
   border: 1px solid #b2b2b2 !important;
    border-radius: 5px;
}

.question-title-box textarea::-webkit-input-placeholder {
    color: #565555;
}
.question-title-box textarea,
.question-title-box textarea::-webkit-input-placeholder {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
}
.tips-wrap {
    border-top: 1px solid #dee2e6;
    padding-top: 14px;
}
.rules li,
.rules li span,
.tips {
    font-size: 12px !important;
    line-height: 16.50px !important;

}
.step-body {
    padding: 0 20px 0 30px;
    display: flex;
    flex-direction: column;
    min-height: 332px;
    justify-content: center;
}
.step-body.select-expert {
    min-height: 400px;
    padding: 0 20px 0 17px;
}
.step-body.question-order-wrap {
    min-height: 400px;
    height: 400px;
}
.question-wrap.sage-selection .step-body.select-expert {
    height: calc(100% - 75px);
}
.question-title {
    position: relative;
    padding: 5px 0px 5px 25px;

}
.question-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #4BA441;
    border-radius: 5px;
}

/**** Question details *****/
.question-details .tox-tinymce {
    border: 1px solid #E8EAED;
    border-radius: 20px;
}

.question-details .tox .tox-toolbar,
.question-details .tox .tox-toolbar__overflow,
.question-details .tox .tox-toolbar__primary {
    background: none;
    border-bottom: 1px solid #E8EAED;
}
.add-tags {
    width: fit-content;
    padding: 6px 8px;
    cursor: pointer;
}
.add-tags:hover {
    background: #E8EAED;
    border-radius: 5px;
}

/********* Topic selection area ********/
.topic-area {
    width: 530px;
    margin: 0 auto 60px;
}
.box-trigger {
    height: 41px;
    line-height: 41px;
    padding: 0 16px;
    background: #E8EAED;
    border-radius: 5px;
    margin-bottom: 16px;
}
.topic-box {
    padding: 12px 12px 0;
    border-radius: 10px;
    max-height: 67px;
    overflow: hidden;
    border: 1px solid transparent;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}
.topic-box.opened {
    max-height: 600px;
    border-color:#E8EAED;
    box-shadow: 0px 2px 4px #E8EAED;
}
.caret-area {
    position: relative;
    width: 29px;
    height: 100%;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.caret-area i{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 29px;
    height: 29px;
    text-align: center;
    line-height: 29px;
    border-radius: 50%;
    color: #4BA441;
    transform: translate(-50%, -50%);
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}
.caret-area:hover i{
    background-color: rgba(255, 255, 255, 0.66);
}
.caret-area i.fa-caret-down {
    z-index: 2;
    opacity: 1;
}
.caret-area i.fa-caret-up {
    z-index: -1;
    opacity: 0;
}
.opened .caret-area i.fa-caret-down {
    z-index: -1;
    opacity: 0;
}
.opened .caret-area i.fa-caret-up {
    z-index: 2;
    opacity: 1;
}
input.filter-topic-input {
    font-size: 14px;
    font-weight: 500;
    color: #565555;
    padding: 8px 16px;
    border-radius: 5px;
    border: 2px solid #E8EAED;
    border-radius: 5px;
}
.drop-down-selection {
    opacity: 0;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}
.opened .drop-down-selection {
    opacity: 1;
}
.drop-down-topic-area {
    padding: 0 20px 20px;
}
.recent-text,
.clear {
    font-size: 12px;
    cursor: pointer;
}
.recent-topics {
    padding-bottom: 6px;
    margin-bottom: 26px;
    border-bottom: 1px solid #565555;
}
.single-topic {
    border: 1px solid#565555;
    border-radius: 25px;
    padding: 5px 8px;
}
.single-topic.single-active {
    border: 1px solid #4BA441;
}
.single-topic span {
    display: inline-block;
    vertical-align: middle;
}
.round-shape {
    width: 16px;
    height: 16px;
    line-height: 16px;
    background-color: #565555;
    border-radius: 50%;
    text-align: center;
    font-size: 11px;
}
.single-active .round-shape {
    background-color: #4BA441;
    color: white;
}
.single-topic .topic-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category .topic-text {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-topic {
    border: 1px solid #4BA441;
    border-radius: 25px;
    background: #CDE6CA;
    color: #4F5553;
    padding: 0px 10px;
}
.selected-topic .round-shape {
    background-color: #4BA441;
    color: white;
}
.selected-topic.topic-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topic-list-area {
    max-height: 150px;
    overflow: auto;
}

.topic-list-area::-webkit-scrollbar-track,
.subtopic-list-area::-webkit-scrollbar-track,
.select-expert-card::-webkit-scrollbar-track  {
	background-color: #E8EAED;
}
.topic-list-area::-webkit-scrollbar,
.subtopic-list-area::-webkit-scrollbar,
.select-expert-card::-webkit-scrollbar {
	width: 3px;
	background-color: #E8EAED;
}
.topic-list-area::-webkit-scrollbar-thumb,
.subtopic-list-area::-webkit-scrollbar-thumb,
.select-expert-card::-webkit-scrollbar-thumb {
	background-color: #4BA441;
}
.selection-text {
    position: relative;
}
.opened .selection-text::after {
    content: "";
    position: absolute;
    top: 9px;
    right: -20px;
    z-index: 2;
    width: 1px;
    height: 23px;
    background-color: white;
}
.subtopic-list-area {
    max-height: 305px;
    overflow: auto;
}
.subtopic-item input[type=radio] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid black;
    border-radius: 50%;
    margin-right: 16px;
    position: relative;
}
.subtopic-item input[type=radio]:checked::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 2;
    width: 24px;
    height: 24px;
    background-image: url(../images/Vector.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.subtopic-item label {
    cursor: pointer;
}

/******** question fee selection ******/
.fee-box {
    width: 124px;
    height: 124px;
}
.fee-box label {
    height: 100%;
    padding: 12px;
    border: 1px solid #E8EAED;
    box-shadow: 0px 2px 4px #E8EAED;
    border-radius: 15px;
    cursor: pointer;
}
.fee-box label .value {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
}
.fee-box.custom-value label .value {
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
}
.fee-box label p {
    font-size: 12px;
    line-height: 16.37px;
    margin-bottom: 0;
}
.dollar-icon,
.custom-value-input {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
}
.custom-value-input {
    width: 74px;
    height: 40px;
    display: inline-block;
    border-bottom: 4px solid #F1F1F2;
    text-align: center;
    outline: none;
}
.fee-box-free {
    width: 520px;
    border: 1px solid #E8EAED;
    box-shadow: 0px 2px 4px #E8EAED;
    border-radius: 8px;
}
.fee-box-free label {
    padding: 10px 0;
    cursor: pointer;
}
.fee-box-free p {
    font-size: 12px;
    line-height: 16.37px;
}
.question-fee-area .selected {
    border: 2px solid #4BA441;
}

/*********** Question urgency *********/
.question-urgency {
    width: 84%;
}
.urgency {
    margin-bottom: 15px;
}
.urgency-type {
    position: relative;
}
.urgency-type input[type=radio] {
    position: absolute;
    z-index: -2;
    opacity: 0;
}
.urgency-type label {
    padding-left: 31px;
}
.urgency-type input[type=radio] + label::before,
.urgency-type input[type=radio] + label::after {
    content: "";
    position: absolute;
}
.urgency-type input[type=radio] + label::before {
    top: 0;
    left: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 2px solid #333438;
}
.urgency-type input[type=radio]:checked + label::before {
    border-color: #4BA441;
}
.urgency-type input[type=radio] + label::after {
    top: 4px;
    left: 4px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #4BA441;
    z-index: -1;
    opacity: 0;
}
.urgency-type input[type=radio]:checked + label::after {
    z-index: 2;
    opacity: 1;
}
.listing-fee {
    font-size: 18px;
    font-weight: 500;
}
.question-fee {
    font-size: 18px;
    font-weight: 500;
    color: #4BA441;
}


/** Edit area **/
.edit {
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    color: black;
    z-index: 1;
}
.type select {
    border: 0;
    padding: 7px 25px;
    background: linear-gradient(0deg, rgb(255 255 255 / 84%), rgba(255, 255, 255, 0.72)), #ceecc7;
    border-radius: 25px;
    font-weight: 700;

    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.type select {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%),
      linear-gradient(135deg, gray 50%, #793e3e00 50%),
      linear-gradient(to right, #926f6f00, #ccc0);
    background-position: calc(100% - 20px) calc(1em + 2px),
      calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}
.category {
    padding: 7px 10px;
    border: 1px solid #E8EAED;;
    border-radius: 25px;
}
.category span {
    display: inline-block;
}
.category .round {
    width: 20px;
    height: 20px;
    font-size: 10px;
    line-height: 20px;
    text-align: center;
    color: white;
    background-color: #4BA441;
}

.qsn-price {
    padding: 7px 8px;
    border: 1px solid #4BA441;;
    border-radius: 25px;
    background-color: #4BA441;
}
.qsn-price span {
    display: inline-block;
}

/**** Select expert card *****/
.select-expert-card {
    max-height: 324px;
    overflow: auto;
    padding-right: 8px;
}
.question-wrap.sage-selection .select-expert-card {
    max-height: 85%;
}
.author-header {
    width: 410px;
    border-right: 2px solid #E8EAED;
}
.select-expert-card .expert-card {
    padding: 10px 12px;
    border: 2px solid #E8EAED;
    box-shadow: 0px 2px 4px #E8EAED;
    border-radius: 5px;
    transition: border ease .3s;
}
.select-expert-card .expert-card.selected {
    border-color:  #4ba441;
}
.expert-check {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    border: 0;
    width: 0;
    height: 0;
}
.plus-icon {
    flex: 0 0 37px;
    width: 37px;
    height: 37px;
    line-height: 37px;
    text-align: center;
    font-size: 20px;
    border-radius: 50%;
    position: relative;
    background: #e8eaed00;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}
.plus-icon:hover {
    background: #E8EAED;
}
input[type=radio].expert-check + .plus-icon::before {
    content: "";
    width: 37px;
    height: 37px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    opacity: 0;
    background-image: url(../images/Vector-check.png);
    background-color: #4BA441;
    background-repeat: no-repeat;
    border-radius: 50%;
    background-position: center;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}
input[type=radio].expert-check:checked + .plus-icon::before {
    z-index: 2;
    opacity: 1;
}
.author-info {
    width: calc(100% - 54px);
    cursor: pointer;
}
.author-info img {
    width: 40px;
    height: 40px;
}
.profile-info {
    column-gap: 12px;
}
.stat-box {
    width: 78px;
    height: 78px;
    overflow: hidden;
    border: 1px solid #E8EAED;
    border-radius: 5px;
}
.stat-text,
.question-fee-text {
    font-size: 12px;
    line-height: 16.37px;
}
.stat-value,
.q-fee {
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
}
.q-fee {
    color: #4ba441;
    background-color: #E8EAED;
    transition: all ease .3s;
}
.select-expert-card .expert-card.selected .q-fee {
    color: white;
    background-color: #4ba441;
}
.author-summary {
    border-top: 2px solid #E8EAED;
}
.answer-item a {
    color: #0C0D0E;
}

.buttons-area {
    margin-top: auto;
}
.buttons-area .button {
    width: 130px;
    padding: 8px 0;
}
.description-show{
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Poppins', sans-serif;
    color: #2f3239;
    background: white;
    border: none;
}

.question-type {
    margin-bottom: 15px;
    width: 302px;
    flex: 0 0 302px;
    border-radius: 15px;
    box-shadow: 0px 2px 4px #e8eaed;
}
.question-type-check {
    position: relative;
}
.question-type-check input[type=radio] {
    position: absolute;
    z-index: -2;
    opacity: 0;
}
.question-type-check label , .question-type-check p{
    padding-left: 40px;
}
.question-type-check input[type=radio] + label::before,
.question-type-check input[type=radio] + label::after {
    content: "";
    position: absolute;
}
.question-type-check input[type=radio] + label::before {
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #333438;
    background: black;
}
.question-type-check input[type=radio]:checked + label::before {
    border-color: #4BA441;
    background: #4BA441;
}
.question-type-check input[type=radio] + label::after {
    background-color: #4BA441;
    z-index: -1;
    opacity: 0;
}
.question-type-check input[type=radio]:checked + label::after {
    z-index: 2;
    opacity: 1;
}
/******** Question success ********/
.question-sucess-wrap {
    max-width: 1050px;
    margin: auto;
}
.question-posted {
    padding: 32px 32px 32px 40px;
}
.big-button {
    padding: 8px 47px;
}
.similar-question-wrap {
    column-gap: 35px;
}
.similar-question-box {
    width: 302px;
    flex: 0 0 302px;
    border-radius: 15px;
    box-shadow: 0px 2px 4px #E8EAED;
}
.similar-question {
    display: block;
    border-left: 4px solid #E8EAED;
}
.similar-question a {
    line-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.free-question .author-info {
    width: 250px;
    padding-right: 15px;
}
.free-question .similar-question {
    width: 690px;
}

/******** question order *******/
.question-order {
    padding: 24px 60px 32px 60px;
    border: 1px solid #E8EAED;
    box-shadow: 0px 2px 4px #E8EAED;
    border-radius: 15px;
}
.total-fee {
    border-top: 1px solid #333438;
}
/***** save draft *******/
.save-draft-wrap {
    width: 400px;
    padding: 24px 20px;
    background: #FFFFFF;
    border: 1px solid #E8EAED;
    border-radius: 15px;
}
.draft-header{
    border-bottom: 2px solid #E8EAED;
}
