*{
    font-family:  "InterUI-Medium", Helvetica, Arial, serif;
}

body {
    margin:0;
    padding:0;
    position: relative;
    font-family: Avenir-Roman;
    font-size: 16px;
    color: rgb(128, 128, 128, 0.5);
}

i {
    position: absolute;
    margin-top: 10px;
    margin-left: -20px;
    cursor: pointer;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.left {
    height: 100vh;
    width: 45%;
}

.right {
    height: 100vh;
    width: 55%;
    text-align: center;
}

.container {
    padding: 40px;
}

.login-box {
    width: 500px;
    margin: auto;
    margin-top: 8%;
    max-width: 100%;
}

.user-box {
    position: relative;
}
  
.login-box .user-box input {
    width: 100%;
    padding: 0px 14px;
    color: #252525 !important;
    margin-bottom: 14px;
    border: 1px solid rgba(221, 221, 221, 1.0);
    outline: none;
    height: 52px;
    font-size: 15px;
    border-radius: 30px !important;
    display: block;
    box-sizing: border-box;

}

/*.user-box label {*/
/*    position: absolute;*/
/*    top:0;*/
/*    left: 0;*/
/*    pointer-events: none;*/
/*    transition: .5s;*/
/*}*/
/*  */
/*.login-box .user-box input:focus ~ label,*/
/*.login-box .user-box input:valid ~ label {*/
/*    top: -22px;*/
/*    color: red;*/

/*}*/

#togglePassword{
    position: absolute;
    top: 8px;
    opacity: 0.5;
    border: none;
    right: 20px;
}

.img-responsive {
    max-width: 100%;
    max-height: 100%;
}

.img-mobile {
   display: none;
}

.responsive-logo {
    margin-top: 8%;
    width: 30%;
}

.button {
    margin-top: 60px;
    width: 100%;
    height: 57px;
    border-radius: 40px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
    color: rgba(255, 255, 255);
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    padding: 12px 14px;
    max-width: 100%;
    background-color: rgb(237, 28, 36);
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    border-style: none;
    margin-top: 60px;
    text-transform: uppercase;
}

.button:active {
    opacity: .5;
}

.remember-container {
  display: flex;
}

/* Modification dans label checkbox */
.input-label{
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    color: rgba(0, 0, 0, 1.0);
    position: absolute;
    margin-top: 6px;
}

/* Modification dans input checkbox */
input[type= "checkbox"]{
    width: 18px;
    height: 18px;
    padding: unset;
    position: relative;
    display: inline-block;
    border-radius: 3px;
    border:1px solid #db2a2a;
    -webkit-appearance:none;
    -webkit-transition:box-shadow 200ms;
}

input[type="checkbox"] {
    -webkit-border-radius:2px;
    border-radius:2px;
}

input[type="checkbox"]:not(:disabled):hover {
    border-color:#db2a2a;
}

input[type="checkbox"]:active:not(:disabled) {
    border-color:#db2a2a;
}

input[type="checkbox"]:focus {
    outline:none;
}

input[type="checkbox"]:checked {
    border-color:#db2a2a;
    background-color:#db2a2a;
}

input[type="checkbox"]:checked:before {
    content:'';
    display:block;
    width:4px;
    height:8px;
    border:solid #fff;
    border-width:0 2px 2px 0;
    -webkit-transform:rotate(45deg);
    transform:rotate(45deg);
    margin-left:4px;
    margin-top:1px;
}

input:disabled {
    opacity:.6;
    box-shadow:none;
    background:rgba(0, 0, 0, 0.1);
    box-shadow:none;
}

input:disabled + label {
    opacity:.6;
    cursor:default;
    -webkit-user-select:none;
}

.footer {
    position: fixed;
    left: 64%;
    bottom: 5px;
}

.message-container {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    height: 31px;
}

.alert {
    box-sizing: border-box;
    margin: auto;
    margin-top: 8px;
    border-radius: 0;
}
.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 18px;
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.alert {
    margin-top: 5px;
    border-radius: 10px;
    max-width: 100%;
}

.alert-danger, .alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert h5 {
    margin-bottom: 8px;
}

.alert {
    width: 420px;
}

.hidden {
    display: none;
    visibility: hidden;
}

@media (min-width: 1200px) {
    .alert,
    .login-panel {
        width: 420px;
    }
}


@media only screen and (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .left, .right{
      width: 100%;
      height: unset;
    }

    .img-desktop {
       display: none;
    }

    .img-mobile {
        display: block;
        min-width: 100%;
    }

    .responsive-logo {
        display: block;
        margin: auto;
        width: 70%;
    }

    .login-box {
        width: 100%;
        margin: auto;
        margin-top: 8%;
    }

    .button {
        width: 100%;
        height: 100%;
        font-size: 16px;
    }

    .footer {
        position: fixed;
        font-size: 9px;
        left: 0;
        right: 0;
    }

    .alert,
    .login-panel {
        width: 100%;
    }
}