// *--------- POST LIST ---------*
.pageHeading {
    padding: 20px;

    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 1.6;  
}

.page .meta {
    display: none;
}

.post {
    width: calc(25% - 61px);
    margin: 30px;
    background: #fff;

    color: $generalTextColor;

    .page-permalink & {
        width: 700px;
        margin: .48% auto;

        position: relative; 
    }

    .postImage {
        background: #000;
        position: relative;
        
        figcaption {
            line-height: 0;
        }

        img {
            display: block;
            width: 100%;
        }

        .expand {
            position: absolute;
            top: 30px;
            left: 20px;

            a {
                background: rgba(0, 0, 0, 0.25);
                padding: 10px 20px;
                border-radius: 4px;

                font-size: 12px;
                color: #fff;  
            }
            
        }
    }

    .postContent {
        padding: 20px;
        margin: 0 auto;
        width: 100%;

        .page-permalink & {
            width: 100%;
        }
    }

    .postTitle {
        margin-bottom: 20px;  
               
        font-size: 24px;
        line-height: 1.6;

        .page-permalink & {
            font-size: 30px;
        }

        a {
            color: inherit;

            &:hover {
                color: inherit;
            }
        }
    }

    .meta {
        padding: 20px;

        font-size: 12px;
        font-weight: 700;
        line-height: 1;   

        position: relative;

        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .postTags {
        margin: 0 auto;
        padding-bottom: 20px;

        width: 100%;

        font-size: 0;
        line-height: 0;

        li {
            display: inline-block;
            margin-right: 10px;

            &:last-child {
                margin-right: 0;
            }

            a {
                display: inline-block;

                font-size: 12px;
                font-weight: 700;
                line-height: 1.6;
                white-space: nowrap;
                color: inherit;

                @extend %transitionAll;

                &:before {
                    content: '# ';
                }

                &:hover {
                    opacity: 0.5;
                }
            }
        }
    }

    .icons {

        position: absolute;
        bottom: 15px;
        right: 40px;

        li {
            display: block;
            margin-bottom: 5px;

            a {

                font-size: 26px;

                color: $generalTextColor;

                @extend %transitionAll;

                &.reblog_button {
                    margin-bottom: 10px;
                }

                &:hover {
                    color: $generalActiveLinkColor;
                }

            }

        }
    }

    .shareButton {
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 1;

        font-size: 13px;

        cursor: pointer;

        svg {
            fill: #000;
        }
    }  

    .shareField {
        position: absolute;
        bottom: 3px;
        right: 40px;
        z-index: 999;

        width: auto;

        visibility: hidden;
        opacity: 0;
     
        @extend %transitionAll;
     
        &.visible {
            visibility: visible;
            opacity: 1;
        }

        li {
            padding: 12px 12px 11px 12px;   
            margin-bottom: 4px;
                     
            background: #fff;

            -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
            -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
            box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);  
            border-radius: 4px; 

            text-align: center;
            line-height: 1;
                                
            @extend %transitionAll;

            .page & {
                &:first-child {
                    display: none;
                }
            }

            &:hover {
                background: #ECECEC;
            }

            a {
                display: block;
            }

            .fa {
                font-size: 16px;
                line-height: 1;
                color: #000;
            }

            &.likeButton {
                line-height: 0;
            }           
        }

    }

    .tmblr-embed {
        width: 100%;
        height: auto;
    }

    .bottom {
        width: 700px;
        margin: 0 auto;

        padding: 0 20px;

        .page-permalink {
            padding-top: 20px;
        }
    }

}

