/*
Theme Name: Vokslyte 2022
Theme URI: http://maxkukoy.com
Version: 1.13
Author: Max Kukoy
Author URI: http://maxkukoy.com/
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/* RESET CSS */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* WordPress Required Styles */

:root {
  --dkgrey: #444444;
  --logodkgrey: #696a69;
  --logoltgrey: #b5b6b4;
  --logoblue: #718f9e;
  --offwhite: #f3f3f3;
  --dkgrey333: #333333;
  --black: #000000;
  --productwidth: 350px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
.alignright.wp-post-image {
  margin: 2rem 0 2rem 2rem;
}
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
/* Basic CSS */

html {
  font-size: 62.5%;
}
body {
  font-size: 1.8rem;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.4;
}
h1 {
  font-size: 4rem;
  font-weight: 300;
  display: block;
  color: var(--black);
  margin: 0 0 2rem 0;
  position: relative;
}
#main h1 {
  display: none;
}
.darkback h1,
.darkback h2 {
  color: #fff;
  margin-bottom: 0;
}
.darkback .onebox h1,
.darkback .oneproduct h2 {
  color: var(--black);
  padding-bottom: 1rem;
}
.producthd h2 {
  font-weight: 400;
}
.darkback .oneproduct h2 {
  padding-bottom: 0rem;
  line-height: 1;
}
.oneproduct h2 span {
  display: block;
}
.darkback p {
  color: #fff;
}
.banner h1 {
  margin: 0;
}

.entry {
  position: relative;
}
h2 {
  display: block;
  font-size: 3rem;
  font-weight: 300;
}
h1 + h2 {
  font-size: 2.5rem;
  font-weight: 400;
}
h3 {
  display: block;
  font-size: 2.4rem;
  font-weight: 400;
  margin: 1rem 0 0 0;
  color: #7a98ab;
}
.page-template-page-homealt .cols-2 h3,
.home .cols-2 h3 {
  border-top: 1px solid #979696;
  padding-top: 1rem;
}
p {
  font-size: 1.8rem;
  padding: 1rem 0;
  margin: 0;
  color: #707270;
  line-height: 1.6;
}
p.limitwidth {
  max-width: 600px;
}
.entry > p:first-child {
  padding-top: 0;
}
em {
  font-style: italic;
}
strong {
  font-weight: 700;
}
.outer {
  padding: 50px 0;
  position: relative;
  background: #fff;
}
.home .outer {
  padding: 50px 0;
}
.outer.banner {
  position: relative;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: #fff;
  padding: 0;
  border-bottom: 1px solid #444444;
}
.outer.slides {
  padding: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}
.outer.slidesspacer {
  position: relative;
  min-height: 800px;
  background: transparent;
  z-index: 0;
}
.slidesshapesarea {
  background: var(--dkgrey333);
  position: absolute;
  left: 0;
  top: 0;
  max-height: 800px;
  z-index: 1000;
}

.outer.footer {
  background: #5b5a5a;
  background: #444444;
  padding: 25px 0;
}

.outer.quotes,
.outer.video,
.outer.creativityblock,
.outer.footer,
.outer.contactblock {
  z-index: 1005;
  width: auto;
}
.outer.bigimg {
  position: relative;
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1001;
}
.innerwrap.yessb {
  display: block;
}
.innerwrap.nosb {
  max-width: 1400px;
}
.page article {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
article + aside {
  padding-left: 0px;
}
.page .yessb > article > * {
  padding-right: 40px;
}
.single article {
  max-width: 1200px;
  margin: 0 auto;
}
.products .innerwrap {
  max-width: 100%;
}
.products .innerwrap article {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;

  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 350px));
  padding-bottom: 100px;
  column-gap: 25px;
  row-gap: 25px;
}
@media only screen and (max-width: 925px) {
  .products .innerwrap article {
    grid-template-columns: repeat(2, minmax(200px, 350px));
  }
}
@media only screen and (max-width: 925px) {
  .products .innerwrap article {
    grid-template-columns: repeat(2, minmax(175px, 300px));
  }
}
@media only screen and (max-width: 767px) {
  .products .innerwrap article {
    grid-template-columns: repeat(1, minmax(175px, 300px));
  }
}
.producthd {
  min-height: 250px;
}
.oneproduct {
  padding: 0;
  margin: 0;
  cursor: pointer;
  max-width: var(--productwidth);
  min-width: 200px;
}
.oneproduct p {
  color: #000;
  line-height: 1.2;
  padding: 0.5rem 0 0.5rem 0;
  font-size: 1.9rem;
}
.oneproduct p.downloadcatalog {
  padding-top: 1rem;
}
.downloadcatalog a:link,
.downloadcatalog a:visited {
  display: block;
  color: #000;
  transition: all 0.3s linear;
}
.downloadcatalog a:hover,
.downloadcatalog a:active {
  color: #fff;
}

