/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
@import url("../Divi/style.css");


/* GENERAL LAYOUT */

ul a, ol a {
  border-bottom: 2px solid #e0cf41;
  -webkit-transition: .2s;
  -moz-transition: .2s;
  -ms-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

ul a:hover, ol a:hover {
  border-bottom: 2px solid #242021;
}

.left {
  float: left;
}

.right {
  float: right;
}

.entry-content ul li {
  font-weight: normal;
}

.et_pb_row {
  width: 100%;
}


blockquote.floating {
  position: relative;
  left: 0;
  width: auto !important;
  max-width: 300px;
}

@media screen and ( min-width: 980px ) {
  
  blockquote.floating {
    position: relative;
    left: -50px;
    margin: 20px 0 30px 0 !important;
  }
  
}


/* HEADER */

.et_header_style_centered nav#top-menu-nav{
  display:inline-block !important;
}

#top-menu li a,
#mobile_menu li a {
  border: none;
}

@media (min-width: 0px) {
  
  .et_header_style_centered #logo {
    max-height: 60px !important;
  }
  
}

@media (min-width: 981px) {
  
  .et_header_style_centered #main-header .logo_container {
    height: 75px !important;
  }
  
}

/* MAIN CONTENT */

#main-content .container:before {
  width: 0 !important;
}

#main-content .container {
  padding-top: 0 !important;
}

/*** MAIN CONTENT - PAGE */

#main-content .page .et_section_regular {
  padding-left: 2em;
  padding-right: 2em;
}
#main-content .page .et_pb_fullwidth_section {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (min-width: 981px) {
  #main-content .page .et_section_regular {
    padding-left: 0;
    padding-right: 0;
  }
}

/*** END MAIN CONTENT - PAGE */

#main-content .container.post {
  width: 100%;
  max-width: 100%;
}

#main-content .container.post .content {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  top: 30px;
  margin: 0 auto;
}

#main-content .container.post .content .et_pb_text_inner {
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
}

.post-content .more-link {
  margin-top: 30px;
}

.post-meta .author.vcard {
  text-transform: none;
}

@media (min-width: 767px) {
  #main-content .container.post .content {
    width: 75%;
  }
}

@media (min-width: 960px) {
  #main-content .container.post .content {
    width: 60%;
  }
}

#main-content .container.post .content h1 {
  background: white;
  margin: 0 auto;
  padding: 10px 20px;
  min-height: 75px;
  height: auto;
  position: relative;
  top:-20px;
}

@media (max-width: 767px) {
  #main-content .container.post .content h1 {
    font-size: 28px;
     top:0px;
  }

/*
  .folo-img-caption {
    margin: 28px auto 0 auto;
    width: auto !important;
    max-width:300px;
    height: 50px !important;
    padding: 0.5em 1em 0.5em .5em !important;
  }

*/
}

.single.et_pb_pagebuilder_layout.et_full_width_page .et_post_meta_wrapper {
  width: 100%;
  max-width: 1080px;
}

.et_pb_pagebuilder_layout.single.et_full_width_page #page-container .et_pb_row,
.et_pb_pagebuilder_layout.single.et_full_width_portfolio_page #page-container .et_pb_row {
  width: 100%;
  max-width: 1080px;
}

/* HOMEPAGE */

#home-hero-featured-post p {
  color: white;
}

#featured-4 {
  padding-bottom: 0;
}

#text-3 {
  text-align: left !important;
  margin-bottom: 2em !important;
  padding: 4em;
}

/* trending topics */

.display-posts-listing {
  
  margin-top: 2em;
  margin-left: 0 !important;
  
}

.display-posts-listing .listing-item {
  position: relative;
  margin-bottom: 0;
  
}

.display-posts-listing .listing-item a img {
  margin: 0 auto;
}

.display-posts-listing .listing-item .overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .45);
  width: 150px;
  height: 150px;
  font-size: 12px;
  line-height: 1.3em;
  border: solid 5px transparent;
}

.display-posts-listing .listing-item:hover {
  
}

.display-posts-listing .listing-item:hover .overlay {
  background: rgba(0, 0, 0, .25);
  border: solid 5px #E0CF43;
  cursor: pointer;
}

.display-posts-listing .listing-item .overlay div.title-container {
  position: relative;
  top: 40%;
  margin: 0 auto;
  padding: 0 .4em;
  text-align: center;
  display: block;
}

.display-posts-listing .listing-item .overlay div.title-container a {
  color: white;
}

