* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.logo {
    width: 10rem;
    height: 3rem;
    display: flex;
    z-index: 1;
    position: absolute;
    top: 30%;
}

body {
/*    background-image: url(/images/bg-tech.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;*/
}

@media only screen and (max-height: 1347px) {
    .logo {
        top: 20rem;
    }
}

@media only screen and (max-height: 1160px) {
    .logo {
        top: 18rem;
    }
}

@media only screen and (max-height: 1096px) {
    .logo {
        top: 12rem;
    }
}

.top-left-img {
    display: inline;
    position: absolute;
    left: 0px;
    top: 0;
    z-index: -1;
}

.right-bottom-img {
    display: flex;
    position: absolute;
    right: 0px;
    bottom: 0;
    z-index: -1;
}

.form-container {
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-text {
    font-size: 2.2rem;
    letter-spacing: 0.25rem;
    margin-bottom: 1rem;
}

span.textbox {
    background-color: #e7e7e7;
    color: #000;
    border: 1px #000 solid;
    font-size: 9pt;
    padding-left: 0.3rem;
    border-bottom-left-radius: 0.7rem;
    border-bottom-right-radius: 0.7rem;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
}

input {
    border-bottom-left-radius: 0.7rem;
    border-bottom-right-radius: 0.7rem;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
}

    span.textbox input {
        outline: none;
        border: none;
        border-bottom-left-radius: 0.7rem;
        border-bottom-right-radius: 0.7rem;
        border-top-left-radius: 0.7rem;
        border-top-right-radius: 0.7rem;
    }

input {
    padding: 0.5rem 0.9rem;
    width: 15rem;
    margin-left: 0.4rem;
}

.remember {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
}

.btn-primary {
    background-color: #176299; /* Green */
    border: none;
    color: white;
    width: 18.5rem;
    padding: 15px 32px;
    margin-top: 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-bottom-left-radius: 0.7rem;
    border-bottom-right-radius: 0.7rem;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
}

.btn-nobg {
    border: none;
    color: #000;
    width: 18.5rem;
    margin-top: 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-bottom-left-radius: 0.7rem;
    border-bottom-right-radius: 0.7rem;
    border-top-left-radius: 0.7rem;
    border-top-right-radius: 0.7rem;
    cursor: pointer
}

.container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #eee;
}

.container:hover input ~ .checkmark {
    background-color: #ccc;
}

.container input:checked ~ .checkmark {
    background-color: #176299;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container input:checked ~ .checkmark:after {
    display: block;
}

.container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.switch {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 24px;
    margin: 0rem 1rem;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

input:checked + .slider {
    background-color: #00c2ff;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00c2ff;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.external-area {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0.7rem 0rem;
}

.external-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .external-login > label {
        margin: 0.5rem 0rem;
    }

    .external-login > input {
        width: 90%;
    }

.banner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-img {
    height: 150px;
    width: 600px;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-top: 30px;
}

.login-container {
    background-color: #fff;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem 0rem;
    padding: 2rem 2rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media only screen and (max-height: 922px) {
    .logo {
        display: none;
    }

    .banner-container {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (max-height: 790px) {

    .banner-img {
        width: 75%
    }
}

@media only screen and (max-width: 414px) {

    .login-container {
        background-color: transparent;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 1rem 0rem;
        padding: 0rem;
        box-shadow: none;
    }
}

@media only screen and (max-width: 281px) {


    input {
        padding: 0.5rem 0.9rem;
        width: 12rem;
        margin-left: 0.4rem;
    }

    .btn-primary {
       
        width: 15rem;
        
    }
}

#snackbar {
    display: flex;
    align-items:center;
    justify-content:center;
    min-width: 230px;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 999;

    top: 30px;
    font-size: 1.5rem;
    background-color: #FF8181;
}

    #snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}