/* #region general*/
:root {
  --theme-color:#087f57;
  --theme-hover-color:#066444;
  --border-radius-circle: 50%;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/OpenSans-Regular.ttf");
  }

@font-face {
  font-family: "Open Sans";
  font-style: bold;
  font-weight: 700;
  src: url("./fonts/OpenSans_SemiCondensed-Bold.ttf");
  }

html, body{
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: "Open Sans", Arial, Microsoft JhengHei, Microsoft YaHei, Helvetica, sans-serif;
}

.wrapper{
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding: 8px;
}

.content{
  margin-bottom: 15px; 
}

a {
  text-decoration: none;
  color:inherit
}

.btn-medium{
  min-width: 100px;
}

.btn-cedp-primary{
  background-color: var(--theme-color);
  border: var(--theme-color);
  color:white;
}

.btn-cedp-primary:hover, .btn-cedp-primary:focus, .btn-cedp-primary:active, .btn-cedp-primary.active, .open .dropdown-toggle.btn, .btn-cedp-primary:focus-visible  {
  background-color: var(--theme-hover-color);
  border: var(--theme-hover-color);
  color:white;
}

.btn-cedp-primary-check:checked + .btn-cedp-primary, .btn-cedp-primary.active, .btn-cedp-primary.show, .btn-cedp-primary:first-child:active, :not(.btn-cedp-primary-check) + .btn-cedp-primary:active {
  background-color: var(--theme-hover-color);
  border-color: var(--theme-hover-color);
  color:white;
}


.secondary-note{
  color: #595959;
}

.btn-block{
  display: block;
  width: 100%;
  margin-bottom: 8px;
}


ul{
  padding: 0;
  margin-bottom: 0;
}

li{
  list-style: none;
}

.no-scroll {
  overflow: hidden;
  height: 100%;
}

.warn{
  color: #B30000;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap; 
  color:#000
}

.icon-btn{
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 2px 2px 2px rgb(0, 0 , 0, 0.1);  
  background-color: transparent;
}

.icon-btn:hover, .icon-btn:focus-visible{
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.18);
  background-color: #f9f9f9;
  outline: 0;
}

.input-group-calendar-btn{
  cursor: pointer;
}
/* #endregion */

/* #region header */
.header {
  display: flex;
  align-items: center;
  padding: 8px 16px;
}

.header-icon {
  margin-right: 0;
}

.header-icon img {
	width: 160px;
	height: auto;
}


.banner{
  padding: 0 ;
  background: url(../images/background/banner.jpg) 0 0 no-repeat var(--theme-color);  
}

.banner-title {
  color: white;
  text-shadow: 1px 1px #000;
  padding: 12px 16px;
  font-size: 24px;
  font-weight: bold;
}

.subHeader{
  margin-top: 8px;
  margin-bottom: 16px;
}

.subHeader-title{
  padding-left: 8px;
}

.subHeader-title h1{
  line-height: inherit;
  margin-top: 0;
  margin-bottom: 0;
  font-weight:bold;
  color:var(--theme-color);
  font-size: 20px;
}

.subHeader-title span{
  font-weight:bold;
  color:var(--theme-color);
  font-size: 20px;
}

.tool-bar{
  position: absolute;
  right: 0;
  top: 0;
  background-color: var(--theme-color);
  padding: 4px 8px 4px 16px;
  border-bottom-left-radius: 10px;
  display: flex;
  align-items: center;
}

.lang-btn-grp { 
  transition: padding .3s;
}

.lang-btn {
  margin: 0 8px 0 0;
  background-color: var(--theme-color);
  color: white;
  font-weight: 600;
  font-size: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
}

.lang-btn-grp .circle-btn{
  border-radius: 50%;
}

.lang-btn:focus, .lang-btn:hover{
  color:black;
  background-color:#fff600;
  border: none;
}

.lang-btn.active{
  display: none;
}

.tool-bar-slide-menu-grp{
  display: flex;
  align-items: center;
}

.hr {
	height: 25px;
	border-left: 1px solid #ffffff87;
}

.menu-icon {
	margin-left: 8px;
	color: white;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.menu-icon:focus, .menu-icon:hover{
  color:black;
  background-color:#fff600;
  border: none;
}

.full-bleed {
  display: block;
  position: relative;        
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

/* #endregion */

/* #region footer */
.footer{
  border-top: 2px solid var(--theme-color);
  padding: 0;
}

.footer-wrapper {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	margin-top: 16px;
	padding-left: 16px;
	padding-right: 16px;
  gap: 16px;
}

.footer-wrapper #footer-left .copyright{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-wrapper #footer-right{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer #brandhk{
  width: 125px;
}

.footer #wcag img{
  width: 88px;
}

