/* --------------------------------------------------------------------
               			Tape To Use Produit
               		Main style-sheet
          		Le Studio Worldline, 2018, Atos SN modification 2019
-------------------------------------------------------------------- */


/* ------------------------------ VARIABLES ---------------------------- */


/* ----- GLOBAL -------- */

* {
    --btn_color: #0072a1;
    --focus_color: rgba(247, 247, 247, 0.88);
}


/* ------------------------------ RESET ---------------------------- */


/* Just to hide logo and application name for the moment ! */

h1#kc-page-title {
    display: inline;
}

* {
    box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
figure,
figcaption,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    overflow-y: scroll;
    min-width: 360px;
}

header,
footer,
main,
nav,
aside,
article,
section,
figure,
figcaption {
    display: block;
}


/* ------------------------------ DEFAULTS ---------------------------- */


/* --- FONT FACE DECLARATIONS --- */

@font-face {
    font-family: 'open_sansbold';
    src: url('opensans-bold_0-webfont.woff2') format('woff2'), url('opensans-bold_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanslight';
    src: url('opensans-light_0-webfont.woff2') format('woff2'), url('opensans-light_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'opensansregular';
    src: url('opensans-regular_0-webfont.woff2') format('woff2'), url('opensans-regular_0-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'oswaldsemibold';
    src: url('oswald-semibold-webfont.woff2') format('woff2'), url('oswald-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font: 100%/1.3 'opensansregular', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #222222;
    background-color: #FFF;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    transition: all;
    background: #e3e3e3
}

tbody::-webkit-scrollbar {
    width: 0.5em;
    margin-right: -1rem
}

tbody::-webkit-scrollbar-track {
    background: #e3e3e3;
    border-radius: 8px;
}

tbody::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 8px;
}

h1 {
    width: 50%;
    line-height: 1;
    padding: 0.8rem 0 0.8rem 5%;
    background: rgba(0, 0, 0, 0.3);
    flex: 1;
}

h1 img {
    max-width: 130px;
}

h2 {
    font-family: 'oswaldsemibold';
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 3.7rem;
    font-size: 1.5rem;
    display: inline-block;
    width: 100%;
    padding-top: 1rem
}

h3 {
    color: #222222;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    font-weight: normal;
}

p,
li,
dt,
dd,
td {
    font-size: 0.85em;
}

a {
    text-decoration: none;
    color: #6D6969;
    font-family: 'oswaldsemibold';
}

a:hover,
a:focus {
    color: #222;
}

.link-specific {
    width: 100%;
    text-align: right;
    display: block;
}

strong {
    font-family: 'open_sansbold', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

img {
    max-width: 100%;
    border: none;
}

summary {
    cursor: pointer;
}

button {
    border: none
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.skip {
    position: absolute;
    left: -99999px;
}

button {
    cursor: pointer
}

section section {
    padding: 0 !important
}


/* ------------------------------ STRUCTURE ---------------------------- */

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container:before {
    content: "";
    width: 100%;
    height: 30rem;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%), url(../img/back-general.jpg)no-repeat center center / 100% auto;
    z-index: -9;
    background-size: cover;
}

.wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.container>header {
    position: relative;
    color: #FFF;
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

main {
    margin: 0 5%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}


/* ----------------------------- FORMS -------------------------------------  */

form {
    width: 100%
}

fieldset {
    position: relative;
}

form p {
    margin-bottom: 1rem;
    position: relative;
}

form p:last-child {
    margin-bottom: 0;
}

fieldset.box-main {
    border-bottom: none;
    margin-bottom: 4rem !important;
}

fieldset.box-main:last-of-type {
    margin-bottom: 0 !important;
}

fieldset.box-main legend {
    background: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    color: #6c6969;
    font-style: oblique;
    position: absolute;
    top: -1.2rem;
    left: 0;
}

label {
    text-transform: uppercase;
    padding-left: 1rem;
    padding-bottom: 0.2rem;
    display: block;
}


/* -------- INPUT ------------ */

input[type="text"],
input[type="email"],
main input[type="password"],
select,
input[type="date"],
textarea,
input[type="number"] {
    border-radius: 20px;
    padding: 0.5rem 0.8rem;
    /*cursor: pointer;*/
    vertical-align: top;
    font-family: 'open_sansbold';
    width: 100%;
    background: #F0F0F0;
    border: 1px solid #A7A7A7;
    color: #222
}

input[readonly] {
    background: #F0F0F0 url(../img/pattern-rayure.svg) repeat left top / 13px auto;
    color: #6C6969;
    cursor: not-allowed;
}


/* -------- BUTTONS BAR ------------ */

.buttons-bar {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.box-main .buttons-bar {
    border-top: 1px dashed #c1c1c1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

fieldset.box-main .buttons-bar {
    border: none;
    margin-top: 2.5rem;
}

.buttons-bar li {
    list-style-type: none;
    margin: 0 0.7em;
}

.buttons-bar li input {
    padding: 0.5rem 0.8rem;
}

.highlight-bt,
.secondary-bt,
.disabled-bt {
    text-align: center;
    padding: 0.5rem 3rem;
    border-radius: 20px;
    border: none;
    font-family: 'oswaldsemibold';
    text-transform: uppercase;
    font-style: oblique;
    margin-right: 1rem;
    text-decoration: none
}

.disabled-bt {
    cursor: not-allowed;
    border: 2px solid #D3D3D3;
    color: #999999;
    background: transparent;
}


/* ------------------------------ UTILITIES ---------------------------- */


/* --- ALERT ---- */

.alert {
    margin: 1rem 0;
    padding: 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    width: 100%;
}

.alert.alert-info {
    color: #059;
    background-color: #BEF;
}

.alert.alert-success {
    color: #270;
    background-color: #DFF2BF;
}

.alert.alert-warning {
    color: #995C00;
    background-color: #FEEFB3;
    padding-right: 1rem;
}

.alert.alert-error {
    color: #A30008;
    background-color: #FFC7C7;
}

#rememberMeBlock {
    display: block;
    color: #fff;
    font-style: oblique;
    margin-top: 1rem;
    font-size: 0.75rem;
    text-decoration: none;
    font-family: 'oswaldsemibold';
}


/* --- LANGUAGE ---- */

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    right: -40px;
    padding: 2px 0;
    border: solid 1px #bbb;
    z-index: 1;
}

#kc-locale:hover ul {
    display: block;
    margin: 0;
}

#kc-locale ul li a {
    display: block;
    padding: 5px 14px;
    color: #000 !important;
    text-decoration: none;
    line-height: 20px;
    font-size: 0.7rem;
    font-style: normal;
    font-family: unset;
}

#kc-locale ul li a:hover,
#kc-locale ul li a:focus {
    color: #4d5258;
    background-color: #d4edfa;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    color: #fff;
    margin-top: 1rem;
    font-size: 0.75rem;
    text-align: right;
    margin-right: -15px;
    font-style: normal;
    font-family: unset;
    margin-bottom: 5px;
}

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}


/* ----------------------------- SPECIFICS -------------------------------------  */


/* ------------------------------ LOGIN ---------------------------- */

.pwd-align {
    float: right;
    padding-bottom: 0.75rem;
    padding-right: 1rem;
}

.account-align {
    float: left;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
}

.login {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(3, 100, 162, 0.80) 0%, rgba(3, 100, 162, 0.80) 100%), url(../img/back-general.jpg)no-repeat center center;
    background-size: cover;
}

