*
{
    -webkit-font-smoothing: antialiased;
    touch-action: manipulation;
}

html, body
{
    font-size: 10px;
}

footer
{
    padding-bottom: 80px;
}

p, li, input
{
    font-size: 1.6rem;
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"]
{
    -moz-appearance: textfield;
}

.bg_blur
{
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.container_fixed
{
    width: 100%;
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 15px;
}

.container_fixed.thin
{
    max-width: 768px;
}

header
{
    position: fixed;
    background-color: black;
    height: 60px;
    width: 100%;
/*     top: 0; */
    left: 0;
    z-index: 999;
}

header .logo
{
    display: block;
    width: auto;
    height: 60px;
    padding: 18px 0;
}

header .hamburger
{
    float: right;
    display: block;
    margin-top: 4px;
    margin-right: -15px;
}

.basket_icon
{
    float: right;
    display: block;
    width: 27px;
    margin-top: 18px;
    margin-right: 10px;
}

.main_nav
{
    position: fixed;
    top: 60px;
    width: 100%;
    right: -100%;
    height: calc(100% - 110px);
    background-color: black;
    transition: 0.2s all;
    padding: 20px;
    z-index: 1000;
    overflow: auto;
}

    .main_nav.active {
        right: 0;
    }

    .main_nav img { 
        width: 50%;
        float: left;
    }


    .main_nav ul
    {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .main_nav a
    {
        display: block;
        color: white;
        text-decoration: none;
        padding: 10px;
        border-bottom: 1px solid #333;
        font-weight: 300;
    }


@media (min-width: 769px) {

    .main_nav_image {
        width: 50%;
        height: 100%;
        float: left;
        background-image: url("/assets/images/main_nav.jpg");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .main_nav ul {
        width: 50%;
        float: right;
    }

}

@media (max-width: 768px) {
    
    .main_nav { 
        max-width: 400px; 
        right: -400px;
    }

    .main_nav.active {
        right: -16px;
    }

    .main_nav .main_nav_image {
        display: none;
    }

}

#overlay, #overlay_header
{
    position: fixed;
    top: 100%;
}

#overlay, #overlay_header
{
    transition: 0.25s top;
    position: fixed;
}

#overlay
{
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


#overlay_bg
{
    background-color: rgba(0,0,0,0.25);
    position: fixed;
    display: none;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
}

#overlay_bg.visible
{
    display: block;
}

#overlay_container
{
    max-width: 1070px;
    min-height: 100%;
    margin: 0 auto;
    width: 100%;
    background-color: white;
    position: relative;
    z-index: 1002;
    box-shadow: 0px 0px 60px 0px rgba(0,0,0,0.75);
}

#overlay_header
{
    opacity: 0;
    top: -40px;
    z-index: 1003;
    width: 100%;
    height: 50px;
    background-color: white;
    background-color: rgba(255,255,255,0.8);
    transition: 0.4s top;
}

#overlay_header .hamburger
{
    float: right;
}

#overlay_content
{
    position: relative;
    padding-top: 55px;
}

#overlay.visible, #overlay.visible #overlay_header
{
    top: 0;
    opacity: 1;
}

.only_overlay
{
    display: none;
}

#overlay .only_overlay
{
    display: block;
}

#overlay .not_overlay
{
    display: none;
}

.show_overlay
{
    cursor: pointer;
}

#overlay .show_overlay
{
    cursor: default;
}

@media (min-width: 769px)
{
    #overlay_container
    {
        min-width: 769px;
        width: 70%;
    }
    #overlay_header
    {
        position: absolute;
    }
    #overlay_bg
    {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

.text-right
{
    text-align: right;
}
.text-center
{
    text-align: center;
}

.filter_bar
{
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999;
    color: white;
    height: 33px;
}

.filter
{
    display: block;
    position: relative;
    font-size: 1.6rem;
}

.filter_bar .filter, .filter_bar .col-6
{
    position: static;
}

.filter_select
{
    padding: 0.4em 1.5em 0.4em 0;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.filter_select::after
{
    content: '';
    position: absolute;
    right: 0;
    top: 0.5em;
    width: 1em;
    height: 1em;
    background-image:url(/assets/images/arrow-down.svg);
    background-size: 90% 90%;
    background-repeat: no-repeat;
    background-position: center center;
    transition: 0.15s all;
}

.add_to_basket_container
{
    position: relative;
    height: 40px;
    transition: 0.3s;
    transform-style: preserve-3d;
}

.add_to_basket, .added_to_basket
{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.add_to_basket
{
    z-index: 2;
    transform: rotateX(0deg);
}

.added_to_basket
{
    z-index: 1;
    transform: rotateX(180deg);
}

.add_to_basket_container.added
{
    transform: rotateX(180deg);
}

.add_to_basket_container.added .add_to_basket
{
    z-index: 1;
}

.add_to_basket_container.added .added_to_basket
{
    z-index: 2;
}

.add_to_basket_container.error
{
    animation: horizontal-shaking 0.35s 1;
}

.add_to_basket_container.error .add_to_basket
{
    background-color: #de0000;
}

.error_adding_to_basket
{
    display: none;
    color: #de0000;
    font-size: 1em;
}

.single_product .add_to_basket_form
{
    flex-direction: column;
}

.single_product .add_to_basket_form .add_to_basket_parent_container
{
    display: flex;
}

.single_product .add_to_basket_form .pick_delivery_method_container
{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-top: 1em;
}

.single_product .add_to_basket_form .pick_delivery_method_container .fake_radio_wrapper
{
    padding: 0;
}

.single_product .add_to_basket_form .pick_delivery_method_container .fake_radio_wrapper p
{
    margin: .5em 0;
}

.filter.open .filter_select::after
{
    transform: rotate(180deg);
}

#basket
{
    display: none;
}

.basket
{
    padding: 15px;
}

.basket h2
{
    margin-top: 0;
    text-decoration: uppercase;
    font-size: 3rem;
}

.basket img
{
    max-width: 100%;
    display: block;
    margin-bottom: 10px;
}

.basket_row
{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    align-items: top;
}

.basket_product_image
{
    width: 40%;
}

.basket_product_name
{
    width: 60%;
    font-size: 1.8rem;
    padding: 0 15px;
}

.basket_product_quantity
{
    width: 40%;
}

.basket_remove
{
    display: block;
    text-align: right;
    text-decoration: underline;
    font-size: 1.2rem;
    padding-top: 0.4em;
    cursor: pointer;
}

.basket_product_price
{
    width: 60%;
    text-align: right;
    font-size: 2.3rem;
    font-weight: bold;
}

@media (min-width: 640px)
{
    .basket
    {
        padding: 15px 30px;
    }
    .basket_row
    {
        flex-wrap:nowrap;
    }
    .basket_product_image
    {
        width: 20%;
    }
    .basket_product_name
    {
        width: 50%;
    }

    .basket_product_quantity
    {
        width: 100px;
        min-width: 100px;
    }

    .basket_product_price
    {
        width: 20%;
    }
}

ul.filter_list
{
    list-style: none;
    padding: 1em;
    margin: 0;
    display: none;
    position: absolute;
    width: 100%;
}

.filter_bar ul.filter_list
{
    left: 0;
    right: 0;
}

ul.filter_list li
{
    padding: 0.25em 0;
    text-align: left;
    cursor: pointer;
}

ul.filter_list li.active
{
    font-weight: bold;
}

.filter_right ul.filter_list li
{
    text-align: right;
}

.fade_in
{
    -webkit-animation: fadein 0.3s; /* Safari, Chrome and Opera > 12.1 */
      -moz-animation: fadein 0.3s; /* Firefox < 16 */
       -ms-animation: fadein 0.3s; /* Internet Explorer */
        -o-animation: fadein 0.3s; /* Opera < 12.1 */
           animation: fadein 0.3s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes horizontal-shaking {
  0% { transform: translateX(0) }
  25% { transform: translateX(5px) }
  50% { transform: translateX(-5px) }
  75% { transform: translateX(5px) }
  100% { transform: translateX(0) }
}

@media (min-width: 540px)
{
    .filter_bar .filter, .filter_bar .col-6
    {
        position: relative;
    }
    .filter_bar ul.filter_list
    {
        left: -15px;
    }

    .filter_bar .filter_right ul.filter_list
    {
        left: auto;
        right: -15px;
    }
}

@media (min-width: 768px)
{
    .filter_bar .container_fixed
    {
        max-width: 460px;
    }
    .filter_bar .container_fixed .col-6
    {
        text-align: center !important;
    }
    .filter_bar .container_fixed .col-6:first-child
    {
        border-right: 1px solid rgba(255,255,255,0.1);
    }

    .filter_bar ul.filter_list
    {
        left: 0px;
    }

    .filter_bar .filter_right ul.filter_list
    {
        left: auto;
        right: 0px;
    }

    .filter_bar ul.filter_list li
    {
        text-align: center;
    }
}

@media (min-width: 1024px)
{
    .single_product .add_to_basket_form .pick_delivery_method_container
    {
        display: flex;
        flex-direction: row;
    }

    .single_product .add_to_basket_form .pick_delivery_method_container .fake_radio_wrapper:first-of-type
    {
        margin-right: 2em;
    }
}

main
{
    padding-top: 60px;
}

.filter_bar + main
{
    padding-top: 93px;
}

#holding_grid
{
    display: none;
}

input[type=submit], button
{
    display: block;
    -webkit-appearance: button;
    border-radius: 0;
    border: none;
    text-decoration: none !important;
}

a button
{
    text-decoration: none !important;
}

input[type=submit]
{
    width: 100%;
}

#sticky_footer
{
    position: fixed;
    bottom: -75px;
    opacity: 0;
    left: 0;
    width: 100%;
    height: 75px;
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.25);
    transition: 0.3s all;
    z-index: 2;
}

#sticky_footer.visible
{
    opacity: 1;
    bottom: 0;
}

#sticky_footer .container_fixed
{
    max-width: 768px;
}

.slick_panel
{
    width: 100%;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
    transition: 0.3s all;
}

.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 6px;
    line-height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: black;
    border-radius: 10px;
    content: '';
    text-align: center;
    opacity: .25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button
{
    transition: 0.3s all;
}

button:disabled,
button[disabled]
{
    opacity: 0.5;
}

.home_header_gallery
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home_header_gallery .home_header_gallery_slide
{
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
}

.home_header_gallery .slick-list,
.home_header_gallery .slick-track
{
    height: 100%;
}
