/* page heaedr */

.page-title {
    h1 {
        font-size: 38px;
        font-weight: 600;
        text-align: center;
    }
}


/* 
	Standard Post Format 
	------------------------------------------------
*/

article {
    padding-top: 20px;
    padding-bottom: 20px;
}

h2 {
    font-size: 48px;
    font-weight: 200;
    a {
        color: $primaryColor;
        word-wrap: break-word;
        word-break: break-all;
    }
    &.entry-title {
        color: #292d33;
        font-family: $fontNormal;
        font-size: 37px;
        line-height: 47px;
        font-style: normal;
        font-weight: 700;
        letter-spacing: -0.8px;
        text-transform: none;
    }
}

.entry-meta {
    font-size: 12px;
    line-height: 25px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.1px;
    text-transform: uppercase;
    color: $light-grey;
    font-size: 13px;
    a {
        color: $light-grey;
        &:hover,
        &:focus {
            color: $dark-grey;
        }
    }
}

.standard-featured-link {
    display: block;
    position: relative;
    &:hover,
    &:focus {
        .standard-featured {
            &:after {
                background-color: rgba(0, 0, 0, 0);
            }
        }
    }
}

.standard-featured {
    height: 330px;
    display: block;
    position: relative;
    &:after {
        @include animate( background-color, 320ms);
        content: '';
        position: absolute;
        display: block;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.15);
        box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.35);
    }
}

.entry-excerpt {
    margin: 30px 0 16px;
    p {
        font-size: 17px;
        line-height: 1.5em;
        font-weight: 300;
        letter-spacing: 0.02em;
    }
}

.button-container {
    margin-bottom: 30px;
}


.entry-footer {
    padding: 10px 5px;
    border-bottom: 4px solid $lighter-grey;
    color: $light-grey;
    text-transform: uppercase;
    a {
        color: $light-grey;
        display: inline-block;
        font-size: 12px;
        &:hover,
        &:focus {
            color: $dark-grey;
        }
    }
    .tags-list {
        .mi-icon {
            margin-right: 10px;
        }
        a {
            padding: 0 4px;
        }
    }
    .comments-link {
        .mi-icon {
            margin-left: 10px;
        }
    }
}


/* 
	Image Post Format 
	------------------------------------------------
*/

.mi-format-image {
    .entry-header {
        height: 600px;
        position: relative;
    }
    h1,
    .entry-meta,
    .entry-header {
        color: #ffffff;
        a {
            color: #ffffff;
        }
    }
    h1 {
        padding-top: 10px;
    }
}

.entry-excerpt {
    &.image-caption {
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        margin: 0;
        p {
            margin: 40px 0;
            font-size: 14px;
        }
    }
}


/* 
	Audio Post Format 
	------------------------------------------------
*/

.mi-format-audio {
    h1 {
        font-size: 30px;
        &.entry-title {
            display: inline-block;
            margin-right: 20px;
            &:before,
            &:after {
                display: none;
            }
        }
    }
    .entry-meta {
        display: inline-block;
        margin-bottom: 0;
    }
    .entry-content {
        iframe {
            width: 100%;
            height: 166px;
        }
    }
}


/* 
	Video Post Format 
	------------------------------------------------
*/

.mi-format-video {
    header {
        h1 {
            &.entry-title {
                margin-top: 20px;
            }
        }
    }
}


/* 
	Gallery Post Format 
	------------------------------------------------
*/

.mi-format-gallery {
    header {
        h1 {
            &.entry-title {
                margin-top: 20px;
            }
        }
    }
    .standard-featured {
        height: 500px;
        color: #ffffff;
        &:after {
            background-color: transparent;
        }
    }
    .carousel-control-prev,
    .carousel-control-next {
        background: none;
        background-image: none;
        opacity: 1;
        filter: alpha(opacity=100);
        font-size: 30px;
        width: auto;
        .preview-container {
            position: relative;
            display: block;
            padding: 20px;
            background-color: rgba(0, 0, 0, 0);
            line-height: 0;
            @include animate( background-color, 320ms);
            .thumbnail-container {
                position: absolute;
                display: block;
                height: 68px;
                width: 68px;
                border-radius: 50%;
                background: #999;
                top: 1px;
                @include animate( transform, 320ms);
                @include transform( scale(0));
            }
        }
        &.carousel-control-next {
            .preview-container {
                padding-left: 80px;
                border-radius: 35.5px 0 0 35.5px;
                .thumbnail-container {
                    left: 1px;
                }
            }
        }
        &.carousel-control-prev {
            .preview-container {
                padding-right: 80px;
                border-radius: 0 35.5px 35.5px 0;
                .thumbnail-container {
                    right: 1px;
                }
            }
        }
        &:hover {
            .preview-container {
                background-color: rgba(0, 0, 0, 0.8);
                .thumbnail-container {
                    @include transform( scale(1));
                }
            }
        }
    }
    .entry-excerpt {
        &.image-caption {
            @include animate( transform, 320ms);
            @include transform( translateY(100%));
        }
    }
    &:hover {
        .entry-excerpt {
            &.image-caption {
                @include transform( translateY(0));
            }
        }
    }
}


/* 
	Quote Post Format 
	------------------------------------------------
*/

