/* ==========================================================================
   Lyf Pay banner styles
   ========================================================================== */

.lyf-banner {
    background-color: #3493D6;
    color: white;
    padding-bottom: .5em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2em;
}

@media (min-width: 900px) {
    .lyf-banner {
        padding-top: .5em;
        padding-left: .5em;
        padding-right: 1em;
    }
}

.lyf-banner-title {
    font-size: 1.9em;
    vertical-align: middle;
}

.lyf-banner-logo {
    vertical-align: middle;
    width: 6em;
    height: 3em;
    padding-left: 0.5em;
}

@media (max-width: 900px) {
    .lyf-banner-logo {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

@media (max-width: 320px) {
    .lyf-banner-logo {
        padding-top: 1em;
    }
}

.lyf-first {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.9em;
    font-weight: bold;
    width: 90%;
}

@media (min-width: 900px) {
    .lyf-first {
        margin-left: 1em;
        width: auto;
    }
}

.lyf-center-container {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
    padding-top: 1em;
    padding-bottom: 1em;
}

@media (min-width: 900px) {
    .lyf-center-container {
        padding-left: 2em;
        padding-right: 2em;
        width: auto;
    }
}

.lyf-img-container {
    margin-bottom: 0.5em;
}

@media (max-width: 620px) {
    .lyf-img-container {
        margin-bottom: 1em;
    }
}

.lyf-third {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid white;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .lyf-third {
        margin-top: 1em;
        margin-bottom: 1em;
    }
}

.lyf-banner-btn {
    color: white;
    padding: 1em;
}

.feature-banner-content {
    width: 100%;
    text-align: center;
}
@media (min-width: 900px) {
    #feature-banner-content {
        margin-top: 1em;
    }
}
.feature-banner-radio {
    display: none;
}
.feature-banner-slides {
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.feature-banner-slides-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 500%;
    -webkit-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    -o-transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    -webkit-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
    -o-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
    transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
}
.feature-banner-slide {
    width: 20%;
    float: left;
}
.feature-banner-slide,
.feature-banner-radio,
.feature-banner-radio-btn {
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.feature-banner-radio {
    margin-top: 2em;
}



#slide1:checked ~ .feature-banner-slides .feature-banner-slides-inner{
    margin-left: 0;
}
#slide2:checked ~ .feature-banner-slides .feature-banner-slides-inner{
    margin-left: -100%;
}

#slide1:checked ~ div .feature-banner-navigation .feature-banner-radio-btn:nth-child(1),
#slide2:checked ~ div .feature-banner-navigation .feature-banner-radio-btn:nth-child(2){
    background: white;
}
.feature-banner-radio-btn {
    width: .5em;
    height: .5em;
    border-radius: 100%;
    background: rgba(255,255,255, 0.4);
    display: inline-block !important;
    margin: 0 1px;
    cursor: pointer;
}

@-webkit-keyframes bullet {
    0%, 50.00000000000005%	{
        background: rgba(255,255,255, 1);
    }
    50.00000000000006%, 100% {
        background: rgba(255,255,255, 0.4);
    }
}

@keyframes bullet {
    0%, 50%	{
        background: rgba(255,255,255, 1);
    }
    51%, 100% {
        background: rgba(255,255,255, 0.4);
    }
}


#play1:checked ~ div .feature-banner-navigation .feature-banner-radio-btn:nth-child(1) {
    -webkit-animation: bullet 12300ms infinite 0ms;
    animation: bullet 12300ms infinite 0ms;
}

#play1:checked ~ div .feature-banner-navigation .feature-banner-radio-btn:nth-child(2) {
    -webkit-animation: bullet 12300ms infinite 6150ms;
    animation: bullet 12300ms infinite 6150ms;
}

@-webkit-keyframes slide {
    0%, 45%	{ margin-left: 0; }
    53%, 90%	{ margin-left: -100%; }
}

@keyframes slide {
    0%, 45%	{ margin-left: 0; }
    53%, 90%	{ margin-left: -100%; }
}

.st-slider {
    overflow: hidden;
}


.st-slider > #play1:checked ~ .feature-banner-slides .feature-banner-slides-inner{
    -webkit-animation: slide 12300ms infinite;
    animation: slide 12300ms infinite;
}

.feature-banner-navigation {
    text-align: center;
}

.lyf-banner-pattern {
    vertical-align: middle;
    width: 30%;
    max-width: 400px;
}

.lyf-text-container {
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    width: 69%;
    max-width: 1000px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 899px) {
    .lyf-banner-pattern {
        display: none;
    }
    .lyf-text-container {
        width: 100%;
    }
}

.lyf-center-no-new-container {
    display: block;
}

@media (min-width: 900px) {
    .lyf-center-no-new-container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }
}