/*general*/
button.btn-default.button,
a.btn-default.button{
    font-size: 16px;
    line-height: 20px;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 0;
}
.simple_hide{
    display:none;
}
.mb-l{
    margin-bottom: 70px;
}
.mt-l{
    margin-top: 70px;
}
div.center{
    text-align: center;
}
.locations_popup h4{
    margin-bottom: 15px;
}
.locations_popup ul{
    padding-left: 20px;
    font-size: 16px;
}
article.single.type-d2g_doctor > .inner_wrapper{
    padding: 15px;
    background: #fff;
}
article.single.type-d2g_doctor > .inner header,
article.single.type-d2g_doctor > .inner .payment_info_short{
    padding: 15px;
    margin: 0;
}
article.single.type-d2g_doctor .payment_info_short{
    font-size: 14px;
}
.bg_white{
    background: #fff;
}
body.is-light-theme #booking_form input[type=checkbox]{
    margin-bottom: -5px;
}
.conf_boxes {
    margin-bottom: 20px;
    font-size: 12px;
}
.hinweis{
    font-size: 12px;
    margin-bottom: 20px;
}
.fc .fc-daygrid-more-link {
    display: inline-block;
    border-radius: 3px;
    margin-left: 2px;
    margin-top: 5px;
    width: calc(100% - 4px);
    background: #999;
    padding-left: 3px;
    color: #fff !important;
}
a.fc-daygrid-week-number {
    display: none;
}
.fc .fc-more-popover .fc-popover-body {
    min-width: 220px;
    padding: 10px;
    max-height: 300px;
    overflow: scroll;
}
div#calendar_wrapper, div#booking_form_wrapper {
    padding: 10px;
    padding: 30px 15px;
    background: #fff;
}
@media only screen and (min-width:768px){
    .locations_popup{
        max-width: 600px;   
        width: 100%;
    }
    

}
@media only screen and (max-width:767px){
    #app_details{
        display: block;
    }
    .no_pad_right {
        padding-right: 15px!important;
    }
    #app_details li.label {
        width: 100%;
        border: none;
        padding-bottom: 0;
        margin-bottom: 2px;
    }
    #booking_form_wrapper #app_details li{
        width: 100%;
    }
    body .fc .fc-daygrid-day-number {
        position: relative;
        z-index: 4;
        padding: 4px;
        font-size: 13px;
    }
    body .fc .fc-daygrid-day-bottom,
    .fc .fc-daygrid-more-link{
        padding: 2px;
        margin: 0;
    }
    .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        font-size: 12px;
    }
    .fc .fc-daygrid-day-frame {
        position: relative;
        min-height: 100%;
        padding-bottom: 18px;
    }
}
/*tabs*/
.pm_tabs.row {
    margin: 0 0 50px !important;
    padding: 0;
}
.pm_tabs.row li.tab {
    list-style: none !important;
    text-align: center;
    padding: 0;
    overflow: hidden;
    border:none;
}
.pm_tabs.row li span {
    display: block;
}
.pm_tabs.row li span:first-child {
    width: 50px;
    line-height: 40px;
    border: 5px solid #f7f8f9;
    border-radius: 100%;
    margin: 0 auto;
    background: #fff;
    position: relative;
    z-index: 10;
}
.pm_tabs.row li span:last-child {
    font-weight: 700;
}
.pm_tabs.row li:before {
    content: '';
    height: 5px;
    width: 100%;
    position: absolute;
    top: 25px;
    left: 0;
    background: #f7f8f9;
}
.pm_tabs.row li.active span:first-child {
    border: 5px solid rgb(40, 48, 61);
}
.pm_tabs.row li.active:before {
    background: rgb(40, 48, 61);
}

