﻿@import url('../../../../css/fonts/roboto/style.css');

html {
    height: 100%;
}

body {
    margin: 0;
    background-color: #2e2e2e;
    height: 100%;
    position: relative;
    height: 100%;
    font-family: Roboto, -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
        Arial, sans-serif;
}

input[type='text'],
input[type='password'] {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

input[type='text']::placeholder,
input[type='password']::placeholder {
    text-transform: uppercase;
    color: #afafaf;
}

input[type='button'] {
    background-color: black;
    color: white;
}

input[type='button']:hover {
    border-color: rgb(204, 204, 204);
}

a img {
    border: none;
}
a {
    text-decoration: none;
}

#login {
    z-index: 999;
    height: 100%;
    padding: 0;
    text-align: center;
}

.login {
    margin-top: 0px;
}

.picturesMain {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.picturesBottom {
    margin-top: 5px;
    width: 720px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    text-align: center;
    overflow: hidden;
}

.adress {
    width: 50%;
}

.slickMain {
    width: 100%;
    max-height: 100%;
    overflow: hidden;
}
.slickMain img {
    min-height: 1000px;
    width: auto;
}

.slickBottom {
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.slickBottom img {
    width: 630px;
}

.slider {
    width: 100%;
    margin: 100px auto;
}

.slick-slide {
    margin: 0px 0px;
}

.slick-slide img {
    max-height: 100%;
    width: 100%;
    display: block;
    position: center;
    overflow: hidden;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}

.slick-slide {
    transition: all ease-in-out 0.3s;
    opacity: 0;
}

.slick-active {
    opacity: 0.5;
}

.slick-current {
    opacity: 1;
}

.slick-dots li button::before {
    font-size: 12px;
    content: '•';
}

.slick-dots {
    background-image: radial-gradient(circle at center, silver, #0000);
    bottom: -35px;
}

#langa {
    position: fixed;
    top: 0;
    right: 20px;
}

#error {
    background-color: rgba(255, 0, 0, 0.6);
    color: #fff !important;
    text-align: center;
    border-radius: 3px;
    padding: 15px !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

#login button {
    position: relative;
}

#login span.loader {
    position: absolute;
    right: 6px;
    top: 5px;
    height: 18px;
    width: 30px;
    background: url(./../images/spinner-1s-35px-white-blue.gif);
    background-position: center;
    display: none;
}

#login[disabled] {
    cursor: not-allowed;
}

#login[disabled] input,
#login[disabled] button,
#login[disabled] .material-switch,
#login[disabled] .rememberme,
#login[disabled] .custom-select {
    cursor: not-allowed;
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#login[disabled] button,
#login[disabled] .material-switch,
#login[disabled] .rememberme,
#login[disabled] .custom-select {
    opacity: 0.7;
}

.infos-env {
    display: inline-block;
    color: white;
    margin: 15px 0;
    line-height: 19px;
    font-weight: 400;
}

.label-DEV {
    background-color: forestgreen;
}

.label-RECETTE {
    background-color: orange;
}

.label-PREPROD {
    background-color: red;
}

.label-PROD {
    color: var(--black);
}

/* NEW DESIGN */

#logo {
    position: absolute;
    top: 0;
    width: 800px;
    max-width: 100%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#toplogo {
    padding: 15px;
}

img {
    max-width: 100%;
}

#login {
    position: absolute;
    top: 0;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    margin-top: 350px;
    height: calc(100% - 350px);
}

#login a {
    color: #fff;
    cursor: pointer;
}

.container-form {
    width: 400px;
    max-width: 100%;
    padding: 15px;
}
.container-form.reset {
    width: 650px;
    text-align: left;
}
.container-form.reset .flip-card {
    height: 350px;
}
.container-form.reset .title {
    padding-left: 10px;
}
#password .list-group {
    margin: 10px 0;
}
#password .list-group-item {
    border: none;
    border-bottom: 1px solid lightgray;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
}
#password .list-group-item:last-child {
    border-bottom: none;
}
#password .list-group-item i {
    padding: 0 10px;
}
#password .form-content {
    margin: 10px 0;
}
#password label {
    font-weight: normal;
}
#password .input-group-addon {
    color: white;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}
