
.product-page-content {
     margin-top: 130px;
}
@media (min-width: 320px) and (max-width: 480px) {
     .product-page-content {
     margin-top: 70px !important;
     }
}
@media (min-width: 481px) and (max-width: 767px) {
     .product-page-content {
     margin-top: 110px !important;
     }
}
@media (min-width: 768px) and (max-width: 1024px) {
     .product-page-content {
     margin-top: 130px !important;
     }
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
          .product-page-content {
     margin-top: 130px !important;
     } 
}
@media only screen and (min-device-width: 1024px) and (max-device-height: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait){
     .product-page-content {
          margin-top: 160px !important;
     }
}
@media only screen and (device-width: 1366px) and (device-height: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
     .product-page-content {
     margin-top: 150px !important;
     }
}
@media (min-width: 1025px) and (max-width: 1280px){
     .product-page-content {
     margin-top: 130px !important;
     }
}
h2.borderbottom span {
     position: relative;
     display: inline-block;
     padding: 10px;
     line-height: 50px;
     border-radius: 10px;
     border-bottom: 1px solid #f9b44d;
}

h2.borderbottom span:after {
     content: '';
     position: absolute;
     bottom: calc(-100% - 1px);
     margin-left: -10px;
     display: block;
     width: 100%; 
     height: 100%;
     border-radius: 10px;
     border-top: 1px solid #f9b44d;
}
.products {
     float: left;
     background-color: #ffffff;
     position: relative;
     width: 100%;
     max-width: 92%;
     margin: 0px 10px;
     height: auto;
     overflow: hidden;
     cursor: cell;
     box-shadow: 1px 1px 5px 2px #e0e0e0;

}

.img-main {
     width: 100%;
     height: 300px;
     background-size: cover;
}

.img-figure {
     position: relative;
}

.img-figure .img-overlays {
     position: absolute;
     width: 100%;
     height: 300px;
     background-size: cover;
     top: 0;
     opacity: 0;
     transition: opacity .9s ease;
}

.img-figure:hover .img-overlays {

     opacity: 1;
}

.contact-info i {
     color: #000;
     font-size: 40px !important;
     margin-bottom: 30px;
}

.contact-info a {
     color: #000;
}

.contact-info span {
     color: #000;
     text-align: center;
     padding: 18px;
     width: 100%;
     font-size: 22px;
     display: block;
}

.section-icon {
     margin-top: 100px;
}

.icon-img {
     width: 100%;
     height: auto;
     max-width: 20%;

}
.img-main img{
     height: 300px;
}
/* upstand & splashback start */
.upstands_img,
.splashbacks_img{
     text-align: center;
}
.upstands_img img,
.splashbacks_img img{
     width: 75%;
}
.all-round-img img,
.stunning-splashback-img img{
     width: 100%;
     vertical-align: center;
}
.all-round-section .c-col-6,
.practical-ustands-section .c-col-6,
.stunning-splashback-section .c-col-6{
     padding: 0px 20px;
     margin-bottom: 10px;
}

.all-round-text,
.stunning-splashback-text{
     padding-top: 10px;
}
/* @media (min-width: 768px) and (max-width: 1024px) {
     .upstands_img,
     .upstands_content,
     .splashbacks_img,
     .splashbacks_content{
          width: 70% !important;
     }
} */
.accordion-list{
     text-align: left;
     padding-left: 20px;
}
@media only screen and (max-width: 800px){
     .accordion-title {
          font-size: 15px !important;
     }
     .accordion-list{
     padding-left: 10px;
     }
     .upstands_img img,
     .splashbacks_img img{
     width: 75%;
}
}
@media only screen and (max-width: 480px){
     .upstands_img img,
     .splashbacks_img img{
     width: 100%;
     }
     h2.about-content{
          font-size: 28px !important;
     }
     .upstands_content,
     .massive-content,
     .all-round-block2,
     .splashbacks_content,
     .stunning-splashback-block2,
     .authentic-block2{
          margin-bottom: 0px !important;
     }

}
/* upstand & splashback end */

