/*******************Advent Calendar 2017 - 7 & 13********************/
/*******Custom Single Post Layout & Styling for Archive Pages********/
/***************************By Divi Soup*****************************/


/***Post Content***/

/* Set Global Blog header min-height to stop it jumping in initial animation */
@media(min-width: 978px) {
  #esc_blog_header, .archive .particles-js, .search .particles-js {
    min-height: 380px;
    overflow: hidden;
  }
}



/*Add margin below the featured image on single posts*/
.esc_custom_posts .et_pb_post .et_post_meta_wrapper img {
    margin-bottom: 20px;
}


/*Reduce the post meta font size on archive pages*/

.esc_custom_posts .esc_custom_post_item .post-meta, .esc_custom_posts .esc_custom_post_item .post-meta span, .esc_custom_posts .esc_custom_post_item .post-meta a {
    font-size: 12px !important;
    color: #5d5d5d!important;
}


/*Add margin to the post meta elements and prevent breaking*/
.esc_custom_post_item .author,
.esc_custom_post_item .published,
.esc_custom_post_item a[rel~="category"],
.esc_custom_post_item .comments-number {
    display: inline-block;
    margin: 0 10px 0 15px;
}


/*Style the post meta icons*/

.esc_custom_post_item .author a:before,
.esc_custom_post_item .published:before,
.esc_custom_post_item .post-meta a[rel~="category"]:before,
.esc_custom_post_item .comments-number a:before
{
    font-family: 'ETModules';
    color: #CB9B51;
    margin-right: 5px;
    margin-left: -20px;
    display: inline-block;
}


/*Add the post meta icons*/
.esc_custom_post_item .author a:before {
    content: '\e08a';
}

.esc_custom_post_item .published:before {
    content: '\e023';
}

.esc_custom_post_item a[rel~="category"]:before {
    content: '\e07c';
}

.esc_custom_post_item .comments-number a:before {
    content: '\77';
}

/***Sidebar***/

/*Remove the dividing line*/

@media all and (min-width: 981px) {
    .single #main-content .container:before,
     #main-content.esc_custom_posts .container:before {
        display: none;
    }
}


/*Style the sidebar links*/
#sidebar .et_pb_widget a, .et_pb_widget_area .et_pb_widget a {
  color: #333;
  font-weight: 600;
  border-left: 5px solid #e5e5e5;
  padding-left: 10px;
  display: block;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.swp_popular_post b {
    font-weight: 600!important;
}

/*Style the sidebar links on hover*/
#sidebar .et_pb_widget a:hover, .et_pb_widget_area .et_pb_widget a:hover {
  color: #212121;
  border-color: #212121;
  font-weight: bold;
  transform: translateX(5px);
}

ul.esc_recentposts img {
    display: block;
}

.et_pb_widget_area .et_pb_widget {
    float: none;
    width: 100%;
    margin-bottom: 30px;
}

@media (min-width: 981px) {

  .esc_custom_posts #left-area {
      width: 77%;
      padding-bottom: 23px;
      margin-right: 2%!important;
  }

}
#sidebar.et_pb_widget_area_left {
    /* padding-right: 0px; */
}
/*Style the search box*/

#sidebar .widget_search input#s,
#sidebar .widget_search input#searchsubmit,
.et_pb_widget_area .widget_search input#s,
.et_pb_widget_area .widget_search input#searchsubmit {
    border-radius: 3px;
}

#sidebar .widget_search input#s,
.et_pb_widget_area .widget_search input#s {
    border: 2px solid #d5d5d5;
    transition: all 0.5s ease;
}


/*Hide the search button*/

#sidebar .widget_search input#searchsubmit,
.et_pb_widget_area .widget_search input#searchsubmit
 {
    background: transparent;
    color: transparent;
    border: none;
    z-index: 1;
}


/*Add the magnifying glass icon*/

#sidebar .widget_search #searchform:after,
.et_pb_widget_area .widget_search #searchform:after {
  content: '\55';
  font-family: 'ETModules';
  position: absolute;
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #d5d5d5;
  right: 10px;
  top: 8px;
  transition: all 0.5s ease;
}

#searchform:hover input#s, input#s:focus,{
    border: 2px solid #212121;
}
#sidebar .widget_search #searchform:hover:after,
.et_pb_widget_area .widget_search #searchform:hover:after {
    color: #212121;
}

