html, body {
	
    font-size: 16px !important;
    font-weight: 400;
    font-family: "Helvetica Neue", Helvetica, Arial, STHeitiTC-light, STHeiti, "Microsoft JhengHei", 微軟正黑體, sans-serif;
	
}

.full-screen #kt_subheader,
.full-screen #kt_footer,
.full-screen #kt_aside,
.full-screen #kt_header_mobile
{
	display: none !important;
}

.full-screen #kt_wrapper {
	padding: 0px !important;
}

body.full-screen {
	
}

.nav-tabs-sm a.nav-link {
	padding: 0.75rem 0.8rem;
}

table .bullet.bullet-bar {
	margin-right:10px;
}

table a.btn {
	margin-bottom: 5px;
}

table tr.item-disabled {
	/* font-style: italic; */
}

.pagination li a.page-link {
	min-height:38px;
}

.pagination li a.page-arrow {
	padding-top:10px;
}

select.form-control option {
	margin:10px 0px;
}

.form-group .select2-container {
	width:100% !important;
}

.select2-container .select2-selection {
	height:50px;
}

.select2-container  .select2-selection__arrow {
	    /* padding-top: 20px; */
}

.subheader-solid {
	
}

.card-title {
	max-width: none;
	text-align:center;
}

.card-toolbar .project-selection {
	
}

.dashboard-container {
	background-color: white;
    padding: 1rem;	
}

.dashboard-container .card {
	border:1px solid lightgrey;
}

.dashboard-container .card-body {
	padding:1rem !important;
}

.dashboard-button-edit { 
	flex:0.8;
}

.dashboard-button-copy { 
	flex:0.2;
}

.dashboard-button-noticeboard { 
	flex:0.2;
}

.dashboard-button-show-item i {
	font-size: 1.1em;
}

.switch.switch-primary:not(.switch-outline) input:empty ~ span:before {
	background-color: darkgrey;
}

.switch.switch-primary:not(.switch-outline) input:checked ~ span:before {
	background-color: #6993FF;
}