.oneproduct h3 {
  color: var(--dkgrey333);
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
}
span.productimg {
  display: block;
  position: relative;
  max-width: var(--productwidth);
  height: auto;
  border: 1px solid var(--dkgrey333);
}
span.productimg img {
  object-fit: cover;
  display: block;
  height: initial;
  width: 100%;
  height: 100%;
}
.page-id-26848 #main .outer,
#main .outer.darkback,
.page-id-8 #main .outer {
  background: #939191;
  background: #b5b6b4;
}
.page-id-8 #main h1 {
  color: #fff;
}
.page-template-page-gallery #main h1 {
  margin-left: 10px;
  text-align: center;
  display: none;
}
#main {
  position: relative;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.banner .container {
  display: grid;
  grid-template-columns: minmax(375px, 25%) 1fr;
  padding: 20px 0;
  position: relative;
}
#sidebar {
  margin-top: 125px;
}
figure {
  margin-bottom: 4rem;
}
figure img {
  border: 1px solid #707270;
}
figcaption {
  font-size: 1.4rem;
  color: #707270;
}
figcaption .imgtitle {
  display: block;
}
a:link,
a:visited {
  color: #2ea3f2;
  text-decoration: none;
  transition: all 0.3s linear;
  word-wrap: break-word;
}
a:active,
a:hover {
  color: #000;
}
/* Logo */
h1.logo {
  padding-left: 20px;
}
.logoarea {
  position: relative;
}
.tagline {
  font-size: 1.8rem;
  font-weight: 300;
  position: absolute;
  bottom: 20px;
  right: 18px;
  color: #696a69;
}
/* Nav Menu */
nav#primarynav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
ul#menu-main {
  padding-right: 20px;
}
nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 0 0 0;
  text-align: right;
  font-size: 1.8rem;
  font-weight: 400;
}
nav ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
  position: relative;
}
nav a:link,
nav a:visited {
  color: rgba(0, 0, 0, 0.8);
  display: block;
  padding: 5px 0px;
  margin: 0 10px;
}
nav a:active,
nav a:hover {
  color: #2e7bab;
}
nav li.current-menu-item a {
  color: var(--logoblue);
  border-bottom: 1px solid var(--logoblue);
}
/*
nav li.newbanner span.pulse {
  position: absolute;
  top: -25px;
  left: 25px;
}
nav li.newbanner span:after {
  content: url("/wp-content/themes/Voks-2022/images/newbanner50px.webp");
  width: 50px;
  height: 34px;
  position: relative;
  object-fit: contain;
}
  */
:root {
  --circlesize: 25px;
}
nav li.newitem span.pulse::after {
  content: "NEW";
  display: block;
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  line-height: var(--circlesize);
  width: var(--circlesize);
  text-align: center;
}

nav li.newitem .pulse {
  position: absolute;
  display: block;
  background: rgb(244, 30, 11);
  border-radius: 50%;
  height: var(--circlesize);
  width: var(--circlesize);
  box-shadow: 0 0 0 0 rgba(222, 84, 72, 1);
  transform: scale(1);
  animation: pulse 4s infinite;
  top: -20px;
  left: calc(50% - (var(--circlesize) / 2));
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 84, 72, 0.7);
  }

  20% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(222, 84, 72, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 84, 72, 0);
  }
}

.innerwrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}
article {
  position: relative;
}
.social {
  margin-top: 1.5rem;
  display: block;
}
.social span {
  margin: 10px 5px 0 5px;
}
/* Home Page */

