:root {
    --cas-theme-primary: #153e50;
    --cas-theme-primary-bg: rgba(21, 62, 80, 0.2);
    --cas-theme-primary-light: #006d85;
    --cas-theme-secondary: #74C163;
    --cas-theme-success: var(--cas-theme-secondary);
    --cas-theme-danger: var(--mdc-theme-error);
    --cas-theme-warning: #e6a210;
    --cas-theme-border-light: 1px solid rgba(0, 0, 0, .2);
    --cas-theme-twitter-color: #55acee;
    --cas-theme-vimeo-color: #1ab7ea;
    --cas-theme-vk-color: #587ea3;
    --cas-theme-yahoo-color: #720e9e;
    --cas-theme-google-color: #CC5445;
    --cas-theme-facebook-color: #3B5998;
    --atlassian-theme-primary: #0747a6;

    --mdc-theme-primary: var(--cas-theme-primary, #153e50);
    --mdc-theme-primary: #008A0C;
    --mdc-theme-text-secondary-on-background: #666666;
    --mdc-theme-text-primary-on-background: #333333;

    --mdc-shape-small: 0px;

    --mdc-typography-subtitle1-font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
    --mdc-typography-font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;

    --mdc-typography-button-font-size: 90%;
    --mdc-typography-button-letter-spacing: initial;
    --mdc-typography-button-font-family: Roboto, sans-serif;
    --mdc-typography-button-text-transform: none;

}


.atlassian {
    --mdc-theme-primary: var(--atlassian-theme-primary, #0747a6);
}

@font-face {
    font-family: "Pochoir";
    src: url('/themes/uhb/polices/Pochoir_pleine-560ee8fb254a16deb093f2cc0bc013d2.otf');
}

body {
    color: var(--mdc-theme-text-primary-on-background);
    background-color: var(--mdc-theme-background);
    font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
    line-height: 1;
    font-size: 16px;
    width: 610px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
}

a {
    text-decoration: none;
    color: #3274C6;
}

a:visited {
    color: #3274C6;
}

a:hover {
    color: #3274C6;
    text-decoration: underline;
}

h1 {
    font-size: 1.7em;
    font-weight: bold;
    font-family: "Pochoir", Verdana, Tahoma, "DejaVu Sans", sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 100%;
    /*font-size: 12px;*/
    font-weight: normal;
    text-align: left;
    margin-top: 0;
}


/* h3.text-center {
    display: none;
} */

p {
    font-size: 82%;
    padding-left: 20px;
}

.pb-4,
.py-4 {
    padding-bottom: 5px !important;
}

.pt-4,
.py-4 {
    padding-top: 5px !important;
}


ul {
    text-align: left;
    padding-left: 0px;
}

li {

    font-size: 80%;
    list-style-image: url(images/puce_bleue.jpg);
    list-style-image: none;
    list-style-type: none;
    margin-top: 5px;

}

#content {
    clear: both;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
}

.container-lg {
    padding: 0;
}

.cas-logo {
    display: block;
    background: url('/themes/uhb/images/logo-c9070b81efb1ecfecc3ce7d808f40109.svg') no-repeat;
    background-size: 100px 102px;
    float: left;
    height: 102px;
    width: 100px;
    margin-top: 20px;
    margin-left: -18px;
    margin-bottom: 10px;
    border: 0px;
}



.cas-brand span.sr-only,
.cas-brand span.visually-hidden {
    position: relative;
    width: initial;
    height: initial;
    font-size: 1.7em;
    font-weight: bold;
    font-family: "Pochoir", Verdana, Tahoma, "DejaVu Sans", sans-serif;
    text-transform: uppercase;
    margin-top: 48px;
    padding-left: 56px;
    display: inline-block;
}

.reveal-password-icon,
.reveal-password {
    position: relative;
    top: -5px;
    box-shadow: none !important;
}

.reveal-password span.visually-hidden {
    display: none;
}


#app-bar {
    background-color: white;
    color: var(--mdc-theme-text-primary-on-background);
    box-shadow: none;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}


.mb-3,
.my-3 {
    margin-bottom: 1.4em !important;
}

hr.my-4 {
    display: none !important;
}


