body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Hide/rearrange for smaller screens */
@media screen and (min-width: 767px) {
    body {
        background: url("https://epicor-idp-dev-cdn.azureedge.net/static/ep-login-bg.png") 0 50% no-repeat #eef2f5;
        background-attachment: fixed;
        background-size: contain;
        background-position: left center;
    }
}

@media screen and (min-width: 1281px) {
    body {
        background: url("https://epicor-idp-dev-cdn.azureedge.net/static/ep-login-bg.png") 0 50% no-repeat #eef2f5;
        background-attachment: fixed;
        background-size: cover;
    }
}

@media screen and (min-width: 3840px) {
    body {
        background: url("https://epicor-idp-dev-cdn.azureedge.net/static/ep-login-bg-ultrawide.png") 0 50% no-repeat #eef2f5;
        background-attachment: fixed;
        background-size: cover;
    }
}

/* ---------- Overrides ---------- */
html,
body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #434343;
    padding: 0;
}

aside {
    width: 480px;
    min-height: 100vh;
    background: #d1dfe2;
    padding: 50px 80px 10px;
    float: right;
}

    aside h1 {
        margin-bottom: 30px;
    }

    aside a,
    .after-login a {
        color: #0d6b9e;
    }

    aside .error-box {
        margin: -50px -80px 0;
        padding-top: 10px;
    }

    aside .success-box {
        margin: -50px -80px 0;
        padding-top: 10px;
    }

    aside h1,
    aside h2,
    aside h4,
    aside h5,
    aside label,
    .after-login label,
    .btn {
        font-weight: 500;
    }

    aside section {
        margin: 80px 0;
    }

    aside .form-group,
    .after-login .form-group {
        margin-bottom: 36px;
    }

    aside .form-control,
    .after-login .form-control {
        border: 0;
        padding: 0;
        background: none;
        box-shadow: 0 1px 0 rgba(0,0,0,0.2);
        border-radius: 0;
    }

        aside .form-control[disabled],
        .after-login .form-control[disabled] {
            box-shadow: none;
        }

        aside .form-control.input-validation-error,
        .after-login .form-control.input-validation-error {
            box-shadow: 0 1px 0 rgba(244,18,18,0.2);
        }

        aside .form-control:focus,
        .after-login .form-control:focus {
            box-shadow: 0 2px 0 rgba(18,195,244,1);
            background: #eef2f5;
        }

    aside .btn-default,
    aside .btn-primary,
    .after-login .btn-default,
    .after-login .btn-primary {
        height: 50px;
        border-radius: 5px;
        padding: 14px 32px;
        border: 0;
        color: #fff;
        font-size: 16px;
    }

        aside .btn-default,
        aside .btn-default:hover,
        .after-login .btn-default,
        .after-login .btn-default:hover {
            background: none;           
            color: #0d6b9e;
        }

        aside .btn-default:hover,
        .after-login .btn-default:hover {
            opacity: 0.85;
            background: #fff;
            box-shadow: 0 0 11px rgba(33,33,33,.2);
        }

        .btn.btn-default.outline {
            border: 2px solid #0d6b9e;
        }

        aside .btn-primary,
        aside .btn-primary:hover,
        .after-login .btn-primary,
        .after-login .btn-primary:hover {
            background: #0d6b9e;
        }

        aside .btn-primary:hover,
        .after-login .btn-primary:hover {
            opacity: 0.85;
            color: #fff;
            box-shadow: 0 0 11px rgba(33,33,33,.2);
        }

.ep-multi-options {
    border: 1px solid #0d6b9e;
    border-radius: 3px;
    display: table;
    width: 100%;
    table-layout: fixed;
    background: #eef2f5;
}

    .ep-multi-options > div {
        border-right: 1px solid #e8e8e8;
        display: table-cell;
        vertical-align: top;
        width: 1%;
    }

        .ep-multi-options > div:last-child {
            border: 0;
        }

    .ep-multi-options button {
        background: none;
        width: 100%;
        height: 100%;
        border: 0;
        padding: 6px 10px 12px;
    }

        .ep-multi-options button:hover {
            opacity: 0.7;
        }

        .ep-multi-options button i {
            display: block;
            text-align: center;
            height: 42px;
            margin: 10px 0;
        }

            .ep-multi-options button i img {
                display: block;
                margin: auto;
                width: 42px;
                height: 42px;
            }

        .ep-multi-options button strong {
            font-size: 12px;
            line-height: 1.33;
            font-weight: 500;
            display: block;
            text-align: center;
        }

.ep-logo {
    width: 150px;
    height: 20px;
    display: block;
    margin: 35px auto 0;
    background: url(../img/ep-logo.png) 50% 50%;
    background-size: cover;
}