#password .progress {
    margin-top: 5px;
    height: 3px;
    background: none;
    margin-bottom: 0;
}
.menu-content {
    position: relative;
    min-height: 250px;
}
.menu-content-item {
    position: absolute;
    padding: 20px;
}

.flip-card {
    display: flex;
    height: 300px;
    position: relative;
    /*perspective: 1000px;*/
    padding: 0;
    z-index: 1;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    /*transform-style: preserve-3d;*/
    transition: transform 1s;
}

.flip-card .flip-card-inner .figure {
    box-shadow: 1px 1px 3px #000;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 15px;
    border-radius: 3px;
    margin: 0;
    display: block;
    position: relative;
    width: 100%;
}

.flip-card-inner .figure.no-animation {
    animation: none;
}

.flip-card-front {
    position: relative;
    visibility: visible;
    -webkit-animation: animateFrontBackToFront 1s 1 linear;
    animation: animateFrontBackToFront 1s 1 linear;
}

.flip-card-back {
    position: relative;
    transform: rotateY(180deg);
    visibility: hidden;
    -webkit-animation: animateBackFrontToBack 1s 1 linear;
    animation: animateBackFrontToBack 1s 1 linear;
}

.flip-card-inner.flip .flip-card-back {
    visibility: visible;
    -webkit-animation: animateBackBackToFront 1s 1 linear;
    animation: animateBackBackToFront 1s 1 linear;
    transform: rotateY(0deg);
}

.flip-card-inner.flip .flip-card-front {
    visibility: hidden;
    -webkit-animation: animateFrontFrontToBack 1s 1 linear;
    animation: animateFrontFrontToBack 1s 1 linear;
}

#form-reset {
    position: absolute;
    top: 0;
}

#old-login-style .show-hide-wrapper svg {
    display: none;
}
#old-login-style .show-hide-wrapper {
    position: absolute;
    right: 25px;
    top: 7px;
    cursor: pointer;
}

