/* CSS Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/* Gotham HTF Light */

@font-face {
    font-family: 'gotham HTF';
    src:    url("../font/gothamHTF/gothamhtf-light.woff") format("woff"),
            url("../font/gothamHTF/gothamhtf-light.woff2") format("woff"),
            url("../font/gothamHTF/gothamhtf-light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


/* Gotham HTF Medium */

@font-face {
    font-family: 'gotham HTF';
    src:    url("../font/gothamHTF/gothamhtf-medium.woff") format("woff2"),
            url("../font/gothamHTF/gothamhtf-medium.woff2") format("woff"),
            url("../font/gothamHTF/gothamhtf-medium.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    text-size-adjust: none;

    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: transparent;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    margin: 0;
    padding: 0;
    word-wrap: break-word;
    font-size: 14px;
    font-family: "gotham HTF", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-backface-visibility: hidden;
    -webkit-user-drag: none;
    -ms-content-zooming: none;

    background: #151c21;
    color: #767a7e;
    line-height: 160%;
}


.padding {
    padding: 10px;
}


/* Typography */

.text-center {
    text-align: center;
}

a,
a:visited {
    color: #fff;
    text-decoration: none;
}

.button-submit {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

p {
    font-size: 18px;
}

h2 {
    font-size: 30px;

    color: #bfbfbf;
    line-height: 120%;
}



/* Header */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;

    z-index: 900;

    background-color: #151c21;

    border-bottom: 1px solid #000;
}

    .header-logo {
        display: none;
        content: '';
        position: absolute;
        left: 7px;
        width: 110px;
        padding: 12px 4px;

        z-index: 100;
        font-size: 20px;
    }


/* Error */

#bar-error {
    position: absolute;
    width: 100%;
    top: 44px;
    left: 0;
    z-index: 8;
    padding: 11px;
    margin-top: -100px !important;
    transform: translate3d(0, -44px, 0);
    visibility: hidden;

    -webkit-transition: -webkit-transform 600ms 0s, visibility 0s 600ms;
    transition: transform 600ms 0s, visibility 0s 600ms;

    border-color: #e42112;
    background-color: #ef473a;
    color: #fff;
}

#bar-error.visible,
#bar-error.active {
    visibility: visible;

    margin-top: 0 !important;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);

    -webkit-transition: transform 600ms 0s, visibility 0s 0s;
    transition: transform 600ms 0s, visibility 0s 0s;
}


/* Login Page */

.login-page {
    position: relative;
    height: 100%;
    min-height: 680px;
    padding-top: 50px;
}


.flying-lady-logo {
    width: 100%;
    height: 169px;
    margin: 15px 0;

    background: url(../img/flying-lady-logo_580.png) center  no-repeat;
    background-size: 290px;

}

.title-text {
    padding-top: 100px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 30px;
}


/* Form */

.list {
    position: relative;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 0;
    margin-bottom: 20px;

    background-color: #1f2931;

    border-color: #293640;
    border-style: solid;
    border-width: 1px 0;
}

    label, input, button, select, textarea {
        font-weight: normal;
        font-size: 14px;
        line-height: 1.42857;
    }

    .input-label {
        position: absolute;
        top: 7px;
        left: 0;

        padding: 7px 10px 7px 0;
        min-width: 165px;
        width: 165px;
        color: #767a7e;
        font-size: 18px;
    }

    .item {
        border-color: #293640;
        color: #bfbfbf;
        position: relative;
        z-index: 2;
        display: block;
        padding: 16px;
        border-bottom-width: 1px;
        border-style: solid;
        font-size: 18px;
    }

    .item:last-of-type {
        border-bottom: none;
    }

    .item-input {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -moz-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        -moz-align-items: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding: 8px 0 7px;
        margin-left: 16px;
    }

    .item, .item h1, .item h2, .item h3, .item h4, .item h5, .item h6, .item p, .item-content, .item-content h1, .item-content h2, .item-content h3, .item-content h4, .item-content h5, .item-content h6, .item-content p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* Input */

    button, input, select, textarea {
        margin: 0;
        font-size: 100%;
        font-family: inherit;
        outline-offset: 0;
        outline-style: none;
        outline-width: 0;
        -webkit-font-smoothing: inherit;
        background-image: none;
    }

    input, button, select, textarea {
        font-family: "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
    }


    .item-input input {
        -webkit-border-radius: 0;
        border-radius: 0;
        -webkit-box-flex: 1;
        -webkit-flex: 1 220px;
        -moz-box-flex: 1;
        -moz-flex: 1 220px;
        -ms-flex: 1 220px;
        flex: 1 220px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
        padding-right: 24px;
        background-color: transparent;
    }

    textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
        display: block;
        padding-top: 2px;
        padding-left: 0;
        height: 34px;
        color: #b7b8b9;
        vertical-align: middle;
        font-size: 18px;
        line-height: 18px;
        border: 0;

        text-align: right;
    }

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        /* display: none; <- Crashes Chrome on hover */
        -webkit-appearance: none;
        margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
    }

    input[type=number] {
        -moz-appearance:textfield;
    }

    .item-input input, .item-input textarea {
        width: 100%;
    }


/* Button */

.button {
    border-color: #b2b2b2;
    background-color: blue;
    color: #444;
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 12px;
    min-width: 52px;
    min-height: 47px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    vertical-align: top;
    text-align: center;
    text-overflow: ellipsis;
    font-size: 20px;
    line-height: 42px;
    cursor: pointer;
}

    .button-block {
        display: block;
        clear: both;
        width: 100%;
    }

    button, html input[type="button"], input[type="reset"], input[type="submit"] {
        cursor: pointer;
        -webkit-appearance: button;
    }

    .button.button-block, .button.button-full {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .button.button-royal {
        border-color: #7d53c5;
        background-color: #7d53c5;
        color: #fff;
    }

    .button.button-royal:hover {
        background-color: #683cb3;
    }



/* Contact */

.contact-container {
    position: absolute;
    width: 100%;
    bottom: 36px;

    text-align: center;
}
    .contact-container .contact {
        padding: 0 10px;
    }

        .contact-container .contact a {
            white-space: nowrap;
        }


/* Loading Button */

.submit-container .button-submit {
    display: block;
}
.submit-container .button-loading {
    display: none;
}

.submit-container.active .button-submit {
    display: none;
}
.submit-container.active .button-loading {
    display: block;
}

.button-loading {
    vertical-align: middle;
}

    .spinner-ios-small {
        display: inline-block;
        width: 26px;
        height: 26px;
        margin-bottom: 2px;

        vertical-align: middle;
    }
    .spinner-ios-small svg {
        width: 26px;
        height: 26px;
        stroke: #fff;
    }


/* Responsive */

@media (max-width: 360px) {

    .login-page {
        min-height: 620px;
    }

    .flying-lady-logo {
        height: 125px;
        background-size: 210px;

        margin: 10px 0;
    }


    .title-text {
        padding: 10px 0 20px;

        font-size: 36px;
    }

}

@media (min-width: 361px) and (max-width: 450px) {
    .flying-lady-logo {
        height: 150px;
        background-size: 240px;
    }
}
