#main_form {
    text-align: center;
    position: relative;
    margin-top: 30px;
    /* max-width: 500px; */
    margin: 0 auto;
    margin-bottom: 30px;
}

#main_form p {
    margin-top: 10px;
    clear: both;
}

#main_form #notify1 {
    margin-bottom: 15px;
}

#main_form #notify2 {
    margin-bottom: 15px;
}

.form-group.branches {
    /* min-height: 293px; */
    clear: both;
    float: right;
    width: 100%;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    background: #ffffff;
    border: none;
    border-radius: 5px;
    color: #000 !important;
    font-weight: 400 !important;
    padding: 13px 15px !important;
    font-size: 16px;
    max-height: 120px;
    width: 100%;
    text-align: right;
}

select {
    -webkit-appearance: none !important;
    background-image: url(../../images/arrow-down.png);
    background-repeat: no-repeat;
    background-position: 15px;
    line-height: inherit!important;
}

#branches {
    display: block;
    margin: 0 auto;
    margin-top: 30px !important;
    margin-bottom: 30px;
    width: calc(60% - 17.5px);
   /* outline: none !important;
    pointer-events: none;
    cursor: default;
    background: transparent;*/
}

#appointment_type {
    /* margin: 0 auto; */
    margin-top: 30px !important;
    margin-bottom: 30px;
    display: inline-block;
    float: right;
    width: calc(50% - 17.5px);
}

#main_form fieldset {
    /* background: white; */
    border: 0 none;
    border-radius: 0px;
    /* box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4); */
    padding: 0;
    box-sizing: border-box;
    /* width: 80%; */
    margin: 0 auto;
    position: relative;
    /* min-height: 40vh; */
}

.btn-primary {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    fill: #000000;
    color: #000000;
    background-color: #ECF2ED00;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;
    padding: 6px 5px 5px 5px !important;
    border-color: #000;
    /* margin-left: 35px; */
    min-width: 27%;
    max-width: 150px;
}

.btn-primary i {
    margin-left: 5px;
    /* margin-left: 5px; */
    font-size: 12px;
}

.btn-primary i.fa-angle-double-left {
    margin-left: 0px;
    margin-right: 5px;
}

/*** BUTTON HOVER STYLING ***/
.btn-primary:hover {
    background: #000000;
    color: #fff;
    border-color: #000000;
}

.btn-primary:focus {
    background: #000000;
    color: #fff;
    border-color: #000000;
}

#main_form fieldset:not(:first-of-type) {
    display: none;
}

#main_form input:focus,#main_form select:focus, #main_form textarea:focus {
    /* -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #000;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;*/
    outline: none;
}

.m_head {
    /*main heading*/
    font-size: 26px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0;
    font-weight: normal;
    /*font-family: 'FbSpoiler';*/
    /* margin-top: 0; */
}

.s_head {
    /*sub heading*/
    font-weight: normal;
    font-size: 27px;
    color: #000;
    margin-bottom: 10px;
    /*font-family: 'FbSpoiler';*/
    margin-top: 0;
}

.info.notes {
    font-weight: normal;
    font-size: 19px;
    color: #000;
    margin-bottom: 10px;
    /*font-family: 'FbSpoiler';*/
    margin-top: 10px;
}

.f3 .form-group {
    max-width: initial;
    margin: 0 auto;
}

/*** REMOVE LABEL FOR PLACEHOLDER ONLY ***/
.f3 .form-group label {
    display: none;
}

/*** FIELD STYLING ***/
.f3 .form-group.right_half , .f3 .form-group.left_half {
    padding-right: 0;
    margin-bottom: 30px;
}

.f3 .form-group.right_half , .f3 .form-group.left_half {
    float: right;
    width: calc(50% - 15px);
}

.f3 .form-group.right_half {
    margin-left: 30px;
}

.f3 #notify_details {
    margin-bottom: 30px !important;
}

.f3 #notify3 {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    text-align: right;
    font-size: 18px;
    margin-bottom: 5px;
    padding-right: 5px;
}

textarea {
    /* padding: 7px 13px; */
    /* background-color: #eee; */
    /* color: #000; */
    /* text-decoration: none; */
    /* font-size: 21px; */
    /*font-family: 'FbSpoiler';*/
    /* border: 0; */
    /* border-radius: 50px; */
    /* margin-bottom: 5px; */
    /* border: 1px solid transparent; */
    /* outline: none; */
}

input[type='email'] {
    margin-bottom: 10px
}

input[type='text']::-webkit-input-placeholder {
    /* Edge */
    color: #000;
}

input[type='text']:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

input[type='text']::placeholder {
    color: #000;
}

input[type='text']::-webkit-input-placeholder {
    /* Edge */
    color: #000;
}

input[type='tel']:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

input[type='tel']::placeholder {
    color: #000;
}

