/* 
Theme Name: US AutoForce 2025
Template: element
Version: 1.5.34
*/

.skip-main {
    background-color: #f9dc4a;
    border: solid 3px #000;
    color: #000;
    padding: 0.625em 0.9375em;
    text-decoration: none;
}

.skip-main:not(:focus):not(:active) {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-main:active,
.skip-main:focus {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 99999999;
}

#main-menu .menu li.menu-item-has-children:has(a[aria-expanded="true"]) ul.sub-menu {
    display: block !important;
    max-height: 600px;
}

#main-menu .menu li.menu-item-has-children:not(:has(a[aria-expanded="true"])) ul.sub-menu {
    display: none !important;
}

#main-menu ul.menu li a:focus-visible,
#main-menu ul.menu li:focus-within a {
    border-radius: 15px 15px 0 0;
    color: #fff;
    background: #151F6D;
}

*:focus-visible {
    outline: #000 auto 1px !important;
    outline-offset: 1px !important;
}

#wrapper-header #hiddensearchbox:not(.active) {
    display: none;
}

#wrapper-header #hiddensearchbox.active {
    display: block;
}

.wrapper-page-brand-resource section.brand-content .half-content .brand-item a {
    word-break: break-word;
}

.wrapper-page-brand-resource section.brand-content .inner .brand-item:not([data-active="true"]) {
    display: none;
}

.wrapper-page-brand-resource section.brand-content .inner .brand-item[data-active="true"] {
    display: block;
    width: 100%;
}

section.locations-map .terminal-map__search input, 
section.locations-map .terminal-map__search textarea, 
/*section.locations-map .terminal-map__search .gfield_select, */
section.locations-map .terminal-map__search select {
    margin-bottom: 20px;
}

section.locations-map .terminal-map__search {
    padding-top: 25px;
}

.terminal-map__search select {
    color: #000 !important;
}

.terminal-map__search select option {
    color: #757575;
}

.terminal-map__search #locationform-zip input[type="submit"] {
    cursor: pointer;
}

@media only screen and (max-width: 400px) {
    .brand-listing .brand-header h2 {
        font-size: 40px;
    }
}


/* Autoplay controls */
.control-autoplay {
    position: absolute !important;
    padding: 0;
    bottom: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    background-size: 16px auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    cursor: pointer;
    z-index: 99;
}

.full-video .control-autoplay {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
}

.control-autoplay:hover,
.control-autoplay:focus {
    opacity: 1;
}

.control-autoplay[aria-pressed="true"] {
    background-image: url('images/play-icon.svg');
}

.control-autoplay[aria-pressed="false"] {
    background-image: url('images/pause-icon.svg');
}

body:not(:has(#wpadminbar)) .otgs-development-site-front-end {
    display: none !important;
}