@media (min-width: 420px) and (max-width: 767px) {
  .display-posts-listing li {
    flex-basis: 50%;
  }
  
  .display-posts-listing li a {
    font-size: 13px;
  }
}

@media (min-width: 320px) and (max-width: 419px) {
  .display-posts-listing li {
    flex-basis: 100%;
  }
}




/* POSTS */

#main-content .container.post .content .et_post_meta_wrapper,
#main-content .container.post .content .entry-content {
  padding: 20px;
}

.entry-content ul {
  margin-left: 0px !important;
  padding-left: 0 !important;
  
}

.skinny ul {
  margin-left: 17px !important;
}

/* FORMS */

button.submit {
  border: solid 1px #E0CF43;
  background: #E0CF43;
  color: white;
  cursor: pointer;
  border-style: none;
  text-shadow: none;
  box-shadow: none;
  padding: 12px;
  font-weight: bold;
}

input[type=text] {
  border: solid 1px #f3f1f2;
  padding: 11px 15px;
  max-width: 250px;
  min-width: 200px;
}

@media (max-width: 767px) {
  #text-3,
  #footer-widgets .footer-widget .fwidget:last-child {
    margin-bottom: 4em !important;
  }
}

#text-3 p {
  color: #fff !important;
  font-size: 0.9em !important;
}

#text-4 {
  width: 100%;
  text-align: center;
}

.et_header_style_centered #main-header {
  padding: 5px 0 !important;
}

@media (max-width: 5000px) {
  
  #et_mobile_nav_menu {
    display: block !important;
    float: left !important;
  }
  
  #et-secondary-menu {
    float: left !important;
    display: none !important;
  }
  
  .et_header_style_centered .mobile_menu_bar {
    left: 15px !important;
    opacity: 1 !important;
    display: block !important;
  }
  
}

.wp-caption {
  border: none;
  background: transparent;
  max-width: 100%;
  padding: 0;
}

.wp-caption p.wp-caption-text {
  font-size: 11px !important;
  margin-bottom: 40px;
  text-align: left;
}

#more-posts {
  max-width: 1080px;
  margin: 0 auto;
  width: 90%;
  position: relative;
  display: flex;
  justify-content: space-between;
}

@media (min-width: 960px) {
  #more-posts {
    width: 60%;
  }
}

@media (max-width: 767px) {
  #more-posts {
    top: 0;
    width: 75%;
    display: flex;
    flex-wrap: wrap;
  }
}

.link-container {
  position: relative;
  flex-basis: 50%;
}

.link-container img {
  width: 100%;
}

.post-nav {
  margin-bottom: 2em;
  flex-basis: 100%;
  align-self: flex-start;
  margin-right: 20px;
}

@media (max-width: 767px) {
  .post-nav {
    margin-right: 0;
  }
}

.post-nav.right {
  margin-right: 0;
  margin-left: 20px;
}

@media (max-width: 767px) {
  .post-nav.right {
    margin-left: 0;
  }
  
}

.post-nav .title {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  bottom: 4px;
  padding: 15px;
  width: 100%;
}

.post-nav h3 {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .post-nav {
    position: relative;
    
    width: 100%;
    align-self: flex-start;
  }
  
  .post-nav.right {
    position: relative;
    float: left;
    width: 100%;
  }
}

/* AUTHOR */

blockquote p {
  font-style: italic;
  padding-left: 20px;
}

article {
  clear: both;
}

.single-excerpt {
  margin-bottom: 1.5em;
}

.single-excerpt p {
  font-size: 18px;
  font-weight: normal;
}

#article-footer {
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: solid 1px #ddd;
}

.author-byline,
.opt-in {
  flex-basis: 50%;
  justify-content: center;
  align-self: flex-start;
  padding: 20px;
}

.author-byline {
  align-self: center;
}

.opt-in {
  border-left: 1px solid #ddd;
}

.opt-in small {
  font-size: 12px;
  font-weight: normal;
}

@media (max-width: 767px) {
  
  .author-byline,
  .opt-in {
    flex-basis: 100%;
  }
}

.author-byline p,
.author-byline a,
.opt-in p,
.opt-in a {
  font-size: 12px;
}

.author-byline .et-social-icon a {
  font-size: 20px;
}

.author-image {
  max-width: 15%;
  margin-right: 20px;
  float: left;
}

.author-image img {
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  margin-right: 1em;
}

#article-footer ul.et-social-icons {
  /*float:left; 
  margin-left:0 !important;
  padding-left:0 !important;
  */
  float: none !important;
}