/***Author Box***/
/*Set the border and spacing*/
.single .ds-author-bio-section {
    border: 2px solid #e5e5e5;
    padding: 15px;
    margin-top: 20px;
}
.single .ds-author-bio-section blockquote {
    margin: 5px 0;
}

.single .ds-author-image {
    float: left;
    padding-right: 20px;
}
.single .ds-author-image img {
    border-radius: 4px;
}

.single .ds-author-description, .single .ds-author-bio-section blockquote {
    float: left;
}
.single .ds-author-links {
  float: left;
  text-align: center;
}

.single .ds-related-image {
    height: 120px;
    overflow: hidden;
}
.ds-related-image>a>img {
    margin-top: -10%;
}

.single footer {
  margin-top: 50px;
}
/*Style the author name*/
.single .ds-author-name {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
}
/*Add padding for the author description*/
.single p.ds-author-details {
    padding-bottom: 1.2em;
}
/*Position the author avatar*/
.single .ds-author-details img {
    float: left;
    margin: 7px 10px 10px 0;
}

/*Style the links*/
.single .ds-author-links a {
    color: #CB9B51;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}

/***Single Post navigation***/

/*Next/previous post nav*/
/*Navigation sizing*/
.single .esc_custom_post_item #ds-single-post-nav {
    margin: 40px 0;
    display: inline-block;
    width: 100%;
}

/*Post title styling*/
.single .esc_custom_post_item #ds-single-post-nav h2 {
    margin-top: 20px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2em;
}

/*Align the prev post nav*/
.single .esc_custom_post_item span.ds-single-nav-previous {
    width: 47.5%;
    margin-right: 5%;
    float: left;
}

/*Align the next post nav*/
.single .esc_custom_post_item span.ds-single-nav-next {
    display: block;
    text-align: right;
}

/*Prev/next post nav button styling*/
.single .esc_custom_post_item span.ds-single-nav-previous a[rel~="prev"],
.single .esc_custom_post_item span.ds-single-nav-next a[rel~="next"] {
    color: #fff;
    background: #212121;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    padding: .7em 1em !important;
    border: 2px solid white;
    border-radius: 3px;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

/*Prev/next post nav button hover styling*/
.single .esc_custom_post_item span.ds-single-nav-previous a[rel~="prev"]:hover,
.single .esc_custom_post_item span.ds-single-nav-next a[rel~="next"]:hover {
    box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
}

/*Prev/next arrows size*/
.single .esc_custom_post_item .ds-meta-nav {
    font-size: 18px;
}

/*Reduce post nav button size on mobile*/
@media all and (max-width: 479px) {
    .single .esc_custom_post_item span.ds-single-nav-previous a[rel~="prev"],
    .single .esc_custom_post_item span.ds-single-nav-next a[rel~="next"] {
        font-size: 10px;
        padding: .7em .75em !important;
    }
}

/***Related posts***/

/*Hide the default title and meta*/
.single .esc_custom_post_item .ds-related-posts .post-meta,
.single .esc_custom_post_item .ds-related-posts .entry-title {
    display: none;
}

/*Set the display and margin*/
.single .esc_custom_post_item .ds-related-posts {
    display: inline-block;
    margin-top: 30px;
    width: 100%;
}

/*Remove padding*/
.single #left-area .esc_custom_post_item  .ds-related-posts ul {
    padding-left: 0;
}

/*Style the post title*/
.single .esc_custom_post_item .ds-related-content h4 {
    line-height: 1.2em;
    text-transform: uppercase;
    font-size: 18px;
    height: 5em;
    padding: 10px;
}

/*Set post width and margin*/
.single .esc_custom_post_item .ds-related-list {
    list-style-type: none;
    width: 30%;
    float: left;
    margin-right: 5%;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

/*Remove margin from last post*/
.single .esc_custom_post_item .ds-related-list:last-child {
    margin-right: 0;
}

@media all and (max-width: 600px) {
    .single .esc_custom_post_item .ds-related-list {
        width: 100%;
    }
    .single .esc_custom_post_item .ds-related-content h4 {
        margin-bottom: 20px;
    }
}

/***Comments***/

/*Add the comment border*/
.single .esc_custom_post_item .comment-body {
    border: 2px solid #e5e5e5;
}

/*Position the text*/
.single .esc_custom_post_item .comment-body {
    position: relative;
    padding: 20px;
    margin-bottom: 30px;
}

/*Position the avatar container*/
.single .esc_custom_post_item .comment_avatar {
    position: relative;
    top: 0;
}

/*Position the avatar image*/
.single .esc_custom_post_item .comment_avatar img {
    display: inline-block;
    float: left;
    margin-right: 20px;
    height: auto;
}

/*Adjust the indent for replies*/
.single .esc_custom_post_item .comment .children {
    margin-left: 30px;
}

/*Style the comment form input text*/
.single .esc_custom_post_item #commentform textarea,
.single .esc_custom_post_item #commentform input:not(.et_pb_button) {
    font-family: "Open Sans", Arial, sans-serif;
    background-color: transparent;
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
    border: 2px solid #e5e5e5;
}

