@charset "UTF-8";
* {
    *zoom: 1;
    -webkit-text-size-adjust: none;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
@media (min-width: 1024px) {
    ::-webkit-scrollbar {
        width: 15px;
        height: 15px;
    }
    ::-webkit-scrollbar-corner {
        background: transparent;
    }
    ::-webkit-scrollbar-track {
        background-clip: padding-box;
        border: solid transparent;
        border-width: 0 0 0 3px;
    }
    ::-webkit-scrollbar-thumb {
        background-color: #696c6d;
        background-clip: padding-box;
        border: solid transparent;
        border-width: 1px 1px 1px 6px;
        min-height: 28px;
        padding: 100px 0 0;
        -webkit-box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1), inset 0 -1px 0 rgba(0, 0, 0, .07);
        box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1), inset 0 -1px 0 rgba(0, 0, 0, .07);
        border: 5px solid transparent;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        min-height: 30px;
        min-width: 30px;
        height: 5px;
        width: 5px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background-color: #8fa2ab;
    }
}
html, body {
    width: 100%;
    height: 100%;
}
body {
    min-width: 320px;
    margin: 0;
    padding: 0;
    background-color: #696c6d;
    color: #333;
    font-family: '微軟正黑體', '黑體', '新細明體', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}
.clearfix {
    *zoom: 1;
}
.clearfix:before, .clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}
.clearfix:after {
    clear: both;
}
.loading {
    background-image: url('../images/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center center;
}
.ease {
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -o-transition: all ease .3s;
    transition: all ease .3s;
}

/* Text */

.text-break {
    word-break: break-all;
}
.text-ellipsis {
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.valign-center {
    vertical-align: middle;
}
.valign-top {
    vertical-align: top;
}
.valign-bottom {
    vertical-align: bottom;
}

/**
 * Old IE
 */

.site-oldie {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #FFF9C4;
    opacity: 1;
    filter: alpha(opacity=100);
}
.site-oldie .material-icons {
    font-size: 48px;
}

/**
 * brand
 */

.site-brand {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all ease .6s 2s;
    -moz-transition: all ease .6s 2s;
    -ms-transition: all ease .6s 2s;
    -o-transition: all ease .6s 2s;
    transition: all ease .6s 2s;
}
.site-brand.active {
    z-index: 999999;
    opacity: 1;
    filter: alpha(opacity=100);
}
.site-brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #696c6d;
    overflow: hidden;
}
.site-brand-content {
    position: relative;
    top: 50%;
    left: 0;
    z-index: 2;
    width: 100%;
    text-align: center;
    transform: translate(0, -50%);
}
.site-brand-content .logo {
    width: 180px;
}

/**
 * Loader
 */

.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all ease .6s;
    -moz-transition: all ease .6s;
    -ms-transition: all ease .6s;
    -o-transition: all ease .6s;
    transition: all ease .6s;
}
.site-loader.active {
    z-index: 99999;
    opacity: 1;
    filter: alpha(opacity=100);
}
.site-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    opacity: .5;
    filter: alpha(opacity=50);
}
.site-loader-content {
    position: relative;
    top: 50%;
    left: 0;
    z-index: 2;
    width: 100%;
    text-align: center;
    transform: translate(0, -50%);
}
.site-loader img {
    padding: 5px;
    background-color: #fff;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

/**
 * Common
 */

md-card md-card-footer {
    border-top: 1px solid #ddd;
}
md-card .md-tab {
    font-size: 12px;
}
md-tabs.bordered {
    margin-bottom: 15px;
    border: 1px solid #ddd;
}
md-tabs md-tabs-wrapper {
    background-color: #fff;
    border-top: 1px solid #ddd;
}
md-input-container.has-tinymce {
    margin-bottom: 0;
}
md-input-container.has-tinymce label {
    transform: translateY(0px) !important;
}
md-input-container.has-tinymce textarea {
    min-height: 300px;
}
@media (max-width: 959px) {
    md-toast.md-default-theme .md-toast-content, md-toast .md-toast-content {
        border-radius: 0;
    }
}
.angular-google-map-container {
    height: 400px;
}
.md-table-toolbar {
    transition: none;
}
.site-sidenav {
    width: 280px;
}
.site-sidenav-content {
    padding-top: 10px;
    overflow: hidden;
    overflow-y: auto;
}
.site-sidenav md-list {
    padding: 0;
    margin-bottom: 10px;
}
.site-sidenav md-list>md-list-item md-icon {
    margin-right: 20px;
}
.site-sidenav header {
    height: 64px;
    min-height: 64px;
    padding: 10px 16px;
    background-color: #fff;
    text-align: center;
}
.site-sidenav header p {
    color: #fff;
}
.site-sidenav header p a, .site-sidenav header p a:hover {
    color: #fff;
}
.site-sidenav header p a {
    text-decoration: none;
}
.site-sidenav header p a:hover {
    text-decoration: underline;
}
.site-sidenav header img {
    width: 115px;
    padding: 5px;
    -webkit-transition: box-shadow ease .6s;
    -moz-transition: box-shadow ease .6s;
    -ms-transition: box-shadow ease .6s;
    -o-transition: box-shadow ease .6s;
    transition: box-shadow ease .6s;
}
.site-sidenav header img:hover {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.8);
}
.site-sidenav md-list .md-subheader {
    font-size: 12px;
    font-weight: bold;
}
.public md-card {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
}

/**
 * Header
 */

.public .site-sidenav, .public .site-header {
    display: none !important;
}
.site-header {
    z-index: 2;
}

/**
 * Content
 */

.site-body {
    position: relative;
    z-index: 1;
}
.site-page {
    width: 100%;
    background-color: transparent;
}
.site-page.ng-enter {
    opacity: 0;
    filter: alpha(opacity=0);
    position: relative;
    z-index: 1;
    -webkit-transition: opacity ease 1s;
    -moz-transition: opacity ease 1s;
    -ms-transition: opacity ease 1s;
    -o-transition: opacity ease 1s;
    transition: opacity ease 1s;
}
.site-page.ng-enter.ng-enter-active {
    opacity: 1;
    filter: alpha(opacity=100);
}
.site-breadcrumbs {
    background-color: #FFEB3B;
}
.site-breadcrumbs a {
    color: #776E1B;
    text-decoration: none;
}
.site-copyright {
    padding: 0 15px;
    text-align: center;
}

/**
 * md-table
 */

md-toolbar.md-table-toolbar.ng-hide {
    display: none;
}
md-toolbar.md-table-toolbar.alternate .md-toolbar-tools {
    color: #1e88e5;
    font-size: 16px;
    background-color: #e3f2fd;
}
md-toolbar.md-table-toolbar form {
    margin-left: 16px;
}
md-toolbar.md-table-toolbar form> input {
    width: 100%;
    margin: 0;
    border: none;
    color: rgba(0, 0, 0, 0.87);
}
md-toolbar.md-table-toolbar form> input:focus {
    outline: none;
}
md-card md-input-container {
    margin-bottom: 0;
}

/**
 * Responsive
 */

@media (max-width: 959px) {
    .site-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
