﻿body {
    overflow: hidden;
    font-family: Roboto,Helvetica,Arial,sans-serif;
}

.navbar-header {
    position: relative;
    top: -4px;
}

.navbar-brand > .icon-banner {
    display: inline;
    position: relative;
    top: -2px;
}

.icon {
    position: relative;
    top: -10px;
}

.logout-container, .logged-out-container {
    background: lightgray;
    border: 5px solid darkgray;
    color: black;
    font-size: 20px;
    font-size: 50px;
    height: 200px;
    margin: auto;
    margin-top: 30%;
    margin-top: 200px;
    padding: 20px;
    text-align: center;
    width: 700px;
}

.warning-msg {
    font-size: 20px;
}

.login-link {
    margin-top: 10px;
}

    .login-link > a {
        cursor: pointer;
        font-size: 25px;
        text-decoration: underline;
        vertical-align: top;
    }

.logged-out-container iframe {
    display: none;
    height: 0;
    width: 0;
}

.page-consent .client-logo {
    float: left;
}

    .page-consent .client-logo img {
        height: 80px;
        width: 80px;
    }

.page-consent .consent-buttons {
    margin-top: 25px;
}

.page-consent .consent-form .consent-scopecheck {
    display: inline-block;
    margin-right: 5px;
}

.page-consent .consent-form .consent-description {
    margin-left: 25px;
}

    .page-consent .consent-form .consent-description label {
        font-weight: normal;
    }

.page-consent .consent-form .consent-remember {
    padding-left: 16px;
}

.grants .page-header {
    margin-bottom: 10px;
}

.grants .grant {
    border-bottom: 1px solid lightgray;
    margin-top: 20px;
    padding-bottom: 20px;
}

    .grants .grant img {
        height: 100px;
        width: 100px;
    }

    .grants .grant .clientname {
        font-size: 140%;
        font-weight: bold;
    }

    .grants .grant .granttype {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .created {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .expires {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant li {
        display: inline;
        list-style-type: none;
    }

        .grants .grant li:after {
            content: ', ';
        }

        .grants .grant li:last-child:after {
            content: '';
        }

.osi-providers-container {
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background: #f3f4f5;
    z-index: 10000;
}

.osi-logo {
    background-image: url(../images/logo_osisoft.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 110px;
}

.osi-providers {
    background-color: white;
    box-shadow: 0 10px 30px 0 rgba(0,0,0,0.3);
    left: 50%;
    margin-left: -160px;
    margin-top: -250px;
    position: absolute;
    top: 50%;
    width: 320px;
    padding-bottom: 30px;
}

.osi-providers-text {
    color: #666666;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 28px;
    margin: 5px 0 50px 0;
    text-align: center;
}

.osi-providers-cancel {
    padding: 15px 25px;
    text-align: right;
    width: 100%;
}

.osi-provider {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    background: white;
    border: 1px solid #95a5a6;
    border-radius: 2px;
    color: #666666;
    display: inline-block;
    height: 42px;
    margin: 10px 55px;
    text-align: center;
    width: 210px;
    padding: 9px;
    font-weight: 500;
    font-size: 14px;
}

.osi-provider:hover {
    color: #7f8c8d;
    text-decoration: none;
    filter: brightness(95%);
}

.osi-other-providers {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    color: #7f8c8d;
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
    font-size: 14px;
}

.osi-hr {
    border-top: 1px solid;
    display: inline-block;
    width: 90px;
    height: 5px;
    color: #bdc3c7;
    margin: 0 5px;
}

.osi-provider-microsoft {
    background-image: url(../images/logo_microsoft.png);
    background-repeat: no-repeat;
    height: 20px;
    margin: 10px 60px;
}

.osi-provider-google {
    background-image: url(../images/logo_google.png);
    background-repeat: no-repeat;
    padding: 9px 0 0 10px;
}

.text-center {
    text-align: center !important;
}

.consent-success-container,
.consent-incomplete-container,
.consent-aad-details-container,
.error-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    text-align: center;
    background-color: #f3f4f5;
    height: 100%;
    width: 100%;
}

#consent-success-title {
    color: #000000;
    font-size: 100px;
}

#consent-incomplete-title {
    color: #000000;
    font-size: 100px;
}

#error-failure-title,
#consent-failure-title {
    color: #000000;
    font-size: 100px;
}