.navbar .ep-logo {
    margin: 0;
}

.ep-custom-form-control {
    position: relative;
    display: inline-flex;
    margin: 5px 20px 5px 0;
    min-height: 18px;
}

    .ep-custom-form-control input[type="radio"],
    .ep-custom-form-control input[type="checkbox"] {
        position: absolute;
        z-index: 2;
        opacity: 0;
        width: 100%;
        height: 100%;
        margin-bottom: 0;
        margin-top: 0;
        cursor: pointer;
    }

    .ep-custom-form-control.ep-custom-checkbox input:checked ~ .ep-custom-icon {
        background: #0d6b9e;
        border-color: #0d6b9e;
        color: #fff;
    }

    .ep-custom-form-control.ep-custom-checkbox .ep-custom-icon {
        background: #eef2f5;
        border-radius: 2px;
        border: 2px solid #0d6b9e;
    }

    .ep-custom-form-control .ep-custom-icon, .ep-custom-form-control .ep-custom-icon * {
        transition: all ease 0.75s;
    }

    .ep-custom-form-control .ep-custom-icon {
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 18px;
        height: 18px;
        z-index: 1;
        cursor: pointer;
    }

    .ep-custom-form-control.ep-custom-checkbox input:checked ~ .ep-custom-icon + span {
        font-weight: 600;
    }

    .ep-custom-form-control span {
        display: block;
        margin-left: 10px;
        margin-top: -1px;
        font-weight: 500;
    }

    .ep-custom-form-control input:checked ~ .ep-custom-icon:after {
        display: block;
    }

    .ep-custom-form-control.ep-custom-checkbox .ep-custom-icon:after {
        left: 4px;
        top: 0;
        width: 6px;
        height: 11px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    .ep-custom-form-control .ep-custom-icon:after {
        content: "";
        position: absolute;
        display: none;
    }

.ep-float-input {
    position: relative;
}

    .ep-float-input > label {
        top: 0;
        margin: 0;
        opacity: 0.7;
        position: absolute;
    }

    .ep-float-input.ep-in-focus > label {
        top: -20px;
        font-size: 12px;
        opacity: 1;
        color: #888;
    }

    .ep-float-input > label,
    .ep-float-input input {
        font-size: 16px;
    }

    .ep-float-input input {
        padding-bottom: 6px !important;
        height: auto;
    }

    .ep-float-input .input-group {
        width: 100%;
    }

    .ep-float-input .input-group-addon {
        background: none;
        border: 0;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 18px;
        color: #a3d183;
        margin: -2px 4px 0 -5px;
    }

    .ep-float-input > label,
    .ep-float-input.ep-in-focus > label,
    .btn,
    .btn:hover,
    button,
    button:hover {
        transition: all ease 0.3s;
    }

.field-validation-error {
    font-size: 11px;
    margin-top: 10px;
    display: block;
}

.text-danger {
    color: #F41212 !important;
}

.validation-summary-errors {
    background: #f3edec;
    padding: 14px 20px;
    left: 0;
    top: 0;
    width: 100%;
    color: #2d2d2d;
    border-left: 3px solid #F41212;
}

    .validation-summary-errors ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .validation-summary-errors li {
        margin-bottom: 6px;
    }

        .validation-summary-errors li:last-child {
            margin-bottom: 0;
        }

.after-login .validation-summary-errors {
    position: fixed;
}



.after-login {
    min-height: 100vh;
    background: #eaeaea;
}

    .after-login .after-login-container {
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin: 70px auto 30px;
        padding: 0 15px;
    }

    .after-login h4 {
        margin-bottom: 40px;
    }

    .after-login .alert {
        margin-bottom: 50px;
    }

        .after-login .alert strong {
            font-weight: 500;
        }

        .after-login .alert .glyphicon {
            margin-right: 10px;
        }

.alert {
    border-radius: unset;
}

.after-login-content {
    padding-bottom: 50px;
}

.after-login-header {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    margin: 0 -15px 10px;
    border-bottom: 1px solid #eee;
}

    .after-login-header span {
        font-size: 48px;
        margin-right: 12px;
    }

    .after-login-header h2 {
        font-size: 18px;
        margin: 0;
    }

    .after-login-header h2,
    .after-login-header div {
        width: 100%;
    }

    .after-login-header a {
        white-space: nowrap;
    }

    .after-login-header h4 {
        font-size: 13px;
        margin-bottom: 0;
        margin-top: 3px;
        color: #aaa;
    }

.after-login .nav-pills {
    margin-bottom: 50px;
}

.after-login ol.list {
    padding: 15px;
}

    .after-login ol.list li {
        margin-bottom: 15px;
    }

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background: #0091ea;
}

