body{
  font-family: "Avenir Next Regular";
  font-weight: normal;
  font-style: normal;
}

a, a:visited, a:active, a:hover{
  color: black;
}

h1{
  color: white;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 2.5em;
  position: relative;
  padding-bottom: 0.5em;
  width: fit-content;

}

h1::after{
  content:"";
  position: absolute;
  width: 100%;
  height: 12px;
  background-color: #d75d73;
  top: 1.7em;
  left: 0;
}

h2{
  font-size: 1em;
  color: #d75d73;
  text-transform: uppercase;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
}

h3{
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 45px;
  font-family: "Arno Pro Bold";
  font-weight: bold;
}

.img-responsive{
  max-width: 100%;
}

.py-6{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.px-6{
    padding-left: 2rem;
    padding-right: 2rem;
}
main{
  background-color: #eaeaea;
}
main h2{
  text-align: left;
  font-size: 1.7em;
}

.bg-img{
  background-size: cover;
}

.block4-text{
  background-color: white;
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
  padding: 50px 50px;
}

.block4-text p{
  margin-top: 25px;
  margin-bottom: 50px;
}

.btn-pink{
  background-color: #d75d73;
  color: white;
  text-transform: uppercase;
  padding: 5px 15px;
  border: none;
}
.btn-pink:hover{
  color: white;
  background-color: #015e8a;
  border: none;
}


.text-image-padding{

}
.text-image{
  min-height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 100%;
}
.image-right{
  background-position: right center;
}
.image-left{
  background-position: left center;
}
#main{
  margin-top: -10.5em;
  position: relative;
  z-index: 1
}
#submenu{
  margin-top: 15em;
  text-transform: uppercase;
  font-size: 1.4em;
}
#submenu ul{
  padding: 0px;
  list-style-type: none;
  margin: 0px;
}

#submenu li{
  padding-top: 15px;
  padding-bottom: 15px;
  position: relative;
}

#submenu li a{
  color: black;
}
#submenu li:hover, #submenu li.active{
  color: #d75d73;
  text-decoration: none;
  cursor: pointer;
}
#submenu li a{
  text-decoration: none;
}
#submenu li.active a, #submenu li:hover a{
  color: #d75d73;
  text-decoration: none;
}
#submenu li:hover::after, #submenu li.active::after{
  content:"";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #d75d73;
  bottom: 0.4em;
  left: 0;
}

#news, #team{
  background-color: #f2f2f2;
}
#news-container{
    margin-top: -100px;
    background-color: white;
    position: relative;
}

#passion{
    padding-top: 25px;
}

#quote{
  font-family: 'Lismonia Brush Font Demo';
  position: absolute;
  right: 15px;
  top: 50px;
  font-size: 2.7em;
  text-align: center;
  /* font-style: italic; */
  font-weight: normal;
  line-height: 1em;
}

#passion-image{
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: right bottom;
  position: relative;
}

#passion-text{
  background-color: white;
  padding: 50px 100px;
  margin-top: 50px;
}

#passion-text h3{
  text-transform: none;
  font-size: 1.4em;
  text-align: left;
}

#team{
  margin-top: -100px;
  padding-top: 125px;
  padding-bottom: 50px;
}

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 0;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  background-color: white; /* Black fallback color */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
}

/* The navigation links inside the overlay */
.overlay a {
  text-decoration: none;
  font-size: 1em;
  color: black;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
  text-align: center;
  text-transform: uppercase;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus, .overlay a.active{
  color: #d75d73;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  right: 25px;
  top: 30px;
  z-index: 10;
}

header {
    position: absolute;
    z-index: 5;
    padding-right: 25px;
    right: 0px;
    width: 100%;
    text-align: right;
}

#logo{
  top: 50px;
}

img.logo{
  margin-top: 25px;
  margin-bottom: 25px;
}

#logo img, img.logo{
  width: 150px
}

.newsitem-image{
  background-size: cover;
  background-position: top center;
  padding-bottom: 57%;
  position: relative;
}
.teamitem-image{
  background-size: cover;
  background-position: center center;
  padding-bottom: 100%;
  position: relative;
}
.newsitem-category{
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 5px 20px;
  font-size: 0.8em;
  color: white;
  text-transform: uppercase;
}
.label-Agenda, .label-Hengst{
  background-color: #015e8a;
}
.label-Nieuws, .label-Merrie{
  background-color: #d75d73;
}
.label-Ruin{
  background-color: gray;
}
.newsitem-content, .horse-content, .teamitem-content{
  position: relative;
  margin-top: -30px;
}
.horse-content{
  margin-top: -40px;
}
.teamitem-content{
  margin-top: -50px;
}
.newsitem-date, .horse-info{
  text-transform: uppercase;
  background-color: white;
  width: 80%;
  text-align: center;
  margin: 0px auto;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.8em
}

