body {
    background: #fefefe
}

.rwd-display-show {
    display: none;
}

.after {
    clear: left;
}

@media screen and (max-width: 992px) {
    .rwd-display-none {
        display: none;
    }
    .rwd-display-show {
        display: block;
    }
    .rwd-display-show-inline {
        display: inline;
    }
}

.imgRatio {
    width: auto;
    height: auto;
}

.__header {
    border-bottom: rgb(47, 141, 205) solid 3px;
    background: rgb(255, 255, 255);
    position: relative;
    z-index: 999;
    display: block;
    width: 100%;
    height: 80px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.display-flex-center {
    display: flex;
    align-items: center;
}

button.__editor {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    background-color: transparent;
    border: 1px solid transparent;
    color: #212529;
    max-height: 32px;
}

button.reset {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    margin: 0px 5%;
    padding: 5px 15px;
}

button.submit {
    color: #fff;
    background-color: #39afff;
    border-color: #39afff;
    margin: 0px 5%;
    padding: 5px 15px;
}

button.close {
    color: white;
    background-color: #6c757d;
    border-color: #6c757d;
    margin: 0px 5%;
    padding: 5px 15px;
    opacity: 1;
    text-shadow: none;
}

.form-group input.__editor {
    color: white;
    background: inherit;
    border: none;
    border-bottom: 1px solid;
    border-radius: unset;
}

.form-group input.__editor::placeholder {
    color: white;
}

.form-signin input {
    color: white;
    background: inherit;
    border: none;
    border-bottom: 1px solid;
    border-radius: unset;
}

.form-signin input::placeholder {
    color: white;
    text-align: center;
}

.form-signin input:focus {
    color: white;
}


/* Top navogator bar*/

.topNav {
    position: relative;
    padding: 5px;
    margin-top: 0px;
    width: 100%;
    background-color: #a7a7a7;
    padding-left: 0px;
    z-index: 10;
}

.topLogo {
    margin: 5px;
    width: 170px;
    height: 50px;
    cursor: pointer;
}

.menuBar {
    display: none;
}

.menuButton {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 4px;
    width: 40px;
    height: 40px;
    border-radius: 0.25rem;
    border: 1px solid rgba(255, 255, 255, .5);
}

@media screen and (min-width: 900px) {
    .topNav {
        position: relative;
        padding: 0px 0px 0px 30%;
        margin-top: 3rem;
        background-color: #a7a7a7;
    }
    .topLogo {
        position: absolute;
        margin: 0px;
        top: -30px;
        left: 20px;
        width: 280px;
        height: 80px;
    }
   
    .menuBar {
        width: 100%;
        display: flex;
    }
    .menuButton {
        display: none;
    }
}

.nav-tabs .nav-link.active {
    color: white!important;
    background-color: #39afff;
    border-color: inherit;
}

.nav-tabs a.nav-link {
    height: 40px;
    color: white!important;
    font-size: 15px;
}


/* Begin side bar*/

.__sidenav {
    /* padding: 5px; */
    position: fixed;
    top: 50px;
    width: 0%;
    background-color: inherit;
    color: #FFFFFF;
    z-index: 100;
    -webkit-transition-property: width;
    /* Safari */
    -webkit-transition-duration: 0.5s;
    /* Safari */
    transition-property: width;
    transition-duration: 0.5s;
    overflow: hidden;
}

.__sideBar {
    font-size: inherit;
}

@media screen and (min-width: 992px) {
    .__sidenav {
        display: none;
    }
}

ul.__menuBar {
    list-style: none;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 35px;
}

ul.__sideBar {
    padding: 0px 0px 0px 5px;
    list-style: none;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 35px;
}

li.__menuBarItem {
    padding: 10px;
    text-align: center;
    font-size: inherit;
    float: left;
    cursor: pointer;
    box-sizing: border-box;
}

li.__sideBarItem {
    padding: 10px;
    box-sizing: border-box;
    white-space: nowrap;
}

li.__menuBarItem:last-child {
    border-width: 0px;
}

li.__menuBarItem a {
    color: inherit;
    text-decoration: none
}

li.__sideBarItem a {
    color: inherit;
    text-decoration: none
}

li.__menuBarItem:HOVER {
    background-color: #212121;
}

ul.__menuBarSub {
    list-style: none;
    padding: 0px 0px;
    position: absolute;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    /* box-shadow: 10px 15px 30px #666666; */
    background-color: #212121;
    color: #fff;
    font-size: 18px;
    visibility: hidden;
    z-index: 9999;
}

ul.__sideBarSub {
    list-style: none;
    padding: 0px 15px;
    display: none;
}

ul.__sideBarSub div {
    padding: 0px 5px;
    border-bottom: 1px solid #FFFFFF;
}

li.__menuBarSubItem {
    margin: 0px;
    padding: 5px 20px;
    line-height: 30px;
    font-size: inherit;
    background-color: inherit;
    color: inherit;
    box-sizing: border-box;
}

li.__menuBarSubItem a {
    color: inherit;
    text-decoration: none;
}

li.__menuBarSubItem:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

li.__menuBarSubItem:HOVER {
    background-color: #39afff;
}

li.__menuBarSubItem:HOVER #logoutBtton {
    background-color: #39afff;
}


