body {
  font-family: 'Poppins', sans-serif;
  color: #676565;
}

a {
  text-decoration: none;
  color: #676565;
  -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

a:focus,
a:hover {
  color: #1075b9;
}

.bbb,
a#return-to-top,
div.service-block>div.service-img>a.imghover>img.img-fluid,
div.hero-container>video {
  transition: none;
}

.hover-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 117, 185, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hover-container:hover .hover-overlay {
  opacity: 1;
}

.navbar-brand img {
    aspect-ratio: 82 / 13;
}

.navbar-toggler {
  width: 30px;
  height: 25px;
  position: relative;
  transition: .5s ease-in-out;
  cursor: pointer;
  border: none;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 29px;
  height: 2px;
  background-color: #1075b9;
  position: absolute;
  left: 0;
  transition: transform 0.2s ease-out;
}

.top-bar {
  top: 0px;
}

.middle-bar {
  top: 8px;
}

.bottom-bar {
  top: 16px;
}


.navbar-toggler:not(.collapsed) .top-bar,
.navbar-toggler:not(.collapsed) .middle-bar,
.navbar-toggler:not(.collapsed) .bottom-bar {
  left: 5px;
}

.navbar-toggler:not(.collapsed) .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler:not(.collapsed) .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler:not(.collapsed) .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.btn {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 20px;
  letter-spacing: 1px;
  border-radius: 0px;
  line-height: 1.6;
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  transition: color 0.5s;
  word-wrap: break-word;
  white-space: normal !important;
}

.btn-primary {
  background-color: #1c1c1c;
  color: #fff;
  border: 2px solid #1c1c1c;
}

.btn-primary:hover {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-primary.focus,
.btn-primary:focus {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #2e2728;
  border-color: #2e2728;
}

.btn-default {
  background-color: #1075b9;
  color: #fff;
  border: 2px solid #1075b9;
}

.btn-default:hover {
  background-color: #fff;
  color: #1075b9;
  border: 2px solid #1075b9;
}

.btn-default.focus,
.btn-default:focus {
  background-color: #fff;
  color: #1075b9;
  border: 2px solid #1075b9;
}

.btn-outline {
  background-color: transparent;
  color: #1075b9;
  border: 2px solid #1075b9;
}

.btn-outline:hover {
  background-color: #e8203e;
  color: #fff;
  border: 2px solid #e8203e;
}

.btn-outline.focus,
.btn-outline:focus {
  background-color: #da0c18;
  color: #fff;
  border: 2px solid #da0c18;
}

.btn-secondary {
  background-color: #bf1f38;
  color: #fff;
  border: 2px solid #bf1f38;
}

.btn-secondary:hover {
  background-color: #a6172e;
  color: #fff;
  border: 2px solid #a6172e;
}

.btn-secondary.focus,
.btn-seondary:focus {
  background-color: #a6172e;
  color: #fff;
  border: 2px solid #a6172e;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 14px 24px;
  font-size: 13px;
}

.btn-xs {
  padding: 10px 18px;
  font-size: 12px;
}

.btn-white {
  color: #1075b9;
  background: #fff;
  border: 1px solid #fff;
}

.btn-white:hover {
  background-color: #1075b9;
  color: #fff;
  border: 1px solid #fff;
}

.btn-white.focus,
.btn-white:focus {
  background-color: #1075b9;
  color: #fff;
}

.btn-white-outline {
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
}

.btn-white-outline:hover {
  background-color: #fff;
  color: #25292a;
}

.btn.btn-white-outline.focus,
.btn.btn-white-outline:focus {
  background-color: #fff;
  color: #25292a;
}

button.btn {
  margin-right: -1px;
}

.btn-default-link {
  color: #1075b9;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
  position: relative;
  font-style: initial;
  letter-spacing: 1px;
}

.btn-default-link:hover {
  color: #1c1c1c;
  text-decoration: none;
}

.btn-primary-link {
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  -moz-transition: background-color 0.3s ease-out, color 0.3s ease-out;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
  position: relative;
  font-style: initial;
  letter-spacing: 1px;
}

.btn-primary-link:hover {
  color: #1075b9;
  text-decoration: none;
}

.btn-boxed {
  width: 100%;
  height: 100%;
  padding: 133px 0px;
  font-size: 28px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #222528;
  background-color: #ffffff;
  border-color: #e4e4e4 #e4e4e4 #e4e4e4 #e4e4e4;
}

.nav-link {
  display: block;
  border-radius: 0px;
  margin-bottom: -1px;
  color: #1c1c1c;
  text-align: center;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  color: #1075b9;
  background-color: #fff;
  border-color: #e4e4e4 #e4e4e4 #e4e4e4;
}

#navigation:after,
#navigation>ul:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

#navigation #menu-button {
  display: none;
}

#navigation>ul>li {
  float: left;
}