/* #endregion */

/* #region slide menu */
#slideMenu {
	max-width: 350px;
  background: var(--theme-color);
  width: 85%;
  color: white;
  border: 0;
}

.slide-menu-header{
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  padding-right: 16px;
  padding-left: 16px;
}

.slide-menu-header-text{
  margin-top: 16px;
  margin-bottom: 16px;
  font-weight: bold;
}

#slideMenu .offcanvas-body {
	padding: 0;
}

.slide-menu-list{
  padding: 0px; 
  list-style: none;
  font-size: 18px;
}

.slide-menu-item{  
  display: flex;
  font-weight: bold;
  gap: 8px;
  align-items: center;  
  cursor: pointer;
  color:white;
  padding-top: 16px;
  padding-bottom: 16px;
}

.slide-menu-item-child-list{
  padding: 0px 0px 0px 16px;
  list-style: none;
}

.slide-menu-item-child-item{
  padding: 12px;
}

.slide-menu-item:has(.bi-chevron-up) {
	color: #fff600;
}

.slide-menu-item:hover, .slide-menu-item-child-item:hover {
  color: #fff600;
}

.slide-menu-item-child-item{
  cursor: pointer;
}

.slide-menu-close{
  font-size: 30px;
  cursor: pointer;
}

.slide-menu-item span {
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.slide-menu-item i {
	width: 58px;
	padding-left: 12px;
	padding-right: 12px;
}
/* #endregion */

/* #region home */
.declaration-type-list .card{
  border-radius: 0;
  border:1px none;
}

.declaration-type-list .card-header{
  background-color: inherit;
  display: flex;
  align-items: center;
}

.declaration-type-list .card-body{
  padding: 0;
}

.declaration-type-list .list-group-item{
  padding: 0;
  border:1px solid #ccc;
  box-shadow: 0px 5px 5px #ccc;
  margin-bottom:15px;
  cursor: pointer;
}

.declaration-type-list .list-group-item:hover, .cbni-functions .list-group-item:hover{
  box-shadow: 0px 5px 5px #5a5b5b;
}

.declaration-type-list .list-group-item-wrapper{
  display: flex;
  padding: 16px;
  gap: 16px;
}

.declaration-type-list .list-group-item-wrapper .item-header{
  font-weight: bold;
  font-size: inherit;
}

.declaration-type-list .list-group-item-wrapper .item-description{
  text-align: justify;
  font-size: 14px;
}

.declaration-type-list .list-group-item-wrapper .item-remark{
  margin-top: 15px;
  font-size: 14px;
}

.declaration-type-list .list-group-item-wrapper .item-icon .circle {
  padding: 5px;
  -moz-border-radius: 70px;
  -webkit-border-radius: 70px;
  border-radius: 70px;
  border: 3px solid var(--theme-color);
  width: 48px;
  height: 48px;
  border-width: 3px;
}

.declaration-type-list .list-group-item-wrapper .item-icon .circle:hover { 
  border:3px solid var(--theme-hover-color);
}

.declaration-type-list .list-group-item:hover .circle{
  border:3px solid var(--theme-hover-color);
}

/* #endregion */

/* #region cbni-functions */
.cbni-functions .card{
  border-radius: 0;
  border:1px none;
}

.cbni-functions .card-header{
  background-color: inherit;
  display: flex;
  align-items: center;
}

.cbni-functions .card-body{
  padding: 0;
}

.cbni-functions .list-group-item{
  padding: 0;
  border:1px solid #ccc;
  box-shadow: 0px 5px 5px #ccc;
  margin-bottom:15px;  
  cursor: pointer;
}

.cbni-functions .list-group-item:hover{
  box-shadow: 0px 5px 5px #5a5b5b;
}

.cbni-functions .list-group-item-wrapper{
  display: flex;
  padding: 16px;
  gap: 24px;
  align-items: center;
}

.cbni-functions .list-group-item-wrapper .item-header{
  font-weight: bold;
  font-size: inherit;
}

.cbni-functions .list-group-item-wrapper .item-description{
  text-align: justify;
  font-size: 14px;
}

.cbni-functions .list-group-item-wrapper .item-icon .circle {
  padding: 5px;
  -moz-border-radius: 70px;
  -webkit-border-radius: 70px;
  border-radius: 70px;
  border: 3px solid var(--theme-color);
  width: 48px;
  height: 48px;
  border-width: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--theme-color);
  font-size: 24px;
}

