:root {
    --justify-content-body: center;
    --margin-right-main-content:0;
    --padding-button-cancel: 0;
    --scale-icon-eye:0.75;
    --scale-social-icon:0.8;
    --width-inalco-logo: 80%;
    --width-input-btn: 70%;
    --heigth-input: 38px;
    --heigth-button-reveal:40px;
    --heigth-input-reveal: 32px;
    --font-size: 11px;
    --font-size-lang: 13px;
    --width-input:340px;
    --width-input-reveal:300px;
    --width-main-content:496px;
    --width-social-logo:20px;
}

.bold{
    font-weight: bold;
    font-size: var(--font-size);
}
.message{
    font-size: 20px;
    font-weight: bold;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy{
    height: 110px;
    overflow-x: hidden;
    overflow-y: auto;
    margin-bottom : 5%;
    margin-top: 5%;
    background-color: #dbdbdb;
    padding: 3%;

}
.dropbtn {
    display: inline-flex ;
    align-items: center;
    background-color: transparent;
    border: 1px solid transparent;
    color: black;
    margin: 1rem;
    font-size: var(--font-size-lang);
    border: none;
    cursor: pointer;
}

.dropbtn:focus {
    
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {
    display: block;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1; 
    height: 1px; 
    background-color: grey; 
    margin: 0 10px; 
}

.divider span {
    padding: 0 10px;
    font-size: 16px;
}

.div-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.div-btn{
    display: flex; 
    justify-content: center;
    width: 20%; 
}

.div-btn-submit{
    display: flex; 
    justify-content: center; 
    width: var(--width-input-btn);
}

.div-login{
    padding: 9.5%;
    padding-bottom: 0;
}

.div-info{
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    height: 70px;
    border-radius: 0  0 20px 20px;
}

.div-password{
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px 5px 5px 50px;
    width: 97%;
}

.pwd{
    border-radius: 0px !important; 
    background: none !important; 
    border-top-left-radius: 50px !important; 
    border-bottom-left-radius: 50px !important;
}

.div-nanny{
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    min-width: 500px;
    margin-right: 20rem;
}

#loginForm{
    background: white;
    border-radius: 20px;
}

body{
    display: flex;
    justify-content: left;
    align-items: center;
    min-height: 100vh;
    height: calc(100% - 100px);
    background-image: url('/cas/themes/inalco/images/P1084404-light-2b484aa095dbedcac06aa1aac6efe53a.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center top; 
    font-family:'Lato',Arial, sans-serif;
    font-size: var(--font-size);
}

.wrapper-grad{
    background: linear-gradient(135deg, rgb(47, 134, 231) 0%, rgb(0, 53, 108) 100%);
    color: white;
}

.fun{
    background: linear-gradient(90deg, rgba(255,255,255,1) 46%, rgba(47,134,231,1) 78%, rgba(0, 52, 108, 0.682) 100%); 
    color: white;
}

.header-login{
    display: flex;
    justify-content: space-between;
}

.connect{
    padding-right: 1rem;
}

.link-list{
    display: grid;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    font-size: large;
}

.link-reset{
    text-align: center;
    color: black;
    font-weight: bold;
}

.link-reset:hover{
    color: rgb(47, 134, 231);
}

.link{
    margin: 1em;
    color: white;
    font-size: larger;
}

.link:hover{
    color: rgb(19, 169, 210);
}

.lang-choice {
    display: flex;
    justify-content: center;
}

.lang{
    margin: 1rem;
    color: white;
    font-size: larger;     
}

.lang:hover{
    color: rgb(19, 169, 210);
}

.input{
    height: var(--heigth-input);
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000;
    width: 90%;
    font-size: var(--font-size);
    border-radius: 50px !important;
    box-shadow: none;
    border: 1px solid transparent;
    padding-left: 7%;
    padding-bottom: 0;
    padding-top: 0;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.input-reveal{
    height: var(--heigth-input-reveal);
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    width: 80%;
    font-size: var(--font-size);
    box-shadow: none;
    border: 1px solid transparent;
    padding-left: 7%;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.btn-password{
    background: linear-gradient(135deg, rgb(47, 134, 231) 0%, rgb(0, 53, 108) 100%) !important;
    height: var(--heigth-button-reveal);
    border-radius: 0 5px 5px 0;
    padding: 0 8px 0 8px;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 15%;
    min-width: 47px;
    border: none;
    outline: none;
    line-height: inherit;
    user-select: none;
    -webkit-appearance: none;
    overflow: visible;
}

.mdc-card{
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.mdc-linear-progress {
  position: relative;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  outline: 1px solid transparent;
  overflow: hidden;
  transition: opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
}

.mdc-linear-progress__buffer {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
}

.mdc-linear-progress__bar {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-animation: none;
  animation: none;
  -webkit-transform-origin: top left;
  transform-origin: top left;
  transition: -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
  transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
  transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);
}

.progress-bar-success .mdc-linear-progress__bar-inner {
  border-color: var(--cas-theme-success);
}

.mdc-linear-progress__bar-inner {
  border-top-width: 4px;
}

.button-primary{
    box-shadow: none !important;
    width: 100%;
    font-size: var(--font-size);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgb(47, 134, 231) 0%, rgb(0, 53, 108) 100%);
    color: white;
    border-style: none;
}

.button-primary:hover{
    background: rgb(47, 134, 231);
    color: #fff;
}

.button-primary[disabled] {
    background: #999999;
    color: white;
}

.button-cancel {
    background-color: #c4042a;
    width: 100%;
    font-size: var(--font-size);
    font-weight: bold;
    padding: var(--padding-button-cancel);
    border-radius: 20px;
    border: none;
    color: white;
}

.button-cancel:hover{
    background-color: #fb1241;
}

h2{
    font-weight: 400;
}

.h2-white{
    margin: 0.5em;
    font-weight: 400;
}

.inalco-network-group {
    display: grid;
    gap: 9rem;
}

.inalco-network-icon {
    display: inline-block;
    width: 24rem;
    height: 24;
    background-repeat: no-repeat;
}

.mdi-eye{
    background-image: url('/cas/themes/inalco/images/eye-a3e36ad33a7fba56d8a30cee1b8e8de2.svg');
    width: 20px;
    height: 20px;
    transform: scale(var(--scale-icon-eye));
}
.mdi-eye-off{
    background-image: url('/cas/themes/inalco/images/eye-off-1751a30983e9fa6539dee45c8dce9cb5.svg');
    width: 20px;
    height: 20px;
}

.d-flex{
    display: flex;
}

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

.justify-content-center{
    justify-content: center;
}

.social-icon{
    display: flex;
    width: 50px;
    height: 50px;
    transform: scale(var(--scale-social-icon));
    min-height: 50px;
    background: transparent;
    border: 1px solid transparent;
    span{
        color: white;
        font-size: 25px !important;
    }
    &:hover, &:focus{
        border: 1px solid white;
    }
}

.social-media{
    margin-bottom: 0;
}

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

.border-20{
    border-radius: 20px;
}

.w-660{
    max-width: 660px;
}

.logo-inalco{
    width: var(--width-inalco-logo);
}

.img-inalco{
    width: 100%;
}

.w-400{
    width: 400px;
}

#main-content {
    width: var(--width-main-content); 
    min-width: 240px;
    padding-left: 5%;
    padding-right:5%;
}

@media (min-width: 250px) {
    :root {
        --heigth-input: 38px;
        --width-input:100px;
        --width-input-reveal:100px;
        --width-main-content:240px;
    }
}

@media (min-width: 320px) {
    :root {
	--padding-button-cancel: 10% 15%;
        --width-input-btn: 50%;
        --heigth-input: 46px;
        --heigth-input-reveal: 40px;
        --heigth-button-reveal: 48px;
        --font-size: 12px;
        --font-size-lang: 15px;
        --width-input:340px;
        --width-input-reveal:100px;
        --width-main-content:310px;
    }
}

@media (min-width: 360px) {
    :root {

        --width-inalco-logo: 70%;
        --heigth-input: 46px;
        --font-size: 13px;
        --font-size-lang: 15px;
        --width-input:340px;
        --width-input-reveal:100px;
        --width-main-content:350px;
    }

}

@media (min-width: 410px) {
    :root {
        --width-input-btn: 60%;
        --scale-social-icon:0.9;
        --scale-icon-eye: 0.9;
        --heigth-input-reveal: 42px;
        --heigth-button-reveal: 50px;
        --heigth-input: 48px;
        --font-size: 13px;
        --font-size-lang: 15px;
        --width-input:340px;
        --width-input-reveal:100px;
        --width-main-content:400px;
    }
}

@media (min-width: 480px) {
    :root {
        --scale-social-icon: 1;
        --width-inalco-logo: 60%;
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input:340px;
        --width-input-reveal:300px;
        --width-main-content:460px;
    }
}

@media (min-width: 768px) {
    :root {
	--justify-content-body: end;
        --margin-right-main-content:12%;
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input:340px;
        --width-input-reveal:300px;
        --width-main-content:496px;
    }
}
@media (min-width: 1024px) {
    :root {
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input:340px;
        --width-input-reveal:300px;
        --width-main-content:496px;
    }
}
@media (min-width: 1280px) {
    :root {
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input:340px;
        --width-input-reveal:300px;
        --width-main-content:496px;
    }
}
@media (min-width: 1440px) {
    :root {
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input:340px;
        --width-input-reveal:300px;
        --width-main-content:496px;
    }
}
@media (min-width: 1920px) {
    :root {
        --heigth-input: 48px;
        --font-size: 14px;
        --font-size-lang: 16px;
        --width-input: 340px;
        --width-input-reveal: 300px;
        --width-main-content: 496px;
    }
}


