/* --- CUSTOM CSS STYLES --- */


.section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.name {
    width: 200px;   
}

#map {
    width: 100%;
}

#name {
    margin-top: 0px;
}

.antiSpam {
padding: 0 20px 0 20px;
}

p.emailSent{
text-align: center;
color: #16a085;
font-weight: 700;
margin-bottom: 50px;
}

p.errorMessage{
text-align: center;
color: #ef264d;
font-weight: 700;
margin-bottom: 50px;
}

.header-contact p {
display: block;
width: 160px !important;
font-family: inherit;
font-size: 0.9rem;
color: #ffffff;
font-weight: normal;
line-height: 1.2;
margin-bottom: 1.25rem;
text-rendering: optimizelegibility;
float: left;
position: absolute;
top: 16px;
left: 240px;
}

.header-contact a,
.header-contact a:link,
.header-contact a:visited {
color: #ffffff;
}

.header-contact a:hover {
color: #ffffff;
text-decoration:underline;
}

.footer-form .medium-push-3 {
    position: relative;
    left: 0 !important;
    right: auto; }

.contact-header p {
    margin-bottom: 40px;
    width: 60%;
}

p.contact-details  {
    display: inline;
    float:left;
    color: #ffffff;
}

.logo {
    width: 250px;
}


/* --- TOP BAR STYLES --- */
.has-form {
  position: absolute;
  top: 0;
  left: 6rem;
  min-width: 14rem; }
  @media only screen and (max-width: 40em) {
    .has-form {
      min-width: 10rem;
      top: 0.5rem; }
      .has-form .button {
        height: 1.85rem; }
  }


a.ion-ios-email:link, 
a.ion-ios-email:visited,
a.ion-ios-email:hover,
a.ion-ios-email:active {
    font-size: 300% !important;
    color: white;
    position: absolute;
    top: 20px;
    left: 240px;
    z-index: 100;
}

.telephone-number {
    position: absolute;
    right:8px;
    top: 45px;
    width:530px;
}

.telephone-number p {
    color: #fff;
    font-weight: 500;
    font-size: 30px;
    text-align: right;
    position: absolute;
    top: 10px;
    right: 20px;
    width:auto;
}


.ion-ios-arrow-up {
    font-size: 170% !important;
}

/* --- HERO IMAGE STYLES --- */
.hero {
  background: url(../img/roofer.jpg) no-repeat center center;
  background-size: cover;
  height: 100vh; }
  .hero:before {
    content: '';
    position: absolute;
    top: 45px;
    right: 0;
    bottom: 0;
      left: 0;}
  .hero .intro {
    position: relative;
    top: 230px;}
  .hero h1 {
    color: #fff;
    font-size: 2rem;
    line-height: 1em;
    letter-spacing: -0.025em;
    text-align: center; }
  .hero p {
    color: #fff;
     font-size: 1.6rem;
    line-height: 1.75em;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;}
  .hero .tech-img {
    background: url('../img/contact-img.jpg') no-repeat center center;
    background-size: cover;
    background-position: left;
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    display: block;
    margin: 0 auto; }
  @media only screen and (min-width: 40.063em) {
    .hero .tech-img {
      height: 18rem;
      width: 18rem; }
    .hero h1 {
      padding-top: 0;
      text-align: right;
      font-weight: 700;
      font-size: 3rem;
      letter-spacing: 1px;}
    .hero p {
      text-align: right; } }