/*
li.__menuBarSubItem:first-child{
	border-top-left-radius	:	5px							;
	border-top-right-radius	:	5px							;
}
*/


/*
*
*sidebaradmin
*
*/

.__sidenavAdmin {
    position: fixed;
    top: 80px;
}

.__sidenavAdmin ul.__sideBar {
    color: black;
    line-height: inherit
}


/* End footer bar */

.__main {
    margin-left: 190px;
    /* Same as the width of the sidenav */
    position: relative;
}

.index_footer {
    background: black;
    color: white;
    padding: 0 5%;
    width: 100%;
}

.index_footer div {
    font-size: 12px;
    background: black;
    color: white;
}


/* End menuBar CSS*/


/* Start main table CSS */

.__list {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 5px;
    border-bottom: rgba(47, 141, 205, 1) solid 3px;
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    min-height: 500px;
}

.__editorHeader {
    display: block;
    font-size: 20px;
    font-weight: normal;
    line-height: 30px;
    color: rgb(47, 141, 205);
    padding: 5px 0 5px 30px;
    background: url(../icons/icon-title.png) left top no-repeat;
}

.__editorTr {
    background: rgba(47, 141, 205, 1) none repeat scroll 0 0;
    text-align: center;
}

.__editorTh {
    color: #FFF;
    font-size: 13px;
    text-align: center;
    padding: 5px;
}

.__editorTd {
    padding: 8px 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}


/* End main table CSS */


/* Start element CSS */

.button-green {
    border: #a5da66 solid 2px;
    font-family: "微軟正黑體";
    font-size: 12px;
    transition: all 1s;
    margin: 2px 2px 2px 0;
    height: 30px;
    padding: 0 10px;
    background: #a5da66 !important;
    color: #fff !important;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-appearance: none;
}

.button-blue {
    text-align: center;
    display: inline-block;
    width: 100px;
    height: auto;
    border: 0;
    margin: 20px 5px 0;
    background: #2f8dcd;
    border-radius: 5px;
    font-size: 15px;
    color: #FFF;
    line-height: 40px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .3s;
    text-decoration: none;
}

.button-gray {
    border: #999 solid 2px;
    font-family: "微軟正黑體";
    font-size: 12px;
    transition: all 1s;
    margin: 2px 2px 2px 0;
    height: 30px;
    padding: 0 10px;
    background: #999 !important;
    color: #fff !important;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-appearance: none;
}

.button-red {
    border: #ff797b solid 2px;
    font-family: "微軟正黑體";
    font-size: 12px;
    transition: all 1s;
    margin: 2px 2px 2px 0;
    height: 30px;
    padding: 0 10px;
    background: #ff797b !important;
    color: #fff !important;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-appearance: none;
}

.float-right {
    float: right;
}

.maitain_button {
    height: 35px;
    display: flex;
    justify-content: flex-end;
}

.maitain_button button {
    background: rgb(163, 177, 178) none repeat scroll 0 0;
    border-radius: 3px;
    color: rgb(255, 255, 255);
    display: block;
    font-size: 13px;
    height: 30px;
    line-height: 30px;
    margin: 0 5px;
    padding: 0 20px;
    text-decoration: none;
    transition: all 1s ease 0s;
    border: 0;
    cursor: pointer;
}


/* End element CSS */


/* Start MJ CSS */

ul.tabs {
    width: 100%;
    height: 45px;
    letter-spacing: 3px;
}

