/*
Theme Name: StormTight Windows
Author: Josh Yager
Author URI: https://thedevq.com/
Description: Custom Theme build by The Dev Q
Version: 1.0.0
*/

.admin-bar .header-container {
  top: 32px;
}

.whitesmoke {
  background: #fafafa;
}

/* Variables */
:root {
  --navheight: 110px;
}

:root {
  --star-size: 40px;
  --star-color: #fff;
  --star-background: #f2bf0b;
}

.Stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}

.Stars::before {
  content: "★★★★★";
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.Stars.bottom {
  font-size: 30px;
  /* margin: 5px; */
}


.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  height: var(--navheight);
  transition: all .3s ease-in-out;
  display: flex;
  align-items: center;
}

.logosection {
  width: 200px;
}

.header-container.headScrolled {
  height: 90px;
  background: #fff;
}

.headScrolled .mainLogo {
  width: 150px;
}

.fixedbackrel {
  position: relative;
  display: block;
  width: 100%;
  height: var(--navheight);
  z-index: -1;
}

nav#menu:not(.mm-menu) {
  display: none;
}

.container-fluid {
  max-width: 2400px;
  margin: auto;
}

/* @media (min-width:1600px) {
  .container {
    max-width: 1550px;
  }
} */
.page-content a {
  color: var(--secondary);
  font-weight: 600;
  transition: all .3s ease-in-out;
}

.page-content a:hover {
  color: var(--primary);
}

body, p, ul, li {
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
}


html, body {
  /* overflow-x: hidden !important; */
  position: relative;
}

.maincopy ul li {
  list-style: none;
  position: relative;
  margin-bottom: 15px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font1);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

h2 {
  font-size: 34px;
}

img {
  max-width: 100%;
}

.btn {
  text-decoration: none;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 300px;
  border-radius: 5px;
  font-weight: 800;
  text-align: center;
  transition: all .3s ease-in-out;
  text-transform: uppercase;
}

.btn i {
  margin-right: 8px;
  font-size: 14px;
}

.btn.btn-secondary {
  background: var(--secondary);
}

.btn.btn-tertiary {
  background: var(--tertiary);
}

.btn.btn-white {
  background: white;
  color: var(--primary);
}

.btn.white:hover {
  background: var(--primary);
  color: white;
}

.btn:hover {
  background: var(--secondary);
  color: white;
}

.btn.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn.quote {
  width: initial;
  height: initial;
  padding: 7px 15px;
  color: white !important;
}

@media (max-width:767px) {
  .btn {
    width: 100%;
  }
}

.rightctas {
  display: flex;
  align-items: center;
  gap: 20px;
}

a.phone {
  text-decoration: none;
  color: initial;
  font-weight: 600;
  transition: all .3s ease-in-out;
}

a.phone:hover {
  color: var(--secondary);
}



.cs-topper {
  font-family: var(--font2);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  margin-top: 0;
  color: var(--secondary);
  letter-spacing: 3px;
}

.cs-title {
  font-size: 34px;
  margin: 0;
  line-height: 1;
  font-weight: 800;
  max-width: 530px;
  color: var(--primary);
}



::selection {
  background: var(--tertiary);
  color: var(--secondary);
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--tertiary);
}

::-webkit-scrollbar {
  width: 10px;
}

.mobileonly {
  display: none;
}

html {
  scroll-behavior: smooth;
}

/* Basic Html */
body {
  margin: 0px;
  background: #fff;
}

html, body {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin-bottom: 10px;
}

/* Header Styles & Main Logo */
.mainLogo {
  padding: 0;
  display: block;
  width: 200px;
  height: auto;
  margin: 0;
  position: relative;
  transition: all .3s ease-in-out;
}

.menutop ul {
  display: flex;
  list-style: none;
}

.menutop ul.main-navigation {
  display: flex;
  list-style: none;
  padding: 0;
  width: 800px;
  margin: auto;
  justify-content: center;
  align-items: center;
}

/* Drop Down Menu */
.dropdown-menu {
  display: none;
  transform-origin: center top 0;
  transition: all .1s ease 0s;
  min-width: 270px;
  left: -10px;
  overflow: hidden;
  padding-top: 10px;
}

.menu-depth-1 {
  position: relative;
}

/* Hamburger Styles */
.mburger strong {
  display: block;
  position: absolute;
  left: calc(var(--mb-button-size)*((1 - var(--mb-bar-width))/2));
  width: calc(var(--mb-button-size)*var(--mb-bar-width));
  height: var(--mb-bar-height);
  border-radius: calc(var(--mb-bar-height)/2);
  background: black;
  color: inherit;
  opacity: 1;
}

.mburger strong {
  border-radius: 0px;
}

.mburger {
  color: #fff;
}

.mburger:hover, .mburger:focus, .mburger:active {
  color: #fff;
}

.mburger strong:nth-of-type(1) {
  bottom: calc(45% + var(--mb-bar-spacing));
}

.mburger strong:nth-of-type(3) {
  top: calc(45% + var(--mb-bar-spacing));
}