.cycle-pager {
  position: absolute;
  z-index: 100000 !important;
  top: 30px;
  right: 0;
  left: 0;
  visibility: visible !important;
  text-align: center;
  opacity: 0.75;
}
.cycle-pager span {
  width: 25px;
  height: 25px;
  display: inline-block;
  padding: 3px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s linear;
}
.cycle-pager span:hover {
  color: #666;
}
.cycle-pager span.cycle-pager-active {
  color: var(--dkgrey333);
}
.cycle-next,
.cycle-prev {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1000;
  cursor: pointer;
  display: block;
  border: 0px solid #fff;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: opacity 0.2s linear;
}
.cycle-prev {
  left: 0;
}
.cycle-next {
  right: 0;
}
.cycle-prev span {
  width: 25px;
  height: 25px;
  right: 50%;
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  border: 0px solid #fff;
  display: block;
}
.cycle-prev span::before {
  content: "\2794";
  color: #fff;
  font-size: 25px;
  transform: rotate(180deg);
  position: absolute;
}
.cycle-next span {
  width: 25px;
  height: 25px;
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0px solid #fff;
  display: block;
}

.cycle-next span::after {
  content: "\2794";
  color: #fff;
  font-size: 25px;
  position: absolute;
}
.cycle-next:hover,
.cycle-prev:hover {
  cursor: pointer;
  opacity: 1;
}
.oneslide {
  width: 100%;
  min-height: 600px;
  display: block;
}
.oneslide img {
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 800px;
  object-position: center center;
}

span.slideoverlay {
  display: block;
  position: absolute;
  opacity: 0;
  font-weight: 200;
  font-size: 35px;
  color: #fff;
  z-index: 100;
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 50px;
  border: 1px solid var(--dkgrey333);
  text-align: center;
  line-height: 1.2;
  text-shadow: 1px 1px 3px var(--dkgrey333);
  top: 50%;
  left: 50%;
  transform: translate(-50%, 75%);
}

@keyframes fadeinout {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  45%,
  85% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}

span.slideoverlay span {
  display: block;
  font-size: 25px;
  margin-top: 1rem;
}

.cycle-slide-active span.slideoverlay {
  opacity: 1;
  -webkit-animation: fadeinout 5s linear forwards;
  animation: fadeinout 5s linear forwards;
}

