/* CSS Document */

/* Reels Panel */
.reels-panel {
	display: grid;
	grid-template-columns: 60px 40px auto 40px;
	grid-template-rows: auto;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
}

.previous-reel { grid-area: 1 / 2 / 2 / 3 }
.reels { grid-area: 1 / 3 / 2 / 4 }
.next-reel { grid-area: 1 / 4 / 2 / 5 }

.previous-reel, .next-reel {
	display: flex; /* flex */
	align-items: center;
    justify-content: center;
}

.previous-reel img, .next-reel img {
	opacity: 0.4;
	width: 40px;
}

.reels {
	display: grid;
    grid-template-columns: repeat(3, auto);
    grid-template-rows: auto;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}

.reel-a { grid-area: 1 / 1 / 2 / 2; display: none }
.reel-b { grid-area: 1 / 2 / 2 / 3; display: none }
.reel-c { grid-area: 1 / 3 / 2 / 4; display: none }

.reel-a, .reel-b, .reel-c {
	float: left;
	padding: 20px 0px 
}

.reel-a:hover, .reel-b:hover, .reel-c:hover { opacity:0.8 }

.reel-a img, .reel-b img, .reel-c img {
    height: 100%; 
	max-width: 100%;
	display: block;
	margin: auto	
}

.reel-a video, .reel-b video, .reel-c video {
    height: 100%; 
	max-width: 100%;
	display: none;
	margin: auto	
}


.reel-a img, .reel-a video {border-top-left-radius: 20px; border-bottom-left-radius: 20px }
.reel-c img, .reel-c video {border-top-right-radius: 20px; border-bottom-right-radius: 20px }

/* adjust for smaller screen */
@media only screen and (max-width: 800px), only screen and (orientation:portrait){
   .reels-panel {
		display: grid;
		grid-template-columns: 60px auto auto auto;
		grid-template-rows: auto;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
   }
	
   .previous-reel img, .next-reel img {
	    opacity: 0.4;
	    width: 30px;
	}	
	
  .reels {
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: auto;
		grid-column-gap: 20px;
		grid-row-gap: 0px;  
   }

   .reel-a { grid-area: 1 / 1 / 2 / 2; display: none }
   .reel-b, .reel-c { display: none }

   .reel-a {
		float: left;
		padding: 10px 10px
   }

   .reel-a:hover { opacity:0.8 }

   .reel-a img {
		height: auto; 
		max-width: 100%;
		display: block;
		margin: auto	
  }

  .reel-b img, .reel-c img { display : none }	
  .reel-a img {border-radius: 10px }
}



