/*
 * Globals
 */
:root {
    --primary: #D9001B;
    --primary-green: #497F4D;
    --primary-background: #f1f1f1;
    --text-black: #1D1D1D;
    --text-gray: #838383;
    --primary-gray: #676767;
    --secondary-gray: #707070;
    --font1: 'DM Sans', Arial, sans-serif;
    --hover-blue: #0055C7;
    --link-color: #004DE3;
}

html, body {
    color: var(--text-black);
    font-size: 1em;
    font-weight: normal;
    line-height: 1.4;
    font-family: var(--font1);
}

.dm-sans-extra-light {
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.dm-sans-light {
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.dm-sans-medium {
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.dm-sans-bold {
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.dm-sans-extra-bold {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

body {
    color: var(--text-black);
    font-family: var(--font1);
    font-weight: 400;
}
p {
    font-size: 18px;
}

.grey {
    color: var(--primary-gray);
}

ul {
    color: var(--primary-gray);
}

.list-header {
    color: var(--primary-gray);
    text-decoration: underline;
}

/* Header */
header {
    background-color: var(--primary);
}
header.fixed-top {
    z-index: 1040;
}
.navbar {
    height: 100px;
}
.navbar-toggler {
    color: white;
}
.navbar-collapse > .navbar-nav {
    align-self: stretch;
}
.navbar-nav .nav-link {
    color: white;
    min-width: 10rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.navbar-nav .nav-link > .active {
    background-color: var(--text-black);
}
.navbar-nav .nav-register {
    background-color: var(--primary-green);
    min-width: 14rem;
}
.navbar-nav .nav-buy {
    background-color: white;
    color: var(--primary);
    min-width: 14rem;
    height: 100%;
}
.navbar-nav .nav-dashboard {
    background-color: aliceblue;
    color: var(--primary);
    min-width: 14rem;
    height: 100%;
}

.navbar-nav .nav-login {
    background-color: var(--primary-background);
    color: var(--primary-gray);
    min-width: 5rem;
    height: 100%;
}

.navbar-brand {
    align-self: stretch;
    display: flex;
    align-items: center;
}
.navbar-brand > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.navbar-brand > img {
    padding-left: 15px;
    max-height: 40px;
    width: auto;
}
/* Login Modal */
.login-dialog > .modal-content {
    background-color: var(--primary-background);
    color: var(--text-gray);
    border-radius: 0;
}
.login-dialog > .modal-content > .modal-header {
    background-color: var(--primary);
    border-radius: 0;
    color: white;
}
.login-dialog > .modal-content > .modal-header .close {
    opacity: 1;
    color: white;
}
.login-dialog > .modal-content > .modal-header .close:hover {
    opacity: 0.5;
}
.login-dialog > .modal-content label {
    color: var(--primary);
    font-size: 24px;
}
.login-dialog .password-addon {
    position: absolute;
    right: 0.3rem;
    top: 3.2rem;
    width: 2rem;
    z-index: 4;
}
/* Overlay Hero */
.overlay {
    border-image: linear-gradient(hsl(240 100% 20% / 0.6), hsla(0, 98%, 48%, 0.6))
      fill 1;
}
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-block-size: 70vh;
    place-content: center;
    text-align: center;
    background-color: var(--primary-background);
}
.hero-top-en {
    background-image: url("/images/mc-header-home-card-en.jpg");
    margin-top: 100px;
}
.hero-top-ae {
    background-image: url("/images/mc-header-home-card-ae.jpg");
    margin-top: 100px;
}
.hero-top-es {
    background-image: url("/images/mc-header-home-card-es.jpg");
    margin-top: 100px;
}
.hero-keys {
    background-image: url("/images/mc-header-keys.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.hero-keys-ae {
    background-image: url("/images/mc-header-keys-ae.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.hero-strap {
    background-image: url("/images/mc-header-strap.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.hero-strap-ae {
    background-image: url("/images/mc-header-strap-ae.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.hero-sticker {
    background-image: url("/images/mc-header-sticker.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.hero-sticker-ae {
    background-image: url("/images/mc-header-sticker-ae.png");
    margin-top: 100px;
    text-align: left;
    padding: 0 2rem;
    min-block-size: 60vh;
}
.top-section {
    margin-top: 100px;
    padding: 0 2rem;
    background-color: var(--primary-background);
}
.hero-h1 {
    text-align: center;
    background-color: var(--primary-background);
    color: var(--text-black);
    width: 100%;
    padding: 2rem 1rem;
}
.h1 {
    font-size: 50px;
}
.h2 {
    font-size: 30px;
}
.p1 {
    font-size: 28px;
}
.p2 {
    font-size: 20px;
}
.p3 {
    font-size: 18px;
}
.hero-h1 > h1 {
    /* font: normal normal bold 55px/46px DM Sans; */
    font-size: 55px;
}
.hero-2 {
    /* background-image: url("/images/new/mc-home-running.jpg"); */
    background-image: url("/images/new/mc-home-short-wide-people.jpg");
    min-block-size: 40vh;
}
.hero-content p {
    font-size: 20px;
}
.get-micode-red {
    background-color: var(--primary);
    color: white;
    padding: 2rem;
}
.get-micode-red > div {
    font-size: 55px;
    line-height: 1.2;
}
.get-micode-red > p {
    font-size: 30px;
    max-width: 55rem;
}
.get-micode-white {
    color: var(--text-black);
    background-color: var(--primary-background);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
}
.get-micode-white > p {
    font-size: 30px;
    max-width: 40rem;
}
.hero-3 {
    background-image: url("/images/new/mc-home-tall-wide-MiCode-phone.jpg");
    min-block-size: 80vh;
    text-align: left;
    place-content: end;
}
.red-bottom-right {
    background-color: var(--primary);
    color: white;
    max-width: 27rem;
    padding: 2rem;
}

/**
  * Mobile Navigation
  */
 .mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
  }
#box {
    position: fixed;
    z-index: 100;
    overflow: auto;
    top: 0;
    right: -80%;
    width: 80%;
    opacity: 0;
    padding: 4rem 0;
    height: 100%;
    background-color: #1D1D1D;
    color: white;
    transition: all 350ms cubic-bezier(0.6, 0.05, 0.28, 0.91);
    /* will-change: transform, opacity; */
}
#box.active {
    right: 0;
    opacity: 1;
    padding-bottom: 2rem;
}

#items {
    position: relative;
    /* top: 2.8rem; */
    /* transform: translateY(-50%); */
}

#box .mobile-nav-header,
#box .item {
    position: relative;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;

    transition: all 250ms;
}
#box .mobile-nav-header {
    color: var(--sky);
    padding: 1.5rem 1.5rem .75rem 1.5rem;
}
#box .item a {
    color: white;
    padding: 1rem 1.5rem;
    display: block;
}
#box .sub-menu a {
    padding-left: 2.5rem;
}
#items .item a {
    padding: .5rem 1.5rem;
    width: 100%;
    display: block;
}

/* #box .item:hover {
    padding: 1rem 2rem;
    background-color: var(--sky);
    background-color: rgb(157, 168, 255, 0.2);
} */
#box .item a:hover {
    text-decoration: none;
    color: var(--pacific-cyan);
}
#box {
    will-change: transform, opacity;
}
.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding:0;
    line-height: 1;
    font-size: 1.25rem;
    background-color: transparent;
    border: none;
    color: var(--primary-background);
    z-index: 2;
}