.cbni-functions .list-group-item-wrapper .item-icon .circle:hover { 
  border:3px solid var(--theme-hover-color);
}

.cbni-functions .list-group-item:hover .circle{
  border:3px solid var(--theme-hover-color);
}

/* #endregion */

/* #region wizard */
.wizard {
  display: flex;
  justify-content: center;
  gap: 3%;
  margin-bottom: 8px;
  align-items: flex-start;
}

.wizard-label-vertical .wizard-item {
  overflow: visible;
}

.wizard-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  max-width: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wizard-item:not(:last-child).wizard-item-finish .wizard-item-tail:after {
  background-color: #007e58;
}

.wizard-item:not(:last-child) .wizard-item-tail {
  position: absolute;
  top: 13.5px;
  box-sizing: border-box;
  width: 40%;
  height: 1px;
}

.wizard-label-vertical .wizard-item-tail {
  left: 85%;
}

.wizard-item-node {
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  vertical-align: top;
}

.wizard-label-vertical .wizard-item-content {
  display: block;
  width: 80px;
  text-align: center;
  margin-top: 5px;
}

.wizard-label-vertical .wizard-item-title {
  margin-top: 2px;
  padding-right: 0;
}

.wizard-item-finish .wizard-item-title {
  color: #000;
}

.wizard-item-title {
  position: relative;
  display: inline-block;
  color: #4e5969;
  font-size: 12px;
  line-height: 20px;
  white-space: normal;
  text-wrap: wrap;
  width: 80px;
}

.wizard-item-process .wizard-icon {
  color: #FFF;
  background-color: #007e58;
  border: 1px solid transparent;
}

.wizard-icon {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  border-radius: var(--border-radius-circle);
  font-size: 12px;
}

.wizard-item-finish .wizard-icon {
  color: #006647;
  background-color: #d5f5eb;
  border: 1px solid transparent;
}

.wizard-item-wait .wizard-icon {
  color: #4e5969;
  background-color: #f2f3f5;
  border: 1px solid transparent;
}

.wizard-item:not(:last-child) .wizard-item-tail:after {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #e5e6eb;
  content: "";
}

.wizard-item-description {
  max-width: 140px;
  margin-top: 2px;
  color: #4e5969;
  font-size: 10px;
  white-space: normal;
}
/* #endregion */

/* #region general form */
.button-container{
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.form-panel {
	box-shadow: 2px 2px 2px rgb(0, 0 , 0, 0.1);
}

.form-panel .card-header {
  padding-top: 8px;
  padding-bottom: 8px;
}

.form-panel .card-header span {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group{
  margin-bottom: 16px;
}

.form-control-label{
  margin-bottom: 4px;
}

.container-content {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 8px 16px;
}

.container-content.is-invalid {
	border-color: var(--bs-form-invalid-border-color);
}

.capital{
	text-transform: uppercase;
}

.form-control {
	padding-top: 7.5px;
	padding-bottom: 7.5px;
	min-height: 44px;
}

.form-container{
  margin-bottom: 12px;
}

.container-label {
  margin-bottom: 4px;
}

.form-check .invalid-feedback {
	margin-left: -1.5rem;
}

.form-check:has(.is-invalid) ~ .invalid-feedback {
	display: block;
}

.form-control-container.is-invalid .invalid-feedback{
  display: block;
}

.error-container.is-invalid .invalid-feedback{
  display: block;
}

.error-container{
  margin-bottom: 8px;
}

.is-invalid.invalid-feedback {
	display: block;
}

.choices{
  margin-bottom: 0px;
}

.choices:has(.choices__inner):has(.is-invalid) ~ .invalid-feedback {
	display: block;
}

.choices__inner{
  font-size: inherit;
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius);
}

.choices__inner:has(.is-invalid), .form-input-date.is-invalid ~ .form-input-date.input, .form-input-datetime.is-invalid ~ .form-input-datetime.input {
  border-color: var(--bs-form-invalid-border-color);
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(1.275em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.choices__heading {
  font-size: inherit;
  color: inherit;
  font-weight: bold;
}

.choices__list--dropdown:has(.choices__group) .choices__item, .choices__list[aria-expanded]:has(.choices__group) .choices__item{
  padding-left: 18px;
}

.choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item{
  font-size: inherit;
}

.choices__list--single {
	padding-bottom: 0;
	padding-top: 0;
}


.address-container-header {
	display: flex;
	border-bottom: 1px solid #e6e6e6;
	align-items: center;
	padding: 4px 0px;
	margin-bottom: 8px;
  gap: 8px;
}

.detail-address-container-header {
	display: flex;
	align-items: center;
	padding: 4px 0px;
  gap: 8px;
  margin-bottom: 8px;
}

.address-container-body{
  margin-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px; 
}

.required {
  color: #ed0c0c;
  padding-left: 5px;
}

.collapsable-panel-header{
  cursor: pointer;
}

.panel-title-left{
  display: flex;
  gap: 8px;
  align-items: center;
}

.collapsable-panel-header i {
  font-size: 0.75rem;
}

.main-owner-container{
  margin-bottom: 16px;
}

.main-owner-content {
	padding: 8px 8px 16px 8px;
	background-color: #e3f0e1;
	border-radius: 0px 0px 8px 8px;
}

.main-owner-container .container-content, .multiple-owner-item-content .container-content{
  border: 1px solid #a4a7aa;
}

.main-owner-container .address-container-header, .multiple-owner-item-content .address-container-header {
  border-bottom: 1px solid #b3b1b1;
}

.multiple-owner-item-content{
  background-color: #a5c6a042;
}

.currency-panel-body,  .bni-panel-body{
	background-color: #7cb07b8c;
}

.multiple-currency-item-content, .multiple-bni-item-content {
	background-color: #e3f0e1;
}

.main-owner-header, .multiple-owner-item-header{
  font-weight: bold;
}

/* #endregion */

/* #region t&c */
#cbni-terms .card-body {
	/* max-height: 300px;
	overflow-y: scroll; */
}

#cbni-terms .terms-title {
  font-size: 18px;
  font-weight: bold;
}

#cbni-terms .terms-title{
  font-weight: bold;
}