.mi-format-quote {
    .quote-content {
        font-size: 42px;
        font-weight: 100;
        line-height: 1.3em;
        letter-spacing: 0.03em;
        &:before,
        &:after {
            content: '';
            display: inline-block;
            position: relative;
            color: #ccc;
        }
        &:before {
            content: '“';
        }
        &:after {
            content: '„';
        }
    }
    .quote-author {
        color: #898989;
        font-size: 12px;
        letter-spacing: 0.06em;
        margin-top: 10px;
        margin-bottom: 30px;
    }
}


/* 
	Link Post Format 
	------------------------------------------------
*/

.mi-format-link {
    h1 {
        &.entry-title {
            &:before,
            &:after {
                display: none;
            }
            a {
                display: block;
            }
            .link-icon {
                display: block;
                color: #fff;
                font-size: 30px;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background-color: rgba(0, 0, 0, 0.6);
                margin: 0 auto;
                line-height: 1em;
                padding-top: 10px;
            }
        }
    }
}


/* 
	Aside Post Format 
	------------------------------------------------
*/

.mi-format-aside {
    .aside-container {
        background-color: rgba(0, 0, 0, 0.05);
        padding-top: 20px;
    }
    .aside-featured {
        width: 136px;
        height: 136px;
        border-radius: 50%;
        margin: 0 auto -20px;
    }
    .entry-meta {
        margin-bottom: 5px;
    }
    .entry-excerpt {
        margin-top: 0;
        p {
            font-size: 15px;
            padding-right: 10px;
        }
    }
    .entry-footer {
        border-bottom: none;
        background-color: rgba(0, 0, 0, 0.05);
        padding-right: 10px;
    }
}


/* 
	Footer Section
	------------------------------------------------
*/

.mi-footer {
    background-color: #333;
    padding: 20px 0;
    margin-top: 40px;
    display: block;
}


/* 
	Single
	------------------------------------------------
*/

.entry-content {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 0.02em;
    font-weight: 300;
    line-height: 1.7em;
    a,
    .mi-tooltip,
    .mi-popover {
        cursor: pointer;
        color: #ffffff;
        &:hover,
        &:focus {
            color: $secondaryColorBtnHover;
        }
    }
    p {
        margin-bottom: 15px;
    }
    b,
    strong {
        font-weight: 500;
    }
}

.post-link-nav {
    padding: 10px 0;
    a {
        padding: 0 5px;
        &:hover,
        &:focus {
            color: $secondaryColorBtn;
        }
    }
}

.commemts-title {
    font-size: 20px;
    color: $light-grey;
}

.comment-author {
    position: relative;
    display: block;
    font-size: 18px;
    font-weight: 300;
    & * {
        z-index: 1;
        position: relative;
    }
    a {
        color: $dark-grey;
    }
    b {
        font-weight: 400;
    }
    .avatar {
        border-radius: 50%;
        margin-right: 10px;
        border: 3px solid #fff;
    }
}

.comment-metadata {
    text-align: right;
    text-transform: uppercase;
    margin-top: -5px;
    font-size: 12px;
    a {
        color: #999;
    }
}

.comment-content {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 300;
    border-bottom: 1px solid #E6E6E6;
    margin-left: 60px;
}

.reply {
    text-align: right;
    padding: 5px 0;
}

.comment-reply-title {
    color: #7c7c7c;
    font-family: fontNormal2;
    font-size: 17px;
    line-height: 29px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.8px;
    text-transform: none;
}

.comment-notes {
    color: #7c7c7c;
    font-size: 12px;
}

a.comment-reply-link {
    text-transform: uppercase;
    color: $primaryColorBtn;
    &:hover,
    &:focus {
        color: $primaryColorBtnHover;
    }
}

.comment-respond {
    margin-top: 60px;
}

.comment-form-url,
.comment-form-email,
.comment-form-author,
.comment-form-comment {
    label {
        display: block;
    }
}

#respond input[type=text],
#respond input[type=email],
#respond input[type=url],
#respond textarea,
.contact_form input[type=text],
.contact_form textarea {
    width: 100%;
    margin: 0 0 20px;
    padding: 15px 12px;
    border: 0;
    border-radius: 0;
    outline: 0;
    resize: none;
    font-size: 13px;
    line-height: 17px;
    background-color: #fff;
    color: #818181;
    font-family: Raleway, serif;
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
}

#respond textarea,
#respond input[type='text'],
#respond input[type='email'],
#respond input[type=url],
.contact_form input[type='text'],
.contact_form textarea,
.comment_holder #respond textarea,
.comment_holder #respond input[type='text'],
.comment_holder #respond input[type='email'],
input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-number,
input.wpcf7-form-control.wpcf7-date,
textarea.wpcf7-form-control.wpcf7-textarea,
select.wpcf7-form-control.wpcf7-select,
input.wpcf7-form-control.wpcf7-quiz,
.post-password-form input[type='password'] {
    background-color: #fff;
    border: 1px solid #dfeaff;
    color: #7c7c7c;
}

#respond textarea {
    padding: 12px;
    vertical-align: middle;
}

#respond {
    .comment-form-url,
    .comment-form-email,
    .comment-form-author {
        width: 33.33%;
        float: left;
        padding: 0 15px 0 0;
    }
    .form-submit {
        margin: 0;
        text-align: right;
    }
    form {
        display: inline-block;
        margin: 0 0 30px;
        width: 100%
    }
}