/* General organization */
body {
    font-family: 'Montserrat', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    background-image: url("https://images.unsplash.com/photo-1509316785289-025f5b846b35");
    background-size: cover;
    color: white;
}

#cal-instr {
  font-size: 18px; 
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  background-color: rgb(27, 95, 44);
  padding: 10px;
  border-radius: 5px;
}

#confirmation {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  background-color: rgb(27, 67, 95);
  padding: 10px;
  border-radius: 5px;
}

.date-label {
  font-size: 20px;
}

#reselect-btn {
  margin-top: 20px;
  color: black;
  width: 150px;
  height: 30px;
  border-radius: 5px;
  border: 0px;
  font-weight: bold;
}

#missing-info {
  visibility: hidden;
  color: red;
  text-align: center;
}

#mid-page {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 75%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form content */
#header {
  display: flex;
  align-content: center;
}
#upper-section {
    width: 100%;
    height: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-row {
  display: flex; 
  justify-content: center;
}
.form-group {
  margin: 10px;
  width: 100%;
}
#request-form {
    width: 55%;
    height: 100%;
    border: 0px solid;
    border-radius: 5px;
    background-color: rgba(20, 21, 29, 0.8);
    padding: 40px;
    padding-top: 20px;
    position: relative;
}

/* Step Indicator */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

/* Mark the active step: */
.step.active {
  opacity: 1;
}

/* Tabs */
.tab {
  display: none;
}

#date-selection {
  width: 90%;
}
#dates-div {
  display: flex;
  justify-content: center;
  align-items: top;
}
#date-inputs {
  width: 40%;
  margin-top: 10%;
}
#location-selection {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}

/* Calendar Customization */
#calendar {
  width: 50%;
  margin-left: 40px;
}
#unavailable {
  width:75px;
  background: linear-gradient(#ff330097,#ff330097), linear-gradient(white, white);
  color: black;
  padding: 10px;
  border: 0px;
}
.fc-button-group {
  margin-top: 15px;
  margin-left: 15px;
}
.fc-dayGridMonth-button {
  display: none !important;
}
.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 10px;
  display: flex;
  font-size: 12px;
}
.fc-view {
  background-color: rgb(255, 255, 255);
  color: black;
}
.fc-bg-event {
  opacity: 1 !important;
}

/* Inputs */
input {
  width: 100%;
  height: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 100%;
  border-radius: 5px;
  border: solid 1px black;
}

h1 {
  display: inline-block;
}

#status-bar {
  width: 25%;
  margin-left: 20px;
  position: absolute;
  bottom: 20px;
  right: 10px;
}
#buttons-div {
  display: flex;
  align-items: center;
}

.button {
  height: 40px;
  width: 47%;
  font-weight: bold;
  border: solid 1px black;
  background-color: green;
  color: white;
  margin-right: 10px;
  border-radius: 5px;
}

.button:hover {
  cursor: pointer;
}

#submitBtn {
  width: 100%;
  background-color: rgb(61, 132, 187);
  color: white;
  font-weight: bold;
  margin-top: 30px;
  border-radius: 5px;
}

#steps {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align:center;
}

[type="date"]::-webkit-inner-spin-button {
  display: none;
}
[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

/* Card Customizations */

img {
  width: 100%;
  border-radius: 5px;
}

.not-selected {
  background-color: rgba(121, 121, 121, 0.458);
}
.selected {
  background-color: rgba(34, 86, 34, 0.5);
}

.flip-container {
  vertical-align: top;
  -webkit-perspective: 1000;
  perspective: 1000;
  cursor: pointer;
  display: inline-block;
  width: 25%;
}

.flip-container:hover .card {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  cursor:pointer;
}

.card {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  border-radius: 10px;
  
  min-height: 200px;
  margin: 10px;
  padding: 10px;
  position: relative;
}

.front {
  top: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.back {
  position: absolute;
  top: 10px;
  left: 43%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.material-icons {
  margin-right: 10px;
}

#feature-legend {
  display: flex;
}

.sub-legend {
  display: flex;
  align-items: center;
  margin: 15px;
}