/*profile edit form*/
#doctor_post h3{
    margin: 0 0 15px;
}
.form-table label{
    display: block;
    margin: 15px 0 5px;
}
p#submitwrap {
    text-align: center;
    margin: 0 0 50px;
}
button.select2-selection__choice__remove {
    padding: 1px 4px !important;
    border-radius: 0;
}
.select2-container {
    width: 100%!important;
    margin-bottom: 50px;
}
.select2-container--default .select2-search--inline .select2-search__field {
    min-width: calc(100% - 6px);
    line-height: 20px !important;
    height: auto !important;
    padding: 12px 10px 0px 36px !important;
}
.select2-container--default .select2-search--inline {
    position: relative;
    display: block;
}
.select2-container--default .select2-search--inline:before {
    position: absolute;
    content: "";
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    font-size: 20px;
    text-align: center;
    z-index: 10;
    top: 10px;
    left: 10px;
}
.d2g_doctor-form .exp_edu{
    margin-bottom: 20px;
}
.d2g_doctor-form input[type="text"], .d2g_doctor-form input[type="email"], .d2g_doctor-form input[type="url"], .d2g_doctor-form input[type="password"], .d2g_doctor-form input[type="search"], .d2g_doctor-form input[type="number"], .d2g_doctor-form input[type="tel"], .d2g_doctor-form input[type="range"], .d2g_doctor-form input[type="date"], .d2g_doctor-form input[type="month"], .d2g_doctor-form input[type="week"], .d2g_doctor-form input[type="time"], .d2g_doctor-form input[type="datetime"], .d2g_doctor-form input[type="datetime-local"], .d2g_doctor-form input[type="color"], textarea{
    width: 100%;
    font-size: 16px;
}
.d2g_doctor-form .profile_pic_wrapper{
    position: relative;
    margin-bottom: 70px;
}
.d2g_doctor-form a.del_img_link.button{
    border-radius: 100%;
    padding: 0!important;
    width: 90px;
    position: absolute;
    text-align: center;
    right: -42px;
    top:-42px;
    z-index: 13;
}
.d2g_doctor-form a.del_img_link.button:hover{
    background: #fff;
}
.del_img_link::before {
    font-size: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 84px;
}
.row.exp_edu > div:first-child > div > div:first-child{
   padding-right: 0;
}
.row.exp_edu > div:first-child > div > div:last-child{
    padding-left: 0;
 }
 .mb-l{
    margin-bottom: 70px;
 }
 .d2g_doctor-form h3{
    text-transform: uppercase;
    margin-bottom: 20px;
 }
 .margin-bottom-standard{
    margin-bottom: 30px;
 }
*{
    box-sizing: border-box;
}
.loader{
    width: 200px;
    height: 200px;
    background: url(images/myloader.gif) no-repeat bottom center #fff;
    background-size: 80px;
    position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    z-index: 13;
    padding: 20px;
    text-align: center;
    
}
#page_loader{
    width: 100%;
    height: 100%;
    background: url(/app/plugins/d2g-connect/public/css/images/myloader.gif) no-repeat center #fff;
    background-size: 160px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.d2g_doctor-form.loading:before {
    content: '';
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    background: rgba(255,255,255, 0.7);
    z-index: 12;
    position: absolute;
    top:-15px;
    left: -15px;
    
}
.d2g_doctor-form.loading .loader{
    display: block;
}
#booking_form.loading:before{
    width:calc(100% + 20px);
    height:calc(100% + 20px);
    content: ' ';
    position: absolute;
    top:-10px;
    left:-10px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9;
}
#booking_form.loading:after{
    width:110px;
    height:110px;
    content: ' ';
    position: absolute;
    top:50%;
    left:50%;
    margin-top: -60px;
    margin-left: -60px;
    background: url(images/myloader.gif) center #fff;
    border: 10px solid #fff;
    background-size: 100%;
    z-index: 10;
    border-radius: 100%;
}
.d2g_doctor-form{
    position: relative;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin-right: 2px;
    background: #666;
    color: #fff !important;
    cursor: pointer;
    padding-left: 3px;
    font-size: 14px;
    line-height: 15px;
}
div#booking_form_wrapper {
    padding: 10px;
}
#app_details {
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0 0 0; 
    border-top: 1px solid #c2c2c2;
}

#app_details li {
    width: calc(100% - 200px);
    list-style: none;
    margin-bottom: 15px;
    border-bottom: 1px solid #c2c2c2;
    padding-bottom: 15px; 
}

#app_details li p {
    margin-bottom: 3px; 
}

#app_details li.label {
    width: 200px;
}

