/* 
Theme Name:		John Day
Theme URI:		john-day.co.uk
Author:			Studio Seventeen
Template:		hello-elementor
Version:		1.0.0
*/

/* Typography */
h1 {
    font-weight: 700;
    font-size: 3em;
}

h2 {
    font-weight: 700;
}

a {
    color: inherit;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

a:hover {
    color: #941b80;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

p a,
h4 a {
    border-bottom: 2px solid #941b80;
}

p a:hover,
h4 a:hover {
    border-bottom: 2px solid #312782;
}

p.caveat {
    font-size: .73em;
    margin-top: 10px;
}

p.caveat a {
    border-bottom: 2px solid #312782;
}

p.light.caveat a {
    border-bottom: 2px solid #fff;
}

.no-margin {
    margin: 0;
}

.light {
    color: #fff;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.intro {
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: .2em;
}

.purple {
    color: #941b80;
}

.blue {
    color: #312782;
}

.title {
    border-radius: 10px;
    padding: .2em;
    display: inline-block;
}

.title__blue {
    background: #312782;
    background-image: -webkit-gradient(linear, left top, right top, from(#110859), to(#312782));
    background-image: linear-gradient(90deg, #110859 0%, #312782 100%);
}

.title__purple {
    background: #941b80;
    background-image: -webkit-gradient(linear, left top, right top, from(#7B176A), to(#941b80));
    background-image: linear-gradient(90deg, #7B176A 0%, #941b80 100%);
}

h2.line {
    padding: 0 0 0 1em;
}

h2.line__purple {
    border-left: 4px solid #941b80;
}

h2.line__blue {
    border-left: 4px solid #312782;
}

li {
    font-size: 1em;
    line-height: 1.2em;
    font-family: "Rubik", Sans-serif;
    font-weight: 400;
    color: #57574D;
}

/* Top header */
.top-header a {
    color: #fff;
}

.top-header a:hover {
    color: #FFEC00;
}

/* Footer */
.main-footer a,
.main-footer a:hover {
    border-bottom: 0;
}

.main-footer a:hover {
    color: #FFEC00;
}

/* Bottom footer */
.bottom-footer a,
.bottom-footer a:hover {
    border-bottom: 0;
}

/* Lazy load images */

img[data-lazyloaded] {
    opacity: 0;
  }
  
  img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -o-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
  }

/* Layout */
.no-padding .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
    padding: 0;
}

.shadow {
    box-shadow: 0px 15px 33px 0px rgba(0, 0, 0, 0.3);
    padding: 0;
}

.border {
    border-radius: 10px 10px 10px 10px;
}

/* FAQ Accordian */
.elementor-accordion .elementor-accordion-item {
    border: none;
    border-bottom: 1px solid #d4d4d4;
}

/*  Tel box */
.tel-box a,
.tel-box a:hover {
    border-bottom: 0;
}

/* List box */
.list-box .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {
    padding: 0;
}

.list-box {
    border-radius: 10px;
}

.list-box__inner {
    padding: 2em;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.list-box h2 {
    font-family: "Rubik", Sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    color: #fff;
    background-color: transparent;
    margin: 0;
    padding: 1em 1em;
    border-radius: 10px 10px 0 0;
}

.list-box__contracting h2 {
    background-image: -webkit-gradient(linear, left top, right top, from(#110859), to(#312782));
    background-image: linear-gradient(90deg, #110859 0%, #312782 100%);
}

.list-box__decorating h2 {
    background-image: -webkit-gradient(linear, left top, right top, from(#7B176A), to(#941B80));
    background-image: linear-gradient(90deg, #7B176A 0%, #941B80 100%);
}

.list-box h4 {
    font-family: "Rubik", Sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 1.6em;
}

.list-box ul {
    padding-left: 2em;
    list-style: none;
}

.list-box li {
    margin-bottom: 1em;
}

.list-box li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
    content: "\f00c";
    margin: 0 1em 0 -2em;
}

/* Buttons */
.blue-btn a {
    background-color: #312782 !important;
}

.blue-btn a:hover {
    background-color: #110859 !important;
}

/* Project pagination */
.elementor-pagination {
    text-align: center;
    margin-top: 2em;
}

/* Hide Google ReCaptcha */
.grecaptcha-badge {
    visibility: hidden;
}

@media only screen and (min-width: 1024px) {
    .list-box__contracting {
        min-height: 624px;
    }

    .list-box__decorating {
        min-height: 446px;
    }
}

@media only screen and (max-width: 768px) {
    .title {
        font-size: 2.5em;
    }
}

@media only screen and (max-width: 420px) {
    .top-header span {
        display: none;
    }

    .top-header a {
        display: block;
    }

    .footer-nav .elementor-nav-menu--layout-horizontal .elementor-nav-menu,
    .footer-nav .elementor-nav-menu--main .elementor-nav-menu a {
        display: block;
        text-align: center;
    }
}