body{
    width: 100%;
    height: 100%;
    background-color: #051947 !important;
    font-family: 'Din Condensed';
}

#primaryContainer{
    padding: 0;
}

#ny-timer{
    width: 537px;
    margin-top: 7%;
    height: 180px;
    margin-right: 1%;
}

.countdown-banner{
    width: 100%;
    height: 353px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


#hashtag{
    color: #000d2c;
    font-size: 25px;
    position: absolute;
    right: 50px;
    bottom: 0;
}

#ny-timer div{
    display: inline-block;
    color: #051947;
    width: 155px;
    margin-right: 14px;
    text-align: center;
    font-size: 2.5em;
    padding: 16px 0 0 12px;
    margin-right: 22px;
}

#ny-timer div .units{
    display: inline-block;
    color: #051947;
    letter-spacing: 39px;
    text-align: center;
    font-size: 3em;
    width: 100%;
}

#ny-timer div:first-child{
    margin-left: 21px;
}
#ny-timer div:nth-child(3){
    margin-right: 0;
}
#ny-timer div:nth-child(4){
    display: none;
}


.social-feeds , .related-container{
    min-height: 250px;
    /*border: 1px solid white;*/
}

.social-feeds{
    padding-right: 0;
}

/* Custom Styles for JQuery UI */

.nav-tabs {
    border-bottom: none;
    background-color: #FFF;
    width: 64%;
    border-radius: 28px;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    -ms-border-radius: 28px;
    margin: 0 auto 20px;
    padding: 8px 10%;
}

#social-tabs{

    text-align: center;
}


.nav-tabs li{
    height: 38px;
    width: 38px;
    margin-left: 7px;
    margin-right: 7px;
    cursor: pointer;

}



.social-feeds .nav-tabs li:first-child {
    cursor: default;
    width: 95px;
    font-size: 30px;
    margin: 0;
    color: #051947;
}

.nav-tabs>li>a {
    border: none;
    border-radius: 0;
    padding: 8px;
    width: 38px;
    height: 43px;
}

.social-feed-element .muted{
    margin-top: 10px;
}
.social-feed-element {
    width: 47%;
    border-radius: 20px;
    padding: 15px;
}

.author-field a{
    color: #000 !important;
}

.author-field a:hover{
    color: #000 !important;
    text-decoration: none !important;
}

.social-feed-element .author-title{
    font-size: 13px;
}

.social-feed-element .media-object {
    display: block;
    width: 42px;
}

.social-feed-element .media-body{
    width: 100%;
    display: block;
    padding-top: 10px;
}

.social-feed-element .author-title {
    color: #000;
    line-height: 15px;
}

.social-feed-text, .author-title, .social-feeds span{
    font-family: 'Roboto';
    font-size: 15px;
}

.social-feeds li{
    o-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}


.social-feeds li.facebook:hover, .social-feeds li.facebook.active{
    background-image: url('//www.gmanetwork.com/gma/assets/countdown/img/fb-active.png') !important;
}

.social-feeds li.twitter:hover, .social-feeds li.twitter.active{
    background-image: url('//www.gmanetwork.com/gma/assets/countdown/img/twitter-active.png') !important;
}

.social-feeds li.instagram:hover, .social-feeds li.instagram.active{
    background-image: url('//www.gmanetwork.com/gma/assets/countdown/img/instagram-active.png') !important;
}

/*.related-content li.photo:hover span, .related-content li.photo.active span{
    background-image: url('http://lgmanetwork.com/gma/assets/countdown/img/photo-tab-active.png') !important;
}

.related-content li.video:hover span, .related-content li.video.active span{
    background-image: url('http://lgmanetwork.com/gma/assets/countdown/img/video-tab-active.png') !important;
}

.related-content li.article:hover span, .related-content li.article.active span{
    background-image: url('http://lgmanetwork.com/gma/assets/countdown/img/article-tab-active.png') !important;
}*/

.mrect {
    min-height: 250px;
    background-color: gray;
}

.author-title{
    font-size: 15px;
}

h1{
    display: none;
}

.main-body{
    width: 100%;
}


/* Masonry */

.social-content .tab-pane{
    width: 645px;

}

.social-content .tab-pane:after {
    content: '';
    display: block;
    clear: both;
}

.social-feed-element {
    /*margin-right: 10px !important;*/
    margin-bottom: 15px;
}


.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
    border: none;
    border-bottom-color: transparent;
    background-color: transparent;
}

.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
}

.related-content{
    width: 100%;
    min-height: 300px;
    background-color: #FFF;
    border-radius: 20px;
}

.related-container .nav-tabs{
    width: inherit;
    padding: 0;
    margin: 0;
    height: 50px;
}

.related-content .nav-tabs li{
    padding: 4px 0;
    text-align: center;
    margin: 0;
    width: 33.33%;
    height: 100%;
    o-transition: .2s ease-out;
    -ms-transition: .2s ease-out;
    -moz-transition: .2s ease-out;
    -webkit-transition: .2s ease-out;
    transition: .2s ease-out;
}

.related-content .nav-tabs li:first-child{
    border-top-left-radius: 20px;
}
.related-content .nav-tabs li:last-child{
    border-top-right-radius: 20px;
}

h2{
    color: #cbe6f5;
    font-size: 30px;
    margin-top: 10px;
}

.related-content .tab-content{
    padding: 5px;
}