/**************************** Architect & contractor start************************/

/* contact Form */
/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --white: #afafaf;
  --red: #e31b23;
  --borderFormEls: hsl(0, 0%, 10%);
  --bgFormEls: hsl(0, 0%, 14%);
  --bgFormElsFocus: hsl(0, 7%, 20%);
}

button,
label {
  cursor: pointer;
}

select {
  appearance: none;
}

/* Remove native arrow on IE */
select::-ms-expand {
  display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/
select:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 var(--white);
}

textarea {
  resize: none;
}

ul {
  list-style: none;
}

.form-container{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  z-index: 10;
}


/* FORM ELEMENTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.architect-form-section{
     padding: 50px 0px;
}
.my-form h3 {
  margin-bottom: 1.5rem;
  font-size: 40px;
  color: #27486e;
  text-align: center; 
}

.my-form li,
.my-form .grid > *:not(:last-child) {
  margin-bottom: 1.5rem;
}

.my-form select,
.my-form input,
.my-form textarea,
.my-form button {
  width: 100%;
  line-height: 1.5;
  padding: 15px 10px;
  border: 1px solid var(--borderFormEls);
  color: var(--white) !important;
  background: #495057;
  transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
    transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form textarea {
  height: 170px;
}

.my-form ::placeholder {
  color: inherit;
  /*Fix opacity issue on Firefox*/
  opacity: 1;
}

/* .my-form select:focus,
.my-form input:focus,
.my-form textarea:focus,
.my-form button:enabled:hover,
.my-form button:focus{
  background: var(--bgFormElsFocus);
} */

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus {
  transform: scale(1.02);
}

.my-form *:required,
.my-form select {
  background-repeat: no-repeat;
  background-position: center right 12px;
  background-size: 12px 12px;
}

.my-form *:required {
  background-image: url(../images/icons/required.png);  
}

.my-form select {
  background-image: url(../images/icons/downarrow.png);
}

/* FORM BTNS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form .required-msg {
  display: none;
  background: url(../images/icons/required.png)
    no-repeat center left / 15px 15px;
  padding-left: 20px;
}

.my-form .btn-grid {
  position: relative;
  overflow: hidden;
  transition: filter 0.2s;
}

.my-form button {
  font-weight: bold;
}

.my-form button > * {
  display: inline-block;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.my-form button .back {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-110%, -50%);
}

.my-form button:enabled:hover .back,
.my-form button:focus .back {
  transform: translate(-50%, -50%);
}

.my-form button:enabled:hover .front,
.my-form button:focus .front {
  transform: translateX(110%);
}


/* CUSTOM CHECKBOX
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form input[type="checkbox"] {
  position: absolute;
  left: -9999px;
}

.my-form input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding-left: 2rem;
  transition: background 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
  width: 70% !important;
  color: #242424;
}

.my-form input[type="checkbox"] + label::before,
.my-form input[type="checkbox"] + label::after {
  content: '';
  position: absolute;
}

.my-form input[type="checkbox"] + label::before {
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--white);
}

.my-form input[type="checkbox"]:checked + label::before {
  background: #007bff;
}

.my-form input[type="checkbox"]:checked + label::after {
  left: 7px;
  top: 18px;
  width: 6px;
  height: 14px;
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}


/* MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 320px) and (max-width: 480px) {
     .my-form input[type="checkbox"] + label {
           width: 100% !important;
           margin-bottom: 40px;
     }
     .my-form input[type="checkbox"]:checked + label::after{
          top: 7px;
     }
}
@media (min-width: 481px) and (max-width: 767px) {
     .my-form input[type="checkbox"] + label {
          width: 100% !important;
          margin-bottom: 40px;
     }
     .my-form input[type="checkbox"]:checked + label::after{
         top: 0px; 
     }
}
@media screen and (min-width: 601px) {
  .my-form .grid {
    display: grid;
    grid-gap: 1.5rem;
  }

  .my-form .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .my-form .grid-3 {
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .my-form .grid > *:not(:last-child) {
    margin-bottom: 0;
  }

  .my-form .required-msg {
    display: block;
  }
}

@media screen and (min-width: 541px) {
  .my-form input[type="checkbox"] + label::before {
    top: 50%;
    transform: translateY(-50%);
  }

}
/* contact form End */