.page-template-page-homealt p,
.home p {
  font-size: 2rem;
  text-align: justify;
  line-height: 1.6;
}
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 25px 0;
}
.cols-2.leftwidth66 {
  grid-template-columns: 66.666% 33.333%;
}
.cols-2.leftwidth33 {
  grid-template-columns: 33.333% 66.666% 33.333%;
}
.page-template-page-homealt .cols-2 p,
.home .cols-2 p {
  font-size: 1.8rem;
  line-height: 1.5;
}
.vidblock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 25px;
  row-gap: 25px;
}
.onevid {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.onevid iframe,
.onevid object,
.onevid embed,
.onevid video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.leftcol {
  padding-right: 25px;
}
.rightcol {
  padding-left: 25px;
}
.rightcol p:first-child {
  padding-top: 0;
}
.cols-2 h3 + p {
  text-align: left;
}
.creativityblock {
  background: var(--dkgrey333);
  padding: 35px;
  background: #333333; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #333333 0%,
    #403e3e 15%,
    #5b5a5a 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #333333 0%,
    #403e3e 15%,
    #5b5a5a 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #333333 0%,
    #403e3e 15%,
    #5b5a5a 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.creativityblock h2 {
  text-align: center;
  color: #fff;
  font-size: 6rem;
  padding-bottom: 1rem;
}
.creativityblock h3 {
  text-align: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 400;
  margin: 0 0 1rem 0;
}
.creativityblock p {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
}

.oneshape {
  text-align: center;
  border-bottom: 1px solid #fff;
  padding: 1rem 2rem;
  margin: 10px;
}
.slidesshapesarea .oneshape {
  border: 0;
  padding: 0;
}
.slidesshapesarea .oneshape:nth-of-type(1),
.slidesshapesarea .oneshape:nth-of-type(2),
.slidesshapesarea .oneshape:nth-of-type(3) {
  border: 0;
}

.oneshape:nth-of-type(1),
.oneshape:nth-of-type(2),
.oneshape:nth-of-type(3) {
  border-top: 1px solid #fff;
}

.shapetitle {
  color: #fff;
  font-weight: 500;
  font-size: 2rem;
  padding: 1rem 0;
  display: block;
  letter-spacing: 1px;
}
.shapesarea {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.shapeimg {
  max-width: 125px;
  display: block;
  margin: 0 auto;
  position: relative;
}
.slidesshapesarea .shapeimg {
  max-width: 70px;
}
.shapedesc p {
  color: #fff;
  line-height: 1.4;
  font-size: 1.8rem;
  text-align: center;
}
.outer.contactblock {
  background: #65baf2;
  padding: 50px 0;
}
.contactblock h2 {
  text-align: center;
  color: #fff;
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 300;
  padding-bottom: 2rem;
}
.contactblock p {
  text-align: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 300;
}
a.btn {
  display: inline-block;
  border: 1px solid #fff;
  padding: 20px 30px;
  margin: 0 auto;
  color: #fff;
  font-size: 2rem;
  position: relative;
}
a.btn::after {
  content: ">";
  display: inline;
  position: absolute;
  left: 50%;
  opacity: 0;
  transition: all 0.2s linear;
}
a.btn:hover {
  background: #86c7f4;
}

a.btn:hover::after {
  content: ">";
  left: 100%;
  opacity: 1;
  -moz-transform: translateX(-22px);
  -ms-transform: translateX(-22px);
  -o-transform: translateX(-22px);
  -webkit-transform: translateX(-22px);
  transform: translateX(-22px);
}
span.btnbox {
  display: block;
  text-align: center;
  margin: 2rem 0;
}
/* Footer Styles */

footer {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
footer a:link,
footer a:visited {
  color: #fff;
}
footer a:hover {
  color: #2ea3f2;
}
.companies .clsname {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0;
  padding-bottom: 0;
}
.footer p {
  text-align: center;
  font-size: 1.6rem;
  color: #fff;
  padding-bottom: 0;
}
p.copyright {
  text-align: center;
}
/* Product Pages */
.page-template-page-tangents h2 {
  padding-bottom: 1rem;
}
.darkback article img {
  /*
  border: 1px solid var(--dkgrey333);
  */
}
p + img {
  margin-top: 2rem;
}
.docboxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  margin-top: 30px;
}
.onebox {
  border: 1px solid #444444;
  background: #efefef;
  padding: 25px;
  margin: 0;
  position: relative;
}
.onebox h3 {
  color: var(--dkgrey333);
  font-weight: 400;
  font-size: 2.8rem;
  text-align: center;
}
.onebox p,
.onebox li {
  color: #707270;
}
.onebox ul {
  list-style: disc outside;
  margin: 1rem 2rem;
}
.onebox ul.tagcloud {
  margin-left: 0;
}
ul.lumendisplay {
  margin: 3rem 0 0 0;
  list-style: none;
}
.lumendisplay li {
  display: grid;
  grid-template-columns: 15% 60% 25%;
  text-align: center;
  margin-bottom: 1rem;
  color: #707270;
}

ul.tagcloud {
  text-align: left;
  font-size: 2.4rem;
}
ul.tagcloud li {
  display: inline-block;
  margin: 0.5rem 1rem 0.25rem 1rem;
}
.onebox ul.tagcloud {
  text-align: center;
}
ul.tagcloud li a {
  background: #efefef;
  border: 1px solid #efefef;
  padding: 1px 8px;
  border-radius: 3px;
}
ul.tagcloud li a:hover {
  background: #dddada;
  border: 1px solid var(--dkgrey333);
}
/* Photo GAllery - Cycle plugin Powered */

.photogrid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  justify-content: center;
}
.photogrid .onephoto {
  max-width: 200px;
  max-height: 200px;
  margin: 10px;
}
.photogrid span {
  width: 100%;
  height: 275px;
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--dkgrey333);
}
.photogrid span img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: relative;
}
.lightbox {
  z-index: 100000;
}
.lightboxOverlay {
  width: 100%;
  height: 100%;
  background: var(--dkgrey333);
  opacity: 1;
  z-index: 100000;
}
.lb-dataContainer {
  background: #fefefe;
  color: var(--dkgrey333);
  border-radius: 0;
}
.lb-data .lb-caption {
  font-size: 1.8rem;
  font-weight: 400;
  color: #939191;
  line-height: 1.2;
}
.lightbox .lb-image {
  border-radius: 0;
  border: 4px solid #fff;
  border-bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modalbox {
  position: absolute;
  width: 100%;
  height: 100%;
}
/* The Modal (background) */
.modalbox {
  display: none;
  position: fixed;
  z-index: 999999;
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--dkgrey333);
}
.modalbox.showmodal {
  display: block;
}
/* Modal Content */
.modal-content {
  position: relative;
  background-color: var(--dkgrey333);
  margin: auto;
  padding: 0;
  width: 90%;
  height: 75%;
  max-width: 1600px;
  margin-top: 50px;
  margin-bottom: 50px;
  border: 1px solid red;
  overflow: hidden;
}
.closemodal {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}
.cycle-slideshow {
  width: 100%;
  height: 100%;
  background: var(--dkgrey333);
}
.cycle-slideshow img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.lb-details .imgtitle,
.lb-details .imgdesc {
  display: block;
}
.lb-details .imgdesc p {
  font-size: 1.6rem;
  line-height: 1.2;
}
.imgdesc span {
  display: inline-block;
  font-weight: 600;
}

