@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");
/* RESET RULES –––––––––––––––––––––––––––––––––––––––––––––––––– */
 :root {
	 --white: #afafaf;
	 --red: #e31b23;
	 --bodyColor: #292a2b;
	 --borderFormEls: #1a1a1a;
	 --bgFormEls: #242424;
	 --bgFormElsFocus: #372f2f;
}
 * {
	 padding: 0;
	 margin: 0;
	 box-sizing: border-box;
	 outline: none;
}
 a {
	 color: inherit;
}
 input, select, textarea, button {
	 font-family: inherit;
	 font-size: 100%;
}
 button, label {
	 cursor: pointer;
}
 select {
	 appearance: none;
}
/* Remove native arrow on IE */
 select::-ms-expand {
	 display: none;
}
/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/
 select:-moz-focusring {
	 color: transparent !important;
	 text-shadow: 0 0 0 var(--white);
}
 textarea {
	 resize: none;
}
 ul {
	 list-style: none;
}
 body {
	 font: 12px "Open Sans", sans-serif;
	 background: var(--bodyColor);
	 color: var(--white);
	 margin: 1.5rem 0;
}
 .container {
	 max-width: 800px;
	 margin: 0 auto;
	 padding: 0 1.5rem;
}
/* FORM ELEMENTS –––––––––––––––––––––––––––––––––––––––––––––––––– */
 .my-form h1 {
	 margin-bottom: 1.5rem;
}
 .my-form li, .my-form .grid > *:not(:last-child) {
	 margin-bottom: 1.5rem;
}
 .my-form select, .my-form input, .my-form textarea, .my-form button {
	 width: 100%;
	 line-height: 1.5;
	 padding: 15px 10px;
	 border: 1px solid var(--borderFormEls);
	 color: var(--white);
	 background: var(--bgFormEls);
	 transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25), transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}
 .my-form textarea {
	 height: 170px;
}
 .my-form ::placeholder {
	 color: inherit;
	/*Fix opacity issue on Firefox*/
	 opacity: 1;
}
 .my-form select:focus, .my-form input:focus, .my-form textarea:focus, .my-form button:enabled:hover, .my-form button:focus, .my-form input[type="checkbox"]:focus + label {
	 background: var(--bgFormElsFocus);
}
 .my-form select:focus, .my-form input:focus, .my-form textarea:focus {
	 transform: scale(1.02);
}
 .my-form *:required, .my-form select {
	 background-repeat: no-repeat;
	 background-position: center right 12px;
	 background-size: 15px 15px;
}
 .my-form *:required {
	 background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg);
}
 .my-form select {
	 background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/down.svg);
}
 .my-form *:disabled {
	 cursor: default;
	 filter: blur(2px);
}
/* FORM BTNS –––––––––––––––––––––––––––––––––––––––––––––––––– */
 .my-form .required-msg {
	 display: none;
	 background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg) no-repeat center left / 15px 15px;
	 padding-left: 20px;
}
 .my-form .btn-grid {
	 position: relative;
	 overflow: hidden;
	 transition: filter 0.2s;
}
 .my-form button {
	 font-weight: bold;
}
 .my-form button > * {
	 display: inline-block;
	 width: 100%;
	 transition: transform 0.4s ease-in-out;
}
 .my-form button .back {
	 position: absolute;
	 left: 50%;
	 top: 50%;
	 transform: translate(-110%, -50%);
}
 .my-form button:enabled:hover .back, .my-form button:focus .back {
	 transform: translate(-50%, -50%);
}
 .my-form button:enabled:hover .front, .my-form button:focus .front {
	 transform: translateX(110%);
}
/* CUSTOM CHECKBOX –––––––––––––––––––––––––––––––––––––––––––––––––– */
 .my-form input[type="checkbox"] {
	 position: absolute;
	 left: -9999px;
}
 .my-form input[type="checkbox"] + label {
	 position: relative;
	 display: inline-block;
	 padding-left: 2rem;
	 transition: background 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}
 .my-form input[type="checkbox"] + label::before, .my-form input[type="checkbox"] + label::after {
	 content: '';
	 position: absolute;
}
 .my-form input[type="checkbox"] + label::before {
	 left: 0;
	 top: 6px;
	 width: 18px;
	 height: 18px;
	 border: 2px solid var(--white);
}
 .my-form input[type="checkbox"]:checked + label::before {
	 background: var(--red);
}
 .my-form input[type="checkbox"]:checked + label::after {
	 left: 7px;
	 top: 7px;
	 width: 6px;
	 height: 14px;
	 border-bottom: 2px solid var(--white);
	 border-right: 2px solid var(--white);
	 transform: rotate(45deg);
}
/* FOOTER –––––––––––––––––––––––––––––––––––––––––––––––––– */
 footer {
	 font-size: 1rem;
	 text-align: right;
	 backface-visibility: hidden;
}
 footer a {
	 text-decoration: none;
}
 footer span {
	 color: var(--red);
}
/* MQ –––––––––––––––––––––––––––––––––––––––––––––––––– */
 @media screen and (min-width: 600px) {
	 .my-form .grid {
		 display: grid;
		 grid-gap: 1.5rem;
	}
	 .my-form .grid-2 {
		 grid-template-columns: 1fr 1fr;
	}
	 .my-form .grid-3 {
		 grid-template-columns: auto auto auto;
		 align-items: center;
	}
	 .my-form .grid > *:not(:last-child) {
		 margin-bottom: 0;
	}
	 .my-form .required-msg {
		 display: block;
	}
}
 @media screen and (min-width: 541px) {
	 .my-form input[type="checkbox"] + label::before {
		 top: 50%;
		 transform: translateY(-50%);
	}
	 .my-form input[type="checkbox"]:checked + label::after {
		 top: 3px;
	}
}
 


