body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #31333D;
}

.portal-layout-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.header-title {
    font-weight: 800;
    font-size: 2.5em;
    margin: 1em 0.5em 0.5em 0.5em;
}
/* main grid */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        'header'
        'main'
        'footer';
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    background-color: #f0f0f7;
}

.menu-icon {
    position: fixed;
    display: none;
    top: 5px;
    left: 10px;
    align-items: center;
    justify-content: center;
    z-index: 1021;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 20%;
}

@media screen and (max-width: 750px) {
    .menu-icon {
        display: flex;
    }
     .reink-lg {
         margin-left: 45%;
     }
}

.menu-icons {
    height:20px;
}

/* Give every child element its grid name */
.header {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background-color: #fff;
}

/* For menu icon on mobile */
.header__search {
    margin-left: 42px;
}

.sidenav {
    grid-area: sidenav;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 240px;
    position: fixed !important;
    overflow-y: auto;
    transform: translateX(-245px);
    transition: all .6s ease-in-out;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 2;
    background-color: #394263;
}

    .sidenav.active {
        transform: translateX(0);
    }

.sidenav__close-icon {
    position: absolute;
    visibility: visible;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #ddd;
}

.sidenav-items {
    padding: 0;
/*    margin-top: 85px;*/
    list-style-type: none;
}

.nav-link {
    font-weight: 500;
}

.nav-item-link {
    width: 100%;
    font-weight: 500;
    color: #fff;
    display: block;
    padding: 1rem;
}

    .nav-item-link:hover {
        background-color: #48527a;
        text-decoration: none;
        color: #fff;
    }

.selected {
    color: #30d9c8;
    border-left: solid 3px #30d9c8;
    background-color: #3c3b54;
}


.sidenav__list-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.pb-g {
    padding-bottom: 1.875em;
}


.main {
    grid-area: main;
    min-height: 0;
    /*padding: 0 3em 0 3em;*/
}

.main-pad {
    padding: 3em;
}
.card-4 {
    display: flex;
    /*justify-content: space-between;*/
    margin: 20px;
    padding: 20px;
    height: 480px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    grid-auto-rows: 94px;
    grid-gap: 20px;
    margin: 20px;
}

.card-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.card-container-ch {
    column-count: 1;
    column-gap: 20px;
    margin: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    width: 100%;
    background-color: #fff;
/*    margin-bottom: 20px;*/
    -webkit-column-break-inside: avoid;
    /*padding: 24px;*/
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

.card-body {
    /*padding: 24px 24px 0 24px;*/
    padding: 24px;
}

.card-head {
    padding: 24px;
}

.card-h-100 {
    height: 100%;
}

.table {
    border-collapse: collapse;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.footer {
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:16px;
}

/* 750px */
@media only screen and (min-width: 46.875em) {
    /* Show sidebar */
    .grid-container {
        grid-template-columns: 240px 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "header header"
            "sidenav main"
            "sidenav footer";
    }

    .header__search {
        margin-left: 0;
    }

    .sidenav {
        position: relative !important;
        top: auto;
        transform: translateX(0);
    }

    .sidenav__close-icon {
        visibility: hidden;
    }
}

/* (1050px) */
@media only screen and (min-width: 65.625em) {
    /* Break out main cards into two columns */
    .card-container-ch {
        column-count: 2;
    }
}