/*Style the reply and submit buttons*/
.single .esc_custom_post_item a.comment-reply-link.et_pb_button,
.single .esc_custom_post_item .form-submit .et_pb_button {
    border-radius: 3px;
    color: #fff;
    background: #212121;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid white;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    float:right;
}

/*Styling for the reply link button only*/
.single .esc_custom_post_item a.comment-reply-link.et_pb_button {
    font-size: 14px;
    margin-right: 20px;
    top: 20px;
    padding: .1em .5em;
}

/*Style the reply and submit buttons on hover*/
.single .esc_custom_post_item a.comment-reply-link.et_pb_button:hover,
.single .esc_custom_post_item .form-submit .et_pb_button:hover {
    box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);
}

/*Hide the reply link button arrow*/
.single .esc_custom_post_item a.comment-reply-link.et_pb_button:hover:after {
    display: none;
}

/*Style the edit comment link*/
.single .esc_custom_post_item .comment-edit-link {
    color: #CB9B51;
}

/*Comment Form*/

/*Style the logged in as link*/
.single p.logged-in-as a {
    color: #white;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 12px;
}

p.logged-in-as a:nth-child(1) {
  background: #212121;
}
p.logged-in-as a:nth-child(2) {
  background: #CB9B51;
  margin-left: -6px;
}


/*Remove excess padding from the form fields*/
.single .esc_custom_post_item p.comment-form-author,
.single .esc_custom_post_item p.comment-form-comment,
.single .esc_custom_post_item p.comment-form-email,
.single .esc_custom_post_item p.comment-form-url {
    padding-bottom: 0;
}

/*Align the form fields on larger screens*/
@media all and (min-width: 768px) {
    .single .esc_custom_post_item #commentform input#author {
        width: 48.5%;
        float: left;
    }
    .single .esc_custom_post_item #commentform input#email {
        width: 48.5%;
        float: right;
    }
    .single .esc_custom_post_item #commentform input#url {
        width: 100%;
    }
}

/*Style the titles*/
.single .esc_custom_post_item h4.ds-related-posts-header,
.single .esc_custom_post_item #respond h3,
.single .esc_custom_post_item h1#comments,
#sidebar h4.widgettitle ,
.et_pb_widget_area h4.widgettitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 0px 0 5px;
    border-bottom: 1px #CB9B51 solid;
}

h4.ds-related-posts-header, h3.comment-reply-title {
    font-size: 26px!important;
    text-transform: uppercase;
    font-weight: 400!important;
    text-align: left!important;
}

/***Archive pages***/

/***Three columns for posts***/

/*Set the post width and margin for three columns and add the border*/
.et_pb_post.esc_custom_post_item
 {
    width: 30%;
    float: left;
    margin-right: 5%;
}

/*Remove margin from every third post*/
@media all and (min-width: 1280px) {
    .et_pb_post.esc_custom_post_item:nth-child(3n) {
        margin-right: 0;
    }
}

/*Set to two columns on tablets &amp; smaller laptops */
@media all and (max-width: 1279px) {
    .et_pb_post.esc_custom_post_item {
        width: 47.5%;
        margin-right: 5%;
    }
    /*Remove margin from every second post*/
    .et_pb_post.esc_custom_post_item:nth-child(2n) {
        margin-right: 0;
    }
}

/*Set to a single column on smaller screens*/
@media all and (max-width: 767px) {
    .et_pb_post.esc_custom_post_item {
        width: 100%;
        margin-right: 0;
    }
}

/*Add padding to the posts*/
.et_pb_post.esc_custom_post_item {
    padding-left: 15px;
    padding-right: 15px;
}

