* {
    box-sizing: border-box;
}
textarea:focus, input:focus{
    outline: none;
}
i {
  font-style: italic;
}
/* Style inputs */
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    border-radius: 10px;
}

input[type=submit] {
    background-color: #0F7EC2;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #002243;
}

textarea {
  font-family: 'Nunito', sans-serif;
}
.thankyoudiv{
  width: 100%; height: 100%; background-image: ;color: #FFF;background: #002243
}
.thankyoudiv i{
  font-size: 250px;
}
@media screen and (max-width: 800px) {
  .thankyoudiv i{
    font-size: 200px;
  }
}
@media screen and (max-width: 600px) {
  .thankyoudiv i{
    font-size: 150px;
  }
}
@media screen and (max-width: 600px) {
  .thankyoudiv i{
    font-size: 150px;
  }
  .thankyoudiv h1{
    font-size: 36px;
  }
  .thankyoudiv h2{
    font-size: 24px;
    padding: 5px 0;
  }
  .thankyoudiv h4{
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  .thankyoudiv i{
    font-size: 100px;
  }
}
.thankyoudiv h1{
  color: #FFF;
}
.thankyoudiv img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  position: fixed;
}
.thankyoudiv .overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #002243;
  opacity: .8;
}
.thankyoubtn{
  font-family: 'Ranchers' , Arial, sans-serif;
  letter-spacing: 3px;
  display: inline-block;
  font-size: 24px;
  margin: 40px 0;
  padding: 12px 16px;
  text-decoration: none;
  transition: all .2s ease;
  border: 2px solid white;
  text-transform: uppercase;
  color: #FFF;
  background: rgba(0, 0, 0, 0.5);
}
.thankyoubtn:hover{
  color: #002243;
  background: #FFF;
}
/* Style the container/contact section */
.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 10px;
    margin: 10px 0;
}
.container h2{
  font-size: 30px;
  color: #0F7EC2;
  border-bottom: 2px solid #0F7EC2;
  padding-bottom: 10px;
  padding-left: 10px;
  margin-bottom: 10px;
}
.container p{
padding: 5px 0;
}
#contactinfo {
  display: flex;
}
#contactus{
  font-size: 17px;
}
#hours li{
  line-height: 2.5;
  font-size: 17px;
}
#contactinfo b{
  font-weight: bold;
  color: #0F7EC2;
}
@media screen and (max-width: 800px) {
    #calendar{
      height: 500px;
    }
}
@media screen and (max-width: 500px) {
    #calendar{
      height: 400px;
    }
}

/* Create two columns that float next to eachother */
.column {
    width: 50%;
    margin-top: 6px;
    padding: 20px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}
.top_pic{
  width: 100%;
  height: 500px;
  min-height: 300px;
  position: relative;
}
.top_title{
  position: relative;
  width: 100%;
  padding: 30px;
  color: white;
}
.top_title h1{
  letter-spacing: 1px;
  font-weight: normal;
  border-bottom: 2px solid white;
  margin: 0 50px 10px 0;
  padding: 0 20px;
  line-height: 50px;
}
.top_title h4{
  letter-spacing: 1px;
  font-weight: normal;
  padding: 0 20px;
  margin: 0 50px 10px 0;
}
.top_pic img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

/* Style the container/contact section */
.container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

/* Create two columns that float next to eachother */
.column {
    position: relative;
    width: calc(100% - 0px);
}
.map_text {
  padding: 20px 10px 0 10px;
}
#map{
  padding-top: 10px;
}
#map h2{
  padding-bottom: 10px;
}
#contact_info {
  background: #D31F34;
  color: #FFF;
}
#contact_info h2{
  text-align: center
}
#contact_info ul{
  padding: 20px 0;
}
#contact_info li{
  padding: 10px 0;
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
@media screen and (max-width: 515px) {
  #information {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 850px) {
  .column {
      width: 100%;
  }
  #contactinfo {
    flex-wrap: wrap;
  }
  #information {
    display: flex;
  }
  #information div{
    margin: 0 5px;
  }
  .info_row{
    width: calc(33% - 20px);
    margin: 0 10px;
  }
}
@media screen and (max-width: 640px) {
  #contact_info {
    flex-wrap: wrap;
  }
  .info_row{
    width: calc(50% - 20px);
  }
  .info_row:last-child{
    width: 100%;
  }
}