.related-content .nav-tabs li.active, .related-content .nav-tabs li:hover{
    border-bottom: 6px solid rgba(41,41,41,.2);
    background-color: rgb(170,225,92);
}
.related-content .nav-tabs span{
    display: block;
    height: 36px;
    margin: 0 auto;
    width: 38px;
    background-repeat: no-repeat;
    background-size: 84%;
    margin: 3px 33%;
}
.related-content .nav-tabs>li>a {
    padding: 0;
    width: 100%;
    height: 100%;
    display: inline-table;
}

.tab-pane .inside-related{
    width: 100%;
    min-height: 100px;
}

.inside-related{
    margin-bottom: 5px;
}

.inside-related .img-container{
    width: 100%;
    height: 185px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #C7C3C3;
}

.inside-related a{
    color: #000;
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
}

.inside-related .title{
    margin-top: 10px;
    word-wrap: break-word;
    margin-bottom: 0;
    max-height: 85px;
    overflow: hidden;
}

.inside-related .post-date{
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #999;
}

.inside-related a:hover, .inside-related a:active{
    color: #000;
    text-decoration: none;
}



@media (min-width: 1200px){
    .container {
        width: 990px;
    }
}

@media (max-width: 768px){


    #social-tabs li{
        display: inline-block;
        float:none !important;

    }


    .banner_mobile_2016
    {
        background-image: url('../img/mobile_2016.jpg') !important;
        height: 400px;
    }



    .social-feeds{

        padding-left: 0px !important;
        padding-right: 0px !important;
    }


    #ny-timer{
        width: 100%;
        max-width: 450px;
        margin-top: 125px;
        min-height: 145px;
        margin-right: 0;
        background-size: contain;
        background-repeat: no-repeat;
        float: none !important;
        margin-left: auto;
        margin-right: auto;
    }

    #ny-timer div {
        display: inline-block;
        color: #FFF;
        width: 27%;
        margin-right: 14px;
        text-align: center;
        font-size: 2em;
        padding: 10px 0 0px 2px;
        margin-right: 19px;
    }

    #ny-timer div .units {
        font-size: 3.1em;
    }

    #ny-timer div:first-child {
        margin-left: 28px;
    }

    #hashtag{
        display: none;
    }

    .social-feeds {
        padding-right: 15px;
    }

    .social-content .tab-pane{
        width: 100%;
    }

    .social-feed-element {
        width: 100%;;
    }

    .social-feeds .nav-tabs li {
        width: 30px;
        height: 30px;
        margin-left: 10%;
        margin-right: 10%;
        background-size: 97%;
        background-repeat: no-repeat;
    }

    .social-feeds .nav-tabs,#mobile-tab {
        width: 100%;
        border-radius: 0;
        margin: 0 auto 20px;
        padding: 8px 13%;
       /* margin-left: -15px;
        margin-right: -15px;*/
    }

    .social-feeds .nav-tabs{}

    #mobile-tab{
        padding: 0;
        margin-bottom: 0;
        background-color: #041946;
        border-bottom: 7px solid #41EDBB;
    }

    #mobile-tab li{
        cursor: pointer;
        font-family: 'Roboto';
        color: #5F6169;
        list-style: none;
        display: inline-block;
        width: 49.2%;
        font-size: 1.3em;
        padding: 20px 19px 14px;
    }

    #mobile-tab li.active{
        color: #041946;
        background-color: #41EDBB
    }

    .main-body{
        margin-top: 0;
    }
}

@media (max-width: 480px){
    .countdown-banner{
        height: 450px;
        background-image: url('//www.gmanetwork.com/gma/assets/countdown/img/countdown_banner-mobile.jpg') !important;
    }


    .banner_mobile_2016
    {
        background-image: url('../img/mobile_2016.jpg') !important;
        height: 250px;
    }



    #ny-timer{
        width: 290px;
        margin-top: 230px;
    }

    #ny-timer div {
        font-size: 1.7em;
        padding: 7px 0 0 5px;
        margin-right: 14px;
    }

    #ny-timer div .units {
        letter-spacing: 19px;
        font-size: 2.6em !important;
        height: 80px;
    }

    #ny-timer div:first-child {
        margin-left: 12px !important;
    }

    #mobile-tab li{
        cursor: pointer;
        font-family: 'Roboto';
        color: #5F6169;
        list-style: none;
        display: inline-block;
        width: 49.2%;
        font-size: 1.3em;
        padding: 20px 10px 14px;
    }

}

@media (max-width: 600px){
    #mobile-tab li{
        font-size: 14px;
    }

    .social-feeds .nav-tabs li {
        width: 30px;
        height: 30px;
        margin-left: 10%;
        margin-right: 10%;
        background-size: 97%;
        background-repeat: no-repeat;
    }


}

@font-face {
    font-family: 'Din Condensed';
    src: url('../font/DIN_Condensed_Bold.ttf');
}




/* Mobile Styles */
@media only screen and (max-height: 768px) {



}


.fixed {
    position: fixed;

}

.banner_web_default
{
    background-image: url('//www.gmanetwork.com/gma/assets/countdown/img/countdown_banner.jpg');

}
.banner_mobile_default
{
    background: url('//www.gmanetwork.com/gma/assets/countdown/img/countdown_banner-mobile.jpg') no-repeat center center ;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.banner_web_2016
{
    background: url('../img/andits2016.jpg') no-repeat center center !important ;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;


}

.maxrelatedbox{
    max-height: 1345px;
}