.header-buttons {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

button, .button { 
    width: 90%; 
}


.hero.btn-intro {
    position: relative;
    top:110px;
}


/* --- ABOUT US STYLES --- */

section.andy-maymen {
  padding: 60px 0 60px 0;
}

.knowledge {
    text-align: center;
    padding: 0 10% 0 10%;
}

.andy-maymen hr {
    width: 25%;
    margin: 1rem auto;
}

.andy-maymen-info {
   padding-top: 8px;
}

.andy-image-column {
   padding-top: 30px;
}

.andy-photo{
    float: right;
}

.andy-maymen-history{
    text-align:center;
    padding: 0 10% 0 10%;
}


section.about-us {
  padding: 60px 0 60px 0;
  background-color: blue;
  background-image: url('../img/van-image.jpg');
  background-attachment:fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-heading-about h1 {
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
}

.features {
  text-align: center; }
  .features hr {
    width: 25%;
    margin: 1rem auto; }
  .features .round-icon {
    background-color: #3255b3;
    border-radius: 50%;
    display: table;
    height: 100px;
    margin: 30px auto 1rem;
    width: 100px;
    font-size: 3rem; }
    .features .round-icon span {
      color: #fff;
      display: table-cell;
      text-align: center;
      vertical-align: middle; }
  @media only screen and (max-width: 40em) {
    .features .columns {
      margin-bottom: 0rem; } }


.row.section-heading-about {
   padding: 0 10% 0 10%;
   text-align: center;
   color:#a7a9ac;
}

.ion-trophy {
    font-size: 95%; 
}

.about-us-title {
    color:#ffffff; 
}

.about-us-text {
    color:#ffffff;
    text-align: center;
    padding: 0 10% 0 10%;
}

/* --- SOLUTIONS STYLES --- */
section.solutions {
    padding: 40px 0 40px 0;
    background-color:#F3F3F3;
}

.solution-panel {
   position: relative;
}

#modalFire {
    border: none !important;
}

.ion-flame {
    color: #ffffff;
    font-size: 2.2em;
    padding-left: 30px;
}

.ion-volume-medium {
    color: #ffffff;
    font-size: 2.5em;
    padding-left: 30px;
}

.ion-volume-medium h2 {
    font-size: 63%;
}

.ion-flame h2 {
    font-size: 63%;
}

.modalTitle {
    color: #ffffff;
    font-size: 0.7em;
    margin: 0 0 15px 0;
    line-height: 1em;
}

#modalFire{
    border: none !important;
}

#modalAcoustics{
    border: none !important;
}

#modalDry{
    border: none !important;
}

#modalTimber{
    border: none !important;
}

#modalGroundworks{
    border: none !important;
}

#modalBrickwork{
    border: none !important;
}

#modalRoofing{
    border: none !important;
}

#modalFlatRoofing{
    border: none !important;
}

#modalDry{
    border: none !important;
}

