/* titillium-web-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/titillium-web-v17-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-200italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/titillium-web-v17-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/titillium-web-v17-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/titillium-web-v17-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/titillium-web-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/titillium-web-v17-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/titillium-web-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/titillium-web-v17-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/titillium-web-v17-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/titillium-web-v17-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* titillium-web-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/titillium-web-v17-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.6;
    background-color: rgb(0, 61, 124); /* Updated background color */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Main Container Styling */
#idpSelectIdPSelector {
    width: 80%; /* Allows the container to grow with the window size */
    max-width: 900px; /* Optional: You can set a max-width if desired */
    background-color: #FFFFFF;
    border: 2px rgb(0, 61, 124) solid; /* Updated blue color */
    padding: 20px;
    /* Removed border-radius to keep corners normal */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
}

/* Preferred IdP Tiles */
#idpSelectPreferredIdPTile {
    height: 138px;
}

#idpSelectPreferredIdPTileNoImg {
    height: 60px;
}

/* Preferred IdP Buttons */
div.IdPSelectPreferredIdPButton {
    margin: 5px;
    width: calc(33.33% - 10px);
    float: left;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

div.IdPSelectPreferredIdPButton:hover {
    background-color: #e2e6ea;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hyperlink Styling for IdP Buttons */
div.IdPSelectPreferredIdPButton a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-decoration: none;
    color: inherit;
}

/* Text Div Styling */
div.IdPSelectTextDiv {
    font-size: 24px;
    font-weight: 600;
    height: auto;
    margin-top: 8px;
    color: rgb(0, 61, 124);
}

/* Image Styling */
div.IdPSelectPreferredIdPImg {
    height: 69px;
    margin: 2px;
}

div.IdPSelectPreferredIdPButton img {
    display: block;
    max-width: 100px;
    max-height: 50px;
    margin: 10px auto;
}

/* Input and Selector Styling */
#idpSelectInput, #idpSelectSelector {
    width: calc(84% - 4px);
    padding: 10px;
    margin: 5px 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

#idpSelectInput:focus, #idpSelectSelector:focus {
    border-color: rgb(0, 61, 124); /* Updated blue color */
    outline: none;
}

/* Button Styling */
#idpSelectSelectButton, #idpSelectListButton {
    width: auto; /* Allows the button to size based on content */
    padding: 10px 20px; /* Adds more padding for better text fit */
    margin-left: 5px;
    background-color: rgb(0, 61, 124); /* Updated blue color */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600; /* Makes the button text bold */
    font-family:
}

#idpSelectSelectButton:hover, #idpSelectListButton:hover {
    background-color: rgb(0, 51, 99); /* Darker shade of the blue for hover effect */
}

/* Clear fix for the floated buttons */
#idpSelectIdPSelector::after {
    content: "";
    display: table;
    clear: both;
}

/* Link Styling */
#idpSelectIdPSelector a:link, #idpSelectIdPSelector a:visited {
    text-decoration: underline;
    color: rgb(0, 61, 124); /* Updated blue color */
}

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

/* Dropdown and Help Button Styling */
a.IdPSelectDropDownToggle {
    display: inline-block;
    width: 80%;
}

a.IdPSelectHelpButton {
    /*display: inline-block;*/
    display: none;
    text-align: right;
    width: 20%;
}

/* Dropdown Styling */
ul.IdPSelectDropDown, div.IdPSelectDropDown {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
    font-size: small;
    list-style: none;
    padding-left: 0;
    border: 1px solid #ccc;
    z-index: 6;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

ul.IdPSelectDropDown li, div.IdPSelectDropDown div {
    padding: 10px;
    cursor: pointer;
}

ul.IdPSelectDropDown li.IdPSelectCurrent, div.IdPSelectDropDown div.IdPSelectCurrent {
    background-color: rgb(0, 61, 124); /* Updated blue color */
    color: white;
}

/* Header Styling */
.header {
    background-color: #ffffff; /* White background */
    padding: 10px 20px; /* Padding around the header */
    display: flex;
    align-items: center; /* Center items vertically */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for some depth */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo Styling */
.header .logo {
    min-width: 20%; /* Ensure the logo scales with its container */
    height: auto; /* Maintain aspect ratio */
    max-height: 100px;
    max-width: 40%;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .header {
        padding: 10px;
    }
}


#footer {
    bottom: 0;
    margin: 20px;
    text-align: center;
    width: 100%;
    color: white;
    font-size: 16px;
    position: fixed;
}

#footer a {
    color: white;
    padding: 10px;
}

.ribbon {
    position: absolute;
    right: -5px; top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; height: 75px;
    text-align: right;
}
.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#A5BE00 0%, #a5be00 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; right: -21px;
}
.ribbon span::before {
    content: "";
    position: absolute; left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #a5be00;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #a5be00;
}
.ribbon span::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #a5be00;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #a5be00;
}

#idpSelectPreferredIdPTile {
    display: none;
}

a.IdPSelectDropDownToggle {
    display: none;
}

ul {
    padding-left: 20px;
}