*,
*:before,
*:after
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
html
{
    height: 100%;
    font-family:  Helvetica, 'Microsoft JhengHei UI','Microsoft JhengHei', 微軟正黑體, 微软正黑体, Arial, sans-serif;
}
body
{
    background-color: #f5f6f7;
    text-rendering: optimizelegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
a
{
    text-decoration: none;
    cursor: pointer;
    color: inherit;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-word;
    word-break: break-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    list-style: none;
}
a:hover
{
    text-decoration: none;
    color: inherit;
}
select
{
    -webkit-appearance:none;
    -moz-appearance:none;
    -ms-appearance:none;
    appearance:none;
    /*border:none;*/
    border: 1px solid #000000;
    border-radius: 50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    background-image: url(../images/down-arrow-small.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    padding: 3px 35px 3px 15px;
    margin:5px;
}
input, textarea
{
    margin:5px;
}
select:disabled
{
    background-image: none;
}
button
{
    background-color: #223E5A;
    color: white;
    border: none;
    border-radius: 50px;
    -webkit-border-radius:50px;
    -moz-border-radius:50px;
    padding: 5px 20px;
    margin:5px !important;
}
button[disabled='disabled']{

    background-color: #FAFAFA;
    color:#000;
    cursor: auto;
}
table
{
    word-break: break-all;
}
input[type="radio"], input[type="checkbox"]
{
    width: auto !important;
}
.datepicker
{
    padding: 1em;
}
/* classes */
.flotRight
{
    float:right;
}
.flotLeft
{
    float:left;
}
.clear
{
    clear: both;
}
.center
{
    text-align: center;
}
.textRight
{
    text-align: right;
}
.inline
{
    display: inline-block;
}
.hide
{
    display: none;
}

.cursor
{
    cursor: pointer !important;
}
.greyScale
{
    filter: gray;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    cursor: not-allowed;
}
.errorMsg
{
    color:red;
}
.successMsg
{
    color:#42d242;
}
.backboard
{
    background-color: white;
    padding: 20px 25px;
    margin-bottom: 20px;
}
/* loading */
#loadingDiv
{
    position: fixed;
    top:0;
    bottom: 0;
    left: 0;
    right:0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}
#loadingDiv i
{
    color: white;
}
#contentOutWrapper
{
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
}
#contentInWrapper
{
    vertical-align: middle;
    display: table-cell;
}
.dataTables_filter input
{
    border:1px solid #ddd;
}
/* layout */
.content-header
{
    position: fixed;
    top:0px;
    left: 0px;
    right:0px;
    padding: 0 3em;
    background-color: white;
    height: 70px;
    z-index:10;
}
.hearderLine
{
    height: 100%;
}
.logo-container
{
    padding: 0.5em 0;
    max-height: 100%;
    height: 70px;
    vertical-align: middle;
    display: inline-flex;
}
#schoLogo
{
    max-width: 100%;
    max-height: 100%;
}
.userBoxContainer
{
    padding: 0;
    text-align: right;
    height: 70px;
    vertical-align: middle;
    display: inline-flex;
}
#userbox
{
    height: 100%;
    margin-left: auto;
}

#userbox .profile-picture
{
    height: 100%;
    padding: 0 1em;
    vertical-align: middle;
    display: inline-flex;
}
#userbox .profile-picture:hover
{
    background-color: #223e5a;
}
.userIcon
{
    margin:10% 0;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    max-width: 48px;
    max-height: 48px;
    min-width: 30px;
    min-height: 30px;
}

#headerDropMenu
{
    display: none;
    list-style: none;
    background-color: white;
    border: none;
    box-shadow: 3px 3px 15px #e0e1e2;
    padding: 0.5em 0;
    text-align: left;
    z-index: 11;
    position: relative;
}
#headerDropMenu li
{
    padding: 0.5em 2em 0.5em 2em;
    cursor: pointer;
}
#headerDropMenu li:hover
{
    background-color: #223e5a;
    color: white;
}
.breadModIcon
{
    background-color: #efefef;
    display: inline-flex;
    width: 2em;
    height: 2em;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    vertical-align: middle;
    margin-right: 0.5em;
    padding: 0.3em;
}
.breadcrumbTable tr,
.breadcrumbTable td{
    margin-bottom: 0;
    padding-bottom: 0;
}
.breadcrumbDiv
{
    width: 100%;
    position: fixed;
    z-index: 5;
    top: 70px;
    left: 0;
}
#breadcrumb
{
    display: inline-flex;
    vertical-align: middle;
}
#mobileBar {
    display: inline-flex;
    vertical-align: middle;
}
.sidebar_logo
{
    display: block;
    width: 100%;
}
.modMenuCol
{
    /*min-height: 500px;*/
}
.content-body
{
    top:70px;
    position: relative;
    width: 100%;
    /*max-width: 1100px;*/
    margin: auto;
}
.contentRow.row
{
    align-items: stretch;
}
.content-footer
{
    padding: 1em;
    text-align: left;
}
#footL
{
    display: inline-block;
}
#footR
{
    display: inline-block;
    float: right;
    text-align: right;
}

.desktop-hide
{
    display: none;
}
.mobile-hide
{
    display: inline-flex;
}

/* iPhone 6 plus width */
@media screen and (max-width: 768px)
{
    .desktop-hide
    {
        display: inline-flex;
    }
    .mobile-hide
    {
        display: none;
    }
    .content-header
    {
        height: 85px;
        padding: 0 2em;
    }
    .logo-container
    {
        /*height: auto;*/
        height: 100%;
    }
    .userBoxContainer
    {
        /*height: auto;*/
        height: 100%;
    }
    .userIcon
    {
        width: 5vw;
        height: 5vw;
        max-width: 100px;
        max-height: 100px;
        min-width: 50px;
        min-height: 50px;
    }
    .content-body
    {
        top:85px;
        width: 100%;
    }
    .modMenuCol
    {
        min-height: auto;
    }
    .content-footer
    {
        text-align: center;
    }
    #footR
    {
        float: none;
        text-align: center;
    }
    .breadcrumbDiv
    {
        top: 85px;
        padding: 10px !important;
    }
    .sidebarCol {
        position: fixed;
        margin-top: 70px;
        min-height: auto !important;
        z-index: 1;
    }
    .hideMenu {
        display: none;
    }
}
