html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    min-height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}


.cursor { cursor: pointer !important; }
.width-10 { width: 10%; }
.width-20 { width: 20%; }
.width-25 { width: 25%; }
.width-30 { width: 30%; }
.width-40 { width: 40%; }
.width-50 { width: 50%; }
.width-75 { width: 75%; }
.width-100 { width: 100%; }
.floatLeft { float: left; }
.floatRight { float: right; }

.modal-content{
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
}

#playback-preview {
    margin-right: auto;
    margin-left: auto;
	min-height: 482px;
    border: 1px solid black;
}
.preview-window {
	width: 60%;
	float: left;
}
#embed-info { 
	display: none;
	width: 35%;
	float: right;
	margin-top: 10px;
}


.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.ui-widget-overlay {
	background: #000000 !important;
    opacity: 0.9 !important;
}
.ui-dialog-titlebar{background-color:#c2c2c2;}
.ui-dialog .ui-dialog-titlebar-close
{
  background-image: url(https://cdnjs.cloudflare.com/ajax/libs/aui/6.0.1/aui/css/icons/aui-icon-close.png);
  z-index:999999;
}

/** VODS */
.video-div { 
	float: left;
}

.vod-listing-table {
	border: 1px solid #eee;
	box-shadow: 0 0 5px #eee;
	width: 100%;
}

.vod-listing-table td,
.vod-listing-table th {
	padding: 5px 20px;
}

.vod-listing-table tr:nth-child(even){
	background-color: #eee !important;
}

.vod-action-buttons {
	width: 0.1%;
	white-space: nowrap;
	font-weight: bold;
}

.vod-action-buttons a,
.vod-action-buttons button {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	transition: 0.5s;
	border-radius: 2px;
	padding: 5px;
}

.vod-action-buttons a:hover {
	color: #fff;
	text-decoration: none;
}

.vod-action-buttons a:focus {
	color: #fff;
	text-decoration: none;
}

.play-button {
	background-color: #00539b;
	color: #fff;
}

.download-button {
	border: 2px solid #00539b;
	background-color: #fff;
	color: #00539b;
}

.play-button:hover {
	background-color: #1d69aa;
}

/** Other library tools */
.table-seperator {
	margin: 40px 0 30px 0;
}

.quick-jump-buttons {
	display: inline-flex;
	flex-flow: row wrap;
	gap: 20px;
}

.quick-jump-buttons a {
	border-radius: 5px;
	border: 2px solid #00539b;
	padding: 5px 10px;
	background: #fff;
	color: #00539b;
	text-decoration: none;
	font-weight: bold;
}

/** SHARED GALLERY */
/*.gallery {
	display: inline-flex;
	flex-flow: row wrap;
	gap: 5px;
	max-width: 100%;
}

.gallery-item {
	display: flex;
	justify-content: center;
	align-content: center;
	flex: 1 1 200px;
	width: 200px;
	height: 200px;
	background: #000;
}

.gallery-item img {
	max-width: 100%;
	max-height: 100%;
	overflow: hidden;
}*/

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* space between items */
  padding: 10px;
  justify-content: center;
  /* center the items */
}

.gallery-item {
  flex: 1 1 calc(25% - 20px);
  align-content: center;
  /* responsive item size */
  box-sizing: border-box;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery-item .image-tags {
	position: relative;
	top: 10px;
	left: 10px;
	
	display: inline-flex;
	gap: 5px;
}

.gallery-item .image-tags .image-tag {
	box-shadow: 0 0px 2px #00000040;
	border-radius: 3px;
	padding: 5px;
	background: #fff;
	font-size: 1.1rem;
	color: #000;
}



@media (max-width: 1200px) {
  .gallery-item {
    flex: 1 1 calc(33.33% - 20px);
    /* 3 columns */
  }
}

@media (max-width: 900px) {
  .gallery-item {
    flex: 1 1 calc(50% - 20px);
    /* 2 columns */
  }
}

@media (max-width: 600px) {
  .gallery-item {
    flex: 1 1 calc(100% - 20px);
    /* 1 column */
  }
}

/* Modal Styles */
.gallery-modal {
  display: none;
  align-content: center;
  /* Hidden by default */
  position: fixed;
  left: 0;
  top: 50px;
  width: 100%;
  height: calc(100% - 50px);
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  /* Black background with opacity */
}

.gallery-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 80px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.cards-container {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
}

.card {
	flex: 1 1 300px;
	border-radius: 3px;
	box-shadow: 2px 2px 5px #00000040;
	margin-bottom: 10px;
}

.card-image-container {
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.card img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.card-body {
	padding: 20px 30px;
}

.card-title {
	font-size: 1.8rem;
	font-weight: bold;
}

.card-text {
	
}

.card-button {
	display: inline-block;
	margin: 0;
	border-radius: 4px;
	padding: 6px 12px;
	background: #337ab7;
	color: #fff;
	font-size: 14px;
}

.card-button:hover {
	background: #286090;
	color: #fff;
	text-decoration: none;
}