.menu-1 {
    font-size: 2rem;
    line-height: 1.2;
}
.menu-2 {
    font-size: 1.5rem;
    line-height: 1.2;
}
.menu-3 {
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
    opacity: .26;
}

.nav-categories {
    background-color: white;
    color: var(--cordovan);
}
.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: rgba(157, 168, 255, 0.1);
    display: none;
}
.item.is-selected > .sub-menu {
    display: block;
    padding: .5rem 0;
}
#box .filter-link-mobile {
    position: relative;
    /* pointer-events: none; */
}
#box .filter-link-mobile:before {
    content: " ";
    color: var(--primary);
    font-size: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    right: 0;
    top: .75rem;
    margin: 0;
    padding: 0;
    position: absolute;
    /* pointer-events: auto; */
    background-color: transparent;
    background-repeat: no-repeat;
    background-image: url('/images/chevron-down.svg');
}
#box .filter-link-mobile.is-selected:before {
    transform: rotate(180deg);
    top: .25rem;
    right: .5rem;
}
/* End mobile nav */
footer {
    color: var(--primary);
    background-color: white;
    padding: 2.25rem 1rem;
}
footer a.menu {
    color: var(--primary);
    font-size: 1.8rem;
}

footer a.menu-2 {
    color: var(--primary-gray);
    font-size: 1.5rem;
    line-height: 1.4;
}

