h2.detail-header,
h2.doctor-name {
    font-style: normal
}

h2.detail-header,
h2.doctor-name,
h3.detailh3,
h4.doc-post,
p.doc-boxspan,
p.doc-boxtext {
    font-family: 'Merriweather', sans-serif !important;
}

.ref-doc-link,
.ref-doc-link:hover {
    color: #0e2d58
}

.ref-doc-link:hover,
li.bread-li a {
    text-decoration: none
}

.container-custom {
    width: 100%;
    padding-right: 5%;
    padding-left: 5%;
    margin-right: auto;
    margin-left: auto
}

ul.bread-home {
    display: flex;
    list-style: none;
    margin-bottom: 4px
}

li.bread-li {
    padding-right: 10px;
    padding-left: 5px;
    height: 26px
}

li.bread-li:not(:last-of-type) {
    border-right: 1px solid #000
}

.multi-bread {
    padding: 20px 10px
}

.multi-layout {
    padding-top: 10px;
    min-height: 280px;
    height: auto;
    overflow: hidden;
    padding-bottom: 10px;
}

.doc-pro-location,
.doc-pro-qual {
    line-height: 22px;
    overflow-y: auto
}

.doc-container .row.m-0.p-0 {
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23)
}

.doctor-pic {
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: flex-start;
    padding: 20px 0
}

img.doc-boximg.img-fluid {
    margin-right: 8px;
    height: 25px;
    width: 20px
}

.doc-shortdetails {
    height: auto;
    width: 100%;
    margin: 0
}

h2.doctor-name {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #0e2d58
}

h4.doc-post,
p.doc-boxspan,
p.doc-boxtext {
    font-size: 16px;
}

.doc-box {
    display: flex;
    align-items: self-start;
    justify-content: start
}

h4.doc-post,
p.doc-boxtext {
    font-weight: 300;
    color: #383839;
    margin-bottom: 10px
}

p.doc-boxspan {
    margin-bottom: 5px;
    font-weight: 400;
    color: #000
}

.doc-pro-qual {
    height: 44px
}

.doc-pro-location::-webkit-scrollbar,
.doc-pro-qual::-webkit-scrollbar {
    width: 3px
}

.doc-pro-location::-webkit-scrollbar-thumb,
.doc-pro-qual::-webkit-scrollbar-thumb {
    background: #0e2d58
}

.doc-pro-location {
    height: 22px
}

.doccontact-box {
    height: 100%;
    width: 90%;
    display: flex;
    justify-content: flex-start;
    text-align: center;
    align-items: center;
    position: relative
}

.underline {
    width: 120%;
    padding: 2px;
    border-top: 2px dashed #009fdf;
    height: 1px;
    background-color: transparent;
    left: -10%;
    position: relative
}

button.btn.doc-numberbtn {
    height: 65px;
    width: 100%;
    margin: 10px;
    border-radius: 0;
    background-color: #00b6bd;
    font-size: 18px;
    font-weight: 400;
    color: #fff
}

button.btn.doc-numberbtn:hover {
    background: #007d9e
}

section.detail-section {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    /* background-color: #f2f2f2 */
}

.detail-box {
    margin-bottom: 40px
}

h2.detail-header {
    font-size: 36px;
    font-weight: 400;
    color: #0e2d58;
    margin-top: 15px;
    margin-bottom: 12px;
}

h3.detailh3 {
    font-size: 26px;
    margin-bottom: 12px;
    margin-top: 25px;
    color: #0e2d58;
}

.detail-box p,
p.detail-readmore,
p.detail-text {
    font-size: 16px;
    font-weight: 300;
}

p.detail-text {
    color: #656567;
    line-height: 1.5;
    margin-bottom: 5px
}

.detail-box p, .detail-box ul li {
    color: #000;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left!important;
}
.detail-box ul li::marker {
    color: #007d9e;
}
p.detail-readmore {
    color: #02489a;
    text-align: center
}

img.doc-contactimg.img-fluid {
    width: 20px;
    height: 20px;
    margin-right: 5px
}

img.img-fluid.docprof-img {
    height: 328px;
    object-fit: cover;
    background: #c4c4c4
}

.ref-doc-btn {
    position: absolute;
    right: -30px;
    top: 25px
}

