div.searchCrit {
	display: inline-block;
	width: 100%;
}

.searchCrit fieldset {
	border: none;
	padding: 0px;
	margin: 0px;
    background-color: white;
    border-radius: 5px;
	display: grid;
}

.searchCrit div.odd {
	background-color: #f9f9f9;
}

.searchCrit div.even {
	background-color: #ffffff;
}

div.sc-criteria > div:has(.sc-name){
	padding-right: 0;
}

div.sc-criteria img {
	vertical-align: middle;
    cursor: pointer;
}

div.sc-criteria .sc-range-to {
	text-align: center;
	width: 50px;
	display: inline-block;
}

input.sc-key {
}

label.sc-name  {
	display: inline-block;
	/* width: 250px; */
	margin: 5px;
}
label.sc-name-infotab  {
	display: inline-block;
	inline-size: -webkit-fill-available;
	margin: 5px;
}
label.sc-oper {
	display: inline-block;
	margin: 5px;
}

select.sc-oper {
	width: 100%;
	display: inline-block;
	margin: 5px;
    border-radius: 10px;
    background: lightgrey;
    border-width: 0px;
    text-align: center;
}
.tabtable{
    background-color: #F5F5F5;
    border-radius: 10px;
	padding: 5px;
	font-size: 14px;
	border: 1px solid #dee2e6;
}
.chosen-container-multi .chosen-choices {
    background-image: none;
    border-radius: 10px;
    background-color: #D9D9D9;
    border-width: 0px;
}

div.sc-value-container {
	display: flex;
	width: 100%;
    margin-right: 40px;

	&:has(> div.choices){
		display: block;
	}

	& div.choices {
		margin: 5px;
		
		& div.choices__inner{
			background-color: #d9d9d9 !important;
			border-radius: 10px;
			border-width: 0px;
			height: 26px !important;
		    min-height: 26px;
			padding: 5px;
			padding-bottom: 0px;

			&:has(select[multiple]) {
				height: auto !important;
		    	min-height: 30px;
			}

			&:not(:has(select[multiple])) {
				padding-top: 2px;

				& > .choices__list--single{
					padding-top: 0;
				}
			}

			& .choices__input {
				background-color: #d9d9d9 !important;
			}
		}
		
	}
}
@media ( max-width : 767px) {
	div.sc-value-container {
		display: flex;
		width: 100%;
		margin-right: 0px;
		justify-content: space-between;
	}
}

input[type='text'].sc-value,
select.sc-value {
	/* display: inline-block; */
	margin: 5px;
	width: inherit;
	border-radius: 10px;
    border-width: 0px;
    background-color: #D9D9D9;
}

.sc-value-mtlookup {
	display: inline-block;
	margin: 0 5px;
	width: inherit;
	border-radius: 10px;
    border-width: 0px;
    background-color: #D9D9D9;
	width: 100%;
	height: 100%;
	min-height: 24px;
	margin-bottom: 25px;
	cursor: pointer;
}

.sc-value-text,
.sc-value-multilookup {
	width: 100%;
	/* width: 400px; */
	width: 95%;
}

.sc-value-lookup {
	width: 100% !important;
}

.sc-value-number,
.sc-value-date {
	width: 150px;
}
@media ( max-width : 767px) {
	.sc-value-number,
	.sc-value-date {
		width: 45%;
	}
	/* width: 100%; */
}

div.sc-value-container .chosen-container {
	width: 100% !important;
	margin: 5px !important;
}

.sc-value-dialog {
	width: 400px;
	margin: 5px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
}

.sc-value-dialog .dialog-choices {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0 5px;
/*     width: 100%; */
    height: auto !important;
    height: 1%;
    border: 1px solid #aaa;
    background-color: #fff;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
    background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%);
    background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%);
    background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%);
    background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
    cursor: pointer;
    min-height: 27px;
}

.sc-value-dialog .dialog-choices li.find {
    float: left;
    list-style: none;
    margin: 6px 10px 6px 0px;
    cursor: pointer;
    background: url('/eams/image/icon/find-2ace827213dc41ca7b7290f594e39cff.png');
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}

.sc-value-dialog .dialog-choices li.dialog-choice {
	float: left;
    list-style: none;
	position: relative;
    margin: 3px 5px 3px 0;
    padding: 3px 20px 3px 5px;
    border: 1px solid #aaa;
    max-width: 100%;
    border-radius: 3px;
    background-color: #eeeeee;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
    background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-size: 100% 19px;
    background-repeat: repeat-x;
    background-clip: padding-box;
    box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
    color: #333;
    line-height: 13px;
    cursor: default;
}

