/* Root / Reset */


:root {
    --mdc-text-button-label-text-color: #f7f7f7;
    --mdc-shape-small: 4px;

    --mdc-theme-body: rgb(27, 39, 51);
    --mdc-theme-error: #a20323;
    --cas-theme-primary: #114377;
    --cas-theme-button-bg-hover: #1678d8;
    --cas-theme-primary-bg: rgba(21, 62, 80, 0.2);
    --cas-theme-button-bg: #26418f;
    --cas-theme-button-bg-lite: #1e78d0;
    --cas-theme-primary-light: #006d85;
    --cas-theme-secondary: #018077;
    --cas-theme-success: #74C163;
    --cas-theme-danger: #58151c;
    --cas-theme-danger-bg: #f8d7da;
    --cas-theme-warning: #664d03;
    --cas-theme-warning-bg: #fff3cd;
    --cas-theme-border-light: 1px solid rgba(0, 0, 0, .2);
    --mdc-theme-primary: var(--cas-theme-primary, #153e50);
    --mdc-typography-font-family: "Ubuntu", "Open Sans", Roboto, Arial, sans-serif;

    --navbar-width: 256px;
    --navbar-width-min: 80px;
    --navbar-dark-primary: #18283b;
    --navbar-dark-secondary: #2c3e50;
    --navbar-light-primary: #f5f6fa;
    --navbar-light-secondary: #8392a5;
}

body {
    display: flex;
    /* MODIF UL : ***/
    /*height: 100vh;*/
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--mdc-typography-font-family);
    background: var(--mdc-theme-body);
}

a {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

a:hover, a:visited, a:active {
    color: #006d85;
    color: var(--cas-theme-primary-light);
}


h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 3px;
}

aside, section, main {
    display: block;
}

/* Material */

.mdc-drawer {
    top: 56px;
}

.mdc-drawer-app-content {
    flex: auto;
    overflow: auto;
    position: relative;
}

.main-content {
    display: flex;
}

.mdc-top-app-bar {
    z-index: 7;
}

div#content {
    box-shadow: 1px 1px 3px #888;
}

/* widgets */