/* End Photo GAllery - Cycle plugin Powered */

.salesreps {
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.salesreps article {
  border: 1px solid var(--dkgrey333);
  padding: 20px;
}
.salesreps article a {
  overflow-wrap: break-word;
}
.salesreps h3 {
  font-size: 2.4rem;
  text-align: left;
  line-height: 1.2;
}
.wp-block-columns {
  justify-content: center;
}
.blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  grid-column-gap: 25px;
  grid-row-gap: 25px;
}
h1 + ul.casestudies {
  margin-top: 2rem;
}
ul.casestudies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 25px;
  grid-row-gap: 25px;
}
ul.casestudies li {
  background: #efefef;
  padding: 0;
}
span.cscontent {
  display: block;
  padding: 20px;
  font-size: 1.6rem;
}
p.cslink {
  position: absolute;
  bottom: 0rem;
  text-align: center;
  margin: 0 auto;
  transform: translateX(-50%);
  left: 50%;
  text-transform: uppercase;
  font-size: 1.4rem;
  line-height: 1.2;
}
p.cslink a {
  display: block;
}
.casestudies .onebox {
  padding-bottom: 2rem;
}
.onebox span.projth {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
  position: relative;
}
.onebox span.projth img {
  object-fit: cover;
  width: 100%;
  height: 300px;
  position: relative;
  vertical-align: bottom;
}

.onebox .info {
  display: block;
  padding-bottom: 0.5rem;
}
.onebox .info span.lbl {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 400;
}
.onebox .projinfo {
  padding: 20px;
}
.newsimg {
  display: block;
  text-align: center;
}
.newsimg img {
  margin: 0 auto;
}
.single #sidebar {
  margin-top: 0;
}
aside > nav {
  background: #efefef;
  margin: 0 0 0 2rem;
  border: 1px solid var(--dkgrey333);
  padding: 20px;
}
aside > nav .tagcloud li {
  display: block;
}
.darkback aside > nav h2 {
  color: var(--dkgrey333);
  font-size: 2.2rem;
}
ul.tagcloud li.extraspacebelow {
  margin-bottom: 4rem;
}
.nosb + aside#sidebar {
  margin: 0 auto;
  max-width: 1200px;
}
.nosb + aside > nav {
  margin: 25px 0 50px;
}
.nosb + aside > nav h2 {
  margin-left: 2rem;
}

.nosb + aside > nav .tagcloud li {
  display: inline-block;
}
.nosb + aside > nav ul.tagcloud {
  padding-top: 0;
}

.burgericon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 25px;
  height: 16px;
  padding-bottom: 15px;
  display: none;
  z-index: 1000;
}

.burgericon span,
.burgericon span::after,
.burgericon span::before {
  cursor: pointer;
  border-radius: 1px;
  height: 4px;
  width: 25px;
  background: #7a97aa;
  position: absolute;
  display: block;
  content: "";
  transition: all 0.5s ease-in-out;
}
.burgericon span {
  top: 10px;
}
.burgericon span::before {
  top: -10px;
}
.burgericon span::after {
  top: 10px;
}

.burgericon.menuopen span::after,
.burgericon.menuopen span::before {
  top: 0;
}

.burgericon.menuopen span::before {
  opacity: 0;
}
.burgericon.menuopen span {
  transform: rotate(45deg);
  top: 10px;
}
.burgericon.menuopen span::after {
  transform: rotate(-90deg);
  top: 0px;
}
.zipfilesicons > li {
  padding: 0.5rem 0;
}
.shapesimg {
  margin: 0 auto;
  display: block;
  text-align: center;
  background: var(--dkgrey333);
}
.shapesimg img {
  object-fit: contain;
  max-width: 1200px;
  max-height: calc(100vh - 196px);
  height: auto;
  position: relative;
  margin: 0 auto;
  vertical-align: bottom;
}
.page-template-page-shapes #main h1 {
  display: block;
}
.shapescontent {
  display: block;
  max-width: 900px;
  margin: 25px auto;
}

