* {
    margin: 0;
    padding: 0;
}

header,
footer,
section,
nav {
    display: block;
}

html,
body {
    height: 100%;
}

a,
img {
    border: none;
    outline: none;
}

@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    src: local('Libre Franklin'), local('LibreFranklin-Regular'),
        url('fonts/libre-franklin-v4-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('fonts/libre-franklin-v4-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('fonts/libre-franklin-v4-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('fonts/libre-franklin-v4-latin-regular.svg#LibreFranklin') format('svg');
    /* Legacy iOS */
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Libre Franklin', Verdana, Geneva, sans-serif;
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
    background: #d9e2f7 center;
    background-size: cover;
    image-rendering: optimizequality;
}

a:link,
a:visited {
    color: #0760FF;
}

.wrapper {
    padding-top: 50px;
}

.container {
    background-color: white;
    text-align: center;
    width: 500px;
    /* Elargissement du container */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    padding-top: 13px;
    /* Ajustement du titre */
    margin: 0 10Px;
    height: 110px;
    border-bottom: 2px solid #0760FF;
    position: relative;
}

header .title {
    text-align: right;
    position: absolute;
    right: 5px;
    top: 15px;
}

header h1 {
    font-size: 1.7em;
}

header h2 {
    font-size: 1.1em;
    margin-left: 70px;
}

header img {
    float: left;
}

header a {
    text-decoration: none
}

header a:hover {
    text-decoration: underline
}

header a:focus {
    border: 2px solid #0760FF;
}

header #helpButton {
    position: absolute;
    bottom: 0;
    right: 5px;
    font-size: 1em;
}

.content {
    overflow: hidden;
}


/*Overwrite Shibboleth CSS*/

#idpSelectIdPSelector {
    border: none;
    text-align: center;
    font-size: 1em;
    width: 480px;
    padding-top: 0px;
}

#idpSelectPreferredIdPTile {
    height: 110px;
    padding-top: 20px;
}

#idpSelectIdPSelector a:hover {
    text-decoration: underline;
}

#idpSelectIdPSelector a:focus {
    border: 2px solid #0760FF;
}

div.IdPSelectPreferredIdPImg {
    display: none;
}

div.IdPSelectPreferredIdPButton {
    margin: 15px;
    width: 159px;
    border: 2px solid #0760FF;
    position: relative;
    left: 50px;
}

div.IdPSelectPreferredIdPButton a {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    float: none;
}

label div.IdPSelectTextDiv {
    border-top: 2px solid #0760FF;
    padding-top: 20px;
    text-align: center;
    padding-bottom: 20px;
}

div.IdPSelectPreferredIdPButton div.IdPSelectTextDiv {
    font-weight: bold;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

#idpSelectSelector {
    font-family: "Libre Franklin", Verdana, Geneva, sans-serif;
    font-size: 0.9em;
    color: #333333;
    border: 1px solid #333;
    background-color: white;
    padding: 5px;
    width: 290px;
}

#idpSelectInput {
    font-family: "Libre Franklin", Verdana, Geneva, sans-serif;
    font-size: 0.9em;
    color: #333333;
    border: 1px solid #333;
    background-color: white;
    padding: 5px;
    width: 280px;
    /* -10px compare to idpSelectSelector to compensate padding */
}

#idpSelectSelectButton,
#idpSelectListButton {
    background: #0760FF;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    color: white;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 80px;
    font-size: 1em;
    font-family: "Libre Franklin", Verdana, Geneva, sans-serif;
    border: 1px solid white;
}

#idpSelectSelectButton:disabled,
#idpSelectListButton:disabled {
    background: #b3cfff;
    cursor: auto;
}

a.IdPSelectDropDownToggle {
    margin-top: 20px;
    width: auto;
}

a.IdPSelectHelpButton {
    display: none;
}

div.IdPSelectautoDispatchTile {
    margin-left: 10px;
    text-align: left;
    display: inline;
}

div.IdPSelectautoDispatchTile input {
    margin-right: 5px;
}

div.IdPSelectautoDispatchArea {
    font-size: 0.8em;
    font-style: italic;
    width: 480px;
    margin-bottom: 5px;
}

div#idpSelectInfo {
    font-size: 0.9em;
    text-align: left;
    width: 500px;
    padding-left: 35px;
    font-family: calibri;
    position: absolute;
    top: 253px;
}

ul.IdpListChoice {
    list-style: square;
    list-style-position: inside;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal a {
    text-decoration: none;
}

.modal a:hover {
    text-decoration: underline;
}

.modal a:focus {
    border: 2px solid #0760FF;
}

/* Modal Content/Box */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    max-width: 800px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Modal Header */
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #888;
}

/* Modal Body */
.modal-body {
    padding: 15px;
    list-style: square inside;
}

/* Modal Body */
.modal-body p {
    margin-bottom: 10px;
}

.modal-body li {
    margin-top: 10px;
}

/* Modal Footer */
.modal-footer {
    border-top: 1px solid #888;
    padding: 15px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    body {
        background-color: white;
    }

    .wrapper {
        padding-top: 0;
    }

    .container {
        min-width: 300px;
    }

    .container,
    #idpSelectIdPSelector,
    div.IdPSelectautoDispatchArea {
        width: auto;
    }

    header .title {
        top: 5px;
    }

    div.IdPSelectPreferredIdPButton {
        position: static;
    }

    #idpSelectSelectButton,
    #idpSelectListButton {
        display: block;
        margin: 25px auto 0;
    }

    div.IdPSelectautoDispatchTile {
        margin-left: 0px;
        text-align: center;
        display: block;
    }

    div.IdPSelectautoDispatchArea {
        margin-top: 15px;
    }
}