/**                                        **\
                      RESET                       
\**                                        **/
*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box
}

body, html, ul {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}
/**                                        **\
                      BASE                       
\**                                        **/
body {
    width: 100%;
    font-size: 14px;
    font-family: Roboto;
    line-height: 21px;
    background-color:#F5F5F5;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 18px;
    padding-right: 18px;
}

.clearfix {
    clear: both;
}

/**                                        **\
                      HEADER                       
\**                                        **/
.header {
    background-color:#2C3E50;
    text-align: center;
}
.header a {
    color: white;
}
.header-logo {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.7rem;
}
.header-menu {
    color: #FFF;
    padding-bottom: 10px;
}
.header-menu a{
    opacity: 0.67;
    padding-left: 13px;
    padding-right: 13px;
}

.header-menu a:hover, 
.header-menu a.active {
    opacity: 1;
}

/**                                        **\
                SIDEBAR                             
\**                                        **/
.sidebar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.sidebar a{
    color: #000;
    opacity: 0.67;
    padding: 8px 8px;
}
.sidebar a:hover, .sidebar a.active {
    opacity: 1;
}
.sidebar a::before {
    content: '';
    width: 10px;
    height: 8px;
    padding-right: 20px;
    display: inline-block;
    background: no-repeat center center url("./img/home.svg");
}
.sidebar .sidebar-messages::before {
    background-image: url(./img/messages.svg)
}
.sidebar .sidebar-events::before {
    background-image: url(./img/events.svg)
}
.sidebar .sidebar-group::before {
    background-image: url(./img/group.svg)
}

/**                                        **\
                      MAIN                       
\**                                        **/
.post {
    margin: 15px auto;
    border: 1px solid #DBDBDB;
    border-radius: 5px;
    background: #FFF;
    border: 2px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}
.post-header {
    position: relative;
    height: 85px;
    padding: 10px;
    color: #000;
}
.post-avatar {
    float: left;
    height: 53px;
    width: 35px;
    padding-right: 50px;
}
.post-username, .post-time {
    margin-top: 0;
    margin-bottom: 0;
}
.post-username {
    padding-top: 3px;
    opacity: 0.87;
    font-size: 1,3rem;
    font-weight: bold;
}
.post-time {
    opacity: 0.38;
}
.post-image, .post-image img {
    width: 100%;
}
.post-body p {
    opacity: 0.6;
    text-align: justify;
    padding: 0 10px;
}
.post-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 8px;
    color: #BDBDBD;
    background: #FBFBFB;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.post-likes p::before {
    content: '';
    display: inline-block;
    padding-right: 30px;
    -webkit-transform: translateY(4px);
        -ms-transform: translateY(4px);
            transform: translateY(4px);
    width: 11px;
    height: 21px;
    background: no-repeat center center url(./img/like.svg);
}
.post-comments p::before {
    content: '';
    display: inline-block;
    padding-right: 30px;
    -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
            transform: translateY(6px);
    width: 14px;
    height: 20px;
    background: no-repeat center center url(./img/comments.svg);
}


/**                                        **\
                      ASIDE                       
\**                                        **/
.sugestions-friends {
    color: #000;
    margin-top: 30px;
}
.sugestions-friends-title, .sugestions-friends-title::after {
    opacity: 0.87;
}
.sugestions-friends-title {
    font-size: 1.1rem;
    font-weight: bold;
}
.sugestions-friends-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
}
.sugestions-friends li {
    list-style-type: none;
    clear: both;
    margin-bottom: 14px;
}
.sugestion-friend-avatar {
    width: 73px;
    height: 73px;
    background: #C4C4C4;
    float: left;
}
.sugestion-friend-username {
    font-size: 1.1rem;
    margin: 0;
    padding-left: 84px;
}
.sugestion-friend-mutual-friends {
    opacity: 0.65;
    margin: 0;
    padding-left: 84px;
    padding-bottom: 9px;
}
.sugestion-friend-add {
    font-size: 0.8rem;
    padding-left: 11px;
}
.sugestion-friend-add::before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 12px;
    margin-right: 8px;
    background: no-repeat center center / cover url(./img/add.svg);
}

/**                                        **\
                FOOTER                       
\**                                        **/
.footer {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}




/**                                        **\
             MEDIA QUERY DESKTOP                       
\**                                        **/
@media only screen and (min-width: 540px) {
    /**                                        **\
                   HEADER                       
    \**                                        **/
    .header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        height: 64px;
        padding-left: 50px;
        padding-right: 50px;
    }
    .header-logo, .header-menu {
        padding: 0;
    }

    .main, .aside {
        width: 70%;
        margin: 0 auto;
    }

    /**                                        **\
                        SIDEBAR                       
    \**                                        **/
}
@media only screen and (min-width: 1000px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;

    }
    .container {
        width: 100%;
        padding: 20px 60px 20px 60px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-top: 64px;
    }

    /**                                        **\
                        SIDEBAR                       
    \**                                        **/
    .sidebar {
        display: block;
        position: fixed;
        width: 180px;
        margin-top: 0;
        border-radius: 5px;
        padding: 10px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
                box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    }
    .sidebar a {
        display: block;
    }

    /**                                        **\
                        MAIN                       
    \**                                        **/
    .main {
        width: calc(100% - 310px - 180px);
        margin: 0 30px;
        margin-left: 210px;
    }

    .post {
        width: 100%;
        margin-top: 0px;
    }
    .post-image img {
        width: 100%;
    }
    /**                                        **\
                          ASIDE                       
    \**                                        **/
    .aside {
        width: 310px;
    }
}