.error-content {
    color: #363d42;
    max-width: 600px;
    max-height: 100%;
    margin: 0;
    text-align: center;
}

.cloudy-image {
    width: 150px;
    margin: 0 40px 35px;
    -webkit-animation: 3s ease-out infinite float;
    animation: 3s ease-out infinite float;
}

@keyframes float {
    50% {
        transform: translate(0, 20px);
    }
}

@keyframes shrink {
    0% {
        width: 60%;
        margin: 0 18%;
    }

    50% {
        width: 90%;
        margin: 0 5%;
    }

    100% {
        width: 60%;
        margin: 0 18%;
    }
}

.sad-cloudy-image {
    width: 150px;
    height: 100px;
    margin: auto;
    margin-bottom: 30px;
}

.sad-cloudy-image > div {
    background: url(../images/sadcloud.png) round;
    width: 150px;
    height: 100px;
    animation: 3s ease-out infinite float;
    -webkit-animation: 3s ease-out infinite float;
    transform-origin: center center;
}

.cloudy-shadow {
    width: 130px;
    height: 15px;
    margin: auto;
}

.cloudy-shadow > div {
    background: url(../images/sadcloudshadow.png) round;
    width: 130px;
    height: 15px;
    color: #34495E;
    font-weight: bold;
    animation: shrink 3s ease-out infinite;
    transform-origin: center center;
    opacity: 0.25;
}

#error-id {
    color: #c0392b;
    font-size: 200px;
    height: 220px;
    margin-top: -50px;
}

#error-text {
    color: #c0392b;
    font-size: 80px;
}

.html-error-code {
    position: absolute;
    bottom: 0px;
    right: 0;
    color: #ffffff;
    font-size: 48px;
    filter: brightness(110%);
    padding: 0 20px;
    font-weight: bold;
}

#consent-success-desc,
#consent-incomplete-desc,
#error-desc {
    color: #363d42;
    font-size: 20px;
    margin: 20px;
    max-width: 600px;
    word-wrap: break-word;
}

#error-desc-general {
    color: #c0392b;
    font-size: 30px;
    margin: 20px;
    margin-left: calc(50% - 400px);
    max-width: 800px;
    word-wrap: break-word;
}

#add-details {
    font-size: 14px;
    margin-top: 40px;
    text-align: center;
}

#details-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.details-content {
    padding-top: 5px;
    text-align: center !important;
    max-width: 600px;
    word-wrap: break-word;
}

#btn-contact > a {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    background-color: #4d5ee0;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #ffffff;
    font-size: 13px;
    padding: 5px 10px;
    text-decoration: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

.osi-logo-header {
    padding: 14px 0 0 10px;
    color: #ecf0f1;
    font-size: 13px;
    display: inline-block;
}

.welcome-text {
    font-size: 50px;
    margin-top: 50px;
    text-align: center;
}

.info-tile {
    margin-left: calc(50% - 150px);
    margin-top: 100px;
    width: 300px;
}

.doc-tile {
    background: #2c3e50;
    border-radius: 5px;
    color: #ecf0f1;
    height: 200px;
    padding: 20px;
    width: 300px;
}

.navbar-header {
    height: 40px;
}

.doc-icon {
    background-image: url(../images/doc-icon.png);
    height: 128px;
    margin: 0 auto;
    width: 128px;
}

.doc-content {
    font-size: 20px;
    margin-left: 40px;
    margin-top: 20px;
}


.info-tile a:hover {
    text-decoration: none;
}

