body.login-page {
    background-repeat: no-repeat;
    background-size: 100% auto;
    border-top: 3px solid #00306b;
    margin: 0;
    background-color: #f4f4f4;
    width: 100%;
    color: #444;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    box-sizing: border-box;
}

.login-page html, body {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.login-page .loginBoxLogo {
    height: 96px;
    line-height: 96px;
}

.login-page .loginBoxLogo .loginBoxTitle {
    color: #00316c;
    font-size: 30px;
}

.login-page .loginBoxLogo .loginBoxTitle:before {
    content: "";
    background-image: url("image/login-logo.png");
    background-repeat: no-repeat;
    display: inline-block;
    width: 27px;
    height: 30px;
    margin-left: 10px;
}

.login-page .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
}

.login-page .loginFeedback ul {
    text-align: center;
    margin: 0 40px;
    padding: 0 0 20px;
}

.login-page .loginFeedback ul li {
    font-weight: bold;
}

.login-page #container {
    background-color: white;
    box-shadow: 1px 2px 2px 2px lightgray;
    text-align: center;
    grid-column: 2 / 4;
    grid-row: 2 / 5;
    min-height: 600px;
    direction: rtl;
}

.login-page #container table td {
    padding: 0 0 20px;
}

.login-page #container .tab-row table td {
    padding: 0;
}

.login-page #container form {
    margin: 0 40px;
}

.login-page #container label.baseHeader {
    color: #555555;
}

.login-page #container p a {
    font-size: 11px;
    color: #aaa;
    float: right;
    margin-top: -13px;
    margin-right: 20px;
    margin-left: 20px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}

.login-page #container p a:hover {
    color: #555;
}

.login-page #container input {
    outline: none;
}

.login-page #container input[type=email] {
    direction: ltr;
}

.login-page #container input,
.login-page #container select {

    transition: all .4s ease;
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;

    border: 1px solid #c7d0d2 !important;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(190, 190, 190, 0.4) inset, 0 0 0 2px #f5f7f8;
    color: #777777;
    height: 35px;
    margin: 3px 0;
    width: 300px;
    padding-right: 3px;
}

.login-page #container select {
    padding-left: 0;
    text-align: right;
    width: 305px;
}

.login-page #container input:hover,
.login-page #container select:hover {
    border: 1px solid #b6bfc0;
    box-shadow: inset 0 1px 3px rgba(190, 190, 190, .7), 0 0 0 2px #f5f7f8;
}

.login-page #container input:focus,
.login-page #container select:focus {
    border: 1px solid #a8c9e4;
    box-shadow: inset 0 1px 3px rgba(190, 190, 190, .4), 0 0 0 2px #e6f2f9;
}

.login-page #container input[type=checkbox] {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
}

.login-page #container input[type=submit] {
    float: right;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
    width: 80px;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #acd6ef; /*IE fallback*/
    background-image: -webkit-gradient(linear, left top, left bottom, from(#acd6ef), to(#6ec2e8));
    background-image: -moz-linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
    background-image: linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
    border-radius: 30px;
    border: 1px solid #66add6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
    cursor: pointer;
}

.login-page #container input[type=submit]:hover {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#b6e2ff), to(#6ec2e8));
    background-image: -moz-linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
    background-image: linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
}

.login-page #container input[type=submit]:active {
    background-image: -webkit-gradient(linear, left top, left bottom, from(#6ec2e8), to(#b6e2ff));
    background-image: -moz-linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
    background-image: linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
}

.login-page .wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.login-page .content {
    height: 100%;
    grid-template-columns: 1fr 300px 300px 1fr;
    grid-template-rows: 2fr auto auto auto 2fr;
    flex: 1;
    display: grid;
    overflow-y: auto;
    direction: ltr;
}

.login-page .content .outer {
    margin: 10px 0;
    width: 100%;
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    align-self: end;
    direction: rtl;
}

.login-page .content .outer .thlLogo {
    background-image: url("image/thlLogo.png");
    background-repeat: no-repeat;
    display: inline-block;
    height: 28px;
    position: relative;
    right: 32px;
    top: -13px;
    width: 42px;
}

.login-page .content .outer .malamPayrollLogo {
    background-image: url("image/malamPayrollLogo.png");
    background-repeat: no-repeat;
    background-size: 390px 75px;
    display: inline-block;
    height: 70px;
    width: 390px;
}

.login-page .button {
    border: 1px solid rgb(53, 147, 216);
    background-image: -moz-linear-gradient(90deg, rgb(40, 129, 191) 0%, rgb(75, 163, 252) 100%);
    background-image: -webkit-linear-gradient(90deg, rgb(40, 129, 191) 0%, rgb(75, 163, 252) 100%);
    box-shadow: 0px 2px 2px 0px rgb(0, 0, 0);
    width: 116px;
    height: 36px;
}

/* Selections */
.login-page ::selection {
    color: #fff;
    text-shadow: none;
    background: #444;
}

.login-page ::-moz-selection {
    color: #fff;
    text-shadow: none;
    background: #444;
}

/* Basics */
.login-page * {
    font-size: 14px;
    font-family: arial, helvetica, clean, sans-serif;
}

.login-page .mislakaAutocomplete.invalidFieldValue {
    box-shadow: none !important;
}

.login-page .invalidFieldValue {
    box-shadow: 0 0 2px 1px #d41a08 !important;
}

.login-page .invalidFieldValue:focus {
    box-shadow: 0 0 2px 1px #ffabab !important;
}

.login-page .fieldTooltip {
    background-image: url("image/info_tooltip_icon.png");
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
}

.login-page .sub-title {
    font-weight: bold;
    height: 45px;
}

.login-page .feedback-message-indent label.fieldInlineFeedback {
    text-align: left;
    margin-left: 0;
}

.login-page .pageFooter table {
    background-color: #02306b;
}

.login-page .pageFooter table td * {
    color: #ffffff !important;
}

.login-page .footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: fit-content;
}

/***** Override the default 'required' styling for fields headers,
for the default css see the required css rules under field.css *****/
.login-page #container .required:before {
    content: "" !important;
    width: 0 !important;
}

.login-page #container .headerInline:after {
    content: "" !important;
}

/********************Tabs***********************/
.tab-panel {
    border: 1px solid lightgray;
    margin: 0;
    min-height: 400px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tab-row ul {
    display: flex !important;
    width: 100% !important;
}

.tab-row li {
    flex: 1 1 50% !important;
}

.tab-row li table {
    width: 100% !important;
}

.tab-row li table td {
    width: 100% !important;
    text-align: center;
}

.tab-row li a {
    display: flex !important;
    width: 100% !important;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tab-row li a span {
    display: block !important;
    width: 100% !important;
    text-align: center;
}

.tabTitle {
    height: 100% !important;
    align-content: center;
}

li table tr.blue_border {
    height: 5px;
}