body{              
    background-size: cover !important;
    direction: ltr;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .55; 
    z-index: -1;
}

#background:before {
    content:'';
    position:absolute;
    left:0; top:0;
    width:100%; height:100%;
    opacity: .55; 
    z-index: 0;
}

#background.darkened:before{
    background-image: -webkit-gradient(linear,left top, right bottom,from(#193149),to(#193149));
    background-image: -webkit-linear-gradient(top left,#193149,#193149);
    background-image: -o-linear-gradient(top left,#193149,#193149);
    background-image: linear-gradient(to bottom right,#193149,#193149);
}

#background {
    width: 100%; 
    height: 100%; 
    position: fixed; 
    left: 0px; 
    top: 0px; 
    z-index: -1;
}

input {
  filter: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition-delay: 9999s !important;
    -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important;
}

/* Change Autocomplete styles in Chrome*/

.container  {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.container .logo {
    position: absolute;
    left:10%;
    top: 10%;

    -webkit-animation-name: element-loading;
    animation-name: element-loading;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.container .logo img{
    height: 66px;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

.login-box{
    background-color: #FFF;
    width: 100%;
    max-width: 380px;
    position: absolute;
    left:65%;
    top: 55%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);

    padding: 60px;
}

.login-box h3{
    font-family: 'Source Sans Pro';
    color:#333;
    font-size: 24px;
    font-weight: bold;
    line-height: 8px;
    -webkit-animation-name: element-loading;
    animation-name: element-loading;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.login-box h2{
    font-family: 'Source Sans Pro';
    color:var(--main-color);
    font-size: 28px;
    font-weight: 600;
    line-height: 8px;
    -webkit-animation-name: element-loading;
    animation-name: element-loading;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color:rgba(255,255,255,0.7);
    font-weight: 300;
}
::-moz-placeholder { /* Firefox 19+ */
    color:rgba(255,255,255,0.7);
}
:-ms-input-placeholder { /* IE 10+ */
    color:rgba(255,255,255,0.7);
}
:-moz-placeholder { /* Firefox 18- */
    color:rgba(255,255,255,0.7);
}

/* The animation code */
@-webkit-keyframes element-loading {
    from {-webkit-transform: translateY(20%);transform: translateY(20%);opacity: 0;}
    to {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 1;}
}
@keyframes element-loading {
    from {-webkit-transform: translateY(20%);transform: translateY(20%);opacity: 0;}
    to {-webkit-transform: translateY(0%);transform: translateY(0%);opacity: 1;}
}

.login-box .custom-cbox{
    width:auto;
    font-weight: bold;
    color: #333;
    margin-top: 12px;
    font-size: 16px;
    height: 40px;
    position: relative;
}

.login-box .custom-cbox .ui-chkbox-box {
    border: 1px solid var(--main-color);
    width: 16px;
    height: 16px;
}

.login-box .custom-cbox .ui-selectbooleancheckbox{
    margin-right: 12px;
}

.login-box .custom-cbox > label{
    position: absolute;
    top: 1px;
    width: max-content;
}

body .ui-growl .ui-growl-item-container.ui-growl-error {
    background-color: rgba(244, 67, 54,0.7) !important;
    border-color: #F44336 !important;
    color: #ffffff !important;
    border-radius: 100px;
}

.ui-growl-title {
    padding: 0 0 0px 0 !important;
}

body .ui-growl {
    top: 26px !important;
}

.ui-growl-icon-close {
    display:none !important;
}

.dark-logo{
    -webkit-filter: drop-shadow(0px 0px 6px #DDD);
    filter: drop-shadow(0px 0px 6px #DDD);
}

/* Mobile App Buttons */

.mobile-app-buttons {
    margin: 0px;
    width:100%;
}  

.mobile-app-buttons ul{
    list-style-type: none; /*to remove bullets*/
    display: flex;
    align-items: stretch; /* Default */
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}  

.mobile-app-buttons ul.shorted{
    width: 50%;
}

.mobile-app-buttons ul li{
    display: block;
    flex: 0 1 auto; /* Default */
    list-style-type: none;
    list-style:none;
}  

.mobile-app-buttons ul li a{
    height:68px;
    width:68px;
    display:flex;
    justify-content:center;
    align-items:center;

    transition:.3s all ease-in-out;
    animation: 0.8s element-loading;
}

.mobile-app-buttons ul li a svg{
    width:25px;
    height:35px;
}

.mobile-app-buttons ul li.app-normal a{
    background:var(--main-color);
    border:1px solid var(--main-color-darker-strong);
}

.mobile-app-buttons ul li.app-normal a:hover{
    background:var(--main-color-darker-strong);
}

.mobile-app-buttons ul li.app-normal a svg{
    fill:#FFF;
}

.mobile-app-buttons ul li.app-normal a:hover svg{
    fill:#FFF;
}

.mobile-app-buttons ul li.app-light a{
    background:#FFF;
    border:1px solid var(--main-color);
}

.mobile-app-buttons ul li.app-light a:hover{
    background:#DDD;
}

.mobile-app-buttons ul li.app-light a svg{
    fill:#333;
}

.mobile-app-buttons ul li.app-light a:hover svg{
    fill:#333;
}

.tooltip .tooltiptext {
    visibility: hidden;
    opacity: 0;

}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%,0%);
}
.tooltip{
    position:relative;
}

.tooltiptext {
    transform: translate(-50%,20%);
    border-bottom: 3px solid var(--main-color-darker-strong);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    margin-left: 50%;
    left: 0;
    bottom: 55px;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 12px;
    background: rgba(34, 34, 34,0.7);
    color: #FFF;
    font-size:15px;
    border-radius: 3px 3px 0 0;
    transition: .3s all ease-in-out;
    z-index: 10000;
}

.tooltiptext::after {
    margin-top: 3px;
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--main-color-darker-strong) transparent transparent transparent;
}

.input-group { 
    position: relative; 
    margin-bottom: 45px; 
}

.input-group input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    -webkit-appearance: none;
    display: block;
    background: #fff;
    color: #636363;
    width: -webkit-fill-available;
    width: -moz-available;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #757575;
}

.input-group input:focus { outline: none; }


/* Label */

.input-group label {
    color: #999; 
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: all 0.2s ease;
}


/* active */
 
.input-group input:focus ~ label, .input-group input.used ~ label, .input-group input:valid ~ label {
    top: -20px;
    left: -10px!important;
    transform: scale(.75); 
    /* font-size: 14px; */
    color: #333;
    font-weight: bold;
}

.input-group input:-webkit-autofill ~ label{
    top: -20px;
    left: -10px!important;
    transform: scale(.75); 
    /* font-size: 14px; */
    color: #333;
    font-weight: bold;
}

/* Underline */

.input-group .bar {
    position: relative;
    display: block;
    width: 100%;
    /*height: 2px;
    background: #BBB; 
    bottom: 0px; */
}

.input-group .bar:before, .bar:after {
    content: '';
    height: 2px; 
    width: 0;
    bottom: 1px; 
    position: absolute;
    background: var(--main-color); 
    transition: all 0.2s ease;
}

.input-group .bar:before { left: 50%; }

.input-group .bar:after { right: 50%; }


/* active */

.input-group input:focus ~ .bar:before, .input-group input:focus ~ .bar:after { width: 50%; }


/* Highlight */

.input-group .highlight {
    position: absolute;
    height: 60%; 
    width: 100px; 
    top: 25%; 
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}


/* active */

.input-group input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}


/* Animations */

@keyframes inputHighlighter {
    from { background: var(--main-color); }
    to 	{ width: 0; background: transparent; }
}


/* Button */

.login-button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    margin: .3em 0 1em 0;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--main-color-darker-strong);
    cursor: pointer;
    transition: all 0.15s ease;

    width: 150px;
    height: 40px;

    background: var(--main-color);
    text-shadow: 1px 1px 0 rgba(39, 110, 204, .5);
}
.login-button:focus { outline: 0; }


.login-button:hover { background: var(--main-color-darker-strong); }


.mobile-icons-bar{
    margin: 46px 0;
    width: 100%;
    height:1px;
    background: #DDD;
    content: '';
    display: block;
}

#remember-login-panel {
    height: 50px;
}

