@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;
  --KOA-blue: #0055a5;
  --midnight-blue: #003479;
  --font-size: 1em;
  --piranhaflex: #e68044;
  --alfagomma: #ed253e;
}
body {
    background: url(/img/bg.webp) no-repeat;
    background-size: 100%;
    font-size: 100%;
}
.wrapper {
    margin: 0 auto;
    max-width: 1500px;
}
.contact {
	border: 1px solid var(--KOA-blue);
    height: 46px;
    padding: 10px 3.3%;
    color: #0056a5;
    font: 400 1.1em / 1.4375em var(--font-stack);
    margin: 0 0 2.5% 0;
    box-sizing: border-box;
}
header {
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 50px;
}
header h1 {
  margin: 45px auto 50px auto;
  width: 70%;
}
header h2 {
	font: normal normal 325%/1em var(--condensed);
	background-color: black;
	width: 100%;
	padding: 13px 0;
  color: white;
  margin: 5px auto;
  box-sizing: border-box;
}
main {
  margin: 20px 0;
  z-index: 200;
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-rows: minmax(300px, auto);
  grid-template-columns: 58% 33%;
  grid-gap: 50px 8%;
}
.thanks main {
  grid-template-columns: 58% 40%;
}
.cell1 {
  grid-area: 1 / 1 / 3 / 2;
}
.cell2 {
  grid-area: 1 / 2 / 2 / 3;
}
.cell3 {
  grid-area: 2 / 2 / 3 / 3;
}
a.catalog:link {
  text-underline: none;
}
.catalog {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 30px;
}
.thanks .catalog {
  margin-bottom: 60px;
}
.catalog img {
  width: 90%;
  max-width: 800px;
  rotate: 6.15deg;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.35)
}
.catalog button {
  width: 100%;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 50%;
  background-color: rgba(255,255,255,0.85);
  color: var(--KOA-blue);
  font: normal bold 300%/1.4em var(--condensed);
  padding: 10px 0;
  border: 1px solid var(--midnight-blue);
}
.catalog:hover button {
  background-color: var(--KOA-blue);
  color: white;
}
h1 {
    margin: 0 0 0.1em 0;
}
.form h3 {
  width: 100%;
  background: none;
  font: normal bold 210%/1.1em var(--condensed);
  color: black;
  border-bottom: 8px solid var(--KOA-blue);
  padding: 0 0 10px 0;
  margin: 0 0 5px 0;
}
h3 {
    color: var(--KOA-blue);
    font-size: 1.35em;
}
h4 {
  color: var(--KOA-blue);
    font-size: 1.2em;
    margin-bottom: 10px;
    clear: both;
}
h4 em, h5 em {
    display: block;
    font-style: italic;
    color: var(--KOA-blue);
}
p {
    color: #000;
    font-size: 1.5em;
    line-height: 1.4em;
    margin: 0 0 24px 0;
    padding-right: 20px;
}
.form p {
  margin-bottom: 6px;
}
a:link, a:visited {
    color: #369;
    text-decoration: underline;
}
a:hover, a:active {
    color: #0B67BD;
    text-decoration: none;
}
main ul {
  font-size: 180%;
  margin-top: 0;
}
main li {
  margin-bottom: 20px;
}
section {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
  margin-top: 45px;
}
section div {
  margin: 10px 0;
  border: 1px solid black;
  border-top: 0 none;
  text-align: center;
  width: 47%;
  height: 47%;
  position: relative;
  overflow-x: clip;
  min-height: 401px;
  margin-bottom: 50px;
}
section div img {
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}
section h2 {
  margin: 0;
  position: relative;
  /*width: 102%;*/
  top: -32px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
section h2.long img {
  width: 83%;
}
section h2.long hr {
  width: 7%;
}
section h2 img {
  width: 67%;
}
section h2 hr {
  width: 14.4%;
}
section div.alfagomma {
  background: url(img/bg-alfagomma.webp) right bottom no-repeat;
  background-size: contain;
}
section div.alfagomma,
section div.alfagomma hr {
	border-color: var(--alfagomma);
}
/*section div.alfagomma h2 {
    top: -16px;
    left: -3px;
}*/
section div.piranhaflex {
  background: url(img/bg-piranhaflex.webp) right center no-repeat;
  background-size: contain;
}
section div.piranhaflex,
section div.piranhaflex hr {
	border-color: var(--piranhaflex);
}
/*section div.piranhaflex h2 {
    top: -24px;
    left: -2px;
}*/
section div.kuricrimp {
  background: url(img/bg-kuricrimp.webp) center center no-repeat;
  background-size: contain;
}
section div.kuricrimp,
section div.kuricrimp hr {
	border-color: var(--KOA-blue);
}
section div.argus {
  background: url(img/bg-argus.webp) center center no-repeat;
  background-size: contain;
}
section div.argus,
section div.argus hr {
  border-color: black;
}
section div.argus h2 img {
  width: 67%;
  padding: 0 4% 0 0;
  margin-bottom: 20px;
}
section button {
  position: absolute;
  top: 80%;
  width: 76%;
  padding: 8px;
  margin-left: 12%;
  background-color: rgba(255,255,255, 0.7);
  font: normal 700 185%/1em var(--condensed);
  z-index: 10;
}
section .alfagomma button {
  border: 1px solid var(--alfagomma);
  color: var(--alfagomma);
}
section .alfagomma a:hover button {
  background-color: var(--alfagomma);
  color: white;
}
section .piranhaflex button {
  border: 1px solid var(--piranhaflex);
  color: var(--piranhaflex);
}
section .piranhaflex a:hover button {
  background-color: var(--piranhaflex);
  color: white;
}
section .kuricrimp button {
  border: 1px solid var(--KOA-blue);
  color: var(--KOA-blue);
}
section .kuricrimp a:hover button {
  background-color: var(--KOA-blue);
  color: white;
}
section .argus button {
  border: 1px solid black;
  color: black;
}
section .argus a:hover button {
  background-color: black;
  color: white;
}
a.button:link,
a.button:visited {
  padding: 8px 0;
  background-color: var(--KOA-blue);
  color: white;
  font-weight: 700;
  text-align: center;
  width: 200px;
  font-size: 200%;
  border: 1px solid var(--KOA-blue);
  text-decoration: none;
}
a.button:hover,
a.button:active {
  border: 1px solid var(--KOA-blue);
  color: var(--KOA-blue);
  outline: 0 none;
  background-color: transparent;
}

a.button {
  display: block;
}
img.left {
    margin: 0 1.5% 10px 0;
}
img.small {
    width: 40%;
}
img.medium {
    width: 60%;
}
main h1 img {
  width: auto;
  position: relative;
  top: -13px;
}
.span_12_of_12>img.left {
    margin-bottom: 35px;
}
a.back {
    font-size: 70%;
    font-weight: normal;
    margin: 3px 8px 0 0;
}
a.back:link, a.back:visited, a.back:hover {
    color: #FFF;
    text-decoration: none;
}
p.center {
  text-align: center;
}
.contact-footer {
    padding: 10px 3.3%;
    border: 1px solid var(--KOA-blue);
    border-left: 0 none;
    border-right: 0 none;
    background-color: transparent;
    color: #0056a5;
    font: 400 1.1em / 1.4375em 'Source Sans Pro';
    box-sizing: border-box;
}
footer {
  background-color: transparent;
  margin: 0 auto;
}
.catalog footer.section {
  margin-top: 49px;
}

/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 1.7.13 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2018, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/

html.with-featherlight {
  /* disable global scrolling when featherlights are visible */
  overflow: hidden;
}

.featherlight {
  display: none;

  /* dimensions: spanning the background from edge to edge */
  position:fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2147483647; /* z-index needs to be >= elements on the site. */

  /* position: centering content */
  text-align: center;

  /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
  white-space: nowrap;

  /* styling */
  cursor: pointer;
  background: #333;
  /* IE8 "hack" for nested featherlights */
  background: rgba(0, 0, 0, 0);
}

/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
.featherlight:last-of-type {
  background: rgba(0, 87, 164, 0.6);
}

.featherlight:before {
  /* position: trick to center content vertically */
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.featherlight .featherlight-content video {
  width: auto;
  height: 100%
}
.featherlight .featherlight-content {
  position: relative;
  text-align: center;
  vertical-align: middle;
  display: inline-block;
  overflow: auto;
  padding: 25px 75px 0;
  border-bottom: 25px solid transparent;
  margin-left: 5%;
  margin-right: 5%;
  height: auto;
  max-height:600px;
  background: #fff;
  cursor: auto;
  white-space: normal;
  width: 70%;
}
.featherlight-loading .featherlight-content {
  height: 200px;
  background: #fff url('img/loading.gif') center center no-repeat;
}
.featherlight.small .featherlight-content {
  width: 50%;
}
.featherlight-content img {
  width: auto;
  margin: 10px auto;
}
.featherlight-content .col img {
  width: 100%;
}
.featherlight-content a.button {
  margin: 20px auto;
}
.featherlight-content p,
.featherlight-content ul {
  font-size: 125%;
  line-height: 1.5em;
  text-align: left;
}

/* contains the content */
.featherlight .featherlight-inner {
  /* make sure its visible */
  display: block;
}

/* don't show these though */
.featherlight script.featherlight-inner,
.featherlight link.featherlight-inner,
.featherlight style.featherlight-inner {
  display: none;
}

.featherlight .featherlight-close-icon {
  /* position: centering vertical and horizontal */
  position: absolute;
  z-index: 9999;
  top: 0;
  right: 0;

  /* dimensions: 25px x 25px */
  line-height: 25px;
  width: 25px;

  /* styling */
  cursor: pointer;
  text-align: center;
  font-family: Arial, sans-serif;
  background: #fff; /* Set the background in case it overlaps the content */
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  border: none;
  padding: 0;
}

/* See http://stackoverflow.com/questions/16077341/how-to-reset-all-default-styles-of-the-html5-button-element */
.featherlight .featherlight-close-icon::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.featherlight .featherlight-image {
  /* styling */
  width: 100%;
}
.featherlight .featherlight-content img {
  width: 75%;
  margin: 10px auto 40px auto;
}

.featherlight-iframe .featherlight-content {
  /* removed the border for image croping since iframe is edge to edge */
  border-bottom: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.featherlight iframe {
  /* styling */
  border: none;
}

.featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
  .featherlight .featherlight-content {
    margin-left: 0;
    margin-right: 0;
    max-height: 98%;
    width: 95%;
    padding: 10px 10px 0;
    border-bottom: 10px solid transparent;
    padding: 25px 25px 0;
  }
  .featherlight .featherlight-content img {
    width: 90%;
    margin: 10px auto;
  }
}

/* hide non featherlight items when printing */
@media print {
  html.with-featherlight > * > :not(.featherlight) {
    display: none;
  }
}


/* ==========================================================================
   Media Queries
   - MIN 320 PIXELS
   - MAX WRAPPER WIDTH IS 1500
   ========================================================================== */

@media screen and (min-width: 320px) {
    body {
        font-size: 80%;
    }
    .wrapper.span_10_of_12 {
        width: 100%;
    }
    .wrapper {
      border: 0 none;
    }
    main h1 {
      margin-top: 0;
      height: 180px;
    }
    main h1 img {
      width: 80%;
      height: auto;
      top: -12px;
    }
    div.catalog a {
      padding-left: 0;
    }
    .text div.span_5_of_12,
    div.span_5_of_12.form {
      margin-left: 0;
    }
    .mobileonly {
        display: inline-block;
    }
    .section.group.featured p:first-child {
        margin-top: 0;
    }
    .contact {
      height: auto;
      text-align: center;
    }
    a.button:link,
    a.button:visited,
    a.button:hover,
    a.button:active {
      width: 90%;
      margin-bottom: 15px;
    }
    div.form {
      padding: 0 15px;
    }
    div.row.half {
    width: 100%;
    float: none;
    clear: none;
  }
  .buttons {
    margin-left: 0;
  }
}
@media screen and (min-width: 400px) {
    .slicknav_menu {
      top:49px;
  	}
    main h1 img {
      width: 70%;
    }
}
@media screen and (min-width: 530px) {
    main h1 img {
      width: 300px;
      height: auto;
    }
    h2 {
      font-size: 2em;
    }
    .video h3 {
      font-size: 2.5em;
    }
}
/* ==========================================================================
   END PHONE
   ========================================================================== */
@media screen and (min-width: 720px) {
    body {
      font-size: 90%;
    }
    .wrapper.span_10_of_12.main {
        position: relative;
    }
    .main {
        padding-top: 84px;
    }
    a.button {
      width: 50%;
    }
    main h1 {
      height: auto;
    }
    main h1 img {
      top: -18px;
    }
}
@media screen and (min-width: 830px) {
    body {
        font-size: 100%;
    }
}
/* ==========================================================================
   END TABLET - OLD VALUE WAS 920px
   ========================================================================== */
@media screen and (min-width: 980px) {
    .wrapper.span_10_of_12 {
        width: 90%;
    }
    .main {
      padding-top: 84px;
    }
}
@media screen and (min-width: 1025px) {
    .mobileonly {
        display: none;
    }
}
@media screen and (min-width: 1100px) {
    a.button:link,
    a.button:visited,
    a.button:hover,
    a.button:active {
      width: 80%;
    }
    .contact {
      text-align: left;
    }
}
@media screen and (min-width: 1245px) {
    .wrapper.span_10_of_12 {
        width: 83.06%;
    }
}
@media screen and (min-width: 1330px) {
    .visible-sm {
      display: none;
    }
    a.button:link,
    a.button:visited,
    a.button:hover,
    a.button:active {
      width: 65%;
    }
}

@media screen and (max-width: 3002px) {
  main h1 img {
    width: 320px;
  }
}
@media screen and (max-width: 1785px) {
  section div {
   height: 400px;
   min-height: auto;
  }
}
@media screen and (max-width: 1546px) {
    section div {
      height: 360px;
    }
    p {
        font-size: 1.45em;
      }
    header h2 {
      font-size: 230%;
    }
    header h1 {
      width: 80%;
    }
    main ul {
      font-size: 150%;
    }
}

@media screen and (max-width: 1443px) {
    p {
      font-size: 1.35em;
    }
    .video h3 {
      font-size: 2em;
    }
    .video h4 {
      font-size: 1.9em;
    }
}
@media screen and (max-width: 1420px) {
    header h2 {
      font-size: 200%;
    }
    .main {
      padding-top: 84px;
    }
}
@media screen and (max-width: 1315px) {
    p {
      font-size: 1.2em;
    }
}
@media screen and (max-width: 1146px) {
    .catalog button {
      font-size: 250%;
      padding: 6px 0;
    }
    section div {
      height: 300px;
    }
}

@media screen and (max-width: 1097px) {
  section div {
    height: 280px;
  }
  section button {
    width: 90%;
    margin-left: 5%;
  }
    p {
      font-size: 1.1em;
    }
}

@media screen and (max-width: 1022px) {
    main ul {
     font-size: 130%;
     padding-left: 30px;
    }
}

@media screen and (max-width: 1002px) {
    main {
      grid-template-columns: 48% 48%;
      grid-gap: 50px 3%;
    }
    .cell1 {
      grid-area: 1 / 1 / 2 / 3;
    }
    .cell2 {
      grid-area: 2 / 1 / 3 / 2;
    }
    .cell3 {
      grid-area: 2 / 2 / 3 / 3;
    }
    section div {
      height: 390px;
    }
    p {
      font-size: 1em;
    }
}
@media screen and (max-width: 980px) {
  main {
    padding: 0 2%;
  }
}
@media screen and (max-width: 910px) {
    section div {
      height: 340px;
    }
    section div.alfagomma,
    section div.piranhaflex,
    section div.kuricrimp,
    section div.argus {
      background-size: 90%;
    }
}
@media screen and (max-width: 830px) {
  section div {
    height: 310px;
  }
}
@media screen and (max-width: 750px) {
  .main {
      padding-top: 45px;
    }
    header h1 {
      width: 90%;
      margin: 35px auto 25px auto;
    }
    main ul {
      font-size: 125%;
        padding-left: 20px;
    }
    section div {
      height: 280px;
    }
    p {
    font-size: 1.1em;
  }
  .text {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 720px) {
  header {
    margin-bottom: 20px;
  }
  header h2 {
    padding: 13px;
  }
    .text div:nth-child(2) img {
      width: 92%;
      margin: 0 auto;
    }
    .text div:nth-child(2) {
      text-align: center;
    }
    p {
      font-size: 1.5em;
    }
  }
@media screen and (max-width: 600px) {
  main {
    grid-template-columns: 98%;
    grid-template-rows: minmax(450px, auto);
    grid-gap: 20px 0;
  }
  .thanks main {
    grid-template-columns: 98%;
    grid-template-rows: minmax(200px, auto);
  }
  section div {
    height: 235px;
  }
  section button {
    top: 75%;
  }
  section h2,
  section div.kuricrimp h2 {
    top: -28px;
  }
  section div.argus h2 {
    top: -38px;
  }
  .cell2 {
    grid-area: 2 / 1 / 3 / 2;
  }
  .cell3 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .catalog {
    width: 60%;
    margin: 10px auto 25px auto;
  }
}
@media screen and (max-width: 480px) {
  section div {
    width: 90%;
    height: 380px;
    margin: 0 auto 50px auto;
  }
  section div.argus {
    margin-bottom: 5px;
  }
  section h2, section div.kuricrimp h2 {
    top: -29px;
  }
  section div.argus h2 {
    top: -39px;
  }
}
@media screen and (max-width: 420px) {
  p {
    width: 90%;
    margin: 0 0 0 5%;
  }
  section div {
    height: 310px;
  }
}
