/** @format */

body {
    overflow-x: hidden;
    display: flex;
    flex-flow: column;
  }

  /* @import url(https://fonts.googleapis.com/css?family=Lato:300,400,900); */
* {
  box-sizing: border-box;
}

.homeBody{
  
  min-height: max-content;

}
.regBody{
  height: max-content;

  background-size: cover;
  background-position: 0px bottom;
  background-repeat: no-repeat;
}
.Rbody{
  min-height:max-content;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 50px;
  left: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: white;
  border-radius: 3px;
  
  z-index: 0;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}




.sidenav {
  display: block;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: .1s;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 18px;
  
  display: block;

}

.scroller::-webkit-scrollbar{
  display: none;
}

.scroller{
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.inner-scroller{
  width: max-content;display: flex;
}


@media screen and (min-width:615px) {
  .inner-scroller{
    width: 100%;
    justify-content: space-evenly;
    margin-left: 50%;
    transform: translate(-50%);
  }

}

.navItem{
  text-decoration: none;
margin-top: 5px;
font-family: sans-serif;
color: black;
}

.sidenav a:hover {

  color: white;
}
.navItem:hover{
  text-decoration: none;
  color: white;
  background-color: #BF192F;

}

.active{

  background-color: #DADADA;
  color: #BF192F;
  }

.sidenav .closebtn {
  position: relative;
  width: max-content;
  height: max-content;
  color: white;
  top: -13px;
  left: -10px;
  font-size: 40px;

}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


.glass{
  background: rgba( 0, 0, 0, 0.15 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 7px );
-webkit-backdrop-filter: blur( 7px );
border-radius: 10px;
border: 1px solid rgba(255, 0, 0, 0.18);
}

.innerBody{
  min-height:100%;
}


.bg{
  width: 312px;margin-left: 50%;transform: translate(-50%);
}
.RegInp{
  border: 1px solid black;
}


.loaderHolder{
  position:absolute;
    margin-top:50%;
    margin-left:50%;
    transform:translate(-50%,-50%)
    
}

.loader {
  border: 20px solid #EAF0F6;
  border-radius: 50%;
  border-top: 20px solid #BF192F;
  width: 130px;
  height: 130px;
  
  animation: spinner 4s linear infinite;
}

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

.container {
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
}

.button-wrap {
  margin-top: 2rem;
  text-align: center;
  margin: 0;
  padding: 0  ;
}

#loading {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,#BB002B, #ED1B24);
  background-repeat: no-repeat;

  background-position: center;
}

#errorOn{
  opacity: 0;
  width: 70%;
  height: 21px;
  position: relative;
  top: .6rem;
  font-weight: 600;
  text-align: right;
  color: #BF192F;
  font-size: 13px;
  transition:all 1s;
}





.button-label {
  display: inline-flex;
  width: 33px;
  height: 33px;
  margin: 1.4px;
  cursor: pointer;
  color: #BF192F;
  border-radius: 0.25em;
  border: 1.5px solid #BF192F;
  background: #ffffff;
  transition: 0.3s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.button-label h1 {
  font-size: .9em;
  position: relative;
  left: 50%;
  font-family: 'Libre Franklin';
  top: 50%;
  transform: translate(-50%,-30%);
  font-weight: 500;
}
.button-label:hover {
  background: #d6d6d6;
  color: #BF192F;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.32);
}
.button-label:active {
  transform: translateY(2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0px -1px 0 rgba(0, 0, 0, 0.22);
}





#no-button1:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button1:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}

#no-button2:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button2:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}
#no-button3:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button3:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}
#no-button4:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button4:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}
#no-button5:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button5:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}
#no-button6:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button6:checked + .button-label {
  background: #c21b15;
  color: #e2e2e2;
}
#no-button7:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button7:checked + .button-label{
  background: #c21b15;
  color: #e2e2e2;
}
#no-button8:checked + .button-label {
  background: #BF192F aw;
  color: #efefef;
}
#no-button8:checked + .button-label{
  background: #c21b15;
  color: #e2e2e2;
}

.donorList{
  margin-top: 1rem;
}

.line{
  width: 90%;
  height: .5px;
  margin-left: 50%;
  transform: translate(-50%);
  background-color: rgb(170, 170, 170);
}
.navLine{
  width: 100%;
  height: .5px;
  margin-left: 50%;
  margin-top: 3rem;
  transform: translate(-50%);
  background-color: rgb(170, 170, 170);
}
.line2{
  width: 90%;
  height: .5px;
  margin-left: 50%;
  margin-top: 1rem;
  transform: translate(-50%);
  background-color: rgb(170, 170, 170);
}


