﻿/*
BAT Theme
Updated: 05.05.2023
Colors

BAT Blue: #0e2b63
BAT Yell: #ffbb00


*/
.helper {
    border-left: 1px solid red;
    position: absolute;
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    display: none;
}

* {
    margin: 0px;
    padding: 0px;
}

html,
body {
    height: 100%;
    width: 100%;
    color: #fff;
    font-weight: normal;
    font-family: Aeroport, Arial, Helvetica, sans-serif;
    min-width: 500px;
}

body {
    font-size: 0.9em;
}

#noScript {
    position: absolute !important;
    box-sizing: border-box;
    background-color: #fff;
    left: 0;
    top: 0;
    padding: 16px;
    margin: 0;
    color: Black;
}

:lang(en-GB) {
    quotes: '\2018' '\2019' '\201C' '\201D';
}

:lang(zh) {
    font-family: 微软雅黑;
}

@-ms-viewport {
    width: device-width;
}

@-moz-viewport {
    width: device-width;
}

@-o-viewport {
    width: device-width;
}

@-webkit-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}


/* Theme layout styles */
#fullPage,
#brandingWrapper {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: inherit;
}

#brandingWrapper {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#branding {
    /* A background image will be added to the #branding element at run-time once the illustration image is configured in the theme.
       Recommended image dimensions: 1420x1200 pixels, JPG or PNG, 200 kB average, 500 kB maximum. */
    height: 100%;
    width: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#branding:before {
    content: '';
    background: linear-gradient(90deg, #0e2b63 30.4785%, rgba(0, 0, 0, 0) 30.4785%), linear-gradient(90deg, #004f9f 52.15788%, rgba(0, 0, 0, 0) 52.15788%), linear-gradient(90deg, #00b1eb 64.72807%, rgba(0, 0, 0, 0) 64.72807%), linear-gradient(90deg, #ef7d00 73.22551%, rgba(0, 0, 0, 0) 73.22551%), linear-gradient(90deg, #ffbb00 79.62792%, rgba(0, 0, 0, 0) 79.62792%), linear-gradient(90deg, #50af47 86.69237%, rgba(0, 0, 0, 0) 86.69237%), linear-gradient(90deg, #afca0b 92.0305%, rgba(0, 0, 0, 0) 92.0305%), linear-gradient(90deg, #5a328a 97.0083%, rgba(0, 0, 0, 0) 97.0083%), linear-gradient(90deg, #e72582 100%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
}

#contentWrapper {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    background-color: transparent;
    /* for IE7 */
    margin: 0;
}

#content {
    flex: 1 1 100%;
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

#header {
    margin-bottom: 24px;
    text-align: center;
}

.logoImage {
    display: block;
    width: 300px;
    transform: translateX(13%);
}

#loginMessage {
    display: none;
}

#workArea {
    flex: 0 1 320px;
    max-width: 320px;
}

#footerPlaceholder {}

#footer {
    width: 100%;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
    color: #fff;
    font-size: 0.78em;
    align-self: flex-end;
}

#footerLinks {
    float: none;
    padding-top: 10px;
}

#copyright {
    color: #fff;
}

.pageLink {
    color: #000000;
    padding-left: 16px;
}


/* Common content styles */

.clear {
    clear: both;
}

.float {
    float: none;
}

.floatReverse {
    float: right;
}

.indent {
    margin-left: 16px;
}

.indentNonCollapsible {
    padding-left: 16px;
}

.hidden {
    display: none;
}

.notHidden {
    display: inherit;
}

.error {
    text-align: center;
    color: #fff;
}

.actionLink {
    margin-bottom: 8px;
    display: block;
}

a {
    color: #ffffff;
    text-decoration: none;
    background-color: transparent;
}

ul {
    list-style-type: disc;
}

ul,
ol,
dd {
    padding: 0 0 0 16px;
}

h1,
h2,
h3,
h4,
h5,
label {
    margin-bottom: 8px;
}

.submitMargin {}

.topFieldMargin {
    margin-top: 8px;
}

.fieldMargin {
    margin-bottom: 8px;
}

.groupMargin {
    margin-bottom: 30px;
}

.sectionMargin {
    margin-bottom: 64px;
}

.block {
    display: block;
}

.autoWidth {
    width: auto;
}

.fullWidth {
    width: 342px;
}

