/* Match site desktop breakpoint (see media.css min-width: 1007px) */
.desk-banner { display: none !important; }
.mobi-banner { display: block !important; width: 100%; height: auto; max-width: 100%; vertical-align: top; }

@media only screen and (min-width: 1007px) {
    .desk-banner { display: block !important; width: 100%; height: auto; max-width: 100%; vertical-align: top; }
    .mobi-banner { display: none !important; }
}

#mainslider .topslider li a img.desk-banner,
#mainslider .topslider li a img.mobi-banner {
    box-sizing: border-box;
}

/* Banner bottom action strip (placed after slider) */
#mainslider .rightbutton {
    position: static;
    width: 100%;
    margin: 0;
    background: #1a5d99;
}

#mainslider .rightbutton ul {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

#mainslider .rightbutton li {
    flex: 1 1 25%;
    min-height: 148px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    width: auto;
    float: none;
    clear: none;
    overflow: visible;
    transition: background-color 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 14px 16px;
    cursor: pointer;
}

#mainslider .rightbutton li:last-child {
    border-right: 0;
}

#mainslider .rightbutton li:hover {
    width: auto;
    background-color: #004078;
}

#mainslider .rightbutton .icon {
    width: auto;
    min-width: 0;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
}

#mainslider .rightbutton i {
    margin-top: 0;
    transition: transform 0.25s ease;
    transform: scale(1.35);
}

#mainslider .rightbutton .rightlink {
    position: static;
    width: auto;
    opacity: 1;
    height: auto;
    line-height: 1.1;
    padding: 10px 10px 0;
    overflow: visible;
    text-transform: none;
    text-align: center;
}

#mainslider .rightbutton li .rightlink {
    pointer-events: auto;
}

#mainslider .rightbutton .rightlink a {
    color: #ffffff;
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    font-family: "robotoregular", Arial, sans-serif;
    transition: color 0.25s ease;
}

#mainslider .rightbutton .rightlink a:hover {
    color: #e7f9ec;
}

#mainslider .rightbutton li:hover i {
    transform: translateY(-1px) scale(1.45);
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {  

   /* Your CSS Code for this device size */    

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {  

   /* Your CSS Code for this device size */    

} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {  

   /* Your CSS Code for this device size */    

}      

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

   /* Your CSS Code for this device size */ 

}

/* According to Mobile Orientation */
@media only screen and (orientation: landscape) {   

   /* Your CSS Code for this device orientation */    

}

@media only screen and (max-width: 1200px) {
    footer .copyright {
        border-top: none !important;
    }
}

@media only screen and (max-width: 1006px) {
    #mainslider .rightbutton ul {
        flex-wrap: nowrap;
    }

    #mainslider .rightbutton li {
        min-height: 96px;
        padding: 10px 6px 9px;
    }

    #mainslider .rightbutton .icon {
        width: auto;
        min-width: 0;
        height: auto;
    }

    #mainslider .rightbutton .rightlink {
        padding: 8px 4px 0;
    }

    #mainslider .rightbutton .rightlink a {
        font-size: 14px;
    }

    #mainslider .rightbutton i {
        transform: scale(1.2);
    }

    footer .newftr {
        padding-top: 4px !important;
        padding-bottom: 0 !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    footer .copyright {
        padding-top: 6px !important;
        border-top: none !important;
        box-shadow: none !important;
    }

    .newftr .newftrmobi {
        display: inline-block !important;
        text-align: center;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #36414a;
        width: 100%;
    }

    .newftrmobi li {
        display: inline-block;
        line-height: 1;
        padding: 0 7px;
        border-right: 1px solid #555;
    }

    .newftrmobi li:last-child {
        border-right: none;
    }

    .newftrmobi a {
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
    }

    .newftrmobi a:hover,
    .newftrmobi a:focus {
        color: #fff;
    }

    footer .copyright .ftrlink2 {
        display: none !important;
    }
}

/* Homepage only: CTA row under main slider (class is shared with hidden fixed rail elsewhere) */
#mainslider > .rightbutton {
    display: block !important;
}