/* 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;
}


.mdc-top-app-bar__section--align-end,
.mdc-top-app-bar__section--align-start {
    display: none;
}

.mdc-top-app-bar--fixed-adjust {
    padding-top: 17px;
    margin-bottom: -1px;
}

.mdc-top-app-bar__section {
    display: block;
    padding: 0;
}

.mdc-top-app-bar__row {
    height: auto;
}


.mdc-card {
    box-shadow: none;
    width: 86%;
}

.mdc-floating-label {
    color: var(--mdc-theme-text-primary-on-background) !important;
    float: left;
    font-size: 80%;
    font-weight: bold;
    text-align: left;
}

.mdc-floating-label--float-above {
    color: var(--mdc-theme-primary) !important;
}

.mdc-text-field {
    width: 75%;
    background-color: #DDDDDD;
    color: var(--mdc-theme-text-primary-on-background) !important;
    font-weight: bold;
    min-height: 1.1em;
    margin: 5px auto;
    padding: 7px 2%;

}


.mdc-text-field--outlined {
    height: 32px;
    overflow: visible;
}

.mdc-text-field--outlined .mdc-floating-label {
    left: 1px;
    top: -13px;

}

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
    border-top-left-radius: var(--mdc-shape-small, 4px);
    border-bottom-left-radius: var(--mdc-shape-small, 4px);
    border: 0px;
}

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing {
    border-top-right-radius: var(--mdc-shape-small, 4px);
    border-bottom-right-radius: var(--mdc-shape-small, 4px);
    border: 0px;
}

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {
    border: 0px;
}

.mdc-button {
    outline: none;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    margin: 10px auto;
    margin: 10px auto;
    display: block;
    clear: both;
    cursor: pointer;
    box-shadow: none !important;
}

header {
    background: url('/themes/uhb/images/cas-haut-bcdcabfed1c89da14bcc070a1213e168.png') no-repeat top center;
    line-height: 3em;
    border: none;
    font-weight: bold;
    overflow: hidden;
    padding-top: 20px;
}

header h1 {
    margin-top: 32px;
    /* float: right;
    width: 119px;
    height: 60px;
    text-indent: -999em;*/
    font-size: 170%;
    line-height: 3em;
}

.help {
    line-height: 1.1em;
    font-weight: normal;
    text-align: justify;
    font-size: 80%;
}

footer {
    font-size: 70%;
    line-height: 1.1em;
}

/* widgets */

.notifications-count {
    position: absolute;
    top: 10px;
    right: 12px;
    background-color: #b00020;
    background-color: var(--cas-theme-danger);
    color: #fff;
    border-radius: 50%;
    padding: 1px 3px;
    font: 8px 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-check:not(.caps-on) .caps-warn,
.caps-check:not(.caps-on)+.caps-warn {
    display: none;
}

.login-section {
    border: none;
    /*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;
    }
}

.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;
}

.banner {
    padding: 0.1rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, .2);
    border: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, .2));
    position: relative;
    border-radius: 4px;
    margin-bottom: 10px !important;
}

.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 {
    border-color: #b00020;
    border-color: var(--cas-theme-danger, #b00020);
}

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

.banner-warning {
    border-color: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
    color: #e6a210;
    color: var(--cas-theme-warning, #e6a210);
}

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

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

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

.banner-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    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-text-secondary-on-background, #6200ee);
    color: whitesmoke;
}

.cas-footer a {
    color: deepskyblue;
}

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

span#copyright {
    display: none !important;
}

span.mr-2 {
    display: none !important;
}

code.version {
    display: none !important;
}

.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));
}

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

.mdi {
    content: "";
}

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

/* custom components */

.custom-select {
    display: inline-block;
    min-width: 200px;
    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 */

.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;
}

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

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

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

.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: #e6a210;
    border-color: var(--cas-theme-warning, #e6a210);
}

.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%;
}

.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-color: #153e50;
    border: 1px solid var(--cas-theme-primary, #153e50);
    border-radius: 4px;
    font-size: 82%;
}

.mdc-input-group {
    display: flex;
    align-items: stretch;
}

.mdc-input-group .mdc-input-group-field {
    flex: 1 1 auto;

}

.mdc-input-group .mdc-input-group-field .mdc-text-field {
    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: 33px;
}

label[for=token] button {
    position: relative;
    top: 0px;
    left: 0px;
}

label[for=password] button {
    position: relative;
    top: 17px;
    left: 8px;
}


.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;
}

.mdc-text-field-helper-line {
    display: none;
}

.text-danger,
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon.text-danger,
.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text.text-danger {
    color: #b00020;
    color: var(--cas-theme-danger);
    display: none;
}

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

