/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


.wpb_wrapper>div.no-margin-b{
	margin-bottom:0px;
}

/* Navigation */
#header-outer[data-lhe="animated_underline"] #top nav > ul > li > a{
	margin-left: 2px;
    margin-right: 2px;
}

/* Works Grid */
.nectar-post-grid[data-cat-click=static] .nectar-post-grid-item .content .meta-category, .nectar-post-grid[data-cat-click=static] .nectar-post-grid-item .content .meta-category a{
	font-size:14px!important;
	line-height:1.3!important;
	letter-spacing:-1px;
	margin: 3px 10px 0 0;
}
.works-grid.nectar-post-grid-wrap[data-style="content_under_image"] .custom-aspect-ratio-4-5 .nectar-post-grid-item:nth-child(8n+2) .nectar-post-grid-item-bg,
.works-grid.nectar-post-grid-wrap[data-style="content_under_image"] .custom-aspect-ratio-4-5 .nectar-post-grid-item:nth-child(8n+4) .nectar-post-grid-item-bg,
.works-grid.nectar-post-grid-wrap[data-style="content_under_image"] .custom-aspect-ratio-4-5 .nectar-post-grid-item:nth-child(8n+8) .nectar-post-grid-item-bg{
        padding-bottom: calc((4 / 5) * 100%);
}
@media screen and (min-width:1000px){
.works-grid.nectar-post-grid-wrap[data-style="content_under_image"] .custom-aspect-ratio-4-5 .nectar-post-grid-item:nth-child(8n+5){
    width: calc(66.64% - 20px);

}
.works-grid.nectar-post-grid-wrap[data-style="content_under_image"] .custom-aspect-ratio-4-5 .nectar-post-grid-item:nth-child(8n+5) .nectar-post-grid-item-bg{
        padding-bottom: calc((3 / 5) * 100%);
}
}

/* ACCORDION */
.toggles .toggle.open>div,
div[data-style*=minimal] .toggle.open[data-inner-wrap=true]>div{
    overflow: visible;
}
div[data-style="minimal"] .toggle {
    border-bottom: 1px solid rgb(0 0 0);
    transition: border-color 0.15s ease;
}
div[data-style*=minimal] .toggle>.toggle-title i {
    width: 40px;
    height: 40px;
    border: 0px solid #888;
}
div[data-style="minimal"] .toggle > .toggle-title i:after{
content: " ";
    top: 2px;
    left: 18px;
    width: 2px;
    margin-left: -2px;
    height: 22px;	
}
div[data-style="minimal"] .toggle > .toggle-title i:before {
    content: " ";
    top: 14px;
    left: 6px;
    margin-top: -2px;
    width: 22px;
	height: 2px;
}

