﻿body {
    display: flex;
}

div {
    box-sizing: border-box;
}



.LoginFullPage {
    z-index: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.LoginSysTitle {
    z-index: 1;
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 30px;
    overflow: hidden;
    font-size: 60px;
    font-family: STKaiti;
    font-weight: bold;
    text-shadow: 0px 8px 9px #c4b59d, 0px -2px 1px #fff;
}

.loginContent {
    z-index: 1;
    position: absolute;
    top: 100px;
    left: 0px;
    bottom: 80px;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.loginFooter {
    z-index: 1;
    position: absolute;
    bottom: 0;
    left: 0px;
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.LoginArea {
    position: absolute;
    top: 50%;
    margin-top: -150px;
    z-index: 100;
    width: 40%;
    height: auto; /*370px;*/
    min-width: 360px;
    max-width: 500px;
    padding: 0px 0px 0px 0px;
    background: linear-gradient(to bottom, rgba(146, 135, 187, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 5px;
}

.LoginForm {
    padding: 15px 20px 5px 20px;
}

.LoginGeneral{
    padding-top:40px;
    padding-bottom:31px;
}

.LoginDeptMember{

}

.forgetPassword {
    padding: 0px 30px 20px 30px;
}

.UserRegForm {
    padding: 30px 30px 20px 30px;
}

.dx-field-item:not(.dx-field-item-has-group):not(.dx-field-item-has-tabs):not(.dx-first-row):not(.dx-label-v-align) {
    padding-top: 10px;
}

.LoginForm .dx-field-item-label-text {
    color: white;
}

.LoginForm .dx-field-item-required-mark {
    color: red;
}

.LoginForm .dx-invalid-message-content {
    color: white !important;
}

.LoginForm .dx-texteditor-input,
.UserSettingUI .dx-texteditor-input {
    border-radius: 3px;
    padding-left: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.LoginForm .dx-texteditor-input {
    background-color: white;
    color:black;
}

.LoginForm .dx-checkbox-icon {
    background-color: white;
}

.LoginForm .dx-checkbox-checked .dx-checkbox-icon {
    background-color: #ff5722;
}

.forgetPassword .dx-button-text {
    color: lightgrey;
}


.layout-header {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 120px;
    background-repeat: repeat-x;
}

.IndependentPageHeader {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 70px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.IndependentPageTitle {
    box-sizing: border-box;
    float: left;
    padding: 10px 10px 10px 20px;
    font-size: 32px;
    vertical-align: middle;
    line-height: 50px;
    font-weight: bolder;
    font-family: STSong;
    white-space: nowrap;
    overflow: hidden;
    color: #fafafa;
    letter-spacing: 0;
    text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135
}

.IndependentPageContent {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    top: 70px;
    height: calc(100% - 130px);
}


.layout-TitleArea {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    width: 100%;
    height: 70px;
    display: inline;
    white-space: nowrap;
    overflow: hidden;
}

.layout-logo {
    box-sizing: border-box;
    float: left;
    margin:10px -10px 10px 20px;
    vertical-align: middle;
    width:50px;
    height:50px;
    background-size:cover;
    background-repeat: no-repeat ;
    background-position:center center;
}
.layout-title {
    box-sizing: border-box;
    float: left;
    padding: 10px 10px 10px 20px;
    font-size: 32px;
    vertical-align: middle;
    line-height: 50px;
    font-weight: bolder;
    font-family: STSong;
    white-space: nowrap;
    overflow: hidden;
    color: #fafafa;
    letter-spacing: 0;
    text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8px 7px #001135
}

.layout-AppQRCode{
    float:right;
    margin-top:5px;
    margin-right:10px;
    width:60px;
    height:60px;
    background-color:transparent;
}

    .layout-AppQRCode>img{
        width:100%;
        height:100%;
    }

    .layout-toolbar {
        box-sizing: border-box;
        position: absolute;
        height: 50px;
        bottom: 0;
        width: 100%;
    }

.dx-drawer-panel-content {
    border-right: none;
    border-bottom-width: 0.5px;
}

.dx-button-has-icon .dx-button-content {
    padding: 4px;
}

.dx-button-has-icon.dx-button-has-text .dx-button-content {
    padding: 4px;
}

.dx-toolbar-before {
    left: 10px;
}

.dx-toolbar-after {
    right: 14px;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 32px;
}

.dx-menu .dx-menu-item.dx-menu-item-has-text.dx-menu-item-has-icon .dx-icon {
    margin-right: 4px;
}

.dx-toolbar-before:hover {
    width: auto;
    overflow: visible;
}

.toolBarSysTitle {
    display: none;
    margin-bottom: 4px;
}

.toolBarModuleCaption {
    font-weight: bold;
    min-width: 120px;
    white-space: nowrap;
    margin-bottom: 4px;
}

    .toolBarModuleCaption:after {
        clear: both;
    }

.layout-body {
    box-sizing: border-box;
    position: absolute;
    top: 120px;
    bottom: 0;
    width: 100%;
}

.LayoutBodyHeightCorrect {
    height: auto;
}

.IndexPageContent {
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    bottom: 60px;
    width: 100%;
    padding: 0px 0px 1px 0px;
}

.dx-multiview-wrapper {
    padding: 5px 5px 5px 5px;
}

.layout-body .LayoutBodyContentHeightCorrect {
    height: auto;
}


.foot-title {
    background-color: #333;
    background-image: linear-gradient( 45deg, transparent 45%, hsla(48,20%,90%,1) 45%, hsla(48,20%,90%,1) 55%, transparent 0 );
    background-size: .05em .05em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #e0e0e0;
}

.footer {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    margin-left: 0;
    height: 60px;
    line-height: 60px;
    background-color: aquamarine;
    width: 100%;
    align-items: center;
    justify-items: left;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.dx-tab .dx-icon {
    display: inline;
    vertical-align: bottom;
}

.TabWindowButtonIcon {
    box-sizing: border-box;
    float: right;
    display: block;
    width: 16px !important;
    height: 16px !important;
    margin-top: -12px;
    margin-right: -16px;
    opacity: 0.2;
}

    .TabWindowButtonIcon:hover {
        margin-top: -10px;
        margin-right: -14px;
        border: solid 1px;
        border-radius: 50%;
        opacity: 1;
    }

.dx-tab-selected .dx-tab-content {
    font-weight: bolder !important;
}

.dx-tab-selected .closeableTab:hover {
    border: solid 1px;
    border-radius: 40%;
    opacity: 1;
}

.UncloseableTab {
    box-sizing: border-box;
    display: none;
}


.ToDoWebMenu {
    padding-top: 15px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    width: 256px !important;
    background-color: #363640 !important;
    /*background-image: url("../../SiteImages/menu.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;*/
}

    .ToDoWebMenu .dx-treeview-search .dx-texteditor-input {
        color: white !important;
    }

    .ToDoWebMenu span {
        color: white !important;
    }

.ToDoWebMenuOnSmallPage {
    background-color: #363640E8 !important;
}


@media screen and (max-width:990px) {
    .LoginSysTitle {
        display: none;
    }

    .loginContent {
        z-index: 1;
        position: absolute;
        top: 0px;
        bottom: 80px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}



@media screen and (max-width:600px) {
    .layout-header {
        height: 50px;
    }

    .layout-TitleArea {
        display: none;
    }

    .UserCurSettingMenu {
        display: none;
    }

    .toolBarSysTitle {
        display: block;
    }

    .layout-body {
        top: 60px;
    }
}


@media screen and (max-height:700px) {
    .LoginSysTitle {
        display: none;
    }

    .LoginArea {
        top: calc( 50% - 155px );
        margin-top: 0px;
    }

    #divLoginDept {
        top: calc( 50% - 120px );
    }


    .LoginForm {
        padding: 3px 20px 0px 20px;
    }

    .LoginGeneral {
        padding-top: 15px;
        padding-bottom: 8px;
    }

    .LoginDeptMember {
    }

    .forgetPassword {
        padding: 0px 20px 5px 20px;
    }

    .UserRegForm {
        padding: 10px 20px 5px 20px;
    }

    .dx-field-item:not(.dx-field-item-has-group):not(.dx-field-item-has-tabs):not(.dx-first-row):not(.dx-label-v-align) {
        padding-top: 3px;
    }

    .LoginForm .dx-texteditor-input {
        border-radius: 3px;
        padding-left: 5px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .UserSettingUI .dx-texteditor-input {
        border-radius: 3px;
        padding-left: 5px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    .dx-placeholder::before {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    .footer {
        height: 35px;
        line-height: 35px;
        font-size: 10px;
    }

    .loginContent {
        z-index: 1;
        position: absolute;
        top: 0px;
        bottom: 0px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-height:600px) {

    .layout-header {
        height: 50px;
    }

    .layout-TitleArea {
        display: none;
    }

    .toolBarSysTitle {
        display: block;
    }

    .layout-body {
        top: 50px;
    }

    .content {
        bottom: 0
    }
}


