@charset "UTF-8";
@font-face {
  font-family: 'bbcbox-icon';
  src:  url('fonts/bbcbox.eot?sz0fdx');
  src:  url('fonts/bbcbox.eot?sz0fdx#iefix') format('embedded-opentype'),
    url('fonts/bbcbox.ttf?sz0fdx') format('truetype'),
    url('fonts/bbcbox.woff?sz0fdx') format('woff'),
    url('fonts/bbcbox.svg?sz0fdx#bbcbox') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="bbc-icon-"], [class*=" bbc-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'bbcbox-icon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bbc-icon-size-fullscreen:before {
  content: "\e057";
}
.bbc-icon-size-actual:before {
  content: "\e058";
}
.bbc-icon-grid:before {
  content: "\e06a";
}
.bbc-icon-control-play:before {
  content: "\e071";
}
.bbc-icon-control-pause:before {
  content: "\e072";
}

.bbcbox-enabled {
  overflow: hidden; }

.bbcbox-enabled body {
  overflow: visible;
  height: 100%; }

.bbcbox-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99993;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

/* Make sure that the first one is on the top */
.bbcbox-container ~ .bbcbox-container {
  z-index: 99992; }

.bbcbox-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0f0f11;
  opacity: 0;
  transition-timing-function: cubic-bezier(0.55, 0.06, 0.68, 0.19);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.bbcbox-container--ready .bbcbox-bg {
  opacity: 0.87;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1); }

.bbcbox-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  z-index: 99994;
  transition: opacity .2s;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  direction: ltr; }

.bbcbox-show-controls .bbcbox-controls {
  opacity: 1; 
  background-color: rgba(0,117,218,0.8);
}

.bbcbox-infobar {
  display: none; }

.bbcbox-show-infobar .bbcbox-infobar {
  display: inline-block;
  pointer-events: all; }

.bbcbox-infobar__body {
  display: inline-block;
  width: 70px;
  line-height: 44px;
  font-size: 13px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  text-align: center;
  color: #ddd;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: subpixel-antialiased; }

.bbcbox-buttons {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  pointer-events: all; }

.bbcbox-show-buttons .bbcbox-buttons {
  display: block; }

.bbcbox-slider-wrap {
  overflow: hidden;
  direction: ltr; }

.bbcbox-slider-wrap,
.bbcbox-slider {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0;
  margin: 0;
  z-index: 99993;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent; }

.bbcbox-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  outline: none;
  white-space: normal;
  box-sizing: border-box;
  text-align: center;
  z-index: 99994;
  -webkit-overflow-scrolling: touch; }

.bbcbox-slide::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0; }

.bbcbox-slide > * {
  display: inline-block;
  position: relative;
  padding: 24px;
  margin: 44px 0 44px;
  border-width: 0;
  vertical-align: middle;
  text-align: left;
  background-color: #fff;
  overflow: auto;
  box-sizing: border-box; }

.bbcbox-slide--image {
  overflow: hidden; }

.bbcbox-slide--image::before {
  display: none; }

.bbcbox-content {
  display: inline-block;
  position: relative;
  margin: 44px auto;
  padding: 0;
  border: 0;
  width: 80%;
  height: calc(100% - 88px);
  vertical-align: middle;
  line-height: normal;
  text-align: left;
  white-space: normal;
  outline: none;
  font-size: 16px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch; }

.bbcbox-iframe {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff; }

.bbcbox-slide--video .bbcbox-content,
.bbcbox-slide--video .bbcbox-iframe {
  background: transparent; }

.bbcbox-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  z-index: 99995;
  background: transparent;
  cursor: default;
  overflow: visible;
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden; }

.bbcbox-image,
.bbcbox-spaceball {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  background: transparent;
  background-size: 100% 100%; }

