/* Start Header Compact */
#axero-header-compact,
            .navbar #axero-header,
#axero-header-social {
        background: #13294b;}
/* End Header Compact */

.navbar #axero-header {
    height: 58px;
}

.navbar .brand {
    padding-top: 15px;
}

/*Style for Slick Carousel template*/
.y-carousel {
    margin-bottom: 30px;
}

.y-carousel .y-slide {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.y-carousel .y-slide img.y-image {
    display: block;
    margin-top: -25px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.y-carousel .y-slide .y-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.21) 21%, rgba(0, 0, 0, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.21) 21%, rgba(0, 0, 0, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.21) 21%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#000000', GradientType=0);
}

.y-carousel .y-slide .y-info .y-info-content {
    max-width: 600px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 45px;
    box-sizing: border-box;
}

.y-carousel .y-slide .y-info .y-info-content .y-info-content_date {
    font-size: 15px;
}

.y-carousel .y-slide .y-info .y-info-content .y-info-content_title {
    font-size: 34px;
    font-weight: 600;
}

.y-carousel .y-slide .y-info .y-info-content .y-info-content_title a {
    color: #fff;
}

.y-carousel .y-slide .y-info .y-info-content .y-info-content_summary {
    font-size: 17px
}

.y-carousel .y-slide .y-info .y-info-content .y-info-content_user {
    margin-top: 20px;
}

