.grid-sizer, .social-feed-element { width: 18.8%; margin: 0.5% !important; padding:0;}
.social-feed-main { position: relative;  }
/* the custom circle in the 2 timeline type */
.grid-item .circ-box {
    display: inline-block;
    position: relative;
	float: left;
}

.grid-item:nth-child(2n+1) .circ-box {
    float: right;
}

.grid-item .circ-box .circ {
	display: inline-block;r
	height: 20px;
	width: 20px;
	position: absolute;
	top: -2px;
	left: -84px;
	background-color: #f3f3f3;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

.grid-item:nth-child(2n+1) .circ-box .circ {
	right: -88px;
	left: auto;
}

.now {
    background-color: #f3f3f3;
    border-radius: 30px;
    color: #878787;
    display: block;
    line-height: 50px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    width: 50px;
    z-index: 50;
	font-size: 14px;
	text-transform:  lowercase;
}

.flik-timeline-4 {
	margin: 50px 0 50px 0;
}

/* end */


/* Timeline 1"*/
.social-feed-element-timeline-1:first-child {
	margin-top: 0 !important;
}

.social-feed-element-timeline-1 {
	width: 100%;
    margin-top: 25px !important;
    overflow: visible !important;
}

.social-feed-element-timeline-1:first-child:before {
	content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -27px;
    top: -10px;
    right: auto;
    border: 10px solid;
    border-radius: 50px;
    border: 25px solid #f3f3f3;
}

.social-feed-element-timeline-1:first-child:after {
    content: 'now';
    position: absolute;
    width: 0;
    height: 0;
    left: -15px;
    top: 5px;
    right: auto;
    color: #888888;
}


.social-feed-element-timeline-1-before-after {
    position: relative;
    display: inline-block;
    padding: 25px;
}

.social-feed-element-timeline-1-circle:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 23px;
    margin-left: -30px;
    left: 16px;
    right: auto;
    border: 10px solid;
    border-radius: 50px;
    border: 12px solid #f3f3f3;
}

.social-feed-element-timeline-1-before-after:before {
	content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 0;
    margin-left: -30px;
    left: 0px;
    right: auto;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid #f3f3f3;
}

.social-feed-element-timeline-1-before-after:after {
   	content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: -30px;
    left: 2px;
    right: auto;
    top: 0;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid white;
}

.social-feed-element-timeline-1 .attachment {
	margin-bottom: 25px;
}

.social-feed-element-timeline-1 .content {
	padding: 0 !important;    
}


/* Timeline 2 */
.social-feed-element-timeline-2 {
	margin-left: 0 !important;
    margin-right: 0 !important;
    border: none !important;
}

.social-feed-element-timeline-2:first-child {
    margin-top: 0 !important;
}

.social-feed-element-timeline-2:nth-child(odd) {
    width: 45%;
    margin-right: 5% !important;
    margin-top: 25px !important;
    overflow: visible !important;
    position: relative;
    display: inline-block;
}

.social-feed-element-timeline-2:nth-child(even) {
    width: 45%;
    margin-left: 5% !important;
    margin-top: 25px !important;
    overflow: visible !important;
    position: relative;
    display: inline-block;
}

.social-feed-element-timeline-2:before {
	border-left: 2px solid black;
}

.social-feed-element-timeline-2-before-after {
    position: relative;
    display: inline-block;
    padding: 25px;
}

.social-feed-element-timeline-2:nth-child(odd) .social-feed-element-timeline-2-before-after:before {
	content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 0;
    margin-left: -9px;
    left: 100%;
    right: auto;
    -ms-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid #f3f3f3;
}

.social-feed-element-timeline-2:nth-child(odd) .social-feed-element-timeline-2-before-after:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: -11px;
    left: 100%;
    right: auto;
    top: 0;
    -ms-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid #ffffff;
}

.social-feed-element-timeline-2:nth-child(even) .social-feed-element-timeline-2-before-after:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 0;
    margin-left: -30px;
    left: 0px;
    right: auto;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid #f3f3f3;
}

.social-feed-element-timeline-2:nth-child(even) .social-feed-element-timeline-2-before-after:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: -30px;
    left: 2px;
    right: auto;
    top: 0;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid white;
}

.social-feed-element-timeline-2-circle {
    border: 1px solid #f3f3f3;
}

.social-feed-element-timeline-2:nth-child(odd) .social-feed-element-timeline-2-circle:before {
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: 5px;
    left: 100%;
    border-radius: 50px;
    border: 12px solid #f3f3f3;
}

.social-feed-element-timeline-2:nth-child(even) .social-feed-element-timeline-2-circle:before {
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: -30px;
    border-radius: 50px;
    border: 12px solid #f3f3f3;
}

