/* Doctor dashboard layout matching the light appointment screen. */

body.dash-index #title-breadcrumb-option-demo,
body.dash-index .page-title-breadcrumb {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}
.topmarginminus{
margin-top:-10px;
}

#page-wrapper .page-content {
    background: #eef4fb;
    padding: 16px 18px 28px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 14px;
    position: relative;
    z-index: 3;
    clear: both;
}

.dash-title {
    margin: 0;
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 700;
    color: #1a2b4a;
    white-space: nowrap;
}

.dash-title .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 8px;
    background: #e7f8ef;
    color: #14915c;
}

.dash-filter-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dash-filter-row .form-control,
.dash-filter-row .input-group-addon,
.dash-filter-row .btn {
    float: none !important;
    width: auto !important;
    height: 40px;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid #e3ebf5 !important;
    background: #fff !important;
    color: #31445f !important;
    box-shadow: none !important;
}

.dash-filter-row select.form-control {
    width: 130px !important;
}

.dash-filter-row input.form-control {
    width: 118px !important;
    cursor: pointer;
}

.dash-filter-row .input-group-btn {
    display: block;
    float: none;
    width: auto;
}

.dash-filter-row .btn {
    background: #3d7ef0 !important;
    border-color: #3d7ef0 !important;
    color: #fff !important;
    font-weight: 700;
    padding: 0 16px;
}

.dash-list-search {
    height: 42px;
    margin: 0 0 12px;
    border-radius: 12px;
    border: 1px solid #e3ebf5;
    box-shadow: 0 1px 2px rgba(30, 60, 100, 0.04);
}

#tab-general {
    margin-top: 14px;
    width: 100%;
}

#tab-general > .row {
    display: flex;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

#tab-general > .row > .col-lg-4 {
    flex: 0 0 360px;
    width: 360px;
    max-width: 38%;
    padding-left: 0;
    padding-right: 12px;
}

#tab-general > .row > .col-lg-8,
#tab-general > .row > #IP1,
#tab-general > .row > #IP0,
#tab-general > .row > #IP2,
#tab-general > .row > #IP3 {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding-left: 12px;
    padding-right: 0;
}

#IP0 > .col-lg-8,
#IP2 > .col-lg-8,
#IP3 > .col-lg-8 {
    width: 100% !important;
    max-width: none;
    float: none !important;
    padding: 0;
}

#sum_box .panel,
#sum_box .panel .panel-body {
    background: transparent;
    border: 0;
    box-shadow: none;
}

#sum_box > div .panel {
    border-radius: 16px;
    min-height: 96px;
    overflow: hidden;
    cursor: pointer;
}

#sum_box .panel-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 16px !important;
    min-height: 96px;
}

#sum_box .icon,
#sum_box .panel-body > .icon {
    order: 2;
    margin: 0 0 0 auto;
    width: 42px;
    height: 42px;
}

#sum_box svg {
    width: 36px;
    height: 36px;
}

#sum_box svg path,
#sum_box svg polygon,
#sum_box svg circle,
#sum_box svg line,
#sum_box .panel:hover .icon svg path,
#sum_box .panel:hover .icon svg polygon,
#sum_box .panel:hover .icon svg circle {
    fill: currentColor !important;
    stroke: currentColor;
}

#sum_box .value,
#sum_box h4,
#sum_box .h4,
#sum_box h4 span {
    order: 1;
    width: calc(100% - 52px);
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
}

#sum_box .description {
    order: 3;
    width: 100%;
    margin: 6px 0 0;
    font-weight: 700;
    opacity: 1 !important;
}

#sum_box .db:hover,
#sum_box .db:hover .icon,
#sum_box .db:hover p.description {
    opacity: 1 !important;
}

#sum_box > div:nth-child(1) .panel { background: #d9f5e6 !important; --tile-accent: #0f8a52; }
#sum_box > div:nth-child(2) .panel { background: #dce9ff !important; --tile-accent: #2f6fe0; }
#sum_box > div:nth-child(3) .panel { background: #ffdfe6 !important; --tile-accent: #d44868; }
#sum_box > div:nth-child(4) .panel { background: #ffe8c2 !important; --tile-accent: #d48912; }
#sum_box > div:nth-child(5) .panel { background: #eadbff !important; --tile-accent: #7a38c7; }
#sum_box > div:nth-child(6) .panel { background: #d9f5e6 !important; --tile-accent: #0f8a52; }
#sum_box > div:nth-child(7) .panel { background: #dce9ff !important; --tile-accent: #2f6fe0; }
#sum_box > div:nth-child(8) .panel { background: #ffe0cc !important; --tile-accent: #e2651a; }
#sum_box > div:nth-child(9) .panel { background: #ffdfe6 !important; --tile-accent: #d44868; }