.bbcbox-controls--canzoomOut .bbcbox-placeholder {
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.bbcbox-controls--canzoomIn .bbcbox-placeholder {
  cursor: -webkit-zoom-in;
  cursor: zoom-in; }

.bbcbox-controls--canGrab .bbcbox-placeholder {
  cursor: -webkit-grab;
  cursor: grab; }

.bbcbox-controls--isGrabbing .bbcbox-placeholder {
  cursor: -webkit-grabbing;
  cursor: grabbing; }

.bbcbox-spaceball {
  z-index: 1; }

.bbcbox-tmp {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden; }

.bbcbox-error {
  position: absolute;
  margin: 0;
  padding: 40px;
  top: 50%;
  left: 50%;
  width: 380px;
  max-width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: #fff;
  cursor: default; }

.bbcbox-error p {
  margin: 0;
  padding: 0;
  color: #444;
  font: 16px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; }

.bbcbox-close-small {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  z-index: 10;
  cursor: pointer; }

.bbcbox-close-small:after {
  content: '×';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  font: 20px/30px Arial,"Helvetica Neue",Helvetica,sans-serif;
  color: #888;
  font-weight: 300;
  text-align: center;
  border-radius: 50%;
  border-width: 0;
  background: #fff;
  transition: background .2s;
  box-sizing: border-box;
  z-index: 2; }

.bbcbox-close-small:focus:after {
  outline: 1px dotted #888; }

.bbcbox-slide--video .bbcbox-close-small {
  top: -36px;
  right: -36px;
  background: transparent; }

.bbcbox-close-small:hover:after {
  color: #555;
  background: #eee; }

/* Caption */
.bbcbox-caption-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  /*padding: 60px 30px 0 30px;*/
  /*z-index: 99998;*/
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box;
  /*background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.8) 100%);*/
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none; }
@media(max-width: 767px){
  .bbcbox-caption-wrap{
    position: absolute;
    bottom: 0;
    top: initial;
    left: 0;
    right: 0;
  }
}
.bbcbox-show-caption .bbcbox-caption-wrap {
  opacity: 1; }

.bbcbox-caption {
  padding: 12px 16px;
  /*border-top: 1px solid rgba(255, 255, 255, 0.4);*/
  font-size: 14px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  color: #fff;
  line-height: 20px;
  -webkit-text-size-adjust: none; }

.bbcbox-caption a,
.bbcbox-caption button {
  pointer-events: all; }

.bbcbox-caption a {
  color: #fff;
  text-decoration: underline; }

/* Buttons */
.bbcbox-button {
  font-family: "bbcbox-icon";
  font-size: 16px;
  display: inline-block;
  position: relative;
  width: 44px;
  height: 44px;
  line-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  color: #fff;
  box-sizing: border-box;
  vertical-align: top;
  outline: none; }

.bbcbox-button--disabled {
  cursor: default;
  pointer-events: none; }

.bbcbox-button:hover {
  background: rgba(0, 0, 0, 0.2); }

.bbcbox-button::before,
.bbcbox-button::after {
  content: '';
  pointer-events: none;
  opacity: 0.9;
  box-sizing: border-box;
  display: block; }

.bbcbox-button--disabled::before,
.bbcbox-button--disabled::after {
  opacity: 0.5; }
.bbcbox-button--left::after, .bbcbox-button--right::after{
  position: absolute;
  background: transparent;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  top: 50%;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  }
.bbcbox-button--left::after {
  left: 48%;
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg); }

.bbcbox-button--right::after {
  right: 48%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); }

.bbcbox-button--left {
  border-bottom-left-radius: 5px; }

.bbcbox-button--right {
  border-bottom-right-radius: 5px; }

.bbcbox-button--close {
  float: right; }

.bbcbox-button--close::before, .bbcbox-button--close::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 18px;
  background-color: #fff;
  top: 50%;
  margin-bottom: -1px;
  left: 50%;
  margin-left: -9px;
}

.bbcbox-button--close::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); }

.bbcbox-button--close::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg); }

/* Loading spinner */
.bbcbox-loading {
  border: 6px solid rgba(100, 100, 100, 0.4);
  border-top: 6px solid rgba(255, 255, 255, 0.6);
  border-radius: 100%;
  height: 50px;
  width: 50px;
  -webkit-animation: bbcbox-rotate .8s infinite linear;
  animation: bbcbox-rotate .8s infinite linear;
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  z-index: 99999; }

@-webkit-keyframes bbcbox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

@keyframes bbcbox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

/* Styling for Small-Screen Devices */
@media all and (max-width: 800px) {
  .bbcbox-controls {
    text-align: left; }
  .bbcbox-button--left,
  .bbcbox-button--right,
  .bbcbox-buttons button:not(.bbcbox-button--close) {
    display: none !important; }
  .bbcbox-caption {
    margin: 0; 
    background-color: rgba(0,117,218,0.8);
    text-align: center;
  } }

/* Fullscreen  */
.bbcbox-button--fullscreen::before {
  content:"\e057"; }

.bbcbox-button--actual::before {
  content:"\e058"; }

/* Slideshow button */
.bbcbox-button--play::before {
  content:"\e071";}
.bbcbox-button--pause::before {
  content:"\e072";}


/* Thumbs */
.bbcbox-button--thumbs span {
  font-size: 23px; }

.bbcbox-button--thumbs::before {
  content: "\e06a";}

