/* common.css applies to essentially every page, be careful with style rules in here */


/* global accordion a11y fix - bring back styles that break when you put the heading around the button <h3><button></button></h3> */

.accordion-panel h1, .accordion-panel h2, .accordion-panel h3, .accordion-panel h4, .accordion-panel h5 {
    font-size: initial !important;
    line-height: 2.4rem !important;
    font-family: Roboto;
    font-weight: 400;
    margin-bottom: 0;
}

.accordion-panel > h3 > .collapse-toggle {
    width: 100%;
    display: block;
    position: relative;
    padding-right: 22px;
    padding-left: 0;
}


.accordion-panel > h3 > .collapse-toggle.collapsed:after {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.accordion-panel > h3 > .collapse-toggle:after {
    content: url(../svg/ui-chevron-down-blue.svg);
    background: 0 0;
    display: inline-block;
    height: 7px;
    width: 12px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 10px;
    left: auto;
    line-height: 0;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.accordion-panel > h3 > .collapse-toggle:before {
    display: none;
}

/* end accordion a11y fix */

/*contrast fix */
.btn:not(.tablesaw-nav-btn).tertiary.active:focus {
    outline: #fedf01 solid 1px !important;
}

.device-android:focus, .device-apple:focus {
    outline-color: #E50E00;
}


/* megamenu icon alignment fix */

.mega-menu-wpr .mm-toggle {
    display: flex;
}

.mega-menu-wpr .mega-menu-lob-title {
    font-weight: 700;
}

.mega-menu-wpr .mega-menu-nav > ul.mega-menu-lobs {
    padding-left: 15px;
}

/* legal bug focus a11y fix */

a.scrollto:focus {
    outline-offset: 2px;
}