/*
Theme URI: https://umisarchive
Description: modified CSS for elegant slider
Original Author: Robert Pentha
Author URI: http://www.pentha.co.nz
Modifications: Kareem Lawrence
*/
*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.arrows, .arrows_2, .arrows_3, .arrows_4, .arrows_5, .arrows_6 {
  position: absolute;
  bottom: 80px; /* originally 40px */
  left: 65.5%;
  width: 65%;
  height: 30px;
}

.arrows, .arrows_2, .arrows_3, .arrows_4, .arrows_5, .arrows_6 img {
  width: 100%;
}

/*.arrows2, .arrows_3, .arrows_4, .arrows_5, .arrows_6  {
  position: relative;
  width: 100%;
  height: 20px;
  display: -ms-grid;
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 70px;
}

.arrows2, .arrows_3, .arrows_4, .arrows_5, .arrows_6 img {
  width: 100%;
}*/

.arrows_2 > div, .arrows_3 > div, .arrows_4 > div, .arrows_5 > div, .arrows_6 > div {
  width: 200px;
  /* padding: ore; */
  position: relative;
  display: inline-block;
  height: 20px;
}

.carousel-cell {
  width: 100%;
  height: calc(100vh - 80px);
  position: relative;
  padding: 0 !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  border: none;
}

.carousel-cell img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.carousel-cell video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.carousel-cell h3 {
  color: white;
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 24px;
  line-height: 26px;
  margin-top: 10px;
}

.carousel-new {
  width: 200px;
  overflow: hidden;
  margin-right: 40px;
  position: relative;
}

.carousel-new img {
  width: 200px;
  height: 150px;
  -o-object-fit: contain;
     object-fit: contain;
}

.centerblock {
  width: 90%; /* originally 65% expanded to 75% */
  position: relative;
}

.centerblock a {
  margin-left: 2px;
}

.centerblock h2 {
  color: rgb(0, 0, 0);
  font-size: 40px; /*originally 50px*/
  line-height: 46px; /*originally 56px*/
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.centerblock h2.smallertype {
  font-size: 32px; /*originally 36px*/
  line-height: 40px;
  font-family: 'Hoefler Text','Baskerville Old Face',Garamond,'Times New Roman',serif;
}

.centerblock p {
  color: rgb(0, 0, 0);
  font-size: 16px; /*originally 18px*/
  line-height: 23px;
  margin-bottom: 30px;
}

.contentblock {
  position: relative;
  background-color: #EE799F;
  overflow: hidden;
}

.contentblock-2 {
  position: relative;
  background-color: #F7C3D4;
  overflow: hidden;
}

.contentblock-3 {
  position: relative;
  background-color: #F9EBF2;
  overflow: hidden;
}

.contentblock-4 {
  position: relative;
  background-color: #F0FFF0;
  overflow: hidden;
}

.contentblock-5 {
  position: relative;
  background-color: #B5E0CF;
  overflow: hidden;
}

.contentblock-6 {
  position: relative;
  background-color: #7CD3CE;
  overflow: hidden;
}

.exhibit-descriptor, .exhibit-descriptor-2, .exhibit-descriptor-3, .exhibit-descriptor-4, .exhibit-descriptor-5, .exhibit-descriptor-6 {
  position: absolute;
  width: 100%;
  height: 100%;
  display: -ms-grid;
  display: grid;
  -ms-flex-line-pack: center;
  /*align-content: center;
  justify-items: center;*/
  opacity: 0;
}

.gridpattern {
  position: absolute;
  width: 200%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.25;
  background-repeat: repeat;
  background-size: 350px;
}

.gridpattern img {
  position: absolute;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}

.homepageholder {
  position: relative;
  width: 100%;
  height: calc(100vh - 90px); /*calc(100vh - 80px);*/
  margin-top: 30px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 50% 50%;
}

.homeslider {
  position: relative;
}

.leftarrowz, .leftarrowz2, .leftarrowz3, .leftarrowz4, .leftarrowz5, .leftarrowz6 {
  display: block;
  width: 40px;
  position: absolute;
  left: 0;
  padding: 10px 0;
  opacity: 0.5;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.leftarrowz:hover, .leftarrowz2:hover, .leftarrowz3:hover, .leftarrowz4:hover, .leftarrowz5:hover, .leftarrowz6:hover {
  opacity: 1;
}

.main-carousel-2 {

  height: 240px;

}

@media screen and (max-width: 1022px) {
  
  .homepageholder {
    margin-top: 60px;
    height: calc(100vh - 60px); 
  }
  
  .homepageholder {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    -ms-grid-rows: 50vh 50vh;
        grid-template-rows: 50vh 50vh;
  }
  .homeslider {
    -ms-grid-row: 1;
    grid-row: 1;
    grid-row-start: 1;
  }
  .homepageholder .carousel-cell {
    width: 100%;
    height: calc(50vh);
  }
  .exhibit-descriptor, .exhibit-descriptor-2, .exhibit-descriptor-3, .exhibit-descriptor-4, .exhibit-descriptor-5, .exhibit-descriptor-6 {
    width: 80%;
    height: auto;
  }
  .contentblock {
    padding: 20px;
  }
  .centerblock {
    width: 100%;
  }
  .centerblock h2 {
    font-size: 26px;
    line-height: 26px;
  }
  .centerblock h2.smallertype {
    font-size: 18px;
    line-height: 20px;
  }
  .centerblock p {
    line-height: 23px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .arrows {
    bottom: 100px;
    left: 25px;
  }
  
  h2 {
    font-size: 32px;
    line-height: 32px;
  }
  .carousel-cell h3 {
    font-size: 16px;
    line-height: 18px;
  }
}

@media screen and (max-width: 900px) {
  .carousel-cell {
    width: calc(33.33% - 15px);
    height: 400px;
  }
}

@media screen and (max-width: 450px) {
  .carousel-cell {
    width: calc(50% - 15px);
    height: 300px;
  }
}

.middlebox {
  width: 200px;
  position: relative;
  text-align: center;
  height: 90px;
}

.middlebox img {
  width: 60px;
  height: 60px;
  /* display: inline-block; */
  position: absolute;
  /* margin: 30px auto; */
  left: 70px;
}

.rightarrowz, .rightarrowz2, .rightarrowz3, .rightarrowz4, .rightarrowz5, .rightarrowz6 {
  display: block;
  width: 40px;
  position: absolute;
  left: 140px;
  padding: 10px 0;
  opacity: 0.5;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.rightarrowz:hover, .rightarrowz2:hover, .rightarrowz3:hover, .rightarrowz4:hover, .rightarrowz5:hover, .rightarrowz6:hover {
  opacity: 1;
}

section {
  width: 100%;
  position: relative;
  overflow: hidden;
}