[data-tags~="featured"] { 
    width: calc(98% / 2);
}

    .formatText {
        background: #fff;

        .postExcerpt {
            p {
                color: lighten($generalTextColor, 25%);
            }

            img {
                width: 100%;
                height: 100%;
            }

            a {
                text-decoration: underline;
            }
        }
    }

    .formatQuote {

        background: #1a237e;

        .icon {
            fill: #fff;
        }

        .quoteAuthor, .quoteAuthorBox p:nth-of-type(2) {
            display: block;

            position: relative;

            font-size: 14px;
            font-weight: 700;
            line-height: 1.5;               
            color: #fff;

            a {
                color: #fff;

                &:hover {
                    text-decoration: underline;
                }
            }
        }

        .quoteAuthorBox {

            b, strong, h2 {
                color: #fff;            
            }

        }        

        p {
            margin-top: 5px;
            margin-bottom: 5px;             
            color: #bdbdbd;

            a {
                color: #bdbdbd;
            }
        }

        .asker {
            display: block;
            font-size: 16px;
        } 
    }

    .formatLink {
        color: #212121;
        background: #fff;

        .postTitle,
        .postExternalLink {
            margin-bottom: 10px;
        }

        .postExternalLink {
            display: block;
        }

    }

    .formatAudio,
    .formatVideo 
    {
        .frame {
            width: calc(100% + 40px);
            position: relative;
            top: -20px;
            left: -20px;
        }
 
    }

    .formatAudio {
        .frame {
            iframe {
                width: 100%;
            }
        }
        .spotify_audio_player {
            height: 80px;
        }       
    }

    .formatChat {

        background: #ffff00;

        .chat {
            margin: 0;

            li {
                padding: 0 0 20px 0;
                list-style-position: inside;
                list-style: none;

                color: darken($generalTextColor, 15%);

                &:last-child {
                    padding: 0
                }

                .chatName {
                    font-weight: 700;
                    color: darken($generalTextColor, 30%);
                }
            }
        }

    }
    
    .formatPhoto {
        position: relative;

        .meta {
            padding: 0;
            border-top: none;

            position: absolute;
            left: 20px;
            right: 20px;
            bottom: 20px;
            z-index: 1;

            .date {
                bottom: 0;
            }
        }

        .date, 
        .notesLabel,
        .shareButton {
            background: rgba(0, 0, 0, 0.25);
            padding: 10px 20px;
            border-radius: 4px;
               
            position: absolute;
            z-index: 1;

            color: #fff;
            font-size: 12px;
        }

        .shareField {
            bottom: -7px;
        }

        .shareButton {
            line-height: 1;

            bottom: 0;
            right: 0;
        }

        .notesLabel {
            top: 20px;
            right: 20px;

            .fa {
                margin-right: 5px;
            }              
        }

        .post-exif {
            padding-top: 30px;

            font-weight: normal;
            font-size: 11px;
            line-height: 16px;
            text-align: center;

            li {
                display: inline-block;
                padding-right: 15px;

                position: relative;

                line-height: 1;
                text-transform: uppercase;
                color: #fff;

                &:last-child {
                    padding-right: 0;
                }

            }
        }

        .photo-container, .effect-sadie {
            position: relative;
        }
    }

    .postShare {        
        li {
            display: inline-block;
            vertical-align: bottom;

            height: 20px;

            background: #fff; 

            a {
                color: #000;

                i {
                    font-size: 24px;
                    line-height: 1;
                }
            }

        }

        .page & {

            li:first-child {
                display: none;
            }
            
        }
                   
    }

            .readMore {
                margin-top: 10px;

                display: block;
                width: 60px;
                height: 30px;

                text-align: center;
                border-radius: 4px;

                background: #000;

                line-height: 0;

                @extend %transitionAll;

                svg {
                    fill: #fff;
                }
            }

   .postNotes {
        width: 100%;
        padding: 0 0 20px 0;
        margin: 0 auto;

        h2 {
            font-size: 18px;
        }

        .notes {
            padding: 0;
            margin: 10px 0 0 0;

            list-style-type: none;

            .reblog, .like {
                &:after {
                    font: normal normal normal 14px/1 FontAwesome;

                    background:#000;
                    padding: 12px;
                    border-radius: 100%;   

                    font-size: 14px;
                    line-height: 1;
                    color: #fff;
                   
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;       

                    z-index: 0;    

                    opacity: 0;  
                }

                &:hover {
                    &:after {
                        opacity: 1;
                    }
                }
            }

            .reblog {
                &:after {
                    content: "\f079";
                }                    
            }

            .like {
                &:after {
                    content: "\f08a";
                    padding: 13px;       
                }                  
            }

            .note {
                display: inline-block;
                vertical-align: middle;
                width: 40px;
                margin: 2px;

                font-size: 11px;
                line-height: 14px;

                position: relative;
                vertical-align: top;

                .avatar_frame {
                    width: 40px;
                    margin-right: 10px;

                    display: inline-block;
                    vertical-align: middle;

                    position: relative;
                    overflow: hidden;

                    line-height: 0;

                    img {
                        width: 100%;
                        border-radius: 100%;

                        position: relative;
                        z-index: 1;

                        @extend %transitionAll;    

                        &:hover {
                            opacity: 0.2;
                        }                   
                    }
                }   

                .action {
                    display: none;
                }

                blockquote {
                    display:  none;
                }

            }

            .more_notes_link_container {     

                .more_notes_link {
                    text-transform: uppercase;
                    color: #000;
                    font-weight: 700;
                }

            }
        }
    }       

    #infscr-loading {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;

        width: 100%;
        overflow: hidden;
        background-color:rgba(204,204,204,0.9);

        text-align: center;  

        img {
            padding: 20px 0;
        }      

        div {
            display: none;
        }  
    }

    .hidden {
        display: none;
        transform:translateY(0) translateZ(1px);
    }

    .pagination {
        margin-bottom: 60px;
        
        a, .current_page {
            padding: 10px 20px;

            font-size: 16px;
            font-weight: 700;
            line-height: 1.5;   
            text-transform: uppercase;
            color: $generalDarkTextColor;

            @extend %transitionAll;

            &:hover {
                color: inherit;           
            }

        }

        .current_page {
            opacity: 0.4;
        }

        .fa {
            font-size: 18px;
        }

        .paginationPrev {
            margin-right: 10px;
        }

        .paginationNext {
            margin-left: 10px;
        }
    }

    #disqus_thread {
        padding: 40px;
        background: #fff;
    }