﻿@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("/adfs/portal/assets/fonts/IBMPlexSansArabic-Regular.css") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("/adfs/portal/assets/fonts/IBMPlexSansArabic-Medium.css") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("/adfs/portal/assets/fonts/IBMPlexSansArabic-SemiBold.css") format("woff");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "IBMPlexSansArabic";
    src: url("/adfs/portal/assets/fonts/IBMPlexSansArabic-Bold.css") format("woff");
    font-weight: 700;
    font-style: normal;
}


* {
	margin:0px;
	padding:0px;
}
html,
body {
    min-width: 260px;
    min-height: 100%;
    height: auto;
    background: #f9fafb;
    color: #161616;
    font-size:1rem;
    font-family: "IBMPlexSansArabic", "Segoe UI", Tahoma, Arial, sans-serif;
}



#noScript { margin:16px; color:Black; }

:lang(en-GB){quotes:'\2018' '\2019' '\201C' '\201D';}
:lang(zh){font-family:微软雅黑;}

@-ms-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@-webkit-viewport { width: device-width;  }
@viewport { width: device-width; }

/* Theme layout styles */

#fullPage, #brandingWrapper
{
    width:100%;
    height:100%;
    background-color:inherit;
}
#brandingWrapper
{
    background-color:#4488dd;
}
#branding
{       
    /* A background image will be added to the #branding element at run-time once the illustration image is configured in the theme. 
       Recommended image dimensions: 1420x1200 pixels, JPG or PNG, 200 kB average, 500 kB maximum. */
    height:100%;
    margin-left:500px; margin-right:0px;
    background-color:#0D7077;
    background-repeat: no-repeat;
    background-size:cover;
    -webkit-background-size:cover;
    -moz-background-size:cover;
    -o-background-size:cover;
}
#contentWrapper
{
    position:relative;
    width:500px;    
    height:100%;
    overflow:auto;
    background-color:#ffffff; /* for IE7 */
    margin-right:-500px; margin-left:0px; 
}
#content
{
    min-height:100%;
    height: auto !important;
    margin:0 auto -55px auto;
    padding:0px 50px 0px 80px;
}
#header
{
    font-size:2em;
    font-weight:lighter;
    font-family:"Segoe UI Light" , "Segoe" , "SegoeUI-Light-final", Tahoma, Helvetica, Arial, sans-serif;
    padding-top: 90px;
    margin-bottom:60px;
    min-height:100px;
    overflow:hidden;
}
#header img
{
    /* Logo image recommended dimension: 60x60 (square) or 350X35 (elongated), 4 kB average, 10 kB maximum. Transparent PNG strongly recommended. */
    width:auto;
    height:auto;
}
#workArea, #header
{
    word-wrap:break-word;
    width:350px;
}
#workArea
{
    margin-bottom:90px;
}
#footerPlaceholder
{
    height:40px;
}
#footer
{
    height:40px;
    padding:10px 50px 0px 50px;
    position:relative;
    color:#666666;
    font-size:0.78em;
}
#footerLinks
{
    float:none;
    padding-top:10px;
}
#copyright {color:#696969; display:none;}

