/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@0,100..900;1,100..900&display=swap');

/* Color variables */
:root {
  --small-font: .735rem;
  --gray-bg-color: #b0b0b0;
  --bs-gray: #E9E9E8;
  --icon-bg-color: #17619e;
  --primary-color: #244771;
  --secondary-color: #2E69A6;
  --light-secondary-color: #ecf0f4;
  --active-nav-link: #1e376a;
  --btn-gradient: linear-gradient(
    to bottom,
    var(--green-color),
    var(--dark-green-color)
  );
  --widget-gradient: linear-gradient(to bottom, var(--white-color), #f4f7fa);
  --white-color: #fff;
  --black-color: #000;
  --text-white: #fff;
  --light-text: #b1b1b1;
  --link-color: #136075;
  --max-width: 1400px;
  --btn-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  --secondary-border-color: #2176b7;
  --light-secondary-border-color: #c3d4e5;
  --lightgray-border-color: #d5d5d5;
  --max-width: 1400px;
  --main-heading: 35px;
  --sub-heading1: 30px;
  --sub-heading2: 26px;
  --fs-28: 28px;
  --fs-24: 24px;
  --fs-20: 20px;
  --fs-18: 18px;
  --fs-16: 16px;
  --fs-14: 14px;
  --fs-12: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}

.container {
    margin: 0 auto;
}
.fs-12 {
  font-size: var(--fs-12);
}
.fs-14 {
  font-size: var(--fs-14);
}
.fs-16 {
  font-size: var(--fs-16);
}
.fs-18 {
  font-size: var(--fs-18);
}
.fs-20 {
  font-size: var(--fs-20);
}
.fs-24 {
  font-size: var(--fs-24);
}
.fs-28 {
  font-size: var(--fs-28);
}
.small-font {
    font-size: 15px;
}

/* header css */
.offcanvas.offcanvas-end {
    border-left: 0;
}
.navbar-toggle-icon {
    background-color: var(--primary-color);
}
.translate {
    transform: translateX(-12px);
}
.bg-gray {
    background-color: var(--bs-gray);
}
.bg-white {
    background-color: var(--white-color);
}
.primary-bg {
    background-image: linear-gradient(#2B6097, #1C2E4B);
}
.form-control {
    padding: 0.2rem;
}
.navbar-expand-lg .navbar-collapse {
    display: block !important;
}

.nav-li a {
    list-style: none;
    text-decoration: none;
    color: var(--text-white);
    padding: 0px;
    font-size: 18px;
}
.nav-li a:hover {
    text-decoration: underline;
}

.icon-col {
    color: var(--secondary-color);
}
.logo-main {
    transform: translateY(0vw);
    height: 11vw;
}
.logo-main-img {
    max-width: 110px;
}
.logo-hidden-img {
    max-width:120px;
}

.modal-backdrop {
    z-index: 10;
}

.search-bar i {
    left: 9px;
    top: 9px;
    font-size: 14px;
    color: var(--light-text);
}

.nav-menus li a {
    margin: 0px 18px;
}

.internal-heading {
    font-size: 30px;
}

.box-title {
    font-size: 20px;
}

.centered-nav {
    height: 11vw;
}

/* home intro */

.hero-section {
    background-image: url(WacoProducts-Aluminum-Slide-Gate-bw-bg.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 35rem;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .2;
    background: #000;
}

.hero-section .letter-space {
    color: var(--text-white);
    letter-spacing: 3px;
}

.hero-section .z-index {
    z-index: 10;
}

/* home products */

.primary-color {
    color: var(--primary-color);
}

.link-color {
    color: var(--link-color);
}

.gradient-bg {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.main-title {
    font-size: 40px;
    line-height:150%;
}

/* Internal Page */

.container-bg {
    background: #595959;
}

.secondary-color {
    color: var(--secondary-color);
}

.learn-more-btn {
    border: 1px solid var(--secondary-cColor);
}

.card-bg {
    background: linear-gradient(to top, rgb(240, 237, 237), #fff);
}

.social-icon {
    width: 34px;
}

.menu-icon {
    width: 25px;
    margin-right: 0.5rem;
}

.menu-icon, .social-icon {
    height: auto;
}

/* cymcms specific */
.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}
.alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.cymBody { padding: 8px; line-height: 130%; }
.cymBody .cymHeader, .cymSectHeader, .cymArticleHeader, .cymTitle, .cymGalleryHeader, span.cymHeader {
  line-height: 120%;
  font-size:18px;
  font-weight: normal;
}
.cymLabel { color: #666666; }
.cymLabelRequired { color: #666666; }
.cymHelp { color: #777777; font-style: italic; }

#page-content ul {
    margin-top: 10px;
}
#page-content ol {
    margin-top: 10px;
}
#page-content ul li {
    list-style: disc outside none;
    margin-left: 20px;
    line-height: 125%;
    padding-bottom: 6px;
}
#page-content ol li {
    list-style: decimal outside none;
    margin-left: 20px;
    line-height: 125%;
    padding-bottom: 6px;
}
#page-content em,i {
   font-style: italic !important;
}
#page-content strong,b {
   font-weight: bolder !important;
}
#page-content h2 {
  font-size: 26px;
  margin-bottom:16px;
}
#page-content h3 {
  font-size: 22px;
}
#page-content h4 {
  font-size: 20px;
}
#page-content a {
  text-decoration: underline;
  color: var(--link-color);
}

