html {
  width: 100vw;
  margin: 0px;
  padding: 0px;
}

body {
  width: auto;
  margin: 0px;
  padding: 0px;
  color: #031d41;
  /* border: blue solid 1px; */
  font-family: 'Lato', sans-serif;
  background-color: #ffffff;
  line-height: 1.5;
  letter-spacing: -.0025em;
  font-size: 17px;
  font-weight: 400;
  color: #031d41;
  overflow-x: hidden;
}

img {
  margin: 0px;
  padding: 0px;
}


.w100 {
  width: 100%;
}


#mainContainer {
  width: auto;
}

#navi {
  /* border: solid green; */
}

#nav-toggle {
  position: absolute;
  opacity: 0;
  display: none;
}

.menu {
  position: fixed;
  right: -100%;
  top: 0;
  height: 100%;
  width: 250px;
}

#nav-toggle~label {
  display: block;
  -webkit-transition: .5s transform;
  transition: .5s transform;
  -webkit-transition-timing-function: cubic-bezier(0.38, 0.52, 0.37, 1.27);
  transition-timing-function: cubic-bezier(0.38, 0.52, 0.37, 1.27);
  background-color: white;
  padding: 15px 0;
  border: 1px solid grey;
  border-radius: 3px;
  width: 100px;
  text-align: center;
}

#nav-toggle:checked~label {
  background-color: grey;
  color: white;
  -webkit-transform: translateX(-250px);
  transform: translateX(-250px);
}

#nav-toggle:checked~label::before {
  content: "Close";
}

#nav-toggle:checked~label .toggle-words {
  display: none;
}

#nav-toggle:checked~.menu {
  -webkit-transform: translateX(-100vw);
  transform: translateX(-100vw);
}

.menu {
  cursor: pointer;
  background-color: #efefef;
  -webkit-transition: .53s transform;
  transition: .53s transform;
  -webkit-transition-timing-function: cubic-bezier(0.38, 0.52, 0.37, 1);
  transition-timing-function: cubic-bezier(0.38, 0.52, 0.37, 1);
}

.menu ul {
  padding: 0;
  margin: 0;
}

.menu li {
  list-style: none;
}

.menu li a {
  text-decoration: none;
  color: grey;
  padding: 20px;
  display: block;
  border-bottom: 1px solid #ccc;
}

.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-block;
}

.genContent {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: stretch;
  align-items: center;

}

.genContent>* {
  flex: 1 100%;
}

input {
  padding: 3%;
  width: 100%;
  margin-bottom: 7px;
}

.btn {
  width: 100%;
  padding: 5px 0;
  background-color: #c6083b;
  text-decoration: none;
  font-family: 'karla', sans-serif;
  font-size: 23px;
  color: #fff !important;
  text-transform: uppercase;
  border: solid 3px #c6083b;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  margin-bottom: 5px;

}

.btn2 {
  width: 100%;
  padding: 5px 0;
  background-color: white;
  text-decoration: none;
  font-family: 'karla', sans-serif;
  font-size: 23px;
  color: #031d41;
  text-transform: uppercase;
  border: solid 3px gray;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  width: 100%;
  padding: 5px;


  margin-bottom: 5px;

}

.box22 {
  width: 100%;
  padding: 5px 0;
  background-color: white;
  text-decoration: none;
  font-family: 'karla', sans-serif;

  color: #031d41;

  border: solid 3px gray;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  width: 100%;
  padding: 5px;


  margin-bottom: 5px;
}

.box4 {
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: .075em;
  border: 1px solid white;

  font-size: 14px;
  padding: .65em 1em;

}

.footer a {
  color: #fff;
  text-decoration: none;

  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  font-size: 48px;
}

.mt20 {
  margin-top: 20px;
}

.mt40 {
  margin-top: 40px;
}

.eventCard {
  border: solid 1px gray;
  width: 47%;
  margin-top: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 8px 0px;
  width: 100%;
  padding: 3px;
  background: rgb(255, 255, 255);

  border-style: initial;
  border-color: initial;
  border-image: initial;
  border-radius: 2px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

.facebook-responsive {

  position: relative;

  margin: 10px;
  min-width: 20%;
  height: 375px;
}

.facebook-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: solid 1px brown;

  border-radius: 7px;
  padding: 1px;
}


/* @media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
    html {
      transform: rotate(-90deg);
      transform-origin: left top;
      width: 100vh;
      overflow-x: hidden;
      position: absolute;
      top: 100%;
      left: 0;
    }
  } */

#eventDiv {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-basis: 100%;
  flex: 1
}

@media screen and (min-width: 220px) and (max-width: 767px) {
  .facebook-responsive {
    height: 200px;
    min-width: 40%;
    border: solid 1px;
    border-radius: 7px;
    padding: 1px;
  }

  #eventDiv {
    flex-direction: column;
  }
  .eventCard{
    width: 100%;
  }
}