#navigation.align-center>ul {
  font-size: 0;
  text-align: center;
}

#navigation.align-center>ul>li {
  display: inline-block;
  float: none;
}

#navigation.align-center ul ul {
  text-align: left;
}

#navigation.align-right>ul>li {
  float: right;
}

#navigation>ul>li>a {
  padding: 12px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0px;
}

#navigation>ul>li:hover>a {
  color: #fff;
  background-color: #1075b9;
  border-radius: 0px;
}

#navigation>ul>li.has-sub>a {
  padding-right: 36px;
}

#navigation>ul>li.has-sub>a:before {
  position: absolute;
  right: 17px;
  content: '\f107';
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

#navigation ul ul {
  position: absolute;
  left: -9999px;
  margin: 0px;
}

#navigation.align-right ul ul {
  text-align: right;
}

#navigation ul ul li {
  top: 0px;
  height: 0;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

#navigation li:hover>ul {
  left: auto;
}

#navigation.align-right li:hover>ul {
  left: auto;
  right: 0;
}

#navigation li:hover>ul>li {
  height: 43px;
}

#navigation ul ul ul {
  margin-left: 100%;
  top: 0;
}

#navigation.align-right ul ul ul {
  margin-left: 0;
  margin-right: 100%;
}

#navigation ul ul li a {
  background-color: #1075b9;
  padding: 14px 16px;
  width: 220px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
}

#navigation ul ul li:first-child>a {
  border-top-right-radius: 0px;
}

#navigation ul ul li:last-child>a {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

#navigation ul ul li:hover>a,
#navigation ul ul li a:hover {
  color: #1075b9;
  background-color: #fff;
  border-bottom: 1px solid #1075b9;
}

#navigation ul ul li.has-sub>a:after {
  position: absolute;
  top: 16px;
  right: 11px;
  width: 8px;
  height: 2px;
  display: block;
  background: #dddddd;
  content: '';
}

#navigation.align-right ul ul li.has-sub>a:after {
  right: auto;
  left: 11px;
}

#navigation ul ul li.has-sub>a:before {
  position: absolute;
  top: 13px;
  right: 14px;
  display: block;
  width: 2px;
  height: 8px;
  background: #dddddd;
  content: '';
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
  transition: all .25s ease;
}

#navigation.align-right ul ul li.has-sub>a:before {
  right: auto;
  left: 14px;
}

#navigation ul ul>li.has-sub:hover>a:before {
  top: 17px;
  height: 0;
}

#navigation.small-screen {
  width: 100%;
}

#navigation.small-screen ul {
  width: 100%;
  display: none;
  margin-top: -2px;
}

#navigation.small-screen.align-center>ul {
  text-align: left;
}

#navigation.small-screen ul li {
  width: 100%;
  border-top: 1px solid #fff;
  top: auto;
  background-color: #1075b9;
}

#navigation.small-screen ul ul li,
#navigation.small-screen li:hover>ul>li {
  height: auto;
}

#navigation.small-screen ul li a,
#navigation.small-screen ul ul li a {
  width: 100%;
  border-bottom: 0;
  padding: 20px 15px;
  color: #fff;
}

#navigation.small-screen>ul>li>a:after {
  position: absolute;
  top: 16px;
  right: -3px;
  height: 2px;
  display: block;
  content: '';
}

#navigation.small-screen>ul>li {
  float: none;
}

#navigation.small-screen ul ul li a {
  padding-left: 25px;
}

#navigation.small-screen ul ul ul li a {
  padding-left: 35px;
}

#navigation.small-screen ul ul li a {
  color: #fff;
  background: transparent;
  margin: 0px;
  border-bottom: transparent;
}

#navigation.small-screen ul ul li:hover>a,
#navigation.small-screen ul ul li.active>a {
  color: #1075b9;
  background-color: #fff;
  border: 1px solid #fff;
}