.notifications-count {
    position: absolute;
    top: 8px;
    right: 4px;
    background-color: var(--mdc-theme-error, #b00020);
    color: #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font: 11px Verdana;
}

.cas-brand {
    height: 48px;
    width: auto;
}

header > nav .cas-brand path.cls-1 {
    fill: white;
}

header > nav .cas-brand .cas-logo {
    height: 100%;
}

.caps-warn {
    display: none;
}

.caps-on {
    order: 3
}

.caps-on DIV SPAN {
    display: block;
}

.caps-on span:before {
    vertical-align: sub;
    content: "\F0027";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.login-section {
    border-right: 1px solid rgba(0, 0, 0, .2);
    border-right: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    padding: 2rem 2.5rem;
    flex: 1 1 auto;
    /* IE flex fix */
}

.login-section:last-child {
    border: none;
}

@media screen and (max-width: 767.99px) {
    .login-section {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, .2);
        border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
        max-width: none;
        padding: 0 1.5rem;
    }
}

.log-trace {
    color: whitesmoke;
    font-weight: bold;
}

.log-none, .log-debug {
    color: dodgerblue;
    font-weight: bold;
}

.log-default, .log-notice, .log-info {
    color: limegreen;
    font-weight: bold;
}

.log-warning, .log-alert, .log-warn {
    color: orange;
    font-weight: bold;
}

.log-fatal, .log-emergency, .log-critical, .log-error {
    color: orangered;
    font-weight: bold;
}

.noborder {
    border: 0 none;
    border-style: none;
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    text-transform: none;
    text-decoration: none;
}

button.close {
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

form button i.mdi {
    margin-right: 2px;
}

.banner {
    border: 1px solid rgba(0, 0, 0, .2);
    border: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    position: relative;
    padding-left: 10px;
    box-shadow: 1px 1px 3px #888;
    border-radius: .5em;
    padding-top: .5em;
    padding-bottom: .5em;
}

.banner > span {
    vertical-align: top;
}

.banner .banner-message {
    margin: 0.375rem 0;
}

.banner .banner-heading:first-child {
    margin-top: 0;
}

.banner .banner-message:first-child {
    margin-top: 0;
}

.banner .banner-message:last-child {
    margin-bottom: 0;
}

.banner-primary {
    border-color: #153e50;
    border-color: var(--cas-theme-primary, #153e50);
}

.banner-primary .mdi {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.banner-danger h1:before,
.banner-danger h2:before,
.banner-danger h3:before,
.banner-danger h4:before,
.banner-danger h5:before {
    content: "\F0027";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-danger {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
    color: var(--cas-theme-danger, #58151c);
    background-color: var(--cas-theme-danger-bg, #f8d7da);
}

.banner-danger .mdi {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

.banner-warning {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
    color: #664d03;
    color: var(--cas-theme-warning, #664d03);
    background-color: var(--cas-theme-warning-bg, #fff3cd);
}

.banner-warning .mdi {
    color: #664d03;
    color: var(--cas-theme-warning, #664d03);
}

.banner-success h1:before,
.banner-success h2:before,
.banner-success h3:before,
.banner-success h4:before,
.banner-success h5:before {
    content: "\F012D";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-success {
    border-color: var(--cas-theme-success);
    color: var(--cas-theme-primary, #153e50);
    background-color: #adf096;
}

.banner-info h1:before,
.banner-info h2:before,
.banner-info h3:before,
.banner-info h4:before,
.banner-info h5:before {
    content: "\F1C67";
    font-size: 24px;
    font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-info {
    border-color: var(--cas-theme-primary);
    color: black;
    background-color: #9fceff;
}

.banner-dismissible {
    padding-right: 4rem;
}

.banner-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.05rem 0.05rem;
    color: inherit;
}

.login-provider-item {
    list-style: none;
}

.login-provider-item .mdc-button .mdi {
    margin-right: 0.375rem;
}

@media screen and (max-width: 767.99px) {
    .logout-banner {
        width: 100%;
    }
}

.cas-footer {
    background-color: var(--mdc-theme-primary, #6200ee);
    color: whitesmoke;
}

.cas-footer a {
    color: deepskyblue;
}

.cas-footer > * {
    margin-right: 0.25rem;
    display: inline-block;
}

.cas-footer > *:last-child {
    margin: 0;
}

.cas-notification-dialog .mdc-dialog__content > .cas-notification-message:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
}

.cas-card {
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: lightskyblue;
    flex-direction: column;
    flex-grow: 1;
    grid-column-end: span 6 !important;
}


.mdc-dialog__title::before {
    display: none;
}

.mdi {
    content: "";
    /*vertical-align: baseline;*/
}

#casAccountProfile .mdi {
    vertical-align: baseline;
}

#dashboardTabBar .mdi, .attribute-tab .mdi {
    vertical-align: sub;
    /*padding-right: 1px;*/
}

.ace-editor {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: "Monaco", "Menlo", "Ubuntu Mono", "Droid Sans Mono", "Consolas", monospace !important;
}

.ace-absolute {
    position: absolute;
}

.ace-relative {
    position: relative;
    border-radius: 10px;
}

.mdi:before {
    font-size: 20px;
}

/* custom components */

.custom-select {
    display: inline-block;
    min-width: 80%;
    height: 56px;
    padding: .375rem 1.75rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.87);
    vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
}

/* utilities */

.pl-2 {
    padding-left: 0.8rem;
}

.mr-2 {
    margin-right: 2px !important;
}

.mr-4 {
    margin-right: 4px !important;
}

.mr-8 {
    margin-right: 8px !important;
}

.mr-12 {
    margin-right: 12px !important;
}

.pr-2 {
    padding-right: 0.8rem;
}

.pr-4 {
    padding-right: 1.2rem;
}

.pb-2 {
    padding-bottom: 0.8rem;
}

.bg-primary {
    background-color: rgba(21, 62, 80, 0.2);
    background-color: var(--cas-theme-primary-bg, rgba(21, 62, 80, 0.2));
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}


.strong {
    font-weight: bold;
}

.hide {
    display: none;
}

.text-warning {
    color: #664d03;
    color: var(--cas-theme-warning, #664d03);
}

.text-danger {
    color: #b00020;
    color: var(--cas-theme-danger, #b00020);
}

.text-secondary {
    color: var(--cas-theme-secondary);
}

.text-success {
    color: var(--cas-theme-success);
}

.progress-bar-danger .mdc-linear-progress__bar-inner {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
}

.progress-bar-warning .mdc-linear-progress__bar-inner {
    border-color: #664d03;
    border-color: var(--cas-theme-warning, #664d03);
}

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

.word-break-all {
    word-break: break-all;
}

.mdc-text-field {
    width: 100%;
    background-color:white;
    border-radius: 28px;
}

.mdc-text-field > .mdc-text-field__input, .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) > .mdc-text-field__input {
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 4px;
}

.mdc-text-field--outlined .mdc-text-field__input {
    height: auto;
    align-self: center;
}

.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
    font-size: 1.5rem;
}

.mdc-text-field-helper-text {
    font-size: 1rem;
}

.mdc-input-group .mdc-input-group-field .mdc-notched-outline__trailing {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-append {
    order: 2;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-prepend, .mdc-input-group .mdc-input-group-append {
    height: 56px;
}

.mdc-input-group .mdc-input-group-prepend {
    order: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-prepend .mdc-text-field > .mdc-text-field__input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-append .mdc-text-field > .mdc-text-field__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.text-danger, .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text.text-danger {
    color: var(--cas-theme-danger, #58151c);
}

.mdc-text-field__icon.text-danger {
    color: var(--mdc-theme-error, #b00020);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: #153e50;
    color: var(--cas-theme-primary, #153e50);
}

.button-cancel {
    background-color: var(--mdc-theme-error, #a20323) !important;
}

span button.toolbar {
    background-color: var(--cas-theme-button-bg-lite, dodgerblue) !important;
}

.mdc-button--raised:not(:disabled, .reveal-password) {
    margin-right: 4px;
    border-radius: 9px 9px 9px 9px;
    filter: drop-shadow(2px 2px 4px #023b53);
    background-color: var(--cas-theme-primary, #153E50);
    cursor: default;
}

.mdc-button--raised:not(:disabled, .reveal-password):hover {
    background-color: var(--cas-theme-button-bg-hover, dodgerblue);
    transform: scale(1.08);
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.reveal-password:focus {
    border:1px solid white;
}

.mdc-button--lg {
    width: 180px;
    height: 48px;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

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

.pad-0 {
    padding-right: 0;
    padding-left: 0;
}

.w-66 {
    width: 66%;
}

.w-33 {
    width: 33%;
}

.w-10 {
    width: 10% !important;
}

.w-25 {
    width: 25%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.h-750px {
    height: 750px;
}

.h-450px {
    height: 450px;
}

.h-350px {
    height: 350px;
}

.h-250px {
    height: 250px;
}

.h-150px {
    height: 150px;
}

.h-25 {
    height: 25%;
}

.h-50 {
    height: 50%;
}

.h-75 {
    height: 75%;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto;
}

.mw-100 {
    max-width: 100% !important;
}

.mw-75 {
    max-width: 75% !important;
}

.mw-50 {
    max-width: 50% !important;
}

.mh-100 {
    max-height: 100%;
}

.min-width-24x {
    min-width: 24px !important;
    width: 24px;
    max-height: 24px !important;
}

.min-width-32x {
    min-width: 32px !important;
    width: 32px;
    max-height: 32px !important;
}

.min-width-48x {
    min-width: 48px !important;
    width: 24px;
}

.min-vw-100 {
    min-width: 100vw;
}

.min-vh-100 {
    min-height: 100vh;
}

.min-height-60 {
    min-height: 60%;
}

.vw-100 {
    width: 100vw;
}

.vh-100 {
    height: 100vh;
}

.mw-50 {
    max-width: 50%;
}

.mw-25 {
    max-width: 25%;
}

.mw-20 {
    max-width: 20%;
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 2px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-auto {
    margin-top: auto;
}

.ml-2 {
    margin-left: 0.5rem;
}
.border-rounded {
    border-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 8px;
}

.border-bottom {
    border-color: #153e50;
    border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

select.palantir {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border-color: var(--cas-theme-primary);
    font-family: monospace;
    font-size: 16px;
    padding-left: 7px;
    font-weight: bold;
}

.elevation-surface {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    min-height: 100px;
    min-width: 200px;
    margin: 15px;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50px;
    background-color: #e3e9ec;
}

.swal-overlay {
    background-color: rgba(17, 67, 119, 0.95);
}

@media all and (min-width: 768px) {
    .w-md-50 {
        width: 50%;
    }

    .w-md-66 {
        width: 66%;
    }
}

@media all and (min-width: 992px) {
    .w-lg-50 {
        width: 50%;
    }

    .w-lg-66 {
        width: 66%;
    }
}

@media all and (max-width: 767.99px) {
    .w-md-50 {
        width: 100%;
    }

    .w-md-66 {
        width: 100%;
    }
}

@media all and (max-width: 991.99px) {
    .w-lg-50 {
        width: 100%;
    }

    .w-lg-66 {
        width: 100%;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*, ::after, ::before {
    box-sizing: border-box;
}

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

.text-wrap {
    white-space: normal;
}

.text-wrap-pretty {
    text-wrap: pretty;
}

#servicedesc .mdi {
    vertical-align: sub;
}

.dataTables_wrapper {
    margin-left: 5px;
    margin-top: 5px;
    margin-right: 5px;
}

#heroimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/** jQuery UI **/

.swal2-confirm {
    background-color: var(--cas-theme-button-bg);
}

.ui-selectmenu-open {
    background: var(--mdc-theme-background);
}

.ui-tooltip {
    background-color: var(--cas-theme-primary) !important;
    color: whitesmoke;
    min-width: 450px !important;
    max-width: 600px;
}

.ui-tabs-active {
    background: var(--cas-theme-primary) !important;
}

.ui-widget, .ui-widget button {
    font-family: var(--mdc-typography-font-family) !important;
    font-size: unset;
}

.ui-widget-content, .ui-widget-header {
    background: unset;
}

.ui-widget-header {
    border: unset;
}

.ui-tabs .ui-tabs-nav li {
    border-bottom: 1px solid var(--cas-theme-button-bg-lite);
    margin-right: 0.07em;
}

/***************************/

#main-content {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 2px;
}

/* oddly, the auto right and left margins caused the login form to not be centered in IE */

@media all and (min-width: 768px) {
    .login-section {
        flex: 1 1 500px;
    }
}


/* fix for not showing password reveal icon on MSEdge and MSIE */
.pwd::-ms-reveal,
.pwd::-ms-clear {
    display: none;
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 95%;
    }
}

/************************************/
/* MODIF UL : ***/
/*body {
    overflow: hidden;
}*/

.connexion-fields{
	border: none;
}

.sidebar-navigation {
    border-radius: 5px;
    display: inline-block;
    min-height: 100vh;
    width: 80px;
    background-color: var(--mdc-theme-primary, #6200ee);
    float: left;
}

.sidebar-navigation ul {
    margin: 0;
    padding: 0;
    text-align: center;
    color: white;
    list-style: none;
}

.sidebar-navigation ul li {
    padding: 28px 0;
    cursor: pointer;
    text-align: center;
    transition: all ease-out 120ms;
    border-radius: 10px;
}

.sidebar-navigation ul li i {
    display: block;
    font-size: 24px;
    transition: all ease 450ms;
}

.sidebar-navigation ul li .tooltip {
    display: inline-block;
    position: absolute;
    background-color: #313443;
    padding: 8px 15px;
    border-radius: 3px;
    margin-top: 5px;
    left: 170px;
    opacity: 0;
    visibility: hidden;
    font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 100;
}

.sidebar-navigation ul li .tooltip:before {
    content: "";
    display: block;
    position: absolute;
    left: -4px;
    top: 5px;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: inherit;
}

.sidebar-navigation ul li:hover {
    background-color: deepskyblue;
}

.sidebar-navigation ul li:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.sidebar-navigation ul li.active {
    background-color: steelblue;
}

.sidebar-navigation ul li.active i {
    color: #98D7EC;
}

/** Notyf Options **/
.notyf__toast {
    max-width: 50em !important;
    .notyf__ripple {
        height: 60em;
        width: 60em;
    }
}

/* ################################################################ 
   ##                  PERSONNALISATION THEME UL                 ##
   ################################################################ */

/**********
** Surcharge du CSS Origine 
**/
body {
    background:none;
}

body.login .mdc-drawer-app-content {
    display: block;
}

body.login div#content {
    box-shadow: none;
}

div#content {
    box-shadow: none;
}

/** Centrer le panneau de confirmation de connexion /deconnexion **/
div.w-100.m-auto.mdc-card.card.p-4.alert-success h2, #logoutBody{
    text-align: center;
}

body.login .login-section {
    display:grid;
    border-right:none;
}

@media screen and (max-width: 767px) {
    body.login .login-section {
        border-bottom: none;
	padding: 0px;
    }
}

body.login span button.toolbar {
    background-color: #234493 !important;
}

body.login .mdc-button--raised:not(:disabled, .reveal-password) {
    border-radius: 25px;
    font-weight: 700;
    font-size:1.1em;
    filter: none;
    background-color: #234493;
    border: 0px;
    cursor: pointer;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 30px;
    margin: 0px;
}

body.login .mdc-button--raised:not(:disabled, .reveal-password):hover, body.login .mdc-button--raised:not(:disabled, .reveal-password):focus{
    /*background-color: none;*/
    cursor: pointer;
    box-shadow: none;
    transform: none;
    background-color: #FFFFFF;
    color: #234393;
    outline: none;
}

.reveal-password:focus {
    border: 1px solid #234393;
}

body.login .mdc-button--raised:disabled {
    border-radius: 25px;
    font-weight: 700;
    font-size:1.1em;
    border: 0px;
    background-color: none;
    background: #FFFFFF;
    border: 1px solid #fff;
    color: #234393;
    padding: 10px 30px;
    margin: 0px;
    outline: none;
}

body.login .vw-100 {
    min-width: 48px !important;
    width: 24px;
}

body.login #main-content {
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    text-align: center;
}

aside, section, main {
    max-width: 100%;
}

/**********
** Ajout de nouvel définition
**/

p {
    /*font-size: 1.2em;*/
    max-width: 80%;
    margin: 0 auto;
}

h2 {
    margin-bottom: 20px;
}

.mdc-drawer-app-content {
    background: url(/images/skyline-finale.png), url(/images/isotype-lieux.png), #234393;                                                   /* Old browsers */
    background: url(/images/skyline-finale.png), url(/images/isotype-lieux.png), -moz-linear-gradient(left,  #234393 0%, #12868d 100%);   /* FF3.6-15 */
    background: url(/images/skyline-finale.png), url(/images/isotype-lieux.png), -webkit-linear-gradient(left,  #234393 0%,#12868d 100%); /* Chrome10-25,Safari5.1-6 */
    background: url(/images/skyline-finale.png), url(/images/isotype-lieux.png), linear-gradient(to left,  #234393 0%,#12868d 100%);      /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    background-repeat: no-repeat;
    background-position: bottom center, bottom right;
    background-size: 102% auto, auto 24em;
    color:#fff;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#234393', endColorstr='#12868d',GradientType=0 ); /* IE6-9 */
    width: 95vw;
    margin: 0px auto;
    border-radius: 15px 15px 160px 15px;
    box-shadow: 9px 8px 16px 0px #b9b8b8;
    /*overflow: hidden; MODIF UL*/
    overflow-x: hidden;
}

.mdc-floating-label.mdc-floating-label--required, .mdc-floating-label.mdc-floating-label--float-above{
    background-color: #fff;
    border-radius: 25px;
    margin: 0px 0px 0px 0px;
    padding: 5px 10px 5px 10px;
}

/* Suppression du fond écran */
.mdc-card {
    background: none;
    box-shadow: none;
}

/* Balise HR à  faire disparaitre */
.my-4 {
    display:none;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.mdc-icon-button{
    border-radius: 28px;
  }
/*** Modification du bouton Masquer ou non le mot de passe ***/
.mdc-button--unelevated:not(:disabled), .mdc-button--unelevated:not(:disabled):hover, .mdc-button--raised:not(:disabled){
    background:none;
    box-shadow: none;
}
.mdi-eye:before, .mdi-eye-off:before{
    color: #234393;
}
.mdc-button--unelevated:not(:disabled):hover .mdi-eye:before, .mdc-button--unelevated:not(:disabled):hover .mdi-eye-off:before, .mdc-button--raised:not(:disabled):hover .mdi-eye:before, .mdc-button--raised:not(:disabled):hover .mdi-eye-off:before{
    color: #0D8390;
}

.mdc-button--unelevated:not(:disabled):focus .mdi-eye:before, .mdc-button--unelevated:not(:disabled):focus .mdi-eye-off:before, .mdc-button--raised:not(:disabled):focus .mdi-eye:before, .mdc-button--raised:not(:disabled):focus .mdi-eye-off:before{
    color: #0D8390;
}

span.mdc-notched-outline__notch, span.mdc-notched-outline__leading, span.mdc-notched-outline__trailing{
    border:none;
}

/**** Masquer le SPAN 'Entrez votre identifiant et votre mot de passe.' ***/
.fa-shield-alt{
    display:none;
}

/*** Modification des champs INPUT ****/
.mdc-button--outline:not(:disabled, .reveal-password) , .mdc-button--raised:not(:disabled, .reveal-password){
    background-color: var(--cas-theme-secondary, #018077);
    border-radius: 8px 8px 8px 8px;
    filter: drop-shadow(2px 2px 4px #0D8390);
}
.mdc-text-field--outlined .mdc-text-field__input {
    height: auto;
    align-self: center;
}

.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
    font-size: 1.5rem;
}

.mdc-text-field-helper-text {
    font-size: 1rem;
}

.mdc-top-app-bar--fixed-adjust {
    padding-top: 0;
}

/* Background formulaire */
body.login form {
    /*background-color: #ffffff;*/
    border-radius:20px;
    max-width: 350px;
    padding:20px;
    align-self: center;
}

.form-wrapper {
    align-self: center;
}

/* Premiere lettre du label couleur différente*/
span.accesskey {
    color:inherit;
}

.mdc-text-field__input { 
    padding: 0 10px;
}

.mdc-text-field-helper-line {
justify-content: center;
}
  
#content, .mdc-card{
    width: 100%;
}

#login-form-controls h2{
    display: none;
}

#login-form-controls{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Bouton reveal password - Interface Admin */
button.admin.reveal-password{
    margin-left: -64px;
}

/* UL - login-succes */
p#view-genericsuccess-security {
    margin: 20px auto;
}

.mdc-input-group-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 28px;
}

/**********
** Bandeau du CAS 
**/

#bandeau { 
    justify-self: center;
}

#bandeau a { 
    display: block; 
}

#bandeau img {
     width: 100%;
    /* margin: 20px 0px ;*/
     border-radius: 20px;
     border: 3px solid #88a1c3;
}

/* Accessibilité : Texte non visible du lecteur mais lu par un lecteur d'écran qui est là quand on veut ajouter du contexte à ces utilisateurs. D'où sr only (screen reader only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* évite le retour à la ligne */
  border: 0;
}

/**********
** INTERFACE ADMIN DASHBOARD 
**/

#dashboard h1, #dashboard h2, #dashboard h3, #dashboard h4, #dashboard h5, #dashboard h6, #dashboard p, #dashboard a, #dashboard a:hover, #dashboard a:visited, #dashboard a:active {
    color: inherit;
}

#dashboard h2, #dashboard h3 {
    font-size: 20px;
    margin-top: 15px;
}

body.dashboard {
    background-image: linear-gradient(to left, #234393 0%, #12868d 100%);
}

body.dashboard .mdc-drawer-app-content {
    margin: 15px auto;
    width: 98vw;
    padding: 0;
    background-color: #fff;
    background-image: none;
    box-shadow: none;
    border-radius: 10px;
}

body.dashboard #header {
    display: none;
}


body.dashboard #main-content {
    max-width: 100%;
    padding: 0;
}

body.dashboard label {
    border: 1px solid;
}

body.dashboard .mdc-text-field {
    width: auto;
    min-width: 362px;
}

body.dashboard .mdc-button--raised:not(:disabled, .reveal-password) {
    border-radius: 25px;
    background-color: #114377;
    filter: none;
    box-shadow: none;
}

#dashboard {
    display: flex;
    height: 100vh;
    padding: 15px 0;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
}
#dashboard > span {
    position: sticky;
    top: 0;
}

#dashboard form {
    max-width: 100%;
    width: 100%;
}

.sidebar-navigation ul li {
    padding: 15px 0;
}

/**********
** Reprise du CSS Ancien CAS 
**/

h1, h2, h3, h4, h5, h6, p, a, a:hover, a:visited, a:active {
	font-family: Barlow, sans-serif;
	color: #fff;
}

a:focus-visible {
    border:1px solid white;
}

#header a{
    display:block;
}

* {margin:0; padding:0;}
  
html {
    font: 90%/1.3 Barlow, "Verdana","Times New Roman", serif;
    background:#FFFFFF ;
    color: #293e77;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;  
}

main {
    display: flex;
    align-self: center;
}
 
#header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: center;
    text-align: center;
}
  
  /* UL - Ajout nouveau theme */
#header h1, #sidebar a{
    color:#fff;
    font-weight: 700;
}

#header h1 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
}

/* Passage du logo noir en blanc */
#header img {
    filter: invert(1);
    width:auto;
    height:60px;
}
  
#content, #login {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-self: center;
}
  
.securite {
    color: white;
    margin-bottom: 1em;
    font-size: 1.2em;
    /* UL - Ajout nouveau theme */
    min-width: 300px;
}
  
.alert-danger{    
    width: 100%;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 15px;
    margin: 0em auto 1em auto;
    background-color: #b71f1f;
    color: white;
    box-shadow: none;
    border: none; 
    font-weight: bold;
    text-align: center;
} 
  
.alert-success{
    width: 80%;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 15px;
    margin: 0em auto 1em auto;
    background-color: #27856E !important;
    color: white;
    font-weight: bold;
    text-align: center;
}

.alert-success h2 {
    font-weight: bold;
    font-size:1.2em;
    margin-bottom:20px;
}
  
#login h3, .informations {
    width:80%;
    border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;
    padding: 15px;
    margin: 0em auto 1em auto;
    background-color: #088391;
    color:white;
    font-weight: bold;
}
  
.informations a{
    color:white;
}
  
input[type=text], input[type=password]{
    background-color: #fff;
    border-radius: 25px;
    letter-spacing: 1px;
    height: 40px;
    font-family: Verdana,sans-serif;
    font-size: 1em;
    min-height: 1.5em;
    width: 240px;
    z-index: 100;
    border:none;
    color: #263C7F;
    margin: 5px 0;
    /* padding: 0 20px;*/
    outline: none;
}

/* label de formulaire */
label {
    display: none;    
    background-color:#fff;
}
  
/* bouton probleme de mot de passe */
.btn-mdp {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}
  
#sidebar {
    font-size:1.2em;
    color: #ffffff;
    /* UL - Ajout nouveau theme
    margin: 20px auto 0 auto;
    */
    margin: 0 auto;
    font-style: italic;
    padding: 20px;
    text-align:center;
}

  
#sidebar:before {
    border-top: 1px solid #fff;
    width: 60px;
    content: "";
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
}
  
#notices {
    height:auto;
}
  
#notices #insecureNotice, #notices #cookiesDisabled {	
    width:60%;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 5px;
    margin:0.5em auto;
    background-color: #b71f1f;
    color: white;
    font-weight: bold;	
}


/**** Personnalisation des medias query  MAX WIDTH 1023px ****/
@media screen and (max-width:1023px) {
    /* UL - Ajout nouveau theme*/
    .mdc-drawer-app-content {
        min-height: 97vh;
        padding-top: 30px;
        flex-direction: column;
        color:#fff;
        background-image: url(/images/skyline-finale.png), linear-gradient(to left, #234393 0%, #12868d 100%);
        background-position: center bottom;
        background-size: auto 5em, 100% 100%;
        background-repeat: no-repeat;
        border-radius: 15px 15px 100px 15px;
    }
    
    /* Bandeau CAS*/
    #bandeau img{
        width: 100%;
    }

    body {
          padding: 10px 0;
    }

 /*   .securite {
        display:none;
    }
*/
    #header h1 {
        margin: 0;
    }
      
    #notices {
        margin-top: 0.5em;
    }

    #notices #insecureNotice, #notices #cookiesDisabled {
        width: 90%;		
    }
      
    #container {
          margin-bottom: 13em;
          background-size: auto 5em, auto 14em;
    }
    
    #grid {
        display: flex;
        flex-direction:column;
    }
}

/**** Personnalisation des medias query  MIN WIDTH 1024px ****/

@media screen and (min-width: 1024px) {
    body {
	 min-height: 100vh; 
    }
    /* UL - Ajout nouveau theme*/
    .mdc-drawer-app-content {
        min-height: 80vh;
        margin: 30px auto;
        overflow:hidden;
	padding: 5em;
    }
      
    #bandeau {
        width: 70%;
    }

    #header {
        flex-basis: 30%;
    }
    
    #header h1 {
        margin: 40px 0;
    }
    
    #grid {
        display: grid;
        grid-template-columns: 30% 70%;
    }
}
  
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
      
}

/**** Si touche VERR MAJ active ****/
.caps-warn {
    display: none;
}

.caps-on {
    order: 3
}

.caps-on DIV SPAN {
    display: block;
    color:#fff;
}

.caps-on span:before {
    vertical-align: sub;
    content: "\F0027";
    font: normal normal normal 24px/1 "Material Design Icons";
}

.mdi:before, .mdi-set {
	display: inline-block;
	font: normal normal normal 24px/1 "Material Design Icons";
	font-size: inherit;
	text-rendering: auto;
	line-height: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}