@charset "UTF-8";

@font-face {
    font-family: Avenir;
    src:url(../fonts/AvenirNext-Regular-08.ttf);
}
@font-face {
	font-family: Avenir Ultra Light;
	src: url(../fonts/AvenirNext-UltraLight-11.ttf);
}
@font-face {
	font-family: Avenir Medium;
	src: url(../fonts/AvenirNext-Medium-06.ttf);
}

body {
	font-family: Avenir Medium;
}

.hero-image {
	background-image: url("../images/Supreme_CourtLR.webp");
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: fixed;
}


/* Full-width input fields */
input[type=text], input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

.submitbtn {
	background-color: #33538D;
	font-family: Avenir Medium;
}


.submitbtn a {
    color: #fff !important; /* Force link text to white */
    text-decoration: none; /* Remove underline */
    display: block; /* Makes link fill the button */
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.Message {
	text-align: center;
    color: crimson;
    text-shadow: 1px 1px 3px white;
    font-size: 1.3em;
}

.container {
    padding: 16px;
	color: #33538D;
}

::placeholder{
	color: #33538D;
	opacity: .8;
	font-family: Avenir Medium;
}
:-ms-input-placeholder{
	color: #33538D;
	opacity: .8;
	font-family: Avenir Medium;
}
::-ms-input-placeholder{
	color: #33538D;
	opacity: .8;
	font-family: Avenir Medium;
}

/* Modal Content/Box */

.BOX{
	width: 70%;
	margin: 15% auto;
	background: linear-gradient(blue,red);
	display: inline-block;
	height: 30%;
	max-height: 600px;
	z-index: 1;
}
.modal-content {
    background-color: rgba(217,217,217,0.60);
	border-radius: 10px;
    margin:10% auto;
    border: 1px solid #0A3D6D;
	width: 70%;
    max-width: 400px; /* Could be more or less, depending on screen size */
	display: block;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}
    
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}

#loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.show-loading-modal {
	display: flex !important;
}
.hide-loading-modal {
    display: none !important;
}
/* When display is set to block via inline style, override to use flex instead */
#loading-modal[style*="display: block"] {
    display: flex !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#loading-text {
    animation: pulse 5s infinite;
}

/* Container for centering both text and progress bar */
.loading-content {
  text-align: center;
}

/* Progress bar container */
.progress-container {
  width: 300px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  margin-top: 20px;
  overflow: hidden;
}

/* Animated progress bar */
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #4285f4;
  border-radius: 5px;
  animation: loading-animation 60s infinite ease-in-out;
}

/* Animation for the progress bar */
@keyframes loading-animation {
  0% { width: 0%; }
  50% { width: 70%; }
  75% { width: 90%; }
  90% { width: 95%; }
  100% { width: 0%; }
}

.error-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    font-size: 14px;
    color: #ffffff;
    background-color: #33538D;
	font-family: Avenir Medium;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    text-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

.error-button:hover {
    background-color: #0056b3; /* darker blue on hover */
    text-decoration: none;
    transform: translateY(-1px);
}

.error-button:active {
    background-color: #004085; /* even darker on click */
    transform: translateY(0);
}