.mdc-button--raised:not(:disabled) {
    background-color: var(--mdc-theme-primary, #153E50);
}

.mdc-button--raised.mdc-button-twitter:not(:disabled) {
    background-color: #55acee;
    background-color: var(--cas-theme-twitter-color, #55acee);
}

.mdc-button--raised.mdc-button-vimeo:not(:disabled) {
    background-color: #1ab7ea;
    background-color: var(--cas-theme-vimeo-color, #1ab7ea);
}

.mdc-button--raised.mdc-button-vk:not(:disabled) {
    background-color: #587ea3;
    background-color: var(--cas-theme-vk-color, #587ea3);
}

.mdc-button--raised.mdc-button-yahoo:not(:disabled) {
    background-color: #720e9e;
    background-color: var(--cas-theme-yahoo-color, #720e9e);
}

.mdc-button--raised.mdc-button-google:not(:disabled) {
    background-color: #CC5445;
    background-color: var(--cas-theme-google-color, #CC5445);
}

.mdc-button--raised.mdc-button-facebook:not(:disabled) {
    background-color: #3B5998;
    background-color: var(--cas-theme-facebook-color, #3B5998);
}

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

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

.w-66 {
    width: 66%;
}

.w-33 {
    width: 33%;
}

.w-25 {
    width: 25%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.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%;
}

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

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

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

.vw-100 {
    width: 100vw;
}

.vh-100 {
    height: 100vh;
}

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

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

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

@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%;
    }
}

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

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

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

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

#duo_iframe {
    width: 100%;
    min-width: 304px;
    height: 330px;
    border: none;
    padding: 0;
    margin: 0;
}

#serviceui {
    background-color: #17a3b844;
    border-radius: 4px;
    display: none;
}

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

/* IE flex fix */

#main-content {
    margin-right: inherit;
    margin-left: inherit;
}

/* 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;
        /* according to flexbugs, flex-basis should be explicitly set for IE */
        /* https://github.com/philipwalton/flexbugs#flexbug-4 */
    }
}

/* flex-basis: auto works in IE with the column view,
     but a specific value needs to be set for row view
   */

/* Modif Gwendal */
body {
    color: #333333;
}

#main-content {
    padding: 0 !important;
}


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

.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
    width: 5.4px;
}

.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {
    letter-spacing: normal;
}

.mdc-text-field--outlined,
.mdc-input-group .mdc-input-group-prepend,
.mdc-input-group .mdc-input-group-append {
    height: 33px;
}

button.mdc-button--raised[type="submit"] {
    width: 50%;
    font-family: var(--mdc-typography-button-font-family);
    letter-spacing: normal;
    padding: 7px 2%;
    min-height: 33px;
    height: auto;
    font-size: 13.333px;
}

button#login {
    display: inline-flex;
}

a#cancel {
    display: inline-flex;
}


.mdc-button--raised:not(:disabled):hover {
    background-color: #109A1C;
}

.cas-field {
    width: 392px;
}

.cas-field .mdc-text-field {
    padding: 7px 9px;
}

#loginForm {
    padding: 0;
}

#loginForm .cas-field .mdc-text-field input {
    font-weight: bold;
    letter-spacing: normal;
    font-family: var(--mdc-typography-button-font-family);
    color: #666;
}

.form-wrapper {
    padding: 0.5em 4em 0 54px;
    width: auto;
}

.mdc-card {
    width: 90%;
    margin: auto;
}

#pmlinks {
    margin-top: 20px !important;
    margin-bottom: 6px !important;
}

#pmlinks * {
    margin-bottom: 0;
}

.mdi.mdi-account-question {

    display: none;
}

#sidebar {
    padding-left: 53px;
    font-size: 80%;
    font-weight: normal;
    text-align: justify;
    line-height: initial;
    margin-bottom: 5px;
    margin-top: 1px;
}

#sidebar h2 {
    margin-bottom: 13px;
}

#sidebar ul {
    margin-top: 0;
}

#sidebar a {
    font-weight: bold;
}


footer.cas-footer {
    background: url('/themes/uhb/images/cas-bas-fbd0a9a0b6018cb4a9d2df0cb9b2f538.png') #fff no-repeat bottom center;
    justify-content: right;
}

#serveur {
    margin-top: 30px;
    margin-bottom: -17px;
    color: var(--mdc-theme-text-primary-on-background)
}

.mdc-drawer-app-content {
    overflow: visible;
}

div.errors {
    color: #D83E00;
    margin: -20px 0 19px 0;
}

div.errors a {
    font-weight: bold;
}

#loginErrorsPanel {
    color: #D83E00;
    font-family: verdana;
    border: none;
    font-size: 16px;
    position: relative;
    top: -39px;
    left: -28px;
    margin-bottom: -48px;
    width: 110%;
    padding: 0.5em;
    Z-index: 10;
    line-height: normal;
}

#loginErrorsPanel p {
    font-size: unset;
    padding: 0;
}

@media (max-width: 610px) {
    body {
        width: 100%;
    }

    #app-bar,
    #content,
    footer.cas-footer {
        padding: 0;
        background: none;
    }

    .cas-brand {
        padding: 0 5px;
        display: flex;
        flex-direction: row-reverse;
    }

    #app-bar .cas-brand span {
        white-space: normal;
        line-height: 1em;
        font-size: 1.3em;
        margin-top: 10px;
    }

    #app-bar .cas-brand * {
        margin: 0;
        padding: 0;

    }

    .mdc-card {
        width: 100%;
    }

    .form-wrapper {
        padding: 0.5em 1em 0 1em;
    }

    .cas-field {
        width: 100%;
    }

    #sidebar {
        padding: 0 1em;
    }
}