#page-bottom {
    position: relative;
    z-index: 3;
    background: #575756;
}

/* top footer border of four lines */
.border-container {
    /* display: flex; */
    display: none;
    justify-content: space-between;
    height: 20px; /* Adjust the height as needed */
    padding: 0;
}
.border-line {
    flex: 1;
    height: 12px; /* Adjust the height of each line as needed */
    background-color: #FFF; /* Adjust the color as needed */
}
.border-line:not(:last-child) {
    margin-right: 10px; /* Adjust the gap between lines */
}

/* Footer social media */
#page-bottom .social-media a {
    font-size: 0;
}

/* Footer */
#page-bottom * {
    text-align: center;
    color: #fff;
    font-size: 18px;
}
#page-bottom p {
    padding-bottom: 5px;
    margin-bottom: 0px;
}
#page-bottom p:last-child {
    padding-bottom: 0;
    text-align: left;
}
#page-bottom hr {
    margin-top: 15px;
}

/* Bootstrap overrides */
#page-bottom .container {
    position: relative;
    padding-top: 45px;
}
/* Padding top value is the combination of the height of the back to top trigger and spacing-bottom-large */
#page-bottom hr + .row,
#page-bottom .row + .row {
    margin-top: 25px;
}
/* Spacing to match .spacing-top style */
#page-bottom [class*="col-"] {
    position: static;
}
#page-bottom [class*="col-xs"]:nth-child(1n + 2) {
    padding-top: 25px;
}
/* Spacing to match .spacing-top style */
#page-bottom .hidden-phone + [class*="col-"] {
    padding-top: 0;
}

/* footer logo row */
.footer-logo-row {
    display: flex;
    justify-content: space-between;
}

/* Back to top */
#back-to-top-wrapper {
    position: absolute;
    top: 0;
    left: calc(50% - 12.5px);
}
#back-to-top-trigger {
    display: block;
    width: 25px;
    height: 25px;
    margin: 0 auto;
}
#back-to-top-trigger .trigger-icon {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    background: transparent url("/assets/svg/up-arrow.svg") no-repeat center;
    background-size: cover;
    opacity: 0.8;
    -webkit-transition: opacity 0.35s ease;
    -moz-transition: opacity 0.35s ease;
    -o-transition: opacity 0.35s ease;
    transition: opacity 0.35s ease;
}
#back-to-top-trigger .trigger-icon:hover {
    opacity: 1;
}

/* Inactive state */
#back-to-top-wrapper.inactive #back-to-top-trigger .trigger-icon {
    /* opacity: 0.25; */
}

/* footer headings */
.footer-heading {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
}

/* Contact */
#page-bottom .company-address p {
    text-align: center;
    line-height: 1.3;
}

/* Company */
#page-bottom .company {
    padding-top: 15px;
}

/* Designed and Developed by */
#page-bottom .developers {
    padding-top: 40px;
    background: transparent url("/assets/svg/jones-and-palmer-logo.svg") no-repeat top center;
    background-size: 35px 35px;
}
#page-bottom .developers a {
    display: block;
}

/* Footer items */
#footer-items {
    list-style-type: none;
    margin: 0;
    line-height: 1.2;
    padding: 0;
    text-align: center;
}
#footer-items li {
    margin-bottom: 10px;
}
#footer-items li:last-child {
    margin-bottom: 0;
}

/* Shop our Brands items */
#shop-our-brands-items {
    list-style-type: none;
    margin: 0;
    line-height: 1.2;
    padding: 0;
}
#shop-our-brands-items li {
    margin-bottom: 10px;
}
#shop-our-brands-items li:last-child {
    margin-bottom: 0;
}

/* Useful items */
#useful-items {
    list-style-type: none;
    margin: 0;
    line-height: 1.2;
    padding: 0;
}
#useful-items li {
    margin-bottom: 10px;
}
#useful-items li:last-child {
    margin-bottom: 0;
}
#useful-items li a {
    text-decoration: underline;
    color: #EDEDE3;
    font-weight: 400;
}
#useful-items li a:hover {
    color: #FFFFFF;
}

/* Social media */
.social-media {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.social-media li {
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
}
.social-media li:last-child {
    margin-right: 0;
}
.social-media a {
    width: 20px;
    height: 20px;
    font-size: 0;
    display: block;
    position: relative;
    margin: 0 auto;
    opacity: 1;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
}
.social-media a.linkedin {
    background-image: url("/assets/svg/linkedin-logo.svg");
}
.social-media a.youtube {
    background-image: url("/assets/svg/youtube-logo.svg");
}
.social-media a[class*="email"] {
    background-image: url("/assets/svg/email-icon-white.svg");
}
.social-media a.twitter {
    background-image: url("/assets/svg/twitter-logo.svg");
}
.social-media a.rss {
    background-image: url("/assets/svg/rss-icon-white.svg");
}
.social-media a.facebook {
    background-image: url("/assets/svg/facebook-logo.svg");
}
.social-media a.instagram {
    background-image: url("/assets/svg/instagram-logo.svg");
}
.social-media a.pinterest {
    background-image: url("/assets/svg/pinterest-icon.svg");
}

/* Footer social media */
#page-bottom .social-media a {
    font-size: 0;
}

/* subscribe button */
.subscribe-footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subscribe-button {
    display: flex;
    transition: 350ms ease;
}
.subscribe-button:hover .subscribe-icon {
    background-color: #878787;
    transition: 350ms ease;
}
.subscribe-button .subscribe-name {
    padding: 5px 16px;
    border: 1px solid white;
    text-transform: uppercase;
}
.subscribe-button .subscribe-icon {
    padding: 14px 16px;
    border: 1px solid white;
}
.subscribe-button .subscribe-icon img {
    height: 14px;;
}