#sum_box > div .panel,
#sum_box > div .panel .panel-body,
#sum_box > div .value,
#sum_box > div h4,
#sum_box > div .h4,
#sum_box > div h4 span,
#sum_box > div .description,
#sum_box > div .description *,
#sum_box > div .icon,
#sum_box > div a,
#sum_box > div a:hover,
#sum_box > div a:visited,
#sum_box > div .db:hover,
#sum_box > div .db:hover .icon,
#sum_box > div .db:hover .value,
#sum_box > div .db:hover h4,
#sum_box > div .db:hover h4 span,
#sum_box > div .db:hover p.description,
#sum_box > div .db:hover .description {
    color: var(--tile-accent) !important;
}

#tab-general .col-lg-4 > .panel {
    background: #e7f1ff;
    border: 0 !important;
    border-radius: 16px;
    overflow: hidden;
}

#tab-general .header2 {
    background: transparent;
    color: #1a2b4a;
    font-weight: 700;
    padding: 14px 16px;
    cursor: pointer;
}

#tab-general .header2 .badge,
#IP1 .header1 .badge {
    background: #3d7ef0;
    border-radius: 20px;
    min-width: 26px;
}

#tab-general .nav-pills > li > a {
    color: #31445f;
    border-radius: 10px;
}

#IP1 .header1 {
    background: #fff !important;
    border: 1px solid #e6eef8;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    padding: 14px 16px;
    color: #1a2b4a !important;
    font-weight: 700;
}

#IP1 .timeline {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    position: static;
}

#IP1 .timeline:before,
#IP1 .timeline-inverted:before,
#IP1 .timeline > li > .timeline-panel:before,
#IP1 .timeline > li > .timeline-panel:after {
    display: none !important;
    content: none !important;
}

#IP1 .timeline > li {
    position: relative;
    float: none;
    width: 100%;
    margin: 0 0 14px;
    padding: 16px 16px 12px 74px;
    background: #fff;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 50, 90, 0.05);
}

#IP1 .timeline > li > .timeline-badge {
    position: absolute !important;
    left: 14px !important;
    top: 16px !important;
    margin: 0 !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7f1ff;
    border: 0;
    z-index: 1;
}

#IP1 .timeline-badge img {
    width: 46px;
    height: 46px;
    object-fit: cover;
}

#IP1 .timeline > li > .timeline-panel {
    width: 100% !important;
    float: none !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#IP1 .timeline-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 6px;
}

#IP1 .timeline-group.clearfix {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    column-gap: 18px;
    row-gap: 4px;
    align-items: start;
    width: 100%;
    margin: 0 0 8px;
}

#IP1 .timeline-group.clearfix > :nth-child(1) { grid-column: 1; grid-row: 1; }
#IP1 .timeline-group.clearfix > :nth-child(2) { grid-column: 2; grid-row: 1; }
#IP1 .timeline-group.clearfix > :nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    text-align: right;
    color: #14915c !important;
    font-weight: 700;
    white-space: nowrap;
}
#IP1 .timeline-group.clearfix > :nth-child(4) {
    grid-column: 3;
    grid-row: 2;
    margin: 0;
    text-align: right;
    color: #e4546b !important;
    font-weight: 700;
    white-space: nowrap;
}
#IP1 .timeline-group.clearfix > :nth-child(n+5) {
    grid-column: 1 / 3;
}

#IP1 .timeline-group:not(.clearfix):not(.timeline-heading) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}

#IP1 .Timeline-id-l,
#IP1 .Timeline-id-r,
#IP1 .timeline-id-f,
#IP1 .timeline-width {
    float: none !important;
    width: auto !important;
    max-width: 100%;
}

#IP1 .timeline-heading .Timeline-id-r {
    margin-left: auto;
    color: #5d6e86;
    white-space: nowrap;
}

#IP1 .timeline-title,
#IP1 .Timeline-id-l b {
    color: #1a3f78;
}

#IP1 .timeline-group p {
    margin: 0;
    font-size: 13px;
}

#IP1 .appt-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#IP1 .appt-actions > .action {
    display: contents;
}

#IP1 .action {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

#IP1 .action > [class*="col-"],
#IP1 .appt-actions > [class*="col-"] {
    float: none;
    width: auto;
    max-width: none;
    padding: 0;
    flex: 0 0 auto;
}

