/*** DASHBOARD TILES - NEW STYLESHEET cfor compatability with Bootstrap ***/

.gradient-overlay {
    height: 100%;
    width: 100%;
    opacity: 0.75;
}

.panel div[id^='divBlocker'] {
    height: 100% !important;
}

.tile-click {
    cursor: pointer;
}

.template-donor-portal.dashboard .spanh-0 {
    height: -15px;
}

.template-donor-portal.dashboard .spanh-1 {
    height: 340px;
}

.template-donor-portal.dashboard .spanh-2 {
    height: 695px;
}

.template-donor-portal.dashboard .spanh-3 {
    height: 1050px;
}

.template-donor-portal.dashboard .spanh-4 {
    height: 1405px;
}

.template-donor-portal.dashboard .spanh-5 {
    height: 1760px;
}

.template-donor-portal.dashboard .spanh-6 {
    height: 2115px;
}

.template-donor-portal.dashboard .spanh-7 {
    height: 2470px;
}

.template-donor-portal.dashboard .spanh-8 {
    height: 2825px;
}

.template-donor-portal.dashboard .spanh-9 {
    height: 3180px;
}

.template-donor-portal.dashboard .spanh-10 {
    height: 3535px;
}

.template-donor-portal.dashboard .spanh-11 {
    height: 3890px;
}

.template-donor-portal.dashboard .spanh-12 {
    height: 4245px;
}

.template-donor-portal.dashboard .color-default {
    color: #414042;
}

.template-donor-portal.dashboard .color-white {
    color: #fff;
}

.template-donor-portal.dashboard .dashboard-tiles {
    position: relative;
}

.template-donor-portal.dashboard .dashboard-tiles .tile {
    padding: 2vh 2vw;
    position: relative;
    margin-right: 15px;
}

.template-donor-portal.dashboard .dashboard-tiles .tile .panel-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    padding: 1vh 1vw;
}

.template-donor-portal.dashboard .dashboard-tiles .tile .panel-button a:hover {
    text-decoration: underline;
}

.template-donor-portal.dashboard .dashboard-tiles .db-panel.panel,
.template-donor-portal.dashboard .dashboard-tiles .panel {
    padding: 2rem;
    overflow: hidden;
}

.template-donor-portal.dashboard .dashboard-tiles #dashboardContent {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.template-donor-portal.dashboard .full-width-button {
    height: 100%;
    padding-bottom: 2.5rem;
}

.template-donor-portal.dashboard .full-width-button .btn {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    right: -1rem;
    text-align: center;
    font-weight: 500 !important;
    border-radius: 0 !important;
    padding: .5rem !important;
    line-height: 1.5em;
    border: 1px solid rgba(23, 97, 51, .7);
    max-height: 60px;
}

.template-donor-portal.dashboard .image-block {
    position: relative;
    margin: 0;
    padding: 1rem;
    height: calc(100%);
    box-shadow: 2px 1rem 1rem rgba(0, 0, 0, .3) !important;
    border: 1px solid rgba(23, 97, 51, .7);
    background-color: var(--color-pale-grey); 
    border: 1px solid var(--color-green);
}

.template-donor-portal.dashboard .image-block .image {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-size: cover;
    background-position: 50% 50%;
}

.template-donor-portal.dashboard .image-block .body {
    z-index: 2;
    position: relative;
}

.template-donor-portal.dashboard .image-block .body .content {
    max-width: 320px;
}

.template-donor-portal.dashboard .panel-inner {
    position: relative;
    margin: -2rem;
    padding: 2rem;
    height: calc(100% + 4rem);
}

.template-donor-portal.dashboard .panel-inner .body {
    z-index: 2;
    position: relative;
}

.template-donor-portal.dashboard .panel-inner .body .content {
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    height: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-right: 20px;
    width: calc(100% + 10px) !important;
}

.template-donor-portal.dashboard .panel .body,
.template-donor-portal.dashboard .db-panel .body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.template-donor-portal.dashboard .panel .body .content,
.template-donor-portal.dashboard .db-panel .body .content {
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    height: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-right: 20px;
    width: calc(100% + 10px) !important;
}

.template-donor-portal.dashboard .panel .body a:hover,
.template-donor-portal.dashboard .db-panel .body a:hover {
    text-decoration: underline;
}

.template-donor-portal.dashboard .panel.your-details a[href^="mailto:"],
.template-donor-portal.dashboard .db-panel.your-details a[href^="mailto:"] {
    text-decoration: underline;
}

.template-donor-portal.dashboard .panel.your-details span,
.template-donor-portal.dashboard .db-panel.your-details span {
    line-height: 1.8em;
}

.template-donor-portal.dashboard .panel.your-details .db-panel-button a:hover,
.template-donor-portal.dashboard .db-panel.your-details .db-panel-button a:hover {
    text-decoration: underline !important;
}

.template-donor-portal.dashboard .db-panel-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    line-height: 1.8e
}

.template-donor-portal.dashboard .db-panel-button a {
    text-decoration: none;
    display: block;
    padding: .5rem
}

.template-donor-portal.dashboard .your-details em {
    position: absolute;
    right: 1.5vw;
    cursor: pointer;
}

.template-donor-portal.dashboard .panel {
    height: 280px;
    overflow: hidden;
    position: relative !important;    
}

/*** TRANSFERRED FROM STYLES & JS - SUPPORTER DASHBOARD ***/