/*Remove padding on featured image with negative margin*/
.esc_custom_post_item .ds-archive-featured
 {
    margin: 15px 0;
}

@media(max-width: 768px) {
.esc_custom_post_item .ds-archive-featured
   {
      margin: 0px -15px;
  }
  .et_pb_post.esc_custom_post_item a.entry-featured-image-url {
    margin-bottom: 0;
  }

  #left-area .et_pb_post .post-meta {
    height: auto;
  }
  .ds-archive-featured {
    max-height: 235px;
    overflow: hidden;
  }
  .et_pb_post.category-podcast .entry-featured-image-url:before {
    left: -15px!important;
  }
}

/*Style the read more link and post nav*/
.search a.more-link {
    display: block;
    width: 7.2em;
}
.esc_custom_posts .pagination a {
    color: #fff!important;
    background: #CB9B51;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px!important;
    padding: 10px 15px !important;
    border: 2px solid #CB9B51;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 4px;
}
.esc_custom_posts .pagination a:hover {
    color: #CB9B51!important;
    background: #fff!important;
}

/*Add bottom margin to the pagination*/
.esc_custom_posts .pagination {
    margin-bottom: 40px;
    padding-top: 40px;
}

/*Add padding to the post title on mobile*/
@media all and (max-width: 479px) {
    .et_pb_post.esc_custom_post_item .entry-title {
        padding-bottom: 10px;
    }
}

/****End - Custom Single Post Layout & Styling for Archive Pages*****/
/***************************By Divi Soup*****************************/

#page-container .container {
    width: 90%;
    max-width: 1180px;
}

#page-container .container #left-area {
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    padding: 2.5%;
    border-radius: 4px;
    margin-right: 0;
    background: white;
}

#page-container .container #sidebar {
    padding: 0;
    margin-left: 10px;
    margin-right: -10px;
    width: 20%;
}

#page-container .container #sidebar .et_pb_widget {
  padding: 10px;
   box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
   border-radius: 4px;
   padding-bottom: 20px;
   background: white;
}

.single #content-area:not(.unauthorised) {
    margin-top: -100px;
}

/* **************************************************************** */
/*   Additional CSS Blog/Search/Archive page styling - Enqore Studio              */
/* **************************************************************** */
.esc_custom_posts .et_pb_post.esc_custom_post_item .post-content p {
    display: block;
    height: 6em;
    overflow: hidden;
    line-height: 1.5em!important;
    font-size: 16px;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .post-content p {
  margin-bottom: 20px;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item a.more-link {
  width: 100%;
  float: left;
  padding: 5px;
  border: 1px solid white;
  color: white!important;
  position: relative;
  text-transform: uppercase;
  font-family: Graphie;
  border-radius: 0 0 4px 4px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 16px;
  background-color: #2e3740;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item  {
  box-shadow: 0px 0px 60px 0px rgba(71,74,182,0.12);
  border: none!important;
}

/* Blog SLIDER Styling */
.format-slider .et_pb_post.esc_custom_post_item  {
  box-shadow: 0px 0px 10px 0px rgba(71,74,182,0.4);
}

.esc_custom_posts .et_pb_post.esc_custom_post_item a.more-link:hover {
  border-color: white!important;
  /* color: #212121!important; */
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .entry-title>a  {
  color: white!important;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .entry-title {
    font-family: Graphie;
    background: #2e3740;
    width: 100%;
    position: relative;
    padding: 8px 4px;
    line-height: 1.5em!important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
@media(min-width: 768px) {
  .esc_custom_posts .et_pb_post.esc_custom_post_item .entry-title {
    height: 5em;
  }
}

.esc_custom_posts .et_pb_post.esc_custom_post_item:not(.has-post-thumbnail) .entry-title {
  border-radius: 4px 4px 0 0;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .entry-featured-image-url img {
  border-radius: 4px 4px 0 0;
  margin-top: -10%;
}

@media(max-width: 768px) {
  .esc_custom_posts .et_pb_post.esc_custom_post_item .entry-featured-image-url img {
    margin-top: 0%;
  }
}

/* CUSTOM POST LIST STYLING */
.esc_custom_posts .et_pb_post.esc_custom_post_item {
    width: 30%;
    float: left;
    overflow: hidden;
    text-align: center;
    padding: 0;
    margin: 10px;
}

#comment-wrap #submit {
    color: white;
    background: #CB9B51;
    padding: .3em 1em;
    border-color: #CB9B51;
}
}
#comment-wrap #submit:before {
    display: none;
}

#main-content .container:before {
    background-color: transparent;
}

.esc_custom_posts #sidebar .et_pb_widget_area_left {
    padding-right: 0px;
    border-right: none;
}

/* New Category display styling */
#archive_category_wrapper {
    background: white;
    padding: 10px 0px;
    border-radius: 4px 4px 0px 0px;
    margin-top: -29px;
    margin-bottom: 30px;
    text-align: center;
    color: #212121;
    border: 2px #212121 solid;
    margin-left: -3.5%;
    margin-right: -3.5%;
    border-color: #212121;
    border-style: solid;
}
#archive_category {
    font-weight: bold;
    background: #212121;
    padding: 5px 10px;
    color: white;
    white-space: nowrap;
    border: 1px white solid;
    border-radius: 1px;
    margin-left: 20px;
    display: inline-flex;
}