#IP1 .badge {
    border-radius: 20px;
    padding: 6px 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

#IP1 .timeline .badge {
    display: inline-flex;
    align-items: center;
}

#IP1 .badge.clr-bg2 {
    background: #f0b429 !important;
    color: #fff !important;
}

#IP1 .badge.clr-bg3 {
    background: #20b26b !important;
    color: #fff !important;
}

#IP1 .badge.clr-bg4 {
    background: #e4546b !important;
    color: #fff !important;
}

#IP1 .badge .ic {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: static !important;
    width: 16px;
    height: 16px;
    margin: 0 6px 0 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    vertical-align: middle;
    flex: 0 0 auto;
    top: auto;
    left: auto;
}

#IP1 .badge .ic svg,
#IP1 .badge .ic.waiting svg {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    display: block;
    color: #fff;
    filter: brightness(0) invert(1);
}

#IP1 .badge .ic + span {
    padding-left: 0 !important;
}

#IP1 .btns-g {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: auto !important;
    height: 42px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #d5e4f7 !important;
    border-radius: 10px !important;
    background: #f4f8ff !important;
    color: #2f6fe0 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: none;
}

#IP1 .btns-g:hover,
#IP1 .btns-g:focus,
#IP1 .btns-g:active {
    background: #eaf2ff !important;
    color: #2f6fe0 !important;
    border-color: #c5d7f2 !important;
    outline: none;
}

#IP1 .btns-g .btn-ic {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

#IP1 .btns-g .ic,
#IP1 .btns-g .btn-ic > span {
    display: inline-flex !important;
    align-items: center;
    color: #2f6fe0;
    padding: 0;
    vertical-align: middle;
}

#IP1 .btns-g .ic {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

#IP0 .timeline,
#IP2 .timeline,
#IP3 .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    position: static;
}

#IP0 .timeline:before,
#IP2 .timeline:before,
#IP3 .timeline:before,
#IP0 .timeline > li > .timeline-panel:before,
#IP0 .timeline > li > .timeline-panel:after,
#IP2 .timeline > li > .timeline-panel:before,
#IP2 .timeline > li > .timeline-panel:after,
#IP3 .timeline > li > .timeline-panel:before,
#IP3 .timeline > li > .timeline-panel:after {
    display: none !important;
    content: none !important;
}

#IP0 .timeline > li,
#IP2 .timeline > li,
#IP3 .timeline > li {
    position: relative;
    float: none !important;
    width: 100% !important;
    margin: 0 0 14px;
    padding: 16px 18px 16px 78px;
    background: #fff;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(20, 50, 90, 0.05);
}

#IP0 .timeline > li > .timeline-badge,
#IP2 .timeline > li > .timeline-badge,
#IP3 .timeline > li > .timeline-badge {
    position: absolute !important;
    left: 16px !important;
    top: 16px !important;
    margin: 0 !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7f1ff;
    border: 0;
    line-height: 46px;
}

#IP0 .timeline-badge img,
#IP2 .timeline-badge img,
#IP3 .timeline-badge img {
    width: 46px;
    height: 46px;
    object-fit: cover;
}

#IP0 .timeline > li > .timeline-panel,
#IP2 .timeline > li > .timeline-panel,
#IP3 .timeline > li > .timeline-panel {
    width: 100% !important;
    float: none !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#IP0 .timeline-title,
#IP2 .timeline-title,
#IP3 .timeline-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #1a3f78;
    line-height: 1.3;
}

#IP0 .moblie,
#IP2 .moblie,
#IP3 .moblie {
    margin: 0 0 6px;
    font-size: 13px;
    color: #5b6b82;
}

#IP0 .date,
#IP2 .date,
#IP3 .date,
#IP0 .timeline-body p,
#IP2 .timeline-body p,
#IP3 .timeline-body p {
    float: none !important;
    margin: 0;
    font-size: 13px;
    color: #31445f;
}

@media (max-width: 991px) {
    #tab-general > .row {
        display: block;
    }

    #tab-general > .row > .col-lg-4,
    #tab-general > .row > .col-lg-8,
    #tab-general > .row > #IP1,
    #tab-general > .row > #IP0,
    #tab-general > .row > #IP2,
    #tab-general > .row > #IP3 {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }

    .dash-toolbar {
        flex-wrap: wrap;
    }

    .dash-filter-row {
        flex-wrap: wrap !important;
        justify-content: flex-start;
    }

    #IP1 .timeline > li {
        padding-left: 16px;
        padding-top: 70px;
    }
}