.hidden {
  display: none;
}


.donor{
  display: flex;
}

table{
  border: 0px solid white;
  border-collapse: separate; border-radius: 20px 20px 20px 20px;
  background: white;
  
}
th, td{
  border: 0px solid white;
  background-color: #333333
  
}

.td-2{
  background-color:#BF192F
}

.nav{
  display: flex;
  justify-content: space-between;
}

.addBtn{
  width: 150px;
  background-color: #0D1B2A;
  color: white;
  height: 40px;
  margin-right: 6rem;
  position: relative;
  top: 2rem;
}


th:first-child{
  border-radius: 20px 0px 0px 0px;
  
  
}
th:last-child{
  
  border-radius: 0px 20px 0px 0px; 
}

tr:last-child td:first-child{
  border-radius: 0px 0px 0px 20px;
}
tr:last-child td:last-child{
  border-radius: 0px 0px 20px 0px;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #BF192F;
  color: white;
}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #003566;
  color: white;
}




.Holder{
  height: 100%;
  width: 100%;
  margin-top: 0rem;
  margin-left: 50%;
  margin-bottom: 2rem;
  transform: translate(-50%);
}


.cardB{
  width: 99%;
  aspect-ratio: 28/16;

  margin-left:50%;
  transform:translate(-50%,-50%);
  border-radius: 13px;
  border: 3px solid #7E0C1C;
  overflow: hidden;
  margin-bottom: 0rem;
  position: relative;
  top: 50%;
  background-color: rgba(0, 0, 0,.6);
}

.carousel-indicators button{
  width: 10px !important;
  height: 10px !important;
  background-color: #BF192F !important;
  border-radius: 50% !important;
}

footer p{
  font-size: 11px;
}








.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #BF192F;
}

input:focus + .slider {
  box-shadow: 0 0 1px #BF192F;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



#regForm {
  background-color: #ffffff;
  margin: 100px auto;
  margin-top: 0;
  /* font-family: Raleway; */
  padding: 40px;
  width: 100%;
  min-width: 340px;
}


input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  /* font-family: Raleway; */
  border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

button {
  background-color: #BF192F;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  margin-top: 2rem;
  /* font-family: Raleway; */
  cursor: pointer;
}
.bgroup{
  width: 340px;
  margin-left: 50%;
  transform: translate(-50%);

}

#error{
  background-color: #ba0000;border-radius: 20px;
  margin: 100px auto;
  margin-top: 0;
  position: absolute;
  padding: 40px;
  width: 85%;
  top: 16rem;
  height: 20rem;
  left: 50%;
  transform: translate(-50%);
  rotate: 3deg;
  z-index: -1;
  min-width: 330px;
}

@media screen and (max-width:450px) {
  
.button-label {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin: 1.4px;
  cursor: pointer;
  color: #BF192F;
  
  border-radius: 0.25em;
  transition: 0.3s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.button-label h1 {
  font-size: 14px;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-30%);
  font-family: 'Libre Franklin';
}
}


#prevBtn {
  background-color: #bbbbbb;
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #BF192F;
}

@media screen and (min-height:700px) {
  .Rbody{
    height: 100%;
    

  }
  
}



#searchResults{
  margin-top: 0.4rem;text-align:center;height:40px; width: 325px;background: white;color:#BF192F;border-radius:7px;font-weight: 400;border: 2px solid #BF192F;
}

.searchDonor{
 margin-top: 1rem; width: 325px;height: 40px; border-radius: 7px;color: white;background:#BF192F;border: 2px solid black;margin-bottom: 1rem;transition: .2s;font-weight: 500;
}


.searchDonor p{
  position: relative;top: 50%;transform: translate(0,-50%);
}

.searchDonor:hover{
    background-color: #a80c21;
    border-radius: 20px;
}



#hider{
  position: fixed;width: 100%;height: 100%;background-color: rgba(38, 38, 38, 0.8);z-index: -1;
  top: 0;display: none;
  left: 0;
}
.carousel-item{
  background: none;
}

.small-label-btn{
  width: 30px;
  margin: 1.5px;
  height: 30px;
}

.small-label-btn h1{
  font-size: 12px;
  transform: translate(-50%,-30%);
}


.partnerHead{
 width: 100%;
}
.partners{
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.p-holder{
  width: 340px;
  margin-left: 50%;
  transform: translate(-50%);
}

.partner-card{
  width: 50px;
  height: 50px;
  border: 2px solid #BF192F;
  border-radius: 10px;  
  overflow: hidden;
}

.partner-card img{
  width: 100%;
}