.login .container {
    height: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    max-width: 300px;
    margin: 0 auto;
    padding-bottom: 7.5rem;
}

.login .container:before {
    display: none
}

.login header {
    width: 100%;
    margin: 0 auto;
}

.login header h1 {
    padding: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
    background-color: transparent;
}

.login header h1 img {
    max-width: 100%;
    background-color: white;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.login .wrapper {
    width: 100%;
}

.login main {
    margin: 0;
    background: none;
    top: 0;
    padding: 0;
}

.login #login {
    color: #fff;
    margin: 0 auto;
}

.login #login label {
    position: relative;
    float: left;
}

.login #login input::placeholder {
    color: #fff;
}

.login #login input[type="password"],
.login #login input[type="text"],
.login #login input[type="email"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.login #login .register-account {
    display: block;
    color: #fff;
    font-style: oblique;
    margin-top: 1rem;
    font-size: 0.7rem;
}

.login #login .register-account:hover {
    color: #042030;
}

.login #login .lost-password {
    display: block;
    color: #fff;
    font-style: oblique;
    margin-top: 1rem;
    font-size: 0.7rem;
}

.login #login .lost-password:hover {
    color: #042030;
}

#login .highlight-bt {
    background: #fff;
    color: #042030;
    width: 100%;
}

#login .highlight-bt:hover {
    background: #042030;
    color: #fff
}

#login #userid-tag {
    background: rgba(255, 255, 255, 0.2) url(../img/ic-login.svg) no-repeat 96% center / auto 20px !important;
    padding-right: 3rem;
}

