@charset "UTF-8";
/* CSS Document */

.accordion {
    width: 100%;
    height: 52vw;
    overflow: hidden;
    margin: auto;
	cursor: pointer;
    border-top: 2px solid #ffffff;
}

.accordion ul {
    width: 100%;
    display: table;
    table-layout: fixed;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

.accordion ul li {
    display: table-cell;
    vertical-align: bottom;
    position: relative;
    width: 20vw;
    height: 52vw;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 500ms ease;
}

.accordion ul li div {
    width: 100%;
    height: 52vw;
	overflow: hidden;
}

.accordion ul li div a {
    height: 52vw;
     width: 52vw;
    position: relative;
    z-index: 3;
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    transition: all 200ms ease;
	
	display: flex; 
	align-items: center; 
	justify-content: center; 
	flex-direction: column; 
	text-align: center; 
}

.accordion ul li div a * {
    opacity: 0;
    margin: 0;
    width: 100%;
    text-overflow: ellipsis;
    position: relative;
    z-index: 5;
    overflow: hidden;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
    -webkit-transition: all 400ms ease;
    transition: all 400ms ease;
}

.accordion ul li div a .btnWhite {
    margin: 30px 0 0 0;
	width: auto!important;
}

.accordion ul li div a h3 {
	text-overflow: clip;
	color: #ffffff;
	text-transform: uppercase;
	text-shadow: 0px 1px 3px rgba(0,0,0,0.75);
	margin-bottom: 20px;
}

.accordion ul li div a p {
    text-align: left;
	text-shadow: 0px 1px 3px rgba(0,0,0,0.75);
}

.accordion ul li:nth-child(1) { background-image: url("../images/luxury_home_brand.jpg"); }
.accordion ul li:nth-child(2) { background-image: url("../images/swissflex.jpg"); }
.accordion ul li:nth-child(3) { background-image: url("../images/hydro_source.jpg"); }
.accordion ul li:nth-child(4) { background-image: url("../images/heroic_roofing.jpg"); }
.accordion ul li:nth-child(5) { background-image: url("../images/your_cbd_store.jpg"); }
.accordion ul:hover li { width: 12vw; opacity: 15%; transition-delay: 0.15s; }
.accordion ul:hover li:hover { width: 52vw; opacity: 100%; transition-delay: 0.15s; }
.accordion ul:hover li:hover a { background: rgba(0, 0, 0, 0.65); transition-delay: 0.15s; }
.accordion ul:hover li:hover a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.case1 {
  position: relative;
  background-image: url("../images/luxury_home_brand.jpg");
  background-position: center;
  background-size: cover;
  padding: 50px 10vw;
  height: 50vh;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.case1::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.case2 {
  position: relative;
  background-image: url("../images/swissflex.jpg");
  background-position: center;
  background-size: cover;
  padding: 50px 10vw;
  height: 50vh;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.case2::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.case3 {
  position: relative;
  background-image: url("../images/hydro_source.jpg");
  background-position: center;
  background-size: cover;
  padding: 50px 10vw;
  height: 50vh;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.case3::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.case4 {
  position: relative;
  background-image: url("../images/heroic_roofing.jpg");
  background-position: center;
  background-size: cover;
  padding: 50px 10vw;
  height: 50vh;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.case4::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.case5 {
  position: relative;
  background-image: url("../images/your_cbd_store.jpg");
  background-position: center;
  background-size: cover;
  padding: 50px 10vw;
  height: 50vh;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

.case5::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with 50% opacity */
  z-index: 1; /* Place the overlay above the background image */
}

.case {
  position: relative; /* Place content above the overlay */
  z-index: 2;
}

.case h3 {
	text-overflow: clip;
	color: #ffffff;
	text-transform: uppercase;
	text-shadow: 0px 1px 3px rgba(0,0,0,0.75);
	margin-bottom: 20px;
}

.case p {
    color: #ffffff;
    text-align: left;
	text-shadow: 0px 1px 3px rgba(0,0,0,0.75);
  padding: 35px 0 70px 0;
}

.case .btnWhite {
    border-width: 3px;
    font-size: 32px;
    padding: 16px 35px;
}

.case hr.style6 {
    margin: 60px 0 !important;
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (orientation: landscape) {

.case1, .case2, .case3, .case4, .case5 {
  height: 100vh;
}
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px)
and (orientation: portrait) {

.case1, .case2, .case3, .case4, .case5 {
  height: 60vh;
}
}