/*
 * news-article == container
 */
@media all {
    .view-frontpage .col-md-10,
    .view-frontpage-upsell-view .col-md-10,
    .view-frontpage-featured-slot .col-md-10,
    .view-secondary-news .col-md-10 {
    	padding-right: 0px;
    	padding-left: 0px;
    }
    .view-frontpage-upsell-view {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    /* News Article Stuff */
    .news-article {
        border-right: solid 1px #00AAFF;
        background-color: rgba(20,20,20,0.5);
        font-family: 'Stratum2-Regular', sans-serif;
        margin: 20px 0;
        position: relative;
    }

    .news-image,
    .news-article > div {
        z-index: 1;
    }

    .news-article:after {
        content: '';
        display: block;
        clear: both;
    }

    .news-article .news-image {
        z-index: 2;
    }

    .news-article .news-content {
        /* left: -25%; */
        padding: 20px;
        color: #FFFFFF;
        text-overflow: ellippsis;
    }

    .news-article h4 {
        font-family: 'Stratum2-Regular', sans-serif !important;
        font-size: 25px;
        color: #00AAFF;
        margin: 0;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 75px;
    }

    .pane-frontpage-upsell-view {
        background: url('../images/bg-front-upsell.jpg') top center;
        background-repeat: repeat-x;
        background-color: black;
        width: 200%;
        position: relative;
        left: -50%;
    }

    .pane-frontpage,
    .pane-secondary-news {
        background: url('../images/bg-home-news-1.jpg') top center;
        background-repeat: repeat-x;
        background-color: black;
        width: 200%;
        position: relative;
        left: -50%;
        padding-bottom: 60px;
    }

    .pane-secondary-news {
        background: url("../images/bg-about-mid-1.jpg") no-repeat scroll center top #000;
        padding-bottom: 0;
    }

    .pane-frontpage h2,
    .pane-secondary-news h2 {
        width: 44%;
        margin: auto;
        position: relative;
        top: 45px;
    }

    .pane-frontpage .view-id-frontpage,
    .pane-secondary-news .view-id-secondary_news {
        width: 100%;
        margin: auto;
        position: relative;
        top: 45px;
    }

    .upsell-item {
        text-align: right;
        max-width: 290px;
    }

    .view-frontpge-upsell-view .upsell-item:last-of-type {
        margin-bottom: 0px;
    }

    .upsell-title {
        padding: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        background-color: rgba(40, 40, 40, 0.9);
        width: 100%;
        position: absolute;
        height: 45px;
        bottom: 0;
        right: 0;
    }

    .upsell-image > a {
        font-size: 20px;
        white-space: nowrap;
    }

    .upsell-image {
        position: relative;
    }

    .upsell-image img {
        max-width: 290px;
        max-height: 140px;
        height: 100%;
    }

    /* Positioning */
    .news-image,
    .news-article,
    .news-article > h4,
    .news-article > div {
        float: left;
    }

    .news-article {
        overflow: hidden;
    }

    .news-article .actions {
        left: 270px;
        bottom: 15px;
        position: absolute;
    }

    .actions > a {
        text-transform: uppercase;
        font-family: "Stratum2-Bold", sans-serif;
        font-weight: bold;
    }

    .actions > a:hover {
        text-decoration: none;
    }

    .news-article .news-content {
        padding: 15px;
        padding-top: 0px;
        overflow: hidden;
    }

    .view-frontpage-featured-slot {
        position: relative;
        top: 0;
        margin-left: -50%;
        height: 450px;
        width: 200%;
    }

    .view-frontpage-featured-slot .views-field-title {
        padding: 15px;
        background-color: rgba(0,0,0,0.5);
        position: absolute;
        bottom: 15px;
        font-family: "Stratum2-Regular", sans-serif;
        font-size: 30px;
        z-index: 1;
    }

    .page-frontpage2 #static-bg .main-container,
    .page-frontpage2 #static-bg {
        margin: 0;
        padding: 0;
    }
    .page-frontpage2 #static-bg {
        margin-top: -84px;
    }

    .featured-img {
        position: relative;
        top: 0;
        left: -50%;
        width: 200%;
        height: 450px;
    }

    .view-frontpage-featured-slot .views-field-title a {
        color: #FFFFFF;
    }

    .page-frontpage2 .bg-footer {
        top: 35px;
    }
}

