/*
-------------------------------------------------------------|
---                   Custom Stylesheet                   ---|
---                     ARB Electrical                    ---|
-------------------------------------------------------------|
                                                       INDEX |
-------------------------------------------------------------|
- FONT IMPORT
- VARIABLES
- DEFAULTS
- FORMS & BUTTONS
- HEADER
- FOOTER
- ADS
- FLEXIBLE CONTENT - featured carousel
-------------------------------------------------------------|
                                                 FONT IMPORT |
-------------------------------------------------------------|
*/



/*
-------------------------------------------------------------|
                                                   VARIABLES |
-------------------------------------------------------------|
*/

:root {

    --color-blue: #285DAA;
    --color-blue-darker: #0A5FAA;
    --color-blue-alpha: rgba(10, 95, 170, 0.78);
    --color-grey-lightest: #F5F5F5;
    --color-grey-light: #D9D9D9;
    --color-grey-mid: #9A9B9B;
    --color-grey: #54565A;
    --color-grey-dark: #333A44;
    --color-red: #EF3E42;
    --color-red-alpha: rgba(239, 64, 67, 0.78);;

    --fontsize-heading-title: 40px;
    --fontsize-heading-primary: 32px;
    --fontsize-heading-secondary: 24px;
    --fontsize-heading-tertiary: 22px;
    --fontsize-heading-quarternary: 20px;
    --fontsize-body-large: 20px;
    --fontsize-body-normal: 18px;
    --fontsize-body-small: 16px;
    --fontsize-body-tiny: 14px;

    --fontfamily-primary: "myriad-pro", sans-serif;
    --fontfamily-secondary: "Arial", sans-serif;
    --fontfamily-headings: "myriad-pro", sans-serif;
    --fontfamily-buttons: "myriad-pro", sans-serif;

    /*for animate lib - cut down delays in half*/
    --animate-delay: 0.2s !important;

    color-scheme: only light;
}

/*
-------------------------------------------------------------|
                                                    DEFAULTS |
-------------------------------------------------------------|
*/

html {
    scroll-behavior: smooth;
}

body * {
    scroll-margin-top: 10px;
}

body {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--fontfamily-body);
    margin: 0;
    line-height: 1.6;
    background-color: #fff;
    padding-bottom: 65px;
}

body,
input, 
select, 
optgroup, 
textarea {
    font-family: var(--fontfamily-body);
}

.post, 
.page {
    margin: 0;
}

a:not(.button),
a:not(.button):visited,
a:not(.button):hover,
a:not(.button):focus,
a:not(.button):active {
    outline: 0;
    text-decoration: none;
    color: var(--color-red);
}

h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    font-weight: 700;
    font-family: var(--fontfamily-headings);
    color: var(--color-blue);
    line-height: 1.2;
}

h1 {
    line-height: 1.1;
    margin: 0 0 25px;
    font-size: var(--fontsize-heading-title);
}

h2 {
    font-size: var(--fontsize-heading-primary);
    margin-bottom: 0.5em;
    line-height: 1.1;
}

h3 {
    font-size: var(--fontsize-heading-secondary);
}

h4 {
    font-size: var(--fontsize-heading-tertiary);
}

h5,
h6 {
    font-size: var(--fontsize-heading-quarternary);
}

p {
    font-size: var(--fontsize-body-normal);
    line-height: 1.5;
}

ul,
ol {
    margin: 0;
    padding-left: 20px;
    font-size: var(--fontsize-body-normal);
}

.max-width-container,
.max-width {
    width: 95%;
    max-width: 1235px;
    margin-left: auto;
    margin-right: auto;
}

.max-width-container .max-width-container,
.max-width .max-width-container,
.max-width-container .max-width,
.max-width .max-width {
    width: 100%;
}


body.logged-in .show-logged-out,
body:not(.logged-in) .show-logged-in {
    display: none;
}

.entry-footer {
    display: none;
}

.entry-content,
.hentry {
    margin: 0;
}

.clear:after,
.clear::before,
.clear::after,
.clear {
    clear: both;
}

.parent-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.half {
    width: 50%;
}

.third {
    width: 33.3%;
}

.twothirds {
    width: 66.6%;
}

.overflow-container {
    overflow: hidden;
}

#primary {
    margin-top: 40px;
}

body.home #primary {
    margin-top: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
-------------------------------------------------------------|
                                             FORMS & BUTTONS |
-------------------------------------------------------------|
*/

button,
.button,
input[type="submit"],
.btn,
.wc-block-components-button,
.gform_wrapper .gform-footer.gform_footer .gform_button.button {
    padding: 0 25px;
    display: block;
    font-size: var(--fontsize-body-normal);
    transition: all 0.1s ease 0s;
    border: 2px solid var(--color-blue) !important;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    background-color: var(--color-blue) !important;
    border-radius: 100px;
    height: 46px;
    line-height: 42px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--fontfamily-buttons);
    text-decoration: none;
    text-align: center;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.btn:hover,
