/**
* @since 11.0.0
*/
@font-face {
  font-family: 'roboto';
  src: url('../fonts/roboto.ttf') format('truetype');
}

@font-face {
  font-family: 'arial';
  src: url('../fonts/arial.ttf') format('truetype');
}

@font-face {
  font-family: 'vedrana';
  src: url('../fonts/vedrana.ttf') format('truetype');
}


@font-face {
  font-family: 'times_new_roman';
  src: url('../fonts/tomnr.ttf') format('truetype');
}


/*  custom css */
#logo {
  width: 139px;
  max-width: 100%;
  height: 75px;
  background: url('../images/Jet-Stream-Logo.svg') no-repeat;
  background-size: contain;
  vertical-align: middle;
}

/* for elements that is not working or not reachable */
.disabled {
  opacity: 0.5;
}

/* that will be removed in future (used for option menu e.g. account table - option columns)*/
#helpContainerHolder,
#MIBBrowse {
	position: absolute;
	background-color: black;
	border: solid 1px white;
	min-width: 200px;
	min-height: 200px;
	display: none;
	z-index:90;
}

a#modalLityClose {
  position: absolute !important;
  right: 0.5rem !important;
}

/* validation on inputs */
.errorMsg {
  font-size: 0.8rem;
  color: red;
  padding: 0.5rem 0;
  display: block;
  min-height: 1rem;
}

/* copy button */
.copy {
  background: #F5F6F7;
}

/* copy button */
.copy-button:hover {
  color: #F38B00;
  cursor: pointer;
}

/* container for popups in full screen mode
e.g. used for tearms and conditions
*/
#fullScreenContainer {
  width: 100%;
  height: 100%;
  background: #F5F6F7;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

#playerContainerHolder {
	display:none;
	position: absolute;
	width: 1%;
	z-index:90;
	border: solid 1px #fcfcfc;
	background-color: #3c3c3c;
}

/** @deprecated @since 11.0.0.*/
#embedCodeHolder {
	border: solid 1px #fcfcfc;
	background-color: #232323;
	position: absolute;
	z-index: 5;
	padding: 3px;
	display:none;
}

/** @deprecated @since 11.0.0.*/
#loading {
	height: 12px;
	width: 75px;
	line-height: 12px;
	text-align: center;
	background-color: #F38B00;
	display: none;
	font-size: 10px;
	color: black;
}

.progressbar {
	width: inherit;
	height: 10px;
	border: solid 1px #039DFF;
	overflow: hidden;
	text-indent: -99px;
}

.red {
	color: red;
}

/* used if log has error type */
.errorLog {
  background-color: orange;
}

/* responsive login page*/
@media (max-width: 640px) {
  #loginContainer > div {
    width: 100%;
  }

  #loginContainer > div:nth-child(1) {
    order:2;
  }

  #loginContainer > div:nth-child(2) {
    order:1;
  }

  #loginContainer > div > a {
    display: none;
  }

  #loginContainer > .bg-cover {
    max-height: 400px;
    min-height: 200px;
  }
}


/* put spacing between elements in table*/
.formTable {
  width: 100%;
  min-width: 50%;
  max-width: 100%;
  border-collapse:separate;
  border-spacing: 1em;
}

/* for input fields */
/*.error ? span   {
  background-color: #fff5f5;
  color: #c53030;
  border-color: #fc8181;
  font-weight: 400;
}*/

input.notEditable {
	border: none;
	background-color: transparent;
	color: #dddddd;
	font-size: 13px;
}

/*@media (min-width: 300px) {
  .form-select-action {
    padding-right: calc(5.5rem * 2 + 1rem);
  	font-size: 1rem;
  	line-height: 1.5;
  	background-color: #fff;
  }
}

@media (max-width: 300px) {
  select.form-select-action {
    width: 100%;
    position: relative;
  	font-size: 1rem;
  	line-height: 1.5;
    padding-right: calc(2.5rem * 2 + 1rem);
  	background-color: #fff;
  }
}*/

