/* Navbar */

body .navbar .navbar-brand > span {
  font-family: "BMW-Type-Light", Arial, Tahoma, sans-serif;
  color: #92a2bd;
  font-size: 13px;
  padding: 10px 10px 10px 20px;
  margin-left: 12px;
  position: relative;
  margin-top: 2px;
  display: inline-block;
}

body .navbar .navbar-brand > span:before {
  content: '';
  border-right: 2px solid #999;
  position: absolute;
  left: 0px;
  top: -3px;
  height: 39px;
} 

 
body {
  background-color: #081832;
}

p, ul, th, td,
h1, h2, h3, h4, h5 {
  color: #fff;
}

@media (max-width: 767px) {
  h2 {
    font-size: 28px;
  }

  h4 {
    font-size: 14px;
  }
}

div#mw-modal-remote p {
  color: #777;
}

div#mw-modal-remote h5 {
  color: #555;
}

/*Menu*/

.navbar .navbar-brand {
  margin: 0;
}

@media (max-width: 550px) {
  .navbar .navbar-brand .navbar-brand-title {
    display: none;
  }
}

/*Button*/

.btn-transparent {
  background-color: transparent;
  transition: all 0.3s;
  border: none;
  text-transform: uppercase;
  font-size: 12px;
  color: #ddd;
  font-weight: bold;
  border-radius: 0;
  padding: 10px 20px;
}

.btn-transparent:hover {
  color: #fff;
  transition: all 0.3s;
}

.btn-transparent:active {
  color: #fff;
  transition: all 0.3s;
}

/*Tabs*/

.updates-tabs .updates-tabs-container {
  width: 100%;
  overflow-x: scroll;
  -ms-overflow-style: none;
}

/*https://stackoverflow.com/questions/16670931/hide-scroll-bar-but-while-still-being-able-to-scroll*/
.updates-tabs .updates-tabs-container::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.updates-tabs .updates-tabs-container .nav-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.updates-tabs .updates-tabs-container .nav-tabs .nav-link {
  border: none;
  font-size: 11px;
  color: #fff;
  font-family: "BMW-Type-Bold", Arial, Tahoma, sans-serif;
  text-transform: uppercase;
  padding: 5px 15px;
  white-space: nowrap;
  cursor: pointer;
}

.updates-tabs .updates-tabs-container .nav-tabs .nav-link.active {
  border-bottom: 2px solid;
  color: #fff;
  background: transparent;
  border-color: #fff;
}

/*Header*/

.updates-header {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url('../img/updates/header.jpg');
  height: calc(100vw * 0.7);
  margin-top: 70px;
  padding-bottom: 70px;
}

.updates-header:after {
  content: '';
  height: 100px;
  display: block;
  background-image: linear-gradient(rgba(0,7,20,1) , rgba(8,24,50,1));
  margin-top: 40px;
}

@media (max-width: 767px) {
  .updates-header {
    height: auto;
    background-image: url('../img/updates/header-mobile.jpg');
    margin: 0;
    padding: 0;
  }

  .updates-header:after {
    height: 200px;
    background-image: linear-gradient(rgba(0,7,20,0) , rgba(8,24,50,1));
  }

  .updates-header .row > div {
    margin-top: 170px;
    margin-bottom: 80px;
  }
}

@media (min-width: 992px) {
  .updates-header .sc-margin-50-0010 {
    margin-bottom: 170px;
  }
}

/*Article and Gradiant*/

article {
  position: relative;
}

article div.bmwGradient {
  background-image: linear-gradient(
    transparent, transparent, transparent, rgba(60, 120, 171, 0.17) 50%, rgba(60, 120, 171, 0.4) 80%, transparent
  );
  transition: opacity 1s ease;
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 100%;
  will-change: opacity;
  opacity: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-transform: translateX(-50vw);
  transform: translateX(-50vw);
}

article.active div.bmwGradient {
  opacity: 1;
  transition: opacity 1.5s ease;
}

