/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/templates/simple-sidebar)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */
@import url("https://fonts.googleapis.com/css?family=Nunito");
@font-face {
    font-family: "cwTeXYen";
    font-style: normal;
    font-weight: 500;
    src: url(/fonts/cwTeXYen-zhonly.eot);
    src: url(/fonts/cwTeXYen-zhonly.eot?#iefix) format("embedded-opentype"),
        url(/fonts/cwTeXYen-zhonly.woff2) format("woff2"), url(/fonts/cwTeXYen-zhonly.woff) format("woff"),
        url(/fonts/cwTeXYen-zhonly.ttf) format("truetype");
}

body {
    position: relative;
    font-size: 16px;
    font-family: "Nunito", "cwTeXYen", sans-serif;
}

input,
textarea,
keygen,
select,
a,
a:active,
a:hover,
a:focus {
    outline: none;
}

.container-fluid {
    margin: 0;
    padding: 0;
    height: 100%;
}

#wrapper {
    overflow: hidden;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin 0.25s ease-out;
    -moz-transition: margin 0.25s ease-out;
    -o-transition: margin 0.25s ease-out;
    transition: margin 0.25s ease-out;
    position: relative;
    z-index: 9999;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

.sidebar-heading {
    display: inline-flex;
}

.sidebar-heading #userName {
    display: block;
    font-size: 0.8em;
    margin-left: 12px;
    max-width: 126px;
    overflow: hidden;
    padding-left: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 60px;
    height: 60px;
}

.sidebar-heading #userImg {
    margin: auto;
    max-height: 60px;
    max-width: 60px;
    border-radius: 50%;
    overflow: hidden;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#sidebar-wrapper .powered-by {
    font-size: 0.75em;
    color: #aaaaaa;
    padding: 12px;
    position: absolute;
    bottom: 12px;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

/* separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #495057;
    padding: 12px 0;
}
.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #495057;
}
.separator::before {
    margin-right: 0.25rem;
}
.separator::after {
    margin-left: 0.25rem;
}

/* google map customization location marker effect */
@keyframes pulsate {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Clearable text inputs */
.clearable {
    background: #fff url(../img/clearable.gif) no-repeat right -10px center;
    padding-right: 32px !important;
}
.clearable.x {
    background-position: right 12px center;
} /* (jQ) Show icon */
.clearable.onX {
    cursor: pointer;
} /* (jQ) hover cursor style */
.clearable::-ms-clear {
    display: none;
    width: 0;
    height: 0;
} /* Remove IE default X */

@media (min-width: 99999px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
}

/* bootstrap validator */
.help-block {
    color: #ee2558;
    font-size: 1rem;
}

/* bootstrap-select */
.bootstrap-select {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    box-shadow: none !important;
}
.bootstrap-select > .dropdown-toggle {
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    height: calc(2.25rem + 2px);
    font-size: 15px;
    line-height: 26px;
    margin: 0;
}
.bootstrap-select > .dropdown-toggle:after {
    right: 10px;
    position: absolute;
    top: 17px;
}
.bootstrap-select .dropdown-menu.show .dropdown-menu.inner {
    display: block;
}
.bootstrap-select .dropdown-menu.show .hidden {
    display: none;
}
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active {
    outline: none !important;
}
.bootstrap-select .btn.btn-round.btn-simple .filter-option {
    font-size: 14px;
}
.bootstrap-select .bs-searchbox,
.bootstrap-select .bs-actionsbox,
.bootstrap-select .bs-donebutton {
    padding: 0 0 5px 0;
    border-bottom: 1px solid #eee;
}
.bootstrap-select .bs-searchbox {
    position: relative;
    padding: 10px;
}
.bootstrap-select .bs-searchbox:after {
    font-size: 20px;
    content: "\f1c3";
    font-family: "Material-Design-Iconic-Font";
    position: absolute;
    top: 14px;
    right: 20px;
}
.bootstrap-select ul.dropdown-menu {
    margin-top: 0 !important;
}
.bootstrap-select .dropdown-menu li.selected a {
    background-color: #eee !important;
    color: #777 !important;
}
.bootstrap-select .dropdown-menu .active a {
    background-color: transparent;
    color: #444 !important;
}
.bootstrap-select .dropdown-menu .notify {
    background-color: #ee2558 !important;
    color: #fff !important;
    border: none !important;
}

/* 版面調整 */
.container {
    min-height: 1000px;
    padding-top: 57px;
}

.container legend {
    font-size: 1.6rem;
    font-weight: bold;
    padding-top: 12px;
}

.container .info {
    color: #aaaaaa;
    padding-bottom: 12px;
}

.container .well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 720px;
    }
}
