/* stanard css for this project */

/* Tag based rules */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

html {
  font-family: Times New Roman, Baskerville, Palatino, Serif;
  /* font-size: 62.5%; */
}

body {
  font-size: var(--text-regular);
  /* height: 100vh; */
  /* line-height: 30px; */
  /* line-height: 2rem; */
  margin: 0 auto;
  /* max-width: 1000px; */
  background-color: var(--body_background);
}

.sans-serif {
  font-family: sans-serif;
  font-weight: 100;
}

h1 {
  font-family: sans-serif;
  font-size: var(--text-largest);
  font-weight: 100;
}

h2 {
  font-family: sans-serif;
  font-size: var(--text-larger);
  font-weight: 100;
  line-height: 48px;
}

h3 {
  font-size: var(--text-regular);
  font-weight: 100;
}

pre {
  font-family: Times New Roman, Baskerville, Palatino;
  white-space: pre-wrap;
}

a {
  display: inline;
  color: var(--link);
  text-decoration: none;
  /* transition: all 0.5s; */
}

a:hover {
  color: var(--black);
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

img {
  display: block;
  /* vertical-align: bottom; */
  width: 100%;
  max-width: 600px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.img-center {
  display: block;
  margin: 0 auto;
}

.body-grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.checkbox_container {
  cursor: pointer;
  display: block;
  position: relative;
  padding: 0 0 0 40px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* hide the default checkbox */
.checkbox {
  position: absolute;
  opacity: 0;
  /* top: 0; */
  /* left: 0; */
}

/* custom checkbox */
.checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid black;
  background-color: white;
}

/* change background color on hover */
.checkbox_container:hover input+.checkmark {
  background-color: white;
}

/* the checkmark, hidden when not checked */
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

/* show the checkmark when checked */
.checkbox_container input:checked+.checkmark::after {
  display: block;
}

/* style the checkmark */
.checkbox_container .checkmark::after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

::placeholder {
  color: hsl(0, 0%, 70%);
  opacity: 1;
}

.textarea {
  /* font-family: "Times New Roman", Times, serif; */
  /* font-size: 20px; */
  /* width: 100%; */
  height: 175px;
  /* padding: 10px; */
}

/* Class based rules */

/* General purpose classes */

.grid-two {
  display: grid;
  grid-template-columns: 35% minmax(150px, 65%);
  grid-column-gap: 10px;
}

.grid-row-gap {
  row-gap: 20px;
}

.display_message {
  height: 30px;
}

.full-width {
  width: 90%;
  margin: 0 auto;
}

.radio {
  margin: 0 20px 0 0;
  height: 20px;
}

.alert {
  /* the max-width must match the panel max-width */
  font-size: var(--text-smaller);
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 800px;
  /* padding: 5px 0; */
  line-height: 40px;
  border: 1px solid var(--black);
  margin: 0 auto 50px auto;
}

.alert-success {
  background-color: var(--green);
}

.alert-error {
  background-color: var(--red);
}

.alert-warning {
  background-color: var(--yellow);
}

.scroll-x {
  overflow-x: auto;
  padding-bottom: 10px;
}

.container {
  /* padding: 0 0 50px 0; */
  /* max-width: 1000px; */
  margin: 50px auto;
  width: 100%;
}

.container-narrow {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.panel {
  /* the max-width must match the container-narrow max-width */
  /* width: 100%; */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.panel-wide {
  max-width: 1000px;
}

.form {
  font-size: var(--text-regular);
}

.form * {
  width: 100%;
}

.form-select {
  font-family: inherit;
  /* font-size: 20px; */
  height: 50px;
  padding: 10px;
  background: inherit;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.form-input {
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  border: 1px solid hsl(0, 0%, 75%);
  padding: 10px;
  outline: none;
  background-color: hsl(0, 0%, 97%);
  border-radius: 0px;
}

.form-input:focus {
  border: 1px solid black;
  background-color: hsl(0, 0%, 100%);
}

option {
  font-size: 18px;
}

.invalid-input {
  height: 25px;
}

.text-bold {
  font-weight: 600;
}

.text-red {
  color: var(--red-light);
}

.text-medium {
  font-size: var(--text-smaller);
}

.text-small {
  font-size: var(--text-smallest);
}

.outline {
  border: 1px solid black;
  padding: 20px;
  background-color: var(--lightest);
  /* box-shadow: 0 3px 8px var(--medium); */
}

.banner {
  text-align: center;
  /* border-top: 3px solid var(--primary-light); */
  /* border-bottom: 3px solid var(--primary-light); */
  padding: 20px 0;
  background-color: var(--primary-dark);
  color: white;
}

.divider {
  width: 100%;
  text-align: center;
  border-bottom: solid 1px black;
  line-height: 1px;
  margin: 10px 0 20px 0;
}

.divider span {
  background-color: var(--body_background);
  padding: 0 10px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.grid-expand {
  display: grid;
  grid-template-columns: 110px 1fr;
}

.owl20>*+* {
  margin-top: 20px;
}

.owl50>*+* {
  margin-top: 50px;
}

.justify-full {
  text-align: justify;
}

.justify-left {
  text-align: left;
}

.justify-center {
  text-align: center;
}

.justify-right {
  text-align: right;
}

.indent {
  margin-left: 20px;
}

.scroll {
  overflow: scroll;
}

/* Specific classes */

.header-branding {
  /* margin: 135px 0 0 0; */
  margin: 20px 0 0 0;
}

.logo {
  display: block;
  width: min(80vw, 250px);
  margin: 50px auto 50px auto;
}

.breadcrumbs {
  font-size: var(--text-smallest);
  color: var(--black);
  line-height: 20px;
  padding: 5px 20px;
  /* text-align: left; */
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  background-color: var(--lightest);
  display: flex;
  justify-content: space-between;
}

.breadcrumb {
  line-height: 25px;
}

.breadcrumb a,
.breadcrumb p {
  padding: 0 20px 0 0;
  display: inline-block;
}

.sticky {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 2;
}

.invitation {
  font-size: var(--text-smaller);
  padding: 5px 20px;
  border-bottom: 1px solid var(--black);
  background-color: var(--body_background);
}

.footer {
  font-size: var(--text-smallest);
  color: var(--lighter);
  background-color: var(--darkest);
  padding: 50px 0;
}

.footer a:hover {
  color: white;
}

.address {
  line-height: 20px;
}

.dropdown-content {
  display: none;
  min-width: 150px;
  padding: 0 0 0 20px;
  background-color: var(--primary-dark);
  /* filter: brightness(90%); */
}

.dropdown-content a {
  display: block;
}

.footer {
  text-align: center;
  color: var(--medium);
}

.footer .name {
  font-size: var(--text-regular);
  color: var(--white);
  /* color: var(--footer-primary); */
}

.footer span {
  color: var(--primary-light);
  filter: brightness(120%);
}

@media only screen and (min-width: 700px) {
  .dropdown-content {
    position: fixed;
    /* padding: 20px 0 0 0; */
    /* padding: 20px 10px 10px 10px; */
    margin: 19px 0 0 0;
    background-color: var(--primary-dark);
    border: none;
  }

  .dropdown-content a {
    display: block;
    padding: 10px 10px;
    text-align: left;
  }
}

@media only screen and (min-width: 850px) {
  .breadcrumbs {
    padding: 5px 40px;
  }

  .panel {
    padding: 40px;
    border: 1px solid var(--lighter);
    /* background-color: var(--lightest); */
  }
}