#app_details input[type=text], #app_details input[type=email], #app_details input[type=url], #app_details input[type=password], #app_details input[type=search], #app_details input[type=number], #app_details input[type=tel]{
    border: none;
    width: calc(100% - 2px);
    border: 2px solid #c2c2c2;
    padding: 10px;
    display: block;
    line-height: 23px;
    margin-bottom: 14px;
    background: #fff !important;
}

#app_details textarea{
    width: calc(100% - 2px);
    border: 2px solid #c2c2c2;
    padding: 10px;
}
#app_details li input:last-child{
    margin-bottom: 0;
}
p#app_msg {
    color: red;
    font-size: 16px;
    margin-bottom: 20px;
}

.row.exp_edu .col-sm-3 input {
    width: 100%!important; 
}
.row.exp_edu .col-sm-3 .row{
    margin: 0 -3px;
}
.row.exp_edu .col-sm-3 .row .col-sm-6{
    padding: 3px;
}
a.remove_btn.btn-add {
    position: absolute;
    right: 0;
    z-index: 10;
    top: 50%;
    font-size: 18px;
    margin-top: -15px;
}
.form-table .row {
    position: relative;
    padding-right: 20px;
}

#doctor_post .wp-block-button__link.invert:hover,
#doctor_post .wp-block-button__link{
    font-size: 16px;
    transition: all 0.5s;
    border: 3px solid #32373c;
    background: #32373c;
    border-radius: 30px;
    padding: 10px 20px;
    color:#fff;
}
#doctor_post .wp-block-button__link.invert{
    padding: 5px 15px!important;
    border-radius: 20px!important;
}
#doctor_post .wp-block-button__link.invert,
#doctor_post .wp-block-button__link:hover{
    background: transparent;
    color: #32373c;
}
/*****login / password / register*****/

.d2g_form_wrapper label{
    display: block;
}

.d2g_form_wrapper p{
    margin-bottom: 10px;
}

.d2g_form_wrapper input[type="text"],
.d2g_form_wrapper input[type="email"],
.d2g_form_wrapper input[type="password"]{
    min-width: 300px;
    width: 100%;
    border-radius: 5px;
}

.app_row{
    display: flex;
    padding: 15px;
    background: #fff;
    margin-bottom: 30px;
    justify-content: space-between;
    border-radius: 10px;
}
div.questionnaire {
    width: 200px;
    text-align: center;
    padding-top: 30px;
}
.paid{
    background: green;
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top:0;

}
.content_outer {
    padding: 0 20px;
}
div.questionnaire img{
    display: block;
    margin: 0 auto;
}
.app_row .feat_pic{
    width: 220px;
    margin-right: 15px;
    border-radius: 100%;
    overflow: hidden;
}
a.btn.btn-default.payment_btn {
    padding: 10px 20px;
    background: red;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.walkin_form_wrapper .error,
.outer_app_wrapper .error,
.outer_app_wrapper .btn_wrap{
    margin-bottom: 15px;
}
.app_row .feat_pic img{
    width:100%;
}

.app_row h3{
    font-size: inherit;
}

.app_row h4 {
    font-size: 28px;
    margin: 8px 0;
}

.success{
    color: green;
}

.error{
    color: red;
    border: 2px solid red;
    padding: 20px;
}

.attention{
    color: grey;
}

#bg_loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    max-width: 100%;
}

#loader {
    position: fixed;
    width: 200px;
    height: 180px;
    z-index: 1001;
    background: #fff;
    top: 50%;
    margin-top: -90px;
    padding: 20px;
    left: 50%;
    margin-left: -100px;
    background: url(images/myloader.gif) no-repeat #fff;
    background-position-y: calc(100% - 22px);
    background-position-x: calc(50% - 1px);
    background-size: 58px;
}

body .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border: var(--form--border-width) solid var(--form--border-color);
    border-radius: var(--form--border-radius);
    line-height: var(--global--line-height-body);
    padding: var(--form--spacing-unit);
    height: auto;
    
}

body .select2-container--default .select2-selection--single .select2-selection__arrow{
    top:50%;
    margin-top: -13px;
}