#navigation.small-screen ul ul,
#navigation.small-screen ul ul ul,
#navigation.small-screen.align-right ul ul {
  position: relative;
  left: 0;
  width: 100%;
  margin: 0;
  text-align: left;
}

#navigation.small-screen>ul>li.has-sub>a:after,
#navigation.small-screen>ul>li.has-sub>a:before,
#navigation.small-screen ul ul>li.has-sub>a:after,
#navigation.small-screen ul ul>li.has-sub>a:before {
  display: none;
}

#navigation.small-screen #menu-button {
  display: block;
  padding: 20px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  background-color: #1075b9;
  border: 1px solid #1075b9;
}

#navigation.small-screen #menu-button:after {
  position: absolute;
  top: 32px;
  right: 25px;
  display: block;
  height: 16px;
  width: 30px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

#navigation.small-screen #menu-button:before {
  position: absolute;
  top: 18px;
  right: 25px;
  display: block;
  height: 2px;
  width: 30px;
  background: #fff;
  content: '';
}

#navigation.small-screen #menu-button.menu-opened:after {
  top: 27px;
  border: 0;
  height: 2px;
  width: 29px;
  background: #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#navigation.small-screen #menu-button.menu-opened:before {
  top: 27px;
  background: #fff;
  width: 29px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#navigation.small-screen .submenu-button {
  position: absolute;
  z-index: 99;
  right: 0;
  top: 0;
  display: block;
  border-left: 1px solid #fff;
  height: 54px;
  width: 53px;
  cursor: pointer;
}

#navigation.small-screen ul ul .submenu-button {
  height: 34px;
  width: 34px;
}

#navigation.small-screen .submenu-button:after {
  position: absolute;
  top: 25px;
  right: 20px;
  width: 8px;
  height: 2px;
  display: block;
  background: #fff;
  content: '';
}

#navigation.small-screen ul ul .submenu-button:after {
  top: 15px;
  right: 13px;
}

#navigation.small-screen .submenu-button:before {
  position: absolute;
  top: 22px;
  right: 23px;
  display: block;
  width: 2px;
  height: 8px;
  background: #fff;
  content: '';
}

#navigation.small-screen ul ul .submenu-button:before {
  top: 12px;
  right: 16px;
}

#navigation.small-screen .submenu-button.submenu-opened:before {
  display: none;
}

#navigation.small-screen.select-list {
  padding: 5px;
}

#navigation.small-screen>ul>li>a {
  border-left: 0px;
  margin: 0;
  border-right: 0px;
}

#navigation.small-screen>ul>li:hover>a {
  border-left: transparent;
  border-right: transparent;
  color: #1075b9;
  background-color: #fff;
}

.hero-container {
  position: relative;
  width: 100%;
  max-height: 400px;
  height: 100vh;
  overflow: hidden;
}

.hero-container h1 {
  color: #fff;
}

.hero-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

.hero-container .content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  box-sizing: border-box;
}

.hero-container .content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-container .content p {
  font-size: 1.2rem;
}

.hero-container.img {
  background-size: cover;
  background-position: center;
}

.hero-container.our-history {
  background-image: url('/images/commercial-roofers-queens.webp');
}

.hero-container.roofing-questions {
  background-image: url('/images/men_pointing_flat_roof.webp');
}

.hero-container.contact-us {
  background-image: url('/images/man-phone-roof.webp');
  background-position: top;
}

.hero-container.about-us {
  background-image: url('/images/man-looking-down-roof.webp');
}

.hero-container.gutters-roofers-queens-brooklyn-bronx {
  background-image: url('/images/gutter-repair.webp');
}

.hero-container.shingle-roof-repair-queens-brooklyn-bronx {
  background-image: url('/images/shingle-repair.webp');
}

.hero-container.go-over-versus-reroof {
  background-image: url('/images/roof-decking.webp');
}

.hero-container.residential-pointing-queens-brooklyn-bronx {
  background-image: url('/images/residential-pointing.webp');
}

.hero-container.commercial-roofers-queens-brooklyn-bronx {
  background-image: url('/images/men-on-roof.webp');
  background-position: top;
}

.hero-container.flat-roof-repair-queens-brooklyn-bronx {
  background-image: url('/images/flat-roof-repair-queens-brooklyn-bronx-hero.webp');
}

.hero-container.metal-roof-queens-brooklyn-bronx {
  background-image: url('/images/metal-roof.webp');
}

.hero-container.rubber-roof-queens-brooklyn-bronx {
  background-image: url('/images/ethylene-propylene-diene-monomer-rubber-roof.webp');
}

