/**
 * CONTENTS
 * 
 * COMPONENTS
 * BLOCK FORM............DISPLAY BLOCK FORMS
 * LOGIN FORM............STYLES FOR THE LOGIN FORM
 * BUTTONS...............BUTTON STYLES
 * LOGIN BUTTONS.........LOGIN BUTTON STYLES
 * CAPTCHA...............CAPTCHA FOR BLOCK FORMS
 * TIMECLOCK.............TIME CLOCK STYLES
 * MISC..................SOME OVERRIDES AND EXTRA STYLES
 */

/*---------------------------------*\
# BLOCK FORM
\*---------------------------------*/
.block-form {
    border: #cccccc solid thin;
    border-radius: 0.417em;
    padding: 1.5em;
    max-width: 27em;
    min-width: 22.5em;
}

.block-form_title {
    margin-bottom: 0.75em; /* relative to default font size */
}

.block-form__label {
    font-size: 1.334em;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: middle;
}

.block-form__input {
    box-sizing: border-box;
    width: 100%;
    margin: 0.25em 0 0.166em 0;
    padding: 0.25em;
    font-size: 1.5em;
}

.block-form__p {
    margin-top: 0.75em;
    display: block; /* To support <i> tag */
}

/* Add this CSS to style the logo */
.block-form__logo {
    display: block;
    margin: 0 auto 1em auto; /* Center the logo and add some margin below it */
    max-width: 100px; /* Adjust the size as needed */
}

/*---------------------------------*\
# LOGIN FORM
\*---------------------------------*/
.block-form_login {
    position: relative;
    top: 1.5em;
    left: 1.5em;
    background-color: rgb(250, 250, 250);
}

.block-form_login-center {
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

.block-form__label_captcha {
    display: block;
    margin-bottom: 0.25em;
}

/*---------------------------------*\
# BUTTONS
\*---------------------------------*/

.btn_block-form {
    width: 100%;
    margin-top: 1.2em;
    cursor: pointer;
}

.btn_block-accent {
    padding: 0.83em;
    font-size: 1.25em;
    border: none;
    background: #CC0000;
    color: #fefefe;
}

/*---------------------------------*\
# LOGIN BUTTONS
\*---------------------------------*/
.btn_login {
    border-radius: 0.417em;
    transition: opacity 0.2s 0s ease-in, color 0.2s 0s ease-in;
}

.btn_login:hover,
.btn_login:focus {
    opacity: 0.5;
    color: #fefefe;
}

/*---------------------------------*\
# CAPTCHA
\*---------------------------------*/
.captcha {
    margin-top: 18px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.captcha__img {
    border: 1px solid #cccccc;
    display: inline-block;
    vertical-align: middle;
    width: 80%;
}

.captcha__a {
    display: inline-block;
    vertical-align: middle;
    margin-left: 1.25em;
}

/*---------------------------------*\
# TIMECLOCK
\*---------------------------------*/
.timeclock {
    border-top: 1px solid #cccccc;
    margin-top: 1.5em;
    text-align: center;
}

.timeclock_a {
    margin-top: 1.5em;
    padding: 0.83em;
    display: inline-block;
    /*border: 1px solid #999999;*/
    border-radius: 5px;
    color: #fefefe;
    background-color: #CC0000;
    transition: opacity 0.2s 0s ease-in, color 0.2s ease-in;
}

.timeclock_a:hover,
.timeclock_a:visited {
    /*background: green;*/
    color: #fefefe;
    opacity: 0.5;
    text-decoration: none;
}
/*---------------------------------*\
# MISC
\*---------------------------------*/
.background {
    min-height: 100vh;
    background: rgb(50,50,50); /* Background base color */
}

.password_helper {
    content: "?";
    text-align: center;
    font-size: 0.625em;
    color: rgb(50, 50, 50);
    vertical-align: middle;
    width: 1.2em;
    height: 1.2em;
    margin-left: 0.313em;
    /*margin-bottom: 0.25em;*/
    display: inline-block;
    border: 0.125em solid rgb(50, 50, 50);
    border-radius: 50%;
    cursor: pointer;
}

.ginfo_login-form {
    margin-top: 1em;
}
