/*
Theme Name: Impreza
Description: Multi-Purpose WordPress Theme.
Version: 1.0.0
Author:	UpSolution
Template: Impreza
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
License: Themeforest Split Licence
License URI: -
Text Domain: us-child
Domain Path: /languages
*/


/* Global */

@media screen and (max-width: 970px) {
    .l-main,
    .l-header {
        padding: 0 20px !important;
    }
}


/* Template listing */

.double-line {
    width: 100%;
    height: 3px;
    display: block;
    border-top: none !important;
    border-bottom: 2px solid #353535 !important;
    font-size: 3px;
}


/*
 *  Override slider
 */

.l-section.wpb_row.height_medium {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.l-section.wpb_row.height_medium .l-section-h.i-cf {
    padding-bottom: 15px !important;
}

.l-section.wpb_row.height_medium .l-section-h.i-cf .metaslider {
    max-width: 100% !important;
}


/*
 *  Override header
 */

.l-subheader.at_middle {
    padding: 0;
}

@media screen and (max-width: 899px) {
    .l-header ul.w-nav-list.level_1 {
        margin-top: 0 !important;
    }
}


/*
 *  Override footer
 */

.l-footer {
    padding: 20px !important;
}

.l-footer .l-section.wpb_row.height_medium .l-section-h.i-cf {
    padding-top: 5px !important;
    padding-bottom: 0 !important;
    border-top: 1px solid #ccc;
}


/*
 *  Left footer container
 */

.l-footer .vc_col-sm-4.wpb_column.vc_column_container:first-child p {
    text-align: left !important;
}


/*
 *  Right footer container
 */

.l-footer .vc_col-sm-4.wpb_column.vc_column_container:last-child p {
    text-align: right !important;
}


/*
 *  Start page
 */

.post-container {
    display: inline-block;
    box-sizing: border-box;
}

.post-container .excerpt-post {
    width: calc(100% / 3);
    float: left;
}

.post-container .excerpt-post:first-child {
    padding-right: 20px;
}

.post-container .excerpt-post:nth-child(2) {
    padding: 0 20px;
}

.post-container .excerpt-post:last-child {
    padding-left: 20px;
}

.post-container .excerpt-post h2 {
    color: #686868;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 1px;
    padding-top: 5px;
    margin-bottom: 5px;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    min-height: 71px;
}

.post-container .excerpt-post img {
    width: 100%;
    width: 300;
    height: 180px;
}

.post-container .excerpt-post p {
    font-family: "Droid Sans", Verdana, Geneva, sans-serif;
    font-size: 13px;
    margin: 7px 0;
    color: #393939;
    min-height: 225px;
}

.post-container .excerpt-post a {
    margin-top: 5px;
    width: 100%;
    display: inline-block;
    text-align: center;
    font: 13px/ 100% Arial, Helvetica, sans-serif;
    padding: 7px 0px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    background-image: url(/wp-content/uploads/2012/05/bg_button.png);
}


/* Other pages */


/*
 *  Main post and Sidebar container
 */

.portfolio-container {
    padding-top: 15px;
}


/*
 *  Main post
 */

.main-post {
    float: left;
    width: 65%;
}

.main-post img {
    display: block;
    width: 100%;
}

.main-post .listing-title {
    color: #686868;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 8px;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
}

.main-post .listing-content {
    margin: 15px 0;
}


/*
 *  Sidebar
 */

.sidebar-slider {
    padding-left: 30px;
    float: left;
    width: 35%;
}

.sidebar-slider h4 {
    text-transform: uppercase;
    font-family: "Droid Sans", Verdana, Geneva, sans-serif;
    font-size: 13px;
    padding-bottom: 9px;
    letter-spacing: 2px;
    margin: 0px;
    margin-top: 3px;
    color: #686868;
}


/*
 *  Posts in sidebar
 */

.sidebar-slider .listing-post {
    min-height: 100px;
    display: inline-block;
    padding: 17px 0;
    border-bottom: 1px dotted #e2e2e2;
    cursor: pointer;
}

.sidebar-slider .listing-post:hover {
    background-color: #FBFBFB;
}

.sidebar-slider .listing-post img {
    padding: 4px;
    float: left;
    width: 28%;
    height: auto;
    padding-right: 10px;
}

.sidebar-slider .listing-post h6 {
    width: 72%;
    float: left;
    padding: 0;
    margin-top: 0px;
    font-size: 14px;
    font-style: italic;
    color: #686868;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
}

.horizontal-slider h4 {
    text-transform: capitalize;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 15px;
    padding-bottom: 9px;
    margin: 0px;
    margin-top: 3px;
    color: #686868;
}

.horizontal-slider .double-line {
    display: none;
}


/* .horizontal-slider .portfolio-list-container {
    display: flex;
    justify-content: space-between;
}

.horizontal-slider .listing-post {
    width: 17%;
    cursor: pointer;
} */


/* .horizontal-slider .listing-post img {
    width: 159px;
    height: 119px;
} */

.horizontal-slider .listing-post {
    padding: 0 10px;
}

.presentation img {
    transition: opacity 0.3s;
    border: 1px solid #EEE;
    padding: 4px;
}

.presentation h6 a {
    color: #686868;
    font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
}

.presentation:hover img {
    opacity: 0.8;
}

.presentation:hover h6 a {
    color: black;
}

@media screen and (max-width: 800px) {
    .main-post,
    .sidebar-slider {
        float: none;
        width: 100%;
        padding: 0;
    }
    .post-container .excerpt-post {
        width: 100%;
        padding: 0 !important;
        margin-bottom: 30px;
    }
    .post-container .excerpt-post h2 {
        padding: 15px 0;
        margin: 0;
    }
}

.post-container .excerpt-post a:hover {
    color: #fff;
}