.card-toolbar .project-selection .select2-selection {
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.card-toolbar a.item-button-action {
    height: 50px;
    padding-top: 12px;
}

.card-toolbar a.item-button-action.item-button-last-one {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

.item-button-bg svg {
	height:30px;
	width:30px;
}

a.item-button-action:hover path {
	fill: #6993FF !important;
}

.item-button-switch {
	vertical-align: middle;
}

.item-button-switch > label {
	margin-bottom:0px;
}

.switch.item-button-switch input:empty ~ span
{
	margin:0px;
}

.item-button-number {
    border-radius: 30px;
    font-size: 20px;
    padding: 6px 15px;
}

.menu-flex-center {
    display: flex;
    justify-items: center;
    align-items: center;
}

.menu-nav .menu-gray {
	color: #c7cdd9 !important;
}

.menu-nav .menu-active > a > .menu-gray,
.menu-nav .menu-active > a > .menu-link
{
	color: #6993FF !important;
}

.menu-nav .menu-gray:hover,
.menu-nav .menu-link:hover
 {
	color: #6993FF !important;
}

.menu-link:hover .svg-icon svg path,
.menu-nav .menu-active > a .svg-icon svg path
{
	fill: #6993FF !important;
}

.menu-footer {
	/* position: absolute !important; */
    bottom: 0px;
    width: 100%;	
    background-color: white;
}

.item-caption {
	display: block;
	margin-top:10px;
}

.item-display {
	display: block;
    border: 1px solid #464E5F;
    padding: 5px;	
}

.switch-left .switch.switch-primary:not(.switch-outline) input:empty ~ span:after {
	transform: scaleX(-1);
}

.switch-left .switch input:empty ~ span {
	transform: rotate(180deg) scaleY(-1);
}

.dyn-listing-checkbox {
	display:flex;
}

.dyn-listing-checkbox input[type=checkbox] {
	display:none;
}

.dyn-listing-checkbox label {
	width:25px;
	height:25px;
	border:2px solid #464E5F;
	background-color: white;
}

.dyn-listing-checkbox input[type=checkbox]:checked + label {
	display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.dyn-listing-checkbox input[type=checkbox] + label span {
	display: none;
	width:8px;
	height:15px;
	border:2px solid #464E5F;
	border-left:0px;
	border-top:0px;
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);	
}

.dyn-listing-checkbox input[type=checkbox]:checked + label span {
	display: inline-block;
}

.dyn-card-toggle-arrow:after {
    position: absolute;
    font-family: Ki;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: 1;
    text-decoration: inherit;
    text-rendering: optimizeLegibility;
    text-transform: none;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    content: "";
    color: #6993FF;
    font-size: 0.7rem;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    right: 20px;
    top: 25px;
}

.dyn-card-toggle-arrow.collapsed:after {
    color: #80808F;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}



/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99999; /* Sit on top 99;*/
	
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	max-width:450px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s;
	flex: 0.9;
	max-height: 80%;
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
	from {top:-300px; opacity:0} 
	to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
	from {top:-300px; opacity:0}
	to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
	color: rgb(0, 0, 0);
	float: right;
	font-size: 28px;
	font-weight: bold;
	opacity: 1;
  }
  
  .close:hover,
  .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
  }
  
  .modal-header {
	padding: 10px 16px;
	background-color: #6993FF;
	color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;	
  }

  .modal-header h2 {
	  margin-top:5px;
	  margin-bottom:5px;
  }
  
  .modal-body {
	padding: 0px;
	overflow: scroll;
	display: flex;
    flex-direction: column;	
  }
  
  .modal-footer {
	padding: 2px 16px;
	background-color: #6993FF;
	color: white;
  }

  .modal .modal-header .close {
	line-height: normal;
	padding: 3px 8px;
	color: white;
	background-color: #F64E60;
	border:1px solid #F64E60;
	border-radius: 50px;
	font-size: 20px;
	text-shadow: none;
  }

body.show-modal .modal {
	display:flex;
	overflow:hidden;
    flex-direction: column;
    flex-wrap: wrap;
}

.modal .modal-header .close:hover {
	color: white;
	opacity: 1;
}

.modal .modal-body ul.modal-body-list {
    list-style-type: none;
    padding-left: 0px;
	font-size: 20px;
}

.modal .modal-body ul.modal-body-list li {
    width:100%;
	padding:5px 10px;
	border-bottom: 1px solid #6993ff;
}

.modal .modal-body ul.modal-body-list li:hover {
	background-color: #8eaeff;
}

.modal .modal-body ul.modal-body-list li:hover a {
	color:white;
}

.modal .modal-body ul.modal-body-list li:last-child {
	border-bottom: 0px;
}

.modal .modal-body ul.modal-body-list li a {
	width: 100%;
    display: inline-block;
}

.modal-body .modal-body-content {
	flex: 1;
	width:100%;
}

.modal-body pre.modal-body-content {
    border: 0px;
    /* white-space: nowrap; */
}

body.show-modal-image .modal {
	display:flex;
	overflow:hidden;
    flex-direction: column;
    flex-wrap: wrap;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;	
}

body.show-modal-image .modal .modal-content {
	display: none;
}

.user-info-container .card-title {
	max-width: 100%;
}

.header-fixed.subheader-fixed .subheader {
	z-index: 10000;
}

@media (max-width: 750px) {
.card-title  {
   max-width: 450px;
}
}

@media (max-width: 420px) {
	.card-title  {
	max-width: 150px;
	}

}


@media (min-width: 992px) {
  .header-fixed .wrapper {
    padding-top: 11px; } /* 65px; */
  .header-fixed.subheader-fixed.subheader-enabled .wrapper {
    padding-top: 54px; } /* 119px */
	
	.header-fixed.subheader-fixed .subheader {
		top:0px;
	}
	
	.content { padding: 15px 0px; }
}

@media (max-width: 991.98px) {
  .header-mobile-fixed .wrapper {
    padding-top: 0px; }

	.subheader-enabled .subheader.subheader-solid {
		visibility: hidden;
		max-height: 50px;
	}

}

@media (max-width: 1299.98px) {
	.dyn-col-md-6 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}

	.dyn-col-md {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 599.99px) {
	.dyn-col-md {
		-webkit-box-flex: 0;

		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: unset;
	}
}

.noTransition {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

.form-group.style-flex {
	display: flex; 
	align-items: center;
}

.form-group.style-flex label {
	display:inline-block;
	margin-left:10px;
}

.loading-container {
	display:none;
	position: fixed;
	left:0px;
	right:0px;
	top:0px;
	bottom:0px;
	background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    align-content: center;
	z-index: 9999999999;
}

.aside-fixed .aside {
	z-index: 99999;
}

body.loading .loading-container
, body.unloading .loading-container {
	display: flex;
}

body.loading, body.unloading {
	overflow: hidden;
	pointer-events: none;
}

body.loading a, body.unloading a {
	pointer-events: none;
}

.loading-content {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.loading-content img {
	width: 100px;
	height: 100px;
}

table.user-info {
	padding:10px;
	width:100%;
}

table.user-info td {
	padding:10px;
}

table.user-info td.info-caption {
	font-weight: bold;
}
table.user-info td.info-value {

}

.password-toggle-button {
	position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Alert Box */
.swal-overlay
{
	z-index:100000;
}

.swal-title {
	font-size: 20px;
	margin-top: 0px !important;
	margin-bottom: 20px !important;
	white-space: pre-wrap;
}

.swal-text {
	font-size: 20px;
}

.swal-button.swal-button--confirm:not(.swal-button--danger) {
	background-color: #6993FF;
}

.swal-button.swal-button--confirm:not(.swal-button--danger):not([disabled]):hover {
    background-color: #4A7DFF;
}

/* Card Filter Header */
.dyn-header-filter-container {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
	align-items: center;
    gap: 10px 20px;
	padding-top: 0px;
	padding-bottom: 10px;
}

.dyn-header-filter-container .dyn-contract-list-item {
	white-space: nowrap;
	font-size: 1.2rem;
}

.dyn-header-filter-container .dyn-contract-list-item label {
	margin-bottom: 0px;
}

.dyn-header-filter-container .dyn-header-filter-button-group {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
	align-items: center;
    gap: 5px;
	flex: 0 0 100%;
}


#message-container
{
}
  
/* Modal Content */
.message-popup {
}

iframe#noticeboardFrame {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 99999; /* Sit on top */
	
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

body.showNoticeboard iframe#noticeboardFrame {
	display:block;
}

body.showNoticeboard {
	overflow: hidden;
}

.dyn-safety div {
	padding:3px 8px;
	background-color: #0BB7AF;
	color: white;
}
.dyn-safety div.dyn-safety-open{
	background-color: #F64E60;
}

.menu-project .select2.select2-container {
	width: 160px !important;
	font-size: 15px;
}

.overflow-y-80 {
	max-height: 80vh;
    overflow-y: auto;
}

@media (max-width: 991.98px) {

	.dyn-header-filter-container {
		gap: 10px 10px;
	}

	.dyn-header-filter-container .dyn-header-filter-button-group {
		flex: 0 0 100%;
	}

	.dyn-header-filter-container .dyn-contract-list-item {
		min-width: 130px;
		white-space: nowrap;
		font-size: 1rem;
	}
}

@media (min-width: 992px) {
	.aside-minimize-hover .brand .brand-toggle .svg-icon svg 
	{
		-webkit-transition: all 0.15s ease;
		transition: all 0.15s ease;
		-webkit-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}
}