/*!
* 08/28/2019
* Version 1.0
* Hondros Video Panel Styles
* wsoe@apuswsoe.info
* Andrew Paulson
*/

/* simple embed */
.video-embed {
  height: 0;
  overflow: hidden;
  padding-bottom: 48%;
  padding-top: 30px;
  position: relative;
  margin: 0;
}
.video-embed iframe, .video-embed object, .video-embed embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
/* player */
.player-app {
    font-family: "Avenir-Light", sans-serif;
}

.filler {
    display: none;
}

.player-app .title-bar .title {
    color: var(--color-brand-gray);
}

.videorow {
    width: 100%;
    padding: 0;
}

.player-app {
    margin: 0;
    padding: 0;
}

.player-app,
.player-core,
.title-bar {
    width: 100%
}

.player-core {
    display: flex;
		flex-flow: row wrap;
}

.videorow h3 {
    text-align: center;
    width: 100%;
    color: var(--color-brand-gray);
}

.playerflex {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0
}

.playerflex iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.titleblock {
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.01) 1%, rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.7) 99%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0)
}

.player, .thumb-panel {
    flex-basis: 100%;
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
}

.vidnail {
	display: block;
	position: relative;
	height: auto;
    flex-basis: 48%;
		flex-grow: 0;
		flex-shrink: 1;
    cursor: pointer;
		margin-bottom: 4%;
}

.vidnail img {
    width: 100%;
    height: auto;
    display: block
}

.vidnail .titleblock {
    height: 45%;
    position: absolute;
    width: 100%;
    top: 55%;
}

.vidnail .titleblock .title {
    color: var(--color-hondros-sec-white);
    text-align: Center;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 1em;
    margin: 8% 5% 0;
    font-weight: 500
}

.vidnail .hoverstate {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, .4);
    display: none
}

.vidnail .hoverstate i {
    color: rgba(255, 255, 255, .75);
    margin-top: .35em;
    font-size: 4.75em
}

@media only screen and (min-width:1000px) {
  .videorow {
      width: 100%;
      padding: 0;
      padding: 0;
      margin: 0 auto;
  }
  .player-app {
      padding: 0;
      background-color: transparent;
  }
  .player-core {
      width: 100%;
      margin: 0 auto;
	    display: flex;
			flex-flow: row nowrap;
			justify-content: space-between;
			align-items: flex-start;
  }
  .player {
      margin: 0;
      padding: 0;
      flex-basis: 55%;
			flex-grow: 0;
			flex-shrink: 1;
  }
  .thumb-panel {
      flex-basis: 42%;
			flex-grow: 0;
			flex-shrink: 1;
  }
  .titleblock .title {
      font-weight: 600
  }
}