/*
xs = 768
sm = 768 -> 992
md = 992 -> 1200
lg = 1200
@media (max-width: 767px) { ... }
@media (min-width: 768px) and (max-width: 991px) { ... }
@media (min-width: 992px) and (max-width: 1199px) { ... }
@media (min-width: 1200px) { ... }
*/

/*
 * news-article should get 100% width whenever it is at the screen width for the grid column and is full width (12 columns wide)
 */
/* xs */

@media (min-width: 300px) {
    #news-updates h2.pane-title { background: none; padding-left:0; }
    #news-updates .view-frontpage .container,
    .view-secondary-news .container {
        padding-left: 0; padding-right: 0;
    }
    .news-article .datetime {
        width: 42px;
    }
    .news-article > h4,
    .news-article .news-content {
        width: 50%;
    }
}

@media (min-width: 640px) {
    #news-updates h2.pane-title {
        background: url("../images/icon-shield.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        padding-left: 85px;
        left: -83px;
    }
    .news-article .datetime {
        width: 52px;
    }
    .news-article > h4,
    .news-article .news-content {
        width: 60%;
    }
}

@media (max-width: 640px) {
    .view-frontpage-featured-slot {
    	height: 180px;
    	margin-top: 75px;
    }
}
@media (min-width: 641px) and (max-width: 767px) {
    .view-frontpage-featured-slot {
    	height: 180px;
    	margin-top: 105px;
    }
}
@media (max-width: 767px) {
    #news-updates h2.pane-title { left: -10px; }
    .news-article {
        height: 94px;
        width: 100%;
        min-width: 315px;
    }

    .news-image img{
        height: 94px;
        float: left;
    }

    .news-article .datetime {
        height: 94px;
        min-height: 0;
    }

    .news-article > h4,
    .news-article .news-content {
        padding: 0px;
        padding-left: 15px;
        width: 50%;
        min-width: 160px;
        max-width: 535px;
    }

    .view-frontpage-featured-slot .views-field-title {
        right: 25%;
        font-size:16px;
        bottom:280px;
    }

    .upsell-item {
        margin-bottom: 15px;
    }

    .pane-frontpage .view-id-frontpage,
    .pane-secondary-news .view-id-secondary_news {
    	width: 50%;
    }

    .news-article h4 {
     max-height: 54px;
    }
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
    .news-article {
        height: 200px;
        width: 100%;
    }

    .news-article .datetime {
        min-height: 200px;
    }

    .news-article > h4 {
        padding: 15px;
        width: 64%;
    }

    .news-article .news-content {
        width: 64%;
    }

    .view-frontpage-featured-slot .views-field-title {
        right: 0px;
        font-size:20px;
    }

    .upsell-item {
        margin-bottom: 15px;
    }

    .featured-img {
    	height: 180px;
    }

    .view-frontpage-featured-slot {
    	height: 180px;
    	margin-top: 150px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #news-updates h2.pane-title { left: -10px; }
    .news-article {
        height: 200px;
        width: 100%;
    }

    .news-article .datetime {
        position: absolute;
        min-height: 200px;
    }

    .news-article > h4 {
        padding: 15px;
        width: 64%;
    }

    .news-article .news-content {
        width: 64%;
    }

    .view-frontpage-featured-slot .views-field-title {
        right: 0px;
    }

    .upsell-item {
        margin-bottom: 15px;
    }
}

/* lg */
@media (min-width: 1200px) {
    #news-updates h2.pane-title { left: -10px; }
    .news-article {
        height: 200px;
    }

    .col-lg-12 .news-article {
        width: 100%;
    }

    .news-article .datetime {
        min-height: 200px;
    }

    .news-article > h4 {
        padding: 15px;
    }

    .col-lg-6 > .news-article > h4 {
        width: 40%;
        font-size: 25px;
        max-height:72px;
    }

    .col-lg-12 > .news-article > h4 {
        font-size: 36px;
        max-height:62px;
        white-space: nowrap;
        width: 70%;
    }

    .col-lg-6 > .news-article > .news-content {
        font-size: 18px;
        line-height: 18px;
        height: 74px;
        width: 44%;
    }

    .col-lg-12 > .news-article > .news-content {
        font-size: 18px;
        line-height: 18px;
        height: 92px;
        width: 70%;
    }

    .view-frontpage-featured-slot .views-field-title {
        right: 50px;
    }
}
