/* Main Gallery 01 */
* {
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: AVGBold, Tahoma, Verdana, Geneva, sans-serif;
  font-size: calc(16px + 0.5vw);
  letter-spacing: 0.03rem;
  max-height: 50vh;
  padding: 0px 40px 0px 40px;
  margin: 0px;
}

@font-face {
  font-family: AVGBold;
  src: url(../css/AVGARDM.TTF);
}

h1 {
  font-size: calc(20px + 1.5vw);
}

h2 {
  font-size: calc(15px + 1.5vw);
}
h3 {
  font-size: calc(10px + 1.5vw);
}
h4 {
  font-size: calc(2px + 1.5vw);
}
p {
  font-size: calc(10px + 1.5vw);
}

h1,
h2,
h3 {
  font-weight: bold;
}
h4 {
  font-family: AVGBold;
  src: url(../css/AVGARDN.TTF);
  font-weight: 300;
}
a:link {
  color: #1c695d;
  list-style: none;
  text-decoration: none;
}
a:hover {
  color: orange;
  list-style: none;
  text-decoration: none;
  transition: color 1s;
}

.wrapper {
  padding: 0px 0px 0px 0px;
  margin-left: auto;
  margin-right: auto;
}
.top {
  background-color: rgb(255, 255, 255);
  padding-left: 10px;
}
.top h1 a {
  color: #1c695d;
}
.mySlides {
  display: none;
}
img {
  vertical-align: middle;
  width: 100%;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  padding-bottom: 0px;
  margin: 0px 10px 0px 10px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: relative;
  top: 50%;
  width: auto;
  padding: 0px 16px 0px 16px;
  margin-top: -22px;
  color: blueviolet;
  font-weight: bold;
  font-size: 1em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  color: orange;
  list-style: none;
  text-decoration: none;
  transition: color 1s;
}
footer {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  padding: 1px;
  margin: 1px;
}
.box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.box > * {
  flex: 1 1 100px;
}

/* Caption text */
.text {
  display: flex;
  justify-content: left;
  color: #313030;
  font-size: calc(2px + 1.5vw);
  padding: 0px 0px 0px 0px;
  position: relative;
  width: 100%;
}
.carrot {
  display: flex;
  justify-content: space-between;
  max-width: 1000%;
  position: relative;
  padding: 0px;
  margin: 20px 20px 0px 20px;
}
/* The dots/bullets/indicators */

.active:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width: 321px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width: 320px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}
/**********
  iPad 3
  **********/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}
/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}
/* Large screens ----------- */
@media only screen and (min-width: 1824px) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone 6, 7, 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone 6+, 7+, 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* iPhone XS Max, XR ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) {
  /* Styles */
  .wrapper {
    width: 50%;
    padding: 0px 0px 0px 0px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

/* On smaller screens, decrease text size 
@media only screen and (max-width: 400px) {
  .wrapper {
    width: 100%;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media (max-width: 641px) {
  
  .wrapper {
    width: 100%;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}

@media (max-width: 1000px) {
  
  .wrapper {
    width: 100%;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
}
@media (max-width: 1390px) {
  
  .wrapper {
    width: 100%;
  }
  footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  @media (max-width: 1800px) {
    
    .wrapper {
      width: 100%;
    }
    footer {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
    }
}*/
