/**********************************************
* A-Touch Winwel  - CSS for Login View
* v1.0
**********************************************/

.container-login {
    background: #1e5d91 no-repeat center center fixed;
    width: 100%;
    height: 100%;
}
/********** HEADER **********/
header {
    height: 15%;
    width: 100%;
    margin-top: 20px;
}
header > div {
    height: 100%;
    width: 100%;
}
.login-header-logo {
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-header-logo img {
    max-width: 200px;
    height: auto;
}
.login-header-dateTime {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}
.login-header-dateTime > div {
    color: #fff;
}
.timett {
    margin: 0;
    letter-spacing: -1px;
    color: #fff;
    font-size: 24px;
    vertical-align: top;
    margin-left: 1px;
    display: -webkit-inline-box;
    display: -moz-inline-box;
}
.login-time {
    margin: 0;
    color: #fff;
    font-size: 42px;
}
.login-header-meteo {
    height: 100%;
}
.login-header-meteo > div {
    text-align: left;
    color: #fff;
}
.login-header-meteo > div img {
    height: 60px;
}
.temp {
    vertical-align: top;
    letter-spacing: -1px;
    padding-left: 3px;
    font-size: 38px;
}
.temp-degree {
    font-size: 28px;
    vertical-align: top;
}
/********** MIDDLE LOGO **********/
.wrap {
    height: 85%;
    width: 100%;
    display: block;
}
.circular {
    position: relative;
    width: 550px;
    height: 550px;
    margin: auto;
    background-image: url('../../assets/img/login/logoCentral.svg');
    -webkit-box-shadow:  0 20px  rgba(51, 51, 51, .6);
    -moz-box-shadow: 0 0 20px 0 rgba(51, 51, 51, .6);
    box-shadow: 0 0 20px 0 rgba(51, 51, 51, .6);
}
.user {
    width: 100%;
    height: 60%;
    position: relative;
    color: #20252E;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.ball {
    height: 50%;
    width: 50%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.brand-heading {
    font-size: 26px;
}
.welcome {
    word-wrap: break-word;
    padding: 0 15px;
    margin: 0;
}
.welcome, .welcome-home {
    font-size: 30px;
}
.welcome-home {
    position: absolute;
    width: 90%;
    top: 50%;
    margin-top: 0;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    word-break: break-word;
    padding: 0 5px;
    text-align: center;
}
.welcome-home span {
    font-size: 20px;
    line-height: 16px;
}
.welcome-home b {
    font-weight: normal;
}
.restore-underway {
    padding-top: 40px;
}
.animate-login-input-hide {
    width: 100%;
    height: 40%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.animate-login-input-hide > div {
    display: flex;
    flex-flow: row nowrap;
}
.animate-login-input-hide > div:nth-child(2) {
    justify-content: center;
    align-items: center;
}
.login-input {
    z-index: 1;
    border: 2px solid #1e5d91;
    border: 2px solid rgba(30, 93, 145,.5);
    outline-color: transparent;
    padding: 5px;
    width: 180px;
    height: 40px;
    margin-left: 0;
    margin-bottom: 3px;
    font-size: 16px;
}
.login-input-button {
    z-index: 1;
    height: 40px;
    min-width: 65px;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 0 2px;
    margin-left: 1px;
}
.login-input-button[disabled] {
    background: #90969b;
}
.btn-default:hover, .btn-default:focus {
    border: 1px solid #20252E;
    outline: 0;
    color: #fff;
    background-color: #20252E;
}
button {
    min-width: 50px;
    height: 45px;
    background-color: #20252E;
    border-color: #20252E;
    color: #fff;
    margin-left: -4px;
}
.login-error-message {
    font-style: italic;
    font-weight: 700;
    position: absolute;
    bottom: 0;
}
/********** USERS **********/
.users-display {
    min-height: 100px;
    max-width: 80vw;
    width: auto;
    margin: auto;
    background-color: transparent;
    box-shadow: none;
    margin-top: 50px;
    color: #FFFFFF;
}
.users-list {
    overflow-x: auto;
    overflow-y: hidden;
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: flex;
    display: -webkit-flex;     /* NEW - Chrome */
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-box-align: center;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: baseline;
    align-items: baseline;
    -webkit-justify-content: center;
    justify-content: center;
}
.users-list p {
    margin-left: 0;
    text-align: center;
    margin: 0;
    max-width: 150px;
    padding: 0 10px;
}
.users-list div:last-child p:last-child {
    margin-right: 0;
}
.users-list img {
    width: 90px;
    height: 90px;
    cursor:pointer;
    margin-left: 3px;
    background-color: #eff3f4;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    -ms-object-fit: cover;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-object-position: 50% 0;
    -moz-object-position: 50% 0;
    -ms-object-position: 50% 0;
    -o-object-position: 50% 0;
    object-position: 50% 0;
}
.justify-users {
    -webkit-justify-content: inherit;
    justify-content: inherit;
}
.users-list::-webkit-scrollbar {
    height: 6px;
    border: 3.5px solid transparent;
    background-color: transparent;
}
.users-list::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}
.users-list::-webkit-scrollbar-thumb {
    background: #eff3f4;
    background: rgba(239,243,242,1);
}
.users-list::-webkit-scrollbar-thumb:window-inactive {
    background: #eff3f4;
    background: rgba(239,243,242,1);
}
.medium-screen {
    display: none;
}
.small-screen {
    display: none;
}
/********** LOGIN SELECT SERVER **********/
.login-server-select {
    width: 350px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
}
.login-server-select p {
    text-align: center;
    border-bottom: 0;
    padding-top: 6px;
}
.login-server-select ul {
    border-top: 2px solid #fff;
    margin-top: 3px;
    padding-bottom: 5px;
}
.login-delete-server-icon {
    float: right;
    padding-right: 3px;
}
.login-add-server-icon {
    float: left !important;
    -webkit-transform: rotate(0deg) !important;
    -moz-transform: rotate(0deg) !important;
    -ms-transform: rotate(0deg) !important;
    -o-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
    margin-left: -40px;
    height: 33px !important;
    margin-top: -2px !important;
    margin-right: -20px;
}
.server-connection-port {
    width: 50%;
    margin-bottom: 30px;
    float: left;
}
.server-connection-port p {
    margin-bottom: 0;
}
.server-connection-port .port-input {
    width: 60%;
    font-size: 20px;
}
.server-connection-secure {
    width: 50%;
    margin-bottom: 30px;
    float: left;
}
.server-connection-secure p {
    margin-bottom: 10px;
}
.server-connection-secure .logged-in-forever {
    margin-left: 5px;
}
.select-server-login p {
    float: left;
    width: calc(100% - 40px);
    margin: 0;
    text-align: left;
}
/********** Logged in forever checkbox **********/
/* .logged-in-forever {
    margin: 0;
    margin-bottom: -2px;
    margin-left: -5px;
} */
.logged-in-forever input {
    margin: 0 !important;
}
.logged-in-forever label:after {
    background: #1e5d91 -webkit-linear-gradient(transparent, rgba(255, 255, 255, 1));
    background-color: #1e5d91 !important;
    box-shadow: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: -1.5px;
    margin-left: -2.5px;
}
/* .logged-in-forever label {
    padding-left: 35px !important;
} */

/* ==========================================================================
   RESPONSIVE PART
   ========================================================================== */
@media only screen and (min-width: 1400px) {
    .users-display {
        max-width: 80vw;
        margin-top: 80px;
    }
    .users-list p {
        max-width: 150px;
    }
    .users-list span {
        font-size: 20px;
    }
    .users-list img {
        width: 100px;
        height: 100px;
    }
    .users-list::-webkit-scrollbar {
        height: 8px;
    }
    .brand-heading {
        font-size: 36px;
    }
    .welcome, .welcome-home {
        font-size: 40px;
    }
    .login-error-message {
        font-size: 22px;
    }
    .login-input {
        width: 180px;
        height: 50px;
        font-size: 20px;
    }
    .login-input-button {
        height: 50px;
        min-width: 85px;
        font-size: 20px;
    }
    .logged-in-forever-span {
        font-size: 22px;
    }
    .circular {
        width: 500px;
        height: 500px;
    }
}
@media only screen and (max-width: 1250px) {
    .login-input {
        height: 38px;
    }
    .login-input-button {
        height: 38px;
    }
    .brand-heading {
        font-size: 22px;
    }
    .welcome, .welcome-home {
        font-size: 24px;
    }
    .logged-in-forever-span {
        font-size: 18px;
    }
}
@media only screen and (max-width: 1199px) {
    .users-display {
        max-width: 80vw;
    }
    .users-list {
        margin-bottom: 0;
    }
    .users-list img {
        width: 65px;
        height: 65px;
    }
    .login-server-select {
        width: 310px;
    }
    .brand-heading {
        font-size: 18px;
    }
    .welcome, .welcome-home {
        font-size: 22px;
    }
    .login-input {
        width: 140px;
        height: 35px;
    }
    .login-input-button {
        height: 35px;
    }
    .login-time {
        font-size: 37px;
    }
    .timett {
        font-size: 22px;
    }
    .temp {
        font-size: 30px;
    }
    .temp-degree {
        font-size: 24px;
    }
    .meteo img {
        height: 55px;
    }
    .circular {
        width: 450px;
        height: 450px;
    }
}
@media only screen and (max-width: 991px) {
    .login-date {
        font-size: 16px;
    }
    .login-time {
        font-size: 24px;
    }
    .temp {
        font-size: 24px;
        vertical-align: top;
        letter-spacing: -1px;
    }
    .temp-degree {
        font-size: 20px;
    }
    .timett {
        font-size: 16px;
    }
    .meteo img {
        height: 40px;
    }
    .login-server-select {
        width: 275px;
    }
    .brand-heading {
        font-size: 18px;
    }
    .welcome, .welcome-home {
        font-size: 20px;
    }
    .btn-default {
        width: 180px;
    }
    .btn-group-lg > .btn, .btn-lg {
        padding: 6px 16px;
    }
    .login-input {
        height: 29px;
        width: 130px;
        font-size: 12px;
    }
    .login-input-button {
        height: 29px;
        min-width: 55px;
        font-size: 12px;
    }
    .users-list img {
        width: 55px;
        height: 55px;
    }
    .users-list::-webkit-scrollbar {
        height: 7px;
        border: 3px solid #90969b;
        border: 3px solid rgba(144,150,155,1);
        background-color: #90969b;
        background-color: rgba(144,150,155,0);
    }
    .users-display {
        min-height: 80px;
    }
    .users-list p {
        max-width: 85px;
        margin-left: 0;
    }
    .login-add-server-icon {
        height: 32px !important;
        margin-top: -3px !important;
    }
    .logged-in-forever-span {
        font-size: 14px;
    }
}
@media only screen and (max-width: 800px) {
    .login-server-select p {
        padding-top: 3px;
    }
    .login-server-select span {
        font-size: 16px;
    }
    .login-add-server-icon {
        margin-top: 1px !important;
    }
    .login-server-select img:nth-last-child(2) {
        margin-top: 5px;
        margin-right: 5px;
    }
    .login-input {
        font-size: 13px;
    }
    .login-input-button {
        font-size: 13px;
    }
    .login-error-message {
        font-size: 16px;
    }
    .logged-in-forever-span {
        font-size: 16px;
    }
}
@media only screen and (max-width: 768px) {
    .hide-xs {
        display: none !important;
    }
    .login-header-logo {
        width: 100%;
    }
    .users-display {
        min-height: 80px;
    }
    .justify-content {
        display: -webkit-box;
        -webkit-justify-content: inherit;
        justify-content: inherit;
    }
    .large-screen {
        display: none;
    }
    .medium-screen {
        display: block;
    }
    .login-server-select {
        width: 350px;
        margin-top: 0;
    }
    .login-add-server-icon {
        margin-top: 4px !important;
        height: 35px !important;
    }
    .login-server-select span {
        font-size: 18px;
    }
    .brand-heading {
        font-size: 30px;
    }
    .welcome, .welcome-home {
        font-size: 30px;
    }
    .welcome-home span {
        font-size: 18px;
        line-height: 14px;
    }
    .btn-default {
        width: 110px;
    }
    .btn-group-lg > .btn, .btn-lg {
        padding: 2px 16px;
        font-size: 12px;
    }
    .login-input {
        font-size: 16px;
        height: 32px;
        width: 121px;
        line-height: 25px;
    }
    .login-input-button {
        height: 32px;
        font-size: 16px;
        min-width: 70px;
        border-top: 1px solid #20252e;
    }
    .users-display {
        margin-top: 40px;
    }
    .users-list p {
        text-align: center;
        max-width: 130px;
    }
    .users-list span {
        font-size: 20px;
    }
    .users-list img {
        width: 70px;
        height: 70px;
    }
    .login-error-message {
        font-size: 18px;
    }
    .login-server-select p {
        padding-top: 2px;
    }
    .logged-in-forever-span {
        font-size: 18px;
    }
    .login-server-select .select-option-name {
        min-height: 40px;
        height: auto;
        padding: 0 10px;
        line-height: 37px;
    }
    .login-server-select img:nth-last-child(1) {
        margin-right: 0;
    }
    .login-server-select img:nth-last-child(2) {
        height: 25px;
        margin-top: 9px;
    }
    .server-connection-port .port-input {
        font-size: 18px;
    }
}
@media only screen and (max-width: 600px) {
    .login-add-server-icon {
        margin-top: 6px !important;
    }
}
@media only screen and (min-width: 250px) and (max-width: 450px) {
    .circular {
        width: 300px;
        height: 300px;
    }
    .medium-screen {
        display: none;
    }
    .small-screen {
        display: block;
    }
    .login-input {
        width: 120px;
        font-size: 14px;
    }
    .login-input-button {
        min-width: 55px;
        font-size: 14px;
    }
    .login-server-select {
        width: 280px;
        margin-bottom: 15px;
    }
    .login-server-select span {
        font-size: 16px;
    }
    .login-add-server-icon {
        height: 35px !important;
        margin-top: 3px !important;
    }
    .login-server-select img:nth-last-child(2) {
        margin-right: 0;
        height: 22px;
    }
    .login-error-message {
        font-size: 16px;
    }
    .brand-heading {
        font-size: 22px;
    }
    .welcome, .welcome-home {
        font-size: 22px;
    }
    .users-list img {
        width: 50px;
        height: 50px;
    }
    .users-list span {
        font-size: 18px;
    }
    .users-display {
        margin-top: 25px;
    }
    .login-server-select p {
        padding: 3px 10px 0 10px !important;
    }
    .logged-in-forever-span {
        font-size: 16px;
    }
    .users-list p {
        min-width: 100px;
    }
    .server-connection-port {
        width: 100%;
        margin-bottom: 15px;
        float: none;
    }
    .server-connection-port p {
        margin-bottom: 0;
    }
    .server-connection-port .port-input {
        width: 50%;
        font-size: 16px;
    }
    .server-connection-secure {
        width: 100%;
        margin-bottom: 35px;
        float: none;
    }
    .server-connection-secure p {
        margin: 0 5px 0 0;
        float: left;
    }
    .server-connection-secure .logged-in-forever {
        margin-left: 5px;
        margin-top: 5px;
    }
}
@media only screen and (max-device-height: 450px) and (orientation: landscape) {
    .users-display {
        margin-top: 20px;
    }
    .login-server-select {
        margin-bottom: 20px;
    }
}
@media only screen and (min-width: 800px) and (max-device-height: 650px) {
    .circular {
        width: 320px;
        height: 320px;
    }
    .users-display {
        min-height: 80px;
    }
    .users-display {
        margin-top: 40px;
    }
    .users-list p {
        text-align: center;
        max-width: 130px;
    }
    .users-list span {
        font-size: 20px;
    }
    .users-list img {
        width: 70px;
        height: 70px;
    }
}
@media only screen and (min-height: 750px) and (max-height: 860px) {
    .circular {
        width: 400px;
        height: 400px;
    }
}
@media only screen and (min-height: 650px) and (max-height: 750px) {
    .circular {
        width: 360px;
        height: 360px;
    }
    .users-display {
        min-height: 80px;
    }
    .users-display {
        margin-top: 40px;
    }
    .users-list p {
        text-align: center;
        max-width: 130px;
    }
    .users-list span {
        font-size: 20px;
    }
    .users-list img {
        width: 70px;
        height: 70px;
    }
}
@media only screen and (min-height: 500px) and (max-height: 650px) {
    .circular {
        width: 280px;
        height: 280px;
    }
    .users-display {
        min-height: 60px;
    }
    .users-list p {
        text-align: center;
        max-width: 110px;
    }
    .users-list span {
        font-size: 18px;
    }
    .users-list img {
        width: 50px;
        height: 50px;
    }
}