/*---*/
/*----- Scaffolding -----*/
/*---*/
html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    min-width: 320px;
    position: relative;
    display: table;
    font-family: 'Titillium', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    background-color: #f1f3fa;
    color: #000;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
    height: 100%;
    position: relative;
    display: table-cell;
    vertical-align: top;
}

/* Banner is hidden below 992px */
.container.banner-container {
    display: none;
    width: 50%;
    background-color: #c9cccd;
}

@media only screen and (min-width: 992px) {
    /* Displays the banner */
    .container.banner-container {
        display: table-cell;
    }
}

@media only screen and (min-width: 1600px) {
    .container.banner-container {
        width: 45%;
    }
}

.content-wrapper {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.col-50-wrapper:before,
.col-50-wrapper:after {
    content: ' ';
    display: table;
}

.col-50-wrapper:after {
    clear: both;
}

.col-50-wrapper > div {
    width: 50%;
    float: left;
}

.col-50-wrapper > .pull-right {
    float: right;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
    outline: none;
}

a.text-link,
a.text-link:visited {
    color: #007FDE;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-semibold {
    font-weight: 600;
}

/*---*/
/*----- Login Styles -----*/
/*---*/
.main-container > .content-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
}

@media only screen and (min-height: 901px) {
    .main-container > .content-wrapper {
        padding-top: 140px;
    }
}


@media only screen and (max-height: 900px) {
    .main-container > .content-wrapper {
        padding-top: 70px;
    }
}

@media only screen and (max-height: 767px) {
    .main-container > .content-wrapper {
        padding-top: 50px;
    }
}

@media only screen and (max-height: 700px) {
    .main-container > .content-wrapper {
        padding-top: 30px;
    }
}

/* Brand */
.brand {
    margin-bottom: 30px;
    text-align: center;
}

.brand > a {
    max-width: 240px;
    display: inline-block;
    font-size: 0;
}

.brand > a > img {
    display: block;
    max-width: 100%;
    height: auto;
}

.form-panel {
    margin-bottom: 20px;
    padding: 30px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.25);
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.form-panel.post-message {
    padding-top: 50px;
    text-align: center;
}

.form-panel .error-message {
    font-weight: 600;
    color: #DC0000;
}

.main-container h2 {
    margin: 0 0 3px 0;
    font-size: 20px;
    font-weight: 600;
}

.main-container p {
    margin: 0 0 20px 0;
    font-size: 14px;
}

/* Label */
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.4;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Input */
.input-wrapper {
    margin-bottom: 20px;
}

.input-field {
    display: block;
    width: 100%;
    height: 46px;
    padding: 10px 48px 10px 16px;
    font-size: 16px;
    line-height: 1.3333333;
    color: #555;
    background-color: #fff;
    border: 1px solid #D0D2D7;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: 96% center; /* IE Fallback */
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.input-field:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.input-field::-moz-placeholder {
    color: #999;
    opacity: 1;
}

.input-field:-ms-input-placeholder {
    color: #999;
}

.input-field::-webkit-input-placeholder {
    color: #999;
}

.input-field::-ms-clear {
    display: none;
}

.input-field#company-username {
    background-position: right 12px center;
    background-image: url('/images/login/2017/company-username-icon.png') !important;
}

.input-field#personal-username {
    background-position: right 12px center;
    background-image: url('/images/login/2017/personal-username-icon.png') !important;
}

.input-field#password-input {
    background-position: right 14px center;
    background-image: url('/images/login/2017/password-icon.png') !important;
}

/* Checkbox */
.checkbox {
    position: relative;
    display: block;
}

