/* @import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600&display=swap"); */

:root {
  /* --primary-color: #c0392b; */
  --primary-color: #A52C3F;
  --secondary-color: #eb3749;
  /* --secondary-color: #b65978; */
  --shadow-color: rgb(73, 73, 73);
}

@font-face {
  font-family: Raleway;
  src: url("/assets/font/Raleway/static/Raleway-Regular.ttf");
}
@font-face {
  font-family: Raleway;
  src: url("/assets/font/Raleway/static/Raleway-Bold.ttf");
  font-weight: bold;
}
@font-face {
  font-family: Raleway;
  src: url("/assets/font/Raleway/static/Raleway-Italic.ttf");
  font-style: italic;
}

/*  */
@font-face {
  font-family: Poppins;
  src: url("/assets/font/Poppins/Poppins-Regular.ttf");
}
@font-face {
  font-family: Poppins;
  src: url("/assets/font/Poppins/Poppins-Bold.ttf");
  font-weight: bold;
}
/*  */
@font-face {
  font-family: Montserrat;
  src: url("/assets/font/Montserrat/static/Montserrat-Medium.ttf");
}
@font-face {
  font-family: Montserrat;
  src: url("/assets/font/Montserrat/static/Montserrat-Bold.ttf");
  font-weight: bold;
}

* {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  font-size: 16px;
  margin: 0;
  /* background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  ); */
}

.smaller{
  font-size: 0.7rem;
}
.width_50p{
  width: 50% !important;
}

.flex_gap{
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
nav {
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0px 3px 5px var(--shadow-color);
  display: flex;
  /* justify-content: center; */
  align-items: center;
  position: fixed;
  justify-content: space-between;
  left: 0;
  right: 0;
  width: auto;
  top: 0;
}

nav a{
  padding: 0;
}
nav ul li{
  display: inline-block;
  list-style-type: none;
  padding: 0 10px;
  font-size: .9rem;
  color: black;
}
nav ul li a{
  text-decoration: none;
  color: black;
  /* color: inherit; */
}
nav ul li a:hover{
  color: var(--primary-color);
}
a{
  text-decoration: none;
}
button{
  cursor: pointer;
}
.hint { 
  color: grey;
  font-size: 0.7rem;
}
.success {
  color: rgb(11, 173, 6);
}
.error {
  color: rgb(248, 6, 6);
}
.italic{
  font-style: italic;
}
img.logo {
  max-width: 150px;
  padding: 0;
  margin: 0;
}
h1 {
  color: white;
  margin: 10px 0;
}
main {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 70px 0;
}
.grid3{
  grid-template-columns: auto auto auto !important;
}
.grid4{
  grid-template-columns: auto auto auto auto !important;
}
.grid5{
  grid-template-columns: auto auto auto auto auto !important;
}

input,
textarea, select {
  display: block;
  width: 95%;
  padding: 10px 10px;
  font-family: "Raleway", sans-serif;
  border-radius: 5px;
  border: 1px solid rgb(179, 177, 177);
  resize: none;
  /* font-size: 1rem; */
}

input:focus,
textarea:focus {
  outline: none;
  border: 1px solid rgb(0, 162, 255);
}

input.passed{
  border: 1px solid rgb(68, 218, 8);
}
input[type="radio"], input[type="checkbox"]{
  display: inline;
  width: auto;
}
#form-board {
  width: 90%;
  /* width: 600px; */
  background-color: rgb(255, 255, 255);
  padding: 20px;
  box-shadow: 3px 3px 5px rgb(51, 51, 51), -1px 0px 5px rgb(51, 51, 51);
  border-radius: 0px;
}

.form-div {
  width: 100%;
  margin: 5px 0;
}
.pad{
  margin-top: 5px;
}
label {
  display: inline-block;
  margin: 5px 0;
  font-weight: bold;
}
.bold{
  font-weight: bold !important;
}
fieldset {
  margin: 15px 0;
}
legend {
  font-weight: bold;
  font-size: 1.1rem;
}
fieldset.primary{
  color: initial;
}
fieldset.primary > legend{
  text-transform: uppercase;
}
.grid2{
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}
.grid3{
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
}
.grid4{
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 10px;
}

ol{
  list-style-type: lower-latin;
  font-size: .9rem;
  margin: 5px 0;
}
ol li{
  margin: 5px 0;
}
.declaration, .declaration > *{
  font-size: .9rem !important;
}

.action_cell button{
  font-size: 0.7rem;
}

.ph{
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: bold;
}

form a{
  color: var(--primary-color);
}

#img-display img, #photo-img-display img, .display img{
  max-width: 100px;
  height: auto;
  margin: 5px;
}

button#submit, button.submit {
  font-family: "Raleway", sans-serif;
  padding: 10px 15px;
  border: 1px solid var(--primary-color);
  border-radius: 0px;
  min-width: 100px;
  font-size: 1.1rem;
  background-color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
button#submit:hover, button.submit:hover {
  background-color: var(--primary-color);
  color: white;
  border-radius: 0px;
}

#agent-loader{
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
button#check-agent{
  border-radius: 3px;
  border: 1px solid var(--primary-color);
  background-color: white;
}
button#check-agent:hover{
  color: white;
  background-color: var(--primary-color);
}

.center {
  text-align: center;
}

#fileDisplay {
  font-size: 0.8rem;
  font-weight: 500;
}

.notification {
  position: fixed;
  top: 70px;
  right: 20px;
  background-color: #0a3d62;
  border-radius: 5px;
  z-index: 5;
  box-shadow: 3px 3px 3px rgb(43, 42, 42);
  transition: 0.5s;
  width: 0;
  color: white;
}

#not-text {
  padding: 10px;
  text-align: center;
}

#loader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* bottom: 0; */
  background-color: rgba(0, 0, 0, 0.658);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.loading {
  border: 10px solid #f3f3f3; /* Light grey */
  border-top: 10px solid var(--primary-color); /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
}

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

.none{
  display: none !important;
}

.show{
  display: block !important;
}

.error-bg{
  background-color: #eb2f06;
}

.success-bg{
  background-color: #27ae60;
}

.pending{
  color: #e67e22;
}

.approved{
  color: #27ae60;
}

.declined{
  color: #e74c3c;
}

.border{
  border: 1px solid rgb(175, 173, 173);
}

.divider{
  padding: 0;
  margin: 5px 0;
  border-bottom: 1px solid rgb(197, 197, 197);
}

@media only screen and (max-width: 600px) {
  .grid3, .grid2, .grid4{
    grid-template-columns: auto !important;
  }
  main{
    padding: 0px;
  }
  #form-board{
    width: 90% !important;
  }
}