.hero-container.tpo-roof-roof-queens-brooklyn-bronx {
  background-image: url('/images/thermoplastic-polyolefin-roof.webp');
}

.hero-container.epdm-roof-roof-queens-brooklyn-bronx {
  background-image: url('/images/ethylene-propylene-diene-monomer-rubber-roof.webp');
}

.hero-container.roof-coatings-queens-brooklyn-bronx {
  background-image: url('/images/men-coating-roof.webp');
}

.hero-container.commercial-waterproofing-queens-brooklyn-bronx {
  background-image: url('/images/waterproofing-roof.webp');
}

#headerAccordion { height: 260px; }

.no-chevron::after {
  display: none !important;
}

.feature-wrapper {
  background: url('/images/feature_wrapper.webp') no-repeat;
  background-size: cover;
  background-color: #272626;
}

.feature-left {
  color: #fff;
  margin-bottom: 30px;
}

.feature-left .feature-icon {
  background-color: #1075b9;
  border-radius: 100%;
  height: 64px;
  width: 64px;
  margin-bottom: 30px;
  display: inline-block;
  padding: 8px;
  font-size: 30px;
  text-align: center;
}

.feature-left .feature-icon svg {
    width: 30px;
}

.testimonial-block {
  border: 1px solid #ffecb1;
  padding: 25px;
  background-color: #fffbef;
  margin-bottom: 20px;
}

.testimonial-text {
  color: #1c1c1c;
  font-size: 18px;
  font-style: italic;
  font-family: 'PT Serif', serif;
  font-weight: 400;
}

.testi-small-text {
  color: #2a387a;
  font-size: 14px;
  font-weight: 700;
}

.service-list li a {
  color: #fff;
}

.cta-wrapper {
  background-color: #1075b9;
  color: #fff;
}

.cta-block-title {
  font-weight: 400;
}

.footer {
  background-color: #2e2d2d;
  color: #9d9d9d;
  font-weight: 400;
}

.footer-widget a {
  color: #9d9d9d;
  line-height: 2;
}

.footer-widget a:hover {
  color: #fff;
}

a.btn-social-square {
  display: inline-block;
  width: 45px;
  height: 45px;
  padding: 8px;
  background-color: #2a387a;
  color: #fff;
  text-align: center;
}

a.btn-social-square svg {
    vertical-align: initial;
}

a.btn-social-square.fb {
  background-color: #2a387a;
}

a.btn-social-square.ig {
  background-color: #E4405F;
}

a.btn-social-square:hover {
  background-color: #1075b9;
  color: #fff;
}

.tiny-footer {
  font-size: 14px;
  background-color: #272626;
}

#return-to-top {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #403e3e;
  width: 50px;
  height: 50px;
  display: inline !important;
  text-decoration: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 5px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 9px;
  font-size: 28px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top:hover {
  background-color: #1075b9;
}

.chevron-up {
  position: absolute;
  top: 40%;
  left: 25%;
  right: 25%;
  border-right: 6px solid #fff;
  border-bottom: 6px solid #fff;
  height: 25px;
  width: 25px;
  transform: rotate(225deg);
}

.cookie-container {
    position: fixed;
    /*bottom: -100%; */
    bottom: -84px;
    left: 0;
    height: 84px;
    width: 100%;
    background: #1075b9;
    color: #F5F5F5;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    border-top: 2px solid;
    transition: transform 0.5s ease-in-out;
    z-index: 9999;
}

.cookie-container.active {
    transform: translateY(-100%);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content h4 {
    min-width: 180px;
}

.cookie-content p {
    height: 42px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-btn {
    min-width: 100px;
    cursor: pointer;
    white-space: nowrap;
}

@media only screen and (max-width:768px) {
  .hero-container .content h1 {
    font-size: 1.8rem;
    /*height: 70px;*/
  }

  .hero-container .content p {
    font-size: 1rem;
    height: 84px;
  }

  .hero-container .content {
    padding-top: 20px;
  }

  .hero-container video {
    height: 400px;
  }

  .feature-wrapper {
    background: url('/images/feature_wrapper-m.webp') no-repeat;
    background-size: cover;
  }

  #return-to-top {
    background-color: #1075b9;
  }
  
  .cookie-container {
    bottom: -233px;
    min-height: 233px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content #accept-cookies {
      margin-top: 35px;
  }
}