.checkbox label {
    min-height: 20px;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.checkbox input[type=checkbox] {
    position: absolute;
    margin-top: 1px;
    margin-top: 3px\9;
    *margin-top: 0;
    margin-left: -20px;
}

/* Btn */
.form-btn {
    width: 100%;
    display: block;
    padding: 10px 16px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3333333;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    border-radius: 3px;
    color: #fff;
    background-image: none;
    background-color: #00C088;
    -webkit-transition: background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: background-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: background-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-btn:hover,
.form-btn:focus {
    background-color: #00a877;
    text-decoration: none;
}

.form-btn:focus,
.form-btn:active,
.form-btn:active:focus {
    outline: none;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

/* Support Details */
.support-details p {
    margin-bottom: 10px;
}

.main-container > .footer {
    height: 30px;
    margin-top: -30px;
    position: relative;
    text-align: center;
    clear: both;
    color: #555658;
}

/*---*/
/*----- Generic Banner Styles -----*/
/*---*/
.banner {
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: inset 1px 0px 5px rgba(0, 0, 0, .15);
    box-shadow: inset 1px 0px 5px rgba(0, 0, 0, .15);
}

.banner > .content-wrapper {
    padding: 50px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7a0002+0,961017+5,961017+100&1+0,0.1+35,0+100 */
    background: -moz-linear-gradient(top,  rgba(122,0,2,1) 0%, rgba(150,16,23,0.87) 5%, rgba(150,16,23,0.1) 35%, rgba(150,16,23,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(122,0,2,1) 0%,rgba(150,16,23,0.87) 5%,rgba(150,16,23,0.1) 35%,rgba(150,16,23,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(122,0,2,1) 0%,rgba(150,16,23,0.87) 5%,rgba(150,16,23,0.1) 35%,rgba(150,16,23,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a0002', endColorstr='#00961017',GradientType=0 ); /* IE6-9 */
}

.banner h1,
.banner p {
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 0 20px rgba(0,0,0,.5);
}

.banner h1 {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 400;
}

.banner p {
    font-size: 20px;
    font-weight: 400;
}

@media only screen and (min-width: 1600px) {
    .banner > .content-wrapper {
        padding: 75px;
    }

    .banner h1 {
        font-size: 42px;
    }

    .banner p {
        font-size: 22px;
    }
}

/*---*/
/* Login Advert Banner Styles */
/*---*/
.banner-container > .login-advert-banner {
    background-image: url('/images/login/2017/jupix-banner-07-2017.jpg');
    background-position: 5% center;
}

.banner-container > .login-advert-banner h1 {
    max-width: 470px;
}

.banner-container > .login-advert-banner p {
    max-width: 360px;
}

@media only screen and (min-width: 1600px) {
    .banner-container > .login-advert-banner h1 {
        max-width: 620px;
    }

    .banner-container > .login-advert-banner p {
        max-width: 410px;
    }
}

.login-advert-banner .kc-link {
    cursor: pointer;
    display: inline-block;
    width:100%;
    height: 99%;
}

/*---*/
/*----- Martin & Co Styles -----*/
/*---*/
/* Content Padding */
@media only screen and (min-height: 901px) {
    .mac-branding .main-container > .content-wrapper {
        padding-top: 100px;
    }
}

@media only screen and (max-height: 900px) {
    .mac-branding .main-container > .content-wrapper {
        padding-top: 50px;
    }
}

@media only screen and (max-height: 767px) {
    .mac-branding .main-container > .content-wrapper {
        padding-top: 30px;
    }
}

/* Btn */
.mac-branding .form-btn {
    background-color: #b6c931;
}

.mac-branding .form-btn:hover,
.mac-branding .form-btn:focus {
    background-color: #a7b92f;
}

/* Banner */
.mac-branding .banner > .content-wrapper {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#003759+0,004a70+5,004a70+100&1+0,0.1+35,0+100 */
    background: -moz-linear-gradient(top,  rgba(0,55,89,1) 0%, rgba(0,74,112,0.87) 5%, rgba(0,74,112,0.1) 35%, rgba(0,74,112,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(0,55,89,1) 0%,rgba(0,74,112,0.87) 5%,rgba(0,74,112,0.1) 35%,rgba(0,74,112,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(0,55,89,1) 0%,rgba(0,74,112,0.87) 5%,rgba(0,74,112,0.1) 35%,rgba(0,74,112,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003759', endColorstr='#00004a70',GradientType=0 ); /* IE6-9 */
}

.mac-branding .banner-container > .login-advert-banner {
    background-image: url('/images/login/2017/mac-banner-07-2017.jpg');
}