.content-header {
    background-color: #FFF1DA;
    color: BLACK;
    height: 50px;
    width: 100%;
    position: fixed;
    z-index: 999;
    /* keeps header on top when scrolling */
    left: 0;
    top: 0;
}

.footer {
    /*background-color: #E7FFDF;*/
    background-color: #FFF1DA;
    color: white;
    padding: 0;
    margin-top: 30px;
    margin-left: 0px;
    clear: right;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 998;

}

h3 {
    color: black;
    margin-left: 25px;
}

.centered {
    text-align: center;
}

body {
    background-color: #FFF1DA;
    margin-top: 5px;
    overflow-y: scroll;
    /* Show vertical scrollbar */
}

.divexp{
  width: 800px;
  margin: auto;
  padding: 20px;
  border: 4px solid #D98A4A;
}

main {
    max-width: 1200px;

}

.outer-flex-container {
    /*  justify-content: center;  THIS HIDES THE YELLOW OF OUTER FLEXBOX
  background-color: yellow; */
}

.flex-container {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width:100%;
    /*  justify-content: center; */
}

.flex-container1 {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width:100%;
    /*  justify-content: center; */
}

.stack-em {
    display: flex;
    flex-direction: column;
}

.vid-group {
    background-color: black;
    height: 280px;
    width: 360px;
    /* next line added as a test  */
    margin: auto;
    margin-bottom: 5px;
    margin-right: 10px;
    margin-left: 7px;
    border-color: #00ff00;
    border-width: 5px;
    /* next line added as a test */
    justify-content: center;
    z-index:5;
}

.vid-info {
    padding-bottom: 0px;
    padding-left: 5px;
    background-color: blue;
    width: 355px;
    height: 43px;
    color: white;
    margin-bottom: 2px;
    margin-right: 15px;
    position: relative;

}

.video {
    /*   width="320"; */
    margin-bottom: 15px;
    margin-top: -15px;
    padding: 5px;
    /* onclick:  WILL THIS WORK TO RESIZE VIDEO??..
    do I need to remove controls??	
    - No see below script	
    */
}

video {
    width: 100%
}

.closeButton {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 75px;
    height: 75px;
    background-image: url('close.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
    cursor: pointer;
    z-index: 5000;
}

.replay {
    position: absolute;
    bottom: 12%;
    right: 50px;
    display: none;
    cursor: pointer;
    z-index: 5000;
    background-color: #c93636;
    color: white;
    padding: 13px;
    border-radius: 5px;
}




/* Menu */

/* Clearing floats */
.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}

/* Mini reset, no margins, paddings or bullets */
.menu,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Main level */
.menu {			

  margin: 50px auto;
    /* width: 800px; */
    width: -moz-fit-content;
    /* width: -webkit-fit-content; */
    /* width: fit-content; */
    float: right;
    margin-right: 90px;
}

.menu > li {
  background: #34495e;
  float: left;
  position: relative;
  transform: skewX(25deg);
  z-index: 500;
}

.menu a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-family: Arial, Helvetica;
  font-size: 14px;
}		

.menu li:hover {
  background: #e74c3c;
}		

.menu > li > a {
  transform: skewX(-25deg);
  padding: 1em 2em;
}

/* Dropdown */
.submenu {
  position: absolute;
  width: 200px;
  left: 50%; margin-left: -100px;
  transform: skewX(-25deg);
  transform-origin: left top;
}

.submenu li {
  background-color: #34495e;
  position: relative;
  overflow: hidden;		
}						

.submenu > li > a {
  padding: 1em 2em;			
}

.submenu > li::after {
  content: '';
  position: absolute;
  top: -125%;
  height: 100%;
  width: 100%;			
  box-shadow: 0 0 50px rgba(0, 0, 0, .9);			
}		

/* Odd stuff */
.submenu > li:nth-child(odd){
  transform: skewX(-25deg) translateX(0);
}

.submenu > li:nth-child(odd) > a {
  transform: skewX(25deg);
}

.submenu > li:nth-child(odd)::after {
  right: -50%;
  transform: skewX(-25deg) rotate(3deg);
}				

/* Even stuff */
.submenu > li:nth-child(even){
  transform: skewX(25deg) translateX(0);
}

.submenu > li:nth-child(even) > a {
  transform: skewX(-25deg);
}

.submenu > li:nth-child(even)::after {
  left: -50%;
  transform: skewX(25deg) rotate(3deg);
}

/* Show dropdown */
.submenu,
.submenu li {
  opacity: 0;
  visibility: hidden;			
}

.submenu li {
  transition: .2s ease transform;
}

.menu > li:hover .submenu,
.menu > li:hover .submenu li {
  opacity: 1;
  visibility: visible;
}		

.menu > li:hover .submenu li:nth-child(even){
  transform: skewX(25deg) translateX(15px);			
}

.menu > li:hover .submenu li:nth-child(odd){
  transform: skewX(-25deg) translateX(-15px);			
}



.pagination{
  text-align: center;
}

a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;

  text-decoration: none;
  color: initial;
  background-color: white;
    padding: 10px;
    /* height: 40px; */
    border-radius: 10px;
    border-style: dotted;
}