/* Contains breadcrumb, page heading and sub heading */
.page-overview {
    background-color: #c5d7cc;
    padding: 10px 20px;
}

.d-none {
    display: none !important;
}

.btn-primary,
input[type=submit] {
    font-size: 1.2rem !important;
    background-color: #ff7a4d;
    border-color: #ff7a4d;
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 18px;
    border: transparent;
    font-family: var(--font-sans-serif) !important;
}

.btn-primary:hover,
input[type=submit]:hover {
    background-color: #ff8e68;
    border-color: #ff875f;
}

/*** TRANSFERRED FROM styles_portal.css ***/

#dashboard {
    margin: 0 auto;
}

#imgSpinner {
    display: none;
}

div[id^=divBlocker] {
    background: rgba(255, 255, 255, .5) !important;
    opacity: 1 !important;
}

div[id^=divBlocker]:before {
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 0;
    border: 0;
    padding: 0;
    height: 56px;
    width: 56px;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -28px;
    margin-top: -28px;
    border-radius: 50%;
    opacity: 1;
    border: 8px solid #bbd3e3;
    border-top-color: #6199be;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

div[id^=divBlocker]:after {
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 0;
    border: 0;
    padding: 0;
    height: 56px;
    width: 56px;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -28px;
    margin-top: -28px;
    border-radius: 50%;
    opacity: 1;
    border: 8px solid #bbd3e3;
    border-top-color: #6199be;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.db-panel h3 * {
    font-family: var(--font-sans-serif);
}

.db-panel.panel.your-details span {
    font-weight: 300;
    color: black !important;
    font-size: 1rem;
}

.db-panel.bg--bettonggrey {
    background-color: var(--color-pale-grey) !important;
}

/* This class is added to the dashboard page heading container by JS in JS - Portal - Dashboard (which is at the bottom of the template) */
.p-b-4vh {
    padding-bottom: 4vh;
}

.template-donor-portal.dashboard p {
    font-size: 1rem;
    line-height: 1;
    margin-bottom: .5rem;
}

/*** DASHBOARD ***/

@media (max-width: 992px) {
    .template-donor-portal.dashboard .secondary-header-container {
        margin-bottom: 20px;
    }

}

@media (max-width: 768px) {
    .template-donor-portal.dashboard .secondary-header-container.extra-padding .navigation-container .navigation-container-inner {
        top: 5px;
    }

}

.template-donor-portal.dashboard .secondary-header-container.extra-padding .page-overview {
    padding: 60px 20px 40px;
}

@media (max-width: 768px) {
    .template-donor-portal.dashboard .secondary-header-container.extra-padding .page-overview {
        padding-top: 60px;
    }

}

.db-panel-button,
.panel .btn {
    font-family: var(--font-sans-serif);
}

.template-donor-portal.dashboard .dashboard-tiles {
    position: relative;
}

.template-donor-portal.dashboard .dashboard-tiles .tile {
    padding: 2vh 2vw;
    position: relative;
    margin-right: 15px;
}

.template-donor-portal.dashboard .dashboard-tiles .tile .panel-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    padding: 1vh 1vw;
}

.template-donor-portal.dashboard .dashboard-tiles .tile .panel-button a:hover {
    text-decoration: underline;
}

.template-donor-portal.dashboard .image-block .image {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-size: cover;
    background-position: 50% 50%;
}

.template-donor-portal.dashboard .image-block .body {
    z-index: 2;
    position: relative;
}

.template-donor-portal.dashboard .image-block .body .content {
    max-width: 320px;
}

.template-donor-portal.dashboard .panel-inner {
    position: relative;
    margin: -2rem;
    padding: 2rem;
    height: calc(100% + 4rem);
}

.template-donor-portal.dashboard .panel-inner .body {
    z-index: 2;
    position: relative;
}

.template-donor-portal.dashboard .panel-inner .body .content {
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    height: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-right: 20px;
    width: calc(100% + 10px) !important;
}

.template-donor-portal.dashboard .panel .body,
.template-donor-portal.dashboard .db-panel .body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.template-donor-portal.dashboard .panel .body .content,
.template-donor-portal.dashboard .db-panel .body .content {
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 0;
    height: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-right: 20px;
    width: calc(100% + 10px) !important;
}

.template-donor-portal.dashboard .panel .body a:hover,
.template-donor-portal.dashboard .db-panel .body a:hover {
    text-decoration: underline;
}

.template-donor-portal.dashboard .panel.your-details a[href^="mailto:"],
.template-donor-portal.dashboard .db-panel.your-details a[href^="mailto:"] {
    text-decoration: underline;
}

.template-donor-portal.dashboard .panel.your-details span,
.template-donor-portal.dashboard .db-panel.your-details span {
    line-height: 1.8em;
}

.template-donor-portal.dashboard .panel.your-details .db-panel-button a:hover,
.template-donor-portal.dashboard .db-panel.your-details .db-panel-button a:hover {
    text-decoration: underline !important;
}

.template-donor-portal.dashboard .panel.bg--pale-grey {
    background-color: white;
}

.template-donor-portal.dashboard .panel.bg--pale-grey .image-block{
    background-color: var(--color-pale-grey);
}

.template-donor-portal.dashboard .your-details em {
    position: absolute;
    right: 1.5vw;
    cursor: pointer;
}

.template-donor-portal.dashboard .row {
    height: unset !important;
}