.social-feed-element-timeline-2 .attachment {
    margin-bottom: 25px;
}

.social-feed-element-timeline-2 .content {
    padding: 0 !important;    
}


.grid-filter { margin: 0.5%; }
.grid-filter a { color: #ffffff; } 
.grid-filter h3 {color: #ffffff;font-size: 11pt;display: inline-block;margin-right: 10px;font-weight: normal;}
.grid-filter .filter-button-group { color: #878787; font-size: 11pt; display: inline-block; margin-bottom: 2rem; }
.grid-filter .filter-button-group .filter-btn { display: inline-block; margin: 0 0.5rem; }
.grid-filter .filter-button-group .filter-btn .fa { margin-rigth: 0.5rem; }
.grid-filter .filter-button-group .filter-btn.fb:hover, .grid-filter .filter-button-group .filter-btn.fb.active { color: #ffffff; } 
.grid-filter .filter-button-group .filter-btn.tw:hover, .grid-filter .filter-button-group .filter-btn.tw.active { color: #36D8FF; } 
.grid-filter .filter-button-group .filter-btn.ins:hover, .grid-filter .filter-button-group .filter-btn.ins.active { color: #ffffff; } 
.grid-filter .filter-button-group .filter-btn.pin:hover, .grid-filter .filter-button-group .filter-btn.pin.active { color: #CB2026; } 
.grid-filter .filter-button-group .filter-btn.go:hover, .grid-filter .filter-button-group .filter-btn.go.active { color: #CC3333; } 
.grid-filter .filter-button-group .filter-btn:hover .fa-th-large, .grid-filter .filter-button-group .filter-btn.active { } 
@media screen and (max-width: 64em) {
    .grid-sizer, .social-feed-element { width: 32.1%; margin: 0.5%; }
    .social-feed-element-timeline-1 { width: 75% !important; margin: 0.5%; }
	.grid-filter { margin: 0.5%!important; }
}
@media screen and (max-width: 48.063em){
    .grid-sizer, .social-feed-element { width: 23.8%; margin: 0.5%; }
    .social-feed-element-timeline-1 { width: 85% !important; margin: 0.5%; }
	.grid-filter { margin: 0.5%!important; }
}
@media screen and (max-width: 39.9375em){
    .grid-sizer, .social-feed-element { width: 90%; margin: 0 5% 5% 5%!important }
	.grid-filter { margin: 0 5% 5% 5%!important; text-align: center; line-height: 2rem; }
	.grid-filter .filter-button-group { color: #878787; font-size: 11pt; line-height: 2rem; }
	
.social-feed-element-timeline-2:nth-child(odd) .social-feed-element-timeline-2-before-after:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 0;
    margin-left: -30px;
    left: 0px;
    right: auto;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid #f3f3f3;
}

.social-feed-element-timeline-2:nth-child(odd) .social-feed-element-timeline-2-before-after:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    margin-top: 25px;
    margin-left: -30px;
    left: 2px;
    right: auto;
    top: 0;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    border: 10px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 0px solid transparent;
    border-top: 20px solid white;
}
    
}
	
@media screen and (min-width: 770px) and (max-width: 844px) { 
	.grid-sizer, .social-feed-element { width: 47.5%; margin: 1%!important; }
	.grid-filter { margin: 1%!important; }
	.social-feed-element-timeline-2{ margin:0 !important; }
}

@media screen and (min-width: 640px) and (max-width: 769px) {
	.grid-sizer, .social-feed-element { width: 47.5%; margin: 1%!important; }
	.grid-filter { margin: 1%!important; }
	.social-feed-element-timeline-2{ margin:0 !important; }
}

@media screen and (max-width: 639px) {
	.social-feed-element-timeline-2{ width: 85% !important; }
    
}
@-webkit-keyframes rotate {
    from{-webkit-transform:rotate(0deg)}
    to{-webkit-transform:rotate(360deg)}
}

@-moz-keyframes rotate {
    from{-moz-transform:rotate(0deg)}
    to{-moz-transform:rotate(360deg)}
}
@-o-keyframes rotate{
    from{-o-transform:rotate(0deg)}
    to{-o-transform:rotate(360deg)}
}
@keyframes rotate{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}
.loader-container{
 	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;   
}
.loader { 
    position: absolute;
    top: 35%;
    left: 45%;
}
.def-loader{
    width: 60px;
    height: 60px;
    top: 45%;
    left: 50%;
    display: block;
    margin-top: -20px;
    margin-left: -20px;
    border: solid 3px;
    border-color: #555 #fff;
    -webkit-border-radius: 1000px;
    border-radius: 1000px;
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate;
    -moz-animation-duration: 1.5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -o-animation-name: rotate;
    -o-animation-duration: 1.5s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
/* Plugin styles */
.social-feed-container, .flik-timeline-4 { opacity:0; transition: opacity 1s ease-in-out; }

.social-feed-element.hidden{
    background-color:#fefefe;
}
.social-feed-element .pull-left{
    float:left;
    margin-right: 10px;
}
.social-feed-element .pull-right {
    margin-left: 10px;
}
.social-feed-element img {
    width: 100%;
    width: auto\9;
    height: auto;
    border: 0;  
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
.social-feed-element .attachment {
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
img.media-object {max-width:50px; max-height: 50px; min-width:50px; min-height: 50px; margin-right: 10px;}
/* Link styles */
.social-feed-element a {
    color: #0088cc;
    text-decoration: none;
}
.social-feed-element a:focus {
    outline: thin dotted #333;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.social-feed-element a:hover,
.social-feed-element a:active {
    outline: 0;
    color: #005580;
}

.social-feed-element .media-details .fa-google {
    top: 2px;
    left: 2px;
    position: relative;
    color: #db4437;
}
.social-feed-element .media-details .fa-google:before {
    content: "\f0d5";
}

.social-feed-element .media-details .fa-twitter {
    color: #1da1f2;
}

.social-feed-element .media-details .fa-facebook {
    color: #3b5998;
}

.social-feed-element .media-details .fa-instagram {
    color: #000000;
    position:relative;
    left: 3px;
}

.social-feed-element .media-details .fa-pinterest {
    color: #a83832;
}
.social-feed-element .media-details .fa-pinterest:before {
    content: "\f231";
}

.social-feed-element .media-details .icon {
    margin-right: 20px;
    width: 15px;
    max-height: 30px;
    float: left;
    font-size: 16px;
}

/* Text styles */
.social-feed-element small {
    font-size: 85%;
}
.social-feed-element strong {
    font-weight: bold;
}
.social-feed-element em {
    font-style: italic;
}
.social-feed-element p {
    margin: 0 0 10px;
}
.social-feed-element .media-body > p{
    margin-bottom:4px;
    min-height:20px;
}
.social-feed-element p.social-feed-text {
    margin: 0;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    color: #878787;
}

p.social-feed-text a { color: #878787; }

/* Message styles */
.social-feed-element,
.social-feed-element .media-body {
    overflow: hidden;
    zoom: 1;
    *overflow: visible;
}
.social-feed-element .media-body .social-network-icon{
    margin-top: -3px;
    margin-right:5px;
    width:16px;
}
.social-feed-element .media-body div{
    line-height: 20px;
}
.social-feed-element:first-child {
    margin-top: 0;
}
.social-feed-element .media-object {
    display: block;
    width:48px;
    border-radius:50%;
}
.social-feed-element .media-heading {
    margin: 0 0 5px;
}
.social-feed-element .media-list {
    margin-left: 0;
    list-style: none;
}

.social-feed-element .muted {
    color: #878787;
}
.social-feed-element a.muted:hover,
.social-feed-element a.muted:focus {
    color: #878787;
}

.social-feed-element{    
    -webkit-backface-visibility: hidden;
    margin:-1px;
    margin-top:25px;
    border: 1px solid #f3f3f3;
    background-color: #fff;
    color: #333;
    text-align:left;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 16px;
    transition: box-shadow 0.3s ease-in-out;
}
.social-feed-element:hover{
    /*box-shadow: 0 0 10px 0 rgba(10, 10, 10, 0.3);*/
}

.social-feed-element .content{
    padding:25px;
}

.social-feed-element .text-wrapper {
    margin-bottom: 25px;
}

.social-feed-element .social-network-icon{
    opacity:0.7;
}

.social-feed-element .author-title{
    color: #4a4a4a;
    line-height: 1.5em;
    font-weight: 500;  
    float: left;
    width: 55%;
}

.social-feed-container img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}
.filter-btn {cursor: pointer;}
.filter-btn:hover, .filter-button-group a.active {color: #ffffff;}

@media screen and (min-width: 640px) and (max-width: 767px) {
	.grid-item:nth-child(2n+1) .circ-box .circ {
		right: -70px;
	}
	
	.grid-item .circ-box .circ { left: -66px; }
}

@media screen and (min-width: 768px) and (max-width: 799px) {
	.grid-item:nth-child(2n+1) .circ-box .circ {
		right: -76px;
	}
	
	.grid-item .circ-box .circ { left: -72px; }
}

@media screen and (min-width: 800px) and (max-width: 840px) {
	.grid-item:nth-child(2n+1) .circ-box .circ {
		right: -79px;
	}
	
	.grid-item .circ-box .circ { left: -73px; }
}