/**
 * Grid styles
 */
 * { box-sizing: border-box; }
 html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

.video-grid.front-page {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 5px
  /* padding: 1em 2em; */
  
}

ul.video-list {
  display: flexbox;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
}

li.video {
  /* flex-grow: 1; */
  position: relative;
  overflow: hidden;
  width: 33%;  
  border: solid 0.2em transparent;
}

li.video a {
  outline: none;  
}

li.video:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color .15s;
}

li.video a {
  display: block;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

li.video figure img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 1;
  transform: scale(1);
  transition: all .20s;
}

@media screen and (max-width: 1200px) {
  li.video {
    width: 50%;
    width: -webkit-calc(100% / 2);
    width: calc(100% / 2);
  }
}
@media screen and (max-width: 500px) {
  li.video {
    width: 100%;
  }
}

main {  
    margin-left: 200px;  
}
