/* Mobile cart item count in header */
.menu-item-mobile-cart .count {
    color: black;
    background: transparent;
    margin-left: 0.5em;
    border-radius: unset;
    width: auto;
    height: auto;
    position: relative;
    top: auto;
    margin-top: 0;
    transition: none;
    right: auto;
    left: auto;
    transform: none;
}

/* Search on mobile menu */
@media screen and (max-width: 1198px) {
    body .afsmenu_search {
        margin-left: 40px;
    }
    body .afsmenu_search input[type=text],
    body .afsmenu_search input[type=text]:focus,
    body .afsmenu_search input[type=text]:hover {
        width: calc(100% - 80px);
        position: static;
        border-bottom: 1px solid #000;
        margin-left: 0;
        padding: 0 20px 0 0;
        font-size: 24px;
        height: 36px;
        color: #23232c;
        font-weight: 400;
        letter-spacing: 4px;
    }
    body .afsmenu_search input[type=text]::placeholder {
        color: #23232c;
    }
    body .afsmenu_search .search_submit {
        display: none
    }
}
@media screen and (max-width: 768px) {
    body .afsmenu_search input[type=text],
    body .afsmenu_search input[type=text]:focus,
    body .afsmenu_search input[type=text]:hover {
        margin-left: 20px;
        font-size: 14px;
        height: 28px;
    }
}
@media screen and (max-width: 370px) {
    body .afsmenu_search input[type=text],
    body .afsmenu_search input[type=text]:focus,
    body .afsmenu_search input[type=text]:hover {
        width: 100%;
    }
}

/* parallax effect slider on home page for desktop only */
@media screen and (min-width: 1200px) {
    rs-slides {
        clip: rect(0, 100vw, 100vh, 0); 
    }
    rs-slide {
        position: fixed;
    }
}

/* Hide accordian content (share buttons) by default */
.accordion-content {
  display: none;
}

/* Stop 'Enquire' and 'Share' buttons keeping hover effect after clicking them by overriding the :focus styling to be same as standard rather than same as :hover */
body #enquiry input.button.alt:focus,
body .accordion-title:focus {
    color: #7c7c80;
}
body #enquiry input.button.alt:focus:hover,
body .accordion-title:focus:hover {
    color: #000;
}