.section-contractor-content {
        margin-top: 2rem;
    }

    .header-section{
     padding: 200px 0px 20px;
    }


    h3[id]{
        cursor: pointer;
        margin: 0 0 1rem -4rem;
        padding: 2rem 0;
        width: calc(100% + 8rem);
        transition: all 1s, color 0s;
    }


    h3[id]::before {
        display: inline-block;
        width: 2rem;
        height: 2rem;
        border-radius: 1rem;
        margin: 0 1rem;
        content: "#";
        text-align: center;
        line-height: 2rem;
        color: #f9b44d;
        background: #fafafa;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        transition: all 0.125s;
    }

    section.visible h3[id] {
        padding: 2rem;
        /* background: linear-gradient(90deg, rgba(243, 72, 104, 1) 20%, rgba(242, 71, 103, 1) 20%, rgba(227, 9, 49, 1) 80%); */
        /* color: #fafafa; */
        /* text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); */
    }

    section.visible h3[id]::before {
        text-shadow: none;
    }

    section.visible h3[id]:hover::before{
        background: #fafafa;
        color: #27486e;
    }

    .content-container-catagory {
        display: flex;
        /* flex-direction: row-reverse; */
        background: #fafafa;
        padding: 50px;
    }

    .content-container-catagory .content-sidebar {
        flex: 0 0 25%;
        padding: 0 1rem;
        /* border-left: 1px solid rgba(0, 0, 0, 0.1); */
        /* border-right: 1px solid rgba(0, 0, 0, 0.1); */
        /* background: #fafafa; */
        
    }

    .content-container-catagory .content-sidebar .content-navigation {
        position: sticky;
        top:  0;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 2rem 0;
    }

    .content-container-catagory .content-sidebar a {
        display: block;
        padding: 1rem 0;
        text-decoration: none;
        color: #27486e;
        font-size: 22px;
    }

    .content-container-catagory .content-sidebar a.visible {
        color: #f9b44d;
    }

    .content-container-catagory .content-sidebar a.visible~a {
        color: #27486e;
    }

    .content-container-catagory .content-sidebar .content-navigation-title {
        margin: 0;
        font-size: 1rem;
        font-weight: normal;
        text-transform: uppercase;
        color: #a0a0a0;
    }

    .content-container-catagory .content-wikiArticle {
        flex: 0 1 75%;
        padding: 1rem 4rem;
        font-size: 1.1rem;
        line-height: 1.6;
        /* background: #fafafa; */
        /* overflow-x: scroll; */
    }

    .contractor-img{
        padding: 0px 0px 20px;
        text-align: center;
    }
    .contractor-img img{
         width: 100%;
         height: auto;
    }
    .rivaling_list{
         list-style-type: disc;
         padding: 0px 20px 0px 40px;
         line-height: 1.8;
    }
    @media (max-width: 767px){
     .content-container-catagory{
          display: block;
     }
     .content-container-catagory .content-sidebar .content-navigation{
          text-align: center;
     }
     .content-container-catagory .content-wikiArticle{
          padding: 0 1rem;
     }
     .contractor-img img{
          width: 100%;
     }
    }

.content-horz-list {
  margin: 20px auto 40px;
}
.horz-list {
     position: relative;
}

.horz-list ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

.horz-list ul li {
  display: inline;
}

.horz-list ul li a {
  cursor: pointer !important;
  color: #27486e;
  text-decoration: none;
  padding: 0.2em 1.1em;
  border-right: 1px solid #f9b44d;
  margin: 0 0 0 -6px;
  transform: scale(1.1);
}

.horz-list ul li a:hover{
     transition: 1s ease-in-out;
}

.horz-list ul li:last-child a {
  border: none;
}

/**************************** Architect & contractor end************************/