@import url(https://fonts.googleapis.com/css?family=Raleway);

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
/* echo <link rel="icon"href="img/icon.jpg">; */

h2 {
  vertical-align: center;
  text-align: center;
}

html,
body {
  margin: 0;
  height: 100%;
  text-align: center;
}


/*
.gps {
  ;
}
*/

* {
  font-family: "Raleway";
  box-sizing: border-box;
}


::placeholder {
  text-align: center;
  font-style: italic;
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #00BAF0;
  background: linear-gradient(to left, #ff0000, #FF4D4D);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #FFF;
  height: 50px;
  padding: 1em;
}

.top-nav a:link {
  color: white;
}

/* visited link */
.top-nav a:visited {
  color: yellow;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu>li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: rgb(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  #menu-toggle~.menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu>li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #FF5C5C;
  }

  .menu>li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

footer {
  width: 100%;
  height: 50px;
  /* background-size: 100% 100%; */
  font-weight: bold;
}

.checkered {
  height: 50px;


  background: linear-gradient(45deg, rgba(255, 0, 0, 1) 25%, transparent 25%, transparent 75%, rgba(255, 0, 0, 1) 75%, rgba(255, 0, 0, 1) 0), linear-gradient(45deg, rgba(255, 0, 0, 1) 25%, transparent 25%, transparent 75%, rgba(255, 0, 0, 1) 75%, rgba(255, 0, 0, 1) 0), white;
  background-repeat: repeat, repeat;
  background-position: 0px 0, 18px 18px;
  transform-origin: 0 0 0;
  background-origin: padding-box, padding-box;
  background-clip: border-box, border-box;
  background-size: 36px 36px, 36px 36px;
  box-shadow: none;
  text-shadow: none;
  transition: none;
  transform: scaleX(1) scaleY(1) scaleZ(1);
  /*background-color: red; */
}

.credit {
  position: relative;
  top: 18px
}

.boxed {
  width: 120px;
  border: 2px solid red;
  margin: auto;
}

.center {
  margin-left: auto;
  margin-right: auto;
}









/* ADDITIONAL CODE FFOR TEST3 RESPONSIVE BOXES 

body{
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
}

.container {
  width: 400px;
  margin: 20px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}
*/

table, th, td {
    border-collapse: collapse;
    border: 1px solid;
    padding: 5px;
}

.bar {
  width: 80%;
  position: relative;
  background: #FF0000;
  color: #fff;
  border-radius: 15px;
  display: block;
  height: 60px;
  line-height: 60px;
  text-align: center;
  padding: 0 20px;
  cursor: pointer;
  margin: auto;
  margin-top: -15px;
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: 0.3s ease;
  z-index: 1;
}

i2 {
  position: absolute;
  font-size: 25px;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.symbol {
  position: relative;
}

#plus1,
#plus2,
#plus3,
#plus4,
#plus5 {
  display: block;
  position: absolute;
  right: 0;
  height: 30px;
  width: 30px;
  background: #fff;
  color: #FF0000;
  font-size: 25px;
  line-height: 30px;
  top: 50%;
  transform: translateY(50%);
  border-radius: 50%;
}

#minus1,
#minus2,
#minus3,
#minus4,
#minus5 {
  display: none;
  position: absolute;
  right: 0;
  height: 30px;
  width: 30px;
  background: #fff;
  color: #FF0000;
  font-size: 25px;
  line-height: 30px;
  top: 50%;
  transform: translateY(50%);
  border-radius: 50%;
}

.data {
  width: 80%;
  background: #FF0000;
  color: #fff;
  margin: auto;
  font-size: 20px;
  text-align: justify;
  padding: 0 20px 20px 20px;
  border-radius: 0 0 15px 15px;
  position: relative;
  transition: 0.3s ease;
  top: -40px;
  height: 0px;
  visibility: hidden;
}

.data.show {
  padding-top: 40px;
  top: -25px;
  height: 270px;
  visibility: visible;
}

.data1.show {
    background: #bb005e;
    height: var(--height);
}

.data2.show {
    background: #000095;
    height: var(--height2);
}

.data3.show {
    background: #009300;
    height: var(--height3);
}

.data4.show {
    background: #009300;
    height: var(--height4);
}

.data5.show {
    background: #009300;
    height: var(--height5);
}

/*  specify to div on carstats_DOM page so its doesn't vanish other checkboxes*/
input[type='checkbox'] {
  -webkit-appearance: none;
  display: none;
}

#check1:checked~.container .bar1 {
  border-radius: 15px 15px 0 0;
  background: #ff0080;
}

#check2:checked~.container .bar2 {
  border-radius: 15px 15px 0 0;
  background: #3c0ef1;
}

#check3:checked~.container .bar3 {
  border-radius: 15px 15px 0 0;
  background: #06f925;
}
#check4:checked~.container .bar4 {
  border-radius: 15px 15px 0 0;
  background: #06f925;
}

#check5:checked~.container .bar5 {
  border-radius: 15px 15px 0 0;
  background: #06f925;
}


#check1:checked~.container .bar #plus1,
#check2:checked~.container .bar #plus2,
#check3:checked~.container .bar #plus3,
#check4:checked~.container .bar #plus4,
#check5:checked~.container .bar #plus5 {
  display: none;
  }

#check1:checked~.container .bar #minus1 {
  display: block;
  color: #ff0080;
}

#check2:checked~.container .bar #minus2 {
  display: block;
  color: #3c0ef1;
}

#check3:checked~.container .bar #minus3 {
  display: block;
  color: #06f925;
}

#check4:checked~.container .bar #minus4 {
  display: block;
  color: #06f925;
}

#check5:checked~.container .bar #minus5 {
  display: block;
  color: #06f925;
}


.radio {
  width: 30%;
  display: inline-block;
  vertical-align: top;
  text-align: left;
  border: 1px solid #ccc;
  padding: 10px;
}

.update-table tr.no-border td {
  border: none;
}

.error_message {
    background-color: #d90014;
    color: #fff;
    padding: 1rem;
    margin: 1rem 0;
    font-weight: bold;
}

