/* tile section */

.form-wrapper {
    margin-top: 100px; /* Adjust for top-bar + actionbar */
    padding: 20px;
    background-color: white;
    width: 100%;
}

.form-wrapper .form-control {
    margin-bottom: 15px;
    height: 40px;
}

.form-wrapper .form-label {
    font-weight: bold;
}

.tile-border {
	position:relative;
	left:10px;
	border: 1px solid silver;
	border-radius: 0;
	margin: 10px 0;
	padding: 10px;
	padding-left: 10px;
	text-align: left;
}

.tile-row {
	padding-left:10px;
	padding-right:10px;
}

.tile_col2 {
	background-color: #0078d7;
}

.tile_col3 {
	background-color: #29cc88;
}

.tile_col4 {
	background-color: #155883;
}

.tile_col5 {
	background-color: #9a244f;
}

.tile_col6 {
	background-color: #6b922c;
}

.tile_col7 {
	background-color: #4286f4;
}

.tile_col8 {
	background-color: #72ADE6;
}

.tile_col20 {
	background-color: #fcb716;
}

.tile_col21 {
	background-color: #eaf209;
}

.tile_col22 {
	background-color: #f73016;
}

.tile_col2, .tile_col3, .tile_col1, .tile_col4, .tile_col5, .tile_col6, .tile_col7, .tile_col8, .tile_col20, .tile_col21, .tile_col22 { 
	min-height:150px;
	border-style: solid;
	border-color: white;
	border-width: medium;
	padding-top: 50px;
	cursor: pointer;
}

.tile_col2, .tile_col3, .tile_col1, .tile_col4, .tile_col5, .tile_col6, .tile_col7, .tile_col8, .tile_col20, .tile_col21, .tile_col22 span { 
	font: 22px arial, sans-serif;
	font-weight: bold;
	color: white;
}

.tilelable4 {
	font: 20px arial, sans-serif;
	font-weight: bold;
	color: white;
}

.tilelable3 {
	font: 16px arial, sans-serif;
	font-weight: bold;
	color: white;
}

.tilelable2 {
	font: 14px arial, sans-serif;
	font-weight: bold;
	color: white;
}

.tilelable1 {
	font: 12px arial, sans-serif;
	font-weight: bold;
	color: white;
}


.tiletext4 {
	font: 12px arial, sans-serif;
	color: white;
}

.tiletext3 {
	font: 11px arial, sans-serif;
	color: white;
}

.tiletext2 {
	font: 10px arial, sans-serif;
	color: white;
}

.tiletext1 {
	font: 9px arial, sans-serif;
	color: white;
}

/* end of tile section

/* begin of user presence and news box */

.c_boxindex
{
	min-height: 150px;
}

.c_trans_calc_top_dv
{
	border: 1px solid silver;
	border-radius: 10px;
	margin: 10px 0;
	padding: 10px;
	padding-left: 15px;
	text-align: left;
}

.c_trans_calc_top_dv select
{
	min-height: 20px;
}

.silverbox
{
	border: 1px solid silver;
	margin: 10px 0;
	padding: 10px;
	padding-top: 15px;
	padding-left: 15px;
	text-align: left;
}

.silverbox	select
{
	min-height: 20px;
}

.boxdisplay
{
	border: 1px solid silver;
	padding: 3px;
	display: inline-block;
	margin-top: -30px;
	position: absolute;
	background: white;
	font-size: 14px;
	font-weight: bold;
}

#_mypf {
	background-image: url('/css/searchicon.png');
	background-position: 10px 12px;
	background-repeat: no-repeat;
	width: 100%;
	font-size: 14px;
	padding: 4px;
	border: 1px solid #ddd;
	margin-bottom: 12px;
}

#_myul {
	position:relative;
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 100%; 
	height: 200px; 
	overflow: auto;
	top:10px;
}

#_myul li a {
	border: 1px solid #ddd;
	margin-top: -1px; /* Prevent double borders */
	background-color: #f6f6f6;
	padding: 4px;
	text-decoration: none;
	font-size: 14px;
	color: black;
	display: block
}

#_myul li a:hover:not(.header) {
	background-color: #f9f9f8;
}

.c_red {
	color: red;
}

.c_grn {
	color: green;
}

.c_amb {
	color: orange;
}

/* end	of user presence and news box */

/* start forms in content-area */


label {
	font-size: 0.75rem; /* Smaller font size */
	color: #4a4a4a; /* Dark grey color */
	margin-bottom: 0.25rem; /* Move closer to the input field */
}

/* Adjust dropdown text and item height */
.form-control, .form-control option {
	font-size: 0.875rem; /* Match label font size */
	line-height: 1.5; /* Adjust line height */
	padding: 0.375rem 0.75rem; /* Adjust padding */
}

/* Specific adjustment for select elements */
select.form-control {
	height: calc(2.25rem - 20%);
	padding-top: 0.2rem; /* Decrease top padding */
	padding-bottom: 0.5rem; /* Increase bottom padding */
}

/* Read-only field styling */
.readonly-field {
	background-color: #f0f0f0; /* Light gray background */
	border-color: #dcdcdc; /* Slightly lighter border */
}

/* Textarea auto-resize */
textarea.form-control {
	overflow: hidden;
	resize: none;
}

