/*!
 *	For: Vetmanage
 *	Version: 1
 *	Author: Oum
 *	Website: vetmanage.co <https://vetmanage.co> 
 *	Copyright 2019-2025
 */

.content-wrapper {
	min-height: calc(100vh - calc(3.5rem + 1px) - calc(3rem + 1px)) !important;
}

.content-header h1 {
	font-size: 1.5rem;
	margin: 0;
}

@-webkit-keyframes growIn {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes growIn {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.animated--grow-in {
  -webkit-animation-name: growIn;
  animation-name: growIn;
  -webkit-animation-duration: 200ms;
  animation-duration: 200ms;
  -webkit-animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
  animation-timing-function: transform cubic-bezier(0.18, 1.25, 0.4, 1), opacity cubic-bezier(0, 1, 0.4, 1);
}

.icon-input-custom .input-group .input-group-text {
  background-color: transparent;
}
.icon-input-custom .input-group .form-control {
  border-right: 0;
}

.bg-login-image {
  background: url("../img/bg-login.jpg");
  background-position: center;
  background-size: cover;
}

.alert-success-custom {
	color: #0f6848;
	background-color: #d2f4e8;
	border-color: #bff0de;
	margin: 0.5rem !important;
}

.alert-danger-custom {
  color: #78261f;
  background-color: #fadbd8;
  border-color: #f8ccc8;
  margin: 0.5rem !important;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 600;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently*/
}

.mt-6 {
	margin-top: 4rem !important;
}

.nav-pills .nav-link.active {
  background-color: #28a745;
}

.dt-toolbar {
    float: left;
}

table.dataTable thead {
	background-color: #f8f9fa;
}

table.dataTable td {
	border-top: 0;
	border-bottom: 1px solid #dee2e6;
}

.custom-control-label::before {
	left: -1.5rem;
}

.custom-control-label::after {
	left: -1.5rem;
}

.custom-switch .custom-control-label2::before {
  left: -2.25rem;  
}

.custom-switch .custom-control-label2::after {
  left: calc(-2.25rem + 2px);
}

fieldset 	{
	border: 1px solid #ddd !important;
	margin: 0;
	min-width: 0;
	padding: 10px 15px 10px 15px;
	position: relative;
	border-radius: 4px;
	background-color: #fcfcfc;
}	
	
legend {
	font-size: 14px;
	/*font-weight: bold;*/
	margin-bottom: 0px; 
	border: 1px solid #ddd;
	border-radius: 4px; 
	padding: 5px 5px 5px 10px; 
	background-color: #ffffff;
}

.datepicker { 
    z-index: 999 !important;
}

.form-control-xl {
  height: calc(3.625rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 2rem;
  line-height: 1.3;
  border-radius: 0.3rem;
}

.modal-body-fix {
    max-height: calc(100vh - 190px);
    overflow-y: auto;
}

.modal-div-fix {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.blink2s {
  animation: blinker 2s linear infinite;
}

.blink4s {
  animation: blinker 4s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.required-box {
	border: 1px solid #ff0000 !important;
}

.default-box {
	border: 1px solid #ced4da !important;
}

.table-sm th,
.table-sm td {
  padding: 0.5rem;
}

.receipt_58,
.receipt_80,
.receipt_A4 {
	width: 100%;
	font-size: 12px;
}

.label_style {
	width: 100%;
	font-size: 12px;
}

.pointer {
	cursor: pointer;
}

.navbar-nav > .help-menu > .dropdown-menu {
	width: 280px;
	border-radius: 0.15rem;
}

.hoverDiv {
	background: #fff;
}

.hoverDiv:hover {
	background: #f5f5f5;
}

.px-4-5 {
	padding-right: 1.8rem !important;
}

a.active.nav-dark {
	background-color: #343a40 !important;
}

.fa-fw-sm {
	text-align: center;
	width: 1em; 
}

.card-btsm {
	margin-bottom: 0.5rem !important;
}

.modal-600 {
    max-width: 600px;
}

.badge-pink {
  color: #ffffff;
  background-color: #e21b76;
}

@media (max-width: 1200px) { /*v.1.7.0*/
	.text-ipad {
		font-size: 14px;
	}
	.table-hover {
		font-size: 14px;
	}
	.content-header h1 {
		font-size: 22px;
	}
}

table tr.row-active {
	/*background-color: rgba(0, 0, 0, 0.075);*/
	background-color: #6f42c1;
	color: #ffffff;
}

.external-event {
	font-size: 14px;
	font-weight: 400;
}

.lab-mw {
	min-width: 500px;
}

.table-rounded {
    border: none;
}
.table-rounded thead th {
    border: none;
	border-bottom: solid 1px #bbbbbb;
}
.table-rounded thead th:first-child {
    border-radius: 5px 0 0 0;
}
.table-rounded thead th:last-child {
    border-radius: 0 5px 0 0;
}

.text-ult {
	text-decoration: line-through;
}

.timeline > div {
  margin-right: 1px;
}

.timeline > div > .timeline-item {
  margin-right: 1px; 
}

.text-underline {
  text-decoration: underline;
}

.text-bold {
	font-weight: bold;
}

.bdr-a {
	border: #333 1px solid;
}

.bdr-t {
	border-top: #333 1px solid;
}

.bdr-r {
	border-right: #333 1px solid;
}

.bdr-b {
	border-bottom: #333 1px solid;
}

.bdr-l {
	border-left: #333 1px solid;
}

@font-face {
	font-family: bc39Font;
	src: url('../font/barcode39.ttf') format('truetype');
}

.barcode39 {
	font-size: 72px;
	font-family: 'bc39Font';	
}

.popover {
	max-width: 376px !important;	
}

.popover-body {
	max-height: 80vh;
    overflow-y: auto;
}

.bg-gray2 {
  background-color: #edeeef !important;
}
