/*
Theme Name: Salient - TSL Main Child Theme 2020
Theme URI: http: //thescriptlab.com/
Description: This is a custom child theme for Salient
Author: The Script Lab
Author URI: http: //thescriptlab.com/
Template: salient
Version: 0.1
*/




/*=======================================
    Courses List Page
=========================================*/

.post-type-archive-sfwd-courses .date,
.post-type-archive-sfwd-courses span.meta-author,
.post-type-archive-sfwd-courses span.meta-category{
	display: none !important;
}

.sfwd-courses {
    margin-bottom: 25px;
}

/*=======================================
    Post Area
=========================================*/

body #post-area p a{
	color: #d04042 !important;
}

/*=======================================
    Post Header
=========================================*/

.single #single-below-header >span {
    padding: 0 10px 0 0px;
    border-left: 0px solid #DDD;
}

.single #single-below-header >span.meta-category {
    padding: 0 10px 0 10px;
    border-left: 1px solid #DDD;
}

/*
div#page-header-wrap {
    display: none !important;
}
*/

/*=======================================
    Post Content
=========================================*/

article.post .content-inner {
    margin-bottom: 0 !important;
}

/*=======================================
    Post Footer
=========================================*/

.ascend #author-bio {
    clear: both !important;
}

/*=======================================
    Header
=========================================*/

body[data-header-color="custom"] #header-secondary-outer nav >ul >li.btn-header-cta >a {
    border-left: 1px solid rgba(0,0,0,0.1);
    background: #d04042 !important;
    letter-spacing: 1px;
    font-size: 12px !important;
    color: #fff !important;
}

/*=======================================
    Footer
=========================================*/
/* Made long titles go under header
.container-wrap, .project-title {
    padding-bottom: 0px !important;
    margin-top: -93px !important;
}
*/
/*=======================================
    Off Canvas
=========================================*/

#slide-out-widget-area .menuwrapper li {
    position: relative;
    margin-bottom: 15px;
}

/*=======================================
    Exit Modal
=========================================*/

.pum-theme-6952,
.pum-theme-default-theme {
    background-color: rgba(208,64,66,.8) !important;
}

/*=======================================
    Blog Header
=========================================*/

li.meta-comment-count{
    visibility: hidden;
}

/*=======================================
    Recent Posts Widget
=========================================*/

.wpp-post-title {
    line-height: 17px !important;
}

/*=======================================
    PageNavi
=========================================*/

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #d04042;
    padding: 12px 18px;
    margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #d04042;
    background: #d04042;
    color: #fff;
}

#post-area .wp-pagenavi {
    padding-bottom: 50px !important;
}

/*=======================================
    Author Bio
=========================================*/

.ascend #author-bio img {
    display: none !important;
}

/*=======================================
    Post Tree
=========================================*/

.dtree{
    margin-bottom: 15px;
}

/*=======================================
    Newsletter Pop Up
=========================================*/

.pum-theme-6952 .pum-container, .pum-theme-default-theme .pum-container {
    padding: 18px !important;
    border-radius: 0px;
    border: 11px solid #d04042 !important;
    box-shadow: 1px 1px 3px 0px rgba( 2, 2, 2, 0.23 );
    background-color: #fff !important;
}

.pum-theme-6952 .pum-content + .pum-close, .pum-theme-default-theme .pum-content + .pum-close {
    padding: 0 8px 8px 14px !important;
    color: #ffffff;
    background-color: #d04042 !important;
}


/*=======================================
    Contests JSON
=========================================*/

.contest-container{
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}

.contest-item{
    width: 30%;
    margin: 1% 1% 3% 1%;
    -webkit-flex: 1 0 auto;
	flex: 1 0 auto;
    position: relative;
    border: 1px solid #eee;
}

@media (max-width: 1020px){
.contest-item{
    width: 48%;
    margin: 2% 2% 4% 2%;
}
}

@media (max-width: 690px){
.contest-item{
    width: 90%;
    margin: 2% 2% 4% 2%;
}
}

.contest-header{
    padding: 14px;
    width: 100%;
    background: #f3f3f3;
    border-bottom: 1px solid #eee;
    min-height: 64px;
    display: table;
    width: 100%;
}

.contest-body{
    padding: 30px 5px;
}

.contest-footer{
    padding: 10px 0 25px 0;
    margin-top: 25px;
    width: 100%;
}

.row .col .contest-header h3.contest-title{
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 0px;
}

.row .col h3.contest-title{
    margin-bottom: 25px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.row .col .contest-logo-outer{
    display: table;
    width: 100%;
    /* padding: 10px 0 50px 0px; */
}

.row .col .contest-logo-inner{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.row .col .contest-logo-inner img,
.row .col .contest-logo-inner span{
   display:table-cell;
}

.row .col img.contest-logo{
    /* max-width: 160px; */
    /* max-height: 80px; */
    width: auto;
    /* padding-bottom: 10px; */
}

.row .col h6.contest-company{
    margin-bottom: 30px;
    font-size: 13px;
    color: #777;
}

.contest-deadline {
    position: absolute;
    bottom: 72px;
    left: 0;
    right: 0;
}

a.contest-button {
    border: 2px solid #d04042;
    padding: 6px 17px;
    display: inline-block;
    margin: 10px auto;
    color: #d04042;
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
}

a.contest-button:hover {
    background: #d04042;
    color: #fff;
}

/*=======================================
    Pop-up
=========================================*/

body .pum-content.popmake-content .wpb_row {
    margin-bottom: 0px !important;
}

#gform_wrapper_2 ul.gform_fields li.gfield {
    padding-right: 0px !important;
}

#gform_wrapper_2 .gform_footer input.button,
#gform_wrapper_2 .gform_footer input[type=submit]{
    font-size: 1em;
    width: 100% !important;
    margin: 0 16px 0 0;
    padding: 12px 12px;
    border-radius: 0;
}

/*=======================================
    Filebase Pro
=========================================*/


/*=======================================
    Filebase Pro
=========================================*/

.learndash-wrapper .ld-login-modal .ld-login-modal-form .login-username:before,
.learndash-wrapper .ld-login-modal .ld-login-modal-form .login-password:before {
    top: 3.25em !important;
}

.ratings-after-title {
    display: none !important;
}

/*=======================================
    Helper
=========================================*/

#post-area > p{
    font-size: 18px;
}

#post-area > p > a{
    margin: 0 2px;
}

/*=======================================
    Helper
=========================================*/

.hidden{display: none !important;}