input[type='email']::-webkit-input-placeholder {
    /* Edge */
    color: #000;
}

input[type='email']:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

input[type='email']::placeholder {
    color: #000;
}

#p_bar {
    margin-bottom: 10px;
    overflow: hidden;
    counter-reset: step;
    padding: 0;
}

#p_bar li {
    list-style-type: none;
    color: #000;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    width: 33.33%;
    float: right;
    position: relative;
}

#p_bar li span {
    float: right;
    line-height: 18px;
    text-align: right;
    margin-top: 5px;
}

#p_bar li.active {
    color: #000;
}

#p_bar li:before {
    content: counter(step);
    counter-increment: step;
    width: 45px;
    height: 45px;
    line-height: 45px;
    float: right;
    font-size: 24px;
    color: #000;
    background: #fff;
    border-radius: 25px;
    font-weight: 900;
    margin-left: 10px;
}

#p_bar li:nth-child(1):after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    border-top: 1px solid black;
    background: black;
    width: 60px;
    /* transform: translateY(-50%); */
}

#p_bar li:nth-child(2):after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    border-top: 1px solid black;
    background: black;
    width: 60px;
    /* transform: translateY(-50%); */
}

#p_bar li.active:before, #p_bar li.active:after {
    background: #000;
    color: #fff;
}


.loaderimage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
}

.loaderimage img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 32px;
    margin: auto;
}

#branch_time,#branch_time ul {
    padding: 0;
    list-style: none;
    display: block;
    clear: both;
    float: right;
    width: 100%;
    margin: 0;
    margin-bottom: 0;
}

#branch_time {
    padding: 30px 0 20px 0;
    /* min-height: 312px; */
}

#branch_time li {
    width: calc(16.66% - 17px);
    margin-left: 20px;
    float: right;
    height: auto;
    padding: 10px 0px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    /*font-family: 'FbSpoiler';*/
    border: 0;
    /* border-radius: 50px; */
    margin-bottom: 20px;
    /* position: relative; */
    height: 70px;
}

#branch_time li:nth-child(6) {
    margin-left: 0px;
}

#branch_time li.active {
    position: relative;
}

#branch_time li.active .choose_date {
    top: -5px;
    position: relative;
}

#branch_time li div {
    font-size: 16px;
    cursor: pointer;
}

#branch_time li div.active {
    color: #000;
	font-weight:bold;
}

.choose_date.active {
    top: -4px;
    position: relative;
}

.choose_time.active {
    position: relative;
    width: 100%;
    right: 0;
    top: -8px;
    font-size: 14px !important;
    height: 0;
    /* display: none; */
}

#branch_time ul {
    display: none;
}

#branch_time ul li {
    height: auto;
    height: 70px;
    line-height: 47px;
}

#branch_time ul.active {
    display: block;
    position: absolute;
    width: 100%;
    /* border: 1px solid; */
    background: #f2f2f2;
    right: 0;
    top: 30px;
    height: 180px;
    padding: 0;
    margin-top: 0em;
    margin-bottom: 0em;
    z-index: 1;
}

.time-close {
    position: absolute;
    right: 48px;
    left: 0;
    display: none;
}
@media only screen and (max-width: 768px) {
    #main_form fieldset {
        width: 100%!important;
        padding: 0 5px;
    }

    #branch_time ul.active {
        padding: 0 5px !important;
    }

    #branch_time ul.active {
        top: 30px!important;
    }

    .f3 .m_head {
        margin-bottom: 10px;
    }

    #branches {
        width: calc(100%);
        margin-top: 0 !important;
        margin: 10px 0!important;
    }

    #appointment_type {
        width: calc(100%);
        margin-top: 0 !important;
        margin: 10px 0!important;
    }

    #p_bar li {
        font-size: 14px;
    }

    #p_bar li:before {
        font-size: 20px;
    }

    #p_bar li:after {
        display: none;
    }

    body.rtl #elementor-popup-modal-824 .dialog-close-button {
        left: 94%;
    }
    #branch_time li {
    width: calc(20% - 15px);
    margin-left: 15px;
    float: right;
    height: auto;
    padding: 10px 0px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    /*font-family: 'FbSpoiler';*/
    border: 0;
    /* border-radius: 50px; */
    margin-bottom: 20px;
    /* position: relative; */
    height: 70px;
}

#branch_time li:nth-child(5) {
    margin-left: 0px;
}
#branch_time li:nth-child(6) {
    margin-left: 15px;
}
}

@media only screen and (max-width: 320px) {
    #p_bar li {
        list-style-type: none;
        color: #000;
        text-transform: uppercase;
        font-size: 14px !important;
        width: 33.33%;
        float: right;
        position: relative;
        /* letter-spacing: 1px; */
        /*font-family: 'FbSpoiler';*/
    }
}