.tallshapes,
.squareshapes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 25px;
  row-gap: 25px;
  justify-content: center;
  margin-bottom: 25px;
}
.tallshapes span,
.squareshapes span {
  display: block;
}
.shapesblock a {
  color: #fff;
}
.squareshapes img {
  max-width: 300px;
  object-fit: contain;
}
.tallshapes img {
  max-width: 250px;
  object-fit: contain;
}
.page-id-27588 #main .darkback,
.page-id-27440 #main .darkback {
  background: var(--dkgrey333);
}
.page-id-27588 #main h1,
.page-id-27440 #main h1 {
  display: block;
  text-align: center;
  margin-bottom: 25px;
}

@media only screen and (min-width: 220px) and (max-width: 1260px) {
  .banner .container {
    /*    grid-template-columns: 35% 65%; */
  }

  .tagline {
    font-size: 1.6rem;
    bottom: 10px;
    right: 10px;
    position: absolute;
  }
}

@media only screen and (min-width: 220px) and (max-width: 1200px) {
  .burgericon {
    display: block;
    z-index: 100000;
  }

  nav li.newitem .pulse {
    display: inline;
    top: auto;
    left: auto;
    margin-left: 5px;
  }

  .innerwrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .outer > footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .slidesshapesarea,
  .outer.slidesspacer,
  .outer.slides,
  .cycle-slideshow {
    height: 600px;
    min-height: 600px;
    padding: 0;
  }
  .slidesshapesarea .shapeimg {
    max-width: 50px;
  }

  .oneslide {
    height: 600px;
    min-height: 600px;
  }
  .oneslide img {
    height: 600px;
    width: 100%;
  }
  span.slideoverlay {
    width: 60%;
  }

  nav#primarynav {
    display: block;
    position: absolute;
    left: -100%;
    top: 100%;
    width: 100%;
    background: #fff;
  }
  ul {
    padding-right: 0;
  }
  nav ul#menu-main {
    display: block;
    margin: 0;
    padding: 0 0 0 0;
    text-align: left;
    font-size: 2rem;
    width: 100%;
    border-top: 1px solid #efefef;
  }
  nav ul li {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  nav a:link,
  nav a:visited {
    color: rgba(0, 0, 0, 0.8);
    display: block;
    padding: 5px 20px;
    border-bottom: 1px solid #efefef;
  }
  nav a:active,
  nav a:hover {
    color: #2e7bab;
  }
  nav ul li.menu-item-has-children > a::after {
    content: "";
    display: none;
  }
  nav ul li ul.sub-menu {
    display: block;
    position: relative;
    text-align: left;
    padding: 0 0 0 10px;
  }
  nav ul li:hover > ul.sub-menu {
    display: block;
    background: #fff;
    border-top: 0px solid #2e7bab;
  }
  nav ul li ul.sub-menu li {
    padding: 0;
  }
  nav li.current-menu-item a {
    border-bottom: 1px solid #efefef;
  }
}

@media only screen and (min-width: 220px) and (max-width: 1000px) {
  nav ul {
    font-size: 1.5rem;
  }
  .tagline {
    font-size: 1.5rem;
    bottom: 10px;
    right: 10px;
  }
}