#article-footer ul.et-social-icons li {
  margin: 0 20px 0 0 !important;
}

.newsletter-opt-in-container {
  margin: 2em 0 .5em;
  
}

.newsletter-opt-in-container input[type="text"],
.newsletter-opt-in-container input[type="email"],
.newsletter-opt-in-container button[type="submit"] {
  font-family: "Whitney SSm A", "Whitney SSm B";
}

.newsletter-opt-in-container.header {
  margin: 2em 0;
  position: absolute;
  top: -20px;
  right: 2em;
  display: block;
  
}

@media (max-width: 900px) {
  
  .newsletter-opt-in-container.header {
    display: none;
  }
  
}

small {
  font-size: 0.9em;
}

@media (min-width: 982px) {
  
  .et_header_style_centered #et_mobile_nav_menu {
    margin-top: -80px !important;
    width: 20%;
  }
}

@media (max-width: 981px) {
  
  .et_header_style_centered #et_mobile_nav_menu {
    width: 100%;
  }
}

@media (min-width: 0px) {
  .et_header_style_centered .et_mobile_menu {
    top: 60px !important;
  }
}

/* single */

.article-hero-image {
  height: 550px;
}

@media (max-width: 767px) {
  .article-hero-image {
    height: 250px;
  }
  
}

/* ARCHIVE */


.archive-title {
  margin:2em auto;
  text-align: center;
}

.archive-title.align-left {
  text-align: left;
}

.archive-title h1{  
  font-size:3em;
}
.archive-post {
  margin-bottom:3.5em; display:flex; justify-content: flex-start; align-content: flex-start; flex-wrap: wrap;
}

.archive-post .archive-featured-img {
  flex-basis: 30%; align-self: flex-start;
}

.archive-post .archive-post-title{
  flex-basis: 70%; align-self: flex-start;
  padding-left:1.2em;
  
}

/* CATEGORY */

select#categoryList {
  margin-top: 1em;
  color: #242021;
  text-decoration: underline;
  padding: 3px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
  -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
  box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
  
  border: none;
  outline: none;
  display: inline-block;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  
}

#categories {
  margin: 1em 0;
  color: #242021;
  padding: 10px 15px;
  background: #fff;
  border-left: 5px solid #E0CF43;
  position: relative;
  z-index: 1000;
  
}

#categories:hover {
  cursor: pointer;
}

.categories-list {
  display: none;
  width: 50%;
  
  position: absolute;
  z-index: 1000;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0px 4px 4px rgba(0, 0, 0, .2);
  border: solid 1px #f3f1f2;
  height: 300px;
  left: 0;
  overflow-y: scroll;
}

@media (max-width: 420px) {
  .categories-list {
    width: 100%;
  }

  
}

@media (max-width: 767px) {
 
   .folo-img-caption {
    display: block !important;
    position:relative !important;
    margin: 28px auto 0 auto; 
    width: auto !important;
    max-width:300px;
    height: 50px !important;
    padding: 0.5em 1em 0.5em .5em !important;
    text-align:center !important;
  }

  article .content .folo-img-caption {
    display: block !important;
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    width: 100% !important;
    max-width:100% !important;
    text-align:left !important;
    padding-left:20px !important;


  }

  .folo-img-caption-decorator{
    display:none;
  }
  
  
}



.categories-list.open {
  display: block;
  top: 40px;
  left: -15px;
}

.categories-list li {
  margin-top: 1em;
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  padding: .5em 1em;
  
}

.categories-list li a {
  border: none;
}

.categories-list li:hover {
  background: #E0CF43;
}

.categories-list li:hover a {
  color: white;
  font-weight: bold;
}

.categories ul li a {
  text-decoration: none;
}

.pagination {
  clear: both;
  margin-bottom: 2em;
}

/* chevron */

.chevron::before {
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  top: 0.15em;
  transform: rotate(-45deg);
  vertical-align: top;
  width: 0.45em;
  margin-left: 1em;
}

.chevron.right:before {
  left: 0;
  transform: rotate(45deg);
}

.chevron.bottom:before {
  top: 0;
  transform: rotate(135deg);
}

.chevron.left:before {
  left: 0.25em;
  transform: rotate(-135deg);
}

/* MEET THE TEAM */

.et_pb_team_member_image {
  width:160px !important;
  margin: 0 auto 30px;
  -webkit-clip-path:circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
}

@media screen and (min-width: 768px){
  
  .et_pb_team_member_image {
    margin:26px 52px 0 0;
  }
  
}

