/* common css in all templates */
:root {
    --brand-color: #2a1a5e;
    --secondary-color: #ef9434;
    --gray-color: #7e849b;
    --border-color: #dddddd;
    --black-color: #1f222b;
    --white-color: #ffffff;
}
.rtwwcfm_hidden{
	display: none;
}
.rtwwcfm_appointment_main__wrapper{
    height: auto;
    padding: 25px;
    box-shadow: 0 5px 30px 5px rgb(112 119 125 / 60%);
}

.rtwwcfm_multistep_content_wrapper .wpcf7-form-control-wrap {
  position: relative;
  width: 100%;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}


/**** notify js  **********/

.notifyjs-bootstrap-rtwwcfm_text_notify{
  background-color: #f4be6b !important;
    color: #fff !important;
   
}
.notifyjs-container{
  top: -2px !important;
}
.notifyjs-bootstrap-base{
  white-space: normal !important;
}
.notifyjs-bootstrap-base.notifyjs-bootstrap-rtwwcfm_text_notify {
  width: 530px !important;
  white-space: normal !important;
}

/* css for pre next buttons */

.rtwwcfm_wrap  .rtwwcfm_next .rtwwcfm_next_btn,
.rtwwcfm_wrap .rtwwcfm_next .rtwwcfm_prev_btn,
.rtwwcfm_update_profile,
.rtwwcfm-cust-btn.rtwwcfm_cncl_submit,
.rtwwcfm_cancel_appointment,
.rtwwcfm_next_process_btn,
.rtwwcfm_prev_process_btn,
.rtwwcfm_third_next_btn {
    background-color: var(--secondary-color);
    color: #ffffff!important;
    line-height: 1.5;
    padding: 8px 15px !important;
    text-transform: capitalize;
    box-shadow: none;
    display: inline-block;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
}

.rtwwcfm_next .rtwwcfm_next_btn:focus,
.rtwwcfm_next .rtwwcfm_prev_btn:focus,
.rtwwcfm_update_profile:focus,
.rtwwcfm-cust-btn.rtwwcfm_cncl_submit:focus,
.rtwwcfm_cancel_appointment:focus,
.rtwwcfm_next_process_btn:focus,
.rtwwcfm_prev_process_btn:focus,
.rtwwcfm_third_next_btn:focus,
.rtwwcfm_next .rtwwcfm_next_btn:hover,
.rtwwcfm_next .rtwwcfm_prev_btn:hover,
.rtwwcfm_update_profile:hover,
.rtwwcfm-cust-btn.rtwwcfm_cncl_submit:hover,
.rtwwcfm_cancel_appointment:hover,
.rtwwcfm_next_process_btn:hover,
.rtwwcfm_prev_process_btn:hover,
.rtwwcfm_third_next_btn:hover {
    outline: 0;
    background-color: #2a1a5e!important;
}

.rtwwcfm_next_btn i {
    vertical-align: middle;
}
.multistep-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.multistep-nav a{
text-decoration: none;
}
.rtwwcfm_next::after,
.rtwwcfm_prcoess_stpes_btns::after {
    content: "";
    clear: both;
    display: block;
}

.rtwwcfm_next_process_btn,
.rtwwcfm_prev_process_btn,
.rtwwcfm_next .rtwwcfm_next_btn,
.rtwwcfm_next .rtwwcfm_prev_btn {
    margin-right: 0;
    position: relative;
}

.rtwwcfm_next_process_btn,
.rtwwcfm_next_btn {
    float: right;
}

.rtwwcfm_prev_process_btn,
.rtwwcfm_prev_btn {
    float: left;
}

.rtwwcfm_next .rtwwcfm_prev_btn {
    background-color: var(--secondary-color);
}
.rtwwcfm_next{
  width: 50%;
}
.rtwwcfm_next_note {
  float: right;
 
}
.rtwwcfm_prev a:first-child{
  margin-bottom: 10px;
}
.rtwwcfm_tab_list_wrapper {
    padding: 0;
    list-style: none;
    display: flex;
}
.rtwwcfm_tab_list {
    width: 20%;
    text-align: center;
}
.rtwwcfm_tab_item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.rtwwcfm_tab_item::after {
    content: '';
    position: absolute;
    border-bottom: 1px solid #d1bfbf;
    width: 100%;
    height: 2px;
    left: 0;
    top: 40%;
}
/* Стилі для дісейбленої кнопки "Далее" */
.rtwwcfm_next_btn.rtwwcfm_disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #cccccc !important;
}

.rtwwcfm_next_btn.rtwwcfm_disabled:hover {
    opacity: 0.5 !important;
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}
p.qtitle span {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(90.19deg, #fe4c4c 1.96%, #ff7e21 96.6%);
    font-size: 20px;
    padding-top: 5px;
    flex-shrink: 0;
}
p.qtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
}
.qviz-question-box .wpcf7-radio {
    display: flex;
    align-items: center;
    padding: 30px;
    flex-wrap: wrap;
}
span.wpcf7-list-item label {
    display: inline-flex;
}
.rtwwcfm_multistep_content_wrapper {
    display: flex;
    justify-content: space-between;
}
.rtwwcfm_multistep_content_wrapper>div {
    flex: 1 1 100%;
    margin: 0 20px;
}
.qviz-question-box .wpcf7-form-control-wrap input {
    width: auto;
}
.qviz-question-box .wpcf7-list-item {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    margin: 5px 0px;
}
.quiz-form input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin: 0;
}
.qviz-complate-container {
    display: none;
}
p.info {
    background: linear-gradient(268.6deg, #12cad6 44.69%, #12b3d6 98.38%);
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, .25);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, .25);
    text-align: center;
    padding: 0 20px 20px;
    font-size: 16px;
    width: 350px;
    float: right;
    height: fit-content;
    color: #fff;
}
span.wpcf7-list-item span {
    font-size: 18px;
    color: #333;
    padding: 10px;
    max-width: 400px;
    display: inline-block;
    vertical-align: middle;
}
.rtwwcfm_tab_icon {
    display: none;
}
.rtwwcfm_tab_number {
    width: 40px;
    height: 40px;
    background: #999595;
    background-color: rgb(153, 149, 149);
    color: white;
    line-height: 40px;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    margin-bottom: 6px;
    z-index: 9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rtwwcfm_appointment_tracker p {
    margin: 0;
}
.rtwwcfm_tab_number.rtwwcfm_completed_action {
    background-color: #01b5d4;
}
.rtwwcfm_tab_number.rtwwcfm_active_number {
    background: linear-gradient(269.66deg, #12cad6 44.69%, #12b3d6 98.38%);
}
select{
    width: 100%;
}
/* css for send button */
.rtwwcfm_multistep_content_wrapper .wpcf7-form-control.wpcf7-submit, .rtwwcfm_multistep_content_wrapper .ajax-loader{
  float: right;
    margin: 0;
}
.quiz-form p:not(:last-child) {
    margin: 0;
}
ul.header__social a {
    height: 20px;
}
.q-subm {
    display: flex;
}
.q-subm ul.header__social {
    width: 100%;
}
.qviz-complate-container {
    width: max-content;
}
@media(max-width:576px){
    .rtwwcfm_tab_item div:nth-child(2) {
        display: none;
    }
    .rtwwcfm_tab_item::after {
        border:0;
    }
}