footer .social-icon a {
    font-size: 1.75rem;
    color: var(--primary-gray);
}
.footer-text a {
    color: var(--primary);
}

.header-main {
    width: 100%;
    height: 100vh;
    height: calc(100vh - 3rem);
    background: #F1F1F1;
    background-size: cover;
    position: relative;
}

.header-red {
    font-size: 55px;
    color: var(--primary);
}
.primary-red {
    color: var(--primary);
}

.small-header {
    width: 100%;
    height: 300px;
    /* background: url(/images/subheader1.png) top center; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.small-header-grey {
    width: 100%;
    height: 300px;
    background: #F1F1F1;
    background-size: cover;
    position: relative;
}

.figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #7f7f7f;
    background: rgba(0, 0, 0, 0.3);
    font-size: 55px;
    width: 100%;
    color: white;
}

.figcaption-transparent {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 3rem;
    width: 100%;
    color: #e00614;
}

.rollupcontent {
    box-sizing: border-box;
    padding: 2rem 4vw;
    width: 100%;
    line-height: 1.2;
}

.rolluptextcell {
    text-overflow: ellipsis;
    overflow: hidden;
    text-transform: capitalize;
}

.content {
    background-color: white;
}

.title-heading {
    font-size: 3rem;
}

.sub-heading {
    font-weight: bold;
}

.red {
    color: var(--primary);
}

.inner-sub-heading {
    color: var(--primary-gray);
}

.text-gray {
    color: var(--text-gray) !important;
}
.text-primary-gray {
    color: var(--primary-gray) !important;
}
.text-size-20 {
    font-size: 20px;
}
.text-size-30 {
    font-size: 30px;
}
.text-size-40 {
    font-size: 40px;
}
.text-size-55 {
    font-size: 55px;
}

.m-t-100 {
    margin-top: 100px;
}
.last-section {
    padding-bottom: 1.8rem;
}

.member-img {
    margin: 0 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid #f4f4f4;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2);
}

.btn-join {
    font-size: 1.25rem;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 1px;
    display: inline-block;
    padding: 1rem 2rem;
    transition: 0.3s;
    background-color: var(--primary);
    color: #ffffff;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    border: 2px solid var(--primary);
    text-align: center;
    vertical-align: middle;
    align-content: center;
}

.btn-join-alt {
    font-weight: 700;
    font-optical-sizing: auto;
    font-size: 1.25rem;
    letter-spacing: 1px;
    display: inline-block;
    padding: 1rem 2rem;
    transition: 0.3s;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    text-align: center;
    vertical-align: middle;
    align-content: center;
}

.btn-join:hover {
    background: transparent;
    text-decoration: none;
    color: #e00614;
}

.btn-join-alt:hover {
    background: black;
    text-decoration: none;
    color: white;
}

.red-cont {
    background-color: var(--primary);
    color: white;
}
.red-cont p {
    font-size: 20px;
}
.white-cont {
    background-color: white;
    color: var(--text-black);
}
.grey-cont {
    background-color: var(--primary-background);
    color: var(--primary-gray);
}
.grey-cont .card {
    background-color: var(--primary-background);
    border: none;
}

.box-text {
    color: white;
    background-color: var(--primary);
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 30px;
}
.box-text:hover {
    opacity: .75;
}
.tile-usage:hover {
    outline: none;
    text-decoration: none;
    color: unset;
}

.video-title {
    color: var(--text-gray);
    font-weight: 400;
}

.box-text-standard {
    color: black;
    font-weight: 400;
    height: 100px;
}

.top-row {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
}

.card-body {
    padding: .8rem;
}

.img-icon {
    margin-right: 26px;
    width: 72px;
    max-height: 80px;
}
.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-form input {
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid white;
    outline: none;
    width: 100%;
    padding: 0;
    margin: 0 0 20px 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
    color: white;
    font-size: 2rem;
}
.newsletter-form > .input-field {
    position: relative;
}
.newsletter-form > .input-field label {
    font-size: 2rem;
    font-style: italic;
    opacity: 0.56;
    position: absolute;
    top: 0.8rem;
    left: 0;
    cursor: text;
    transition: .2s ease-out;
    text-align: initial;
}
.newsletter-form > .input-field input:focus ~ label {
    top: -8px;
    font-size: 1.25rem;
}

.play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(#e00614 50%, rgba(224, 6, 20, 0.4) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
    overflow: hidden;
  }

  .play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  .play-btn::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate-btn 2s;
    animation: pulsate-btn 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(224, 6, 20, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
  }

  .play-btn:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    -webkit-animation: none;
    animation: none;
    border-radius: 0;
  }

  .play-btn:hover::after {
    border-left: 15px solid #e00614;
    transform: scale(20);
  }

  .card-img {
    display: block;
    background-color: var(--primary-background);
  }

  .card-img:hover {
    opacity: .75;
  }

  .card-team {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: .25rem;
    min-height: 400px;
  }

  .member-profile {
    top: -50px;
    left: 0;
  }

  .member-profile img {
    height: 125px;
  }

  .more-text {
    display: none;
  }
  .readmore-button {
    cursor: pointer;
  }

  .position-absolute {
    position: absolute !important;
  }

  .pack-link {
    color: var(--text-gray);
  }
  a.pack-link:hover {
    text-decoration: none;
    color: var(--primary-gray);
  }
  .accessories-header {
    padding: 0 2rem;
    background-color: var(--primary-background);
  }
  .accessories-section {
    background-color: white;
  }
  .why-mobile {
    max-width: 374px;
  }

  .carousel-control-next, .carousel-control-prev {
    bottom: 70px;
}

.carousel-control-next, .carousel-control-prev {
    position: absolute;
    top: 35%;
    bottom: 0;
    height: 25%;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 6%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    opacity: .5;
    transition: opacity .15s ease;
}
  @-webkit-keyframes pulsate-btn {
    0% {
      transform: scale(0.6, 0.6);
      opacity: 1;
    }
    100% {
      transform: scale(1, 1);
      opacity: 0;
    }
  }

  @keyframes pulsate-btn {
    0% {
      transform: scale(0.6, 0.6);
      opacity: 1;
    }
    100% {
      transform: scale(1, 1);
      opacity: 0;
    }
  }

@media (min-width: 576px) {
    .card-deck.responsive > .card {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 15px;
    }
}

@media (min-width: 768px) {
    .card-deck.responsive > .card {
        flex: 0 0 50%;
        margin-bottom: 15px;
    }
}

@media (max-width: 991.98px) {
    .hero-keys,
    .hero-sticker,
    .hero-strap {
        background-image: none;
    }
    /* .hero-top {
        background-image: url("/images/mc-header-home-card-mobile.jpg");
        margin-top: 60px;
    } */
}