.sidenav {
  list-style: square outside none;
  margin-left: 0;
  line-height: 165%;
  padding-bottom: 6px;
  color: var(--primaary-color);
}
.sidenav a, .sidenav_child a {
  color: var(--black-color);;
  font-weight: 500;
  text-decoration:none;
}
.sidenav a:hover, .sidenav_child a:hover {
  text-decoration:underline;
}
li.sidenav_static, li.sidenav_child_static {
  margin-left: 0px;
  color: var(--black-color);
  font-weight: 700;
  margin-top: 16px;
  list-style-type: none;
}

#gallery-masonry {
  margin: 0 auto;
  width: auto;
}
#gallery-masonry div.item {
  display: block;
  width: 210px;
  background-color: #ffffff;
  padding: 8px;
  margin: 4px;
  opacity: 1;
  -moz-transition: opacity 0.3s ease-in-out;
}
p.cymGalleryCaption {
  font-size: 15px;
  color: #787878;
  font-weight: 500;
}

/* glightbox */
.gslide-description {
  font-size: 16px;
  font-weight: 600;
}

.thumbnail {
  display: block;
  padding: 4px;
  line-height: 20px;
  border: 1px solid #bbb;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
  margin-bottom: 10px;
}
a.thumbnail:hover,
a.thumbnail:focus {
  border-color: #0088cc;
  -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
     -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
          box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

.thumbnail > img {
  display: block;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.thumbnail .caption {
  padding: 9px;
  color: #555555;
}

hr.grad { 
  border: 0; 
  height: 0;
  border-top: 1px solid rgba(0,0,0,0.2); 
  border-bottom: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 28px;
}

a.link-button {
  background-image: linear-gradient(#2B6097, #1C2E4B);
  color: var(--text-white) !important;
  font-size: var(--fs-16);
  font-weight:500;
  display: inline-block;
  padding:8px;
  text-decoration: none !important;
  text-align: center;
}

.nav-link {
  color:#1e376a;
  text-decoration: none;
}
a.nav-link:hover {
  text-decoration: underline;
}

.video-container {
  position: relative;
  padding-bottom: 52%;
  height: 0;
  overflow: hidden;
  border: 2px solid #bbb;
  margin-bottom:10px;
  max-width:98%;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.topmar4  { margin-top:4px; }
.topmar8  { margin-top:8px; }
.topmar10 { margin-top:10px; }
.topmar12 { margin-top:12px; }
.topmar16 { margin-top:16px; }
.topmar24 { margin-top:24px; }
.topmar32 { margin-top:32px; }
.topmar48 { margin-top:48px; }

/* Media Queries */
@media screen and (max-width: 768px) {
    .main-title {
        font-size: 24px;
    }
}

@media only screen and (max-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }

    address,
    p,
    a,
    a.nav-li,
    a.nav-link {
        font-size: 13px;
    }
}

@media only screen and (min-width: 992px) {

    .offcanvas,
    .offcanvas-end,
    .show,
    .logo-hidden {
        display: none;
    }
}

@media only screen and (max-width: 1224px) {
    .logo-main {
        transform: translateY(0px);
        height: 9vw;
    }
    .nav-menus li a {
        margin: 0px 1rem;
    }
}