.sc-value-dialog .dialog-choices li.dialog-choice span {
	word-wrap: break-word;
}

.sc-value-dialog .dialog-choices li.dialog-choice .dialog-choice-close {
    position: absolute;
    top: 4px;
    right: 3px;
    display: block;
    width: 12px;
    height: 12px;
    background: url('./chosen/chosen-sprite.png') -42px 1px no-repeat;
    font-size: 1px;
}

.sc-error {
	color: red;
    margin-left: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

div.sc-button {
	display: inline-block;
	width: 100%;
	margin-top: 10px;
}

div.sc-button div {
	justify-content: center;
	float: right;
    display: flex;
    flex-wrap: wrap;
    width: 100%;

	& button.sc-mobile-button {
		display: none;
	}
}
@media ( max-width : 767px) {
	div.sc-button div {
		justify-content: space-evenly;

		& button.sc-mobile-button {
			display: inline-block;
		}
	}
}
div.sc-button .outputExcelButton {
	width: 150px;
}
@media ( max-width : 767px) {
	div.sc-button .outputExcelButton {
		width: 45%;
	}
}
@media ( max-width : 363px) {
	div.sc-button .outputExcelButton {
		width: 140px;
	}
}
div.sc-button .importExcelButton {
	margin-right: 10px;
}

div.sc-button .importOCRButton {
	margin-right: 10px;
}

div.sc-button button {
	width: 150px;
	margin: 5px;
	background-color: #005246;
    color: white !important;
    border-radius: 10px !important;
    border-width: 0 !important;

	&:hover, &:active, &:focus {
		background-color: #005246;
	}
}
@media ( max-width : 767px) {
	div.sc-button button {
	    width: 45%;
		margin: 5px;
		background-color: #005246;
	    color: white !important;
	    border-radius: 10px !important;
	    border-width: 0 !important;
	}
}
.subrow {
	display: flex;
	width:50%; 
	justify-content:space-between;
}
@media ( max-width : 767px) {
	.subrow{
		display: flex;
		width:100%; 
		justify-content:space-between
	}
}
.outerrow {
	width: 100%;
	display: flex;
}

@media ( max-width : 767px) {
	.outerrow {
		width: 100%;
		display: block;
	}
}

.mobile-expander {
    max-height: none; /* No max-height restriction */
    overflow: visible; /* Overflow is visible */
    opacity: 1; /* Fully visible */
    transition: none; /* No transitions on larger screens */
}
.searchCritToggleButton {
	display:none;
	height: 50px; cursor: pointer; margin-top: 20px;
}
/* Styles for screens smaller than 767px */
@media (max-width: 767px) {
	.searchCritToggleButton {
		display:block;
	}
	
    .mobile-expander {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out, opacity 0.2s ease-out;
    }

    .mobile-expander.expanded {
        max-height: -webkit-fill-available; /* Adjust this value as needed */
        transition: max-height 0.2s ease-in, opacity 0.2s ease-in;
    }
}
.rotate180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease; /* Smooth transition */
}

.rotate0 {
    transform: rotate(0deg);
    transition: transform 0.3s ease; /* Smooth transition */
}

.gray-button, .dt-button:disabled {
	background-color: #bfbfbf !important; 
	border: 1px solid #bfbfbf !important;
}

.red-button {
	background-color: #f95959 !important; 
	border: 1px solid #f95959 !important;
}

.blue-button {
	background-color: #19a3ce !important; 
	border: 1px solid #19a3ce !important;
}

.white-button {
	background-color: #f2f5fa !important; 
	border: 1px solid #454545 !important;
	color: #454545 !important;
}

.orange-button {
	background-color: #ff7f27 !important; 
	border: 1px solid #ff7f27 !important;
	color: #454545 !important;
}

input.large-button {
	font-size: 1.1rem;
}
.popover-body {
	max-height: 80vh;
	height: auto;
	padding: 0%;
	padding-right: 15px;
	overflow-y: auto;
}

.popover-body .row {
	height: auto;
	overflow-y: auto;
	align-content: flex-start;
	overflow-x: hidden;
}

.redBtn-primary-outline {
  background-color: transparent !important;
  border: 1px solid #f95959 !important;
  color: #f95959 !important;
}

.fullWith {
	width: 100%;
}

.multipleLookup-triggerContainer {
	border: 1px solid #ccc; padding: 5px; min-height: 28px; cursor: pointer;
}

.sc-name{
	font-weight: bold;
}