/**
 * Theme Name: Startflow Child
 * Template: startflow
 * Version: 1.0
 * Description: Startup and Creative Multipurpose WordPress Theme
 * Author: Ninzio
 **/

/* THIS IS DETECTED BY LIGHTHOUSE AS EVENTUALLY BEING VISIBLE */
body {
    /* default opacity of 1, if animation is not supported */
    opacity: 1;

    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0.01;
    }
    1% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Font Style Changes */
h1 {
  font-size: clamp(6rem, 5.833vw, 7rem);
  line-height: 1em;
}
h2 {
  font-size: clamp(3rem, 3.333vw, 4rem);
  line-height: 1.1em;
}
h3 {
  font-size: clamp(2.5rem, 2.5vw, 3rem);
  line-height: 1.2em;
}
h4 {
  font-size: clamp(2rem, 2.5vw, 2.2rem);
  line-height: 1.2em;
}
h5, h6 {
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.2em;
}
p, table, li, body {
  font-size: clamp(17px, 2.1vw, 19px);
  line-height: 1.5em;
}
.custom-ul ul li:first-child {
  padding-top: 20px !important;
}
li {
  padding-bottom: 20px !important;
}
.environment-font {
  font-size: clamp(3rem, 3.333vw, 4rem) !important;
  line-height: 1em;
}
.square-m {
  font-size: clamp(6rem, 5vw, 5rem) !important;
  font-weight: 500;
  line-height: 1.1em;
}
.uses {
  text-align: left !important;
  max-width: max(150px, 100%, 50%) !important;
}
@media screen and (max-width: 750px) {
  .uses {
    text-align: center !important;
  }
}
/* Main Nav */
#main-nav .sub-menu li a > span {
  padding-right: 20px;
}
/* Mobile Menu Changes */
#main-nav-mobi ul > li > a {
  font-size: clamp(18px, 1.5vw, 18px) !important;
  line-height: 1.5em !important;
  padding-block: 20px !important;
}
#main-nav-mobi ul li {
  padding-block: 0px !important;
}
#main-nav-mobi .arrow {
  font-size: 40px !important;
  line-height: 1em !important;
  padding-block: 12px !important;
}
#main-nav-mobi ul :hover {
  background-color: #1696B3;
}
#main-nav-mobi .menu-item ul {
  background-color: #375172;
}
#main-nav-mobi .menu-item ul :hover {
  background-color: #90A0BA;
}
/* Accordion Changes */
.accordion-heading {
  font-size: clamp(2.3rem, 1.6vw, 2.3rem) !important;
  font-weight: 700;
  line-height: 0.8em !important;
  border-bottom: 2px solid #2C2C67 !important;
  border-radius: 0px !important;
}
.startflow-accordions .accordion-item .accordion-heading > .inner::before {
  font-size: 1.6em !important;
  right: -10px !important;
  top: 0px !important;
}
.body-white {
  color: #fff;
}
.product_image .vc_single_image-wrapper {
  overflow: visible;
  bottom: -125px;
  max-width: clamp(500px, 80%, 1100px);
  position: absolute;
}
.product_image .wpb_single_image {
  padding-top: clamp(12vh, 30%, 35vh);
  padding-bottom: clamp(12vh, 30%, 35vh);
}
/* Colour Swatch Table 4 Columns */
.gridtable, .gridtable3 {
  width: 100%;
  color: #ffffff;
}
.gridtable tr, .gridtable3 tr {
  display: grid;
  grid-gap: 10px !important;
  margin-bottom: 10px !important;
}
@media (min-width: 1000px) {
  .gridtable tr {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .gridtable3 tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 900px) {
  .gridtable tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gridtable3 tr {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .gridtable td, .gridtable3 td {
    padding: 0.5em !important;
    text-align: center;
  }
}
@media screen and (max-width: 650px) {
  .gridtable tr, .gridtable3 tr {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
/* Responsive Table */
table, td {
  border: none !important;
}
.responsive-table {
  width: 100%;
  padding: 8px;
  text-align: left;
  line-height: 1.2em;
}
.responsive-table tr {
  display: grid;
}
@media (min-width: 1000px) {
  .responsive-table tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 999px) {
  .responsive-table tr {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    padding-top: 25px;
  }
  .responsive-table td {
    text-align: center !important;
  }
}
/* Email Contact Form */
.wpcf7-form select, .wpcf7-form textarea, .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="search"] {
  margin-bottom: 1em !important;
  width: 100%;
  font-weight: 600;
}
/* Product Section */
.product-img {
  margin: 0 auto;
  padding-block: clamp(20px, 100%, 50px) !important;
  margin-top: clamp(-150px, 100%, -400px) !important;
  max-width: clamp(350px, 80%, 700px) !important;
}
.button-wrap {
  display: block !important;
  text-align: center;
}

/* Footer Change */
#footer .startflow-container {
  padding-inline: 15px !important;
}
.footer-img {
  width: 70%;
  height: auto;
  padding-top: 25px !important;
}
#footer-widgets .widget.widget_nav_menu ul li {
  padding-block: 10px !important;
  margin: 0px !important;
  border-top: 0px solid #375172;
  border-bottom: 1px solid #375172;
}
.address {
  padding-bottom: 0px;
}
#footer-widgets .widget-title {
  display: none;
}
@media screen and (max-width: 650px) {
  #footer-widgets .widget-title {
    display: block;
    font-size: 2em !important;
    margin: 40px 0 20px 0 !important;
    color: #90A0BA !important;
  }
  .address {
    padding-bottom: 30px;
  }
  #footer-widgets .widget {
    margin: 0 0 0px;
  }
  #footer-widgets .widget.widget_nav_menu ul li:not(:first-child) {
    border-top: 1px solid #375172;
  }
}