#cbni-terms .form-button-group button{
  display: block;
  width: 100%;
  margin-bottom: 8px;
}

/* #endregion */

/* #region new form */
.hkidChkDigit {
	display: flex;
	align-items: center;
}

.hkidChkDigit::before{
  content:"(";
  padding-right: 4px;
}

.hkidChkDigit::after{
  content:")";
  padding-left: 4px;
}

.inline-display-container{
  border-bottom: 1px dashed #dee2e6;
}

.multiple-item-header{
  background-color: #e9ecef;
  padding: 8px;  
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0px 0px;
  border-bottom: 1px solid #c6c5c5;
}

.multiple-item-content{
  padding: 8px 8px;
  border-radius: 0px 0px 8px 8px;
}

.cbni-form .list-group-item{
  margin-bottom: 16px;
}

.multiple-item-content .btn-group {
  margin-top: 8px;
}

.review-label{
  font-weight: bold;
}

.review-highlight{
  background-color: #cdffbba3;
  padding: 3px;
  margin-left: -3px;
}

/* #btn-history-formFill{
  float: right;
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 3px;
  border-radius: 8px;
  box-shadow: 2px 2px 2px rgb(0, 0 , 0, 0.1);  
} */

#btn-history-formFill {
  margin-top: 8px;
  width: 100%;
  min-height: 43px;
  min-width: 160px;
  border-radius: 10px;
  padding: 4.375px 16.75px 4.375px 16.75px;
}

.declarant-panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* #endregion */

/* #region enquire */
.file-input-wrapper label{
  position: absolute;
  cursor: pointer;
  right: 30px;
  top: 15px;
  color: gray;
}

.enquiry-panel-header-desc{
  font-size: 0.9rem;
  font-weight: normal;
}
/* #endregion */

/* #region enquire history modal */
#enquireHistoryDeclarModal .modal-header {
	font-weight: bold;
	padding-top: 12px;
	padding-bottom: 12px;
  background-color: var(--bs-card-cap-bg);
}

#enquireHistoryDeclarModal .btn-close:focus{
  box-shadow: none;
}

.overlay {
  position: fixed; /* Positioning and size */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(128,128,128,0.5); /* color */
  z-index: 999;
  overflow: scroll;
}

.enquire-history-notice {
	background-color: #eee;
	border-radius: 8px;
	padding: 8px;
	margin-bottom: 16px;
	margin-left: -8px;
	margin-right: -8px;
}
/* #endregion */

/* #region captcha */
.captcha-div {
  display: flex;
  align-items: end;
  max-width: 300px;
  margin-top: 16px;
}

.captcha-img-div img {
  max-width: 100%;
  min-height: 30px;
}

.captcha-btn-div {
  display: flex;
  flex-direction: column;
}