.newsitem-title, .horse-name, .teamitem-name{
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  font-size: 1.3em;
}
.teamitem{
  margin-bottom: 30px;
}
.teamitem-name{
  width: 80%;
  margin: 0px auto;
  font-size: 1.1em;
  padding: 0.5em;
  height: 2.5em;
  line-height: 1em;
  color: #d75d73;
}
.teamitem-function{
  padding-top: 25px;
}

.newsitem-subtitle, .horse-pedigree-short, .teamitem-function{
  text-transform: uppercase;
  font-size: 0.8em;
  padding-top: 8px;
  padding-bottom: 35px;
  text-align: center;
}

.newsitem-summary, .horse-summary, .teamitem-summary{
  padding: 0px 35px 15px 35px;
  font-size: 0.8em;
  max-height: 160px;
  min-height: 160px;
  overflow: hidden;
}
.teamitem-summary{
  max-height: 215px;
  min-height: 215px;
}

.horse-info, .horse-name, .horse-pedigree-short, .horse-summary, .horse-read-more, .teamitem-name, .teamitem-function, .teamitem-summary{
  background-color: #eae1da;
}


.newsitem-read-more, .horse-read-more{
  color: #d75d73;
  text-transform: uppercase;
  text-align: center;
  font-size: 0.9em;
  position: relative;
  padding-bottom: 25px;
}
.newsitem-read-more::after, .horse-read-more::after{
  content: '';
  background-image: url('../icons/rightarrow.png');
  width: 25px;
  height: 3px;
  position: absolute;
  top: 22px;
  left: calc(50% - 12px);
}
.newsitem-read-more a, .newsitem-read-more a:hover,
.horse-read-more a, .horse-read-more a:hover{
  color: #d75d73;
}

.member{
  padding: 15px 30px;
}
.member-image{
  background-size: cover;
  background-position: center center;
  padding-bottom: 100%;
  position: relative;
}
.member-content{
  margin-top: -35px;
  position: relative;
  z-index: 2;
}
.member-name{
  text-align: center;
  width: 80%;
  margin: 0px auto;
  text-transform: uppercase;
  background-color: #eae1da;
  color: #d75d73;
  padding: 5px;
  font-weight: bold;
}
.member-title{
  padding: 15px 5px;
  text-align: center;
  width: 100%;
  background-color: #eae1da;
}

.sponsor-title{
  padding-top: 30px;
  padding-bottom: 30px;
}
.sponsor-title h3{
  text-transform: none;
  font-size: 1.4em;
}
.sponsor-image{
  background-repeat: no-repeat;
  background-position: center center;
  padding-bottom: 75%;
  position: relative;
}

#sponsor-container{
  padding-top: 25px;
  padding-bottom: 25px;
}

footer{
  color: black;
  background-color: #eae1da;
  text-align: center;
  text-transform: uppercase;
  padding: 25px 15px;
  clear: both;
}
footer a, footer a:hover{
  color: black;
}

.address{
  padding-top: 25px;
}

.footer-copyright{
  font-size: 0.8em;
  padding-top: 25px;
}
#content{
  min-height: 200px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.video-container{
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.horse-img{
  width: 100;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center center;
}

#palmares strong{
  color: #d75d73;
}

.male, .female{
  border: 3px solid white;
}

.male{
  background-color: #f4e2e4;
}

.female{
  background-color: #dda7b0;
}

