body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.bg-portal {
    background-image: url('../images/alusi_bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-portal-login {
    background-image: url('../images/alusi_bg_bw.jpg');
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.portal {
    position: relative;
    z-index: 1;
    padding: 20px 0px;
}

img.logo {
    width: 350px;
    height: 350px;
}

img.logo_title {
    width: 350px;
    height: 114px;
}

img.logo_card {
    max-width: 150px;
    max-height: 150px;
}

.medsos_logo {
    width: 35px;
    height: 35px;
    margin: 20px;
}

.header-portal {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.footer-portal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 30px;
    color: white;
    background-color: none;
    z-index: 1000;
}

.content-portal {
    margin-top: 145px;
    overflow: scroll;
    height: 65%;
    text-align: center;
    color: white;
    position: fixed;
    scrollbar-width: none;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.spacer {
    height: 150px;
    /* Tinggi spacer sesuai dengan tinggi footer */
}

.card-portal {
    background-color: #fff;
    border-radius: 15px;
    width: 200px;
    height: 250px;
    color: #000;
    padding: 10px;
    margin: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transition: transform 0.3s;
}

.card-minter {
    background-color: #07a5ee;
    border-radius: 15px;
    width: 400px;
    height: 150px;
    color: #fff;
    align-items: center;
    display: flex;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transition: transform 0.3s;
}

.card-portal:hover {
    transform: translateY(-5px);
    /* Efek timbul saat hover */
}

.card-minter:hover {
    transform: translateY(-5px);
    /* Efek timbul saat hover */
}

a.card-minter:hover {
    text-decoration: solid;
    text-decoration-color: #000;
}

@media only screen and (max-width: 767px) {
    .bg-portal {
        background-image: url('../images/mobile_bg.jpg');
    }

    .bg-portal-login {
        background-image: url('../images/mobile_bg_bw.jpg');
    }

    img.logo {
        width: 250px;
        height: 250px;
    }

    img.logo_card {
        max-width: 50px;
        max-height: 50px;
    }

    img.logo_title {
        width: 200px;
        height: 60px;
    }

    .content-portal {
        margin-top: 80px;
    }

    .medsos_logo {
        width: 20px;
        height: 20px;
        margin: 5px;
    }

    .card-portal {
        width: 100px;
        height: 125px;
        padding: 2px;
        margin: 2px 8px;
        font-size: smaller;
        font-weight: 200;
    }

    .card-minter {
        width: 200px;
        height: 65px;
        padding: 2px;
        margin: 2px 8px;
        font-size: smaller;
        font-weight: 200;
    }
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.help-block {
    color: #a94442;
}

main>.container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}