/*
 *B@(#)
 *
 * Component........: Identity Provider
 * Filename.........: idp.css
 * Author...........: Raina Mathew
 * Creation Date....: 15-Jun-2020
 * Description......: IDP Login page styles.
 * Notes............:
 * See also.........:
 * Revision History.:
 * Date             Changed By              Version        Reason
 *============================================================================
 * 15-Jun-2020      Raina Mathew            1.00           Initial version
 * 
 *@(#)E
 */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    overflow: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: #E8EFFA;
    font-size: 12pt;
    word-break: break-word;
    display: none;
}

input[type=text],
input[type=password] {
    width: 60%;
    max-width: 500px;
    padding: 5px;
    margin: 2px 0 8px 0;
    display: inline-block;
    border: 1px solid #D7D7FF;
    box-sizing: border-box;
}

.submit-button,
.close-button {
    background-image: linear-gradient(to bottom, #ffffff 0%, #c4d4f5 100%);
    border: 1px solid #6C8BD9;
    color: #000000;
    padding: 5px 20px 4px 20px;
    font-size: 8pt;
    cursor: pointer;
}

.close-button {
    height: 20px;
    padding: 4px 10px;
}

.img-container {
    text-align: right;
    width: 35%;
    height: 35%;
    position: absolute;
    right: 15px;
    top: 15px;
}

.tenant-container {
    width: 55%;
    display: inline-block;
}

.container {
    padding: 15px;
}

.soarian-logo {
    width: 85%;
    max-width: 230px;
    min-width: 75px;
    padding-bottom: 10px;
}

.clinicals-logo {
    width: 80%;
    max-width: 200px;
    min-width: 70px;
    padding-bottom: 15px;
}

.tenant-name {
    font-size: 14pt;
    padding: 5px 0 15px 0;
}

/* 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 Content */
.modal-container {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 3px solid #6C8CD9;
    width: 530px;
    max-width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-terms,
.modal-about {
    height: 70%;
    top: 12%;
}

.modal-contact {
    height: 30%;
    top: 30%;
}

.modal-about-error {
    height: 30%;
    top: 30%;
    color: red;
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 17px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 3px;
    margin: -1px;
    font-size: 10pt;
    background-color: #6C8CD9;
    color: white;
    height: 20px;
}

.modal-body {
    padding: 10px;
    background-color: #E8EFFA;
    font-size: 9pt;
    line-height: 1.5em;
    height: 86%;
    overflow: auto;
    height: calc(100% - 70px);
}

.modal-footer {
    padding: 2px 16px;
    background-color: #F2F0E6;
    border-top: 1px solid #A8BBE0;
    text-align: center;
    height: 20px;
}

.btn-links button,
.btn-links a {
    -webkit-appearance: none;
    background: none;
    border: none;
    border-bottom: 1px dotted #FFAA00;
    font: 9pt Tahoma;
    color: #000000;
    display: block;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: left;
}

.btn-links button:hover,
.btn-links a:hover {
    cursor: pointer;
    background-color: #FFE8BA;
}

#faqBtnLink {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.copyright-message {
    padding-top: 10px;
    font: 9pt Tahoma;
}

.failure-message {
    color: red;
    padding-bottom: 5px;
    font-size: 10pt;
}

.modal-content, 
.about-frame {
    height: 100%;
    width: 100%;
    border: 0;
}

.modal-contact .modal-content {
    white-space: pre-wrap;
}

.modal-terms .modal-content {
    display: inline-block;
}

.error-page {
    display: block;
}

.error-page .username-password-holder, .error-page .btn-links, .error-page .img-container, 
.error-page .submit-button {
    display: none;
}

.error-page .tenant-container {
    width: 100%;
}

.error-page .failure-message {
    padding: 30px 0 80px 0;
}

/* If the screen size is 400px wide or less, set the font-size */
@media screen and (max-width: 400px) {
    body {
        font-size: 10pt;
    }
    .tenant-name {
        font-size: 12pt;
    }
}

@media screen and (max-width: 250px) {
    .tenant-name {
        font-size: 10pt;
    }
}