
/* General Styling */
/* Responsive adjustments for smaller screens */
/* Media query for smaller screens */
@media (max-width: 750px) and (orientation: portrait){
    .login-form-div {
        zoom: 80%;
        -moz-transform: scale(100%);/* Firefox Property */
        -moz-transform-origin: 0 0;
        -o-transform: scale(100%);/* Opera Property */
        -o-transform-origin: 0 0;
        -webkit-transform: scale(100%);/* Safari Property */
        -webkit-transform-origin: 0 0;
        transform: scale(100%); /* Standard Property */
        transform-origin: 0 0;  /* Standard Property */
        float: left
        }
    }


.form-div {
	display: flex; /* Use flexbox for centering */
	flex-direction: column; /* Stack children vertically */
	justify-content: center; /* Center vertically */
	align-items: center; /* Center horizontally */
	background-color: #00000000; /* Light background */
	padding: 20px;
  }
  
  #loginForm {
	border: #585857 solid 3px;
	background-color: #474236;
	padding: 20px;
	border-radius: 5px; /* Rounded corners */
	width: 350px; /* Set a fixed width for the form */
	max-width: 90%; /* Make the form responsive */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  }
  
  .login-input-div {
	margin-bottom: 15px;
  }
  
  .login-input-div label {
	color: silver;
	display: block; /* Make labels block elements */
	margin-bottom: 5px;
  }
  
  .login-input-div select,
  .login-input-div .pass {
	background-color: #585857;
	color: silver;
	border: none;
	padding: 8px;
	width: 100%;
	box-sizing: border-box; /* Include padding and border in the element's total width and height */
	border-radius: 3px;
  }
  
  #loginForm button {
	background-color: #36342e65;
	color: silver;
	border: none;
	padding: 10px 20px;
	border-radius: 2px;
	border-color: silver;
	border-style: groove;
	cursor: pointer;
	width: 100%;
	font-size: 20px;
  }
  
  #loginForm button:hover {
	background-color: #413b2e;
  }
  
  .error {
	color: red;
	margin-top: 10px;
  }

  .page-id-292 .select2{

	min-width: 100px;
	width: max-content !important;
  }


.page-id-292 span.select2-selection.select2-selection--single {

	background-color: #585857;
	color: silver;
	height: 35px;

  }

.page-id-292 span.select2-selection__rendered[title]{

	color: silver;
}

.page-id-292 span.select2-dropdown.select2-dropdown--below{

	background-color: #585857;
	color: silver;
  }

  input.select2-search_field{

	background-color: #585857 !important;
	color: white !important;
  }

/* ---------- Two-step sign in ---------- */
/* Matches the portal's palette: #212121 borders, ridged silver outline,
   olive panels, silver text, #b8a680 headings. */

.portal-2fa {
    display: inline-block;
    border: 5px solid #212121;
    outline: 2px ridge silver;
    padding: 20px;
    color: silver;
    background: rgb(61,54,30);
    background: radial-gradient(circle, rgba(61,54,30,0.9868123933167017) 0%, rgba(47,43,35,1) 75%);
    max-width: 420px;
    text-align: left;
}

.portal-2fa .portal-2fa-title {
    margin: 0 0 12px;
    color: #b8a680;
    font-size: 22px;
    text-align: center;
}

.portal-2fa .portal-2fa-lead {
    color: silver;
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 15px;
    text-align: left;
}

/* The QR image needs a light background to scan reliably. */
.portal-2fa .portal-2fa-qr {
    display: block;
    width: 190px;
    margin: 0 auto 15px;
    padding: 10px;
    background: #fff;
    line-height: 0;
}

.portal-2fa .portal-2fa-qr img,
.portal-2fa .portal-2fa-qr canvas {
    display: block;
    width: 190px;
    height: 190px;
}

.portal-2fa .portal-2fa-manual {
    color: #a4936b;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 15px;
}

.portal-2fa .portal-2fa-manual code {
    display: inline-block;
    margin-top: 5px;
    padding: 6px 8px;
    background: #2f2b23;
    color: silver;
    font-size: 15px;
    letter-spacing: 1px;
    word-break: break-all;
}

/* Backup codes, shown once. Monospace so they are easy to copy by hand. */
.portal-2fa .portal-2fa-codes {
    list-style: none;
    margin: 0 0 18px;
    padding: 12px;
    background: #2f2b23;
    border: 1px solid #4c4b4b;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 18px;
}

.portal-2fa .portal-2fa-codes li {
    margin: 0;
    color: silver;
    font-family: Consolas, "Courier New", monospace;
    font-size: 17px;
    letter-spacing: 1px;
    text-align: center;
}

.portal-2fa .login-input-div {
    margin-bottom: 12px;
}

.portal-2fa label {
    display: block;
    margin-bottom: 5px;
    color: #b8a680;
    font-size: 16px;
}

.portal-2fa input[type="text"] {
    width: 100%;
    font-size: 22px !important;
    letter-spacing: 4px;
    text-align: center !important;
}

.portal-2fa button[type="submit"] {
    background-color: #212121;
    color: silver;
    border-radius: 4px;
    border: 1px solid black;
    outline: 2px ridge rgb(84, 84, 84);
    cursor: pointer;
    height: 38px;
    width: 100%;
    font-size: 17px;
}

.portal-2fa button[type="submit"]:hover {
    background-color: #7e7853;
    box-shadow: 0px 0px 17px 5px rgba(97,93,73,0.9);
}

/* "Cancel" is a link, not a second prominent button. */
.portal-2fa .portal-2fa-cancel {
    margin-top: 10px;
    text-align: center;
}

.portal-2fa button.portal-2fa-link {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    color: rgb(163, 151, 107);
    text-decoration: underline;
    cursor: pointer;
    font-size: 15px;
    width: auto;
    height: auto;
    padding: 0;
}

.portal-2fa p.error {
    color: #d99a8f;
    font-size: 16px;
    text-align: center;
    margin: 0 0 12px;
}
