@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400&family=Roboto:wght@100;300;400;600&display=swap');
/**{
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
}*/
/*.container{
  background-color: red;
  /*height: 100%;
}*/
body{
font-family: 'Roboto', sans-serif;
background-color: #43608c;
}

.bgmd {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  display: none;

}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
tr:nth-child(odd) {
  background-color: #ffffff;
}
a.footerLink{
color: goldenrod;
text-decoration: none;
}
a.footerLink:hover{
text-decoration: none;
color: white;
}
.instructions{
  color: white;
  font-size: 14pt;
  align-items: center;  
}

.ctmod {
  width: 1440px;
  height: 810px;
  background-color: white;
  border-radius: 4px;
  text-align: center;
  position: relative;
}

.row{
  padding-left: 10px;
}

.xbutton {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 42px;
  transform: rotate(45deg);
  cursor: pointer;
}

.container-all2{
  width: fit-content;
  margin: 20px auto;
  height: auto;
}
.container2{
  width: calc(33% - 6px);
  overflow:hidden;
  height: fit-content;
  margin:3px;
  padding: 0;
  display:block;
  position:relative;
  float:left;
}
img{
  width: 100%;
  transition-duration: .3s;
  max-width: 100%;
  display:block;
  overflow:hidden;
  cursor:pointer;
}
.title{
  position:absolute;
  display:block;
  cursor:pointer;
  top: 35%;
  display: none;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  font-size: 1.6em;
  text-shadow: 1px 5px 10px black;
  transition-duration: .3s;
}
.text{
  position:absolute;
  top: 70%;
  cursor:pointer;
  max-width: 80%;
  text-align:center;
  left: 50%;
  text-shadow: 1px 5px 10px black;
  font-size: 1em;
  display:none;
  margin-right: -50%;
  transition-duration: .3s;
  transform: translate(-50%, -50%) 
}
.container2:hover img{
  transform: scale(1.2);
  transition-duration: .3s;
  filter: grayscale(50%);
  opacity: .7;
}
.container2:hover span{
  color:white;
  display: block;
  transition-duration: .3s;
}
@media only screen and (max-width: 900px) {
    .container2 {
        width: calc(50% - 6px);
    }
}
@media only screen and (max-width: 400px) {
    .container2 {
        width: 100%;
    }
}

.grid-container {
  display: grid;
  /*grid-template-columns: auto auto auto auto;*/
  grid-template-columns: auto auto auto;
}
.grid-item{
  padding: 5px;
}
.carImage{
  height: 222px;
  width: 335px;
}
.carImage img{
  width: 335px;
  height: 222px;
}
/*ADMIN LOGIN*/
/*LOGIN FORM*/
  .signup-form{
    margin: auto;
    background: #f6f6f6;
    width: 300px;
    height: 25%;
    padding: 20px 30px 30px 20px;
    border-radius: 4px;
    border-color: #ccd9df;
    border-style: solid;
    border-width: 2px;

  }
  .signup-form .heading{
    color: #2A4EC4;
    padding-bottom: 10px;
    font-size: 2.125rem;
    font-weight: 700;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
  }

  .signup-form .labelText{
    display: block;
    font-size: 60%;
    padding-bottom: 10px;
    padding-top: 10px;
    text-transform: uppercase;
    color: #2A4EC4;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
  }

  .signup-form input{
    width: 100%;
    padding: 12px;
    line-height: 15px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
  }
  .signup-form button{
    background-color: #2A4EC4;
    border-color: #2A4EC4;
    padding: 20px 44px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    border-radius: 2px;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    min-height: 20%;
    max-width: 100%;
    border-width: 3px;
    border: none;
    /*margin: 3px;*/
    cursor: pointer;
  }

  .signup-form p.error{
    color: red;
    font-weight: bold;
    padding-top: 2px;
    text-decoration: blink;
    font-family: 'Roboto', sans-serif;
  }

  p.error{
    color: red;
    font-weight: bold;
    padding-top: 2px;
    text-decoration: blink;
    font-family: 'Roboto', sans-serif;
  }

  .bgImg{
    height: 100%  auto;
    width: 100%;
    position: relative;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  .footercopy{
  font-family: sans-serif 'Roboto';
  font-size: 10pt;
  text-align: Left;
  color: white;
  margin: auto;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: solid goldenrod 1px;
  background-color: #144287;
  margin-top: 50px;
}
table {
  margin: 5px;
}
.carNumber {
  font-family: sans-serif 'Roboto';
  font-size: 12pt;
  margin: 8px;
  color: white;
}

.clear { 
  clear: both; 
  height: 75px; 
}
/*
.gallery-links h2 {
  font-size: 28px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
}

.gallery-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  column-gap: .5%;
}

.gallery-container a {
  width: 33%;
  margin: 10px 10px 0;
  flex-grow: 1;

}

.gallery-container a:hover {
  opacity: 0.8;
}

.gallery-container a div {
  width: 100%;
  height: 222px;
  background-color: red;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;


}

.gallery-container a h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.wrapper {
  margin: 0 auto;
  width: 600px;
}
*/
.containerCarList {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 20px;
  width: auto;
}

.card {
  flex: 1 0 48%;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  padding: 10px;
  padding-bottom: 5px;
  box-shadow: 5px 10px 10px rgba(0,0,0,0.2);
}

.card .left, .card .right {
  flex: 1;
  padding: 10px;
  font-size: 14pt;
}
.img-thumbnail, .img-rounded {
  width: auto;
  height: auto;
  display: block;
}

.containerCarList > .card:nth-last-child(1):nth-child(odd) {
  flex: 0 0 49.25%;
}
h4.card .left{
  font-weight: 900;
}