/* Background Bar: */

.top-bar {
    background: #3B5998;
    box-shadow: 0 1px 0 0 #29487D;
    width: 100%;
    position: fixed;
    z-index: 100;
    top: 0px;
}

.title {
    font-size: 1.25em;
    margin: 0;
    padding: 10px 0;
    flex-grow: 1;
}

.top-bar .container {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Style the search box inside the navigation bar */
input[type=text] {
    font-family: "Helvetica Neue";
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    color: Black;
    line-height: 16px;
    height: 24px;
}

.search {
    position: relative;
    float:left;
}


.avatar {
    margin-left: 20px;
}

.stars {
    color: magenta;
}

.you {
    color: White;
    padding-left: 0px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: inline-flex;
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 16px;
    height: 24px;
}

.searchbar {
    width: 300px;
}
.searchButton {
    position: absolute;
    top: 0px;
    right: -10px;
    width: 46px;
    height: 24px;
    background: #F6F7F9;
    text-align: center;
    color: #4E5665;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    line-height: 16px;
}

.nav-item {
    padding: 0 10px;
    display: inline-flex;
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    color: Black;
    line-height: 16px;
    height: 24px;
}

.feature {
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 19px;
    color: black;
    background-color: #F36F21;
    text-align:center;
}

.main {
    margin-top: 100px;
}
/************************ 
POSTS
************************/
.post-bg {
    /* BG: */
    margin-top: 10px;
    background-color: #FFFFFF;
    border: 1px solid #DDDFE2;
    border-radius: 2px;
}

.post-avatar {
    display: inline-block;
    height: 100%;

}

.post-header {
    margin: 10px 10px 10px;
}

.post-avatar {
    height: 40px;
    vertical-align:top;
}
.post-avatar-img{
    height: 40px;
}

.post-title-section {
    margin-left: 10px;
    display: inline-block;
    height: 40px;
    vertical-align: top;
}

.post-title {
    font-family: "Helvetica Neue";
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 19px;
    color: #476FA8;
}


.post-subtitle {
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 19px;
    color: #93949D;
}

.post-content {
    margin: 10px 10px 10px;
}

.post-bottom {
    padding: 10px 10px 10px;
    /* Rectangle 31: */
    background: #FFFFFF;
    border: 1px solid #E9EBEE;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.04);
}

.attribution {
    font-family: "Helvetica Neue";
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: 100;
    line-height: 19px;
    color: #93949F;
}

.post-hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.post-actions {
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 19px;
    color: #93949F;
}

.post-comment-bg {
    background: #F6F7F9;
    border: 1px solid #DDDFE2;
}

.post-comment-section {
    margin: 10px 10px 10px;
    display:flex;
}

.post-comment-avatar {
    width: 33px;
}

input[type=text].post-comment {
    background: #FFFFFF;
    border: 1px solid #DDDFE2;
    border-radius: 0px;
    width: 100%;
}
/****************
 ADS
*****************/
.ad {
    margin-top: 10px;
}

.ad-title{
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 19px;
    color: #93949D;
}

/****************
 SIDE POSTS
*****************/

.side-title-section {
    margin-left: 5px;
    display: inline-block;
    vertical-align: top;
}

.side-title {
    font-family: "Helvetica Neue";
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 20px;
    color: black;
}


.side-subtitle {
    font-family: "Helvetica Neue";
    font-size: 11px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 20px;
    color: #92949C;
}

/**************
popup
***************/

body
{
    background-color: #e9eaed;
}
.popup-box
{
    display: none;
    position: fixed;
    bottom: 0px;
    right: 100px;
    height: 285px;
    background-color: rgb(237, 239, 244);
    width: 300px;
    border: 1px solid rgba(29, 49, 91, .3);
}

.popup-box .popup-head
{
    background-color: #6d84b4;
    padding: 5px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    clear: both;
}

.popup-box .popup-head .popup-head-left
{
    float: left;
}

.popup-box .popup-head .popup-head-right
{
    float: right;
    opacity: 0.5;
}

.popup-box .popup-head .popup-head-right a
{
    text-decoration: none;
    color: inherit;
}

.popup-box .popup-messages
{
    height: 100%;
    overflow-y: scroll;
}

.popup-messages ul {
    margin: 5px 5px 5px;
    list-style: none;
}

.popup-messages li {
    padding: 5px 5px 5px;
    background-color: white;
    font-family: "Helvetica Neue";
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: 200;
    line-height: 19px;
    color: black;
}

.chat-avatar {
    max-height: 24px;
    padding-right: 15px;
}