.maincontent {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.maincontent_wrapper {
    padding-top: 0;
}

:root{
    --main-color:#525126;
    --accent-color:#62250E;
    /* rgba(98,37,14,.5) */
  
    --highlight-color-dark:#525126;
    --highlight-color:#CBB776;
    /* rgba(203,283,118,.5) */
  }
  
  
  body, html{
    box-sizing: border-box;
    margin:0;
    padding:0;
    font-size:18px;
    font-family: 'Montserrat', sans-serif;
  }
  .maincontent{
    max-width:100%;
    padding:0;
    margin:0;
  }
  .maincontent_wrapper{
    padding-top:0;
  }
  img{
    width:100%;
  }
  .cta {
      width: 200px;
      height: 50px;
      display: block;
      position: relative;
      margin-top:5px;
  }
  
  a:hover{
    text-decoration:underline;
  }
  
  .ctatext {
      position: absolute;
      height: 100%;
      width: 100%;
      z-index: 1;
      text-align: center;
      line-height: 50px;
      letter-spacing:1.1px;
      font-size: .8rem;
      font-weight:600;
      text-transform: uppercase;
  }
  
  .twist {
      display: block;
      height: 100%;
      width: 25%;
      position: relative;
      float: left;
      margin-left: -4px;
  }
  
  
  
  /* ================ Hover Transition ================== */
  .twist:before {
      content: "";
      width: 100%;
      height: 100%;
      background: var(--highlight-color);
      bottom: 100%;
      position: absolute;
      transform-origin: center bottom 0px; 
      transform: matrix3d(1, 0, 0, 0, 
                          0, 0, -1, -0.003, 
                          0, 1, 0, 0, 
                          0, 0, 0, 1);
      
  -webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
  -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
   -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
      transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
  }
  
  
  /* ======================= Front BG ================= */
  .twist:after {
      content: "";
      position: absolute;
      width: 100%;
      top: 100%;
      height: 100%;
      border-radius:5px;
  
      background:var(--highlight-color) ;
      transform-origin: center top 0px;
      transform: matrix3d(1, 0, 0, 0, 
                          0, 1, 0, 0, 
                          0, 0, 1, -0.003, 
                          0, -50, 0, 1);
      
  -webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
  -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
   -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
      transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
  }
  
  /* =================== Back BG =================== */
  
  .cta:hover .twist:before {
      background: var(--highlight-color-dark);
      border-radius:5px;
      transform: matrix3d(1, 0, 0, 0, 
                          0, 1, 0, 0, 
                          0, 0, 1, 0.003, 
                          0, 50, 0, 1);
  }
  .cta:hover .twist:nth-of-type(2):before,
  .cta .twist:nth-of-type(2):after {
      border-radius:0px;
  }
  
  .cta:hover .twist:nth-of-type(3):before,
  .cta .twist:nth-of-type(3):after {
      border-radius:0px;
  }
  
  /* ================== Transition Back ================ */
  .cta:hover .twist:after {
      background: var(--highlight-color-dark);
      transform: matrix3d(1, 0, 0, 0, 
                          0, 0, -1, 0.003, 
                          0, 1, 0, 0, 
                          0, 0, 0, 1);
      
  }
  
  .cta .twist:nth-of-type(1) {
      margin-left: 0;
  }
  
  .cta .twist:nth-of-type(1):before,
  .cta .twist:nth-of-type(1):after {
      transition-delay: 0s;
  }
  
  .cta .twist:nth-of-type(2):before,
  .cta .twist:nth-of-type(2):after {
      transition-delay: 0.1s;
  }
  
  .cta .twist:nth-of-type(3):before,
  .cta .twist:nth-of-type(3):after {
      transition-delay: 0.2s;
  }
  
  .cta .twist:nth-of-type(4):before,
  .cta .twist:nth-of-type(4):after {
      transition-delay: 0.3s;
  }
  /* ================= Text rotate to front =================== */
  .cta .ctatext:nth-of-type(1) {
      color: #fff;
      bottom: 100%;
      transform-origin: center bottom 0px; 
      transform: matrix3d(1, 0, 0, 0, 
                          0, 0, -1, -0.003, 
                          0, 1, 0, 0, 
                          0, 0, 0, 1);
      
  -webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
  -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
   -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
      transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
  }
  
  .cta:hover .ctatext:nth-of-type(1) {
      transform: matrix3d(1, 0, 0, 0, 
                          0, 1, 0, 0, 
                          0, 0, 1, 0.003, 
                          0, 50, 0, 1);
  }
  /* ======================= Text rotate to back ================= */
  .cta .ctatext:nth-of-type(2) {
      color: #000;
      top: 100%;
      transform-origin: center top 0px;
      transform: matrix3d(1, 0, 0, 0, 
                          0, 1, 0, 0, 
                          0, 0, 1, -0.003, 
                          0, -50, 0, 1);
      
  -webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
  -moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
   -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
      transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
  }
  
  .cta:hover .ctatext:nth-of-type(2) {
      transform: matrix3d(1, 0, 0, 0, 
                          0, 0, -1, 0.003, 
                          0, 1, 0, 0, 
                          0, 0, 0, 1);
  }
  
  
  #wrap {
      position: relative;
      width: 100%;
      overflow: hidden;
  }
  
  .center-text{
      text-align:center;
  }
  
  .myButton {
      background-color:#7892c2;
      border-radius:25px;
  border:1px solid #CCAE1E;
      display:inline-block;
      cursor:pointer;
      color:#ffffff;
      font-family:Arial;
      font-size:19px;
      padding:12px 37px;
      text-decoration:none;
      text-shadow:0px 1px 0px #283966;
  }
  .myButton:hover {
      background-color:#476e9e;
  color:white;
  box-shadow: 0px 13px 23px -10px rgba(0,0,0,0.45);
  -webkit-box-shadow: 0px 13px 23px -10px rgba(0,0,0,0.45);
  -moz-box-shadow: 0px 13px 23px -10px rgba(0,0,0,0.45);
  }
  .myButton:active {
      position:relative;
      top:1px;
  }
  article h3{
    color:var(--accent-color)
  }
  .img-box::after{
    content:"";
    display:inline-block;
    position: absolute;
    /* z-index:1; */
    height:100%;
    width:100%;
    top:-5%;
    left:-3%;
    /* background-color:var(--highlight-color); */
    border:1px solid rgba(98,37,14,.8);
  }
  .img-box{
    position: relative;
    display:inline-block;
    /* z-index:5; */
  }
  .img-box img{
    position: relative;
    z-index:5;
  }
  #algae-logo{
    max-width:100px;
 }
 .algae-section{
    margin-top:30px;
    position: relative;
    display:block;
 }
 .algae-section h3{
    display:inline-block;
 }
  /*=======================================================
        SECTION1
  ========================================================*/
  section {
      position: relative;
      background: #fff;
  }
  .full-height {
      max-height: inherit;
      margin-top: 0px;
  }
  /*=======================================================
       Hero
  ========================================================*/
  .hero {
      height:35vw;
      position:relative;
    background-image:url('/imageserver/Reusable/pabco23/advantage-hero.jpg');
      background-size:100%;
      background-repeat:no-repeat;
  }
  .hero-content{
    position: absolute;
    top:35%;
    left:20%;                                                                                       
  }
  .hero-content h1{
    font-size:clamp(16px, 4vw, 60px);
    color:#fff;
    margin:0;
  }
  .hero-content h3{
    font-size:clamp(14px, 2vw, 50px);
    color:#fff;
    font-weight:400;
  }
  #logo{
      position: absolute;
      top:10%;
      left:5%;
      max-width:calc(10vw + 150px);
      padding:5px;}
  .assesment{
      position: absolute;
      bottom:0;
      left:0;
      width:100%;
      background:rgba(255,255,255,0.6);
      padding:25px;
      /* text-align:center; */
      z-index:3;
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      align-items:center;	
  }
  .assesment h3{
      margin:0 30px;
  }
  
  blockquote{
      padding:0;
      margin:0;
      border-left:0;
  }
  /*=======================================================
        Section2
  ========================================================*/
  .section2{
      padding:5%;
      background:#fbfbfb;
  }
  .warranty-list{
      margin-top:80px;
  }
  .about-us-con p{
      margin:10px 0;
  }
  .section3{
      background: #fbfbfb;
      text-align:center;
      padding:5% 10%;
      
  }
  .warranty-header{
      padding:0 8%;
  }
  .warranty-list h6{
      font-weight:300;
  }
  .products{
      display:flex;
      flex-wrap:wrap;
      flex-direction:row;
      justify-content:space-evenly;
      align-items:center;
  }
  .product-item{
      margin: 0;
  }
  
  .product .position-center-center h4 {
      margin: 0px;
      display: inline-block;
      width: 100%;
      margin: 5px 0;
  }
  .product .position-center-center {
      text-align: center;
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
  }
  .product .position-center-center {
      opacity: 0;
      z-index: 11;
  }
  .product-item:hover .position-center-center {
      opacity: 1;
  }
  .hover-style-4 .product-overlay {
      background: rgba(255,255,255,0.7);
  }
  .hover-style-4 .product-overlay {
      background: rgba(255,255,255,0.7);
  }
  .product {
      padding:4% 8% 2%;
  }
  .product-overlay {
      background-color: rgba(0, 0, 0, 0.8);
      height: 100%;
      left: 0;
      opacity: 0;
      position: absolute;
      text-align: center;
      bottom: 0;
      width: 100%;
      z-index: 2;
      transition: all 400ms ease-out;
      overflow: hidden;
      /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
      background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6-15 */
      background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* Chrome10-25,Safari5.1-6 */
      background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000', GradientType=0 ); /* IE6-9 */
  }
  .product-item .product-image {
      position: relative;
      overflow: hidden;
    min-width:400px;
  }
  .product-item .product-image img {
      width: 100%;
      border: 10px ridge #dadfef;
  
  }
  .product-item:hover .product-overlay, .product-item:active .product-overlay, .product-item.active .product-overlay, .product-item:focus .product-overlay {
      opacity: 1;
  }
  .product-item {
      padding: 0 15px;
      float: left;
      margin-bottom: 30px;
  }
  .no-padding .product-item {
      padding: 0px;
      margin: 0px;
  }
  .product-item .position-center-center {
      width: 100%;
      padding: 0 20px;
  }
  
  .product-item h4 a {
      font-size: 16px;
      color: #fff;
      padding:10px;
      text-transform: uppercase;
      margin-bottom: 20px;
      font-weight: 500;
  }
  .product-item h4 a:hover {
      font-size: 18px;
      color: #63C2F7;
      text-transform: uppercase;
      margin-bottom: 20px;
      font-weight: 500;
  }
  
  
  .product .position-bottom {
      text-align:center;
      position: absolute;
      text-align: center;
      width: 100%;
      bottom: 0;
      margin-bottom:20%;
      display: block;
      left: 0px;
      z-index: 3;
      opacity: 0;
      padding-bottom:20px;
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
  }
  .product .position-bottom1 {
      position: absolute;
      text-align:center;
      position: absolute;
      text-align: center;
      width: 100%;
      height:100%;
      top: 40%;
      display: block;
  font-weight:600;
      left: 0px;
      z-index: 3;
      opacity: 1;
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      -ms-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
  }
  
  .product .position-bottom1:before {
      position: absolute;
      left: 0px;
      right: 0px;
      height: 3px;
      top:18%;
      width: 50px;
      margin: 0 auto;
      background: #f2b632;
      z-index: 3;
      content: "";
      -webkit-transition: all 0.4s ease-in-out;
      -moz-transition: all 0.4s ease-in-out;
      -o-transition: all 0.4s ease-in-out;
      -ms-transition: all 0.4s ease-in-out;
      transition: all 0.4s ease-in-out;
  }
  .product-item article:hover .pb:after {
      height: 100%;
  }
  .product-item article:hover .pb:before {
      width: 30%;
  }
  .product-item article:hover .pb {
      opacity: 1;
      bottom: 0px;
      margin-bottom: 0px;
  }
  
  .product-item  h4 {
      margin: 0px;
      color:#fff;
    font-size:25px;
  }
  .product-item h4 a {
      color: #fff;
  }
  .product-item p {
      color: #fff;
      opacity: 0.8;
      margin-bottom: 0px;
  }
  
  
  /*=======================================================
        HEADINGS
  ========================================================*/
  .heading-block {
      display: inline-block;
      width: 100%;
      text-align: center;
    color:var(--main-color)
  }
  .heading-block h2 {
      font-weight: 600;
      font-size: 36px;
      margin: 0px;
      margin-top: 10px;
  }
  .heading-block h4 {
      font-weight: 600;
      font-size: 26px;
  }
  .heading-block h4 {
      font-weight: bold;
      margin: 0px;
      padding: 0px;
      position: relative;
      display: inline-block;
      font-size: 26px;
      text-transform: capitalize;
      font-weight: 500;
      font-size: 18px;
  }
  .heading-block h3 {
      font-weight: 500;
      margin: 0px;
      padding: 0px;
      position: relative;
      display: inline-block;
      font-size: 30px;
      text-transform: capitalize;
      padding-bottom: 5px;
  }
  
  .heading-block h3:after {
      bottom: -15px;
      height: 1px;
      left: 0px;
      width: 50px;
      background: #252839;
      content: "";
      right: 0px;
      margin: 0 auto;
      position: absolute;
  }
  .heading-block h3:before {
      position: absolute;
      bottom: -18px;
      height: 1px;
      left: 0px;
      right: 0px;
      width: 30px;
      margin: 0 auto;
      background: #252839;
      content: "";
  }
  .heading-block hr {
      width: 1px;
      content: "";
      height: 1px;
      background: #252839;
      border: none;
      margin: 30px auto;
      margin-bottom: 0px;
      position: relative;
      margin-top: 15px;
  }
  .heading-block.white hr {
      background: #fff;
  }
  .heading-block.white h3:before {
      background: #fff;
  }
  .heading-block.white h3:after {
      background: #fff;
  }
  .heading .v-hr {
      position: relative;
      padding-bottom: 10px;
      margin-bottom: 30px;
  }
  .heading .v-hr:after {
      bottom: -5px;
      height: 1px;
      left: 0px;
      width: 50px;
      background: #252839;
      content: "";
      position: absolute;
  }
  .heading .v-hr:before {
      position: absolute;
      bottom: -8px;
      height: 1px;
      left: 0px;
      width: 30px;
      background: #252839;
      content: "";
  }
  .heading-block.white h4 {
      color: #fff;
  }
  .heading-block.white h3 {
      color: #fff;
  }
  .heading-block.white .huge-tittle {
      color: #fff;
  }
  .heading-block p {
      max-width: 610px;
      margin: 0 auto;
  }
  .heading-block.head-left {
      text-align: left;
  }
  .heading-block.head-left hr {
      margin-left: 0px;
  }
  .left-head h4 {
      display: block;
      text-align: left;
  }
  .left-head hr {
      margin: 25px 0;
  }
  .left-head p {
      margin: 0px;
      text-align: left;
      max-width: 410px;
  }
  .position-center-center {
      left: 50%;
      position: absolute;
      top: 50%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
  }
  
  ul li{
    list-style-type: none;
  }
  
  
  
  /*=======================================================
        Separator
  ========================================================*/
  .intro-small {
      max-width:1200px;
      margin:10px auto 0;
      padding:0 5%;
      text-align:center;

  }
  
  .intro-small.white p {
      color: #fff;
  }
  .about-ser {
      padding: 2% 8%;
  }
  .about-ser h3 {
      font-size: 20px;
      margin-top: 0px;
      margin-bottom: 15px;
      padding-bottom: 15px;
      font-weight: 600;
      position: relative;
  }
  .about-ser h3:before {
      position: absolute;
      bottom: 0px;
      height: 1px;
      left: 0px;
      width: 50px;
      background: #6c6c6c;
      content: "";
  }
  .about-ser h3:after {
      position: absolute;
      bottom: -3px;
      height: 1px;
      left: 0px;
      width: 30px;
      background: #6c6c6c;
      content: "";
  }
  .about-ser article i {
      margin-top: 0px;
      font-size: 40px;
      display: inline-block;
      margin-bottom: 20px;
  }
  .about-ser article a {
      font-size: 13px;
      font-weight: 600;
      margin-top: 10px;
      display: inline-block;
      position: relative;
  }
  .about-ser .heading-block h4 {
      font-weight: 500;
      font-size: 18px;
  }
  .about-ser article a:before {
      position: absolute;
      top: -5px;
      height: 1px;
      left: 0px;
      width: 0%;
      background: #6c6c6c;
      content: "";
      -webkit-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -ms-transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      transition: 0.2s ease-in-out;
  }
  .about-ser article a:after {
      position: absolute;
      bottom: -5px;
      height: 1px;
      left: 0px;
      width: 0%;
      background: #6c6c6c;
      content: "";
      -webkit-transition: 0.2s ease-in-out;
      -moz-transition: 0.2s ease-in-out;
      -ms-transition: 0.2s ease-in-out;
      -o-transition: 0.2s ease-in-out;
      transition: 0.2s ease-in-out;
  }
  
  .modal-dialog{
  margin-top:100px;
  }
  .blog-cards{
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap:wrap;
  }