.mburger span {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.mm-menu {
  --mm-color-background: #fff;
}

.mm-listitem__text, .mm-navbar__title>span {
  font-weight: 600;
  color: var(--primary);
}


/* Menu Tablet */
@media screen and (max-width:1199px) {
  .mobileonly {
    display: inherit;
  }

  .mainLogo {
    margin: 0;
    width: 140px;
    height: auto;
  }

  .stormfooter .mainLogo {
    margin: auto;
  }
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* forms */
.devqform {
  width: 100%;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: auto;
}

.devqform input, .devqform textarea, .devqform select {
  padding: 10px;
  display: inline-block;
  border-radius: 0;
  font-size: 18px;
  font-family: var(--font1);
  background: #ecebec;
  border: 1px solid #b3b3b3;
  border-radius: 0;
  margin-bottom: 1rem !important;
}

.devqform select {
  text-transform: uppercase;
}

.devqform input::placeholder, .devqform textarea::placeholder, .devqform select::placeholder {
  font-weight: 300;
  color: #a9a9a9;
  font-family: var(--font2);
  font-size: 16px;
}

.devqform .gform_footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.devqform .button {
  background: var(--primary);
  color: white;
  margin: 0;
  cursor: pointer;
  transition: all .5s;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  width: 300px;
  max-width: 100%;
  margin-right: 10px;
}

.devqform .button:hover {
  background: var(--tertiary);
  color: initial;
}

.devqform textarea {
  height: 110px !important;
}

.devqform .gform_fields {
  grid-row-gap: 4px !important;
}


.col25 {
  width: 25%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col33 {
  width: 33.33%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col50 {
  width: 50%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.col100 {
  width: 100%;
  padding: 5px 10px !important;
  display: inline-block;
  clear: both;
}

.boxFormFlex .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.boxFormFlex .gchoice {
  width: 33%;
  height: 50px;
  display: flex;
  align-items: center;
}

.boxFormFlex input {
  margin: 0 10px 0 0 !important;
}

.boxFormFlex {
  margin: 30px 0 !important;
}

.devqform h2 {
  margin-bottom: 30px;
}

.devqform .gform_button_select_files {
  padding: 15px;
  font-family: var(--font1);
  font-size: 18px;
  border: 0;
}

@media (max-width:991px) {
  .boxFormFlex .gchoice {
    width: 50%;
  }

  .col50, .col25, .col33, .col100 {
    width: 100%;
    padding: 5px 0 !important;
  }
}

.devq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.menutop ul li a {
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  color: initial;
  font-size: 18px;
  transition: all .1s ease-in-out;
  display: flex;
  align-items: center;
}

.menutop ul li a:hover {
  color: var(--secondary);
}

.footerfluid2 {
  padding: 15px 0;
  background: var(--secondary);
}

.footerfluid2 p {
  color: white;
  margin: 0;
  padding: 10px 0;
  font-size: 16px;
}

.mobileOnly {
  display: none;
}

.flextophead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

img.mobilelogo {
  width: 230px;
  margin: 0 15px;
}

.mobilemen {
  margin: -10px 10px 0 0;
}

img.mobileLogo {
  padding: 30px;
}

#buttonTop {
  display: inline-block;
  background-color: var(--primary);
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border: 2px solid white;
}

#buttonTop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 50px;
  color: #fff;
}

#buttonTop:hover {
  cursor: pointer;
  background-color: #333;
}

#buttonTop:active {
  background-color: #555;
}

#buttonTop.show {
  opacity: 1;
  visibility: visible;
}

ul.dropdown-menu {
  display: none;
}

a.dropdown-toggle i {
  padding-left: 5px;
  font-size: 14px;
}

.dropdown:hover ul.dropdown-menu {
  display: block;
  position: absolute;
  color: white;
  padding-top: 10px;
  z-index: 3;
}

.menu-item-has-children {
  position: relative;
}

.dropdown-menu a {
  margin: 0 !important;
}

.dropdown-menu li a {
  background: var(--primary);
  padding: 10px 15px;
  color: white !important;
  display: block;
  border-bottom: 1px solid white;
  transition: all .1s ease-in-out;
  font-size: 12px !important;
}

.dropdown-menu li:last-child a {
  border-bottom: 0;
}

.dropdown-menu li a:hover {
  background: var(--secondary);
  color: white !important;
}

.mobilemen {
  display: none;
}

.mobilemen {
  gap: 15px;
}

a.callm {
  text-decoration: none;
  color: white;
  background: var(--secondary);
  padding: 5px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: auto;
  text-transform: uppercase;
  font-weight: 800;
}

a.callm i {
  margin-right: 4px;
}

.mobilef {
  display: none;
}

@media (max-width:1199px) {
  .desktopOnly {
    display: none;
  }

  .rightctas {
    display: none;
  }

  .mobileOnly {
    display: initial;
  }

  .footerfluidcolor {
    padding: 70px 0 40px;
  }

  .footerfluid2 p {
    text-align: center;
  }

  .mobilemen {
    display: inherit;
  }

  .menutop {

    display: none;
  }

  .mobilef {
    display: initial;
  }
}

@media (max-width:1400px) {
  .menutop ul li a {
    font-size: 14px;
  }

  a.phone {
    font-size: 20px !important;
  }

  .menutop ul.main-navigation {
    width: 600px;
  }
}

@media (max-width:1230px) {
  .rightctas a {
    font-size: 18px !important;
  }

  .rightctas {
    gap: 10px;
  }
}

.flexstickyfooter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.flexstickyfooter a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  width: 100%;
  text-align: center;
  height: 100%;
}

.stickyfooter {
  position: fixed;
  z-index: 9999;
  display: block;
  bottom: 0;
  width: 100%;
  transition: all .5s ease-in-out;
  transform: translateY(150px);
  background: var(--secondary);
}

.stickyfooter.show {
  transform: translateY(0);
}