@font-face {
    font-family: RobotoCondensed;
    src: url("../font/RobotoCondensed-Regular.ttf");
}

:root {
  --main-color: #333333;
  --main-color-rgb: 51,51,51;
  --main-color-darker: #111111;

  --bs-primary: var(--main-color);
  --bs-primary-rgb: var(--main-color-rgb);
  --bs-link-color: var(--main-color);
  --bs-btn-bg: var(--main-color);
  --bs-btn-border-color: var(--main-color);
  --bs-link-hover-color: var(--main-color-darker);
}

.btn-primary{
	--bs-btn-bg: var(--main-color);
	--bs-btn-border-color: var(--main-color);
	--bs-btn-hover-bg: var(--main-color-darker);
	--bs-btn-hover-border-color: var(--main-color-darker);
	--bs-btn-active-bg: var(--main-color-darker);
	--bs-btn-active-border-color: var(--main-color-darker);
}
body{
	background-color: #367a40;
	font-family: RobotoCondensed, sans-serif;
}

.main-card{
	min-height: 75vh;
	background-color: #FFFFFFDD;
}

.main-card-scan{
	background-color: #FFFFFFDD;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 1s
}

.fade-enter,
.fade-leave-to {
    opacity: 0
}

main#app{
	padding-top: 2rem;
	padding-bottom: 5rem;
}

.offline-container{
	text-align: center;
}

.offline-container h1{
	font-size: 6rem;
	padding: 1rem;
	position: relative;
}

.offline-container h1 span{
	position: absolute;
	color: #FF0000;
	right: 30%;
	bottom: 27%;
	font-size: 2rem;
}

.offline-container h1 span.event-end{
	position: absolute;
	color: #21ba45;
	left: 50%;
	top: 54%;
	transform: translate(-50%, -50%); 
	font-size: 2rem;
}

@keyframes rotation {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}

#loading{
	background: #d4d4d4;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 1090;
	position: fixed;
}

#loading .lcenter{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


.loader{
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-block;
	border-top: 6px solid #FFF;
	border-right: 6px solid transparent;
	-webkit-animation: rotation 1s linear infinite;
	animation: rotation 0.7s linear infinite;
}

#alert-navbar{
	position: fixed;
	top: 0;
	width: 100%;
	text-align: center;
	z-index: 999;
}

.alert-list{
	transition: 0.5s;
}

.alert-list.disappear{
	opacity: 0;
}

#offline-alert{
	background-color: #000000;
	color: #FFFFFF;
	padding: 0.25rem;
	display: none;
}

#offline-alert {
  display: none;
}

#offline-alert.isoff {
  display: block;
}

#alert-content{
	margin: 0;
}

#alert-navbar .bar{
	position: absolute;
    border-bottom: 3px solid #939393;
    bottom: 0;
    width: 0%;
}


.lower-navbar{
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 9;
	background-color: #FFFFFF;
	text-align: center;
	border-top: 2px #d3d3d3 solid
}

.lower-navbar h1{
	padding: 0.5rem;
	margin: 0;

	border-bottom: 5px #FFFFFF solid;
	border-right: 1px #d3d3d3 solid;
}

.lower-navbar h1.active{
	border-bottom: 5px var(--main-color) solid;
}

.ul-scan-list a{
	margin-bottom: 1rem;
	border: 1px solid #ced4da !important;
	border-radius: 0.375rem;
	padding: 0.75rem 0.75rem 0.75rem 4rem;
}

.ul-scan-list a i{
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	font-size: 1.5rem;
}

.table-dbtn-con{
	float: right;
	margin-top: -1.25rem;
}

.btn-sq{
	width: 100%;
	padding: 30px 4px;
	margin-bottom: 16px;

	border: 1px solid #ced4da;
}

.btn-sq i{
	display: block;
	font-size: 40px;
}

.btn-sq span{
	display: block;
	margin: 8px 4px;
}

.scan-table tbody td{
	padding: 0.25rem 0.5rem;
}

#nav-tabContent{
	background-color: #FFFFFF;
	border: 1px solid #dee2e6;
	border-top: none;

	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

/* Modal Design Here */

@keyframes fadeIn {
    from {
        opacity: 0; /* Start with opacity 0 */
    }
    to {
        opacity: 1; /* End with opacity 1 */
    }
}

.image-content {
	position:relative!important;
    color:#000!important;
    bottom: 0.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
    text-align: center;
	opacity:0;
	animation: fadeIn 0.3s ease forwards; /* Apply fade-in animation */
    animation-delay: 0.5s;
}

 /* Override the btn success */
.btn-success{
	border-radius:10px;
}

.btn-ios{
	background:#555555;
	border-radius:10px;
	color: #fff;
	transition: 0.5s ease;
}

.btn.btn-ios:hover,
.btn.btn-ios.active {
	background-color: #28a745; /* Change color to btn-success */
	border-color: #28a745; /* Change border color to match btn-success */
	color:#fff;
}

.modal-title{
	font-size:18px;
}

.title-notice{
	font-size:15px;
}

.reminder-notice {
	font-size:16px;
	font-weight:700;
	color:red;
}
/* Modal Design End */

/* Reach Limit */
.reach-limit{
	font-size:17px;
	font-weight:700;
	color:red;
}