.ep-table {
    width: 100%;
    margin-bottom: 50px;
}

    .ep-table td {
        width: 1%;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        border-top: 1px solid #eee;
    }

.btn-remove {
    border: 0;
    background: none;
    font-size: 18px;
    color: #f41212;
}

.ep-scrollable {
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 50px;
    scroll-behavior: smooth;
    touch-action: pan-x;
}

.ep-dl-list {
}

aside.welcome-page {
    padding-left: 0;
    padding-right: 0;
}

    aside.welcome-page .ep-separate {
        position: relative;
    }

        aside.welcome-page .ep-separate:after {
            content: "";
            position: absolute;
            left: 80px;
            bottom: -40px;
            width: 30px;
            height: 2px;
            background: #e4ddcc
        }

.ep-nav-list {
    list-style: none;
    padding: 0;
}

    .ep-nav-list a {
        display: flex;
        width: 100%;
        padding: 10px 40px;
        text-decoration: none;
    }

        .ep-nav-list a:hover {
            text-decoration: none;
            background: rgba(0,0,0,0.035);
            padding-left: 50px;
        }

        .ep-nav-list a,
        .ep-nav-list a:hover {
            transition: all ease 0.5s;
        }

            .ep-nav-list a h5 {
                color: #0091ea;
                margin-bottom: 5px;
            }

            .ep-nav-list a h6 {
                color: #888;
                line-height: 1.4;
                margin-top: 5px;
            }

    .ep-nav-list i {
        display: block;
        width: 30px;
        font-size: 20px;
        margin-right: 10px;
        margin-top: 3px;
    }

    .ep-nav-list .btn {
        margin-left: 80px;
    }

.navbar {
    display: none;
}

    .navbar .ep-logo {
        position: static;
        margin: 0
    }

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .btn-link {
    color: #0091ea;
}

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .btn-link:hover {
        color: #12c3f4;
    }

.text-green {
    color: #a3d183 !important;
}

.text-orange {
    color: #f58220 !important;
}

.navbar-inverse {
    background: none;
    border: 0;
    padding-top: 8px;
    border-top: 2px solid #12c3f4;
}

.navbar-toggle {
    border: 0;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #333;
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background: none;
}


.ep-body-content:before,
.ep-body-content:after,
.after-login:before,
.after-login:after,
.after-login .after-login-container:before,
.after-login .after-login-container:after {
    content: "";
    display: table;
    clear: both;
}


@media screen and (max-width: 1023px) {
    .ep-logo {
        position: static;
        margin: 35px auto 0;
    }

    .navbar .ep-logo {
        margin: 0;
    }

    aside {
        width: 100%;
        max-width: 380px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    aside .error-box {
        margin: -50px -40px 0;
        padding-top: 10px;
    }

    aside .success-box {
        margin: -50px -40px 0;
        padding-top: 10px;
    }

    .after-login .nav-pills {
        margin-bottom: 35px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
}

@media screen and (max-width: 767px) {
    aside {
        max-width: none;
        padding-left: 30px;
        padding-right: 30px;
    }

        aside .error-box {
            margin: -50px -30px 0;
            padding-top: 10px;
        }

        aside .success-box {
            margin: -50px -30px 0;
            padding-top: 10px;
        }

    .after-login {
        background: #fff;
    }

        .after-login .after-login-container {
            box-shadow: none;
            margin-top: 55px;
            padding: 0;
        }

        .after-login .ep-logo {
            margin: 50px auto 30px;
        }

        .after-login .nav-pills {
            margin: 0 0 35px;
        }

    .navbar-inverse {
        background: #fff;
    }

        .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
            border: 0;
            box-shadow: 0 0 25px rgba(0,0,0,0.1);
            background: #333;
        }
}


@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: -5px;
    }
}

.grants .page-header {
    margin-bottom: 10px;
}

.grants .grant {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants .grant img {
        width: 100px;
        height: 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 {
        list-style-type: none;
        display: inline;
    }

        .grants .grant li:after {
            content: ', ';
        }

        .grants .grant li:last-child:after {
            content: '';
        }

.logout i {
    font-size: 36px;
}
.logout a {
    vertical-align: middle;
}

#passwordlessButtonReplacementText {
    visibility: hidden;
}

#passwordlessValidation {
    display: none;
}

#passwordlessUnsupported {
    display: none;
}

.hiddenSummaryError {
    display: none;
}

.ep-pad-10 {
    padding: 10px !important;
}

.ep-mar-left-10 {
    margin-left: 10px !important;
}

.cloud-idp-check a {
    text-decoration: none;
}

    .cloud-idp-check a:hover {
        text-decoration: none;
        background: rgba(0,0,0,0.035);
    }