/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : May 11, 2015, 2:34:06 PM
    Author     : nmi pjsangat
*/

.public_affairs_social_media #social_media_holder{
    max-width: 100%;
    width: 100%;
}
#social_media_holder{
    width: 99%;
    height: 100%;
    max-width: 850px;
}

.public_affairs_social_media .social_media_connect_filter {
    max-width: 100%;
}
.social_media_connect_filter {
    height: 40px;
    position: relative;
    max-width: 840px;
    margin: 0px auto 5px;
}
.social_media_connect_holder{
    float: left;
}
.social_media_connect > div{
    height: 20px;
    margin: auto 0px;
    position: absolute;
    top: 0;
    bottom: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
}
.social_media_connect {
    float:left;
    position: relative;
    height: 40px;
    width: 145px;
    min-width: 145px;
}
.social_media_connect_withus{
    float: left;
    display: inline-block;
    margin: auto 0px;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 30px;
}
.social_media_connect_withus img{
    width: 34px;
    height: 34px;
    margin-right: 5px;
}
.social_media_filter_holder{
    position: absolute;
    height: 25px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
}
#social_media_filter{
    padding: 0px;
    margin: 0px;
    list-style: none;
}
#social_media_filter li{
    height: 25px;
    float: left;
    padding: 0px 14px;
    font-size: 20px;
    font-family: 'Ubuntu Condensed', sans-serif;
    border-right: 1px solid #000;
    cursor: pointer;
    font-weight: bold;
    color: #5b5b5b;
}
#social_media_filter li.active {
    color: #cc0001;
}

#social_media_filter > li:nth-child(4){
    border-right: none;
}
#social_media_holder .item{
    width: 200px;
    min-height: 170px;
    border: 1px solid #a8a8a8;
    margin: 5px 5px 5px 0px;
    border-radius: 2px;
    position: relative;
}
#social_media_holder .item .sm_content{
    min-height: 106px;
}
#social_media_holder .item .sm_content .sm_content_image{
    min-height: 150px;
    max-width: 100%;
    max-height: 150px;
    text-align: center;
    position: relative;
}
#social_media_holder .item .sm_content .sm_content_image img {
    max-width: 130px;
    max-height: 130px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
}

#social_media_holder .item .sm_content .sm_content_title{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    padding: 10px 15px;
    word-wrap: break-word;
}
#social_media_holder .item .sm_content .sm_content_postdate{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    color: #5a5a5a;
    margin: 0px 15px 10px;
}
#social_media_holder .item .sm_identifier{
    width: 100%;
    height: 64px;
    position: relative;
    color: #fff;
}

#social_media_holder .item .sm_identifier.twitter{
    background: #03abec;
}
#social_media_holder .item .sm_identifier.facebook{
    background: #517dbe;
}
#social_media_holder .item .sm_identifier.instagram{
    background: #e67f22;
}

#social_media_holder .item .sm_identifier .sm_profile{
    height: 37px;
    width: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    margin: auto;
    padding-left: 10px;
}
#social_media_holder .item .sm_identifier .sm_profile img{
    width: 37px;
    height: 37px;
    float: left;
}
#social_media_holder .item .sm_identifier .sm_profile .sm_profile_holder{
    float: left;
    height: 27px;
    margin: auto;
    position: absolute;
    left: 52px;
    top: 0px;
    bottom: 0px;
}
#social_media_holder .item .sm_identifier .sm_profile .sm_profile_user_fullname{
    font-family: 'Ubuntu', sans-serif;
    font-size: 13px;
    line-height: 15px;
}
#social_media_holder .item .sm_identifier .sm_profile .sm_profile_link{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 11px;
    line-height: 10px;
}
#social_media_holder .item .sm_identifier .sm_profile .sm_profile_link a{
    color: #fff;
}
#social_media_holder .scroll-pane{
    width: 100%;
    height: 100%;
    overflow: auto;
}

#social_media_holder .jspDrag{
    background: #25677f;
}

#social_media_holder .jspVerticalBar{
    width: 7px;
}

#social_media_holder .jspArrow{
    background: #25677f;
}


.social_media_widget_loading_img{
    width: 40px;
    margin: auto;
    height: 100%;
    background: url('http://images.gmanews.tv/res/img/ellipsis.svg') center center no-repeat;
    background-size: 100% 83%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
}
.social_media_widget_loading{
    width: 100%;
    height: 50px;
    background-color: #F2F2F2;
    margin: 15px 0px;
    text-align: center;
    position: relative;
    background: rgba(254,254,254,1);
    background: -moz-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 43%, rgba(209,209,209,1) 96%, rgba(209,209,209,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(254,254,254,1)), color-stop(43%, rgba(254,254,254,1)), color-stop(96%, rgba(209,209,209,1)), color-stop(100%, rgba(209,209,209,1)));
    background: -webkit-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 43%, rgba(209,209,209,1) 96%, rgba(209,209,209,1) 100%);
    background: -o-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 43%, rgba(209,209,209,1) 96%, rgba(209,209,209,1) 100%);
    background: -ms-linear-gradient(top, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 43%, rgba(209,209,209,1) 96%, rgba(209,209,209,1) 100%);
    background: linear-gradient(to bottom, rgba(254,254,254,1) 0%, rgba(254,254,254,1) 43%, rgba(209,209,209,1) 96%, rgba(209,209,209,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#d1d1d1', GradientType=0 );
}
.social_media_widget_loading > span{
    margin: auto;
    color: #B6B3B3;
}

/****************************** MOBILE ***********************************/

@media only screen and (max-width: 480px){
    .social_media_filter_holder{
        position: relative;
        float: right;
        margin: 10px 0px 2px;
    }

    #social_media_filter li{
        font-weight: normal;
        font-size: 17px;
        padding: 0px 2%;
    }
    .social_media_connect_holder{
        float: none;
        position: relative;
    }
    .social_media_connect_withus{
        right: 0;
    }
    .social_media_connect_filter{
        height: auto;
    }
}

@media only screen and (max-width: 460px){
    #social_media_holder .item{
        width: 100%;
    }
}
