/**
 * Media Player - Listing Page Styles (from Craft 2)
 * Extracted from media.lajolieronde.co.uk/htdocs/css/media-player-styles.css
 */

/**
 * Logo
 */
div.logo {
  margin-top: 25px;
  margin-bottom: 20px;
  padding: 15px 0;
}

div.logo img {
  max-height: 42px;
}

/**
 * Navigation Menu Button
 */
a.open-menu {
  color: #fff;
  display: block;
  font-weight: normal;
  text-align: right;
  font-size: 17px;
  text-decoration: none;
}

a.open-menu:hover {
  text-decoration: none;
  color: #fff;
}

a.open-menu span {
  display: block;
  margin-left: 10px;
  overflow: hidden;
  height: 42px;
  width: 42px;
  float: right;
  background-image: url(/images/assets/menu-icon-svg.svg);
  background-repeat: no-repeat;
  margin-top: -7px;
}

/**
 * Container Widths
 */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 892px) {
  .container {
    width: 870px;
  }
}
@media (min-width: 920px) {
  .container {
    width: 920px;
  }
}

/**
 * Background Colors with Images
 */
.container.green,
.container-fluid.green {
  background-image: url(/images/assets/backgrounds/green.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 100vh;
  padding-bottom: 50px;
}

.container.red,
.container-fluid.red {
  background-image: url(/images/assets/backgrounds/red.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 100vh;
  padding-bottom: 50px;
}

/**
 * Unlock Media Form
 */
form.unlock-media .col-md-3 {
  text-align: right;
}

@media (min-width: 992px) {
  form.unlock-media .col-md-3 {
    padding-left: 0;
  }
}

form.unlock-media .col-md-3 .btn {
  padding: 10px 13px;
  line-height: 1;
  min-width: auto;
}

form.unlock-media input:not(:placeholder-shown) {
  font-family: monospace;
  font-size: 16px;
  color: #656565;
}

@media (max-width: 767px) {
  form.unlock-media .btn {
    margin-top: 10px;
  }
}

/**
 * Buttons
 */
.btn {
  background-color: transparent;
  border-radius: 100px;
  color: #303030;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  padding: 10px 2.0625rem 8px;
  text-align: center;
  text-decoration: none;
  border: 3px solid #3398FE;
  -webkit-transition: background-color 300ms, color 300ms;
  -moz-transition: background-color 300ms, color 300ms;
  transition: background-color 300ms, color 300ms;
  min-width: 160px;
  font-size: 16px;
}

.btn.btn-full-width {
  min-width: auto;
  width: 100%;
}

.btn-xs-full-width {
  min-width: auto;
}

@media (max-width: 767px) {
  .btn-xs-full-width {
    width: 100%;
    margin-bottom: 10px;
  }
}

.btn.btn-primary {
  border: 3px solid #FDD729;
  color: #303030;
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary:focus,
.btn.btn-primary.btn-filled {
  background-color: #FDD729;
  color: #FFFFFF;
  outline: none;
  border-color: #FDD729;
}

.btn.btn-info {
  border: 3px solid #3398FE;
}

.btn.btn-info:hover,
.btn.btn-info:active,
.btn.btn-info:focus,
.btn.btn-info.btn-filled {
  background-color: #3398FE;
  color: #FFFFFF;
  outline: none;
}

.btn.btn-success {
  border: 3px solid #00C38A;
}

.btn.btn-success:hover,
.btn.btn-success:active,
.btn.btn-success:focus,
.btn.btn-success.btn-filled {
  background-color: #00C38A;
  color: #FFFFFF;
  outline: none;
}

.btn.btn-danger {
  border: 3px solid #E22000;
}

.btn.btn-danger:hover,
.btn.btn-danger:active,
.btn.btn-danger:focus,
.btn.btn-danger.btn-filled {
  background-color: #E22000;
  color: #FFFFFF;
  outline: none;
}

/**
 * Programme Items
 */
.language-panel .programme-item {
  text-align: center;
  margin-bottom: 20px;
}

.language-panel .programme-item p {
  margin-top: 5px;
  color: #252525;
  opacity: 0.8;
}

.language-panel .programme-item-list {
  border-bottom: 2px solid #929292;
}

.language-panel .programme-item-list a {
  padding-top: 8px;
  padding-bottom: 8px;
  display: block;
  color: #252525;
  text-decoration: none;
}

.language-panel .programme-item-list a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.language-panel .programme-item-list a p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

/**
 * Accordion Title
 */
.accordion-title {
  border-bottom: 2px solid #252525;
  cursor: pointer;
  padding: 10px 0;
  margin-bottom: 10px;
}

.accordion-title p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.accordion-title p strong {
  font-weight: 700;
}

.accordion-title span.glyphicon {
  transition: all ease-in-out 300ms;
  -webkit-transition: all ease-in-out 300ms;
  -moz-transition: all ease-in-out 300ms;
  -ms-transition: all ease-in-out 300ms;
  -o-transition: all ease-in-out 300ms;
  margin-top: 4px;
}

.accordion-title.closed span.glyphicon {
  transform: rotate(-90deg);
}

/**
 * Panel Styles
 */
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-body {
  padding: 25px 15px 15px;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.panel-heading span.success,
.panel-heading span.error {
  display: inline-block;
  background-repeat: no-repeat;
  float: left;
}

.panel-heading h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.panel-heading p {
  margin: 5px 0 0 0;
}

/**
 * Footer
 */
footer.footer {
  background: #8D8D8D;
  color: #FFF;
  text-align: center;
  padding: 6px;
  font-family: 'Open Sans', sans-serif;
  margin-top: 40px;
}

/**
 * Header Page (deprecated - using div.logo instead)
 */

/**
 * Spacing helpers
 */
p.clearfix {
  clear: both;
}

/**
 * Programme thumbnail with Preview badge overlay (T037)
 */
.programme-thumbnail {
  position: relative;
  display: inline-block;
  width: 100%;
}
.programme-thumbnail--no-image {
  background: #ccc;
  min-height: 100px;
}

/* Thumbnail overlay badge (listing page) */
.preview-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #e8a000;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/**
 * Disabled tracks — preview limit (FR-036, T094)
 * Matches Craft 2 .list-group-item.disabled appearance.
 */
.list-group-item--disabled,
.list-group-item--disabled:hover,
.list-group-item--disabled:focus {
  background-color: #ffffff;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
}

.list-group-item--disabled .unlock-to-play {
  color: #aaa;
  font-size: 12px;
}

.list-group-item--disabled .glyphicon-lock {
  margin-right: 4px;
}

/**
 * Preview notice banner (preview entry page)
 */
.preview-notice {
  margin-top: 20px;
  border-left: 4px solid #e8a000;
}

.preview-notice .panel-body p {
  margin-bottom: 12px;
}

/**
 * Accordion title spacing (listing page preview section)
 */
.accordion-title {
  padding: 10px 0;
  margin-bottom: 10px;
}

.accordion-title p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.accordion-title p strong {
  font-weight: 700;
}