.pageLink { color:#000000; padding-right:16px; }

/* Common content styles */

.clear {clear:both;}
.float { float:right; } 
.floatReverse { float:left; } 
.indent { margin-right:16px; } 
.indentNonCollapsible { padding-right:16px; }
.hidden {display:none;}
.notHidden {display:inherit;}
.error { color:#c85305; }
.actionLink { margin-bottom:8px; display:block; }
a
{
    color:#0D7077;
    text-decoration:none;
    background-color:transparent;
}
ul { list-style-type: disc; }
h1,h2,h3,h4,h5,label { margin-bottom: 8px; }
.submitMargin { margin-top:38px; margin-bottom:30px; }
.topFieldMargin { margin-top:8px; }
.fieldMargin { margin-bottom:8px; }
.groupMargin { margin-bottom:30px; } 
.sectionMargin { margin-bottom:64px; }
.block { display: block; }
.autoWidth { width:auto; }
.fullWidth { width:342px; }
.fullWidthIndent { width:326px; }
input
{
    max-width:100%; 
    font-family:inherit;
    margin-bottom:8px;
}
input[type="radio"], input[type="checkbox"] {
    vertical-align:middle;
    margin-bottom: 0px;
}
span.submit, input[type="submit"]
{
    border:none;
    background-color:#0D7077;
    min-width:80px;
    width:auto;
    height:30px;
    padding:4px 20px 6px 20px;
    border-style:solid;
    border-width:1px;
    transition:background 0s;
    color:rgb(255, 255, 255);
    cursor:pointer;
    margin-bottom:8px;
    
    -ms-user-select:none;
    -moz-transition:background 0s;
    -webkit-transition:background 0s;
    -o-transition:background 0s;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select:none;
}
input[type="submit"]:hover,span.submit:hover
{
    background: rgb(212, 227, 251);
}
input.text{
    height:28px;
    padding:0px 3px 0px 3px ;
    border:solid 1px #BABABA;
}
input.text:focus
{
  border: 1px solid #6B6B6B;
}
select
{
    height:28px;
    min-width:60px;
    max-width:100%; 
    margin-bottom:8px;

    white-space:nowrap;
    overflow:hidden;
    box-shadow:none;
    padding:2px;
    font-family:inherit;
}
h1, .giantText
{
   font-size:2.0em; 
   font-weight:lighter;
}          
h2, .bigText
{
   font-size:1.33em;
   font-weight:lighter;
}
h3, .normalText
{
    font-size:1.0em;
    font-weight:normal;
}
h4, .smallText
{
    font-size:0.9em;
    font-weight:normal;
}
h5, .tinyText
{
    font-size:0.8em;
    font-weight:normal;
}
.hint
{
    color:#999999;
}
.emphasis
{
    font-weight:700;
    color:#2F2F2F;
} 
.smallIcon
{
    height:20px;
    padding-left:12px;
    vertical-align:middle;
}
.largeIcon
{
    height:48px;
    /* width:48px; */
    vertical-align:middle;
}
.largeTextNoWrap
{
    height:48px;
    display:table-cell; /* needed when in float*/
    vertical-align:middle;
    white-space:nowrap;
    font-size:1.2em;
}
.idp
{
    height:48px;
    clear:both;
    padding:8px;
    overflow:hidden;
}
.idp:hover 
{
    background-color:#cccccc;
}
.idpDescription
{
    width:80%;
}

/* Form factor: intermediate height layout. Reduce space of the header. */
@media only screen and (max-height: 820px) {
    #header {
        padding-top: 40px;
        min-height:0px;
        overflow: hidden;
    }

    #workArea
    {
        margin-bottom:60px; 
    }
}

/* Form factor: intermediate height layout. Reduce space of the header. */
@media only screen and (max-height: 500px) {
    #header {
        padding-top: 30px;
        margin-bottom: 30px;
    }
    #workArea{
        margin-bottom:40px; 
    }
}

/* Form factor: intermediate layout (WAB in non-snapped view falls in here) */
@media only screen and (max-width: 600px) {
    html, body {
        min-width: 260px;
    }

    #brandingWrapper {
        display: none;
    }

    #contentWrapper {
        float: none;
        width: 100%;
        margin: 0px auto;
    }

    #content, #footer, #header {
        width: 400px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    #workArea {
        width: 100%;
    }

    .fullWidth {
        width: 392px;
    }

    .fullWidthIndent {
        width: 376px;
    }
}

@media only screen and (max-width: 450px) {
    body {
        font-size: 0.8em;
    }

    #content, #footer {
        width:auto;
        margin-right:25px;
        margin-left:33px;
    }

    #header {
        width: auto;
    }

    span.submit, input[type="submit"] {
        font-size: 0.9em;
    }

    .fullWidth
    {
        width:100%;
        margin-left:auto;
        margin-right:auto;
    }

    .fullWidthIndent {
        width: 85%;
    }

    .idpDescription
    {
        width:70%;
    }
}

/* Form factor: snapped WAB (for WAB to work in snapped view, the content wrapper width has to be set to 260px) */
@media only screen and (max-width:280px)
{
    #contentWrapper
    {
        width:260px;
    }
    .idpDescription
    {
        max-width:160px;
        min-width:100px;
    }
}