.wc-block-components-button:hover,
.gform_wrapper .gform-footer.gform_footer .gform_button.button:hover {
    color: var(--color-blue) !important;
    background-color: #fff !important;
}

.button.red {
    border-color: var(--color-red) !important;
    background-color: var(--color-red) !important;
}

.button.red:hover {
    color: var(--color-red) !important;
    background-color: #fff !important;
}

.button.edge {
    border-radius: 0;
}

/*
-------------------------------------------------------------|
                                                      HEADER |
-------------------------------------------------------------|
*/

#masthead.site-header {
    width: 100%;
    /*position: fixed;*/
    position: static;
    top: 0;
    left: 0;
    max-width: 100%;
    min-width: 100%;
    background-color: #fff;
    z-index: 999;
    display: block;
    padding: 0;
}

/*#wpadminbar ~ * #masthead {
    top: 32px;
}*/

#masthead.site-header .header-blue {
    background-color: var(--color-blue);
    color: #fff;
    overflow: hidden;
}

#masthead.site-header .header-blue .max-width-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#masthead.site-header .header-blue .max-width-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-red);
}

#masthead.site-header .header-blue .left p {
    font-size: var(--fontsize-body-normal);
    color: #fff;
}

#masthead.site-header .header-blue .left p svg {
    width: 28px;
    vertical-align: top;
    margin-right: 10px;
}

#masthead.site-header .header-blue .max-width-container .right ul {
    list-style: none;
    padding: 0;
    display: flex;
}

#masthead.site-header .header-blue .max-width-container .right a {
    line-height: 70px;
    color: #fff;
    display: block;
    padding: 0 10px;
    position: relative;
    background-color: var(--color-blue);
    transition: all 0.1s ease 0s;
}

#masthead.site-header .header-blue .max-width-container .right a:hover {
    background-color: var(--color-red);
}

#masthead.site-header .header-blue .max-width-container .right li:last-child a {
    background-color: var(--color-red);
}

#masthead.site-header .header-blue .max-width-container .right li:last-child a:hover {
    color: var(--color-red);
    background-color: #fff;
}

#masthead.site-header .header-primary {
    background-color: #fff;
    padding: 30px 0;
}

#masthead.site-header .header-primary .max-width-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

#masthead.site-header .header-primary .site-branding {
    display: block;
}

#masthead.site-header .header-primary .site-branding a {
    display: block;
}

#masthead.site-header .header-primary .site-branding a img {
    width: 180px;
    height: auto;
}

#masthead.site-header .header-primary .right {
    display: flex;
    width: calc(100% - 200px);
    justify-content: end;
    gap: 30px;
    align-items: center;
}

.header-search {
    position: relative;
}

.header_search-form #search {
    width: 520px;
    display: block;
    border-radius: 100px;
     border: 2px solid var(--color-grey-mid) !important; 
    /*border: 2px solid #9A9B9B !important;*/
    padding: 0 20px;
    height: 47px;
}

.header_search-form button {
    background-color: var(--color-blue) !important;
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 0 100px 100px 0 !important;
    height: 43px;
    padding: 0;
    width: 60px;
    line-height: 47px;
    border: 0 !important;
}

.header_search-form button:hover {
    background-color: var(--color-red) !important;
    color: #fff !important;
}

.header_search-form button svg {
    width: 17px;
}

