/*
Theme Name: Supreme Petfoods
Description: Bespoke Wordpress Template
Author: ExtraMile Communications
Author URI: https://www.extramilecommunications.com/
Text Domain: spf
Version: 1.0.2
*/

.flexy-row {
    display: flex;
    flex-direction: row;
}
.flexy-row .ginput_complex.ginput_container_name {
    display: flex;
    gap: 20px;
    flex-direction: column;
    left: 24px;
    position: relative;
}
.flexy-row .ginput_container.ginput_container_email {
    left: 24px;  
    position: relative;     
}
.flexy-row .ginput_container.ginput_container_checkbox label{
        text-indent: 0px;
}

.flexy-row .gform_fields li:before {
    display: none;
}

@media screen and (max-width: 992px) {
    .flexy-row {
        flex-direction: column;
    }       
}

.articles__filter-wrapper, .articles__categories {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.articles__order {
    padding: 5px 15px;
}

.articles__filter-text {
    margin-right: 20px !important;
}

@media screen and (max-width: 767px) {
    .articles__filter-wrapper {
    align-items: flex-end;
}
}

@media screen and (max-width: 580px) {
    .articles__filter-wrapper {
     flex-wrap: wrap;
     
}

.articles__top-bar {
    margin: 0 auto !important;
}

.articles__categories{
    align-items: center;
}

.articles__categories, .articles__order {
    width: 100%;
}

.articles__filter-dropdown {
    flex-grow: 1;
}
.articles__order .articles__filter-dropdown {
    flex-grow: 1;
    width: 100%;
}

.articles__filter-text {
    margin-right: 10px !important;
}
}

/*HEADER 2023 START*/
body {
    padding-top: 176px !important;
}

.masthead_button {
    display: flex;
    flex-direction: column;
    align-items:center;
    gap: 10px;
    padding-top: 5px;
}

.masthead_button span {
    color: #07601f;
}

.masthead_button svg {
    font-size: 32px;
}

.masthead_store_locator .masthead_button svg {
    color: #f8981c;
    transition: all .3s;
}



#orange:hover {
    background: #F7B040 !important;
    color: #fff;
}

.masthead_store_locator .masthead_button:hover svg {
    color: #F7B040  !important;
}

.masthead {
    min-height: unset !important;
}

.masthead__bar-inner, .masthead__main {
    max-width: 1320px !important;
    padding: 0 30px !important;
    margin: 0 auto;
}

.masthead__bar-bottom {
    background: #62ad2d !important;
}

.masthead__main {
    justify-content: space-between !important;
}

.burger {
    flex-grow: 0 !important;
}


.burger__wrapper {
    justify-content: flex-start !important;
    width: auto !important;
}

.masthead__main--right {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 50px;
    align-items: center;
}

.masthead__main .masthead__logo {
    margin: 0;
}

.masthead__bar-actions {
    display: flex;
}

.masthead__nav {
    display: flex;
    justify-content: center;
    padding: 0 65px;
}

.masthead__nav .sub-menu {
    display: none;
}

.mastehead__search-form {
    border: 2px #DFDFDF solid;
    padding-right: 20px;
    display:flex;
    max-height: 50px;
    min-width: 400px;
    max-width: 600px;
}

.mastehead__search-form form {
    width: 100%;
}

.search-form__input-wrapper {
    height: 100%;
}

.search-form__input-wrapper ::placeholder {
    color: #DFDFDF !important;
}

.mastehead__search-form input{
    height: 50px;
}


.mastehead__search-form button{
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0;
}

.mastehead__search-form button:focus{
    border: none;
    outline: none;
}

.masthead__language select {
    background-color: transparent !important;
    color: white !important;
}
.masthead__language select option {
    color: #80867b !important;
}

#menu-header-full {
    flex-grow: 0;
    flex-wrap: nowrap;
}

#menu-header-full a {
    white-space: nowrap;
}

.masthead__login a {
    min-width: auto !important;
}

header .masthead__main {
    flex-wrap: nowrap !important;
    transition: all .3s;
}

.masthead__nav li a{
    vertical-align: middle;
    display: inline-block;
    margin: 0;
    padding: 20px 25px;
    font-size: 2rem !important;
    position: relative;
    color: white !important;
}

.megamenu-trigger > a, .masthead__nav li.menu-item-has-children > a{
    padding: 20px 50px 20px 25px !important;
}

.masthead.scrolled .megamenu-trigger > a, .masthead.scrolled .masthead__nav li.menu-item-has-children > a {
    padding: 10px 50px 10px 25px !important;
}
.masthead.scrolled .masthead__nav li.menu-item > a {
    padding: 10px 25px 10px 25px;
}

.megamenu-trigger > a:after, .masthead__nav li.menu-item-has-children > a:after
{
    content: '';
    background-image: url('/wp-content/themes/supremepetfoods/dist/images/select-arrow-dark.png');
    background-size: contain;
    width: 10px;
    height: 6px;
    display: block;
    position: absolute;
    right: 25px;
    top: calc(50% - 3px);
}

.masthead .megamenu-trigger:focus>a, .masthead .megamenu-trigger:hover>a, .masthead__bar-row a:focus, .masthead__bar-row a:hover {
    color: white !important;
}