.fullWidthIndent {
    width: 326px;
}

.smallTopSpacing {
    margin-top: 15px;
}

.mediumTopSpacing {
    margin-top: 25px;
}

.largeTopSpacing {
    margin-top: 35px;
}

.smallBottomSpacing {
    margin-bottom: 5px;
}

.mediumBottomSpacing {
    margin-bottom: 15px;
}

.largeBottomSpacing {
    margin-bottom: 25px;
}

input {
    max-width: 100%;
    font-family: inherit;
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 0px;
    outline: none;
}

span.submit,
input[type="submit"] {
    border: 0;
    box-sizing: border-box;
    width: 100%;
    display: block;
    text-align: center;
    padding: 16px;
    background-color: #ffbb00;
    color: #0e2b63;
    cursor: pointer;
    font-weight: bold;
    outline: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    transition: all 150ms ease;
}

input[type="submit"]:hover,
span.submit:hover {
    background: #0e2b63;
    color: #ffffff;
}

input.text {
    border: none;
    outline: none;
    padding: 16px;
    font-weight: normal;
    font-size: 15px;
    box-sizing: border-box;
    color: #000;
    border-bottom: 1px solid #ddd;
}

::placeholder {
    color: rgba(0, 0, 0, .7);
    transition: all 150ms ease;
    font-weight: bold;
}

input.text:focus::placeholder {
    color: rgba(0, 0, 0, .1);
}

input.text#userNameInput {
    border-bottom: 1px solid #ddd;
}

input.text:focus {}

select {
    height: 28px;
    min-width: 60px;
    max-width: 100%;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: none;
    padding: 2px;
    font-family: inherit;
}

h1,
.giantText {
    font-size: 2.0em;
    font-weight: lighter;
}

h2,
.bigText {
    font-size: 1.33em;
    font-weight: lighter;
}

h3,
.normalText {
    font-size: 1.0em;
    font-weight: normal;
}

h4,
.smallText {
    font-size: 0.9em;
    font-weight: normal;
}

h5,
.tinyText {
    font-size: 0.8em;
    font-weight: normal;
}

.hint {
    color: #999999;
}

.emphasis {
    font-weight: 700;
    color: #2F2F2F;
}

.smallIcon {
    height: 20px;
    padding-right: 12px;
    vertical-align: middle;
}

.largeIcon {
    height: 48px;
    /* width:48px; */
    vertical-align: middle;
}

.largeTextNoWrap {
    height: 48px;
    display: table-cell;
    /* needed when in float*/
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1.2em;
}

.idp {
    height: 48px;
    clear: both;
    padding: 8px;
    overflow: hidden;
}

.idp:hover {
    background-color: #cccccc;
}

.idpDescription {
    width: 80%;
}

#authOptions {
    display: none;
}

#introduction {
    text-align: right;
    padding: 16px;
}


/* Form factor: intermediate height layout. Reduce space of the header. */

@media only screen and (max-height: 820px) {
    #header {}
    #workArea {}
}


/* Form factor: intermediate height layout. Reduce space of the header. */

@media only screen and (max-height: 500px) {
    #header {}
    #workArea {}
}


/* Form factor: intermediate layout (WAB in non-snapped view falls in here) */

@media only screen and (max-width: 600px) {
    html,
    body {
        min-width: 260px;
    }
    #brandingWrapper {
        display: none;
    }
    #contentWrapper {
        float: none;
        width: 100%;
        margin: 0px auto;
    }
    #content,
    #footer,
    #header {
        width: 400px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: auto;
        margin-right: auto;
    }
    #workArea {
        width: 100%;
    }
    .fullWidth {
        width: 392px;
    }
    .fullWidthIndent {
        width: 376px;
    }
}

@media only screen and (max-width: 450px) {
    #content,
    #footer {
        width: auto;
        margin-right: 33px;
        margin-left: 25px;
    }
    #header {
        width: auto;
    }
    .fullWidth {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .fullWidthIndent {
        width: 85%;
    }
    .idpDescription {
        width: 70%;
    }
}


/* Form factor: snapped WAB (for WAB to work in snapped view, the content wrapper width has to be set to 260px) */

@media only screen and (max-width:280px) {
    #contentWrapper {
        width: 260px;
    }
    .idpDescription {
        max-width: 160px;
        min-width: 100px;
    }
}