/*new code*/
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1)!important;
}
.nav-link {
    padding: 1rem 1rem !important;
}
.nav-link:focus, .nav-link:hover {
    text-decoration: none;
}
.nav-link:hover {
    background-color: #333 !important;
}
.navbar {
    padding: 0rem !important;
    background-color: #c03;
}
.navbar-toggler {
    margin-top: 0.54rem;
    margin-bottom: 0.4rem;
}
.loginbt .dropdown-menu {
    position: absolute!important;
    /*min-width: 20rem!important;*/
}
.dropdown-item {
   padding-top:10px;

}
.navbar-brand {
    padding: 0px 15px!important;
}
/*HTML*/
html {
    position: relative;
    min-height: 100%;
    font-size: 14px; /*primary font size*/
}
body {
    font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
    overflow-y: overlay;
}
body > #content {
    position: relative;
    text-align: justify;
}
a {
    color: #9d9d9d;
    cursor: pointer;
}
a:hover, a {
    text-decoration: none;
}
.grayscale-filter {
    filter: grayscale(90%);         /* Standard CSS filter property */
    -webkit-filter: grayscale(90%); /* For older WebKit browsers */
    transition: filter 0.5s ease;
}
.noselect {
    -webkit-touch-callout: none; 	/* iOS Safari */
    -webkit-user-select: none; 		/* Safari */
    user-select: none; 				/* currently supported by Chrome, Edge, Opera and Firefox */
}
.thin-text {
    padding-top: 1rem;
}
.headTitle {
    font-family: 'Noto Sans TC', sans-serif;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-top: 35px;
    vertical-align: middle;
    width: 100%;
	user-select: none;
    z-index: 1;
}
.sectionTitle {
    font-size: 50px;
    color: #FFFFFF;
    position: relative;
}
.sectionTitle img {
    width: 100px;
    padding-right: 15px;
}
.headTitle span {
    font-size: 25px;
    display: block;
    text-transform: initial;
    font-weight: 200;
    font-family: 'Noto Sans TC', sans-serif;
}
.headTitle > div {
    display:flow-root;
}    
.subheadTitle {
    font-size: 20px;
    display: block;
    text-transform: initial;
    font-weight: 200;
    font-family: 'Noto Sans TC', sans-serif;
}
.para-header {
    padding-bottom: 10px;
    margin: 30px 0 20px;
}
.featurette-heading, .text-muted {
    text-align: left;
}
.table-borderless td, .table-borderless th {
    border: none !important;
}
.bs-docs-footer {
    padding-top: 30px;
    padding-bottom: 30px;
    bottom: 0;
    color: #99979c;
    text-align: center;
    width: 100%;
    background-color: #f5f5f5;
}
.breadcrumb {
    margin-bottom: 0px;
    padding-top: 15px;
    padding-left: 15px;
}
.popover {
    width: 240px;
    font-size: 1.1rem!important;
}
.icon-white [class*="bi-"] {
    color: white;
}
/*modal dialog*/
.bootstrap-dialog .row {
    padding-top: 5px;
}
#schedule .row {
    margin-right: 0px;
    margin-left: 0px;
    font-size: 12px;
}
.map-dialog {
    max-width: 1200px !important;
}
/*navbar*/
.navbar-header {
    margin-left: 15px;
    margin-right: 15px;
    float: right;
}
.navbar-collapse {
    border: none;
}
.navbar-collapse.in {
    overflow: hidden;
    max-height: none !important;
    height: auto !important;
    border: none;
}
.navbar-inverse .navbar-nav>li>a {
    color: #FFFFFF;
}
.navbar-brand {
    display: none;
    padding: 10px 15px;
}
.navbar-brand img {
    height: 40px;
	margin-top: 5px;
}
.navbar-login {
    margin-left: 15px;
    margin-right: 15px;
}
.bg-transition:hover {
    background-color: #c03;
}
.bg-transition {
    -webkit-transition: background-color ease .2s;
    transition: background-color ease .2s;
}
.bg-backdrop-transparent:hover {
    background-color: #c03;
}
.bg-backdrop-transparent {
    background-color: rgba(40,41,56,0);
    opacity: 1;
}
.dropdown-menu {
    margin: -1px !important;
    border-radius: 0 0 0.6rem 0.6rem !important;
}
/*fontsize change box*/
.jfontsize-button {
    vertical-align: middle;
    line-height: 0px;
    display: inline;
    padding-right: 5px;
    padding-left: 0px;
    color: #FFF;
}
.nav>li>span {
    position: relative;
    display: block;
    padding-right: 15px;
    padding-top: 12px;
    padding-left: 15px;
}
#jfontsize-m2 {
    font-size: 12px;
}
#jfontsize-d2 {
    font-size: 16px;
}
#jfontsize-p2 {
    font-size: 20px;
}
/*loginbox*/
.loginbt .dropdown-menu {
    right: 0;
    left: auto;
}
#login-dp {
    width: 20rem;
    padding: 15px 5px 15px 5px;
    overflow: hidden;
    background-color: rgba(255,255,255,1);
}
#login-dp .help-block {
    font-size: 12px
}
#login-dp .bottom {
    border-top: 1px solid #ddd;
    /*clear: both;*/
    padding: 14px;
}
#login-dp .bottom a {
    display: block;
}
#login-dp .social-buttons {
    margin: 12px 0
}
#login-dp .social-buttons a {
    width: 49%;
}
#login-dp .form-group {
    margin-bottom: 10px;
}
#login-dp .login-title {
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
}
#login-dp #logout a{
	display: block;
}
/*booking*/
#paginator .page-item{
    /*margin-top: 1rem;*/
    height: 60px;
}
	
