/*
Theme Name: Trinity Roofing
Author: Jar Kuznecov
Author URI: https://vecro.tech/
*/

body {
  font-size: 15px; }

p {
  font-size: 15px; }

a {
  color: #0b7c9d; }

a:hover {
  color: #014a7f;
  text-decoration: none; }

.black {
  color: #000; }

#header {
  background-image: url("https://trinityroofingedinburgh.co.uk/wp-content/uploads/2018/03/header.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; }

.rating {
  margin-bottom: 30px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 7px; }

.grey-text {
  color: grey; }

.bg-grey {
  background-color: #f7f7f7; }

.van-block {
  border: 2px solid #56a6bc;
  border-radius: 7px; }

.van-block-text {
  background-color: #56a6bc;
  padding: 40px; }

.espc {
  background-color: #fff;
  padding: 10px; }

.hello {
  border-radius: 7px; }

.no {
  color: grey; }

.momo {
  background-color: green; }

.fa-phone {
  margin-right: 8px; }

.mail-top {
  margin-right: 20px; }

.top-nav {
  padding-top: 10px;
  padding-bottom: 10px; }

.p20top {
  padding-top: 20px; }

.btn-custom {
  border-radius: 30px;
  background-color: #0b7c9d;
  border: none;
  color: #fff; }

.btn-custom:hover {
  background-color: #014a7f; }

.margbot {
  margin-bottom: 5px; }

.btnslick {
  padding: 4px 15px;
  margin-left: 20px; }

.btnslickadjust {
  padding: 3px 15px; }

.btn-outline-danger {
  border-radius: 20px; }

.navbar {
  border-top: 1px solid #e5e5e5;
  padding-top: 5px;
  padding-bottom: 5px; }

.navbar-nav li a {
  font-weight: bold;
  font-size: 14px; }

.header-main {
  padding-top: 60px;
  padding-bottom: 140px; }

.header-main2 {
  padding-top: 80px;
  padding-bottom: 100px; }

.inner-header-main2 {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 10px 21px 0px rgba(0, 0, 0, 0.75); }

.img-logo {
  max-width: 150px; }

.header-text {
  padding-bottom: 20px; }

.stars {
  color: #f2c635; }

.green-line {
  background-color: #0b7c9d;
  padding-top: 7px;
  padding-bottom: 7px;
  color: #fff; }

.green-line-text {
  font-size: 14px;
  font-weight: bold; }

.p10 {
  padding-top: 10px;
  padding-bottom: 10px; }

.p30 {
  padding-bottom: 30px; }

.p50 {
  padding-top: 50px;
  padding-bottom: 50px; }

.text-logos {
  font-size: 30px;
  font-weight: bold;
  color: #808080; }

.grey-bg {
  background-color: #f3f3f3; }

.green-bg {
  background-color: #0b7c9d; }

.home-textblock {
  background-color: #f3f3f3;
  padding: 30px; }

.fa-custom {
  font-size: 36px;
  background-color: #0b7c9d;
  padding: 2px 10px 4px 10px;
  position: relative;
  top: -15px;
  left: 0px;
  color: #fff;
  border: 5px solid #6cafc1; }

.fa-text {
  padding-left: 10px; }

.svg-block {
  display: inline-block; }

.navbar-light .navbar-toggler {
  margin: 0 auto;
  background-color: #f7f7f7;
  border: 1px solid grey; }

.home-img1 {
  background-image: url("https://trinityroofingedinburgh.co.uk/wp-content/uploads/2018/03/roofer.webp");
  background-position: center;
  background-size: cover; }

.home-img2 {
  background-image: url("https://trinityroofingedinburgh.co.uk/wp-content/uploads/2018/03/roofer5.webp");
  background-position: center;
  background-size: cover; }

.mrg-right-10 {
  margin-right: 10px; }

.bg-green {
  background-color: #0b7c9d; }

.service-headline {
  background-image: url('https://trinityroofingedinburgh.co.uk/wp-content/uploads/2018/03/roofplates.webp'); 
  background-size: cover; 
  background-position: bottom;
}

/* YouTube facade styles */
.youtube-facade {
  position: relative;
  cursor: pointer;
  background-color: #000;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.youtube-facade img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube-facade .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0,0,0,.7);
  border-radius: 14px;
}
.youtube-facade .play-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}
.youtube-facade:hover .play-btn {
  background: #f00;
}

/* ---------------------------------------------MEDIA QUERIES CSS---------------------------------- */

@media only screen and (max-width: 992px) {
    .header-email, .header-emergency, .enquiries {
        display: none;
    } 

    .header-logo, .header-numbers {
        text-align: center !important;
    }

    .header-logo {
        padding-bottom: 15px;
    }

}

@media only screen and (max-width: 768px) {
    .map {
        display: none;
    }

    .home-img1 {
        height: 250px;
        margin-right: 15px;
        margin-left: 15px;
    }

    .home-img2 {
        display: none;
    }

    .p50block {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .car-block {
        margin-right: 15px;
        margin-left: 15px;
    }

    

}


@media only screen and (max-width: 576px) {


    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    .header-main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .service-block {
        padding-bottom: 30px;
        padding-right: 30px;
        padding-left:30px;
    }

    .fa-custom {
        font-size: 25px;
        left: 0px;
    }

    .fa-text {
        margin-left: 10px;
    }

    .fa-text-last {
        padding-bottom: 0px;
    }

    .contact-form {
        padding-bottom: 20px;
    }

    .button1 {
        display: none;
    }

    /* FAQ Section Mobile Overflow Fix */
    .accordion {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .accordion .card {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .accordion .card-header {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .accordion .card-header .btn-link {
        overflow-x: hidden;
        word-wrap: break-word;
        white-space: normal;
        text-align: left;
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding-right: 10px;
    }

    .accordion .card-body {
        overflow-x: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media only screen and (min-width: 576px) {
    .button2 {
        display: none;
    }
}