#login #password-tag {
    background: rgba(255, 255, 255, 0.2) url(../img/ic-password.svg) no-repeat 96% center / auto 20px !important;
    padding-right: 3rem;
}

.login .aside-link {
    position: fixed;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(6, 47, 71, 1) 0%, rgba(9, 75, 113, 1) 20%, rgba(9, 75, 113, 1) 100%);
    display: inline-block;
    width: 100%;
    left: 0;
    padding: 1.5rem 0 2.3rem 0;
}

.login .aside-link a {
    color: #fff;
    border-radius: 20px;
    font-family: 'oswaldsemibold';
    text-transform: uppercase;
    font-style: oblique;
    border: 2px solid #fff;
    text-decoration: none;
    padding: 0.5rem 3rem;
    width: 100%;
    max-width: 300px;
    display: inline-block;
}

.login .aside-link a:hover {
    color: #042030;
    border: 2px solid #042030;
}

.login .buttons-bar {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.login .hideClass {
    display: none;
}

.login .big-font {
    font-size: 1.0em !important;
}

.login .md-font {
    font-size: 0.8em !important;
}

:focus {
    outline: 0;
}

.login .terms-link {
    position: fixed;
    bottom: 0;
    display: inline-block;
    width: 100%;
    color: #fff;
    left: 0;
    padding-right: 5px;
}

.login .terms-link a {
    color: #fff;
    font-family: 'oswaldsemibold';
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
}

.login .terms-link a:hover {
    color: #042030;
}


/***********************************************************************
 * Custom css for Accessibilty
 ***********************************************************************/

a#kc-current-locale-link:focus {
    opacity: 1;
    text-decoration: underline;
    border: 1px solid var(--focus_color);
}

.login #login input[type="password"]:focus,
.login #login input[type="text"]:focus,
.login #login input[type="email"]:focus {
    border: 1px solid var(--focus_color);
}

.login #login .lost-password:focus {
    opacity: 1;
    text-decoration: underline;
    border: 1px solid var(--focus_color);
}

#login .highlight-bt:focus {
    color: #FFF;
    background: var(--btn_color);
    border: 1px solid var(--focus_color);
}

a#kc-current-locale-link:focus+ul {
    display: block;
    margin: 0;
}

.required-field {
    color: #FFF;
    margin-right: 2px;
}

.login-title {
    background: none;
    color: #fff;
}


/* Custom dropdown list */

.select {
    margin-left: 1rem;
    width: 7rem;
    padding: 4px 6px;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #dddddd;
    cursor: pointer;
    border-radius: 20px;
    /* replace default styling (arrow)  */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'><polygon points='0,0 60,0 30,40' style='fill:white;'/></svg>");
    background-position: right 10px top 50%;
    background-repeat: no-repeat;
    background-size: 10px;
    float: right;
    margin-bottom: 7px;
}

.select:hover {
    outline: none;
    border: 1px solid rgba(241, 243, 244, 0.47);
}

.select:focus {
    outline: none;
    background-color: rgba(241, 243, 244, 0.47);
}

.select:focus option {
    color: #000000;
}

.help-text-icon {
    color: #995C00;
    cursor: pointer;
    position: absolute;
    top: 31%;
    right: .5rem;
}

.help-text-password {
    position: absolute;
    top: -3.2rem;
    padding: .3rem .75rem;
    transition: all 0.35s cubic-bezier(0, 0, 0.2, 1);
    z-index: 1;
    display: none;
    border-style: solid;
    border-color: #995C00;
    background-color: #f7de94;
    color: #995C00;
    font-size: 0.9rem;
    width: 18.75rem;
    margin-left: 1rem;
}

.help-text-password::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    /* border-top: 10px solid #856404; */
    position: absolute;
    top: 25.4rem;
    right: 2%;
}

.help-text-icon:hover~.help-text-password {
    display: block;
}

.error-block {
    width: 100%;
    color: #A30008;
    background-color: #FFC7C7;
    font-size: 0.83rem;
    text-align: left;
    display: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-family: opensansregular, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5rem;
}

input.touched.invalid, input.invalid.touched {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem #dc35457d
}

input.touched ~ .invalid {
    display: inline-block;
}

input ~ .invalid.kc {
    display: inline-block;
}

.alert.alert-error~main .help-text-icon,
.alert.alert-error~main .help-text-icon~.help-text-password {
    display: none;
}

.position-relative {
    position: relative;
}

.form-group {
    margin-bottom: 1rem;
}

.highlight-bt {
    margin-left: 1rem;
}

.fa-times-circle {
    padding: 0.5rem;
}

.disable-save-password {
    display: none;
}

