/* PIR | Tom changes to be merged at end of Custom.css */

.amsearch-wrapper-content .amsearch-wrapper-inner {flex-direction:column;}
.amsearch-item-container.page a.item-name {color: #5d636c;}

.amsearch-wrapper-content .product-item-link {
	font-family: 'Libre Baskerville', serif;
    color: #333;
    font-weight: 300;
    margin:10px 0px;
    font-size:16px;
    text-transform:uppercase;
}

.amsearch-more-results .amsearch-link {color: #5d636c;text-decoration:none;text-transform:uppercase;border-bottom:none;}
.amsearch-wrapper-content .amsearch-wrapper-inner {align-items:flex-start;}

.amsearch-more-results .amsearch-link:hover {
    border-bottom: 1px solid #4b4f3c;
    background-color: inherit;
    color: #4b4f3c;
    text-decoration: none;
}

.amsearch-wrapper-content .amsearch-wrapper-inner {margin-top:0px;}
.amsearch-wrapper-content .amsearch-wrapper-inner {width:100% !important;}
.amsearch-related-terms > .amsearch-item {background:#f9f9f9;border:1px solid #e5e5e5;}
.amsearch-related-terms > .amsearch-item:hover {background:#fff;}

@media only screen and (max-width: 992px) {
	.column.main > .page-title-wrapper {display:none;}
	.catalog-category-view .columns {display:flex;}
	.catalog-category-view .columns .sidebar-additional {order:1 !important;}
	.catalog-category-view .columns .column.main {order:2 !important;}
	.block.filter .filter-title {display:block !important;}
}

/* Payl8r Styles */
#pl-calculator-light-app {
    border: 1px solid #333 !important;
    padding: 5px;
    border-radius: 5px 5px;
    background: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New Search Styles 07-09-23 */
/* @media only screen and (min-width: 993px) { */

.amsearch-wrapper-block {
    width:100%;
    margin:0px;
    padding:0px;
}
.amsearch-form-block {
    width:100%;
    justify-content:center;
}
.amsearch-input-wrapper {width:100%;}

input[type=text]:not(.browser-default).amsearch-input {
    background: #eeeff0;
    margin-bottom:0px;
    background-color:#eeeff0;
    padding-left:10px;
}

.amsearch-input-wrapper.-typed input[type=text]:not(.browser-default).amsearch-input {
    padding-left: 33px;
    width:calc(100% - 66px) !important;
    font-size:16px !important;
}

.amsearch-result-section {
    margin:0px;
    border:0px;
}

.amsearch-products-section .amsearch-block-header {
    padding: 0px 15px;
}
.amsearch-items-section {
    padding:15px;
}

.amsearch-products-section .amsearch-link:hover,
.amsearch-link,
.amsearch-products-section .amsearch-link {
    color:#000 !important;
    font-size:14px;
    text-transform:none;
}

.amsearch-block-header .amsearch-title {
    font-size:18px;
}

.amsearch-highlight {
    color:#2b2b7a;
}
.-amsearch-overlay-opened .navigation,
.-amsearch-overlay-opened .navigation > ul {
    /* background: rgba(0, 0, 0, 0.19); */
    background:none;
    background-color:none;
}

@media only screen and (min-width: 993px) {
    .block.headLink.topSearch {display:none;}
}

/* @media only screen and (max-width: 992px) {
    .amsearch-products-section {border-top:0px;}
    .amsearch-items-section {padding:0px;}
    .amsearch-wrapper-block {display:none;}
    .amsearch-wrapper-block.active {display:block;}
    .-amsearch-overlay-opened .amsearch-wrapper-block.active {display:block;}
} */
.amsearch-input-wrapper .amsearch-input:focus {    border: 1px solid #2b2b7a;}

@media only screen and (max-width: 992px) {
    .searchWrap {top:90px !important;z-index:10 !important;}
    .-amsearch-overlay-opened .searchWrap {z-index:999 !important;}
    .header-logo .row {margin-bottom:43px !important;}
    .cta {margin-bottom:0px !important;}
    .breadcrumbs .items {padding:8px;}
    .amsearch-form-block {
        width: 98%;
    }
    .amsearch-form-block.-opened {width:99% !important;}
    .action.action-auth-toggle {display:none;}

    .opc-estimated-wrapper .minicart-wrapper .action.showcart::before {margin-left:0px !important;}
    .opc-estimated-wrapper .minicart-wrapper .action.showcart:focus::before {color:#fff;}
    .step-content {padding:0px;}

    .checkout-payment-method .payment-option,
    .checkout-payment-method .payment-methods {
        margin: 10px;
    }
    .page-main {margin-top:15px;}
    .checkout-index-index .headerButs .minicart-wrapper {display:none;}
}

@media only screen and (max-width: 600px) {
    .logo img {width:120px;}
    .logo {padding:5px 0px;}
    .searchWrap {top:75px !important;}
    .header-logo .row {margin-bottom:46px !important;}
    .page-wrapper > .breadcrumbs, .breadcrumbs {margin-bottom:0px;}
    .headerButs {
        margin-right: 20px;
    }
}

.fotorama__dot {
    width:15px;
    height:15px;
    border-radius:15px;
}

.fotorama__nav--dots .fotorama__nav__frame {
    height: 30px;
    width: 25px;
}


/* Feedback Amends Styles 08-09-23 */
.action.action-auth-toggle {display:none;}

@media only screen and (max-width: 992px) {
    .checkout-index-index .nav-toggle-block {display:none !important;}
    .checkout-index-index .page-main {margin-top:15px;}
    .checkout-index-index .ui-widget.ui-widget-content {border:none;}

    body.-amsearch-overlay-opened .nav-open .nav-sections {
        z-index:100 !important;
    }

    .searchWrap {
        top:82px !important;
    }
    .header-logo .row {
        margin-bottom:60px !important;
        height: 75px;
    }

    .amsearch-form-block {width:100%;}

    .product-item .product-item-inner {margin-top:auto;}
    .products-grid .product-item .product-item-info .price-box {margin-top:10px;}

    .amsearch-input-wrapper {
        padding: 0px 10px;
    }
    .amsearch-input-wrapper .amsearch-button.-close {right:20px;}
}

@media only screen and (max-width: 600px) {
    .amsearch-form-block {width:98%;}
}

/* Safari Only Styles */
@media only screen and (max-width: 992px) {
    @supports (-webkit-touch-callout: none) {
        /* Safria-specific styles here */
        .catalog-product-view .searchWrap  {
            top:85px !important;
        }
        .catalog-product-view .header-logo .row  {
            top:56px !important;
        }
    }

    .navigation .level0 > .level-top {background:#fff;}
}

.amsearch-overlay-block {background:none !important;}


/* Navigation Changes 27/09/23 */
@media only screen and (max-width: 992px) {
    ul.level1 {background:#e5e5e5;}
    ul.level1 > li.level2:before {
        content: '\f061';
        font-family: 'Font Awesome 5 Pro';
        color:#000;
        position:absolute;
        font-size:14px;
        top:10px;
    }
    ul.level1 > li.level2 {margin-left:15px !important;}
    .nav-sections .navigation ul.level1.submenu li.level2 a,
    ul.level1 > li.level2 > a {padding:5px 5px 5px 20px !important;}
    ul.level1 > li.level2 > a > span {font-size:13px !important;}
}

@media only screen and (min-width: 993px) {
    .navigation .level0 .level1.submenu {
        top:auto !important;
        left:auto !important;
        width: 100% !important;
        padding: 0px !important;
    }
    .navigation .level0 .level1.submenu li {
        margin-left:15px !important;
    }
    .navigation .level0 .level1.submenu li a {
        color:#fff !important;
        font-size:14px !important;
    }
    .navigation .level0 .level1.submenu li a:after {
        display:none;
    }
    .navigation .level0 .level1.submenu li a:before {
        content: '\f061';
        font-family: 'Font Awesome 5 Pro';
        position: relative;
        margin-right: 10px;
    }
    .navigation .level0 .level1.submenu li a span {
        color:#fff !important;
        font-size:14px !important;
    }
    .navigation .level0 .submenu a::after {
        content: '\f061';
        font-family: 'Font Awesome 5 Pro';
    }
}

/* Menu Colour Fix. */
@media only screen and (max-width: 992px) { 
    .navigation .submenu:not(:first-child) .active>a {
        border:none;
    }
    ul.level1 {
        background:none !important;
    }
    ul.level1 > li.level2 {
        margin-left:0px !important;
        position: relative;
    }
    ul.level1 > li.level2:before {
        top:5px;
    }
    nav ul li.active {background:none !important;}
}


/* Homepage */
.homepage-banners [data-content-type='row'][data-appearance='full-width'] > .row-full-width-inner {
    max-width:1600px;
}

.homepage-banners a,
.homepage-banners span,
.homepage-banners h2 {
    color:#eeeff0;
}


a.pagebuilder-button-primary span {
    color:#4c4c4c;
}

a.pagebuilder-button-primary, 
button.pagebuilder-button-primary, 
div.pagebuilder-button-primary, 
a.pagebuilder-button-primary:hover, 
button.pagebuilder-button-primary:hover, 
div.pagebuilder-button-primary:hover, 
.cart.table-wrapper .actions-toolbar > .action.pagebuilder-button-primary:hover, 
.action-gift.pagebuilder-button-primary:hover {
    background: #eeeff0;
    border: 1px solid #4c4c4c;
    padding: 10px 20px;
    font-size: 14px;
    color:#f5f5f5;
    line-height:100%;
    height:37px;
}

.homepage-banners .pagebuilder-column:hover {
    background-blend-mode: saturation;
    filter: grayscale(100%);
}

.homepage-banners .pagebuilder-column {
    justify-content:flex-end !important;
}
.homepage-banners h2 {
    font-size:40px;
}

a.pagebuilder-button-primary:focus, 
button.pagebuilder-button-primary:focus, 
div.pagebuilder-button-primary:focus, 
a.pagebuilder-button-primary:active, 
button.pagebuilder-button-primary:active, 
div.pagebuilder-button-primary:active, 
.cart.table-wrapper .actions-toolbar > .action.pagebuilder-button-primary:focus, 
.cart.table-wrapper .actions-toolbar > .action.pagebuilder-button-primary:active, 
.action-gift.pagebuilder-button-primary:focus, 
.action-gift.pagebuilder-button-primary:active {
    color: #eeeff0;
    background: #4c4c4c;
    border: 1px solid #4c4c4c;
}


/* Responsive */

/* Mobile */
@media only screen and (max-width: 992px) {
    .homepage-banners .pagebuilder-column {
        min-height:200px !important;
        margin:5px 0px !important;
    }
    .homepage-banners h2 {font-size:24px;}   
}

@media only screen and (max-width: 600px) {
    .homepage-banners .pagebuilder-column {margin:0px !important;}

    .homepage-banners .pagebuilder-column {
        position: relative;
        display: flex !important;
        padding: 10% !important;
    }
    .homepage-banners .pagebuilder-column::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3); /* Change the color and opacity as needed */
    }

    .homepage-banners [data-content-type='buttons'],
    .homepage-banners h2 {
        z-index: 1 !important;
        position: relative;
    }

    .homepage-banners .slick-slider {padding:0px;}

}


/* Auto complete changes styles */
.amsearch-products-section.-grid:not(.-slider) .amsearch-item {
	width:100% !important;
	display:flex;
	flex-direction:row;
	max-width: calc(100%);
}

.amsearch-products-section.-grid .amsearch-image {
	width:20%;
	padding-bottom:0px;
	display: flex;
}

.amsearch-block-header .amsearch-title,
.amsearch-highlight {
    color: #000 !important;
}

.amsearch-products-section .amsearch-description {
	margin-left:15px;
	width: calc(80% - 15px);
	justify-content: center;
}

.amsearch-products-section .amsearch-link:hover, 
.amsearch-link, .amsearch-products-section .amsearch-link,
.amsearch-products-section .product-item .price-box .price {
	font-size:14px;
	margin: 0px;
	padding: 0px;
	font-weight:bold;
}

.amsearch-products-section .product-item [data-role='priceBox'] p, .amsearch-products-section .product-item [data-role='priceBox'] span {
	padding:0px;
}

.amsearch-products-section .product-item [data-role='priceBox'] {
	padding:0px !important;
	margin:0px !important;
}

.amsearch-products-section {
	padding-top:0px;
}

.amsearch-products-section .amsearch-block-header {padding-top:10px;}
.amsearch-products-section.-grid .amsearch-image .amsearch-product-image-container {
	display: flex;
    max-width: 100%;
    align-items: center;
}