html {
  scroll-behavior: smooth;
}
body {
	background-image: url("../img/gallery/bg.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
	background-attachment: fixed;
}
body p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
small {
  color: #4B5D68;
}
.text-gray {
	color: #4B5D68;
}
.navbar {
  background-color: #FFF !important;
  border-bottom: 1px solid #f0f0f0;
}
.navbar-brand > .img-fluid {
  max-width: 85%;
  height: auto;
}
.modal-on-modal {
  z-index: 1051;
}
.btn-pill {
  border-radius: 50px;
  padding: 5px 30px;
  text-align: center;
}
.table.table-bordered > thead > tr > th {
  background-color: #434343;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
.col-form-label {
  text-align: right;
}
.modal-content {
  border: 0;
  border-radius: 1.125rem;
}
.login-area {
  padding: 15px;
  text-align: center;
}
.g-login-margin {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.login-form > .mb-3.row > label.col-form-label, .regis-form > .mb-3.row > label.col-form-label {
  text-align: left;
}
.g-content-area {
  margin-bottom: 80px;
}
.g-content-head {
  margin-bottom: 15px;
}
.g-card-booking {
  background-color: #FFF;	
  border: 1px solid #f0f0f0;
  margin-bottom: 2rem;
  border-radius: 1.125rem !important;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0px;
  transition: 0.5s;
  overflow: hidden;
}
.g-card-booking:hover {
  transition: 0.5s;
  -webkit-box-shadow: 0 0.5rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 0.5rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;	
}
.g-bg-tran {
  background-color: #FFF;
  opacity: 1;
  border-radius: 1rem !important;
  overflow: hidden;
}
.g-card-stutus {
  padding: 0.72rem;
  color: #FFF;
}
.g-card-stutus .row .col-sm-6 h4 {
	margin-bottom: 0px;
	font-weight: normal;
}
.g-card-stutus.light {
  background-color: #FFD97A;
}
.g-card-stutus.danger {
  background-color: tomato;
}
.g-card-stutus.primary {
  background-color: #0d6efd;
}
.g-card-stutus.success {
  background-color: forestgreen;
}
.g-card-stutus.warning {
  background-color: #ffb600;
}
.g-card-stutus > .row > p, .g-card-detail > .row > p {
  margin-bottom: 0;
}
.house-left {
	height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
	border-bottom-left-radius: 1rem;
}
.h-card-title > h3 {
  color: #FFF;
}
.h-card-title > a {
  color: #FFF;
  text-shadow: 1px 2px 5px #797979;
}
.g-card-right {
  text-align: right;
}
.g-card-right > h2 {
  color: #FFF;
}
.g-card-detail {
  padding: 0.72rem;
  background-color: #FFF;
  transition: 0.5s;
  border: 1px solid #f0f0f0;
}
.g-card-booking:hover .g-bg-tran .g-card-detail {
  padding: 0.72rem;
  background-color: #FFF;
  transition: 0.5s;
  box-shadow: 0px 3px 4px 0px rgb(202 202 202 / 50%);
}
.g-card-content {
  padding: 10px;
  text-align: left;
}
.g-card-content > h5 > span {
	background-color: #cfe2ff;
    padding: 5px 5px;
    border-radius: 5px;
}
.bg-circle {
  display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 18px;
    border-radius: 50%;
    padding: 8px;
    margin: 10px 0;
}
.bg-circle.icon h3 {
	line-height: 20px;
}
.bg-circle.icon {
  display: inline-flex;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.30);
}
.bg-circle.icon.primary {
  background-color: #0d6efd;
}
.g-card-insp > h5 {
	margin-top: 10px;
}
.g-card-insp.success {
  border-top: 7px solid forestgreen;
}
.g-card-insp.warning {
  border-top: 7px solid #ffb600;
}
.bg-light-gray {
  background-color: rgb(239, 239, 239);
}
.g-card-home-left {
  text-align: center;
  border-right: 1px solid #d3d4d6;
}
.g-card-home-left > .g-home-left-img {
  width: fit-content;
  display: inline-block;
  text-align: center;
}
.g-card-footer {
	text-align: right;
	margin-top: 15px;
}

.bg-dev {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 200px;
/*  height: 100px;*/
  height: auto;
}
.bg-dev > img {
  width: 90%;
}
.g-chart-area {
  padding: 0 0 2rem 0;
  text-align: center;
  text-transform: uppercase;
  background-color: #f5f8fa;	
  border-radius: 0.50rem;
  margin-bottom: 2rem;
  transition: 0.5s;	
}
.g-chart-area:hover {
  transition: 0.5s;
  -webkit-box-shadow: 0 0.5rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 0.5rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
}
.g-chart-area > h5 {
  font-size: 15px;
  padding-top: 10px;
  font-weight: 700;
}
.g-chart-area > h2 {
  margin-top: 2rem;
  font-weight: 600;
}
.g-chart-area > small {
	font-weight: 500;
}
/* Light */
.g-chart-area.primary > h5 , .g-chart-area.primary > h2 , .g-chart-area.primary > small {
	color: #4B5D68;
}
/* .g-chart-area.light {
  background-color: #cecece; 
  background: rgb(215, 215, 215);
  background: linear-gradient(22deg, rgba(215, 215, 215, 1) 0%, rgba(128, 120, 105, 1) 60%, rgba(75, 75, 75, 1) 100%);
}*/
/* Primary */
.g-chart-area.primary > h5 , .g-chart-area.primary > h2 , .g-chart-area.primary > small {
	color: #4e97ff;
}
/* .g-chart-area.primary {
  background-color: #6cb3f7; 
  background: rgb(239, 251, 255);
  background: linear-gradient(22deg, rgba(239, 251, 255, 1) 0%, rgba(148, 186, 233, 1) 60%, rgba(148, 192, 255, 1) 100%);
} */

/* Danger */
.g-chart-area.danger > h5 , .g-chart-area.danger > h2 , .g-chart-area.danger > small {
	color: #db4242;
}
/*.g-chart-area.danger {
   background-color: #f76c83; 
  background: rgb(255, 190, 145);
  background: linear-gradient(22deg, rgba(255, 190, 145, 1) 0%, rgba(252, 168, 127, 1) 26%, rgba(219, 66, 66, 1) 100%);
}*/
/* Warning*/
.g-chart-area.warning > h5 , .g-chart-area.warning > h2 , .g-chart-area.warning > small {
	color: #E2A44C;
}
/*.g-chart-area.warning {
   background-color: #f7cb6c; 
  background: rgb(255, 235, 145);
  background: linear-gradient(22deg, rgba(255, 235, 145, 1) 0%, rgba(232, 189, 107, 1) 45%, rgba(219, 160, 66, 1) 100%);
}*/
/* Success */
.g-chart-area.success > h5 , .g-chart-area.success > h2 , .g-chart-area.success > small {
	color: #20d489;
}
 /*.g-chart-area.success {
  background-color: #7fce65; 
  background: rgb(238, 232, 174);
  background: linear-gradient(22deg, rgba(238, 232, 174, 1) 6%, rgba(193, 233, 148, 1) 42%, rgba(148, 233, 173, 1) 95%);
}*/
.g-card-develop {
  text-align: right;
  margin-top: 0.50rem;
}
.g-card-develop > a {
  color: #52b6ff;
  font-size: 17px;
  background-color: #424242;
  padding: 8px 15px;
  border-radius: 50px;
}
.g-card-develop > a:hover {
  background-color: #2f2f2f;
  text-decoration: none;
}
.text-fb {
  float: left;
  font-size: 26px;
  color: #3b5998;
}
.text-line {
  float: left;
  font-size: 26px;
  color: #00B900;
}
a.clickable {
  text-decoration: none;
  padding: 0;
}
.clickable:hover {
  cursor: pointer;
  text-decoration: none;
}
.g-bg-dark {
  background-color: #848484;
}
.g-card-num {
  position: sticky;
  position: -webkit-sticky;
  top: 70px;
  z-index: 50;
}
.inverted-border-radius {
    position: relative;
    height: 50px;
    width: 100%;
    background-color: #4f5665bf;
    color: #fff;
    font-weight: 700;
/*    border-radius: 5px;*/
    line-height: 50px;
    overflow: hidden;
    display: flex;
    padding-left: 15px;
}
.text-update {
	width: 100%;
    color: #fff;
    text-align: end;
    line-height: normal;
	line-height: 50px;
}
.text-update small {
	color: white;
}
.card-img-area {
	position: relative;
}
/*-----------------------*/

/* common */
.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: '';
  display: block;
  border: 5px solid #2980b9;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 10px 0;
  background-color: #fb5f5f;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 700 18px/1 'Lato', sans-serif;
  text-shadow: 0 1px 1px rgba(0,0,0,.2);
  text-transform: uppercase;
  text-align: center;
}

/* top left*/
.ribbon-top-left {
  top: 0px;
  left: 0px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0;
  right: 0;
}
.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.ribbon-top-left span {
  right: -10px;
  top: 25px;
  transform: rotate(-45deg);
}

.card-img-area .img {
  width: 100%;
  height: auto;
}
.card-imgres {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position:top center;
}
.defect-comment {
	position: relative;
}

.defect-comment .ribbon span {
    background-color: #ecbb07;
}

.g-img-upload {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.g-img-upload.img {
  width: 100%;
  height: auto;
}
.g-img-area {
	width: 100%;
}
.g-img-preview {
  width: 100%;
  height: auto;
}
/* ------ inv_user_table ------ */
#inv_user_table thead > tr > th {
  border-bottom: 2px solid #949494;
}
#inv_user_table tbody > tr > td:nth-child(1) {
  text-align: left;
  min-width: 200px;
}
#inv_user_table tbody > tr > td:nth-last-child(1) {
  text-align: right;
  max-width: 250px;
}
.span-time {
	padding: 5px;
    background-color: #d0e6ff;
    border-radius: 6px;
}
.total-table > td > h4 {
  color: dodgerblue;
}
.td-total {
	line-height: 30px;
	text-align: right;
}
.card-img-area {
  text-align: right;
}
.card-img-area > button {
  position: relative;
  bottom: 17px;
  right: 17px;
}
.g-imgarea-upload {
  margin-top: 3rem;
  text-align: center;
}
.fas.fa-circle {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
}
.fas.fa-circle.text-warning {
  background-color: #ffecad;
}
.fas.fa-circle.text-primary {
  background-color: #addeff;
}
.fas.fa-circle.text-success {
  background-color: #afe8df;
}
.fas.fa-circle.text-danger {
  background-color: #ffadad;
}
.btn-circle {
  background-color: #f9fafd;
  border-radius: 100%;
  height: 2rem;
  width: 2rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.4375rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
}
.g-press-area {
  padding: 1rem 0;
  width: 100%;
}

