body {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    line-height: 1.42857143;
    color: #58666e;
    font-style: normal;
    font-weight: 400;
    min-width: 375px;
    transition: all ease-in-out .5s
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0;
}

body {
    background-color: #f0f3f4;
}


h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    text-align: center;
    color: white;
    font-weight: 300;
    background-color: #7266ba;
    padding: 20px 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    text-align: center;
    font-weight: 300;
    background-color: #ffffff;
    margin:20px;
}

h3.custom {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: 300;
    margin:20px;
    background-color: inherit;
    color: #6051b5;
}

div.signin {
    width: 320px;
    height: 215px;
    align: center;
    background-color: white;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    border-radius: 8px;
}


div.signin3 {
    width: 320px;
    height: 140px;
    align: center;
    background-color: white;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    border-radius: 8px;
}

h3.signin3 {
    padding-top: 20px;
    height: 80px;
    border-radius: 8px;
}

div.outerparent {
    -webkit-box-shadow: 0px 3px 5px 0px rgba(51,51,51,0.33);
    -moz-box-shadow: 0px 3px 5px 0px rgba(51,51,51,0.33);
    box-shadow: 0px 3px 5px 0px rgba(51,51,51,0.33);
    vertical-align: middle;
    width: 320px;
    margin-right: auto;
    margin-left: auto;
    transition: all ease-in-out .2s;
    border-radius: 8px;
}

div.outer {
    width: 320px;
    height: 215px;
    background-color: #f0f3f4;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    display: none;
    border-radius: 8px;
}

div.outer2 {
    max-width: 330px;
    height: 215px;
    background-color: #f0f3f4;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    display: none;
    border-radius: 8px;
}

div.outer3 {
    width: 320px;
    height: 140px;
    background-color: #f0f3f4;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    display: none;
    border-radius: 8px;
}

@media only screen and (max-width:500px) {
    div.outer2 {
        max-width: 200px;
    }

}

div.messages {
    width: 320px;
    background-color: #ffffff;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    border-radius: 8px;
    /* google login:  fix for border radius */
    margin-top: -10px; 
    position: relative;
    padding-bottom: 20px;
}