.captcha-btn-div button {
	border-radius: 5px;
  padding: 4px;
  margin-left: 8px;
  margin-top: 2px;
}


/* #endregion */

/* #region review page */
.view-mode-container {
	display: flex;
	align-items: center;
	margin-left: 8px;
	margin-right: 8px;
	margin-bottom: 8px;
	gap: 16px;
}


.cbni-review .form-container .row > * {
	padding-left: 0;
	padding-right: 0;
}

.cbni-review .form-container .row {
	margin-left: 0;
	margin-right: 0;
}

.cbni-review .form-container .review-highlight {
	padding: 3px;
}
/* #endregion */

/* #region application result */
.result-content-title {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 700;
	justify-content: center;
	margin-bottom: 8px;
	/* color: #E00; */
	text-align: center;
	padding: 8px 16px;
  	font-size: 18px;
}

.result-content-title i {
	font-size: 32px;
}

#result-qr-code {
	text-align: center;
  margin-bottom: 8px;
}

.result-qr-code-msg{
	margin-bottom: 8px;
  /* color: #E00; */
  font-weight: bold;
}

#btn-result-screenshot img {
	width: 30px;
	height: 30px;
	margin-right: 5px;
}

.result-remind-msg{  
  /* color: #E00; */
}

.result-content-text{
  text-align: center;
  font-weight: bold;
}

.result-content-text div{
  margin-bottom: 8px;
}

.icon-container {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}
/* #endregion */

/* #region loading */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 9999;
}

@keyframes loading-icon {
  0% { opacity: 1 }
  50% { opacity: .5 }
  100% { opacity: 1 }
}
.loading-icon div {
  position: absolute;
  width: 8px;
  height: 20px;
  top: 10px;
  animation: loading-icon 1.5s cubic-bezier(0.5,0,0.5,1) infinite;
}

.loading-icon div:nth-child(1) {
  transform: translate(0px,0);
  background: #007054;
  animation-delay: -0.9s;
}

.loading-icon div:nth-child(2) {
  transform: translate(15px,0);
  background: #5cbf62;
  animation-delay: -0.6s;
}

.loading-icon div:nth-child(3) {
  transform: translate(30px,0);
  background: #0b7f58;
  animation-delay: -0.3s;
}

.loadingio-spinner-bars {
  width: 40px;
  height: 40px;
  display: inline-block;
  overflow: hidden;
  background: none;
}
.loading-icon {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.loading-icon div { box-sizing: content-box; }

.loading-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px 70px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
/* #endregion */

/* #region prompt-dialog */
.prompt-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.prompt-dialog-container {
  background: white;
  border-radius: 8px;
  width: 80%;
}

.prompt-dialog-message {
	display: flex;
	padding: 24px;
	min-height: 100px;
	align-items: center;
	margin-top: 16px;
	margin-bottom: 16px;
	gap: 16px;
	margin-left: 16px;
}

.prompt-dialog-buttons {
	display: flex;
	justify-content: end;
	padding: 16px 24px;
	border-top: 1px solid #c1c1c1;
	gap: 16px;
	background-color: #eee;
	border-radius: 0 0 8px 8px;
}

/* #endregion */

/* #region browser checking */
.browser-checking-footer {
	margin-top: 32px;
}

.browser-checking-msg{
  margin-top: 8px;
  margin-bottom: 16px;

}
/* #endregion */

/* #region error page */
.alert-header {
	display: flex;
	gap: 5px;
	font-size: 1.25rem;
	font-weight: bold;
	align-items: center;
  margin-bottom: 16px;
}

/* #endregion */

/* #region transition effect */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.25s;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
}


/* #endregion */