/* ======================================================================
   KFU AD FS THEME OVERRIDES — English / IE compatible
   Real AD FS DOM structure
   ====================================================================== */

html,
body {
    direction: ltr;
    text-align: left;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    background: #f9fafb;
    color: #161616;

    font-family: "IBMPlexSansArabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

#fullPage {
    width: 100%;
    height: 100%;
    min-height: 100%;

    display: -ms-flexbox;
    display: flex;

    -ms-flex-direction: column;
    flex-direction: column;

    background: #f9fafb;
}

#brandingWrapper,
#branding {
    display: none !important;
}

#contentWrapper {
    position: static;
    float: none;

    width: 100%;
    height: auto;

    overflow: visible;
    margin: 0;

    background: transparent;

    display: -ms-flexbox;
    display: flex;

    -ms-flex-direction: column;
    flex-direction: column;

    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

#content {
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

/* Header */
#header,
#header.kfu-header {
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 3px 24px;
    overflow: visible;
    background: #ffffff;
    border-bottom: 1px solid #d2d6db;
    font-size: inherit;
    line-height: normal;
}

#header img {
    display: block;
    width: auto;
    max-width: 200px;
    margin: auto;
}

/* Main title */
#kfuLoginTitle,
.kfu-login-title {
    width: 600px;
    max-width: calc(100% - 48px);
    box-sizing: border-box;
    margin: auto auto 24px;
    padding-top: 60px;
    text-align: center;
    color: #161616;
    font: 600 32px/1.8 "IBMPlexSansArabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* Login card */
.kfu-login-card:has(#signoutArea) {
    margin-top: 80px !important;
}

#workArea,
#workArea.kfu-login-card {
    width: 600px;
    max-width: calc(100% - 48px);
    box-sizing: border-box;
    margin: 0 auto auto;
    padding: 32px 38px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, .10),
                0 2px 4px -2px rgba(16, 24, 40, .06);
    word-wrap: break-word;
    margin-bottom: 20px;
}

#loginMessage {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

/* Real AD FS fields */
#userNameArea,
#passwordArea {
    position: relative;
    width: 100%;
    margin: 0 0 24px;
}

#workArea label {
    display: block;
    margin: 0 0 8px;
    color: #161616;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: left;
}

#userNameInput,
#passwordInput,
#workArea input.text,
#workArea input[type="text"],
#workArea input[type="email"],
#workArea input[type="password"] {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #9da4ae;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #161616;
    direction: ltr;
    text-align: left;
    font: 400 14px/20px "IBMPlexSansArabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* Hover */
#userNameArea:hover input,
#passwordArea:hover input {
    border-color: #384250;
}

/* Animated focus line */
#userNameArea,
#passwordArea {
    position: relative;
    width: 100%;
    margin: 0 0 24px;
}

#userNameInput,
#passwordInput {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;

    border: 1px solid #9da4ae;
    border-radius: 4px;

    background: #ffffff;
    color: #161616;

    outline: none;
    box-shadow: none;
}

/* hover */
#userNameInput:hover,
#passwordInput:hover {
    border-color: #384250;
}

/* remove default focus appearance */
#userNameInput:focus,
#passwordInput:focus {
    border-color: #9da4ae;
    outline: none !important;
    box-shadow: none !important;
}

/* Animated focus line */
#userNameArea:after,
#passwordArea:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #0d121c;

    -ms-transform: translateX(-50%);
    transform: translateX(-50%);

    transition: width .25s ease;

    pointer-events: none;
}


#userNameArea.is-focused:after,
#passwordArea.is-focused:after {
    width: 100%;
}


#userNameInput:focus,
#passwordInput:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #9da4ae;
}

/* =====================================================
   Validation
   ===================================================== */

#error {
    margin: 8px 0 24px;
    padding: 0;
    color: #b42318;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
}

#errorText,
#workArea .error,
#workArea .errorText,
#workArea [role="alert"] {
    color: #b42318;
}


/* Error input border */

#userNameArea.is-error input,
#passwordArea.is-error input {
    border-color: #b42318 !important;
}


/* Error animated line */

#userNameArea.is-error:after,
#passwordArea.is-error:after {
    background: #b42318;
}


/* Error + focus */