.bbcbox-container--thumbs .bbcbox-controls,
.bbcbox-container--thumbs .bbcbox-slider-wrap,
.bbcbox-container--thumbs .bbcbox-caption-wrap {
  right: 220px; }

.bbcbox-thumbs {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 220px;
  margin: 0;
  padding: 5px 5px 0 0;
  background: #fff;
  z-index: 99993;
  word-break: normal;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box; }

.bbcbox-thumbs > ul {
  list-style: none;
  position: absolute;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 0; }

.bbcbox-thumbs > ul > li {
  float: left;
  overflow: hidden;
  max-width: 50%;
  padding: 0;
  margin: 0;
  width: 105px;
  height: 75px;
  position: relative;
  cursor: pointer;
  outline: none;
  border: 5px solid #fff;
  border-top-width: 0;
  border-right-width: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box; }

li.bbcbox-thumbs-loading {
  background: rgba(0, 0, 0, 0.1); }

.bbcbox-thumbs > ul > li > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.bbcbox-thumbs > ul > li:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 2px;
  border: 4px solid #4ea7f9;
  z-index: 99991;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.bbcbox-thumbs > ul > li.bbcbox-thumbs-active:before {
  opacity: 1; }

/* Styling for Small-Screen Devices */
@media all and (max-width: 800px) {
  .bbcbox-thumbs {
    display: none !important; }
  .bbcbox-container--thumbs .bbcbox-controls,
  .bbcbox-container--thumbs .bbcbox-slider-wrap,
  .bbcbox-container--thumbs .bbcbox-caption-wrap {
    right: 0; } }

.btn {
    background: #0075da;
    border-width: 0;
    color: #fff;
    text-decoration: none;
    padding: 7px 20px;
    line-height: 1.5;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 80%;
    font-weight: 700;
    margin: 5px 5px 5px 0;
    display: inline-block;
    cursor: pointer;
    outline: none;
    transition: all .2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.morphing-btn-wrap {
    text-align: center;
    display: inline-block;
    position: relative;
  }

  .morphing-btn {
    -webkit-transition: background 0.2s, color 0.2s 0.3s, width 0.2s 0s;
       -moz-transition: background 0.2s, color 0.2s 0.3s, width 0.2s 0s;
         -o-transition: background 0.2s, color 0.2s 0.3s, width 0.2s 0s;
            transition: background 0.2s, color 0.2s 0.3s, width 0.2s 0s;
    white-space: nowrap;
  }

  .morphing-btn_circle {
    color: transparent;
    padding-left: 0;
    padding-right: 0;
    width: 35.6px !important; /* Override inline style rule */
    -webkit-transition: color 0.2s 0s, width .3s 0.2s;
       -moz-transition: color 0.2s 0s, width .3s 0.2s;
         -o-transition: color 0.2s 0s, width .3s 0.2s;
            transition: color 0.2s 0s, width .3s 0.2s;
  }

  .morphing-btn-clone {
    position: fixed;
    background: #0075da;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    z-index: 3;
    font-size: 0.875em;
    -webkit-transition: all 0.5s cubic-bezier(.65,.05,.36,1);
       -moz-transition: all 0.5s cubic-bezier(.65,.05,.36,1);
       -o-transition: all 0.5s cubic-bezier(.65,.05,.36,1);
        transition: all 0.5s cubic-bezier(.65,.05,.36,1);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }

  .morphing-btn-clone_visible {
    -webkit-transform : scale(1) !important;
    -moz-transform : scale(1)  !important;
    -ms-transform : scale(1) !important;
    -o-transform : scale(1)  !important;
    transform : scale(1) !important;

  }

  .morphing-close {
    position: fixed;
    top: 5%;
    right: 5%;
    background: rgba(0,0,0,0.2);
    text-indent: -9999px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    overflow: hidden;
    transition: background-color 0.2s ease 0s, transform .2s ease-in-out;;
    z-index: 99993;
    cursor: pointer;
    outline: none;
  }

  .morphing-close:active {
    margin-top: -1px;
  }

  .morphing-close:before,
  .morphing-close:after {
    content: "";
    position: absolute;
    left: 12px;
    top: 24px;
    width: 26px;
    height: 1.5px;
    background: #fff;
  }

  .morphing-close:before {
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .morphing-close:after {
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }


  /* Styling for element used in example */
  #morphing-content {
    margin: 0;
    position: relative;
    background: transparent;
    color: #fff;
    padding: 6em 10vw;
    line-height: 2;
    z-index: 3;
    -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
  }

  #morphing-content a {
    color: #fff;
  }