/* These styles get enqueued on every page */

/* MOBILE VIEW */

.main-container {
    max-width: 80rem;
    margin-left: 0rem;
    margin-right: 0rem;
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.main-container img {
    border-radius: 2px;
}

.favorites-button-centered {
    text-align: center;
}

/* Donate button in the header - mobile */

.navbar-right {
    position: relative;
}

.donate-button-header {
    width: 2rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    user-select: none;
}

.donate-button-header-inner-wrapper {
    display: none;
    align-items: center;
    box-sizing: border-box;
    background: #D62021;
    padding: 0.25rem;
    border-radius: 5px;
}

.donate-button-header-inner-wrapper:hover {
    background: #ab191a;
}

.donate-icon-container {
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.25rem;
}

.donate-icon-container svg {
    fill: #fff;
}

.donate-text-container {
    font-size: 0.9rem;
    color: #fff;
    text-align: right;
    white-space: nowrap;
}

.donate-button-header-dropdown {
    position: absolute;
    white-space: nowrap;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    background: #fff;
    padding: 0.5rem;
    border: 1px solid #d62021;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
}

.donate-button-header-dropdown a {
    color: var(--rnsblue);
}

.donate-menu-item {
    margin-bottom: 0.5rem;
}

.donate-menu-item:last-child {
    margin-bottom: 0;
}

/* End donate button in header - mobile */

/* Donate menu on mobile */

.mobile-donate-menu {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #fff;
    padding: 0.5rem;
}

.mobile-donate-button-header {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.mobile-donate-button-header-inner-wrapper {
    display: flex;
}

.mobile-donate-icon-container {
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.25rem;
}

.mobile-donate-icon-container svg {
    fill: #d62021;
}

.mobile-donate-text-container {
    color: #000;
}

.mobile-donate-menu-item {
    text-align: center;
    margin-top: 0.5rem;
    border: 1px solid var(--greyborder);
    padding: 0.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.mobile-donate-menu-item a {
    color: var(--rnsblue);
    flex: 1;
    width: 100%;
}

.mobile-donate-button-header-dropdown {
    display: none;
    flex-direction: column;
}

/* End donate menu on mobile */

/* TABLET VIEW */

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .main-container {
        flex-direction: row;
        padding: 3rem 1.5rem;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    /* Donate button tablet */
    .donate-button-header-inner-wrapper {
        display: flex;
    }
    .donate-button-header {
        width: 3.8rem;
    }
    /* End Donate button tablet */
    /* Mobile donate menu */
    .mobile-donate-menu {
        display: none;
    }
    /* End mobile donate menu */
}

/* DESKTOP VIEW */

@media only screen and (min-width: 1280px) {
    .main-container {
        flex-direction: row;
        padding: 3rem;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    /* Donate button desktop */
    .donate-button-header-inner-wrapper {
        display: flex;
    }
    .donate-button-header {
        width: 3.8rem;
    }
    /* End Donate button desktop */
    /* Mobile donate menu */
    .mobile-donate-menu {
        display: none;
    }
    /* End mobile donate menu */
}