.vertical-center {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.newsitem{
  margin-bottom: 25px;
}

.cscustom{
  width: 100%;
  border: none;
  border-bottom: 1px solid #595959;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

textarea{
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  margin-bottom: 15px;
  border: 1px solid #595959;
}
.cscustom:focus{
  box-shadow: none;
  border: none;
  border-bottom: 1px solid #d75d73;
  outline: none;
}
textarea:focus {
  box-shadow: none;
  border: 1px solid #d75d73;
  outline: none;
}

.cscustom-checkbox{
  margin-bottom: 30px;
}

iframe{
  display: block;
}

.col-figure{
  padding-left: 7.5px;
  padding-right: 7.5px
}
.row-figure{
  padding-left: 7.5px;
  padding-right: 7.5px
}
button:focus, button:active{
  outline: none;
}

.news-img{
  padding-bottom: 100%;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.newsdate{
  margin-top: -30px;
  font-size: 0.8em;
}

h3.newstitle{
  text-align: left;
  font-size: 1.1em;
  padding-top: 2em;
  padding-bottom: 1em;
  font-weight: normal;
}

table.agenda th{
  background-color: #dca7af;
  border: 2px solid white;
}
table.agenda td{
  background-color: #f5e2e4;
  border: 2px solid white;
}

.item { width: 33.333%; }

#sponsorSlider .MS-content {
  margin: 15px 5%;
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 767px) {
  #sponsorSlider .MS-content {
    margin: 0;
  }
}
#sponsorSlider .MS-content .item {
  display: inline-block;
  height: 100%;
  overflow: hidden;
  position: relative;
  vertical-align: top;
  border-right: none;
  width: 33.3333%;
}

@media (max-width: 992px) {
  #sponsorSlider .MS-content .item {
    width: 33.3333%;
  }
}
@media (max-width: 767px) {
  #sponsorSlider .MS-content .item {
    width: 50%;
  }
}
#sponsorSlider .MS-content .item p {
  font-size: 30px;
  text-align: center;
  line-height: 1;
  vertical-align: middle;
  margin: 0;
  padding: 10px 0;
}
#sponsorSlider .MS-controls button {
  position: absolute;
  border: none;
  background: transparent;
  font-size: 30px;
  outline: 0;
  top: 35px;
}
@media (max-width: 767px) {
  #sponsorSlider .MS-controls button {
    display: none;
  }
}
#sponsorSlider .MS-controls button:hover {
  cursor: pointer;
}
#sponsorSlider .MS-controls .MS-left {
  left: 10px;
}
@media (max-width: 992px) {
  #sponsorSlider .MS-controls .MS-left {
    left: -2px;
  }
}
#sponsorSlider .MS-controls .MS-right {
  right: 10px;
}
@media (max-width: 992px) {
  #sponsorSlider .MS-controls .MS-right {
    right: -2px;
  }
}

@media (max-width: 992px){
  #submenu{
    margin-top: 10em;
  }
  #main{
    margin-top: -5em;
  }
  #logo img, img.logo {
    width: 100px;
  }
  #instagram-feed{
      margin-top: 25px;
  }
  #instagram-feed img{
    width: 33.33% !important;
  }
}

@media (max-width: 1200px){
  #submenu{
    margin-top: 8em;
  }
  .image-right, .image-left{
    background-position: center center;
  }
  .text-image {
    min-height: 300px;
  }
}

@media (min-width: 481px) and (max-width: 1200px){
  #passion-image {
    background-size: 85% auto;
  }
  #passion-text {
      margin-top: 0px;
  }
}


@media (max-width: 480px){
  .horse.p-5{
    padding: 1.1rem !important;
  }
  .col-12.level-1 .vertical-center{
    top: 0%;
    -webkit-transform: inherit;
    -ms-transform: inherit;
    transform: inherit;
    padding: 1rem!important;
  }
  .horse-level-1 > .female{
    margin-top: 15px;
  }
  h1{
    font-size: 1.2em;
  }
  #main {
    margin-top: -3em;
}
#logo{
  top: 0px;
}
#logo img, img.logo{
  width: 50px;
}
#news-container{
    margin-top: 0px;
  }
  .block4-text{
    margin: 0px;
  }
  main h2 {
    font-size: 1.3em;
  }
  .text-image {
    min-height: 200px;
}
#passion-text{
  padding: 15px;
}
.sponsor-image{
  padding-bottom: 100%;
}
.sponsor-title{
  padding-top: 0px;
  padding-bottom: 0px;
}
h3{
  font-size: 1.1em;
}
.newsitem{
  padding-bottom: 25px;
}

.sponsor-image{
  background-size: contain;
}
#passion-text{
  margin-top: 250px;
}
#passion-image{
  background-size: contain;
  background-position: top center;
}
#content-image{
  text-align: center!important;
}
#content-py{
  padding-top: 0px;
  padding-bottom: 0px;
}
}