.megamenu-trigger:hover a:after, .megamenu-trigger > a:hover:after, .masthead__nav li.menu-item-has-children > a:hover:after, .masthead__nav li.menu-item-has-children:hover > a:after
{
    background-image: url('/wp-content/themes/supremepetfoods/dist/images/select-arrow-white.png');
}

.megamenu-trigger:hover, .megamenu-trigger a:hover, .masthead__nav li a:hover, .masthead__nav li.menu-item-has-children:hover{
    color: #fff !important;
    background-color: #07601f !important;
}

.masthead__nav li ul.sub-menu {
   position: absolute;
   background-color: #07601f !important;
}

.masthead__nav li:hover ul {
    display: flex;
    flex-direction: column;
}

.masthead__nav li:hover ul.sub-menu {
   display: flex;
    flex-direction: row;
    left: 0;
    width: 100%;
    justify-content: center;
}

.masthead__nav>ul {
    justify-content: space-between !important;
}

.masthead:after {
    background: url('/wp-content/themes/supremepetfoods/dist/images/green-texture-1.svg') bottom no-repeat !important;
    background-size: 100% 700px !important;
    top: 90% !important;
}

/*Mega Menu styling updates*/
.masthead .megamenu {
    background-color: #07601f !important;
    color: white !important;
}

.masthead .megamenu .megamenu__nav {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    gap: 30px;
    justify-content: space-between;
    padding: 0 30px;
}

.masthead .megamenu__category-heading {
    color: #b2b2b1 !important;
}

.masthead .megamenu__inner {
    max-width: 1320px !important;
}

.masthead .megamenu__list a, .masthead__bar-row li.megamenu__item, .masthead .megamenu__category, .masthead__bar-row li   {
    padding: 0 !important;
}

 .masthead .megamenu .megamenu__nav .megamenu__category--pets, .masthead .megamenu .megamenu__nav .megamenu__category--types {
    max-width: 25%;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges {
    max-width: 50%;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul .megamenu__link {
    display: flex;
    flex-direction: column;
}
.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul .megamenu__link .megamenu__link-indicator {
    color: #62ad2d !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul .megamenu__link .megamenu__link-indicator i {
    font-size: 1rem;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul .megamenu__link .megamenu__link-name {
    margin-top: 15px;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul, .masthead .megamenu .megamenu__nav .megamenu__category--pets > ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 30px;
}
.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul {
    column-gap: 15px;
}

.masthead .megamenu .megamenu__nav .megamenu__category--ranges > ul > li, .masthead .megamenu .megamenu__nav .megamenu__category--pets > ul > li{
    width: calc(50% - 15px);
}

 .masthead .megamenu .megamenu__nav .megamenu__category--pets > ul li, .masthead .megamenu .megamenu__nav .megamenu__category--types  > ul li{
    padding: 7px 0 !important;
}

 .masthead .megamenu .megamenu__nav .megamenu__category--pets > ul li a:hover, .masthead .megamenu .megamenu__nav .megamenu__category--types  > ul li a:hover, .masthead .megamenu .megamenu__nav .megamenu__category--ranges  > ul li a:hover, .masthead__nav li ul.sub-menu a:hover{
    color: #62ad2d !important;
}

.masthead .megamenu .megamenu__nav .megamenu__category--types .megamenu__list, .masthead .megamenu .megamenu__nav .megamenu__category--pets .megamenu__list{
    margin-bottom: -7px;
} 

/*responsive style fixes */
@media (max-width: 1225px) {
    #masthead__nav--menu {
        flex-wrap: nowrap;
        
    }
    .masthead__nav {
        padding: 0 30px;
    }
}

@media (max-width: 1199.98px) {
    header .masthead__nav {
    display: flex;
}
.burger {
    display: none;
}
}

@media (max-width: 1024px) {
    .masthead__main:after {
        content: '';
        background: url('/wp-content/themes/supremepetfoods/dist/images/white-texture-1.svg') bottom no-repeat !important;
    background-size: 100% 700px !important;
    top: 100% !important;
    position: absolute;
    width: 100%;
    height: 30px;
    left: 0;
    }
    header .masthead__nav {
    display: none;
}
.masthead:after {
    display: none !important;
}
body {
    padding-top: 160px !important;
}
.burger {
    display: flex;
    flex-grow: 1 !important;
   flex-basis: 0;
}
.mastehead__search-form {
    display: none;
}
.masthead__main--right {
    flex-grow: 1;
   flex-basis: 0;
}

}

@media (max-width: 768px) {
.mastehead__search-form {
    display: none !important;
}
.masthead__main--right {
    gap: 25px;

}
}

@media (max-width: 596.5px) {
.masthead .masthead_store_locator span, .masthead .masthead_button span, .masthead__login span{
    display: none;
}
.masthead__login svg {
    margin: 0 !important;
}
.masthead__login {
    order: 1;
}
.masthead__login a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.masthead__bar-inner {
    padding-right: 0 !important;
}
.masthead__language {
    margin-right: 15px;
}
}


/*HEADER 2023 END*/

/* footer social icons*/

.mastfoot__social {
    width: auto;
    height: 200px;
    padding-top: 45px;
    margin: 15px auto 0;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}