*, *::before, *::after {
  box-sizing: border-box;
}
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}

body, html {
  height: 100%;
  color: #777;
  line-height: 1.8;
  font-size: 18px;
}

h3, h4 {
	color: black;
}

/* Create a Parallax Effect */
.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4 {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
  background-image: url("../images/horse_on_beach1024.png");
  min-height: 100%;
}

/* Second image (EAL) */
.bgimg-2 {
  /* background-image: url("../images/EAL_lunging2041.png"); */
  background-image: url("../images/EAL_intro1024.png");
  min-height: 400px;
}

/* Tuition */
.bgimg-3 {
  background-image: url("../images/Tori_competition1024.png");
  min-height: 400px
}

.bgimg-4 {
  background-image: url("../images/Tori_dressage1024.png");
  min-height: 400px;
}

.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}

/* Turn off parallax scrolling for tablets and phones */ 
@media only screen and (max-device-width: 1600px) {
  .bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4 {
    background-attachment: scroll;
  }
}

/*
@supports (-wekkit-touch-callout: none) {
  .bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4 {
    background-attachment: scroll;
    min-height: 400px;
}
*/

.title-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.row {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.column {
  flex: 50%;
  padding: 10px;
}

.flex-pic {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center; 
        column-gap: 10px;
        row-gap: 10px;
}

.one {
   flex: 1 1 0;
}

.two {
   flex: 2 1 0;
}

img {
  max-width: 100%;
  min-width: 200px;
  height: auto;
}

div.container {
  text-align: center;
  padding: 10px 20px;
}

#rcorners1 {
  border-radius: 10px;
  width: 200px;
  /* height: 150px;  */
}

#rcorners2 {
  border-radius: 10px;
  border: 0px solid #000000;
  padding: 0px;
  /* width: 200px;
  height: 150px;  */
}

li::marker {
	font-size: 1.5rem
}

/* email */
.cryptedmail:after {
content: attr(a1) "." attr(a2) "@" attr(a3) "." attr(a4);
}

.hero-title, .parallax-title {
  padding: 1em 1em;
  max-width: 90%;
  background: rgba(11, 111, 111, 0.2);
  font-size: 26px;
  text-align: center;
  color: WHITE;
  border-radius: 5px;
  border: 1px solid

}


</style>