.p_dashboard img{
    display: block;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: all 0.5s;

}
ul.user_menu {
    display: flex;
    justify-content: space-between;
    max-width: 100% !important;
    padding: 0;
    li{
        list-style: none;

    }
}
.p_dashboard h3{
    position: absolute;
    font-weight: 900;
    font-size: 24px;
    top:50%;
    line-height: 30px;
    margin-top: -25px;
    width: calc(100% - 30px);
    left: 15px;
    text-align: center;
    padding: 10px 0;
    background-color: #fff;
    
}
.p_dashboard .col-sm-4 img{
    box-shadow: 0 0 5px #555;
    
}
.p_dashboard .col-sm-4:hover img{
    box-shadow: 0 0 0px #777;
    
}

.mb-s{
    margin-bottom: 15px;
}

.mb-m{
    margin-bottom: 30px;
}
.mb-l{
    margin-bottom: 50px;
}
.mb-xl{
    margin-bottom: 70px;
}

.logged-in li.not_logged_in,
li.logged_in{
	display:none!important;
}

.logged-in li.logged_in{
	display:flex!important;
}
.d2g_doctor-form .payment_settings input[type="text"]{
    width: calc(100% - 110px);
    display: inline-block!important;
}
.d2g_doctor-form .payment_settings .select2-container {
    width: 100px !important;
    display: inline-block!important;
}
.outer_app_wrapper {
    position: relative;
}
.info_notes .flex_it{
    padding: 10px 5px;
    > div .icon {
        padding-left: 0;
        margin-right: 10px;
    }
}
.payment_needed{
    display: flex;
    justify-content: space-between;
} 
@media only screen and (min-width: 768px) {
    .info_notes .flex_it {
        display: flex;
        justify-content: space-between;
        text-align: center;
        padding: 30px 20px 10px;
         > div .icon {
            margin-right: 0;
        }
    }
    .info_notes .icon:before {
        font-size: 48px;
    }
    .info_notes .flex_it > div > span {
        display: block;
    }
}
.questionnaires_list > li ul {
  list-style: none;
  padding-left: 0; }
  .questionnaires_list > li ul li {
    line-height: 1.2; }
  .questionnaires_list > li a {
    color: #534e4e;
    padding: 5px 40px 10px;
    border: 3px solid #031925;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
    line-height: 20px;
    display: block; 
    text-decoration: none;
}
  .questionnaires_list > li a:hover {
    background: #031925;
    color: #fff; 
}
  .questionnaires_list > li span {
    position: absolute;
    top: 50%;
    line-height: 20px;
    margin-top: -10px;
    left: 5px; }
.row.with_right_sidebar > .col-sm-4 h2{
    font-size: 32px;
    margin-bottom: 30px;
}
.row.with_right_sidebar > .col-sm-4 h3{
    font-size: 24px;
    margin-bottom: 20px;
}    
span.walkin {
    position: absolute;
    top: 6px;
    z-index: 10;
    padding: 10px 20px;
    background: green;
    left: 21px;
    color: #fff;
}
@media only screen and (min-width: 768px) {
    .row.with_right_sidebar > .col-sm-4 .opener{
        display:none;
    }        
}
@media only screen and (max-width: 767px) {
    .row.with_right_sidebar > .col-sm-4 h3.simple{
        display:none;
    }   
    body.single-d2g_doctor .consult_buttons {
        display: block;
    }  
    body.single-d2g_doctor .consult_buttons > li a .name {
        width: calc(100% - 113px);
        line-height: 20px;
        padding-left: 17px;
    }
    body.single-d2g_doctor .consult_buttons > li a img {
        width: 30px;
    }
    body.single-d2g_doctor .consult_buttons > li a{
        border-bottom: 1px solid #fff;
    }
    body.single-d2g_doctor .consult_buttons > li:last-child a{
        border-bottom: none;
    }
    body.single-d2g_doctor ul.icon_list li{
        width: 100%;
    }
    #doctor_wrapper > #content_wrapper > .row > .col-sm-3{
        margin-bottom: 30px;
    }
    .single-d2g_doctor main#main {
        padding-top: 0;
    }
    .single-d2g_doctor header#masthead {
        padding-bottom: 0;
    }

    .app_row .feat_pic{
        display: none;
    }
    .app_row{
        flex-wrap: wrap;
    }
    .app_row > div{
        width:100%;
        text-align: center;
    }
    .app_row .btn_wrap a {
        display: block;
    }
}