﻿@charset "UTF-8";

header span {
    margin-left: auto;
}

/*Activities Page*/
#GV_Activities {
    width: 100%;
    border-collapse: collapse !important;

    tr {
        background-color: #f4ece3;
        cursor: pointer;

        &:first-child {
            background-color: #ba9c78;
            height: 30px;
        }

        &:nth-child(even) {
            background-color: #fff5e9;
        }
    }

    th {
        white-space: nowrap;
        border: 1px solid white;
        padding: 0.5em;
    }

    td {
        text-align: center;
        border: 1px solid white;
        padding: 0.5em;

        &:nth-child(2) {
            width: 20%;
            min-width: 200px;
        }

        &:nth-child(3) {
            text-align: left;
        }
    }
}

.timePhase, #SpanRemark {
    font-size: 0.8em;
}

/*Activity page*/
.FbShare {
    float: right;
}

#LbClosed {
    color: red;
}

#DivDetails {
    display: grid;
    grid-template-columns: 20% 1fr;

    div {
        padding: 0.5em;
        border: 1px solid white;

        &:nth-child(4n) {
            background-color: #f4ece3;
        }

        &:nth-child(4n+1) {
            background-color: #f0e0c3;
        }

        &:nth-child(4n+2) {
            background-color: #fff5e9;
        }

        &:nth-child(4n+3) {
            background-color: #ffefd0;
        }

        &:nth-child(4n+1), &:nth-child(4n+3) {
            text-align: right;
            font-weight: 700;
        }
    }
}

#BtnSubmit {
    display: block;
    margin: 0 auto;
}

.DivSubmitted {
    display: grid;
    grid-template-columns: clamp(100px, 200px, 20%) 1fr;
    gap: 0.5em;

    > div:nth-child(odd) {
        text-align: right;
        font-weight: bold;
    }
}

/*Submit page*/
.smallfont {
    font-size: 0.8em;
    letter-spacing: 0px;
}

#LbPrivacy {
    padding-right: 2em;
}

/*Enroll Page*/
#LbSystemNo {
    color: blue;
}

dialog {
    padding: 0;
    width: 600px;

    input[type="submit"] {
        display: block;
        margin: 1em auto;
    }

    > div {
        padding: 1em;
    }
}

#dialog-receipt > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0.5em;
}

#BtnExit {
    background-color: transparent;
    width: 25px !important;
    min-width: 25px !important;
    border: none;
    float: right;
    height: inherit !important;
    font-size: 1.2em;
}

#Tb_FullName {
    width: 100%;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    #GV_Activities {
        th, td {
            padding: 3px;
        }
            td:nth-child(2) {
                min-width: 100px;
            }
    }

    #DivDetails, .DivSubmitted {
        grid-template-columns: 80px 1fr;
    }

    .BlYear {
        display: block;
    }
}