.slick-arrow::after {
    content: '';
    position: absolute;
    border: 2px solid #fff;
    width: 14px;
    height: 14px;
    top: 17px;
    left: 20px;
    border-width: 0 0 2px 2px;
    left: auto;
    right: 22px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.slick-arrow {
    -webkit-transition: opacity .8s ease-in-out;
    -moz-transition: opacity .8s ease-in-out;
    transition: opacity .8s ease-in-out;
    border: 0;
    width: 52px;
    height: 52px;
    border-radius: 0;
    font-size: 19px;
    line-height: 52px;
    font-weight: bolder;
    z-index: 98;
    text-indent: -9999px;
    overflow: hidden;
    padding: 0;
    margin: 0;
    margin-top: 0px;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 42%;
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}

.slick-arrow.slick-prev {
    left: 0;
    display: none !important;
}

.slick-arrow.slick-next {
    right: 0;
}

.slick-arrow.slick-prev:after {
    left: 21px;
    border-width: 2px 2px 0 0;
    display: none;
}

.slick-arrow.slick-next:after {
    border-width: 0 0 2px 2px;
    right: 21px;
}

.slick-dots {
    position: absolute;
    top: 0;
    right: 0;
    list-style: none;
}

.slick-dots li {
    display: inline;
}

.slick-dots li button {
    border: 0;
    border-radius: 400px;
    text-indent: -999px;
    content: '';
    height: 3px;
    width: 23px;
    margin-right: 10px;
    color: transparent;
}

.slick-dots li.slick-active button {
    background: #000;
}

@media (max-width: 767px) {

    .y-carousel .y-slide {
        overflow: auto;
        padding: 0;
        height: auto;
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-topright: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .y-carousel .y-slide img.y-image {
        position: relative;
        -webkit-border-top-left-radius: 4px;
        -webkit-border-top-right-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-topright: 4px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .y-carousel .y-slide .y-info {
        position: relative;
        display: block;
        background: #000;
        -webkit-border-bottom-right-radius: 4px;
        -webkit-border-bottom-left-radius: 4px;
        -moz-border-radius-bottomright: 4px;
        -moz-border-radius-bottomleft: 4px;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .y-carousel .y-slide .y-info .y-info-content {
        position: relative;
        padding: 20px;
    }

    .y-carousel .y-slide .y-info .y-info-content .y-info-content_date {
        font-size: 13px;
    }

    .y-carousel .y-slide .y-info .y-info-content .y-info-content_title {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        line-height: normal;
    }

    .y-carousel .y-slide .y-info .y-info-content .y-info-content_summary {
        font-size: 15px;
        margin-top: 5px;
    }

    .slick-arrow {
        background-color: rgba(0, 0, 0, .8);
    }

    /*Remove image crop for the People Directory template*/
    ul.axero-people-grid li .thumbnail .img-wrapper a.img-inner img:nth-child(2) {
        margin-top: 0;
    }

    ul.axero-people-grid li .thumbnail .img-wrapper {
        padding-top: 100%;
    }
}

/*Set color of icons in Nav - Icon Blocks (Pills) template*/
.axero-pills.axero-lightning-navigation-list .axero-widget-body ul li a .x-icon i {
    color: #00A3E0;

}

.xs-newsroom-wide .xs-content ul li a .tile-content .tile-content-text .tile-head .category-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.33341;
    font-weight: 600;
    color: #08c;

}

.axero-mobile-news-unit .axero-widget-content ul li a .x-label .x-space {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: .8em;
    line-height: 1.33341;
    color: #08c;
}

.btn-success {
    color: #fff !important;
    text-shadow: 0 0 0 transparent;
    background-color: #13294b;
    *background-color: #13294b;
    background-image: -moz-linear-gradient(top, #13294b, #13294b);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#13294b), to(#13294b));
    background-image: -webkit-linear-gradient(top, #413294b, #13294b);
    background-image: -o-linear-gradient(top, #13294b, #13294b);
    background-image: linear-gradient(to bottom, #13294b, #13294b);
    background-repeat: repeat-x;
    border-color: #13294b #13294b #13294b;
    border-color: #13294b;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$btn-success-color-bg-msfilter', endColorstr='$btn-success-color-bg-msfilter', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/*Widget background color 1*/
.axero-widget.custom-background-1 {
    background: #13294b;
    color: white;
}

.amfirst-custom-light-blue {
    background-color: #00a3e0;
    color: #ffffff;
}

/*My Recognition widget*/
.axero-widget-content.axero-my-recognition ul.badges-earned-list li {
    width: 20%
}

/*Style for Header with Navigation template*/
.axero-widget-full-header {
    color: #FFF;
    padding: 30px 0;
    margin: -30px 0 0px;
    background: #012281;
}

.axero-widget-full-header h3,
.axero-widget-full-header p {
    text-align: center;
}

.axero-widget-full-header-navigation {
    background: #016281;
    margin-bottom: 30px;
}

.axero-widget-full-header-navigation .row-fluid .span12 {
    min-height: auto;
}

.axero-widget-full-header-navigation ul {
    margin: 0;
}

.axero-widget-full-header-navigation ul li {
    padding: 0;
}

.axero-widget-full-header-navigation ul li a {
    padding: 15px 20px 15px;
    display: inline-block;
    color: #fff;

}

.onlinebanking-space {
    background-image: url(https://cdn.communifire.com/stock/06.jpg);
}

/* =========================================================
   Clean Modern Button Tiles (brand update)
   ========================================================= */

/* --- Grid layouts (2‑ and 3‑column) --- */
.axero-navigation-image-blocks ul.col-2-custom,
.axero-navigation-image-blocks ul.col-3-custom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.axero-navigation-image-blocks ul.col-2-custom {
    gap: 2%;
}
.axero-navigation-image-blocks ul.col-3-custom {
    gap: 1.5%;
}

/* --- Square tile sizing --- */
.axero-navigation-image-blocks ul.col-2-custom > li {
    flex: 1 1 48%;
    max-width: 48%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
}
.axero-navigation-image-blocks ul.col-3-custom > li {
    flex: 1 1 31%;
    max-width: 31%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
}

/* --- Tile link container --- */
.axero-navigation-image-blocks ul.col-2-custom > li a,
.axero-navigation-image-blocks ul.col-3-custom > li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff; /* Clean white tile */
    box-shadow: 0 2px 8px rgba(0, 48, 87, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}

/* Hover lift */
.axero-navigation-image-blocks ul.col-2-custom > li a:hover,
.axero-navigation-image-blocks ul.col-3-custom > li a:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 48, 87, 0.15);
}

/* Remove gradient overlay to simplify look */
.axero-navigation-image-blocks ul.col-2-custom > li a::after,
.axero-navigation-image-blocks ul.col-3-custom > li a::after {
    display: none;
}

/* Optional top accent stripe (brand highlight) */
.axero-navigation-image-blocks ul.col-2-custom > li a::before,
.axero-navigation-image-blocks ul.col-3-custom > li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #E03C6B; /* PANTONE 192 C */
    border-radius: 16px 16px 0 0;
    z-index: 2;
}

/* --- Image layer (preserves background-image rendering) --- */
.axero-navigation-image-blocks ul.col-2-custom > li a .tile-media,
.axero-navigation-image-blocks ul.col-3-custom > li a .tile-media {
    position: absolute;
    inset: 0;
    background-size: 55% auto; /* keeps icon proportionate */
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.25s ease;
}

/* Slight hover zoom for subtle motion */
.axero-navigation-image-blocks ul.col-2-custom > li a:hover .tile-media,
.axero-navigation-image-blocks ul.col-3-custom > li a:hover .tile-media {
    transform: scale(1.05);
}

/* --- Title caption (bottom of tile, smaller version) --- */
.axero-navigation-image-blocks ul.col-2-custom > li a .tile-content-text,
.axero-navigation-image-blocks ul.col-3-custom > li a .tile-content-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #003058; /* PANTONE 540 C */
    color: #fff;
    padding: 6px 10px;          /* smaller bar height */
    text-align: center;
    border-radius: 0 0 16px 16px;
    font-weight: 500;
    font-size: 0.85rem;         /* reduced font size */
    letter-spacing: 0.15px;
    z-index: 2;
    transition: background-color 0.25s ease;
}

.axero-navigation-image-blocks ul.col-2-custom > li a:hover .tile-content-text,
.axero-navigation-image-blocks ul.col-3-custom > li a:hover .tile-content-text {
    background-color: #00AEEF; /* PANTONE 299 C hover tone */
}

/* --- Title text inside caption --- */
.axero-navigation-image-blocks ul.col-2-custom > li a .tile-content-text h4,
.axero-navigation-image-blocks ul.col-3-custom > li a .tile-content-text h4 {
    margin: 0;
    font-size: 0.9rem;          /* slightly smaller text */
    font-weight: 600;
    letter-spacing: 0.25px;
    color: #fff;
    white-space: nowrap;
}