.fire-protection {
    display: block;
    width: 100%;
    background-color: red;
}


 #fire-modal {
    background: rgba(196,67,27,1);
    background: -moz-linear-gradient(left, rgba(196,67,27,1) 0%, rgba(236,132,29,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(196,67,27,1)), color-stop(100%, rgba(236,132,29,1)));
    background: -webkit-linear-gradient(left, rgba(196,67,27,1) 0%, rgba(236,132,29,1) 100%);
    background: -o-linear-gradient(left, rgba(196,67,27,1) 0%, rgba(236,132,29,1) 100%);
    background: -ms-linear-gradient(left, rgba(196,67,27,1) 0%, rgba(236,132,29,1) 100%);
    background: linear-gradient(to right, rgba(196,67,27,1) 0%, rgba(236,132,29,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c4431b', endColorstr='#ec841d', GradientType=1 );
 }

 #acoustics-modal {       
    background: rgba(253,195,55,1);
    background: -moz-linear-gradient(left, rgba(253,195,55,1) 0%, rgba(247,229,9,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(253,195,55,1)), color-stop(100%, rgba(247,229,9,1)));
    background: -webkit-linear-gradient(left, rgba(253,195,55,1) 0%, rgba(247,229,9,1) 100%);
    background: -o-linear-gradient(left, rgba(253,195,55,1) 0%, rgba(247,229,9,1) 100%);
    background: -ms-linear-gradient(left, rgba(253,195,55,1) 0%, rgba(247,229,9,1) 100%);
    background: linear-gradient(to right, rgba(253,195,55,1) 0%, rgba(247,229,9,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdc337', endColorstr='#f7e509', GradientType=1 )
 }


 #dry-modal {      
    background: rgba(11,63,115,1);
    background: -moz-linear-gradient(left, rgba(11,63,115,1) 0%, rgba(123,175,214,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(11,63,115,1)), color-stop(100%, rgba(123,175,214,1)));
    background: -webkit-linear-gradient(left, rgba(11,63,115,1) 0%, rgba(123,175,214,1) 100%);
    background: -o-linear-gradient(left, rgba(11,63,115,1) 0%, rgba(123,175,214,1) 100%);
    background: -ms-linear-gradient(left, rgba(11,63,115,1) 0%, rgba(123,175,214,1) 100%);
    background: linear-gradient(to right, rgba(11,63,115,1) 0%, rgba(123,175,214,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b3f73', endColorstr='#7bafd6', GradientType=1 );
     position: relative;
    z-index: 10000;
 }

 #timber-modal {        
    background: rgba(81,14,94,1);
    background: -moz-linear-gradient(left, rgba(81,14,94,1) 0%, rgba(132,99,164,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(81,14,94,1)), color-stop(100%, rgba(132,99,164,1)));
    background: -webkit-linear-gradient(left, rgba(81,14,94,1) 0%, rgba(132,99,164,1) 100%);
    background: -o-linear-gradient(left, rgba(81,14,94,1) 0%, rgba(132,99,164,1) 100%);
    background: -ms-linear-gradient(left, rgba(81,14,94,1) 0%, rgba(132,99,164,1) 100%);
    background: linear-gradient(to right, rgba(81,14,94,1) 0%, rgba(132,99,164,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#510e5e', endColorstr='#8463a4', GradientType=1 );
 }

 #groundworks-modal {                
    background: rgba(101,12,41,1);
    background: -moz-linear-gradient(left, rgba(101,12,41,1) 0%, rgba(196,30,41,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(101,12,41,1)), color-stop(100%, rgba(196,30,41,1)));
    background: -webkit-linear-gradient(left, rgba(101,12,41,1) 0%, rgba(196,30,41,1) 100%);
    background: -o-linear-gradient(left, rgba(101,12,41,1) 0%, rgba(196,30,41,1) 100%);
    background: -ms-linear-gradient(left, rgba(101,12,41,1) 0%, rgba(196,30,41,1) 100%);
    background: linear-gradient(to right, rgba(101,12,41,1) 0%, rgba(196,30,41,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#650c29', endColorstr='#c41e29', GradientType=1 );
 }

 #brickwork-modal {           
    background: rgba(9,93,86,1);
    background: -moz-linear-gradient(left, rgba(9,93,86,1) 0%, rgba(105,189,179,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(9,93,86,1)), color-stop(100%, rgba(105,189,179,1)));
    background: -webkit-linear-gradient(left, rgba(9,93,86,1) 0%, rgba(105,189,179,1) 100%);
    background: -o-linear-gradient(left, rgba(9,93,86,1) 0%, rgba(105,189,179,1) 100%);
    background: -ms-linear-gradient(left, rgba(9,93,86,1) 0%, rgba(105,189,179,1) 100%);
    background: linear-gradient(to right, rgba(9,93,86,1) 0%, rgba(105,189,179,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#095d56', endColorstr='#69bdb3', GradientType=1 );

 }

 #roofing-modal {        
    background: rgba(6,80,27,1);
    background: -moz-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(6,80,27,1)), color-stop(100%, rgba(125,187,105,1)));
    background: -webkit-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -o-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -ms-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: linear-gradient(to right, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#06501b', endColorstr='#7dbb69', GradientType=1 );
 }

 #flat-roofing-modal {         
    background: rgba(6,80,27,1);
    background: -moz-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(6,80,27,1)), color-stop(100%, rgba(125,187,105,1)));
    background: -webkit-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -o-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: -ms-linear-gradient(left, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    background: linear-gradient(to right, rgba(6,80,27,1) 0%, rgba(125,187,105,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#06501b', endColorstr='#7dbb69', GradientType=1 );
 }


.white-modal {
    display: block;
    background-color: #ffffff;  
}

#modalTitle {
    padding: 20px 0 20px 30px;
    color: #ffffff;
}

.modal-list {
    padding: 20px 0 0px 30px;
}

.modal-button {
    margin: 20px 0 20px 25px;
}

/* --- BRANDS STYLES --- */
section.brands {
    padding: 40px 0 90px 0;
}

/* --- IMAGE SLIDER STYLES --- */
section.sliding-images {
    padding: 40px 0 0 0;
}

.sliding-images p {
    width: 60%;
}

.row.gallery-text {
    text-align: center;
    padding: 40px 0 40px 0;
    background-color: #F3F3F3;
    max-width: 100%;
}

.row.image-slider {
    max-width: 100%;
    width:100%;
}

.owl-pagination {
    position:absolute;
    z-index:500;
    background-color: #000;
    opacity: 0.5;
    bottom: 0px;
    width: 100%;
    height: 50px;
}

.owl-prev {
    position: absolute;
    top:35%;
    left:-5px;
    z-index:500;
}

.owl-prev::after {
    content: "\f124";
    font-family: "Ionicons";
    font-size: 30px;
    color: #fff;
}

.owl-next {
    position: absolute;
    top:35%;
    right:-5px;
    z-index:500;
}

.owl-next::after {
    content: "\f125";
    font-family: "Ionicons";
    font-size: 30px;
    color: #fff;
}

.image-1 {
    background-image: url('../img/image-1.jpg');
    background-size:cover;
    background-position: center;
    height: 600px;
}

.image-2 {
    background-image: url('../img/image-2.jpg');
    background-size:cover;
    height: 600px;
}

.image-3 {
    background-image: url('../img/image-3.jpg');
    background-size:cover;
    height: 600px;
}

.image-4 {
    background-image: url('../img/image-4.jpg');
    background-size:cover;
    height: 600px;
}

.image-5 {
    background-image: url('../img/image-5.jpg');
    background-size:cover;
    height: 600px;
}

.image-6 {
    background-image: url('../img/image-6.jpg');
    background-size:cover;
    height: 600px;
}

.image-7 {
    background-image: url('../img/image-7.jpg');
    background-size:cover;
    height: 600px;
}

.image-8 {
    background-image: url('../img/image-8.jpg');
    background-size:cover;
    height: 600px;
}

.image-9 {
    background-image: url('../img/image-9.jpg');
    background-size:cover;
    height: 600px;
}

.image-10 {
    background-image: url('../img/image-10.jpg');
    background-size:cover;
    height: 600px;
}

/* --- MAP STYLES --- */

section.map {
  padding: 60px 0 0 0;
    background-color: #F3F3F3;
}

.location {
    text-align: center;
    padding: 0 10% 0 10%;
    margin-bottom: 3rem;
}

.andy-maymen-history{
    text-align:center;
    padding: 0 10% 0 10%;
}

/* --- FOOTER STYLES --- */
.footer {
    padding: 40px 0 90px 0;
    background-color:#e3e3e3;
}


.form-messages {
    width: 70%;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.contact-button {
    margin-left: 0px;
}

.van-image {
    border:none;
    width: 80%;
    float: right;
}

.footer-logo{
    width: 65%;
    margin-bottom: 20px;
    padding-left: 20px;
}



@media only screen and (max-width: 1100px) {
     .header-contact p {
      display: none;}
}

@media only screen and (max-width: 1077px) {
    .top-bar-section li:not(.has-form) a:not(.button)
    {
      background: #22397d;
      line-height: 2.8125rem;
      padding: 0 0.7rem; }
    }

@media only screen and (max-width: 1050px) {
    .footer{ padding: 40px 40px 90px 40px; }
}

@media only screen and (max-width: 1024px) {
    .footer{ padding: 40px 40px 90px 40px; }
    .hero h1 { padding-top: 0rem; }
    section.brands { padding: 40px 0px 40px 0px; }
    section.solutions { padding: 40px 0px 20px 0px; }
    .hero .intro { position: relative; top: 150px; transform: none;}
}


@media only screen and (max-width: 940px) {
    .footer{ padding: 40px 40px 90px 40px; }
    .home {border:none !important}
    .hero { background: url(../img/roofer.jpg) no-repeat center center; height: 730px; }
    .hero .intro { position: relative; top: 100px; }
    .header-contact p {
        display: block;
    }
}
    
@media only screen and (min-width: 877px) {
  .contact-button { margin-left: 0px; }
  .hero .intro { position: relative; top: 300px; }
  .header-buttons { position: absolute; left:-220px; top: 300px; }
    .hero { height: 600px;}
    button, .button { width: 200px; margin-right: 10px;}
}

@media only screen and (max-width: 800px) {
    button.alert, .button.alert { display:none;}
}

@media only screen and (min-width: 1026px) {
    .header-buttons { position: absolute; left:-135px; top: 190px; }
}


@media only screen and (max-width: 768px) {
  .contact-button { margin-left: 15px; }
  .contact-header { padding: 0 20px 0 20px; }
  .contact-header p { margin-bottom: 0.5rem; }
    .hero h1 { padding-top: 0; font-weight: 600; }
  .contact-button { margin-left: 0px; }
    .hero .intro { position: relative;}
}
    
@media only screen and (min-width: 640px) 
  .contact-button { margin-left: 0px;}
  .hero .intro { position: relative; top: 150px;}
  .telephone-number p { font-size: 25px; }
}

@media only screen and (max-width: 640px) {
  .contact-button { margin-left: 0px; }
  .contact-header { padding: 0 20px 0 20px }
  .contact-header p { margin-bottom: 0.5rem;}
  .intro-button-desktop { display: none !important; }
  .small-6 { width: 50%; padding: 5px; }
  .small-6.img { text-align: center; }
  .intro-button-mobile {display: block; margin: 0 auto; margin-top: 30px;  z-index: 100; width: 90%;}
  section.andy-maymen { padding: 20px 0px; }
  section.about-us { padding: 10px 0 40px 0; }
  p.about-us-text { margin-bottom: 0rem; }
  .location { margin-bottom: 1rem; }
  section.map { padding: 30px 0px 0px; }
  .solutions .section-heading { margin-bottom: 0px; }
  section.solutions, section.brands { padding: 20px 0px; }
  .hero .intro { position: relative; top: 100px;}
  .hero h1 { padding-top: 35px; font-weight: 600;}
  .contact-button { margin-left: 0px; }
}

@media only screen and (max-width: 583px) {
  .andy-image-column { padding-top: 0px;} 
  .andy-photo { float:none; margin: 0 auto; }
  .andy-maymen-history {text-align: center;}
  .telephone-number p { font-size: 20px; }
}

@media only screen and (max-width: 480px) {
  .footer { padding: 40px 20px 90px 20px; }
  .hero .intro { padding-top: 0; }
  a.ion-ios-email { position: absolute; top: 50px; left: 185px !important; }
  .telephone-number p { font-size: 16px; }
}

@media only screen and (max-width: 460px) {
  .header-contact p {
        display: none;
    }

}

@media only screen and (max-width: 443px) {
  .telephone-number p { display: none;}
}


@media only screen and (min-width: 1026px) {
     .hero .intro { position: relative; top: 200px; }
}


/* --- IOS iPhone 5 Portrait Styles --- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) { .row .btn-intro { margin-top: 0px; }
}