div.messages .title {
    height: 0; 
    background-color: #7266ba;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

div.email {
    position: relative;
    top: -100px;
    right: 75px;
    width: 20px;
}

div.password {
    position: relative;
    top: -70px;
    right: 70px;
    width: 20px;
}

div.message {
    width: 240px;
    align: center;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    background-color: #ffffff;
    text-align: center;
}

div.warning {
    position: absolute;
    top: 0;
    left: 26px;
}

div.warning .fa-globe {
    font-size: 18px;
    color: #000;
}

span.logotext {
    vertical-align: middle;
    display: table-cell;
    padding-left: 5px;
    /*white-space: nowrap;*/
}

div.logo {
    vertical-align: middle;
    display: table;
}

.copyright {
    bottom: 10px;
    text-align: center;
    width: 100%;
}

.cobranding {
    position: absolute;
    top: 40px;
    right: 40px;
    display: none;
}

.form-control, .list-group {
    border-radius: 2px;
}
.list-group {
    padding-left: 0;
    margin-bottom: 20px;
}

.list-group-sm .list-group-item {
    padding: 6px 10px;
}
.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.list-group-item {
    padding-right: 15px;
    border-color: #e7ecee;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.list-group-sm .list-group-item {
    padding: 6px 10px;
}
.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.btn, :focus {
    outline: 0!important;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    -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;
}

.form-validation .form-control.ng-dirty.ng-valid, .form-validation .form-control.ng-dirty.ng-valid:focus {
    border-color: #27c24c;
}

.form-control, .form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.no-border, .no-borders {
    border-color: transparent;
    border-width: 0;
}

.form-control {
    border-color: #cfdadd;
}
.form-control, .list-group {
    border-radius: 2px;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
input {
    line-height: normal;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

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

.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
    background-color: #7266ba;
    border-color: #7266ba;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}
button[disabled], html input[disabled] {
    cursor: default;
}
.btn-block {
    padding-right: 12px;
    padding-left: 12px;
}
.btn-primary {
    color: #fff!important;
    background-color: #7266ba;
    border-color: #7266ba;
}
.btn {
    font-weight: 500;
    border-radius: 2px;
}
.btn, :focus {
    outline: 0!important;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-lg, .btn-group-lg > .btn {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    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;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.wrapper-sm {
    padding: 10px;
}

.text-sm {
    font-size: 13px;
}

.logo img {
    width: 250px;
}

.logo .logo-text {
    width: 160px;
    margin: 0px;
    margin-left: 71px;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 10px;
}

.wrapper-md {
    padding: 20px;
}

.wrapper-40 {
    padding-top: 40px;
    padding-left: 40px;
}

@media (max-width: 600px) {
    .cobranding {
        position: relative;
        bottom: 10px;
        text-align: center;
        width: 100%;
        right: 0px;
        top: 30px;
    }
    div.logo {
        margin: auto;
        padding-left: 0px;
    }
    .logo img {
        margin-right: 20px;
    }

    .logo .logo-text {
        margin: auto;
        text-align: center;
        padding-top: 10px;
    }
}

.animation-exit .outerparent {
    transform: scale(.5);
    opacity: 0;
}

.modal {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all ease-in-out .3s;
}

.modal .modal__wrap {
    top: 0px
}

.modal__opened {
    opacity: 1;
    visibility: visible;
}

.modal__opened .modal__wrap {
    top: 40px;
}

.modal__backdrop  {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(32, 51, 64, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}

.modal__wrap {
    transition: all ease-in-out .3s;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    border: 1px solid #d0d7d9;
    position: absolute;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 3px;
}

.modal__header {
    height: 40px;
    line-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(32, 51, 64, 0.2);
    font-size: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgb(51, 60, 64);
}

.modal__content {
    padding: 20px 24px 40px 24px;
    max-height: calc(100vh - 200px);
    position: relative;
    font-size: 16px;
    color: rgb(32, 51, 64);
    overflow-y: auto;
    white-space: pre-line;
}

.modal__content a {
    color: rgb(102, 98, 217)
}

.modal__footer {
    position: relative;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    position: relative;
    border-top: 1px solid rgba(84, 129, 140, 0.2);
    padding: 20px;
}

.button {
    height: 28px;
    line-height: 26px;
    padding: 0 16px;
    font-size: 14px;
    white-space: nowrap;
    display: block;
    border-radius: 3px;
    transition: background-color ease-in-out 0.2s;
    text-align: center;
    min-width: 90px;
    width: 100%;
    transition: all ease-in-out .2s;
}

.button:hover {
    cursor: pointer;
}

.button-outline {
    border: 1px solid #7672e7;
    color: #7672e7;
    background-color: transparent;
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 400;
}

.button-outline:hover {
    border: 1px solid #7672e7;
    color: #7672e7;
    background-color: rgba(130, 130, 130, 0.2);
}

#description-expired
{
    display: none;
    padding: 10px 40px 20px 40px;
    white-space: break-spaces;
    font-size: 14px;
    font-weight: 400;
    color: rgba(32, 51, 64, 0.6);
}
.sign-in-title__expired
{
    background-color: white !important;
    color: rgba(32, 51, 64, 0.6);
    font-size: 24px !important;
    padding: 20px 20px 0 20px !important;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
}
.loader div {
    width: 4px;
    height: 4px;
    margin: 0 2px;
    background-color: rgba(102, 98, 217, 0.9);
    border-radius: 50%;
    animation: fade 1s infinite alternate;
}
.loader div:nth-child(2) {
    animation-delay: 0.2s;
}
.loader div:nth-child(3) {
    animation-delay: 0.4s;
}
.loader div:nth-child(4) {
    animation-delay: 0.6s;
}
@keyframes fade {
    to {
        opacity: 0.1;
    }
}

div.outer4 {
    width: 320px;
    background-color: #f0f3f4;
    margin-right: auto;
    margin-left: auto;
    vertical-align: middle;
    display: none;
    border-radius: 8px;
}

.customer-selection h1 {
    margin-bottom: 0;
}

.customer-selection .customer-list {
    list-style-type: none;
    margin: 0;
    padding: 0 0 24px;
    max-height: 280px;
    min-height: 190px;
    overflow: auto;
    background: #fff;
    border-radius: 8px;
}

.customer-selection .customer-list .customer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    height: 42px;
    padding: 0 20px;
    color: rgba(32, 51, 64, 0.8);
    border-bottom: 1px solid rgba(32, 51, 64, 0.1);
}

.customer-selection .customer-list .customer-item .icon {
    color: rgba(32, 51, 64, 0.5);
}

.customer-loading {
    background: #fff;
    display: none;
    min-height: 190px;
    border-radius: 8px;
}

.customer-loading .customer-name {
    color: rgba(32, 51, 64, 0.4);
    margin: 32px 0 16px 0;
}

.customer-loading .loader {
    margin: 16px 0;
}

.customer-loading .loading-description {
    text-align: center;
    color: rgba(32, 51, 64, 0.8);
    font-size: 13px;
    padding-bottom: 54px;
}