.rounded-pill {
	transition:  0.5s;
}
.g-press-area:hover .rounded-pill {
	cursor: pointer;
	color: #299ef3;
	transition: 0.5s;
	box-shadow: 0 0.4375rem 0.875rem 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07) !important;
}
.g-defect-head {
  display: table;
  width: 100%;
  margin-bottom: 1.5rem;
}
.g-defect-head h4 {
	color: #4B5D68;
}
.g-defect-text {
  color: #4B5D68;
  text-align: left;
  display: table-cell;
  vertical-align: top;
}
.g-defect-text:hover {
  cursor: pointer;
}
.g-defect-day {
  text-align: right;
  display: table-cell;
  vertical-align: middle;
}
img.g-detail-img {
  position: absolute;
  left: 30px;
}
.g-detail-defect {
  margin: 1rem 0;
  padding: 10px 20px;
  font-size: 20px;
  text-align: right;
  color: #696969;
  background-color: #ffdc64;
  border-radius: 50px;
}
#defect_table tbody > tr > td:nth-of-type(1) {
  min-width: 50px;
  max-width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  vertical-align: middle;
}
#defect_table tbody > tr > td:nth-of-type(2) {
  min-width: 275px;
  max-width: 275px;
  text-align: center;
  background-image: url(/assets/img/defect/bg-table.png);
  background-repeat: no-repeat;
  background-size: cover;
  vertical-align: middle;
}
.mrg-tb-modal {
	margin-top: 15px;
	margin-bottom: 25px;
}
.bg-light-blue {
	background-color: #e7f4ff;
}
.card-border {
	border: 2px solid #f0f0f0;
	background-color: #ffffff;
	border-radius: 0.625rem !important;
/*	overflow: hidden;*/
}
.btn-outline-primary:hover {
	transition: 0.5s;
}
.rounded-pill-outline {
	font-weight: 700;
	padding: 8px 25px;
    border-radius: 50px;
    background: rgb(65 69 88 / 10%);
	transition: 0.5s;
}
.rounded-pill-outline:hover {
	color: #6baaea;
	background-color: #FFFFFF;
	transition: 0.5s;
	box-shadow: 0 0 0 0.25rem rgb(104 192 255 / 25%); 
}