/* #region iam smart */
button.btn-iamsmart {
  /* margin-top: 15px; */
  background-color: #2b7366;
  border: none;
  color: #FFFFFF;
  padding: 4.375px 16.75px 4.375px 16.75px;
  cursor: pointer;
  outline:none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.link-imsMoreInfo{
  color: #0498ee;
  cursor: pointer;
  font-size: 14px;
}

.link-imsMoreInfo:after{
  content: " > ";
  color: #0498ee;
}

.ias-data-provided-wrapper{
  margin-top: 24px;
  font-size: 14px;
}

.ias-data-provided-wrapper img{
  margin-right: 4px;
}

button.btn-iamsmart .buttontext {
  padding-left: 8.75px;
  overflow: hidden;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
  }

.ias-form-fill-container {
  align-self: center;
}

.ias-form-fill-tag {
  width: 35px;
}
/* #endregion */

/* #region flatpickr */
.flatpickr-current-month input.cur-year
{
    display:none !important;
}

.year-dropdown
{
    margin-left: -40px !important;
    appearance: menulist;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 300;
    height: auto;
    line-height: inherit;
    margin: -1px 0 0 0;
    outline: none;
    padding: 0 0 0 .5ch;
    position: relative;
    vertical-align: initial;
    -webkit-box-sizing: border-box;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    width: auto;
}
/* #endregion */

/* #region media queries for tablet */
@media screen and (min-width: 768px) {

  .header-icon img {
    width: auto;
  }

  .wrapper{
    max-width: 75%;
    margin-right: auto;
    margin-left: auto;
  }

  .banner-title {
    font-size: 28px;
  }

  .subHeader-title span{
    font-size: 28px;
  }  

  .subHeader-title h1{
    font-size: 28px;
  }  

  .footer-wrapper {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-wrapper #footer-right{
    gap: 32px;
  }

  .declaration-type-list .list-group-item-wrapper .item-icon .circle {
    width: 72px;
    height: 72px;
    border-width: 6px;
  }

  .declaration-type-list .list-group-item-wrapper .item-icon .circle:hover { 
    border-width: 6px;
  }

  .declaration-type-list .list-group-item:hover .circle{
    border-width: 6px;
  }

  .cbni-functions .list-group-item-wrapper .item-icon .circle {
    width: 72px;
    height: 72px;
    border-width: 6px;
    font-size: 30px;
  }

  .cbni-functions .list-group-item-wrapper .item-icon .circle:hover { 
    border-width: 6px;
  }

  .cbni-functions .list-group-item:hover .circle{
    border-width: 6px;
  }

  #cbni-terms .card-body {
    /* max-height: 600px; */
  }

  .wizard-item:not(:last-child) .wizard-item-tail {
    width: 60%;
  }

  .wizard-label-vertical .wizard-item-tail {
    left: 80%;
  }  

  .button-container{
    flex-direction: row-reverse;
  }

  #cbni-terms .form-button-group button {
    display: inline-block;
    width: auto;
    margin-left:8px;
  }

  button.btn-iamsmart {
    width: auto;
  }

  #btn-history-formFill {
    width: auto;
  }
}
/* #endregion */

/* #region media queries for desktop */
@media screen and (min-width: 1024px) {
  
  html {
    font-size: 18px;
  }

  body {
    font-size: 18px;
  }

  .banner-title {
    font-size: 36px;
  }

  .subHeader-title span{
    font-size: 36px;
  }

  .subHeader-title h1{
    font-size: 36px;
  }

  .footer-wrapper {
    font-size: 16px;
    max-width: 1680px;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-wrapper #footer-left .copyright{
    gap: 16px;
    max-width: 400px;
  }
  

  .declaration-type-list .list-group-item-wrapper {
    padding: 32px;
    gap: 32px;
  }

  .declaration-type-list .list-group-item-wrapper .item-description{
    font-size: 16px;
  }

  .declaration-type-list .list-group-item-wrapper .item-remark{
    font-size: 16px;
  }

  .cbni-functions .list-group-item-wrapper {
    padding: 32px;
    gap: 32px;
  }

  .cbni-functions .list-group-item-wrapper .item-description{
    font-size: 16px;
  }

  .cbni-functions .list-group-item-wrapper .item-remark{
    font-size: 16px;
  }  

  #owners .form-button-group button {
    display: inline-block;
    width: auto;
    margin-left:8px;
  }

  div.next-button {
    float: right;
  }

  .wizard-icon {
    width: 34px;
    height: 34px;
    line-height: 30px;
    font-size: 14px;
  }

  .wizard-item-title {
    font-size: 14px;
  }

  .wizard-item:not(:last-child) .wizard-item-tail {
    width: 75%;
  }

  .wizard-label-vertical .wizard-item-tail {
    left: 70%;
  }
  
  button.btn-iamsmart {
    padding-top: 8.375px;
    padding-bottom: 8.375px;
  }

  #btn-history-formFill {
    padding-top: 8.375px;
    padding-bottom: 8.375px;
    min-height: 51px;
  }

  .result-content-title {
    font-size: 22px;
  }
}
/* #endregion */

/* #region media queries for large desktop */
@media screen and (min-width: 1600px) {

  .wrapper{
    max-width: 1024px;
  }

  .footer-wrapper #footer-left .copyright{
    max-width: 700px;
  }

}
/* #endregion */