@media (max-width: 1080px) {
  .et_right_sidebar #sidebar {
    margin-top: 40px;
      margin-left: 0px!important;
  }
  #archive_category_wrapper {
      margin-left: -3%;
      margin-right: -3%;
  }
}

#single_post_image {
  overflow: hidden;
  text-align: center;
}

#single_post_image>img {
  border-radius: 4px;
  max-height: 300px;
}

.et_fixed_nav.et_show_nav div#page-container.main_blog {
    padding-top: 0;
}


@media(min-width:769px) {
  .esc_custom_posts .et_pb_post.esc_custom_post_item .entry-featured-image-url {
    max-height: 120px;
  }
  .esc_custom_posts .et_pb_post.esc_custom_post_item .entry-featured-image-url {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
  }
}

.esc_custom_posts .et_pb_post.esc_custom_post_item {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin: 10px !important;
  border-radius: 4px;
  opacity: 1;
}

@media(max-width:768px) {
  .esc_custom_posts .et_pb_post.esc_custom_post_item {
        width: 100%;
        margin: 0px !important;
        margin-bottom: 30px!important;
  }
}

.esc_custom_posts .post-meta {
  color: #5d5d5d!important;
  padding: 10px 0px 15px 0;
  height: 8em;
  line-height: 2em;
  text-align: center;
  background: #f5f5f5;
}
.esc_custom_posts #left-area .post-meta a {
  transition: all 0.3s ease;
}
.esc_custom_posts #left-area .post-meta a:hover {
    color: #212121!important;
    text-decoration: underline;
}
.esc_custom_posts #left-area .post-meta a:before {
    text-decoration: none!important;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .more-link:after {
  font-family: "Font Awesome 5 Free"!important;
  font-size: 18px;
  position: relative;
  left: 5px;
  display: inline-block;
  color: white;
  transition: all 0.3s ease;
  opacity: 0;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item:not(.category-podcast) .more-link:after {
  content: "\f35a";
}

.esc_custom_posts .et_pb_post.esc_custom_post_item.category-podcast .more-link:after {
  content: "\f025";
  font-weight: 900;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item .more-link:hover:after {
  opacity: 1;
}

body:not(.single) .esc_custom_posts .et_pb_post.esc_custom_post_item:hover {
    box-shadow: 0px 0px 10px 5px rgba(71,74,182,0.3)!important;
}
body:not(.single) .esc_custom_posts .et_pb_post.esc_custom_post_item {
    box-shadow: 0px 0px 10px 0px rgba(71,74,182,0.3)!important;
}

.esc_custom_posts .et_pb_post.esc_custom_post_item {
transition: all 0.3s ease;
}
/* Add microphone icon to podcast posts */
/* .esc_custom_posts .et_pb_post.esc_custom_post_item.category-podcast .entry-featured-image-url:before {
  font-family: "Font Awesome 5 Free";
    font-size: 40px;
    position: absolute;
    left: 0px;
    top: 0px;
    transition: all 0.5s ease;
    display: inline-block;
    content: "\f3c9"!important;
    color: white;
    font-weight: 900;
    background: #CB9B51;
    padding: 15px 15px;
    border-radius: 4px;
} */
/* Private posts icon */
/* .esc_custom_posts .et_pb_post.esc_custom_post_item[class*="category-private"] .entry-featured-image-url:after {
    font-family: "Font Awesome 5 Free";
    font-size: 40px;
    position: absolute;
    right: 0px;
    top: 0px;
    transition: all 0.5s ease;
    display: inline-block;
    content: "\f023"!important;
    color: black;
    font-weight: 900;
    background: white;
    padding: 15px 10px;
    border-radius: 4px;
    border: 1px black solid;
} */
/* Premium posts icon */
/* .esc_custom_posts .et_pb_post.esc_custom_post_item.premium .entry-featured-image-url:after {
    font-family: "Font Awesome 5 Free";
    font-size: 40px;
    position: absolute;
    right: 0px;
    top: 0px;
    transition: all 0.5s ease;
    display: inline-block;
    content: "\f005"!important;
    color: white;
    font-weight: 900;
    background: #212121;
    padding: 15px 10px;
    border-radius: 4px;
} */

.esc_custom_posts .esc_custom_post_item .post-content {
    padding: 10px 10px 0 10px;
}

/* Styling for new Podcasts sidebar widget from shortcode */
.esc_podcastposts li a:before {
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    position: absolute;
    transition: all 0.5s ease;
    display: inline-block;
    content: "\f3c9"!important;
    color: #CB9B51;
    font-weight: 900;
    border-radius: 4px;
    margin: 2px 0 0 -20px;
}

.esc_podcastposts li a {
  padding-left: 25px!important;
}

#sidebar .et_pb_widget .mepr-login-actions>a {
  white-space: nowrap;
  margin-top:15px;
}

.widget_mepr_login_widget #wp-submit {
  width: 100%;
}
.esc_custom_posts.format-grid {
  float: left;
}