ul.tabs li.active {
    background: #fff;
    border-bottom: 1px solid #fff;
}

ul.tabs li {
    float: left;
    height: 40px;
    font-size: 15px;
    line-height: 40px;
    overflow: hidden;
    position: relative;
    background: #a3b1b2;
}

ul.tabs li.active a {
    color: #2f8dcd;
}

ul.tabs li a {
    display: block;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
}

.__category {
    min-height: 30px;
    border: rgb(163, 177, 178) solid 2px;
    border-radius: 3px;
    font-family: "微軟正黑體";
    font-size: 12px;
    color: rgb(102, 102, 102);
    transition: all 1s;
    margin: 5px 3px;
    padding: 0 5px;
}

.navtab a {
    color: #ffffff !important;
}

a.nav-item {
    height: 40px;
    font-size: 15px;
    background: #a3b1b2;
}

a.active {
    height: 40px;
    font-size: 15px;
    color: #2f8dcd !important;
    background: #ffffff;
}


/*
 *
 * Main stylesheet for Switchery.
 * http://abpetkov.github.io/switchery/
 *
 */

.switchery {
    background-color: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    height: 30px;
    position: relative;
    vertical-align: middle;
    width: 50px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.switchery>small {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    height: 30px;
    position: absolute;
    top: 0;
    width: 30px;
}


/*
*
*   support
*/

.supporttitle {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-size: 30px;
    font-weight: 100;
    display: block;
    margin: 90px 0 25px;
}

.card_title_image {
    text-decoration: none;
    display: block;
    font-size: 10px;
    font-weight: normal;
    line-height: 20px;
    padding: 5px 0 5px 30px;
    background: url(../icons/collapse_right.png) left center no-repeat;
}

.category-padding {
    padding: 0 10px;
}

.card-header {
    color: #2eb6c7;
    background-color: #fefefe;
    border-color: #2eb6c7;
    border-radius: 0;
    padding: 15px 30px;
}

.card-body {
    background-color: #fefefe;
    padding: 15px 30px;
}

.card-margin-bottom {
    margin-bottom: 5px;
}

.a-removedecoration {
    text-decoration: none;
}

.supportsubtext {
    color: inherit;
}

.supportsubtext:hover {
    color: inherit;
}


/*
*index dhz cloud
*/

.cloud_button {
    border: 1px solid #004180;
    color: #004180;
    background: #fff;
    padding: 15px;
    font-size: 2rem;
    border-radius: 100px;
    width: 300px;
    margin: 0 auto;
}

.step {
    border: none;
    border-bottom: 10px solid;
}

.cloud_icon {
    height: 88px;
    width: 88px;
    margin: 0 auto 30px;
}

.card-group.custom .card {
    border: 0px;
    background: #efefef;
}

.card-group.custom .card .card-body {
    border: 0px;
    background: #efefef;
}


/*
*video
*/

.vcontainer {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.vcontainer iframe,
.vcontainer object,
.vcontainer embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*  index */

.sidenav {
    display: -ms-flexbox;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    z-index: 999;
    margin-left: 30%;
}

.navbar-icon-top {
    margin-top: 3rem;
}

.nav-brand {
    position: absolute;
    top: -30px;
    left: 20px;
    width: 300px;
    height: 60px;
}

.footer-border-left {
    border-left: gray 1px solid
}

@media screen and (max-width: 992px) {
    /* The side navigation menu */
    .sidenav {
        height: 100%;
        /* 100% Full-height */
        width: 0px;
        /* 0 width - change this with JavaScript */
        position: fixed;
        /* Stay in place */
        z-index: 999;
        /* Stay on top */
        top: 0;
        /* Stay at the top */
        left: 0;
        background-color: #111;
        /* Black*/
        overflow-x: hidden;
        /* Disable horizontal scroll */
        padding-top: 15px;
        /* Place content 60px from the top */
        transition: 0.5s;
        /* 0.5 second transition effect to slide in the sidenav */
        vertical-align: 0px;
        /* */
        margin-left: 0%;
    }
    .__menuBar .__menuBarItem {
        float: none;
    }
    .navbar-icon-top {
        margin-top: 0rem;
    }
    .nav-brand {
        position: relative;
        top: 0px;
        left: 0px;
        width: 200px;
        height: 30px;
    }
    .footer-border-left {
        border-left: none
    }
}


/* login */

.bg-body {
    /* The image used */
    /* Add the blur effect */
    /* Full height */
    width: 100%;
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.bg-image {
    /* The image used */
    /* Add the blur effect */
    filter: blur(8px);
    -webkit-filter: blur(8px);
    /* Full height */
    width: 100%;
    min-height: 750px;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}


/* Position text in the middle of the page/image */

.bg-form {
    background-color: #a7a7a7;
    /* Fallback color */
    /* #background-color: rgba(0, 0, 0, 0.4); */
    /* Black w/opacity/see-through */
    color: white;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 20px;
    text-align: center;
}


/*
*
*
*Chart
*
 */

.divbtn {
    background: #a7a7a7;
    color: gray;
}

.divbtn.active {
    background: #2eb6c7;
    color: #fefefe;
}

.chart {
    border: 3px solid #ffffff;
    background: rgba(51, 55, 63, 1);

    margin-top: 15px;
    border-radius: 5px !important;
}

.card.chart.ho:hover {
    background: rgba(200, 200, 200, 1);
}

.chart_header {
    background:#d1d1d1;
    padding: 0.5rem 1rem;
}

.collapse {
    border-top: none;
}

.collapse.show {
    border-top: 3px dashed #d1d1d1;
}

input {
    line-height: 25px;
    border-radius: 3px;
}

.wrapper {
    width: 100%;
    padding: 10px 5%;
    overflow: hidden;
    /* will contain if #first is longer than #second */
}

.first {
    width: 28%;
    /* height:450px; */
    float: left;
    /* add this */
}

.second {
    width: 70%;
    overflow: hidden;
    /* if you don't want #second to wrap below #first */
    float: right;
    /* add this */
}

.attrstyle {
    flex-wrap: inherit;
    border-bottom: 1px dashed #2eb6c7;
}

.attrstyleITSport {
    flex-wrap: inherit;
    border-bottom: 1px dashed #F39737;
}
.attrstyleITSportNoBottomLine {
    flex-wrap: inherit;
}
.attrstyleOrinArch {
    flex-wrap: inherit;
    border-bottom: 1px dashed #99CC00;
}


.table td.tpadding,
.table th.tpadding {
    padding: 0px 1px;
}

.tabletext {
    white-space: nowrap;
}

.chart-container {
    padding: 1.25rem;
    background-color:#a7a7a7;
}

.border-right-rwd {
    border-right: white 1px solid;
    height: 90%;
    padding-top: 15px;
    margin-top: 10px
}

.border-right-dot-rwd {
    border-right: white 1px dashed;
    height: 100%;
    padding-top: 15px;
    text-align: center !important;
}

.border-left-dot-rwd {
    border-left: white 1px dashed;
    height: 100%;
    padding-top: 15px;
    text-align: center !important;
}

.device_border_li {
    width: 33.3%;
    border: white 1px solid;
    border-radius: 5px 5px 0px 0px;
}

.device_calendar_border_li {
    width: 25%;
    border: white 1px solid;
    border-radius: 5px 5px 0px 0px;
}

.device_border_div {
    border-left: white 1px solid;
    border-right: white 1px solid;
    border-bottom: white 1px solid;
    border-radius: 5px 5px 0px 0px;
}

.customactive a.active {
    color: white !important;
    background: black !important;
}

.numberCircle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 15px;
    border: #39afff 2px solid;
    border-radius: 50%
}


/*  */

@media screen and (max-width: 992px) {
    .text_align_rwd {
        text-align: center !important;
    }
    .first {
        width: 100% !important;
    }
    .second {
        width: 100% !important;
    }
    .chart-container {
        position: relative;
        margin: auto;
        /* width: 80vw; */
        padding: 0.5rem;
    }
    .rwd_hidden {
        display: none;
    }
    .rwd_calendar {
        padding: 0px
    }
}

@media screen and (max-width: 992px) {
    .img-s-rwd {
        max-width: 60px !important;
    }
    .border-right-rwd {
        border-right: none
    }
    .border-left-rwd {
        border-right: none
    }
}


/* img setting */

.img-w-24 {
    width: 24px
}

.img-w-max-24 {
    max-width: 24px
}

.img-w-max-60 {
    max-width: 60px
}


/* table */

.custom-table tr {
    font-size: 14px;
}