﻿.logo-container--secondary {
    padding-left: 3rem;
    position: absolute;
    z-index: 11;
}
.header-icons {
    background: #0055a5;
    padding: 0 3rem 0 2rem;
}
.header-section {
    transform: translateX(2rem);
}
/* required in order to allow the slanted background 
.header__extra-content-container--0,
.header-section__item:nth-of-type(4) {
    background: #0055a5;
}
*/
.header-section__item:nth-of-type(4) {
    padding-right: 0.875rem;
}
/*.header-section {
    background: #e91d12;
}*/
.homepageheader-item {
    /*height: 100%;*/
    background: #0055a5;
    transform: skew(-25deg);
    border-right: 1px solid #004484;
    transition: all .3s linear;
}
.homepageheader-item__title > a {
    display: block;
    padding: 0 20px;
}
.homepageheader-item__title * {
    color: #fff;
}
.homepageheader-item:hover .homepageheader-item__title,
.homepageheader-item:hover a ,
.homepageheader-item a:focus {
    color: #fff;
}
.homepageheader-item__title {
    transform: skew(25deg);
    font-size: .75rem
    line-height: 3.125rem;
    font-family: 'Barlow Bold', Arial, Helvetica, sans-serif;
}
.homepageheader-item.hover ,.homepageheader-item:hover{
    background: #e91d12;
}

.homepage-footer__title{
    color: #fff;
    opacity: .71;
    font-family: 'PalaceMain', Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: .29px;
    text-transform: uppercase;
}

.misc-content {
    background: #e91d12;
    padding: 30px 0;
}
.misc-content__item img {
    max-width: 75px;
}

@media screen and (min-width: 1040px) {
    .homepageheader-item__title > a {
        line-height: 78px;
        padding: 0 14px;
    }
    .homepageheader-item__title {
        font-size: 14px;
        letter-spacing: 1px;
    }
    /*.homepageheader-item--mainsite {
        padding-left: 1.8125rem;
    }*/
    /*.homepage-footer .grid-x {
        max-width: 70%;
    }*/
    .homepage-footer__container {
        background: url('/inc/resources/crystalp/stdimg/homepage-footer-bg.png') no-repeat 44%/contain;
        background-color: #0055a5;
    }
    .misc-content {
        transform: skew(-23deg) translateX(-8rem);
        padding: 0 5rem 0 0;
    }
    .misc-content__item img {
        max-width: 110px;
    }
    .misc-content__item {
        transform: skew(23deg);
    }
    .misc-content__item:nth-of-type(1) {
        transform: skew(23deg) translateX(-6.25rem) translateY(2rem);
    }
    .misc-content__item:nth-of-type(2) {
        transform: skew(23deg) translateY(-2rem);
    }
}

.is-open .title-bar {
    background: transparent;
}
.is-open .title-bar__logo {
    max-height: 78px;
}
.is-open .title-bar__logo-container{
    padding: 1rem 1rem 0.375rem 1rem;
}
/*#menu-left-open {
    background: url('/stdimg/eagle.svg') no-repeat 65.5% 72.5%/2000px #e91d12;
}*/

#responsive-sidemenu-bg {
    right: 15px;
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0;
    overflow: hidden;
}
.responsive-sidemenu-bg__img {
    position: absolute;
    top: -219%;
    right: -440px;
    opacity: .05;
    width: 2000px;
    fill: #000;
}

#header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.header-bg__img {
    position: absolute;
    top: -990px;
    left: -582px;
    width: 1800px;
    height: auto;
    fill: rgba(0,0,0,.05);
}
#responsive-sidemenu-myaccount {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 70px;
    background-color: #0055a5;

}
#responsive-sidemenu-myaccount .mega-menu__icon--myaccount-label {
    color: #fff;
    font-family: Palace Main,Impact,arial,sans‑serif;
    font-size: 20px;
    text-transform: uppercase;    
}

/* Very oddly the icons need some transform skew attached otherwise they get overflown by the header bg */
/*.header__extra-content-container{
    transform: skew(0deg);
}*/
/* had to ditch the skew solution as that was causing issue with my account dropdown being overlayed by topmenus somehow */
.main-header__widemenu-maincontent {
    z-index: 1;
}

.title-bar__icon--menu {
    transform: translateY(3px);
}