/*--------------------------------------------------------*/
/* Styling for the content of the offer content container */
/*--------------------------------------------------------*/

/** Removes scrolling capabilities on offer page */
#offersContent {
  height: 100%;
  overflow-y: hidden;
}

/** Styles the container that holds the logo - allows for box-shadow around logo */
.offer-logo-container-inner {
  height: 4rem;
  width: 4rem;
  margin: 0 auto;
  display: block;
  margin-top: 3.75rem;
  margin-bottom: 2.5rem;
  padding-left: 0.75rem;
  padding-top: 1rem;
  background-color: white;
  border: 0.215625rem solid #2d2d2d;
  border-radius: 50%;
  box-shadow: 0rem 0rem 0.125rem 0.005625rem #2d2d2d;
}

/** Styles the logo that acts as a header for the content-page */
.offer-logo {
  color: black;
  font-size: 1.8rem;
}

/** Styles inputs getting the user input regarding the party */
.offer-inputs {
  width: 23rem;
  height: 3rem; 
  padding-left: 0.65rem;
  margin: 0 auto;
  margin-bottom: 1rem;
  display: block;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0rem 0rem 0.215625rem 0.001rem black;
}

/** Removes bottom margin from the last input */
.offer-inputs:nth-child(9) {
  margin-bottom: 0;
}

/** Styles the textarea holding the address of the potential customer */
#address {
  width: 23rem;
  height: 10rem;
  padding: 0.65rem;
  resize: none;
  margin: 0 auto;
  display: block;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0rem 0rem 0.215625rem 0.001rem black;
}

/** Styles the container that holds the flooring option */
.flooring-outer {
  width: 23rem;
  margin: 0 auto;
  height: 4rem;
  position: relative;
}

/** Styles the label asking the floor question */
.flooring-outer label {
  margin-top: 1.5rem;
  padding-top: 0.4rem;
  padding-left: 0.7rem;
}

/** All styling related to the toggle on/off button */
/* Hide default input */
.toggleOnOff input {
  display: none;
}

/* The container and background */
.toggleOnOff {
  position: absolute;
  top: 0;
  left: 17rem;
  width: 6rem;
  height: 2.15rem;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #bc2612;
  border: 0.0625rem solid #aaa;
  border-radius: 0.3125rem;
  transition: all 0.4s;
}

/* The sliding button */
.slider:before {
  position: absolute;
  content: "";
  width: 2.25rem;
  height: 1.65rem;
  left: 0.1666666rem;
  top: 0.1666666rem;
  background-color: #eee;
  border-radius: 0.3125rem;
  transition: all 0.4s;
}

/* On checked */
input:checked + .slider {
  background-color: #8cbc13;
}
input:checked + .slider:before {
  transform: translateX(3.333333333rem);
}

/* "OFF" Text */
.slider:after {
  position: absolute;
  content: "NO";
  top: 0.375rem;
  right: 0.3125rem;
  color: #fff;
  font-size: 0.9em;
}

/* "ON" Text */
input:checked + .slider:after {
  content: "YES";
  left: 0.8333333333rem;
}

/** Styles the container that holds the flooring option */
.lighting-outer {
  width: 23rem;
  margin: 0 auto;
  height: 3rem;
  position: relative;
}

/** Styles the label asking the floor question */
.lighting-outer label {
  padding-top: 0.4rem;
  padding-left: 0.7rem;
}

/** Styles the outer div that holds the input and the label */
.checkbox {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-color: rgb(143, 143, 143);
  margin-top: 1.5rem;
  margin-left: 2.80rem;
  /* border: 1px solid rgb(27, 27, 27); */
  position: relative;
}

/** Styles the label that hovers over the actual checkbox */
.checkbox label {
  display: block;
  width: 0.74rem;
  height: 0.74rem;
  margin-bottom: 0;

  transition: all .5s ease;
  cursor: pointer;
  position: absolute;
  top: 0.156rem;
  left: 0.150rem;
  z-index: 1;
}

/** Creates the checked state when the checkbox is checked */
.checkbox input[type=checkbox]:checked + label {
  background: #000000;
}

/** Styles the accept button that checks off the checkbox */
#acceptBtn[type=button] {
  font-size: 1rem;
  position: absolute;
  top: 1.25rem;
  left: 0.25rem;
  background-color: transparent;
  display: inline-block;
  outline: none;
  border: none;
}

/** Styles the TOS label that acts as a popup modal  */
label[class=accept] {
  position: absolute;
  top: 1.25rem;
  right: 0;
  font-size: 0.9rem;
  color: darkblue;
  margin-right: -1rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

label[class="accept"]:hover {
  cursor: pointer;
}

/** Styles the container that holds the accept TOS button and the TOS link */
.accept-container {
  width: 20rem;
  height: 2.5rem;
  display: inline-block;
  position: relative;
}

/** Helps the button stay at the bottom */
.set-height-offer {
  min-height: 100%;
}

/** Styles the get offer button - last button to click as user */
#offerBtn[type=button] {
  width: 10rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.35rem;
  box-shadow: 0rem 0rem 0.215625rem 0.001rem black;
  position: absolute;
  top: 52rem;
  left: 9rem;
  color: white;
  background-color: #8cbc13;
  font-size: 1.4rem;
  font-weight: 400;
}

/** Styles the TOS modal that pops up when the link is clicked */
#tosModal .tos-modal {
  border: none;
  border-radius: 0.35rem;
  outline: none;
  box-shadow: 0rem 0rem 0.215625rem 0.001rem #2d2d2d;
  background-color: white;
  overflow: hidden;
  height: auto;
  min-height: 25.125rem;
}

/** Styles the header inside the TOS */
#tosModal .tos-modal h2 {
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 0;
}

/** Styles the paragraph inside the TOS */
#tosModal .tos-modal p {
  width: auto;
  padding: 2.5rem;
  text-align: justify;
}