.header-quicklinks {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-quicklinks .button.red {
    height: 43px;
    line-height: 39px;
    font-weight: 400;
}

.header-quicklinks .button.blue {
    padding: 0 !important;
    width: 60px;
    height: 60px;
    line-height: 56px;
}

.header-quicklinks .button.blue svg {
    vertical-align: center;
}

.header-quicklinks .button.cart-count {
    position: relative;
}

.header-quicklinks .button.cart-count::after {
    content: attr(data-count);
    position: absolute;
    width: 29px;
    height: 29px;
    background-color: var(--color-red);
    border-radius: 100px;
    top: -4px;
    right: -5px;
    line-height: 29px;
    font-size: var(--fontsize-body-small);
    text-align: center;
}

.header-grey {
    background-color: var(--color-grey-lightest);
    position: relative;
}

.header-grey .grey-menu {
    display: flex;
    justify-content: center;
    gap: 190px;
    padding: 15px;
}

.grey_menu-item > p {
    font-size: var(--fontsize-body-large);
    position: relative;
}

.grey_menu-item:nth-child(n+2) > p::after {
    content: "";
    position: absolute;
    height: 30px;
    width: 1px;
    background-color: rgba(0,0,0,0.2);
    left: -95px;
}

.grey_menu-submenu {
    display: none;
}

.site-notices {
    background-color: var(--color-red);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.site-notices a {
    color: #fff;
    text-decoration: none;
}

.site_notices-carousel .slick-arrow {
    position: absolute;
    top: calc(50% - 9px);
    cursor: pointer;
    color: #fff;
    transition: all 0.1s ease 0s;
}

.site_notices-carousel .slick-arrow:hover {
    color: var(--color-grey-mid);
}

.site_notices-carousel .slick-arrow:nth-child(1) {
    right: 100%;
}

.site_notices-carousel .slick-arrow:nth-child(3) {
    left: 100%;
}

/*
-------------------------------------------------------------|
                                                      FOOTER |
-------------------------------------------------------------|
*/

#colophon.site-footer.ccstudio-footer {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    background-color: var(--color-blue-darker);
    color: #fff;
    position: relative;
    padding: 80px 0;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 40px;
}

.footer-background {
    position: absolute;
    width: 100%;
    height: calc(100% - 150px);
    background-size: cover;
    left: 0;
    bottom: 0;
}

.site-info {
    position: relative;
    z-index: 2;
}

.footer-columns .footer-column h3 {
    font-size: var(--fontsize-heading-secondary);
    font-weight: 700;
    line-height: 0.95em;
    color: #fff;
    margin: 0 0 20px;
}

.footer-columns .footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-columns .footer-column ul a {
    color: #fff;
    font-size: var(--fontsize-body-small);
    font-weight: 400;
    line-height: 1.2em;
    transition: all 0.1s ease 0s;
    display: inline-block;
    margin-bottom: 10px;
}

.footer-columns .footer-column ul a:hover {
    color: var(--color-red);
}

.footer-column.contact-column {
    margin-left: auto;
    max-width: 205px;
}

.footer-column.contact-column img {
    width: 180px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.footer-column.contact-column p {
    font-size: var(--fontsize-body-small);
    margin: 0 0 10px !important;
    color: #fff;
    line-height: 1.2em;
}

.footer-column.contact-column a {
    color: #fff;
    transition: all 0.1s ease 0s;
}

.footer-column.contact-column a:hover {
    color: var(--color-red);
}

.secondary-footer {
    background-color: #fff;
    padding: 40px 0;
}

.secondary_footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.secondary_footer-column p {
    font-size: var(--fontsize-body-tiny);
    margin: 0 !important;
    color: var(--color-grey-dark);
}

.secondary_footer-column img {
    width: 300px;
    display: block;
    margin: 0;
}

.footer-socials {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.footer-socials li a {
    color: #fff !important;
    background-color: var(--color-grey-dark);
    width: 32px;
    display: flex;
    height: 32px;
    text-align: center;
    border-radius: 100px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease 0s;
}

.footer-socials li a:hover {
    background-color: var(--color-red);
}

.brewedby {
    background-color: var(--color-grey-dark);
    color: #fff;
    padding: 17px 0 15px;
}

.brewedby p {
    text-align: right;
    font-size: var(--fontsize-body-tiny);
}

.brewedby p a {
    color: #fff !important;
}

.brewedby p a svg {
    vertical-align: -5px;
    margin-left: 10px;
}

/*
-------------------------------------------------------------|
                                                         ADS |
-------------------------------------------------------------|
*/

.advert {
    background-size: cover;
    background-position: center;
    position: relative;
}

.advert-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}



/*
-------------------------------------------------------------|
                        FLEXIBLE CONTENT - featured carousel |
-------------------------------------------------------------|
*/

.featured-carousel {
    height: 475px;
    background-color: #fff;
}

.featured-carousel .slick-list {
    margin: 0;
}

.featured_carousel-item {
    height: 475px;
    position: relative;
}

.featured_carousel_item-background {
    height: 330px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured_carousel_item-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 205px;
    height: 188px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.featured_carousel_item-content {
    height: 145px;
    background-color: var(--color-grey-lightest);
    position: relative;
    padding: 30px;
    padding-right: 150px;
}

.featured_carousel_item-content .button.red.edge {
    position: absolute;
    bottom: 0;
    right: 0;
}

.featured_carousel_item-content .featured_carousel_item-pretitle {
    color: var(--color-blue-darker);
    font-weight: 700;
    margin: 0 !important;
    font-size: var(--fontsize-body-tiny);
    line-height: 1em;
}

.featured_carousel_item-content h3 {
    font-size: var(--fontsize-heading-primary);
    line-height: 1em;
    margin: 0;
    font-weight: 700;
    color: var(--color-grey-dark);
}

.featured_carousel_item-content h3 ~ p {
    font-size: var(--fontsize-body-tiny);
    line-height: 1em;
    color: #000;
    margin: 10px 0 0;
}

.featured_carousel-item .advert {
    height: 100% !important;
}