.blog-item{
    max-width:400px;
    min-width:350px;
    /* text-align: center; */
}
.blog-image{
    width:300px;
    height:200px;
    overflow:hidden;
}
  .blog-image img{
    max-width:400px;
  }
  .blog-link{
    white-space: nowrap;
  }
  #fire{
    background-image: url('imageserver/Reusable/pabco23/fire-blog.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }
  #hoa{
    background-image: url('imageserver/Reusable/pabco23/hoa-blog.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }
  #color{
    background-image: url('imageserver/Reusable/pabco23/shingle-color-blog.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }
  @media screen and (max-width:992px)  {
          .cta{
          text-align:initial;
          margin:0 auto;
          width:151px;
      }
      .twist{
          width:40px !important;
      }
      .myButton {
          font-size:15px;
          padding:10px 27px;
          margin-top:20px;	
      }
      .about-ser {
          padding:5% 5% 10%;
      }
      .heading-block{
          margin-bottom:20px;
  }
      .assesment{
          position:relative;
          display:block;
          text-align:center;
          padding:15px 0 0;
      }
          .assesment h3{
          margin:20px 30px;
      }
      .section2{
          text-align:center;
      }
      .heading-block h4{
          margin-top:20px;
      }
  }
  @media screen and (max-width:768px)  {
      .hero-content h1{
      margin-top:0px;
      color:#fff;
    }
      .hero-content h3{
      margin:0px;
      color:#fff;
    }
      .myButton{
          font-size:14px;
          padding:10px 20px
      }
      #logo img{
          max-width:100px;
      }
      .about-ser {
          text-align:center;
      }
    .about-ser h3 {
      margin-top: 20px;
    }
      .about-ser .heading-block h2{
          font-size:26px;
      }
      .warranty-list{
          margin-top:30px;
      }
      .warranty-list li{
          margin-top:50px;
      }	
      .about-ser h3:before {
          bottom: 0px;
          left: 0px;
          right:0;
          width: 25%;
          margin:0 auto;
          text-align:center;		
      }
      .about-ser h3:after {	
          left: 0;
          right:0;
          width: 35%;
          margin:0 auto;
      }
  }
  @media screen and (max-width:500px)  {
      .about-ser{
          padding:23% 3% 0 3%;
      }
      .intro-small{
          text-align:center;
          padding:0 3%;
      }
  }
  @media screen and (max-width:350px)  {
      .about-ser{
          padding:35% 3% 0 3%;
      }
  }
  @media screen and (max-width:300px)  {
      .about-ser{
          padding:40% 3% 0 3%;
      }
  }