#userNameArea.is-error.is-focused:after,
#passwordArea.is-error.is-focused:after {
    width: 100%;
    background: #b42318;
}

/* Submit */
#submissionArea,
#workArea .submitMargin {
    margin-top: 32px;
    margin-bottom: 0;
}

#submitButton,
#workArea span.submit,
#workArea input[type="submit"] {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
    margin: 20px 0;
    padding: 8px 16px;

    border: 1px solid transparent;
    border-radius: 4px;
    background: #1b8354;
    color: #ffffff;

    cursor: pointer;
    font: 500 16px/24px "IBMPlexSansArabic", "Segoe UI", Tahoma, Arial, sans-serif;
    text-align: center;
}

#submitButton:hover,
#workArea span.submit:hover,
#workArea input[type="submit"]:hover {
    background: #166a45;
    color: #ffffff;
}

#submitButton:active,
#workArea span.submit:active,
#workArea input[type="submit"]:active {
    background: #104631;
    border-color: #104631;
}

/* Links */
.kfu-external-link {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
}

.kfu-external-icon {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    color: inherit;
}

.kfu-external-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

a,
.pageLink,
.actionLink,
.kfu-external-link {
    color: #1b8354;
    text-decoration: none;
}

a:hover,
.pageLink:hover,
.actionLink:hover,
.kfu-external-link:hover {
    color: #166a45;
    text-decoration: underline;
}

.kfu-account-links {
    padding-top: 24px;
    text-align: center;
}

.kfu-account-links a {
    display: block;
    margin-top: 8px;
}

.kfu-account-links a:first-child {
    margin-top: 0;
}

/* Empty AD FS regions */
#authOptions:empty,
#introduction:empty {
    display: none;
}

/* Hide default footer */
#footer.kfu-default-footer,
#footerPlaceholder {
    display: none !important;
}

/* Custom footer */
.kfu-footer {
    width: 100%;
    box-sizing: border-box;

    padding: 16px 24px;

    background: #074d31;
    color: #ffffff;

    direction: ltr;

    -ms-flex: 0 0 auto;
    flex: 0 0 auto;

    margin-top: 0;
}

.kfu-footer-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.kfu-footer-info {
    min-width: 0;
}

.kfu-footer-meta-links {
    margin-bottom: 8px;
    white-space: nowrap;
}

.kfu-footer-meta-links a {
    display: inline-block;
    margin-left: 16px;
}

.kfu-footer-meta-links a:first-child {
    margin-left: 0;
}

.kfu-footer a,
.kfu-footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

.kfu-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.kfu-footer a:focus-visible {
    outline: 2px solid #fff;
  outline-offset: 2px;
}

.kfu-footer-copyright {
    margin: 5px 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.kfu-footer-updated {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
}

.kfu-footer-logos {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.kfu-footer-logos img {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 60px;
    margin-right: 16px;
}

/* .kfu-footer-logos img:last-child {
    margin-right: 0;
} */

/* Responsive */
@media only screen and (max-width: 768px) {

    #header,
    #header.kfu-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    #header img {
        margin-left: auto;
        margin-right: auto;
    }

    #kfuLoginTitle,
    .kfu-login-title {
        width: auto;
        max-width: calc(100% - 32px);
        padding-top: 24px;
        font-size: 28px;
    }

    #workArea,
    #workArea.kfu-login-card {
        width: auto;
        max-width: calc(100% - 32px);
        padding: 32px 22px;
        border-radius: 18px;
    }

    .kfu-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kfu-footer-inner {
        display: block;
        text-align: center;
    }

    .kfu-footer-info {
        text-align: center;
        margin-bottom: 16px;
    }

    .kfu-footer-logos {
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 450px) {

    #workArea,
    #workArea.kfu-login-card {
        padding: 24px 18px;
    }

    .kfu-footer-meta-links {
        white-space: normal;
    }

    .kfu-footer-meta-links a {
        display: inline-block;
        margin: 8px 0 0 8px;
    }

    .kfu-footer-meta-links a:first-child {
        margin-top: 0;
    }

    .kfu-footer-logos {
        display: block;
        text-align: center;
    }

    .kfu-footer-logos img {
        display: inline-block;
        margin: 6px;
    }
}