#remember-me-panel {
    float: left;
}

#login-btn-panel {
    float: right;
}

@media screen and (max-width: 800px) {
    .login-box{
        max-width: 300px;
        padding: 30px;
    }
}

@media screen and (max-width: 556px) {
    body .ui-growl {
        top: initial !important;
        bottom:10px;
        left:50%;
        transform: translateX(-50%);
        right:initial !important;
    }
    .login-box .submit-button{
        font-size:18px;
        font-weight: 500;
        width: 130px;
        height: 38px;
        line-height: 38px;
    }
    .login-box{
        max-width: 260px;
        left:50%;
        top: 50%;
        padding: 30px;
    }

    .mobile-app-buttons ul li a{
        height:46px;
        width:46px;
    }

    .login-box h3{
        font-size: 22px;
    }
    .login-box h2{
        font-size: 24px;
    }

    .login-button {
        width: 120px;
        font-size: 14px;
        padding: 10px 18px;
    }

    .mobile-app-buttons ul li a svg{
        width:20px;
        height:28px;
    }

    .login-box .custom-cbox{
        font-size: 14px;
    }

    .login-box .custom-cbox .ui-selectbooleancheckbox{
        margin-right: 8px;
    }

    .login-box .custom-cbox > label{
        top: 2px;
    }

    .container .logo {
        left:50%;
        top: 2%;
        -webkit-transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        transform: translate(-50%,0);

        -webkit-animation-name: none;
        animation-name: none;
        -webkit-animation-duration: none;
        animation-duration: none;
    }

    .container .logo img{
        height: 40px;
    }
    .mobile-icons-bar{
        margin: 30px 0;
    }
}

@media screen and (max-width: 321px) {
    .login-box{
        max-width: 200px;
        left:50%;
        top: 50%;
        padding: 20px;
    }

    .mobile-app-buttons ul li a{
        height:40px;
        width:40px;
    }

    .login-box h3{
        font-size: 18px;
    }
    .login-box h2{
        font-size: 20px;
    }

    .login-button {
        width: 80px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .mobile-app-buttons ul li a svg{
        width:16px;
        height:24px;
    }


    .login-box .custom-cbox{
        font-size: 12px;
    }

    .login-box .custom-cbox .ui-selectbooleancheckbox{
        margin-right: 6px;
    }

    .login-box .custom-cbox > label{
        top: 3px;
    }

    .container .logo {
        left:50%;
        top: 1%;
        -webkit-transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        transform: translate(-50%,0);

        -webkit-animation-name: none;
        animation-name: none;
        -webkit-animation-duration: none;
        animation-duration: none;
    }

    .container .logo img{
        height: 32px;
    }

    .mobile-icons-bar{
        margin: 20px 0;
    }
}
