/*	
Theme Name: Sensible PC Support
Description: SPC WordPress Theme
Author: Sensible PC Support
Author URI: https://www.sensiblepcsupport.co.uk
Template: astra
Version: 1.0.0
Text Domain: spc
*/

/* ------- Insert custom styles below this line ------- */

html {
    scroll-behavior: smooth;
  }

p {
    font-family: Roboto, sans-serif;
    line-height: 1.75em;
}

a.skip-link.screen-reader-text {
    display: none;
}

header.entry-header.ast-no-thumbnail.ast-no-meta {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

body.elementor-page .site-content > .ast-container {
    max-width: 100%;
}
.ast-page-builder-template .site-content > .ast-container {
    max-width: 1200px;
}

#main article header h1.entry-title {
    max-width: var(--wp--custom--ast-content-width-size);
    margin-left: auto;
    margin-right: auto;
}

h1.archive-title {
    color: #3a3a3a;
    background-color: white;
    margin-bottom: 20px;
    padding: 10px 1em;
}

.grecaptcha-badge {
    display: none !important;
    /*
    bottom: 100px !important;
    */
}
footer.site-footer {
    background-image: url('https://sensiblepcsupport.co.uk/wp-content/uploads/2021/11/footer-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#footer-1 ul {
    list-style: none;
    margin: 15px 0;
}
#footer-1 li {
    padding: 10px 0;
}
#footer-1 i {
    font-size: 1.1em;
}
#footer-1 i>a {
    padding-left: 7px;
}
.elementor-location-footer .site-copyright, .elementor-location-footer .company-number {
    color: white;
    font-size: 1rem;
    font-weight: normal;
}

.header-phone a {
    font-size: 2em;
    font-weight: 500;
    color: black;
}

.navbar .nav .menu-item .dropdown-menu {
    background-color: white;
}
.navbar .nav .menu-item .dropdown-menu a {
    color: black;
}
.navbar .nav .menu-item .dropdown-menu a:hover {
    color: #007bff;
}

.copyright-info {
    color: white;
}

.page-scroll-up {
    left: 30px;
    right: initial;
}

.menu-footer-container ul {
    margin-left: 0;
}
.menu-footer-container ul li {
    display: inline-block;
    padding-right: 0.4em;
}

#wa-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.search-field {
    color: black !important;
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    #wa-chat-button {
        right: 50%; /* Move the button to the horizontal center */
        transform: translateX(50%); /* Center horizontally */
        bottom: 20px;
    }
    .elementor-location-header .elementor-sticky--active {
        background-color: white;
    }
}

@media(max-width: 1024px) {
    /* Override Elementor ridiculousness on the emergency contact form */
    .elementor-1726 .elementor-element.elementor-element-7ea33b1f > .elementor-element-populated {
        padding: 0% 0% 0% 0%;
    }
}