.rounded-pill-outline.warning {
	color: #e29f30;
	transition: 0.5s;
}
.rounded-pill-outline.warning:focus {
	background-color: #ffffff;
	box-shadow: 0 0 0 0.25rem #ffba497d;
	transition: 0.5s;
}
.rounded-pill-outline.warning:hover {
	background-color: #ffffff;
	box-shadow: 0 0 0 0.25rem #ffba497d;
	transition: 0.5s;
}

.rounded-pill-outline.primary {
	color:  #6baaea;
	transition: 0.5s;
}
.rounded-pill-outline.primary:hover {
	background-color: #ffffff;
	box-shadow: 0 0 0 0.25rem rgb(104 192 255 / 25%); 
	transition: 0.5s;
}
.accordion-button:not(.collapsed) {
    color: #828282;
    background-color: #ffdc63;
}
.accordion-button:focus {
    z-index: 3;
    border-color: #ffc565;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.25rem rgb(255 186 73 / 32%);
    box-shadow: 0 0 0 0.25rem rgb(255 186 73 / 32%);
}
.accordion-button {
	background-color: #ffdc63;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234B5D68'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dedede!important;
    padding: 7px 0;
    height: 42px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px!important;
}

.select2-container--focus:focus , .select2-selection .select2-selection--single:focus {
    color: #4B5D68!important;
    background-color: #fff!important;
    border-color: #b4cfef!important;
    outline: 0!important;
    -webkit-box-shadow: 0 0 0 0.25rem rgb(104 192 255 / 25%)!important;
    box-shadow: 0 0 0 0.25rem rgb(104 192 255 / 25%)!important;
}
.select2-container ,.productFilter .select2-container, .form-group .select2-container, td .form-control+.select2-container, th .form-control+.select2-container {
    width: 100% !important;
}
.text-inline {
	display: inline-flex;
}
.text-inline h3{
	margin-top: 12px;
}
/* --------- Max-width ---------- */
/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  body p {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 15px;
  }
  .g-chart-area > h5 {
    font-size: 12px;
  }
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  nav > .container {
    padding: 0;
  }
  ul.navbar-nav > li.nav-item {
    text-align: center;
    padding: 20px 0;
  }
  /* ul.navbar-nav > li.nav-item:nth-child(2) {
		border-top:1px solid #bec3d0;
	} */
  ul.navbar-nav > li.nav-item {
    border-top: 1px solid #f0f0f0;
  }
	.house-hide {
		display: none;
	}
	.g-bg-tran {
	  background-color: rgb(255 255 255 / 80%);
	  border-radius: 0.5rem !important;
	  padding-bottom: 1rem;
	}
  .px-sm-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }
  .g-card-develop > a {
    font-size: 14px;
  }
  /* nav button */
  .g-content-area > ul.nav.nav-tabs {
    width: 100%;
    position: fixed;
    bottom: -1px;
    left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.70);
    z-index: 12;
    display: inline-flex;
    height: 70px;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
  }
  .g-content-area > ul.nav.nav-tabs > li.nav-item > a {
    margin-top: 7px;
    color: #8e8e8e;
    background-color: rgba(0, 0, 0, 0.0);
    border: 0;
  }
  .g-content-area > ul.nav.nav-tabs > li.nav-item > a > i {
    display: list-item;
  }
  .g-content-area > ul.nav.nav-tabs > li.nav-item > a.nav-link.active {
    color: #29aaf5;
  }
  .navbar-light .navbar-brand {
    width: 60%;
  }
  .card-body.g-card-body {
    height: 100%;
    margin-top: 5px;
    background-color: #FFF;
    padding: 0.5rem 1rem;
  }
  .g-card-home-left {
    border-right: 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
  }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
	.navbar-brand > .img-fluid {
	  max-width: 60%;
	  height: auto;
	}
	.g-card-booking {
		background-size: cover;
	}
	
}
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}
/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {}
/* --------- Min-width ---------- */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .pe-sm-2 {
    padding-right: 0.5rem !important;
  }
  .card-body.g-card-body {
    margin-left: 0px;
    background-color: #fff;
    padding: 0.5rem 1rem;
  }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1100px;
  }
}
/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}


.multifile_table{
    margin-top: 15px
}
.multifile_table tr td:nth-of-type(1) .img-center{
  width: 150px;
}
.multifile_table tr td:nth-of-type(1) .img-center img{
  width: 100%;
}

.multifile_table tr td:nth-last-of-type(1){
  width: 70px;
  text-align: center;
}


.devImgArea{
    width:100%;
    margin-top:15px;
}
.devImgArea img{
    width:100%;
    margin-top:-30px;
    background-size: cover;
    background-position: center;
}
.devImgArea .removeDevImg{
    position: relative;
    float: right;
    margin-right: 6px;
    color:#fff;
    border-radius: 50%;
    border:1px solid #fff;
        width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    font-size: 14px;
}
.devImgArea .removeDevImg:hover{
    opacity: 0.7;
}

.notifyAlert button.close{
    border:none;
    background-color: transparent;
    color:#3B3B3B;
}