/* * * * * * * * * * * * * * * * * * * * * *
 * Global
 * * * * * * * * * * * * * * * * * * * * * */
*::selection { background: transparent; }
*::-moz-selection { background: transparent; }

html, body {
    height: 100%;
    min-height: 100%;
    width: 100%;
    font-size: 10px;
}

body {
    margin: 0;
    padding: 0;
    background : #21252C;
    overflow-x:hidden;
}

.img-fluid {
    height: auto;
    max-width: 100%;
}

.header .icon.icon-manh-sc.logo-manh {
    font-size: 11rem;
    color: white;
}

.sc-login .icon-manh-sc:before {
    content: "\e900";
}

.app-label {
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
    color: #fff;
}

.welcome-label {
    color: grey;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight:normal;
    font-size: 1.5rem;
    padding: 0 1rem 1rem 0;
    margin: 0 1rem 1rem 0;
    width: 100%;
    text-align: center;
}
.welcome-message {
    width:100%;
    text-align:center;
}
.welcome-error {
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0 auto 1rem;
    background: #FF4d4d;
    border-radius: 0.5rem;
    padding: 1rem 1rem;
    color: #ffffff;
    width: 71%;
    text-align: left;
    font-weight: normal;
    max-width: 29rem;
}

.manh-link span, .manh-link span a, .content-logo span, .content-logo a  {
    color: #ffffff;
}

.manh-link {
    font-family: 'Source Sans Pro', sans-serif;
    z-index: 999;
    margin-right: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.container
{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.container.logout
{
    height: 58%;
}

.container.logout .header
{
    margin-top: 7rem;
}

form#logout-form {
    margin-top: 15%;
    margin-bottom: 15%;
}

.form-field input {
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
    color: rgb(53, 66, 82);
    -webkit-text-fill-color: grey;
    background-color: white;
    border-radius: 2px;
}

.form-field input:focus {
    outline: none !important;
}

::-webkit-input-placeholder {
    color: #fff;
}
::-moz-placeholder {
    color: #fff;
}
:-ms-input-placeholder {
    color: #fff;
}
:-moz-placeholder {
    color: #fff;
}

.button {
//background-image: linear-gradient(-180deg, #7D8594 0%, #5E6877 100%);
    background-color: #2D2F3B;
    border-radius: 10px;
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
}
.button:hover{
    background-color: #3C4051;
}

.footer {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
}

.footer.logout {
    height: 42%;
}

.other-link-container {
    padding-top: 14px;
    padding-bottom: 14px;
}

.other-link-container a,.other-link-container a:visited{
    color: grey;
    font-size: 12px;
    padding: 1rem;
    font-family: 'Source Sans Pro', sans-serif;;
    text-decoration: underline;
}

.other-link-container a:active, .other-link-container a:hover{
    color: #ffffff;
}

.content-logo.login {
    margin-top: 2rem;
    text-align: center;
}

.content-logo {
    font-family: 'Source Sans Pro', sans-serif;;
    margin-right: 15px;
    z-index: 999;
}

/* * * * * * * * * * * * * * * * * * * * * *
 * Browser
 * * * * * * * * * * * * * * * * * * * * * */

.header img {
    width: 27.5rem;
    margin-bottom: 21px;
}

.app-label {
    font-size: 1.6rem;
    margin: 1rem 0;
}

.welcome-label {
    font-size: 1.5rem;
}

.welcome-error {
    font-size: 1.5rem;
}

.form-field {
    margin-bottom: 3rem;
}

.form-field input {
    width:26.5rem;
    background-color: #21252C;
    border-color: #21252C;
    padding: 5px 10px;
    font-size: 14px;
    border-bottom: 2px solid grey;
    color:grey;
    font-family: 'Source Sans Pro', sans-serif;
}


.form-field input:hover, .form-field input:focus{
    border-bottom: 2px solid #4f93e4;
}

.button {
    margin-top: 2rem;
    padding: 1.5rem;
    font-size: 15px;
}

.footer {
    background-image: url('../images/sc-footer-tablet.svg');
    clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    background-size: cover;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

#copyright a {
    pointer-events: none;
    text-decoration: none;
    display: inline-block;
}
/* * * * * * * * * * * * * * * * * * * * * *
 * XS Mobile Devices
 * * * * * * * * * * * * * * * * * * * * * */
@media only screen and (max-width: 375px) {

    .app-label {
        font-size: 1.5rem;
    }

    .welcome-label.logout {
        font-size: 1.1rem;
    }

    .form-field {
        margin-bottom: 2rem;
    }

    .form-field input {
        font-size: 1.2rem;
        padding: 1.2rem;
        width: 22rem;
    }

    .footer {
        background-image: url('../images/sc-footer-tablet.svg');
    }

    .welcome-label {
        margin: 1.5em 0 0;
    }

    .button {
        margin-top: .5rem;
    }

    .header .icon.icon-manh-sc.logo-manh {
        font-size: 10rem;
        height: 70px;
    }

    .content-logo.login {
        bottom: 18px;
    }

    .content-logo.login {
        bottom: 18px;
    }

    .content-logo.login img {
        height: 3rem;
    }
}


/* * * * * * * * * * * * * * * * * * * * * *
 * Tablet (order is important. Last one takes
 * precedence!)
 * * * * * * * * * * * * * * * * * * * * * */

@media only screen and (min-width : 768px) and (max-width : 1024px) {

    .header .icon.icon-manh-sc.logo-manh {
        font-size: 12rem;
    }

    .app-label {
        font-size: 1.7rem;
        margin: 1rem 0;
    }

    .welcome-label {
        font-size: 1.5rem;
    }

    .welcome-error {
        font-size: 1.5rem;
    }

    .form-field {
        margin-bottom: 2.5rem;
    }

    .form-field input {
        font-size: 1.2rem;
        padding: 1.2rem;
        width:28rem;
    }

    .button {
        padding: 1.5rem;
        font-size: 15px;
        margin-top: 3rem;
    }

    .footer {
        background-image: url('../images/sc-footer-tablet.svg');
        clip-path: polygon(50% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%);
        background-repeat: no-repeat;
    }

}

/* * * * * * * * * * * * * * * * * * * * * *
* XS Mobile Devices in landscape mode
* * * * * * * * * * * * * * * * * * * * * */
@media only screen and (max-height: 414px) and (orientation: landscape) {
    .button {
        margin-top: 0;
        padding: .7rem;
    }

    .form-field {
        margin-bottom: 1.2rem;
    }

    .header .icon.icon-manh-sc.logo-manh {
        font-size: 11rem;
    }
}

@media only screen and (max-height: 320px) and (orientation: landscape) {
    .button {
        margin-top: 0;
        padding: .7rem;
    }

    .form-field {
        margin-bottom: 1rem;
    }

    .other-link-container {
        padding-top: 9px;
        padding-bottom: 0;
        z-index: 999;
    }

    .header .icon.icon-manh-sc.logo-manh {
        font-size: 4.2rem;
        height: 30px;
    }

    .welcome-label.logout {
        font-size: 1.0rem;
    }

    .container.logout {
        margin-bottom: 1rem;
    }

    .content-logo.login img {
        height: 3.5rem;
    }

    form#logout-form {
        margin-top: 12%;
        margin-bottom: 12%;
    }
}

