/****************************************************************
 HOME FEATURES
****************************************************************/
#featured{
    margin-top: -50px;
}
#feature-primary{
    background: #e4e4e4 url('../images/video_background_fallback_stx.jpg') center center no-repeat;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-shadow: 0 0 10px #111;
}
#feature-primary .background-video{
    margin-top: -10px;
}
#feature-primary .button{
    text-shadow: none;
}
#feature-primary .overlay{
    background: #111;
    opacity: .5;
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
}
#feature-primary .row{
    display: flex;
    min-height: 540px;
}
#feature-primary .row > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#feature-primary .feature-primary--action{
    max-width: 580px;
}
#feature-secondary .row{
    display: flex;
}
#feature-secondary .row > div{
    display: flex;
}
/* Featured responsive */
@media screen and (max-width:960px){
    .feature-primary--image{
        display: none !important;
    }
    .feature-primary--action{
        width: 100%;
        text-align: center;
        max-width: 100% !important;;
    }
}
@media screen and (max-width:640px){
    #feature-secondary .row,
    #feature-secondary .row > div{
        display: block;
    }
}

/****************************************************************
SABRE STATS
****************************************************************/
/* Stats */
#stats .row{
    margin-bottom:0px;
}
#stats .stat-item{
    position: relative;
    margin-bottom:80px;
}
#stats .stat-item p{
    margin: 0;
}
#stats ul.stats{
    list-style: none;
    overflow: visible;
    margin: 0;
    margin-top: 80px;
    margin-bottom:-40px;
}
#stats .stat-value{
    font-size: 40px;
    font-weight: lighter;
    line-height: 1.2em;
}
#stats .stat-icon{
    position: absolute;
    width: 110px;
    top:-25px;
}
#stats .stat-content{
    padding-left: 130px;
}
/* Stat responsive */
@media screen and (max-width:728px){
    #stats .col-xs-6:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width:640px){
    #stats .stat-icon{
        width: 60px;
        top:-5px;
    }
    #stats .stat-content{
        padding-left: 65px;
    }
    #stats .stat-value{
        font-size: 34px;
    }
}
