.wp-block-atb-animated-card {
    border-radius: 0 50px 50px 50px;
    }

div.card-content, 
a.card-content {
    text-decoration: none;
    }

p.card-text:focus,
p.card-text:focus-within,
p.card-text:hover,
p.card-text:target,
p.card-text:visited,
p.card-text:focus-visible,
.card-text:focus,
.card-text:focus-within,
.card-text:focus-visible,
.card-text:hover,
.card-text.is-focused,
p.card-text.is-focused,
.card-content:focus-within p.card-text, 
a.card-content:focus-within p.card-text, 
a.card-content:focus-visible p.card-text,
.card-content:focus p.card-text {
    opacity: 1;
    }

div.button-content.center-this-button {
    width: 100%;
    text-align: center;
    }

.ats-100-wide {
    width: 100%;
    }

@media only screen and (max-width: 767px) {
    
    div.button-content {
        margin: 0 !important;
        }
    
    div.button-content.center-this-button {
        text-align: left;
        }
    div.button-content.center-this {
        text-align: left;
        }
    }


.field_description_above a {
    padding: 10px 0;
    display: block;
    }

.gfield-choice-input {
    min-height: 24px !important;
    min-width: 24px !important;
    }

.esri-attribution__link {
    text-decoration: underline !important;
    }


/************
 MENU
*************/

.menu-item:hover a,
.menu-item:hover button,
.ally-mega-menu .menu-item > a:hover,
.ally-mega-menu > .menu > .menu-item > a:hover,
.ally-mega-menu > .menu > .menu-item:hover > a,
.ally-mega-menu .menu-item > button:hover,
.ally-mega-menu > .menu > .menu-item > button:hover {
    background: #e9f9ff;
    color: #0e6724 !important;
    }

.ally-mega-menu .menu-item .submenu a:hover {
    background: unset;
    color: #0e6724 !important;
    }

.menu-item:hover .ally-dropdown-arrow .icon-down-arrow:before {
    background-color: #0e6724 !important;
    }