/* animations ********************************************************************************************/
/* for Chrome and Chrome */
@-webkit-keyframes animateFrontFrontToBack {
    0% {
        visibility: visible;
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    49% {
        visibility: visible;
    }
    51% {
        visibility: hidden;
    }
    100% {
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
    }
}
@-webkit-keyframes animateBackBackToFront {
    0% {
        visibility: hidden;
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(180deg) rotateZ(0deg);
    }
    49% {
        visibility: hidden;
    }
    51% {
        visibility: visible;
    }
    100% {
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}
@-webkit-keyframes animateFrontBackToFront {
    0% {
        visibility: hidden;
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
    }
    49% {
        visibility: hidden;
    }
    51% {
        visibility: visible;
    }
    100% {
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}
@-webkit-keyframes animateBackFrontToBack {
    0% {
        visibility: visible;
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    49% {
        visibility: visible;
    }
    51% {
        visibility: hidden;
    }
    100% {
        -webkit-transform: perspective(1000px) rotateX(0deg) rotateY(180deg) rotateZ(0deg);
    }
}

/* for Firefox and IE10 */
@keyframes animateFrontFrontToBack {
    0% {
        visibility: visible;
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    49% {
        visibility: visible;
    }
    51% {
        visibility: hidden;
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
    }
}
@keyframes animateBackBackToFront {
    0% {
        visibility: hidden;
        transform: perspective(1000px) rotateX(0deg) rotateY(180deg) rotateZ(0deg);
    }
    49% {
        visibility: hidden;
    }
    51% {
        visibility: visible;
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}
@keyframes animateFrontBackToFront {
    0% {
        visibility: hidden;
        transform: perspective(1000px) rotateX(0deg) rotateY(-180deg) rotateZ(0deg);
    }
    49% {
        visibility: hidden;
    }
    51% {
        visibility: visible;
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
}
@keyframes animateBackFrontToBack {
    0% {
        visibility: visible;
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    49% {
        visibility: visible;
    }
    51% {
        visibility: hidden;
    }
    100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(180deg) rotateZ(0deg);
    }
}

/* end of animations ********************************************************************************************/

.title {
    border-bottom: 1px solid white;
    padding-bottom: 16px;
    font-size: 16px;
    margin: 0 -15px;
    text-transform: uppercase;
}

.title i {
    margin: 0 10px;
}

p {
    margin: 10px 20px;
}

#cancel_forgot_bis {
    margin-top: 20px;
}

.form-login form {
    margin: 0;
}

.form-login button {
    font-size: 12px;
    width: 100%;
}

.group-button button {
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* .group-button {
    margin-bottom: 30px;
} */

.options > div {
    padding: 0;
}

.options > div:first-child {
    padding-left: 15px;
}

.options > div:last-child {
    padding-right: 15px;
}

/* remember me */

.container-switch {
    display: flex;
}

.material-switch {
    margin: 0 5px;
}

.material-switch > input[type='checkbox'] {
    display: none;
}

.material-switch > label {
    cursor: pointer;
    height: 0;
    position: relative;
    width: 100%;
    color: white;
}

.rememberme {
    text-align: left;
    text-transform: uppercase;
    color: white;
    margin-left: 35px;
    cursor: pointer;
    font-size: 12px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid white;
    content: '';
    height: 16px;
    margin-top: 0px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 30px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 16px;
    left: -4px;
    margin-top: 0px;
    position: absolute;
    top: 0px;
    transition: all 0.3s ease-in-out;
    width: 16px;
}

.material-switch > input[type='checkbox']:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type='checkbox']:checked + label::after {
    background: inherit;
    left: 20px;
}

/* langue */

.select-selected {
    background-color: transparent;
}

.select-selected:after {
    position: absolute;
    content: '';
    top: 6px;
    right: 0;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
    margin-left: 10px;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    width: 60px;
}

.select-items div {
    padding: 8px 0;
}

.select-items:last-child {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

/*style items (options):*/
.select-items {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.25);
    top: 100%;
    z-index: 99;
    width: 60px;
    font-size: 12px;
}

/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.custom-select {
    position: relative;
    width: 100%;
    font-size: 12px;
    display: flex;
    justify-content: flex-end;
}

.custom-select select {
    display: none; /* hide original SELECT element: */
}

/* responsive */
@media screen and (max-width: 767px) {
    #login {
        height: 100%;
        margin-top: 0;
    }

    .container-form {
        margin: auto;
    }

    #toplogo img {
        margin-top: 7% !important;
    }
}

@media screen and (max-height: 568px) {
    #toplogo img {
        width: 70%;
    }
}

/* bannière Optipark */

.banniere-optipark {
    width: 768px;
    margin-left: -184px;
}

@media (max-width: 768px) {
    .banniere-optipark {
        max-width: 100%;
        margin-left: 0;
    }
}

/* ---- New design colors ----- */

:root,
::after,
::before {
    /*COMMON COLORS*/
    --main-color: #0043ce;
    --main-color-lighter-25: #4e88ff;
    --main-color-lighter-40: #9bbcff;
    --main-color-darker-25: #001a4e;
    --main-color-darker-40: #000102;
    --white: #ffffff;
    --black: #1d1d1d;
    --border-color: #f2f2f4;
    --red: #dc3545;
    --orange: #ffc107;
    --green: #198754;
    --grey: #d4d4d4;

    --main-background-color: #eeeeee;

    /*BUTTONS COLORS*/
    --button-primary-active-background-color: var(--main-color-darker-25);
    --button-primary-active-border-color: var(--main-color-darker-40);
}

#login .btn-primary {
    background-color: var(--main-color);
    color: var(--white);
    border-color: var(--main-color);
}
#login .btn-primary.active.focus,
#login .btn-primary.active:focus,
#login .btn-primary.active:hover,
#login .btn-primary:active.focus,
#login .btn-primary:active:focus,
#login .btn-primary:active:hover,
#login .btn-primary:hover,
#login .btn-primary:focus,
#login .btn-primary:active {
    color: var(--white);
    background-color: var(--button-primary-active-background-color);
    border-color: var(--button-primary-active-border-color);
}
