.align-left {
  margin: 0 20px 20px 0;
}

.align-right {
  margin: 0 0 20px 20px;
}

#block-ctv-local-tasks {
  z-index: 1;
}

.navigation ul li a.active {
  color: #00ABEC;
}

.navigation ul li a.active::after {
  background: #d261ff;
}

/**
 * system tabs
 */
#block-ctv-local-tasks ul {
  list-style-type: none;
  width: 100%;
  position: relative;
  height: 27px;
  font-size: 13px;
  font-weight: bold;
  margin: 30px 0;
  padding: 11px 0 0 0;
}

#block-ctv-local-tasks ul li {
  display: block;
  float: left;
  margin: 0 0 0 4px;
  height: 27px;
}

#block-ctv-local-tasks ul li:first-child {
  margin: 0;
}

#block-ctv-local-tasks ul li.left {
  margin: 0;
}

#block-ctv-local-tasks ul li a {
  display: block;
  float: left;
  color: #fff;
  background: #3D33D6;
  line-height: 27px;
  text-decoration: none;
  padding: 0 17px 0 18px;
  height: 27px;
}

#block-ctv-local-tasks ul li a.right {
  padding-right: 19px;
}

#block-ctv-local-tasks ul li a:hover {
  background: #2E4560;
}

#block-ctv-local-tasks ul li a.current {
  color: #2E4560;
  background: #fff;
}

#block-ctv-local-tasks ul li a.current:hover {
  color: #2E4560;
  background: #fff;
}

/**
 * newsletter webform
 */
.callout form.webform-submission-newsletter-form, .hidden-nav .webform-submission-newsletter-form {
  display: flex;
  align-items: flex-end;
}

.callout form.webform-submission-newsletter-form .form-actions {
  height: 96px;
}

.callout form.webform-submission-newsletter-form .js-form-type-email, .callout form.webform-submission-newsletter-form .form-actions {
  display: inline-block;
}

.callout form.webform-submission-newsletter-form div[data-drupal-messages], .hidden-nav .webform-submission-newsletter-form div[data-drupal-messages] {
  display: block;
  position: absolute;
  bottom: -35px;
  color: #FFF;
}

.callout form.webform-submission-newsletter-form > div {
  display: flex;
  align-items: flex-end;
  max-width: 95%;
  margin: 0 auto;
}

.control .day h3:last-of-type {
  display: block;
}

.live-stream-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.header.video iframe.live-stream {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0
}

section.schedule div.shows {
  min-height: 305px;
}


/**
* Government listing
 */
/*.shows.match .views-exposed-form{*/
/*  display: none;*/
/*}*/

/**
** player
 */
#video-page-wrap {
  display: flex;
  align-items: center;
}

#video-page-wrap .video-wrap {
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

#video-page-wrap .embed-container {
  position: relative;
  overflow: hidden;
  display: table;
  width: 100%;
  margin-bottom: 5px;
}

#video-page-wrap .embed-container iframe, #video-page-wrap .embed-container object, #video-page-wrap .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-page-wrap .start-video {
  position: absolute;
  opacity: 1;
  top: 50%;
  cursor: pointer;
  left: 50%;
  transform: translate(-50%, -50%);
}

#video-page-wrap .start-video:hover {
  opacity: 0.8;
}

#video-page-wrap div.thumbnail_container img {
  width: 100%;
  display: block;
}

#video-page-wrap img.thumbnail {
  /*margin-top: -50px;*/
  width: 100%;
}

#video-page-wrap .mdc-button {
  position: absolute;
  bottom: 37px;
  left: 50%;
  transform: translate(-50%);
}

span.play {
  -webkit-transform: translate(-50%, -50%);
  background: url(../images/play.png) no-repeat 50%;
  opacity: 0.7;
  background-size: contain;
  width: 130px;
  height: 130px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

span.play:hover {
  opacity: 1;
}

#video-page-wrap iframe {
  z-index: -1;
}

/**
 *search pager
 */
.path-search-content .pager {
  display: block;
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  clear: both;
}

.path-search-content ul {
  margin: 20px 0 0;
}

.path-search-content ul li {
  list-style: none;
}

.path-search-content .pager ul {
  display: inline-flex;
  align-items: center;
  float: left;

  top: 9px;
  position: relative;
}

.path-search-content .pager ul li {
  display: inline-block;
  float: left;
  margin: 0 5px;
  transition: 0.3s ease all;
}

.path-search-content .pager ul li.is-active {
  border-bottom: 2px solid #D261FF;
  color: #363633;
}

.path-search-content .pager ul li a {
  text-decoration: none;
  font-size: 14px;
  color: #757575;
  font-weight: 700;
}

.path-search-content .pager .pager__item--first, .path-search-content .pager .pager__item--last {
  display: none;
}

.path-search-content .pager .pager__item--previous {
  position: relative;
  width: 40px;
  height: 40px;
  background: #D261FF;
  border-radius: 100%;
  border: 2px solid #D261FF;
  transition: 0.3s ease all;
  display: inline-block;
  float: left;
  margin-right: 10px;
}

.path-search-content .pager .pager__item--previous a {
  background: url("../images/prev-icon.png") no-repeat center center;
}

.path-search-content .pager .pager__item--next {
  position: relative;
  width: 40px;
  height: 40px;
  background: #D261FF;
  border-radius: 100%;
  border: 2px solid #D261FF;
  transition: 0.3s ease all;
  display: inline-block;
  float: left;
  margin-left: 10px;
}

.path-search-content .pager .pager__item--next a {
  background: url("../images/next-icon.png") no-repeat center center;
}

.path-search-content .pager .pager__item--previous a, .path-search-content .pager .pager__item--next a {
  width: 100%;
  height: 100%;
  display: inline-block;
  border-radius: 50%;
}

.path-search-content .pager .pager__item--previous span, .path-search-content .pager .pager__item--next span {
  display: none;
}

.path-search-content .pager .pager__item--previous:hover, .path-search-content .pager .pager__item--next:hover {
  cursor: pointer;
  border: 2px solid black;
}

/**
 *search form
*/
.path-search-content h5.subtitle {
  margin: 20px 0 5px;
}

.path-search-content form input {
  padding: 19px;
  width: 472px;
  font-size: 18px;
  color: #898989;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: normal;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 2px solid #000;
}

.path-search-content form input:focus {
  outline: none;
}

.path-search-content form input[type="submit"] {
  padding: 17px 20px 18px 20px;
  font-size: 20px;
  color: white;
  width: auto;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-style: normal;
  background: #363633;
  left: -2px;
  position: relative;
  transition: 0.3s ease all;
  text-transform: uppercase;
  cursor: pointer;
}


.header.video .social.active .links {
  z-index: 10;
}

@media only screen and (max-width: 960px) {

  .callout form.webform-submission-newsletter-form .form-actions {
    height: 61px;
  }
}