.ref-doc-link {
    padding: 10px
}

.ref-doc-btn-mob {
    display: none
}

@media only screen and (min-device-width:769px) and (max-device-width:1024px) {
    .multi-layout {
        height: 350px
    }

    .multi-bread {
        padding: 5px 10px
    }

    .doc-shortdetails,
    .doccontact-box {
        width: 100%
    }

    img.img-fluid.docprof-img {
        height: 80%
    }

    ul.bread-home {
        padding: 5px 35px;
        margin: 0
    }

    section.detail-section {
        padding: 5px 0
    }

    h2.doctor-name,
    h3.detailh3 {
        font-size: 24px
    }

    h4.doc-post {
        font-size: 16px
    }

    button.btn.doc-numberbtn,
    p.doc-boxspan,
    p.doc-boxtext {
        font-size: 14px
    }

    .doctor-pic {
        height: 300px
    }

    button.btn.doc-numberbtn {
        width: 75%;
        height: 55px
    }

    p.detail-text {
        font-size: 16px;
        line-height: 1.6
    }
    .ref-doc-btn{
        right: -10px;
    }
}

@media only screen and (max-width:912px) {
    .multi-layout {
        padding-top: 10px;
        padding-bottom: 10px;
        min-height: 280px;
        height: auto;
        overflow: hidden
    }

    section.detail-section {
        padding: 5px 0
    }

    .multi-bread {
        padding: 10px 25px
    }

    ul.bread-home {
        padding-inline-start: 0px
    }

    .doc-shortdetails,
    .doccontact-box {
        width: 100%
    }

    img.img-fluid.docprof-img {
        height: 240px
    }

    h2.doctor-name {
        font-size: 20px
    }

    h4.doc-post {
        font-size: 16px
    }

    button.btn.doc-numberbtn,
    p.doc-boxspan,
    p.doc-boxtext {
        font-size: 14px
    }

    .contactdoc-flex {
        display: flex;
        width: 100%;
        justify-content: center
    }

    button.btn.doc-numberbtn {
        height: 45px;
        width: auto
    }

    h3.detailh3 {
        font-size: 24px
    }

    p.detail-text {
        font-size: 16px;
        line-height: 1.6
    }

    .ref-doc-btn {
        right: -10px
    }
}

@media only screen and (max-width:540px) {

    .ref-doc-btn,
    p.bread-text {
        font-size: 12px
    }

    li.bread-li {
        height: 20px
    }

    .doc-container {
        padding: 0 20px;
        box-shadow: none
    }

    .doc-container .row.m-0.p-0 {
        padding: 10px;
        border-radius: 10px;
        background-color: #f1f1ef;
        box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23)
    }

    h2.detail-header {
        font-size: 30px
    }

    img.img-fluid.docprof-img {
        height: 200px
    }

    .doctor-pic {
        padding: 5px;
        position: relative
    }

    button.btn.doc-numberbtn {
        font-size: 12px;
        width: 75%
    }

    .contactdoc-flex {
        display: block;
        width: 100%;
        justify-content: center
    }

    .detail-box {
        margin-bottom: 30px;
        padding: 0
    }

    h3.detailh3 {
        font-size: 24px;
        margin-top: 15px;
    }

    .detail-box p, .detail-box ul li{
        font-size: 16px
    }

    .ref-doc-btn {
        display: none
    }

    .ref-doc-btn-mob {
        display: block;
        position: absolute;
        right: 0;
        top: 20px
    }

    .ref-doc-link {
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%
    }
}

@media only screen and (max-width:370px) {
    img.img-fluid.docprof-img {
        height: 160px
    }

    h2.doctor-name {
        font-size: 20px
    }

    button.btn.doc-numberbtn,
    h4.doc-post,
    p.detail-text,
    p.doc-boxspan,
    p.doc-boxtext {
        font-size: 14px
    }

    p.detail-text {
        line-height: 1.4
    }

    button.btn.doc-numberbtn {
        height: 40px
    }

    p.bread-text {
        font-size: 10px
    }
    button.btn.doc-numberbtn{
        width: 93%;
    }
}
@media only screen and (max-width:320px) {
    .ref-doc-link{
        font-size: 13px;
        padding: 5px;
    }
}