﻿/*
	ROOT OBJECTS
*/
html, body {
    height: 100%;
    color: #3A4856;
    font-family: 'Roboto',-apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 0.9rem;
}

/*
    Custom Scrollbar
*/
* {
    /*Firefox 64*/
    scrollbar-color: #039AE1 #F5F5F5;
    scrollbar-width: thin;
    /*End Firefox 64*/
    /*IE11*/
    scrollbar-track-color: #F5F5F5;
    scrollbar-face-color: #039AE1;
    scrollbar-arrow-color: #039AE1;
    scrollbar-shadow-color: #039AE1;
    /*End IE11*/
}

::-webkit-scrollbar {
    height: .6rem;
    width: .6rem;
}

::-webkit-scrollbar-track {
    border-radius: 1.25rem;
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 1.25rem;
    background: #039AE1;
}

/* Asp.Net has a root form around everything*/
form {
    flex-direction: column;
    min-height: 100%;
    flex: 1 1 auto;
}

/*
	CONTAINER
*/
body {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

.login-container {
    flex-direction: column;
    min-height: 100%;
    flex: 1 0 auto;
}

.login-content {
    margin: auto 0;
    display: flex;
    flex-direction: column;
}

/*
	HEADER
*/
#loginheader {
    padding: 4px;
    padding-bottom: 1rem !important;
    margin-left: 1rem !important;
}

    #loginheader div {
        font-size: 2rem;
        clear: both;
    }

        #loginheader div a {
            color: #58677C;
            text-decoration: none;
        }

    #loginheader img {
        border: 0;
    }

.loginheader-logo {
    max-width: 100%; /* so it doesn't spill out on small phone */
}

/*
	CONTENT
*/
/*.login-content {
	margin: auto 1rem;
    display: flex;
}*/
.login-welcome {
    font-size: 2rem;
    text-align: right !important;
}

/*
	FLAGS
*/

.login-header-flags img {
    border: 1px solid #c0c0c0;
}

.login-header-flags button,
.login-header-flags .dropdown-menu a {
    text-transform: capitalize;
}

/* change arrow to right one */
.login-header-flags .dropdown-toggle::after {
    margin-left: 0.7em;
    vertical-align: 0;
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}

.login-header-flags .dropdown-menu {
    margin-left: -0.5rem; /* compensate added margins in button */
    max-height: 65vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.login-form {
    margin-top: 3rem !important;
}

.login-welcome {
    font-size: 2rem;
}

.login-resetpassword {
    margin-top: 1rem;
}

/*
	FOOTER
*/
.login-footer {
    border-top: 1px solid #c0c0c0;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    padding: 5px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.login-footer {
    color: #58677c;
}

    .login-footer a.social {
        border: 1px solid #036AE1;
        border-radius: 50%;
        padding: 0.25rem;
        width: 1.8rem;
        height: 1.8rem;
        text-align: center;
        display: inline-block;
    }

        .login-footer a.social:hover {
            border-color: #14B4FF;
        }

.sliding-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 10px;
}

.slider {
    overflow: hidden;
    flex: 1;
}

    .slider.collapsed {
        flex: 0;
        display: none;
    }

.line_separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

    .line_separator::before, .line_separator::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #000;
    }

    .line_separator::before {
        margin-right: .25em;
    }

    .line_separator::after {
        margin-left: .25em;
    }

#provided_login {
    font-size: 1rem;
}

.login_config {
    background-color: #e9ecef;
    border-bottom-right-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
    border-color: #fff !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border: 1px solid #dee2e6 !important;
}

/* For test */
.btn.btn-block {
    white-space: normal;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #loginheader {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .login-welcome {
        display: none;
    }

    .login-content {
        display: flex;
    }
}

@media (max-height: 376px) {
    .login-footer {
        display: none;
    }

    .form-group {
        margin-bottom: 0.5rem;
    }
}
/*
	SMARTPHONES VERTICAL ORIENTATION
*/
@media (min-width: 359.98px) and (max-width: 767.98px) and (orientation: portrait) {
    .login-content {
        display: unset;
    }
}
/*
	SMARTPHONES HORIZONTAL ORIENTATION
*/
@media (max-width: 813px) and (orientation: landscape) {
    #loginheader {
        display: none;
    }

    #login_infos {
        display: none;
    }

    .login-welcome {
        display: none;
    }

    #login-form {
        margin-top: auto;
        margin-bottom: auto;
    }

    .login-footer {
        display: none;
    }

    .login-resetpassword {
        margin-top: 0;
    }
}
/*
	TABLET VERTICAL ORIENTATION
*/
@media (min-width: 768.98px) and (orientation: portrait) {
    .login-content {
        margin: 0;
        flex: 1 0 auto;
        display: flex;
    }
}