/* about */

#folo-definition {
  padding-bottom: 0 !important;
}


/*** FOOTER */
#main-footer .container {
  width: 100%;
}

#footer-widgets {
  padding: 0;
}
/*** END FOOTER */

/** Full Width Post Slider Image Caption **/
.folo-img-caption {


  position: absolute;
  bottom: 10%;
  left: 0; 
  display: block;
  text-align: left;
  padding: 0.5em;
  background: rgba(255,255,255, .8);
  text-shadow:none;
  height:70px;
   
}

.folo-img-caption div {
  display: block;
  float: left;
  width:100%;
  color:black;

}

.folo-img-caption,
.folo-img-caption a,
.folo-img-caption p,
.folo-img-caption-text {
  font-family: "Whitney SSm A","Whitney SSm B","open sans";
  font-size: 12px;
  letter-spacing: 1px;
  color: #000 !important;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.folo-img-caption a {
  font-weight: bold;
}

.folo-img-caption-decorator {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 20%;
  height: 70px;
  background: #ffffff;
  opacity: 0.8;
  display: none;
  
}

/** Articles Image Caption **/
article .content .folo-img-caption {
  /*top: -45px;
  bottom: auto;
  left: 0;
  */

  top:0;
  position:relative;
  padding:1em 20px;
  background: rgba(255,255,255,1);
}
.article-hero-image {
  position: relative;
}

@media (max-width: 767px) {
  .archive-post .archive-featured-img,
  .archive-post .archive-post-title
  {
    flex-basis:100%;
  }

   .archive-post .archive-post-title {
    padding-left:0;
    margin-top:1.2em;
   }
}


@media screen and (max-width: 766px) {
  .article-hero-image .folo-img-caption-decorator {
    display: none;
  }
   

}

@media screen and (min-width: 767px) and (max-width: 959px) {
  .article-hero-image .folo-img-caption-decorator {
    width: 10%;
    bottom: 19.3%;
    display: none;
  }
}
@media screen and (min-width: 960px) {
  .article-hero-image .folo-img-caption-decorator {
    width: 19%;
    display: none;
    bottom: 19.3%;
  }
}

@media screen and (min-width: 2000px) {
  .folo-img-caption-decorator {
    width: 30%;
   
  }
}




/** Blog Module Image Caption **/
.folo-post-img-caption,
.folo-post-img-caption span,
.folo-post-img-caption a,
.folo-post-img-caption p {
  font-family: "Whitney SSm A","Whitney SSm B","open sans";
  font-size: 10px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.folo-post-img-caption a {
  font-weight: bold;
}

/** Search for Mobile resolutions **/

@media screen and ( max-width: 980px ){
  
  .wrap-search {
    position: relative;
    margin: 0 auto 30px;
    width: 50%;
  }
  
  .wrap-search input.search-input {
    width: 100%;
    max-width: 100%;
  }
  
  .wrap-search button {
    position: absolute;
    top: 10px;
    bottom: 0;
    right: 10px;
    left: auto;
    display: block;
    margin: 0;
    padding: 0;
    width: 17px;
    height: 17px;
    background: none;
    border: none;
  }
  
  .wrap-search button span#et_search_icon {
    position: relative;
    display: block;
    width: 17px;
    height: 17px;
  }
  
  .wrap-search button span#et_search_icon:before {
    top: 0;
    left: 0;
  }
  
  
}

@media screen and ( min-width: 981px ){
  
  .wrap-search {
    display: none!important;
  }
  
  .et_header_style_centered .et_mobile_menu {
    top: 37px !important;
  }
  
}

/* hide caption on homepage */

body.home .folo-img-caption {
 display: none !important;
}


/* single post header style */
.single-post .et_pb_post .content {}

.single-post .et_pb_post .content .entry-title {}

.single-post #main-content .container.post .content .et_post_meta_wrapper {
  padding: 0 20px;
}

.single-post #main-content .container.post .content .entry-content {
  padding-top: 0;
}

/* Pagination Styles */

.pagination {
  text-align: center;
}

.pagination .pages {
  display: inline-block;
  margin-left: -10px;
}

.pagination .page-numbers {
  margin: 0 10px;
  float: left;
}

.pagination .page-numbers a,
.pagination .page-numbers a:hover {
  border: none;
}

.pagination .page-numbers span {
  opacity: .7;
}

.pagination .page-numbers.current span {
  color: #dfce40;
  opacity: 1;
}