@media only screen and (max-height: 270px) and (orientation: landscape) {

    .content-logo.login {
        margin-top: 2.0rem;
    }

    .welcome-label.login {
        margin-bottom: 1.4rem;
        margin-top: 1.8rem;
    }

    .header.login {
        display: none;
    }

    .content-logo.login img {
        height: 2.2rem;
    }

    .container.logout {
        height: 58%;
    }

    .footer.logout {
        height: 42%;
    }

    .welcome-label.logout {
        margin-top: .1rem;
    }

    form#logout-form {
        margin-top: 5%;
        margin-bottom: 5%;
    }
}

/**
* iPod 5 specific styling
* Please remove when we no longer support iPod 5
*/
html.ua-mobile-ipod.ua-ios-9 .header.login {
    display: none;
}

html.ua-mobile-ipod.ua-ios-9 .other-link-container {
    padding-top: 15px;
    padding-bottom: 0;
    z-index: 999;
}

html.ua-mobile-ipod.ua-ios-9 .welcome-message {
    margin-top: 2rem;
}

html.ua-mobile-ipod.ua-ios-9 .content {
    margin: 30px 0 20px 0;
}

html.ua-mobile-ipod.ua-ios-9 .footer {
    display: none;
}

@media only screen and (orientation: landscape) {

    html.ua-mobile-ipod.ua-ios-9 .form-field {
        margin-bottom: 2rem;
    }

    html.ua-mobile-ipod.ua-ios-9 .content-logo.login {
        margin-top: 3.8rem;
    }

    html.ua-mobile-ipod.ua-ios-9 {
        font-size: 7px;
    }

    html.ua-mobile-ipod.ua-ios-9 .welcome-message {
        margin-top: 0.5rem;
    }

    html.ua-mobile-ipod.ua-ios-9 .content {
        margin: 0;
    }
}
/**
* End of iPod 5 specific styling
*/
