@media screen and (max-width: 500px) {
    footer {
        font-size: small;
    }
}

button:disabled:not(.silent-disabled).ax-btn,
button:disabled:not(.silent-disabled):active.ax-btn,
button:disabled:not(.silent-disabled):hover.ax-btn {
    color: #b3b3b3;
    background-color: #f0f0f0;
    box-shadow: none;
}

button:disabled:not(.silent-disabled).ax-btn:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

footer {
    text-align: center;
}

.inline-block {
    display: inline-block;
}

.width-full {
    width: 100%;
}

.width-auto {
    width: auto;
}

.width-fullscreen {
    width: 100vw;
}

.hidden,.hide,.invisible {
    display: none;
}

.font-large {
    font-size: smaller;
}

.font-small {
    font-size: small;
}

.font-smaller {
    font-size: smaller;
}

.bold {
    font-weight: bold;
}

.scroll-y-auto {
    overflow-y: auto;
}

.flex {
    display: flex;
}

.column {
    display: flex;
    flex-direction: column;
}

.space-between {
    display: flex;
    justify-content: space-between;
}

.space-around {
    display: flex;
    justify-content: space-around;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-grid {
    display: grid;
    place-items: center;
}

.vertical-center {
    display: flex;
    align-items: center;
}

.center-self {
    align-self: center;
}

.self-end {
    align-self: flex-end;
}

.wrap {
    flex-wrap: wrap;
}

.grow-yes {
    flex-grow: 1;
}

*:has(.grow-height) {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.grow-height {
    flex-grow: 1;
}

/* .grow-fullscreen {

} */

.gap-md,
.gap-xxs,
.gap-sm,
.gap-xxl {
    display: flex;
}

.gap-md {
    gap: 14px;
}

.gap-xxs {
    gap: 4px;
}

.gap-sm {
    gap: 10px;
}

.gap-xxl {
    gap: 14px;
}

.gutter-10rem {
    width: 10rem;
}

/* dialog */

dialog {
    border-style: none;
    /* border-radius: 3px; */
}

*:has(.dialog-absolute) {
    position: relative;
}

.dialog {
    z-index: 1;
    /* transition: visibility 0.3s; */
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
}

.dialog.fixed {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
}

.dialog.show-dialog {
    visibility: visible;
}

.dialog:not(.show-dialog) {
    visibility: hidden;
}

/* .dialog.absolute:not(.show-dialog) {
    display: none;
} */

/* .dialog.fixed.show-dialog {
    visibility: visible;
}

.dialog.fixed:not(.show-dialog) {
    visibility: hidden;
}
 */

.dialog .dialog-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}

.dialog-overlay:not(.overlay-transparent) {
    background-color: rgba(0, 0, 0, 0.4);
}

.dialog-window {
    background-color: #fff;
    z-index: 1;
    position: relative;
}


#photo {
    background-color: rgb(67, 142, 219);
    width: 150px;
    height: 200px;
}

/* register */

#diploma {
    display: none;
}

.warning-pay {
    font-weight: bold;
    color: blue;
    font-size: small;
}

/* barcode */

.barcode-pay {
    width: 132px;
    height: 132px;
}

/* query */

#dropdown {
    display: none;
}

.register-query-result td:nth-of-type(1) {
    background-color: #E8E8E8;    
}