page-item
.btn-toolbar .row>div {
    margin-top: 10px;
}
.fit-box {
    width: 100%;
}
.table-booking th a {
    color: #23527c;
}
.OF, .EM, .cell:not([href]) {
    cursor: not-allowed;
}
.BO, .view_session .cellcontent, .owner_session .cellcontent, .viewlink {
    cursor: pointer;
}
.P .cellcontent {
    color: #CCCCCC;
}
.view_session .cellcontent {
    color: #C03;
}
.owner_session .cellcontent {
    color: #390;
}
.shortform {
    display: none;
}
.normalform {
    display: block;
}
.date_nav {
    padding: 10px;
}
.table-booking {
    table-layout: fixed;
    background-color: #FBFBFB
}
.table-booking .remark {
    font-size: 12px;
    font-style: italic;
    color: #666;
}
.table-booking .view_session [class*="bi-"], .table-booking .owner_session [class*="bi-"], .P [class*="bi-"] {
    display: none;
}
.cell_container {
    position: relative;
    height: 70px;
}
.navlink {
    text-align: center;
    vertical-align: middle;
}
.table-booking>tbody td {
    text-align: center;
    vertical-align: middle;
    height: 7vh;
}
.cellcontent {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.table-booking .LU {
    height: 3px;
}
.table-booking .G {
    background-color: #F2F2F2;
}
.today a, .today {
    color: #FA5858 !important;
}
.table-booking .RE [class*="bi-"] {
    font-size: 1.5rem;
   /* margin-right: 2px;*/
    color: #F78181;
}
.table-booking [class*="bi-"] {
    font-size: 2.5rem;
}
.AU [class*="bi-"] { /*advanced User*/
    color: #690;
}
.MT [class*="bi-"] { /*maintenance*/
    color: #848484;
}
.BO [class*="bi-"] { /*session aviliable*/
    color: #690;
}
.view_session [class*="bi-"] {
    color: #999;
}
.owner_session [class*="bi-"] {
    color: #C30;
}
.EM [class*="bi-"] { /*passed session*/
    color: #CCC;
}
.P [class*="bi-"], .OF [class*="bi-"] { /*pass or off*/
    color: #CCC;
}
.SO [class*="bi-"] { /*session over*/
    color: #F60;
}
.HO [class*="bi-"] { /*holiday*/
    color: #FC6;
}
/*.booking_list {
    position: relative;
    padding-top: 20px;
}*/
.modal-footer button:not(:first-child) {
    margin-left: 1rem;
}
.modal-dialog-centered {
	min-height: 100vh!important;	
}
.modal{
	overflow-y: hidden;
	min-height: 100vh!important;
}
@media (min-width: 768px) {
.navbar-collapse {
    clear: none;
}
.loginbt {
    display: inline-block;
    position: relative;
    order: 4;
}
.navbar-toggler {
    order: 3;
}
.topmenu {
    width: auto;
    right: 0;
    order: 2;
}
#navbarNavDropdown {
    order: 1;
}
}

@media ( min-width:  768px) {
.table-booking>thead th {
    text-align: center;
    vertical-align: middle;
    height: 78px;
}
}

@media ( max-width: 991.98px) {
.loginbt {
    float: right;
    display: inline-block;
    order: 2;
}
.navbar-toggler {
    order: 1;
}
.topmenu {
    width: 50rem;
    right: 0;
    order: 1;
}
#navbarNavDropdown {
    order: 2;
}
.mainheadTitle {
font-size: 3.3rem;
}
}

@media (max-width: 768px) {
.mainheadTitle {
font-size: 2.8rem;
}
#roomChangeForm, #areaChangeForm {
    margin-top: 0.8rem;
}
.sectionTitle img {
    display: none;
}
.bs-docs-header {
/*background-size: cover;*/
}
.bs-docs-footer {
    position: relative;
}
.navbar-brand {
    display: block;
}
.navbar-header {
    float: none;
}
.navbar-collapse {
    clear: both;
}
.topmenu {
    width: auto;
}
.loginbt {
    float: left;
    display: inline-block;
    position: relative;
    right: 1rem;
}
.loginbt .dropdown-menu {
    position: absolute!important;
    width: 25rem !important;
}
.navbar-login {
    float: right;
}
.navbar-login .navbar-nav {
    margin: 0px !important;
}
.table-booking .view_session [class*="bi-"], .table-booking .owner_session [class*="bi-"], .table-booking .P [class*="bi-"] {
    display: block;
    vertical-align: middle;
}
.cell div, .date_info {
    display: none;
}
.bs-docs-container {
    padding-top: 10px !important;
}
.shortform {
    display: block;
}
.normalform {
    display: none;
}
.navlink {
    height: 160px;
}
.navlink > div {
    -ms-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: translate(-35px, 0) rotate(270deg);
    width: 130px;
}
.table-booking th {
    padding-left: 0rem !important;
}
}