/*MS IE & Edge only*/
@supports (-ms-ime-align: auto) {
  article {
    overflow: hidden;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  article {
    overflow: hidden;
  }
}

/*MacBook & iMac*/

.bmwMacBookPhone, .bmwMacBook, .bmwIMac  {
  position: relative;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center center;
  overflow: hidden;
}

.bmwMacBookPhone img,
.bmwMacBook img, .bmwMacBook video,
.bmwIMac img, .bmwIMac video {
  position: absolute;
  z-index: 1;
  display: none;
}

/*MacBook & Phone*/

.bmwMacBookPhone {
  background-image: url('../img/updates/macbook-phone.png');
  background-position: top center;
  width: 300px;
  height: 180px;
  margin: 30px auto 10px;
}

.bmwMacBookPhone img {
  top: 0px;
  left: 0px;
  width: 100%;
  height: auto;
}

@media (min-width: 550px) {
  .bmwMacBookPhone {
    width: 500px;
    height: 300px;
  }
}

@media (min-width: 768px) {
  .bmwMacBookPhone {
    width: 690px;
    height: 408px;
  }
}

@media (min-width: 992px) {
  .bmwMacBookPhone {
    width: 900px;
    height: 533px;
  }
}

/*iMac*/

.bmwIMac {
  background-image: url('../img/updates/imac.png');
  width: 300px;
  height: 240px;
  margin: 30px auto 10px;
}

.bmwIMac img,
.bmwIMac video {
  top: 8px;
  left: 9px;
  width: 282px;
  height: auto;
}

@media (min-width: 550px) {
  .bmwIMac {
    width: 500px;
    height: 400px;
  }
  .bmwIMac img, .bmwIMac video {
    top: 17px;
    left: 18px;
    width: 466px;
    height: auto;
  }
}


@media (min-width: 768px) {
  .bmwIMac {
    width: 690px;
    height: 566px;
  }
  .bmwIMac img, .bmwIMac video {
    top: 33px;
    left: 30px;
    width: 626px;
    height: auto;
  }
}

@media (min-width: 992px) {
  .bmwIMac {
    width: 800px;
    height: 655px;
  }
  .bmwIMac img, .bmwIMac video {
    top: 40px;
    left: 39px;
    width: 720px;
    height: auto;
  }
}

/*MacBook*/

.bmwMacBook {
  background-image: url('../img/updates/macbook.png');
  width: 300px;
  height: 210px;
  padding: 23px 64px 34px;
  margin: auto;
}

.bmwMacBook img,
.bmwMacBook video {
  top: 24px;
  left: 36px;
  width: 227px;
  height: auto;
}

.bmwMacBook video {
  top: 35px;
}

.bmwMacBook img.inactive {
  position: absolute;
  z-index: 2;
}

.bmwMacBook img.active {
  z-index: 3;
}

.bmwMacBookContent {
  min-height: 100px;
}

.bmwMacBookContent p {
  display: none;
  color: #fff;
  margin: 30px 0;
}

@media (min-width: 550px) {
  .bmwMacBook {
    width: 500px;
    height: 300px;
    margin: 30px auto 10px;
  }
  .bmwMacBook img,
  .bmwMacBook video {
    top: 16px;
    left: 60px;
    width: 380px;
    height: auto;
  }
  .bmwMacBook video {
    top: 32px;
  }
}


@media (min-width: 768px) {
  .bmwMacBook {
    width: 690px;
    height: 408px;
  }
  .bmwMacBook img, .bmwMacBook video {
    top: 21px;
    left: 87px;
    width: 516px;
    height: auto;
  }
  .bmwMacBook video {
    top: 43px;
  }
}

@media (min-width: 992px) {
  .bmwMacBook {
    width: 900px;
    height: 533px;
    padding: 40px 117px 65px;
  }
  .bmwMacBook img, .bmwMacBook video {
    top: 27px;
    left: 112px;
    width: 677px;
    height: auto;
  }
  .bmwMacBook video {
    top: 57px;
  }
}

/*Spinner*/
/*https://codepen.io/triumphator/pen/rRJgwY*/

.spinner {
  animation: spin 3s linear infinite;
  /*animation-play-state: paused;*/
  position: relative;
  width: 60px;
  height: 60px; 
  margin: 50px auto;
  border: 5px solid #fff;
  border-radius: 50%;
}

.spinner:after {
  content: '';
  width: 99%;
  height: 91%;
  background: -webkit-linear-gradient(45deg, rgba(8,24,50,1) 0%, rgba(8,24,50,0.7) 60%, rgba(8,24,50,0) 100%);
  /* For gte IE8 */
  background: linear-gradient(45deg, rgba(8,24,50,1) 0%, rgba(8,24,50,0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-10%,-11%);
}

.spinner:hover, .spinner:active {
  animation-play-state: running;
  cursor: pointer;
}


@keyframes spin {
  0%   { transform: scale(0.5) rotate(140deg); }
  100% { transform: scale(0.5) rotate(500deg); }
}

/*Animateable*/
/*https://codepen.io/bramus/pen/vKpjNP*/

.block {
  background: transparent;
  margin: 1em auto;
  text-shadow: 0 0 1px #333;
}

.animatable {
  visibility: hidden;
  -webkit-animation-play-state: paused;   
  -moz-animation-play-state: paused;     
  -ms-animation-play-state: paused;
  -o-animation-play-state: paused;   
  animation-play-state: paused; 
}

.animate-in {
  visibility: visible;
  
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;

  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -ms-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
}

.animate-out {
  visibility: visible;
  
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;

  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -ms-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;

  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  -ms-animation-direction: reverse;
  -o-animation-direction: reverse;
  animation-direction: reverse;
}

.animate-out:after {
  content ''
  letter-spacing: inherit;
}

@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    -moz-transform: translateY(30px);
  }

  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}

@-o-keyframes fadeInUp {
  0% {
    opacity: 0;
    -o-transform: translateY(30px);
  }

  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in.fadeInUp, .animate-out.fadeInUp {
  -webkit-animation-name: fadeInUp;
  -moz-animation-name: fadeInUp;
  -o-animation-name: fadeInUp;
  animation-name: fadeInUp;
}
.animate-in.moveUp, .animate-out.moveUp {
  -webkit-animation-name: moveUp;
  -moz-animation-name: moveUp;
  -o-animation-name: moveUp;
  animation-name: moveUp;
}