body {
    font-family: "Open Sans", sans-serif;
    height: 100vh;
    /* background: url("../images/genbglogin.jpg") 50% fixed; */
    /* background-size: cover; */
}
.userbgimg {
    background: url("../images/genbglogin.jpg") 50% fixed;
    background-size: cover;
}
.createacctbgimg {
    background: url("../images/createacctbgimg.jpg") 50% fixed;
    background-size: cover;
}
.adminbgimg {
    background: url("../images/adminbglogin.jpg") 50% fixed;
    background-size: cover;
}
@media screen and (max-width:851px) {
    .adminbgimg {
        background: url("../images/adminmobilebglogin.jpg") 50% fixed;
        background-size: cover;
    }
}

@keyframes spinner {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(359deg);
    }
}

* {
    box-sizing: border-box;
}

.adjusttop {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
    position: relative;
    top: 80px;
}
@media screen and (max-width:736px) {
    .adjusttop {
        padding: 4px;
    }
}
.logoplaceholder {
    display: block;
    width: 120px;
    height: 120px;
    background: #E6E7ED;
    border-radius: 100%;
    background-image: url(../images/TCC-Logo-01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border: 1px solid #772fa1;
    margin-top: 5%;
}

.logochurchname {
    font-weight: 800;
    font-size: 20px;
    padding: 30px 40px 49px 40px;
    color: #ffffff;
    width: 50%;
    text-align: center;
}


/* mobile view media query optimization */

@media screen and (max-width:736px) {
    .logoplaceholder {
        margin-top: 26%;
    }
}

@media screen and (max-width:736px) {
    .logochurchname {
        padding: 15px 40px 24px 40px;
        width: 80%;
    }
}

.loginswitch {
    font-size: 18px;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 10px;
    background: rgba(44, 8, 61, 0.733);
}
.loginswitch:hover {
    border: 1px solid rgb(155, 89, 225);
    background: #6a3db6;
    color: #fff;
}
.btnmobilewidth {
    width: 40%;
}

@media screen and (max-width:1024px) {
    .btnmobilewidth {
        width: 90%;
    }
}

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px 20px 200px 20px;
    /* background: rgba(142, 65, 226, 0.33); */
    position: relative;
}

@media screen and (max-width:1024px) {
    .wrapper {
        margin-top: 24px;
        padding: 0px 0px 200px 0px;
    }
}

.login {
    border-radius: 2px 2px 5px 5px;
    padding: 10px 20px 20px 20px;
    width: 90%;
    max-width: 40%;
    background: rgb(255 255 255 / 66%);
    position: relative;
    padding-bottom: 20px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 20px 20px 20px;
    position: relative;
    top: 30px;
}

.dropdwnstyle {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 100%;
    padding: 18px;
    background: #fff;
}

select .dropdwnstyle {
    background-color: blue;
}

.pb50 {
    padding-bottom: 50px;
}


/* mobile view media query optimization */

@media screen and (max-width:1024px) {
    .login {
        padding: 10px 20px 20px 20px;
        width: 100%;
        max-width: 98%;
        position: relative;
        top: 30px;
    }
}

@media screen and (max-width:360px) {
    .dropdwnstyle {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 20px;
        max-width: 100%;
        padding-bottom: 70px;
    }
}

@media screen and (max-width:1024px) {
    .dropdwnstyle {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 20px;
        max-width: 100%;
    }
}

.login.loading button {
    max-height: 100%;
    padding-top: 50px;
}

.login.loading button .spinner {
    opacity: 1;
    top: 40%;
}

.login.ok button {
    background-color: #8bc34a;
}

.login.ok button .spinner {
    border-radius: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    height: 20px;
    animation: none;
    transform: rotateZ(-45deg);
}

.login input {
    display: block;
    padding: 15px 10px;
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #ddd;
    transition: border-width 0.2s ease;
    border-radius: 2px;
    color: #ccc;
}
@media screen and (max-width:736px) {
    .login input {
        display: block;
        padding: 19px 10px;
        margin-bottom: 36px;
        width: 100%;
    }
}

.login input+i.fa {
    color: #fff;
    font-size: 1em;
    position: absolute;
    margin-top: -47px;
    opacity: 0;
    left: 0;
    transition: all 0.1s ease-in;
}
@media screen and (max-width:736px) {
    .login input+i.fa {
        margin-top: -75px;
    }
}

.login input:focus {
    outline: none;
    color: #444;
    border-color: #824fdb;
    border-left-width: 35px;
}

.login input:focus+i.fa {
    opacity: 1;
    left: 30px;
    transition: all 0.25s ease-out;
}

.login a {
    font-size: 0.8em;
    color: #493e54;
    text-decoration: none;
}

.login .title {
    color: #444;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0 30px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.login button {
    width: 100%;
    height: 100%;
    padding: 10px 10px;
    background: #7424cc;
    color: #fff;
    display: block;
    border: none;
    margin-top: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    max-height: 60px;
    border: 0px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 0 2px 2px;
    transform: rotateZ(0deg);
    transition: all 0.1s ease-out;
    border-bottom-width: 7px;
}

.login button .spinner {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    border: 4px solid #ffffff;
    border-top-color: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    left: 50%;
    top: 0;
    opacity: 0;
    margin-left: -20px;
    margin-top: -20px;
    animation: spinner 0.6s infinite linear;
    transition: top 0.3s 0.3s ease, opacity 0.3s 0.3s ease, border-radius 0.3s ease;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2);
}

.login:not(.loading) button:hover {
    box-shadow: 0px 1px 3px #2196F3;
}

.login:not(.loading) button:focus {
    border-bottom-width: 4px;
}
.forgotpwpb {
    padding-bottom: 62px;
}
@media screen and (max-width:1024px) {
    .forgotpwpb {
        padding-bottom: 78px;
    }
}

footer {
    display: block;
    padding-top: 50px;
    text-align: center;
    color: #ddd;
    font-weight: normal;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    font-size: 0.8em;
    width: 40%;
   
}
@media screen and (max-width:1024px) {
    footer {
        width: 98%;
    }
}

footer a,
footer a:link {
    color: #fff;
    text-decoration: none;
}
.loginswitch {
    border: 1px solid rgb(142 95 191);
    border-radius: 4px;
    background: #3c1a9582;
    display: block;
    padding: 14px 0px;
    font-size: 1rem;
}
.loginswitch:hover {
    border: 1px solid rgb(155, 89, 225);
    background: #6a3db6;
}
@media screen and (max-width:1024px) {
    .loginswitch{
        background: #3c1a9582;
        display: block;
        padding: 12px 0px;
    }
}