/* Edwin Harris Style.css */

html,
body {
  height: 100%;
}

body {
  font-family: 'Oxygen', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background-color: #fff;
  color: #3a3a3a;
}

/* Text
--------------------*/

a {
  color: inherit;
}

a:hover {
    color: #004990;
}

h5 {
  font-weight: bold;
  font-size: 20px;

}

.ad-icon {
  color: #004990;
}

.btn-primary {
  background-color: #004990 !important;
  border-color: #004990 !important;
}

.btn-primary:hover {
  background-color: #007bff !important;
  border-color: #007bff !important;
}


.btn-outline-secondary {
  color: #b59859 !important;
  border-color: #b59859 !important;
}

.btn-outline-secondary:hover {
  background-color: #b59859 !important;
  border-color: #b59859 !important;
  color: #fff !important;
}

.phone-info a:hover {
  color: #b59859 !important;
}

/* Cover
------------------------*/

#phone {
  padding: 1rem 0 0;
}

#cover {
  background: #222 url('https://edwinharrislowcostfunerals.co.uk/wp-content/uploads/2017/10/lilly.jpg') top center no-repeat;
  background-size: cover;
  color: #fff;
  height: 100%;

  position: relative;
}

#cover-caption {
  position: absolute;
  bottom: 30px;
  width: 100%;
}

.logoimg {
  max-height: 150px;
}

.Title {
  display: flex;
  align-items: center;
}

.Title h1 {
  font-size: 34px;
}

.Title span {
    font-size: 28px;
    display: block;
}

/* Nav
------------------------*/
.bg-dark {
  background: #272727 !important;
}

.logo span {
  font-size: 15px;
}

#sticky.stick {
  margin-top: 0 !important;
  position: fixed;
  top: 0;
  z-index: 10000;
  width: 100%;
}

@media (max-width: 1199px) {
  li.nav-item {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  li.nav-item {
    font-size: 1rem;
  }
}

/* Sections
-------------------------*/

.section-content {
  padding: 5rem 0;
}

.about-text {
  color: #000;
  padding: 1.87rem;
  font-size: 16px
}

.about-text h3 {
  font-size: 40px;
}

#involved {
  background: url('https://edwinharrislowcostfunerals.co.uk/wp-content/uploads/2017/10/candles.jpg') center center no-repeat;
  background-size: cover;
}

.involved-text {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1.87rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 4px;
}

#testimonials {
  background: url('https://edwinharrislowcostfunerals.co.uk/wp-content/uploads/2017/10/flowers.jpg') top center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#testimonials h3 {
  color: #000;
}

.test-bg {
  background: rgba(255, 255, 255, 0.5) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

p.quote {
  font-size: 14px;
}

p.quote i {
  color: #b59859 !important;
}

.centerflex {
  display: flex;
  align-items: center;
}

.costbox-text {
  border: 1px solid #b59859;
  padding: 1.87rem;
 border-radius: 4px;
}

h6.cost {
  font-size: 18px;
  font-weight: bold;
}

 .costings {
  padding: 1em 0;
 }

 .cost-list{
   padding: 1px !important;
 }

 td {
   border-color: #f5f5f5 !important;
   padding: 2px 0 !important;
 }

 /* Costing
 -----------------------*/

#cost {
  position: relative;
}

.card.cost {
  margin-top: 20px;
}

 .cost-text {
  font-size: 1rem;
  background: #FDFDFF;
  border-radius: 5px;
 }

 .costbox-text {
  font-size: 12px;
 }

 h4 {
   font-size: 18px;
   font-weight: 600;
   padding-bottom: 10px;
   border-bottom: 1px solid #b59859;
 }

.cost-text i.icon {
  font-size: 50px;
  margin-top: -5px;
  padding: 10px;
  padding-top: 0;
  width: 100%;
  text-align: right;
  color: #b59859;
 }

/* Footer
------------------------*/
#main-footer {
  background: #272727;
  color: #fff;
  padding: 2rem 0;
  font-size: 0.8rem;
}

#main-footer a, #footbottom a{
  color: #fff;
}

#footbottom {
  background: #222;
  padding: 0.8rem;
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.social i {
  color: #b59859 !important;
}

.social i:hover {
  color: #806c3f !important;
}


/* Back to the top
------------------------*/

.top-button {
  position: fixed;
  bottom: 30px;
  right: 30px;

  z-index: 100;
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  -webkit-transition: 1s;
  transition: 1s;
}

.top-button.show {
  visibility: visible;
  opacity: 1;
  -webkit-transition: 1s;
  transition: 1s;
}

/* Contact Form
-----------------------*/

.error {
  color: #d10000;
}

.success {
  color: #b59859 !important;
}

.wpcf7-submit {
  cursor: pointer;
}

div.wpcf7-mail-sent-ok, div.wpcf7-validation-errors {
  border: none !important;
}

/* Media
-----------------*/

@media screen and (min-width: 576px) {

  .about-text {
    font-size: 18px;
  }

  p.quote {
    font-size: 16px;
  }

  .card-deck .card {
    flex-basis: 100%; /* change this value for each breakpoint*/
  }
}

@media screen and (min-width: 768px) {

  .about-text {
    font-size: 20px;
  }

  .costbox-text {
   font-size: 1rem;
  }

  p.quote {
    font-size: 1.2rem;
  }

  .Title h1 {
    font-size: 50px;
  }

  .Title span {
      font-size: 30px;
      display: block;
  }

  .card-deck .card {
    flex-basis: 1%; /* change this value for each breakpoint*/
  }
}

@media screen and (min-width: 992px) {

}

@media screen and (min-width: 1200px) {

}