@media (max-width: 1399px) {
    .navbar-nav .nav-link {
        min-width: 9rem;
    }
    .navbar-nav .nav-login {
        min-width: 5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-top-en {
        background-image: url("/images/mc-header-home-card-mobile-en.jpg");
        margin-top: 0px;
    }
    .hero-top-ae {
        background-image: url("/images/mc-header-home-card-mobile-ae.jpg");
        margin-top: 0px;
    }
    .hero-top-es {
        background-image: url("/images/mc-header-home-card-mobile-es.jpg");
        margin-top: 0px;
    }
    .get-micode-red,
    .get-micode-white {
        padding: 1rem;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /* For portrait layouts only */
    .hero-top-en {
        background-image: url("/images/mc-header-home-card-mobil-en.jpg");
        margin-top: 0px;
    }
    .hero-top-ae {
        background-image: url("/images/mc-header-home-card-mobile-ae.jpg");
        margin-top: 0px;
    }
    .hero-top-es {
        background-image: url("/images/mc-header-home-card-mobile-es.jpg");
        margin-top: 0px;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1180px) and (orientation:landscape) {
    /* For landscape layout only */
    .navbar-nav .nav-link {
        min-width: 9rem;
    }
    .navbar-nav .nav-register,
    .navbar-nav .nav-buy  {
        min-width: 10rem;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* For landscape layout only */
    .navbar-nav .nav-buy  {
        min-width: 9rem;
    }
}
