/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */
/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  display: grid;
  color: #fff;
  font-size: 1em;
  line-height: 1.4;
  margin: 0px;
  padding: 0px;
  width: 100%;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
body {
  font-family: source-sans-3, sans-serif;
}

section, header {
  width: 100%;
  padding: 0em 8em 0em 8em;
}

p {
  margin: 0px;
  padding: 0px;
}

header {
  padding: 1em 0em 1em 0em;
  display: flex;
  justify-content: center;
}
header .sharplogo {
  max-width: 220px;
  height: auto;
  padding: 0em 2em 0em 2em;
}

.welcome-banner {
  display: grid;
  justify-items: start;
  align-items: center;
  height: 500px;
  background-size: cover;
  background-image: url(http://umc-uk.umc-poland.com/img/main-image-sharp-google-tv.jpg);
}
.welcome-banner h1 {
  font-size: 3.5em;
  color: #3D4350;
  font-weight: normal;
}
.welcome-banner .cta-button {
  display: inline-block;
  padding: 1em 4em 1em 2em;
  background-color: #E6000D;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  position: relative;
}
.welcome-banner .cta-button::after {
  margin-left: 10px;
  margin-top: -3px;
  position: absolute;
  background-repeat: no-repeat;
  content: "";
  height: 50px;
  width: 50px;
  background-image: url(http://umc-uk.umc-poland.com/img/arr-white.svg);
}

.disclaimer {
  display: grid;
  grid-template-columns: auto 1fr;
  background-color: #FFDDDD;
  align-items: center;
}
.disclaimer p {
  padding: 1em;
  color: #3D4350;
}

.tv-feature {
  padding-top: 2em;
  padding-bottom: 2em;
  display: grid;
  grid-gap: 2em;
  grid-template-columns: 1fr 1fr;
}
.tv-feature .main-links-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.tv-feature .main-links-header p.link {
  justify-self: end;
}
.tv-feature a {
  color: #3D4350;
  text-decoration: none;
}
.tv-feature h2 {
  color: #E6000D;
  font-size: 2em;
  font-weight: normal;
}
.tv-feature .main-links {
  transition: all 0.3s ease-in-out;
  padding: 2em;
  box-shadow: -3px 3px 3px 0px rgba(0, 0, 0, 0.2);
  background-color: #F5F5F5;
}
.tv-feature .main-links:hover {
  transform: scale(1.02);
  box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.1);
}

.col {
  display: grid;
}

.logos {
  grid-template-columns: repeat(4, 1fr);
}

.main-links-content {
  display: grid;
  grid-template-columns: 8fr 2fr;
}
.main-links-content img.arrow {
  justify-self: end;
  align-self: end;
}
.main-links-content ul {
  list-style-type: none;
  padding: 0em;
}

footer {
  background-color: #F7F7F7;
  width: 100%;
  width: 100%;
  padding: 2em 8em 2em 8em;
}
footer p {
  color: #3D4350;
}

@media (max-width: 1600px) {
  section {
    padding: 0em 1em 0em 1em;
  }
  header {
    max-width: 100%;
    display: grid;
    padding: 1em 1em 1em 1em;
  }
  .tv-feature {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 2em 1em 2em 1em;
  }
  .tv-feature .main-links-header {
    grid-template-columns: 1fr;
  }
  .tv-feature .main-links-header h2 {
    margin: 0em 0em 0em 0em;
  }
  .tv-feature .main-links-header p.link {
    justify-self: start;
    padding-bottom: 1em;
  }
  .main-links-content {
    grid-template-columns: 1fr;
  }
  .main-links-content img.arrow {
    justify-self: start;
    align-self: end;
  }
  .logos {
    grid-template-columns: repeat(4, 1fr);
  }
  .logos img {
    max-height: 30px;
    width: auto;
  }
  .welcome-banner h1 {
    font-size: 2.5em;
    color: #fff;
  }
  .welcome-banner {
    background-position: -700px 0px;
  }
  .disclaimer {
    grid-template-columns: 1fr;
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .disclaimer p {
    padding: 0px;
  }
}