/* Custom switch styling */
.form-check-label::before {
	left: -2.25rem;
	width: 2rem;
	height: 1rem;
	pointer-events: all;
	content: "";
	background-color: #e9ecef; /* Light grey when unchecked */
	border: #ced4da solid 1px; /* Light grey border when unchecked */
	border-radius: 1rem;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.form-check-input:checked ~ .form-check-label::before {
	background-color: #007bff; /* Blue when checked */
	border-color: #007bff;
}

.form-check-input:focus ~ .form-check-label::before {
	box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.form-check-label::after {
	top: 0.25rem;
	left: -2rem;
	width: 0.75rem;
	height: 0.75rem;
	background-color: #fff; /* White button */
	border-radius: 0.75rem;
	transition: transform 0.15s ease-in-out;
}

.form-check-input:not(:checked) ~ .form-check-label::after {
	background-color: #adb5bd; /* Grey button when unchecked */
}

.form-check-input:checked ~ .form-check-label::after {
	transform: translateX(1rem);
}

/* Disabled state styling */
.form-check-input:disabled ~ .form-check-label::before {
	background-color: #e9ecef; /* Light grey when disabled */
	border-color: #ced4da; /* Light grey border when disabled */
}

.form-check-input:disabled ~ .form-check-label::after {
	background-color: #adb5bd; /* Grey button when disabled */
}

/* Limit text width */
.text-muted {
	max-width: 100%;
	word-wrap: break-word;
}

/* Smaller file input button */
.file-input {
	height: calc(2.25rem - 20%);
	padding: 0;
}

/* Picture preview styling */
#picturePreview {
	max-width: 190px;
	max-height: 100px;
	display: none;
}

/* Amber text for invalid feedback */
.invalid-feedback {
	color: #ffbf00; /* Amber color */
}

/* Group styling for radio buttons */
.radio-group {
	border: 1px solid #b0c4de; /* Silver blue-gray border */
	background-color: #f8f9fa; /* Very light background */
	padding: 1rem;
	border-radius: 0.25rem;
	margin-bottom: 1rem; /* Add some space below the group */
}

#updaterecord .mb-3 .form-check{
 top:-12px;
}

.form-check.custom-switch {
	display: flex;
	align-items: center;
}

.form-check-label {
	margin-left: 0.5rem; /* Add some space between the switch and the label */
}

/* Target only checkbox labels */
.form-check-input[type="checkbox"] ~ .form-check-label {
	margin-left: 0.25rem !important; /* Reduce space between the switch and the label */
	margin-bottom: 0 !important; /* Remove bottom margin */
}

/* Target only checkbox inputs */
.form-check-input[type="checkbox"] {
	margin-top: 0 !important; /* Remove top margin */
}

/* end of formstyle */

.table_template {
	margin-top: 10px;
	padding-bottom: 2rem;
}

.form_template {
	margin-top: 5%;
}
   
.fieldclass /* was c_ipt */
{
	width: 100%;
	border-radius: 3px;
	border: 1px solid gray;
	padding-left: 10px;
	min-height: 2.0rem;
	background-color: #f9f9f8;
}

.fieldclass_ro 
{
	width: 100%;
	border-radius: 3px;
	border: 1px solid silver;
	padding-left: 10px;
	min-height: 2.3rem;
}

.selectclass
{
	height: 12px;
}

.htmlarea { /* was c_custom_html */
	color: black;
}

.alertbox /*was c_alert_dv */
{
	color: red;
	display: none;
}

.alertbox span
{
	margin-right: 10px;
	color: darkred;
}

.silverborder /*was c_reg*/
{
	width: 95%;
	margin: 10px auto;
	min-width: 600px;
	padding: 50px;
	text-align: left;
	padding-bottom: 5px;
}

/* end forms in content-area */

/* navigation tabs */
.nav-tabs .nav-link {
	color: #2d4051;
	background-color: #F3F3F3;
	border: 1px solid #CACACA;
	margin-right: 5px; /* Add space between tabs */
	margin-top: 10px; /* Add space between tabs */
}

.nav-tabs .nav-link.active {
	background-color: #c7d0e9;
	color: #2d4051;
}

.nav-tabs .nav-link:hover {
	border-color: #565656;
}
/* end of navigation tabs */

/* everything to do with import */
.importgotitle {
    text-align: center;
    font-size: 24px; /* Adjust the size as needed */
    font-weight: bold; /* Optional: Makes the title bold */
    margin-bottom: 20px; /* Optional: Adds space below the title */
}

.importgotext {
    font-size: 16px; /* Adjust the size as needed */
    line-height: 1.5; /* Improves readability */
    margin-bottom: 20px; /* Optional: Adds space below each paragraph */
}

.spinner {
    margin: 20px auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #2d4051;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative; /* Ensure the spinner is positioned correctly */
}

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

.progress-bar {
    width: 33.33%; /* 1/3 of the screen width */
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px auto; /* Center the progress bar */
}

.progress-bar-fill {
    height: 20px;
    width: 0;
    background-color: #8fbc8f; /* Greenish-grey color */
    transition: width 0.25s;
}
/* end import */

.tab-content {
	display: flex;
	padding-left: 50px; /* Adjust the padding as needed */
}

.imagePreview{
	margin-top:10px; 
	margin-bottom: 5px;
}