/* respect parent width. if word do not fit inside, put dots. */
.word-break {
  overflow: hidden;
  text-overflow: ellipsis;
}


/* fit table inside parent container and respect inline css (e.g. when
directly want to set column to some width) */
.responsive-table {
  /*table-layout: fixed;*/
  position: relative;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 2rem 0;
}

/* when input was passed validation */
.valid-input {
  background-color: #c4edc0;
}

/* when input was not passed validation */
.invalid-input {
  background-color: #edc0c0 !important;
}

/* style for inactive delivery node service */
.inactive-service {
  color: #e53e3e;
  background-color: #fed7d7;
}

/* style for disabled and read only inputs */
input:disabled, input:read-only, textarea:disabled {
  background-color: #F5F6F7;
  cursor: not-allowed;
}

/* center graphs inside statistics container */
#cdnStatsInfo canvas {
  margin: 0 auto;
}

#cdnStatsInfo > div.graphError {
  display: inline-block;
}

.table1 {
  width: 20px;
}

/* small box near legend that shows color */
.legendDiv {
  height: 20px;
  width: 20px;
  display: inline-block;
  margin-right: 1rem;
}

/* containere for .legendDiv */
.graphLegendContainer {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.8;
  box-sizing: content-box;
  left: 0;
  top: 0;
  background: white;
}

/* containeres labels of graph together with legendDiv */
.graphLegend {
  padding: 2rem;
}

/* used in legend when we want to remove some parameter from graph */
.stroked {
  text-decoration: line-through;
}


/* fix for CSS styling issue where relative position removes border bottom.
*/
table.footable > thead > tr > td.footable-sortable,
table.footable > thead > tr > th.footable-sortable,
table.footable > tbody > tr > td.footable-sortable,
table.footable > tbody > tr > th.footable-sortable,
table.footable > tfoot > tr > td.footable-sortable,
table.footable > tfoot > tr > th.footable-sortable {
	background-clip: padding-box;
}

table.footable {
  margin-top: 0 !important;
}

/* change progress bar color of plugin {@link NProgress.css} */
#nprogress .bar {
  background-color: #F38B00 !important;
}

/* change progress bar color of plugin {@link NProgress.css} */
#nprogress .peg {
  box-shadow: 0 0 10px #F38B00, 0 0 5px #F38B00 !important;
}

/* change progress bar color of plugin {@link NProgress.css} */
#nprogress .spinner-icon {
  border-top-color: #F38B00 !important;
  border-left-color: #F38B00 !important;
}


