﻿/* %%%% WELCOME MD MANAGMENT %%%% */

.welcome-container {
    width: 100%;
    min-width: 1240px;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    height: 1000px;
}

.welcome-background {
    z-index: -1;
    background-image: url(https://www.soft4doc.com/Images/Login/pikb29.jpg);
    filter: grayscale(50%);
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.welcome-content {
    z-index: 0;
    height: 1000px;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    display: grid;
    grid-template-rows: 300px 1fr;
    grid-template-columns: 1fr auto auto 1fr;
    background-color: rgba(255,255,255,0.6);
    /*background-image: linear-gradient(315deg, rgba(6,188,251,0.7) 0, rgba(72,132,238,0.7) 74%);*/
}

.we-content-logo {
    text-align: center;
    padding: 100px 0px 20px 0px;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 5;
}



.we-content-institution {
    text-align: center;
    width: 700px;
    position: relative;
    top: -120px;
    padding-left: 100px;
    padding-right: 50px;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 4;
}

.institution-content {
    margin-left: auto;
    margin-right: auto;
    height: auto;
    width: auto;
    display: grid;
    grid-template-rows: 125px auto auto;
    grid-template-columns: 1fr;
    filter: drop-shadow(0 0 0.75rem #909090);
}

.ins-welcome {
    text-align: center;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    background-color: transparent;
}

.ins-name {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
    background-image: url(../Images/Home/4853433-2-min.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /*background-color: #06bcfb;
    background-image: linear-gradient(315deg,#06bcfb 0,#4884ee 74%);*/
    padding-top: 35px;
    padding-bottom: 25px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.ins-form {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
    background-color: white;
    height: 90px;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.form-container-manager {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.form-container-user {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
}

.form-manager {
    padding: 25px 50px 50px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px 75px 100px 10px;
}

.f-manager-password {
    padding: 20px 20px 20px 0px;
    text-align: left;
    font-size: 18px;
    color: #468AFF;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 3;
}

.f-manager-txtb-password {
    padding-right: 20px;
    text-align: left;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-manager-login {
    padding-left: 20px;
    text-align: left;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
}

.f-manager-info {
    text-align: left;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
}

.f-manager-passforgot {
    padding-right: 10px;
    text-align: left;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-manager-list {
    padding-left: 10px;
    text-align: left;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 3;
}

.form-user {
    padding: 25px 50px 50px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px 50px 50px 50px 85px 10px;
}

.f-user-list {
    padding: 20px 20px 20px 0px;
    text-align: left;
    font-size: 18px;
    color: #468AFF;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-user-list-ddl {
    padding-right: 5px;
    text-align: left;
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-user-key {
    padding: 20px 20px 20px 0px;
    text-align: left;
    font-size: 18px;
    color: #468AFF;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-user-txtb-key {
    padding-right: 20px;
    text-align: left;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 2;
}

.f-user-login {
    padding-left: 20px;
    text-align: left;
    grid-row-start: 4;
    grid-row-end: 5;
    grid-column-start: 2;
    grid-column-end: 3;
}

.f-user-info {
    padding-top: 15px;
    text-align: left;
    grid-row-start: 5;
    grid-row-end: 6;
    grid-column-start: 1;
    grid-column-end: 3;
}

.f-user-passforgot {
    text-align: center;
    grid-row-start: 6;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 3;
}

.lbl-message {
    display: inline-block;
    line-height: 20px;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px;
}

.chk-welcome {
    margin-top: 4px;
}

    .chk-welcome label {
        margin-top: -4px;
        margin-left: 5px;
        color: gray;
        cursor: pointer;
        font-size: 12px;
    }

    .chk-welcome input[type=checkbox] {
        cursor: pointer;
    }

.form-textbox {
    color: gray;
    font-size: 14px;
    letter-spacing: -1px;
    font-family: 'Spartan', sans-serif;
    background-color: transparent;
    border: 2px solid gray;
    width: 100%;
    padding: 13px 5px 10px 5px;
    border-radius: 10px;
    text-align: left;
    outline: none;
}

    .form-textbox::placeholder {
        margin-left: 10px;
        color: silver;
        text-align: left;
    }

    .form-textbox:focus {
        outline-width: 0;
        box-shadow: 0px 0px 15px 0px lightgray;
    }

    .form-textbox::-webkit-input-placeholder {
        text-align: left;
        color: silver;
    }

    .form-textbox:-moz-placeholder { /* Firefox 18- */
        text-align: left;
        color: silver;
    }

    .form-textbox::-moz-placeholder { /* Firefox 19+ */
        text-align: left;
        color: silver;
    }

    .form-textbox:-ms-input-placeholder {
        text-align: left;
        color: silver;
    }


/* Fond d'écran de la page */
.we-background-anim {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    z-index: 1;
    width: 100%;
    min-width: 1240px;
    height: 900px;
    background: linear-gradient(-45deg, rgba(231,60,126,0.5), rgba(140,198,62,0.5), rgba(231,60,126,0.5), rgba(35,166,213,0.5), rgba(35,213,171,0.5));
    background-size: 300% 300%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Mise en forme espace avec les panneaux d'informations générales */
.we-background-fixed {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    z-index: -1;
    height: 900px;
    width: 100%;
    min-width: 1240px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-image: url(../Images/MD_Management/Banner_Welcome_City_2.jpg);
}

/* %%% CONTENU PAGE %%% */

.we-main-content {
    padding-top: 100px;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    z-index: 2;
    width: auto;
    height: 900px;
    text-align: center;
}

.welcome_div_img_MD {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /*background-color: rgba(128,128,128,0.4);*/
}

/* Mise en forme welcome texte */
.welcome_a_md {
    color: whitesmoke;
    font-family: 'Spartan', sans-serif;
    letter-spacing: 0px;
    font-weight: 400;
    font-size: 14px;
}

/* Mise en forme logo */
.welcome_img_md {
    height: 30px;
    /*animation: fadeInAnimation ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;*/
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Mise en forme nom utilisateur */
.welcome_lbl_user {
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 1.0px;
}

/* Mise en forme nom utilisateur */
.welcome_lbl_department {
    padding-top: 10px;
    color: whitesmoke;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.0px;
}

/* Mise en forme image utilisateur */
.welcome_img_user {
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    height: 125px;
    border-radius: 10%;
    border: solid 8px white;
    box-shadow: 0px 0px 10px 0px gray;
}

/* Mise en forme bouton */
.welcome_btn {
    border: none;
    font-family: 'Spartan', sans-serif;
    font-size: 11px;
    color: inherit;
    background: none;
    cursor: pointer;
    padding: 16px 80px 14px 80px;
    display: inline-block;
    margin: 5px 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 400px;
}

    .welcome_btn:after {
        content: '';
        position: absolute;
        z-index: -1;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }

    /* Pseudo elements for icons */
    .welcome_btn:before {
        font-family: 'FontAwesome';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        position: relative;
        -webkit-font-smoothing: antialiased;
    }

/* Icon separator */

.btn-sep {
    padding: 15px 60px 15px 105px;
}

    .btn-sep:before {
        background: rgba(0,0,0,0.15);
    }

/* Button 1 */
.welcome-btn-1 {
    margin-top: 30px;
    background: #8CC63E;
    color: #fff;
}

    .welcome-btn-1:hover {
        background: #7eb237;
    }

    .welcome-btn-1:active {
        background: #7eb237;
        top: 2px;
    }

    .welcome-btn-1:before {
        position: absolute;
        height: 100%;
        left: 0;
        top: 0;
        line-height: 3;
        font-size: 140%;
        width: 60px;
    }

/* Button 2 */
.welcome-btn-2 {
    background: #4199c2;
    color: #fff;
}

    .welcome-btn-2:hover {
        background: #3a88ac;
    }

    .welcome-btn-2:active {
        background: #3a88ac;
        top: 2px;
    }

    .welcome-btn-2:before {
        position: absolute;
        height: 100%;
        left: 0;
        top: 0;
        line-height: 3;
        font-size: 140%;
        width: 60px;
    }


/* Icons */

.icon-hospital:before {
    font-family: "Font Awesome 5 Free";
    content: "\f469";
}

.icon-staff:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0f0";
}

/* Mise en forme bouton de retour */
.welcome_btn_back {
    font-family: 'Spartan', sans-serif;
    font-weight: 400;
    letter-spacing: -0.5px;
    font-size: 12px;
    color: white;
    border: none;
    background-color: transparent;
    text-decoration: underline;
    cursor: pointer;
}

/* %%% STAFF MEMBER %%% */

/* Mise en forme panel login */
.welcome_login_staff_panel {
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    height: 200px;
    width: 450px;
    margin-right: auto;
    margin-left: auto;
    background-color: #E8E8E8;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 0px 0px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

/* Mise en forme titre */
.welcome_login_staff_panel_title {
    color: #49AAD8;
    font-size: 14px;
}

/* Mise en forme dropdownlist */
.welcome_login_staff_ddl_user {
    font-size: 12px;
    color: gray;
    width: 330px;
    margin: 10px 0px 10px 10px;
    height: 30px;
    border-color: lightgray;
    cursor: pointer;
}

    .welcome_login_staff_ddl_user:hover {
        cursor: pointer;
    }

/* Mise en forme textbox password */
.welcome_login_staff_txtb_password {
    color: gray;
    font-size: 14px;
    width: 330px;
    margin: 10px 0px 10px 10px;
    height: 28px;
    border: 1px solid lightgray;
}

    .welcome_login_staff_txtb_password::placeholder {
        color: lightgray;
        font-size: 12px;
        padding-left: 5px;
    }

welcome_login_staff_txtb_password:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: lightgray;
    font-size: 12px;
    padding-left: 5px;
}

welcome_login_staff_txtb_password::-ms-input-placeholder { /* Microsoft Edge */
    color: lightgray;
    font-size: 12px;
    padding-left: 5px;
}

/* Mise en forme label mdp oublié */
.welcome_login_staff_label_info_forgot_password {
    font-family: 'Spartan', sans-serif;
    letter-spacing: -0.5px;
    font-weight: 400;
    font-size: 12px;
    color: gray;
    margin-left: auto;
    margin-right: auto;
}


/* Mise en forme bouton login */
.welcome_login_staff_btn {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    width: 240px;
    color: white;
    background-color: #49AAD8;
    border: 2px solid #49AAD8;
    border-radius: 20px;
}

    .welcome_login_staff_btn:hover {
        transition: ease 0.5s;
        cursor: pointer;
        border-radius: 10px;
        color: #49AAD8;
        background-color: transparent;
        border: 2px solid #49AAD8;
    }

.welcome_login_staff_password_btn {
    font-family: 'Spartan', sans-serif;
    letter-spacing: -0.5px;
    font-weight: 400;
    margin-bottom: 10px;
    color: gray;
    border: none;
    background-color: transparent;
}

    .welcome_login_staff_password_btn:hover {
        color: #49AAD8;
        transition: ease 0.5s;
        text-decoration: underline;
        cursor: pointer;
    }

/* Mise en forme message d'info */
.welcome_login_staff_label_info {
    padding-bottom: 10px;
    color: crimson;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/* %%% SERVICE MANAGER */

/* Mise en forme panel login */
.welcome_login_admin_panel {
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    height: 150px;
    width: 450px;
    margin-right: auto;
    margin-left: auto;
    background-color: #E8E8E8;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 0px 0px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

/* Mise en forme titre */
.welcome_login_admin_panel_title {
    color: #8CC63E;
    font-size: 14px;
}

/* Mise en forme bouton login */
.welcome_login_admin_btn {
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    letter-spacing: 0px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 3px;
    height: 40px;
    width: 240px;
    color: white;
    background-color: #8CC63E;
    border: 2px solid #8CC63E;
    border-radius: 20px;
}

    .welcome_login_admin_btn:hover {
        transition: ease 0.5s;
        cursor: pointer;
        border-radius: 10px;
        color: #8CC63E;
        background-color: transparent;
        border: 2px solid #8CC63E;
    }

/* %%% LOADER %%% */

.welcome-loader {
    display: none;
    z-index: 10;
    background-color: rgba(255,255,255,1.0);
    width: 100%;
    height: 100%;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.loader {
    color: #468AFF;
    font-size: 20px;
    margin: 150px auto 100px auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load4 {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

@keyframes load4 {
    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

.loader-title {
    margin-top: 20px;
    font-size: 32px;
    color: #468AFF;
}

.loader-text {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #686868;
}

/* %%% TABS %%% */


.ins-form .form-manager {
    display: none;
}

.ins-form .form-user {
    display: none;
}

.ins-form .form-forgot-manager {
    display: none;
}

.ins-form .form-forgot-user {
    display: none;
}

.ins-form input[type=radio] {
    display: none;
}

.ins-form .label-tab {
    text-transform: uppercase;
    padding: 20px 0px;
    display: inline-block;
    width: 49.5%;
    background-color: #E8E8E8;
    color: silver;
}

    .ins-form .label-tab:hover {
        color: #888;
        cursor: pointer;
    }

.ins-form input[type=radio]:checked + label {
    color: #686868;
    background: white;
}

.ins-form #tab_manager:checked ~ #manager,
.ins-form #tab_user:checked ~ #user {
    display: grid;
}

.shake-effect {
    animation: shake 0.5s;
    -webkit-animation: shake 0.5s;
    -moz-animation: shake 0.5s;
    -o-animation: shake 0.5s;
    -ms-animation: shake 0.5s;
    animation-iteration-count: 3;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

/* %%% ANIMATED CLOUDS %%% */
/*Time to finalise the cloud shape*/
.cloud {
    width: 200px;
    height: 60px;
    background: #fff;
    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius: 200px;
    position: relative;
}

    .cloud:before, .cloud:after {
        content: '';
        position: absolute;
        background: #fff;
        width: 100px;
        height: 80px;
        position: absolute;
        top: -15px;
        left: 10px;
        border-radius: 100px;
        -moz-border-radius: 100px;
        -webkit-border-radius: 100px;
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
        -moz-transform: rotate(30deg);
    }

    .cloud:after {
        width: 120px;
        height: 120px;
        top: -55px;
        left: auto;
        right: 15px;
    }

/*Time to animate*/
.x1 {
    -webkit-animation: moveclouds 35s linear infinite;
    -moz-animation: moveclouds 35s linear infinite;
    -o-animation: moveclouds 35s linear infinite;
    opacity: 0.6;
}

/*variable speed, opacity, and position of clouds for realistic effect*/
.x2 {
    left: 200px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.4; /*opacity proportional to the size*/
    /*Speed will also be proportional to the size and opacity*/
    /*More the speed. Less the time in 's' = seconds*/
    -webkit-animation: moveclouds 45s linear infinite;
    -moz-animation: moveclouds 45s linear infinite;
    -o-animation: moveclouds 45s linear infinite;
}

.x3 {
    left: -250px;
    top: -200px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.6; /*opacity proportional to the size*/
    -webkit-animation: moveclouds 40s linear infinite;
    -moz-animation: moveclouds 40s linear infinite;
    -o-animation: moveclouds 40s linear infinite;
}

.x4 {
    left: 470px;
    top: -250px;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
    opacity: 0.55; /*opacity proportional to the size*/
    -webkit-animation: moveclouds 38s linear infinite;
    -moz-animation: moveclouds 38s linear infinite;
    -o-animation: moveclouds 38s linear infinite;
}

.x5 {
    left: -150px;
    top: -150px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.6; /*opacity proportional to the size*/
    -webkit-animation: moveclouds 40s linear infinite;
    -moz-animation: moveclouds 40s linear infinite;
    -o-animation: moveclouds 40s linear infinite;
}

@-webkit-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }

    100% {
        margin-left: -1000px;
    }
}

@-moz-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }

    100% {
        margin-left: -1000px;
    }
}

@-o-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }

    100% {
        margin-left: -1000px;
    }
}

/* %%% BOUTONS %%% */

.button-log {
    font-family: 'Spartan', sans-serif;
    letter-spacing: -0.5px;
    font-size: 18px;
    color: white;
    font-weight: 700;
    position: relative;
    top: 14px;
    bottom: 14px;
    padding: 20px 24px;
    width: 93%;
    border: none;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
}

.button-log-manager:hover {
    background: #703B75;
}

.button-log-manager:active {
    background: #703B75;
}

.button-log-user:hover {
    background: #2E9D53;
}

.button-log-user:active {
    background: #2E9D53;
}

.button-log-manager {
    background: #8A548E;
    margin-left: 15px;
}

.button-log-user {
    background: #3AC568;
    margin-right: 15px;
}

.button-log-text {
    transition: all 0.2s;
}

    .button-log-text i {
        transition: all 0.2s;
        margin-right: 5px;
    }


.button--loading .button-log-text {
    visibility: hidden;
    opacity: 0;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


.button-new-customer {
    font-family: 'Spartan', sans-serif;
    letter-spacing: -0.5px;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    top: 14px;
    bottom: 14px;
    padding: 10px 14px;
    width: auto;
    border: none;
    outline: none;
    border-radius: 2px;
    cursor: pointer;
    background: #FFD700;
    color: #1e1e1e;
}

    .button-new-customer:hover {
        background: #FFB600;
    }