.container-height {
    background: #19242d;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

.footer {
    background: #2980b9;
    border-right: 1px solid #2c3e50;
    border-top: 1px solid #2c3e50;
    bottom: 0;
    height: 40px;
    left: 0;
    position: fixed;
    width: 100%;
}

    .footer > span {
        color: #fff;
        font-size: 13px;
        left: calc(50% - 90px);
        opacity: .7;
        position: absolute;
        top: 10px;
        white-space: nowrap;
        width: 180px;
    }


.signin-name > a {
    font-size: 16px;
    color: #4d5ee0;
}

.signin-name > li {
    height: 35px;
    position: absolute;
    right: 5px;
    top: 5px;
}

.html-error-header,
.consent-aad-error-header {
    font-size: 48px;
    color: #363d42;
    margin-top: 20px;
}

.html-error-description,
.consent-aad-error-description {
    margin: 5px 0 20px;
    text-align: center !important;
    font-size: 14px;
    margin: 5px 0 20px;
    max-width: 600px;
    word-wrap: break-word;
}

.error-operation-id {
    margin-top: 20px;
}

.body-container {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0px;
    overflow-y: auto;
	z-index: -1; 
}

.overlay-container {
    position: fixed;
    padding: 20px;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
    overflow-y: auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.tenant-form {
    padding: 20px;
    font-size: 13px;
    border-radius: 3px;
    color: #000000;
    background: #FFFFFF;
    margin: auto;
    box-shadow: 0 0 10px 0 #19242d;
}

.tenant-form-title {
    overflow-wrap: break-word;
    font-size: 20px;
    font-weight: 500;
    background: #ffffff;
    color: #000000;
    padding: 6px 20px;
    margin: -20px -20px 0 -20px;
    border-radius: 3px 3px 0 0;
}

.tenant-form-text {
    padding: 20px;
    margin: 0 -20px 20px -20px;
    color: #000000;
    background: #ffffff;
}

.tenant-form > form > input[type="text"] {
    width: 100%;
    border: 1px solid #d2d6d9;
    border-radius: 3px;
    color: #000000;
    height: 32px;
    font-weight: 400;
    padding: 5px 10px;
    margin: 0 0 5px;
}

.tenant-form > form > input[type="submit"] {
    height: 32px;
    border: none;
    border-radius: 3px;
    float: right;
    background: #4d5ee0;
    color: #ffffff;
    padding: 5px 10px;
    margin: 10px 0 0 0;
}

.device-code-form {
    padding: 20px;
    font-size: 13px;
    border-radius: 3px;
    color: #000000;
    background: #ffffff;
    margin: auto;
    box-shadow: 0 0 10px 0 #19242d;
}

.device-code-form-title {
    overflow-wrap: break-word;
    font-size: 20px;
    font-weight: 500;
    background: #ffffff;
    color: #000000;
    padding: 6px 20px;
    margin: -20px -20px 0 -20px;
    border-radius: 3px 3px 0 0;
}

.device-code-form-text {
    padding: 20px;
    margin: 0 -20px 20px -20px;
    color: #ecf0f1;
    background: #2c3e50;
}

.device-code-form > form > input[type="text"] {
    width: 100%;
    border: 1px solid #d2d6d9;
    border-radius: 3px;
    color: #2c3e50;
    height: 32px;
    font-weight: 400;
    padding: 5px 10px;
    margin: 0 0 5px;
}

.device-code-form > form > input[type="submit"] {
    height: 32px;
    border: none;
    border-radius: 3px;
    float: right;
    background: #4d5ee0;
    color: #ffffff;
    padding: 5px 10px;
    margin: 10px 0 0 0;
}

.success-image {
    background-image: url(../images/success-icon.png);
    width: 300px;
    height: 300px;
    margin-top: 20px;
    vertical-align: middle;
    border-style: none;
    display: inline-block;
}

.consent-aad-success-header {
    font-size: 60px;
    color: #000000;
    text-align: center !important;
    padding: 20px !important;
}

.consent-aad-success-description {
    margin: 20px 5px 5px 20px;
    text-align: center !important;
    font-size: 30px;
    margin-left: calc(50% - 450px);
    max-width: 900px;
    word-wrap: break-word;
}