/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 25 mars 2015, 14:03:13
    Author     : sweffling
*/

* {
    box-sizing: border-box;
}

body, html {
    min-height: 100%;
}

body {
    background-image: url("/modules/authentication/images/img.png");
    background-color: #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

form {
    display: grid;
    gap: 0.5rem;

    label:has(+ input[required])::after,
    .label-input-container:has(> input[required]) .password-label label::after {
        content: "*"
    }
}


.login-layout-container {
    margin: auto;

    > h1 {
        font: 700 37px/49px Playfair Display,Times New Roman,Times,serif;
        text-align: center;
        color: #fff;
        text-shadow: 0 0 1px #000;
        margin: 50px 15px 75px;
    }

    &.password-renewal, &.sharing-information {
        margin-top: 70px;
    }}

.login-layout {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    display: flex;
    justify-content: space-around;


    input {
        height: 33px;
        width: 100%;
        padding: 6px 12px;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 2px;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        display: block;
        font-size: 14px;
        line-height: 1.4;
        color: #555;

        &:focus {
            border-color: #66afe9;
            outline: 0;
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        }

        &.password_tooltips {    
            width: fit-content;
            border-radius: 50px;
            background-color: #042a74;
            color: white;
            transform: scale(0.75);
            font-weight: bold;
        }
    }

    p {
        font-size: 0.875rem;
    }

    .icon > i {
        position: relative;
        float: right;
        right: 10px;
        bottom: 30px;
        cursor: pointer;
    }
}

.content-block {
    padding: 1px 30px 30px;
    margin: 0 15px 30px;
    background-color: #ffffff;

    &.sharing-information {
        padding-block: 30px;
    }

    .bold {
        font-weight: 700;
    }
}

.uppercase {
    text-transform: uppercase;
}

.login-label, .form-label {
    color: #042a74;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 14px;
}

.password-label {
    display: flex;
    align-items: flex-end;

    .form-label {
        flex: 1;
    }
}

.inline {
    display: inline-flex;
    flex-direction: column;
}

.text-align-center {
    text-align: center;
}

.link-text {
    color: #337ab7;
    padding: 6px 12px;
    text-decoration: none;
}

.title {
    font-weight: 600;
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.subtitle {
    font-size: 14px;
    color: orange;
}

.login-btn, .submit-button, input.submit-button {
    width: 100%;
    margin: 10px 0;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 6px 12px;
    line-height: 1.5;
    outline: none;
    text-decoration: none;
    color: #fff;
    position: relative;
    background-color: #042a74 !important;
    border-color: #042a74 !important;
}

.btn-info {
    width: 100%;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 6px 12px;
    line-height: 1.5;
    outline: none;
    text-decoration: none;
    color: #333;
    background-color: #f1f3f4;
}

@media (min-width: 992px) {
    .login-layout-container {
        width: 780px;
    }
}

@media (min-width: 768px) {
    .login-layout {
        display: flex;
        justify-content: center;
    }

    .content-block {
        width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .login-layout {
        display: block;
    }

    .content-block {
        margin-bottom: 2em;
    }
}

/* Dialog */

.ui-dialog {
    border-radius: 15px;
}

.ui-dialog-titlebar {
    background-color: #EDEDED;
    color: #999;
    font-family: 'Open Sans', sans-serif;
    padding: 15px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.ui-dialog-titlebar-close {
    border: none !important;
}

.corps_popin {
    padding: 2rem;
}