.ally-mega-menu .menu-item:hover > .submenu,
.ally-mega-menu .menu-item > a[aria-expanded="true"] + .submenu,
.ally-mega-menu .menu-item > .submenu.toggled,
.ally-mega-menu .menu-item > button[aria-expanded="true"] + .submenu {
    background: linear-gradient(to bottom, #e9f9ff, #f2fff6);
    background-color: unset !important;
    }

.ally-mega-menu .menu-item-text {
    color: #005194 !important;/* blue */
    }

.ally-mega-menu ul.menu li a:hover .submenu-title,
.ally-mega-menu ul.menu li a:hover .menu-item-description,
.ally-mega-menu ul.menu li a:hover .menu-item-title {
    color: #005194 !important;/* blue */
    }

.ally-mega-menu .current-menu-item a .svg-inline--fa {
    /* background-color: #0e6724; */
    }

.ally-mega-menu a:hover .svg-inline--fa {
    background-color: #005194 !important; /* blue */
    }

.text-container .menu-item-title {
    font-family: unset !important;
    line-height: unset !important;
    font-size: unset !important;
    }

.allybasic .ally-grid-submenu li.menu-item.current-menu-item a, 
.allybasic .ally-columns-submenu li.menu-item.current-menu-item a,
.current-menu-item a .menu-item-title,
.current-menu-item a .menu-item-description {
    color: #005194 !important;
    }


.ally-grid-submenu li.menu-item.current-menu-item, 
.ally-columns-submenu li.menu-item.current-menu-item {
    outline: unset !important;
    }

.ally-grid-submenu li.menu-item.current-menu-item::before,
.ally-columns-submenu li.menu-item.current-menu-item::before {
    content: "";
    -webkit-mask-image: url('/wp-content/plugins/ally-mega-menu/images/you-are-here.svg');
    mask-image: url('/wp-content/plugins/ally-mega-menu/images/you-are-here.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #005194;
    width: 16px;
    height: 22px;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    }

.ally-mega-menu ul.menu li ul li p.about-us-menu-link a {
    padding: 0 !important;
    }

.ally-mega-menu ul.menu li ul li a {
    padding: 15px 0px 15px 25px !important;
    }

.menu-item a:hover .text-container .menu-item-title {
    /*transition: all 0.3s ease-in-out;*/
    }

.menu-item a:hover .text-container .menu-item-title {
    /*border-bottom: solid 1px #005194;*/
    }

.ally-mega-menu ul.menu li ul li a.atsbuttontrans {
    padding: 0 !important;
    }

/*.menu li.ally-mega-column-3,*/
.ally-column-border {
    border-left: 3px dotted #a0d6ae;
    margin: 30px 0;
    padding: 0 30px !important;
    }

.menu.collapsed li.ally-mega-column-3 {
    margin-top: 30px;
    border-top: 3px dotted #a0d6ae; /* was #daf1e0 */
    padding-top: 30px !important;
    border-left: unset;
    padding-left: 0px !important;
    }


.ally-mega-menu .menu.collapsed .menu-item > a,
.ally-mega-menu .menu.collapsed .menu-item > span,
.ally-mega-menu .menu.collapsed .menu-item > button {
    padding: 20px 25px;
    }

.menu-item a .menu-item-title {
    position: relative;
    text-decoration: none;
    padding-bottom: 2px;
    display: inline-block;
    /* color: #fff;*/
    }
/*
.menu-item a:focus .menu-item-title {
    color: #005194;
    }
*/
.menu-item a .menu-item-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color: #005194;
    transition: width 0.3s ease-in-out;
    }

.menu-item a:hover .menu-item-title::after {
    width: 100%;
    }

.ally-mega-menu .menu-item > a:focus, 
.ally-mega-menu .menu-item > span:focus,
.ally-mega-menu .menu-item > span:focus-visible,
.ally-mega-menu .menu-item > button:focus,
button#menu-toggle:focus {
    outline: 2px dotted #BD5300 !important;
    }

.ally-pad-top {
    padding: 20px 0 !important;
    }

.ally-pad-top-left {
    padding: 20px 0 20px 20px !important;
    }

.ally-pad-top-right {
    padding: 20px 20px 20px 0px !important;
    }

.ally-column-1.ally-image-column {
    max-height: 370px;
    }

.ally-image-column,
.ally-image-column li div,
.ally-image-column li {
    height: 100%;
    padding: 0px !important;
    }

.ally-mega-column figure {
    margin: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    }

.ally-mega-column figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    }

@media screen and (max-width: 1226px) {
    .ally-image-column {
        display: none;
        }
    
    .ally-pad-top {
        padding: 0px !important;
        }
    
    .ally-pad-top-left {
        padding: 0px !important;
        }

    .ally-pad-top-right {
        padding: 0px !important;
        }
    
    .menu-item a .menu-item-title {
        color: #fff;
        }
    
    .menu-item a:focus .menu-item-title {
        color: #005194;
        }
    
    .ally-mega-menu .menu.collapsed .menu-item a:focus .icon-down-arrow::before {
        background-color: #005194;
        }
    
    .menu-item a.parent-hover-active .menu-item-title,
    .toggled ul .menu-item-title {
        color: #016f44;
        }
    }

/************
 END MENU
*************/


/***********
 ArcGIS
 **********/
/*
 :host([scale="m"]) button:not(.content--slotted),
:host([scale="m"]) a:not(.content--slotted),
 */
:host([kind="neutral"]) button:hover, 
:host([kind="neutral"]) button:focus,
:host([kind="neutral"]) a:hover,
:host([kind="neutral"]) a:focus,
:host button:focus,
:host a:focus,
.button-padding--shrunk icon-end-empty,
.esri-widget--button:focus-within {
    outline: 2px dotted #BD5300 !important;
    outline-offset: -4px !important;
    }
/***********
 End ArcGIS
 **********/