/* icons states (active or inactive) */
button.locked,
button.unlocked,
button.geolocked,
button.ungeolocked {
  width: 20px;
  height: 20px;
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

button.locked {
  background-image: url('../images/icons/locked.png');
}

button.unlocked {
  background-image: url('../images/icons/unlocked.png');
}

/*button.geolocked {
  background-image: url('../images/icons/geo_lock_lock.png');
}

button.ungeolocked {
  background-image: url('../images/icons/geo_lock_open.png');
}*/


/* upload file */
.vdox_dropbox_upload {
  border: #5682B1 1px solid;
  background-color: #638FC0;
  min-height: 200px;
  max-height: 300px;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/** [HACK] if hovered first div then apply that to another div (progress bar)*/
div.vdox_dropbox_upload:hover,
div.vdox_dropbox_upload:hover .progressFileUpload  {
  background-color: #5682B1;
}

.progressFileUpload {
  height: 20px;
  overflow: hidden;
  background-color: #638FC0;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.fileinput-button {
  display: flex !important;
}

/** make upload file container wide as his parent wrapper */
.fileinput-button input[type=file] {
  font-size: 20px !important;
  /*width: 50px !important;*/
  width: 100%;
  height: 100%;
  left: 0;
}

.table_cell {
  display: table-cell;
}

.progressFileUpload {
  box-shadow: none;
  border-radius: 0;
}

.files {
  align-self: center;
  padding: 20px;
}

/* container for profiles (transcoding)*/
@media (min-width: 640px) {
  .grid-profiles {
    border-spacing: 1rem;
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(15%, 1fr) );
    justify-items: stretch;
    grid-gap: 10px;
    width: 100%;
  }
}

.grid-profiles {
  padding: 0.5rem 1rem 1rem 1rem;
}

.grid-profiles-start {

}

@media (min-width: 640px) {
  .grid-profiles-start {
    display: flex !important;
    flex-wrap: wrap;
  }
}

.grid-profiles-start > div {
  margin-top: 0.5rem;
}

.transcoding-grid {

}

@media (min-width: 640px) {
  .transcoding-grid {
    display: flex !important;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.transcoding-grid > div {
  min-width: 100%;
}


@media (min-width: 640px) {
  .transcoding-grid > div {
    min-width: 300px;
    max-width: 300px;
    margin-right: 1rem;
    margin-top: 1rem;
  }
}



/* set LITY modal max width*/
/* Disbaled due to rendering issues with multiple sizes of the modal and Player modal */
/*.lity-container {
  max-width: 100% !important;
}

@media (min-width: 640px) {
  .lity-container {
    max-width: 60% !important;
  }
}*/

/* active element in main menu */
.active-link {
  color: red;
}

/* active element in top menu */
.active-link-sub {
  color: red;
}

/** [HACK] for some reason firefox outlines all <a> tags, to disabled that
* put outline to none*/
a {
  outline: none !important;
}

/** tooltip Toppy custom theme */
.tippy-tooltip.vdox-theme {
  background-color: #455661;
  color: white;
}

.tippy-tooltip.vdox-theme[data-animatefill] {
  background-color: transparent;
}

.tippy-tooltip.vdox-theme .tippy-backdrop {
  background-color: #455661;
}

.progressbartippy {
  min-width: 80px;
}

/** [HACK] to justify all <a> buttons (from applied styles {@link fontawsome.js}) */
a {
  justify-content: center;
}

/** [HACK] outline button was bigger than basic button, and do not apply
this to delete button (from applied styles {@link fontawsome.js})
@deprecated @since 11.0.0. - causes some issues to iOS
*/
/*.button, :not(.button .button-delete) {
  border: 1px solid #F38B00 !important;
}*/


.footable-empty {
  text-align: center;
}

/** will apply to player iframe */
.player-container {
  min-height: 405px;
  width: 720px;
}

.default-modal-height {
  max-height: 50vh;
}

/** [HACK] change defaults of library - Footable.js*/
.footable-header, .footable-header > th {
  background-color: #637e90 !important;
  color: #F5F6F7 !important;
  font-size: 14px !important;
}

@media (max-width: 640px) {
  .footable-header, .footable-header > th {
    font-size: 12px !important;
  }

}

/** apply color for locked files */
.fa-lock-alt, svg.geolock.locked, svg.passwordfilelock.locked {
  color: #F38B00;
}

/** define width for player in modal.  @todo also define css for mobile screens */
.player-style {
  max-width: 1000px;
}

/** [HACK] fontawsome icon wasn't aligned with text! */
svg {
  vertical-align: baseline !important;
}

/** add number near icon (example: in assets - how many subs file has)*/
.metadata {
  color: gray;
  font-size: 14px;
  vertical-align: super;
}

.searchbox {
  border: 1px solid #e2e8f0;
  background: white;
  padding: 0.5rem 3rem 0.5rem 0.5rem;
  position: absolute;
  z-index: 2;
}

.searchbox li:hover {
  color: #F38B00;
}

/** [HACK] group GEO countries in columns */
.accountgeogroupcountries-radio-holder {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
}

@media (max-width: 640px) {
  .accountgeogroupcountries-radio-holder {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}

/** input validation */
.error > span {
  color: #c53030;
}
.error input.form-input,
.error select.form-select,
.error.input-field-checkbox-multiple input:invalid {
  border-color: #fc8181 !important;
  background-color: #fff5f5 !important;
}

/** [HACK] if select input has defined size then do not show arrow */
.select-without-arrow {
  background-image: none !important;
}

/** color container */
.color-container {
  height: 100%;
  background-color: white;
  min-width: 2.6rem;
  min-height: 3rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.footable-filtering-search {
  margin-bottom: 1rem !important;
}

@media (min-width: 640px) {
  .footable-filtering-search {
    margin-bottom: 0 !important;
  }
}

/** text align to left to all elements inside table's details */
table.footable-details > tbody > tr > th {
  text-align: left !important;
}

@media (max-width: 640px) {
  table.footable-details > tbody > tr > td:has(> svg) {
    text-align: left !important;
  }

  table.footable-details > tbody > tr > td > div.text-center,
  table.footable-details > tbody > tr > td > div.justify-center {
    text-align: left !important;
    justify-content: normal !important;
  }
}

/** reduce top margin on tables's detailed row */
table.footable-details  {
  margin-top: 1rem !important;
}

@media (min-width: 640px) {
  table.footable-details{
    margin-top: 2rem !important;
  }
}

/** [HACK] make video resolution 16:9 */
.resp-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  width: 100%;
  height: 100%;
}

/** make player responsive on mobile */
/*@media (max-width: 800px) {
  .video-container {
    width: 100%;
    height: auto;
  }
}*/

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-select-action {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff
}

@media (min-width: 640px) {
  .form-select-action {
    width: 320px;
  }
}

/** define default image in frontpage */
.frontpage_image {
  background-color: #568fc5;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/** toastr notification adjustments */
.toast {
  width: 50% !important;
}

/** showing transcoding type inside drag&drop zone */
.transcoding_type {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  text-align: center;
}

/** fit content is not present inside {@link Tailwind} library which means
* that {@param fit-content} class is not recognized in firefox or safari.
* to support previously stated, put preffix that will be recognized in those
* browsers
* example of use: empty label in tables that does not have rows
* @since 11.0.0.0.
*/
.fit-content {
  width:-moz-fit-content;
  width:-webkit-fit-content;
  width:-ms-fit-content;
}


/** used for livestream to show when encoder is not connected */
.not-connected {
  color: #F38B00;
}

/** make player controls in front of every other elements inside
* video player. Example of problem is when element of related videos
* is shown then library overlap video player controlers which MUST NOT
* happen
* @since 11.0.0.5
*/
.vjs-control-bar {
  z-index: 1 !important;
}

/** reduce fontsize for video titles
* @since 11.0.0.
* @link https://github.com/jmccraw/videojs-suggestedVideoEndcap
[NOT WORKING]
*/
.vjs-suggested-video-endcap-link {
  font-size: 14px !important;
}

/** for related video break word of video title to
* prevent overlaping with other elements
* @since 11.0.0.5
* @link https://github.com/jmccraw/videojs-suggestedVideoEndcap
[NOT WORKING]
*/
.vjs-suggested-video-endcap-link {
  overflow-wrap: break-word !important;
}

/**
* [HACK] <PRE> element can be only copied (in clipboard) if content
* is put in textarea {@link copyToClipboard()} {@link javascript.js} in DOM. Which means
* that textarea will be appended to a document and shown to a user. To prevent
* showing temporary textarea (that is only used to copy content of PRE), this
* class is used.
*/
.tmpTextArea {
  display: none;
}

iframe#modernstats, iframe#component-livetranscoding {
  width: 100%;
  overflow: hidden;
  height: 2000px;
}

iframe#component-livetranscoding {
  height: 60em;
  overflow: scroll;
}
