/*
Theme Name:    PetrieBuchanan
Theme URI:     https://elementor.com/
Description:   PetrieBuchanan is a child theme of Hello Elementor, created by Elementor team
Author:        Arcas Web Design
Author URI:    https://www.arcas.co.uk
Template:      hello-elementor
Version:        1.0.0
Text Domain:    petriebuchanan
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
@-webkit-keyframes petrieSlide {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
  }
  to {
    -webkit-transform: none;
            transform: none;
    opacity: 1;
    visibility: visible;
  }
}
@keyframes petrieSlide {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
  }
  to {
    -webkit-transform: none;
            transform: none;
    opacity: 1;
    visibility: visible;
  }
}
html {
  font-size: 62.5%; /* sets root font size to equivalent of 10px for easier rem calculation */
}

body {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-box-shadow: inset 4000px 0 0 0 rgba(0, 0, 0, 0.5);
          box-shadow: inset 4000px 0 0 0 rgba(0, 0, 0, 0.5);
}
@media (max-width: 767px) {
  body {
    background-position: 0% 50%;
  }
}

.page-content {
  padding-bottom: 7rem;
}

footer.elementor-location-footer {
  position: fixed;
  width: 100%;
  z-index: 999;
  bottom: 0;
}
@media (max-width: 991px) {
  footer.elementor-location-footer {
    position: static;
    z-index: auto;
  }
}
footer.elementor-location-footer a:link, footer.elementor-location-footer a:visited {
  color: #fff;
}
footer.elementor-location-footer a:hover, footer.elementor-location-footer a:active {
  color: #e50046;
}

.e-container.full-height {
  min-height: calc(100vh - 250px);
}
.e-container.container-main {
  min-height: calc(100vh - 250px);
}
@media (max-width: 767px) {
  .e-container.container-main {
    background: #fff;
    padding-top: 4rem;
    margin-top: 30rem;
  }
}
.e-container.container-main > .container-inner {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 4rem;
}
@media (max-width: 991px) {
  .e-container.container-main > .container-inner {
    padding: 1rem 3rem 3rem 3rem;
  }
}
.e-container.container-main.width-full {
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.8)));
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.8) 50%);
  -webkit-animation-name: petrieSlide;
          animation-name: petrieSlide;
  -webkit-animation-duration: 3s;
          animation-duration: 3s;
}
@media (max-width: 767px) {
  .e-container.container-main.width-full {
    background: #fff;
    padding-top: 4rem;
    margin-top: 30rem;
  }
}
.e-container.container-main.width-full > .container-inner {
  background-color: transparent;
}

.elementor-element .elementor-widget-slides.add-arrow .swiper-slide .swiper-slide-contents .elementor-slide-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.elementor-element .elementor-widget-slides.add-arrow .swiper-slide .swiper-slide-contents .elementor-slide-heading::before {
  /*content: url("img/arrow-right.svg");
  width:60px;
  height:60px;
  margin-right: 20px;*/
  content: "";
  width: 12rem;
  height: 12rem;
  margin-right: 20px;
  background-image: url("img/arrow-right.svg");
  background-size: contain;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background-repeat: no-repeat;
  margin-top: 1.3rem;
}
@media (max-width: 991px) {
  .elementor-element .elementor-widget-slides.add-arrow .swiper-slide .swiper-slide-contents .elementor-slide-heading::before {
    width: 12rem;
    height: 12rem;
  }
}
@media (max-width: 767px) {
  .elementor-element .elementor-widget-slides.add-arrow .swiper-slide .swiper-slide-contents .elementor-slide-heading::before {
    width: 7rem;
    height: 7rem;
  }
}
.elementor-element .elementor-widget-heading h1.elementor-heading-title {
  border-bottom: 3px solid #e50046;
  padding-bottom: 1.5rem;
}
.elementor-element .elementor-widget-heading.caption .elementor-heading-title {
  background-color: #e50046;
  color: #fff;
  text-align: left;
  font-size: 1.8rem;
  font-style: normal;
  padding: 12px;
  font-weight: 600;
  border-bottom: none;
  margin-top: -20px;
}
.elementor-element .elementor-widget-image figure.wp-caption figcaption {
  background-color: #e50046;
  color: #fff;
  text-align: left;
  font-size: 1.8rem;
  font-style: normal;
  padding: 12px;
  font-weight: 600;
  min-height: 75px;
}