/*------------------------------------*\
        #OVERRIDE STLES
        This style sheet can be used for two different functions:
        1. Override specific Bootstrap styles.
        2. Add your own styles.
\*------------------------------------*/

/**
 * Padding-top is required if using .navbar-fixed-top.
 * This can be removed Remove if using .navbar-static-top.
 * The height may need to be changed if the height of you
 * navigation changes.
*/

body {
    padding-top: 70px;
}



/**
 * Bootstrap requires a containing element to wrap site contents
 * and house the grid system. You may choose one of two containers.
 * Use .container for a responsive fixed width container.
 * Use .container-fluid for a full width container.

 * If using container-fluid, you may need to set a maximum width,
 * so that the container will not spread to the entire viewport.
*/

.container-fluid {
    max-width: 1200px;
}



/**
 * Bootstrap adds a 20px margin to the bottom of elements that
 * have been given the class of thumbnail. When images have a
 * caption after them, this margin may be too large. You can
 * override it like this:
*/

.thumbnail {
    margin-bottom: 5px;
}



/**
 * We can add some "helper classes" to add or remove margins to
 * help aspects of the layout. These helper classes should only
 * be used sparingly.
*/

.margin-t-0 {
    margin-top: 0;
}
.margin-t-h {
    margin-top: .5em;
}
.margin-t-1 {
    margin-top: 1em;
}
.margin-t-2 {
    margin-top: 2em;
}
.margin-t-3 {
    margin-top: 3em;
}
.margin-b-0 {
    margin-bottom: 0;
}
.margin-b-h {
    margin-bottom: .5em;
}
.margin-b-1 {
    margin-bottom: 1em;
}
.margin-b-2 {
    margin-bottom: 2em;
}
.margin-b-3 {
    margin-bottom: 3em;
}

.margin-tb-0
{
    margin-top: 0;
    margin-bottom: 0;
}

.margin-tb-h
{
    margin-top: .5em;
    margin-bottom: .5em;
}

.margin-tb-1
{
    margin-top: 1em;
    margin-bottom: 1em;
}

.margin-tb-2
{
    margin-top: 2em;
    margin-bottom: 2em;
}

.margin-tb-3
{
    margin-top: 3em;
    margin-bottom: 3em;
}

.caption a{
    font-size: 16px;
}

.page-header h1{
    font-size: 1.5em;
}


.player{
    text-align: center;
}

.player video{
    padding: 5px;
    width: 90%;
    height: 45%;
    background-color: black;
    object-fit: contain;
}



/*
.player {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    object-fit: fill;
}

.player video{
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
*/

.pager{
    margin-top: 10px;
}

.form-control-short {
    display: block;
    width: 10%;
    height: 34px;
    padding: 4px 4px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control-medium {
    display: block;
    width: 40%;
    height: 30px;
    padding: 4px 4px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

div.b {
    white-space: nowrap;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-uppercase{
    text-transform: uppercase;
}

.custom-center{
    text-align: center;
}

.font-italic{
    font-style: italic;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}

#text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}