/* TESTING - Add in banner */
@font-face {
  font-family: TedNext-Regular;
  src: url(https://assets.rogers-assets.com/v3/fonts/TedNext-Regular.woff2?v=3.12.0) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: TedNext-Bold;
  src: url(https://assets.rogers-assets.com/v3/fonts/TedNext-Bold.woff2?v=3.12.0) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* BANNER STYLES */
.banner-grid {
  display: grid;
  grid-template-columns: 20% 5% 25% 25% 15% 5%;
  grid-template-rows: 50% 50%;
  grid-gap: 1.5em 1.5em;
  border: 1px solid grey;
  background-color: #ffffff;
}

.banner-left {
  grid-column: 1 / span 1;
  grid-row: 1 / span 2;
  text-align: center;
  align-items: center;
  background-size: 100%;
  background-image: url("/custom/shaw/images/logo_rogers.png");
  background-color: #ffffff;
  background-position-y: center;
  background-repeat: no-repeat no-repeat;
  color: #da291c;
}

.banner-middle {
  background-color: #ffffff;
  color: #da291c;
  margin: 0.5em 0.5em;
  font-size: 1.5em;
  justify-content: right;
  align-items: center;
}

.banner-middle-header {
  text-align: left;
  grid-column: 3 / span 1;
  grid-row: 1 / span 1;
  font-family: TedNext-Bold;
}

.banner-middle-text {
  text-align: left;
  overflow: hidden;
  font-family: TedNext-Regular;
}

.banner-countdown-time {
  grid-column: 4 / span 3;
  grid-row: 1 / span 1;
  overflow: hidden;
}

.banner-spacer {
  margin: 1em 1em;
}

.banner-middle-lower-right {
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
}

.banner-middle-lower-left {
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
}

.banner-button-small {
  width: max(200px, 50%);
  padding: 0.5em 0.5em;
  margin: 0.1em 0.1em;
  color: #fff;
  border-style: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: max(0.7vw, 14px);

  font-family: TedNext-Regular;
  text-decoration: none;
  min-width: 100px;
  background-color: #da291c;
  border: 2px solid #da291c;
}

.banner-button-small:hover {
  background-color: rgba(218, 41, 28, 0.7);
  color: #fff;
}

.banner-button {
  grid-column: 1 / span 2;
  padding: 0.5em 0.5em;
  margin: 0.1em 0.1em;
  color: #fff;
  border-style: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: max(1vw, 14px);

  font-family: TedNext-Bold;
  text-decoration: none;
  min-width: 100px;
  background-color: #da291c;
  border: 2px solid #da291c;
}

.banner-button:hover {
  background-color: rgba(218, 41, 28, 0.7);
  color: #fff;
}

.banner-logo {
  text-align: center;
  padding: 10px;
  background-color: #ffffff;
  background-position-y: center;
  background-repeat: no-repeat no-repeat;
  background-size: 80%;
}

.banner-countdown-hidden {
  display: none;
  min-width: none;
  max-width: none;
}

.rounded-corners-button {
  border-radius: 3px 3px 3px 3px;
}

.center-screen-full {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  min-width: 50vw;
  background-color: rgb(256, 256, 256, 1);
}

/* Tablet friendly */
@media screen and (max-width: 1000px) {
  .banner-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(15px, 50px));
    grid-gap: 1.5em 1.5em;
    background-color: #da291c;
  }

  .banner-left {
    text-align: center;
    padding: 10px;
    background-size: 100%;
    background-image: url("/custom/shaw/images/logo_rogers.png");
    background-color: #ffffff;
    background-position-y: center;
    background-repeat: no-repeat no-repeat;
    color: #da291c;
  }

  .banner-middle {
    background-color: #ffffff;
    color: #000;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .banner-middle-header {
    grid-row: 1;
    font-size: 1.3em;
    font-family: TedNext-Regular;
  }

  .banner-middle-text {
    grid-row: 2;
    font-size: 1.3em;
    font-family: TedNext-Regular;
  }

  .banner-right-button {
    grid-row: 3;
    display: grid;
    font-size: 1.3em;
    align-items: center;
  }

  .banner-countdown-hidden {
    display: none;
    min-width: none;
    max-width: none;
  }

  .banner-button-small {
    width: unset;
    grid-column: 2 / span 2;
    background-size: 100%;
    padding: 0.5em 0.5em;
    margin: 0.1em 0.1em;
    color: #fff;
    text-align: center;
    font-size: max(0.7vw, 11px);
    text-decoration: none;
    min-width: 100px;
    background-color: #da291c;
    border: 2px solid #da291c;
  }

  .banner-button {
    width: unset;
    grid-column: 2 / span 2;
    background-size: 100%;
    padding: 0.5em 0.5em;
    margin: 0.1em 0.1em;
    color: #fff;
    text-align: center;
    text-decoration: none;
    min-width: 100px;
    background-color: #da291c;
    border: 2px solid #da291c;
  }
}