/* Styling for new Post SLIDER */
.du_slick_slider .slick-prev:before, .du_slick_slider .slick-next:before {
    font-size: 30px;
    line-height: 1;
    opacity: 1;
    color: #CB9B51;
}
.du_slick_slider .slick-prev, .du_slick_slider .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 32px;
    height: calc(100% - 20px);
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    /* border: 1px #CB9B51 solid; */
    outline: none;
    background: white;
    z-index: 99;
    border-radius: 4px;
}
.du_slick_slider .slick-prev {
    left: -25px;
}
.du_slick_slider .slick-next {
    right: -25px;
}

.du_slick_slider .slick-dots li button:before {
    font-size: 26px;
    color: #CB9B51;
}
.du_slick_slider .slick-dots li button:before {
    font-size: 26px;
    color: #CB9B51;
}
.du_slick_slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #CB9B51;
}
.du_slick_slider .slick-dots {
  bottom: 0;
  position: relative;
}

.single .post-meta a {
    color: white;
    text-decoration: underline;
}

.single .et_social_inline:before {
    content: "Share or like this";
    font-family: Graphie;
    font-size: 20px;
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 0;
    top: -5px;
}
.single .et_social_inline {
    border: 2px solid #e5e5e5;
    padding: 15px;
    border-radius: 4px;
    margin-top: 60px;
}

.esc_custom_post_item .et_pb_post .entry-content {
    font-size: 16px;
    line-height: 1.5em;
    padding-top: 0;
}

/* Set Single Post header min-height to stop it jumping in initial animation */
@media(min-width: 978px) {
  div#single_blog_header {
    min-height: 556px;
  }
}

#sidebar .et_pb_widget a.esc_widget_button {
    color: white;
    font-weight: 600;
    border-left: none;
    text-align:center;
    display: block;
    padding: 10px 20px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    background: #212121;
    margin-bottom: -10px;
    font-family: "Graphie";
    font-size: 16px;
    border-radius: 4px;
    border: 2px solid white;
    margin-left: 0!important;
}

#sidebar .et_pb_widget a.esc_widget_button:hover {
  box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.3);

}


/* FOR BLOG POSTS */

#default_blog_image_wrapper {
  display: none;
}

.tiled-parallax-bg {
background-image: url(IMAGE URL);
background-attachment: fixed;
background-repeat: repeat;
background-position: top center;
background-size: initial;
}


.single .entry-content h2 {
margin-top:40px;
margin-bottom: 10px;
padding: 0px 0 5px;
border-bottom: 1px #CB9B51 solid;
font-size: 30px;
}

.single a.swp_share_link {
    color: white!important;
    background: #CB9B51;
}

.single  .swp_share_button {
    border-color: #212121!important;
}

@media(min-width: 980px) {
body.search #blog_hero_subtitle {
transform: translate(-44%,72px);  
}
}