@media (min-width: 480px) {
    /* Social media */
    .social-media a {
        width: 23px;
        height: 23px;
    }
}

@media (min-width: 768px) {
     /* Footer */
     #page-bottom hr {
        margin-top: 30px;
        margin-bottom: 30px;
        border-color: #FFFFFF;
        border: 1px solid;
        opacity: 0.7;
    }

    .footer-tablet-margin-top {
        margin-top: 30px;
    }

    
    /* Padding top value is the combination of the height of the back to top trigger and spacing-bottom-large */
    #page-bottom hr + .row,
    #page-bottom .row + .row {
        margin-top: 30px;
    }
    /* Spacing to match .spacing-top style */
    #page-bottom [class*="col-xs"]:nth-child(1n + 2) {
        padding-top: 0px;
    }
    #page-bottom [class*="col-sm"]:nth-child(1n + 2) {
        /* padding-top: 30px; */
    }
    /* Spacing to match .spacing-top style */
    #page-bottom .hidden-tablet + [class*="col-sm"] {
        padding-top: 0;
    }

    /* Back to top */
    #back-to-top-wrapper {
        left: calc(50% - 17.5px);
    }
    #back-to-top-trigger {
        width: 30px;
        height: 30px;
    }

    /* Company */
    #page-bottom .company {
        padding-top: 30px;
    }

    /* Footer items */
    #footer-items li {
        display: inline-block;
        line-height: 1;
        vertical-align: top;
    }
    #footer-items li:after {
        content: "|";
        display: inline-block;
        margin: 0 10px;
        color: #fff;
        opacity: 0.5;
    }
    #footer-items li:last-child:after {
        display: none;
    }
    #footer-items a {
        line-height: 1;
    }

    /* Shop our brands items */
    #shop-our-brands-items li {
        display: inline-block;
        margin-bottom: 0;
        line-height: 1;
        vertical-align: top;
    }
    #shop-our-brands-items li:after {
        content: "|";
        display: inline-block;
        margin: 0 10px;
        color: #fff;
        opacity: 0.5;
    }
    #shop-our-brands-items li:last-child:after {
        display: none;
    }
    #shop-our-brands-items a {
        line-height: 1;
    }

    
}

@media (min-width: 992px) {
    #page-bottom .theme-grey-dark {
        background: #575756;
        position: relative;
        z-index: 1;
        width: 100%;
    }
    /* Footer */
    #page-bottom .company-address p {
        text-align: left;
    }
    #page-bottom .social-media a {
        width: 27px;
        height: 27px;
    }

    /* Bootstrap overrides */
    #page-bottom .container {
        padding-top: 60px;
    }
    .footer-tablet-margin-top {
        margin-top: 0px;
    }

    /* Footer */
    #page-bottom * {
        text-align: left;
    }
    #page-bottom .content-placement-middle {
        width: 100%;
        height: 100%;
        min-height: inherit;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    #page-bottom .float-right-desktop.content-placement-middle {
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    #footer-items {
        text-align: left;
    }
    /* Social media */
    .social-media {
        position: relative;
        display: inline-block;
        padding-right: 17px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    /* .social-media:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 2px;
        background: #656565;
    } */
    .social-media a:hover {
        opacity: 0.5;
    }

    /* Bootstrap overrides */
    #page-bottom .container {
        padding-top: 0;
    }
    /* Padding top value is the combination of the height of the back to top trigger and spacing-bottom-large */
    #page-bottom [class*="col-md"]:nth-child(1n + 2) {
        padding-top: 0px;
    }
    #page-bottom .col-md-3 + .col-md-3 + .col-md-6 {
        clear: none;
    }

    /* Back to top */
    #back-to-top-wrapper {
        position: relative;
        display: flex;
        vertical-align: middle;
        position: relative;
        left: 0;
        margin-left: 15px;
        margin-top: 5px;
    }

    /* Company */
    #page-bottom .company {
        padding-top: 15px;
    }
    #page-bottom .company p {
        text-align: center;
    }
    #page-bottom .company-logo {
        margin-right: 15px;
    }

    /* Designed and Developed by */
    #page-bottom .developers {
        padding-top: 0;
        padding-left: 45px;
        background-position: center left;
        width: 223px;
        margin-left: auto;
    }

    /* Shop our brands items */
    #shop-our-brands-items li {
        display: block;
        padding-bottom: 10px;
    }
    #shop-our-brands-items li:last-child {
        padding-bottom: 0;
    }
    #shop-our-brands-items li:after {
        display: none;
    }

    /* Useful items */
    #useful-items li {
        display: block;
        padding-bottom: 10px;
    }
    #useful-items li:last-child {
        padding-bottom: 0;
    }
    #useful-items li:after {
        display: none;
    }

    /* Useful items */
    #useful-items li {
        /* display: inline-block; */
        margin-bottom: 0;
        line-height: 1;
        vertical-align: top;
    }
    /* #useful-items li:after {
        content: "|";
        display: inline-block;
        margin: 0 10px;
        color: #fff;
        opacity: 0.5;
    } */
    #useful-items li:last-child:after {
        display: none;
    }
    #useful-items a {
        line-height: 1;
    }
    /* subscribe button */
    .subscribe-footer-section {
        align-items: start;
    }
}

@media (min-width: 1200px) {
    /* Social media */
    /* Footer */
    #page-bottom .social-media a {
        width: 32px;
        height: 32px;
    }

    /* Footer */
    /* Back to top */
    #back-to-top-trigger {
        width: 32px;
        height: 32px;
    }

}