@media only screen and (min-width: 220px) and (max-width: 899px) {
  .banner .container {
    display: grid;
    grid-template-columns: 100%;
    padding: 20px 0;
  }
  .home .outer.slides {
    padding: 0;
  }
  h1.logo {
    max-width: 400px;
  }
  .tagline {
    font-size: 1.6rem;
    bottom: 10px;
    left: 152px;
  }

  .cols-2.leftwidth66 {
    grid-template-columns: 100%;
    grid-row-gap: 30px;
  }
  .rightcol,
  .leftcol {
    padding: 0;
  }
  .outer.slidesspacer,
  .outer.slides,
  .cycle-slideshow {
    height: 500px;
    min-height: 500px;
    padding: 0;
  }
  .oneslide {
    height: 500px;
    min-height: 500px;
  }
  .oneslide img {
    height: 500px;
    width: 100%;
  }
  .slidesshapesarea {
    height: 500px;
    min-height: 500px;
  }
  .slidesshapesarea .shapeimg {
    max-width: 35px;
  }
  span.slideoverlay {
    width: 60%;
  }

  .photogrid span {
    width: 100%;
    height: 250px;
    display: block;
    border: 0;
  }
  .photogrid span img {
    border: 1px solid var(--dkgrey333);
  }
  .casestudies .onebox {
    padding-bottom: 4rem;
  }
  .docboxes {
    grid-template-columns: 1fr 1fr;
  }
  .salesreps {
    grid-template-columns: 45% 45%;
  }
  .vidblock {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-width: 220px) and (max-width: 767px) {
  .outer {
    padding: 25px 0;
  }
  .innerwrap.yessb {
    display: grid;
    grid-template-columns: 100%;
    box-sizing: border-box;
    padding: 0 20px;
  }
  .innerwrap {
    padding: 0 20px;
  }
  #sidebar {
    margin-top: 25px;
  }
  .companies {
    grid-template-columns: 100%;
  }
  .companies .col {
    padding: 0 20px 30px;
  }
  .products .innerwrap article {
    grid-template-columns: 100%;
    justify-items: center;
    box-sizing: border-box;
    padding: 0;
    padding-bottom: 25px;
  }
  .oneproduct {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .oneproduct p {
    padding-bottom: 1rem;
  }
  .producthd {
    min-height: auto;
  }
  .shapesarea {
    grid-template-columns: 1fr 1fr;
  }
  .oneshape:nth-of-type(3) {
    border-top: 0px solid #fff;
  }

  .photogrid span {
    width: 100%;
    display: block;
    border: 0;
  }
  .photogrid span img {
    border: 1px solid var(--dkgrey333);
  }
}

@media only screen and (max-width: 600px) {
  h1.logo {
    max-width: 200px;
  }
  .tagline {
    font-size: 1.6rem;
    bottom: 10px;
    left: 110px;
  }

  ul.casestudies {
    grid-template-columns: 1fr;
  }
  .casestudies .onebox {
    padding-bottom: 0;
  }
  p.cslink {
    position: relative;
    bottom: auto;
    margin: 0 auto;
    transform: none;
    left: auto;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.4rem;
  }
  ul.tagcloud li {
    margin: 0.5rem 1rem;
  }
  ul.tagcloud {
    margin-top: 1rem;
  }

  .photogrid span {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
  }
  .photogrid span img {
    border: 1px solid var(--dkgrey333);
  }
  .docboxes {
    grid-template-columns: 1fr;
  }
  .salesreps {
    grid-template-columns: 100%;
  }
  .blocks {
    grid-template-columns: 1fr;
  }
  .shapesarea {
    grid-template-columns: 1fr;
  }
  .oneshape:nth-of-type(1),
  .oneshape:nth-of-type(2),
  .oneshape:nth-of-type(3) {
    border-top: 0px solid #fff;
  }
  .contactblock h2 {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 499px) {
  .tagline {
    font-size: 1.1rem;
    bottom: 5px;
  }
  .docboxes {
    grid-template-columns: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 20px;
    margin-top: 20px;
  }
  .cols-2.leftwidth66,
  .shapesarea,
  .blocks,
  .salesreps,
  .photogrid {
    grid-template-columns: 1fr;
    grid-row-gap: 20px;
  }

  p.cslink {
    font-size: 1.3rem;
    position: relative;
    padding-top: 1rem;
    padding-bottom: 0;
  }
  span.lbl {
    display: block;
    margin-top: 1.5rem;
  }
  .nosb + aside > nav .tagcloud li {
    display: block;
  }
  .nosb + aside#sidebar {
    margin: 20px;
  }
  .tagcloud {
    padding-bottom: 1rem;
  }
  h1 {
    font-size: 3rem;
  }
  .cattitle {
    display: block;
  }
  .slideoverlay {
    display: none !important;
  }
  .outer.bigimg {
    display: none;
  }
  .contactblock h2 {
    font-size: 3rem;
  }
  .oneslide {
    height: 300px;
    min-height: 300px;
  }
  .home .outer {
    padding: 25px 0;
  }
  .home .outer.banner {
    padding: 0;
  }
  .onevid {
    width: 100%;
  }
  .rightcol {
    padding: 0;
  }
  .oneshape:nth-of-type(1),
  .oneshape:nth-of-type(2),
  .oneshape:nth-of-type(3) {
    border-top: 0px solid #fff;
  }
}
