@import url("https://cdn.kuriyama.com/assets/css/normalize.css");
@import url("https://cdn.kuriyama.com/assets/css/common.css");
@import url("https://cdn.kuriyama.com/assets/css/boilerplate.css");
@import url("https://cdn.kuriyama.com/assets/css/fonts.css");
@import url("https://cdn.kuriyama.com/assets/css/layout.css");
@import url("https://cdn.kuriyama.com/assets/css/forms.css");
@import url("https://cdn.kuriyama.com/assets/css/helpers.css");
@import url("https://cdn.kuriyama.com/assets/css/print.css") print;

 :root {
     --font-stack: 'Roboto', Helvetica, sans-serif;
    --condensed: 'Roboto Condensed', Helvetica, sans-serif;
    --display: 'Gemunu Libre', sans-serif;
    --KOA-blue: #0055a5;
    --midnight-blue: #003479;
    --dk-blue: #1f345f;
    --alfagomma: #ed253e;
}

@font-face {
    font-family: 'Gemunu Libre';
    src: url('fonts/GemunuLibre-Regular.woff2') format('woff2'),
        url('fonts/GemunuLibre-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*  GRID OF TWELVE  */
.span_12_of_12 {
    width: 100%;
}
.span_11_of_12 {
      width: 91.53%;
}
.span_10_of_12 {
      width: 83.06%;
}
.span_9_of_12 {
      width: 74.6%;
}
.span_8_of_12 {
      width: 66.13%;
}
.span_7_of_12 {
      width: 57.66%;
}
.span_6_of_12 {
      width: 49.2%;
}
.span_5_of_12 {
      width: 40.73%;
}
.span_4_of_12 {
      width: 32.26%;
}
.span_3_of_12 {
      width: 23.8%;
}
.span_2_of_12 {
      width: 15.33%;
}
.span_1_of_12 {
      width: 6.866%;
}
.margin-10 {
    margin: 0 10%;
}
.padding-10 {
    padding: 0 10%;
}
body {
  font-family: var(--font-stack);
  font-size: 1em;
  background: var(--dk-blue) url(img/bg.webp) no-repeat top center/contain;
}
header {
  padding-top: 130px;
}
.alfagomma-heading {
  text-align: center;
}
.alfagomma-logo {
  margin: 0 auto 43px auto;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.8));
  width: 80%;

}
.title-wrap {
    background: rgba(255,255,255,0.65);
    border-top: 4px solid var(--alfagomma);
    border-bottom: 4px solid var(--KOA-blue);
    display: grid;
    grid-template-rows: 330px 180px;
    grid-template-columns: 57.66% 32.26%;
    justify-content: space-between;
}
h1 {
    font-family: var(--display);
    font-weight: normal;
    font-size: 8.4rem;
    color: black;
    line-height: 1.2em;
    text-align: center;
    margin: 30px auto;
    grid-area: 1 / 1 / 2 / 2;
}
.title-wrap p {
    font-style: italic;
    color: var(--midnight-blue);
    text-align: center;
    font-size: 2.7rem;
    grid-area: 2 / 1 / 3 / 2;
}
.title-wrap p img {
    max-width: 420px;
}
.hose-image {
  grid-area: 1 / 2 / 3 / 3;
  position: relative;
  top: -100px;
  background: linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 18px) calc(100% - 18px) no-repeat,
              linear-gradient(#ed263e 0%, #17479e 100%);
  border-radius: 3px;
  padding: 9px;
  box-sizing: content-box;
}
.top {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 170px;
}
.top p {
    color: white;
    font-size: 1.85rem;
    margin: 25px 0;
    text-align: left;
}
ul.button-links {
    list-style: none;
    padding: 0;
    margin: 75px 0 0 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}
ul.button-links li:first-of-type {
    width: 55%;
}
ul.button-links li:last-of-type {
    width: 35%;
}
ul.button-links li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 405px;
    position: relative;
    text-decoration: none;
}
ul.button-links li img {
    position: relative;
    z-index: 1;
}
ul.button-links li span {
    position: absolute;
    z-index: 10;
    top: 45%;
    border: 1px solid var(--alfagomma);
    background: white;
    font-size: 2.8rem;
    font-family: var(--display);
    color: var(--KOA-blue);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
ul.button-links li a:hover span,
ul.button-links li a:active span {
    background-color: var(--alfagomma);
    color: white;
    border-color: white;
}
.form {
  padding-top: 100px;
}
h2.red-header {
    font-family: var(--display);
    font-size: 3rem;
    font-weight: normal;
    line-height: 1.2em;
    color: var(--alfagomma);
}
form.fancy-form label {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
input:focus,
textarea:focus {
  border: 1px solid var(--alfagomma);
}
h4 {
  color: white;
}
button.g-recaptcha {
  color: var(--alfagomma);
  border-color: var(--alfagomma);
}
button.g-recaptcha:hover {
  color: white;
  background-color: var(--alfagomma);
}

.contact-footer {
  background-color: transparent;
  color: white;
  border-top: 1px solid var(--alfagomma);
  border-bottom: 1px solid var(--alfagomma);
}
.contact-footer svg.phone {
    fill: var(--alfagomma);
}
.social a:link svg {
    fill: white;
    opacity: 0.6;
}
.social a:visited svg {
    fill: white;
    opacity: 0.6;
}
.social a:hover svg,
.social a:active svg {
    opacity: 1;
}
footer {
  background-color: transparent;
  color: white;
}
footer a:link, footer a:visited {
    color: white;
}
footer a:hover, footer a:active {
  color: var(--alfagomma);
}
footer ul a {
    border-right: 1px solid white;
}
footer div.address {
  color: white;
}
/**
 * Featherlight - ultra slim jQuery lightbox
 * Version 1.7.14 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2019, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
html.with-featherlight{overflow:hidden}.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight link.featherlight-inner,.featherlight script.featherlight-inner,.featherlight style.featherlight-inner{display:none}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}@media print{html.with-featherlight>*>:not(.featherlight){display:none}}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media only screen and (max-width: 2400px) {
  ul.button-links li span {
    font-size: 2.5rem;
    padding: 4px 0;
  }
}
@media only screen and (max-width: 2250px) {
    h1 {
      font-size: 7.5rem;
    }
    .top {
      padding-top: 130px;
    }
}

@media only screen and (max-width: 2000px) {
    h1 {
      font-size: 7rem;
      margin: 50px auto;
    }
    ul.button-links li span {
      font-size: 2.25rem;
    }
}

@media only screen and (max-width: 1875px) {
    h1 {
      font-size: 6rem;
      margin: 40px auto;
      line-height: 1.1em;
    }
    .alfagomma-logo {
      width: 70%;
    }
    .hose-image {
      top: -50px;
      width: 90%;
    }
    .top p {
      font-size: 1.5rem;
    }
    h2.red-header {
      font-size: 2.75rem;
    }
    .padding-10 {
      padding: 0 7%;
    }
    .margin-10 {
      margin: 0 7%;
    }
    .top {
      padding-top: 150px;
    }
}
@media only screen and (max-width: 1610px) {
  .hose-image {
      top: -30px;
  }
  .top {
      padding-top: 30px;
  }
  ul.button-links li span {
    font-size: 2rem;
  }
}
/* @media screen and (max-width: 1610px) and (max-height: 820px) {
  .hose-image img {
      top: -40px;
  }
} */
@media only screen and (max-width: 1494px) {
  h1 {
    margin: 20px auto;
  }
  .hose-image {
      top: 10px;
  }

}
@media only screen and (max-width: 1400px) {
    header {
        padding-top: 90px;
    }
    .top p {
      font-size: 1.3rem;
    }
    h2.red-header {
      font-size: 2.4rem;
    }
    ul.button-links li span {
        font-size: 1.5rem;
    }
    form.fancy-form label {
     color: white;
    }
    .padding-10 {
      padding: 0 5%;
    }
    .margin-10 {
      margin: 0 5%;
    }
}
@media only screen and (max-width: 1250px) {
    h2.red-header {
      font-size: 1.9rem;
    }
    form.fancy-form label {
      font-size: 1.1rem;
    }
}
@media only screen and (max-width: 1120px) {
  h1 {
    font-size: 5rem;
  }
  .alfagomma-logo {
      width: 80%;
  }
  .title-wrap {
    grid-template-rows: 290px 140px;
  }
  .title-wrap p img {
      width: 350px;
  }
  .title-wrap p {
    font-size: 2rem;
  }
  ul.button-links {
    flex-flow: column wrap;
    justify-content: flex-start;
    margin: 0;
  }
  ul.button-links li:first-of-type {
      width: 75%;
  }
  ul.button-links li:last-of-type {
      width: 50%;
  }
  ul.button-links li a {
    min-height: auto;
    margin: 20px 0 40px 0;
  }
  ul.button-links li span {
      font-size: 2rem;
  }
}
@media only screen and (max-width: 1015px) {
    .form h2.red-header {
      margin-top: 25px;
    }
}
@media only screen and (max-width: 930px) {
  .padding-10 {
      padding: 0 3%;
  }
  .margin-10 {
    margin: 0 3%;
  }
}

@media only screen and (max-width: 890px) {
    .span_1_of_12, .span_2_of_12, .span_3_of_12, .span_4_of_12, .span_5_of_12, .span_6_of_12, .span_7_of_12, .span_8_of_12, .span_9_of_12, .span_10_of_12, .span_11_of_12, .span_12_of_12 {
    width: 100%;
    }
    .alfagomma-logo {
        width: 50%;
    }
    .title-wrap {
      grid-template-rows: 180px 120px 280px;
    }
    h1 {
      grid-area: 1 / 1 / 2 / 3;
      line-height: 0.95em;
    }
    .title-wrap p {
      grid-area: 2 / 1 / 3 / 3;
    }
    .hose-image {
      grid-area: 3 / 1 / 4 / 3;
      transform: rotate(90deg);
      width: 25%;
      top:0;
      margin: 0 auto;
    }
    .top {
      flex-flow: column wrap;
    }
    div.form {
        padding: 0;
      }
    footer {
        flex-flow: column wrap;
        align-content: center;
    }
    footer img.thomasnet {
      width: 150px;
      margin: 0 auto;
      float: none;
    }
}
@media only screen and (max-width: 655px) {
    header {
         padding-top: 30px;
     }
     .alfagomma-logo {
         margin-bottom: 30px;
     }
    .title-wrap {
      grid-template-rows: 245px 120px 230px;
    }
    footer img.thomasnet {
      width: 25%;
    }
}
@media only screen and (max-width: 530px) {
    .alfagomma-logo {
        width: 70%;
      }
    .title-wrap {
      grid-template-rows: 205px 120px 180px;
    }
    h1 {
        font-size: 4rem;
    }
    .title-wrap p img {
        width: 300px;
    }
    .title-wrap p {
        font-size: 1.5rem;
    }
    .top.padding-10 {
        padding: 0 5%;
    }
    ul.button-links li span {
        font-size: 1.7rem;
    }
    footer div.address {
        font-size: 90%;
    }
}
@media only screen and (max-width: 481px) {
 ul.button-links li:first-of-type {
    width: 90%;
  }
}

@media only screen and (max-width: 411px) {
    .title-wrap {
        grid-template-rows: 260px 110px 160px;
      }
}
@media only screen and (max-width: 392px) {
    h1 {
        font-size: 3.4rem;
      }
    .title-wrap {
        grid-template-rows: 180px 110px 160px;
      }
     .title-wrap p img {
          width: 250px;
     }
}

