/*
 Theme Name:     C-L.org Divi Child
 Description:    Divi Child Theme for Catholic-Link.org
 Author:         Fr. George Elliott
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Fix lines around Google Custom Search Bar */
.entry-content table:not(.variations) {
    border:0px;
    margin: 0 0 0px;
    text-align: left;
    width: 100%;
}
.entry-content tr td {
    border-top: 0px solid #eee;
    padding: 6px 24px;
}

/* Style Podcast Archive Blog Roll */
/*add media query so changes only affect tablet and desktop*/
@media (min-width: 767px) {
/*set the image width*/
.pa-blog-list .entry-featured-image-url  {
width: 15%;
float: left;
margin-bottom: 0!important;
}
/*set the details width*/
.pa-blog-list .entry-title,
.pa-blog-list .post-meta,
.pa-blog-list .post-content {
width: 85%;
float: left;
padding-left: 30px;
}
}
/*style the individual posts*/
.pa-blog-list .et_pb_post {
box-shadow: 0px 2px 80px 0px rgba(160,190,212,0.22);  
border-radius: 10px;
padding: 30px;
}


/* Code for Slick sliders on homepage */

/* Style Post and Quote sliders */
.divilife-3-carousel-centered .et_pb_post {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  margin: 10px 10px 0px;
}
.divilife-3-carousel-centered .et_pb_post.slick-center {
  transform: scale(1.15);
  transition: all 0.4s ease;
}
  
.divilife-3-carousel-centered .et_pb_post .entry-featured-image-url { 
  margin: 0;
  height: 200px;
}

.divilife-3-carousel-centered .et_pb_post .entry-featured-image-url img { 
  margin: 0;
  display: block;
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}  

.divilife-3-carousel-centered .et_pb_post .post-cat-wrapper { padding: 0 30px; }

@media(max-width: 767px) {
  .divilife-3-carousel-centered .et_pb_post .post-cat-wrapper {
    padding: 0 30px;
  }
}

/***This reorders Blog Posts Post Meta items and adds custom separators. It also moves category tags up to top***/
.divilife-3-carousel-centered .et_pb_post .post-meta { display: flex; flex-wrap: wrap; }
.divilife-3-carousel-centered .et_pb_post .post-meta .published { order: 1; }
.divilife-3-carousel-centered .et_pb_post .post-meta .author { order: 2; }
.divilife-3-carousel-centered .et_pb_post .post-meta a[rel="tag"] { order: 3; }

.divilife-3-carousel-centered .et_pb_post .post-meta .published:after {
  content: '|';
  display: inline-block;
  margin: 0 7px;
}

.divilife-3-carousel-centered .et_pb_post a[rel="tag"] { margin-left: 10px; }
.divilife-3-carousel-centered:not(.ui-sortable) .et_pb_post a[rel="tag"] {
  display: inline-block;
	color: #fff;
  text-transform: uppercase;
  padding: 5px 20px;
  margin: 0 10px 10px 0;
  width: auto;
  min-width: 116px;
  text-align: center;
  z-index: 10;
}

.slick-slider {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 10px 0 10px !important;
}

.slick-track { display: flex; align-items: flex-start; }
  
.slick-track:before, .slick-track:after {
  display: table;
  content: '';
}
  
.slick-slide {
  display: block;
  position: relative;
  float: left !important;
  height: 100%;
  min-height: 1px;
  clear: none !important;
}

.divilife-3-carousel-centered .slick-arrow, .divilife-3-carousel-centered .slick-arrow:hover, .divilife-3-carousel-centered .slick-arrow:focus {
  position: absolute;
  font-size: 0;
  line-height: 0;
  color: #e4661e;
  outline: none;
  background: transparent;
  border: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}
.divilife-3-carousel-centered .slick-prev { left: -50px; }
.divilife-3-carousel-centered .slick-next { right: -50px; }
  
.divilife-3-carousel-centered .slick-arrow:before {
  font-family: ETmodules; 
  color: #e4661e;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0.4;
  font-size: 36px;
  padding: 10px 10px 6px;
}
.divilife-3-carousel-centered .slick-arrow:hover:before { opacity: 0.8; }
.divilife-3-carousel-centered .slick-prev:before { content: '\23'; }
.divilife-3-carousel-centered .slick-next:before { content: '\24'; } 

@media (max-width: 1200px) {
  .slick-list { padding: 0 !important; }
}

@media (max-width: 767px) { 
  .divilife-3-carousel-centered .slick-prev { left: -32px; }
	.divilife-3-carousel-centered .slick-next { right: -32px; }
  .entry-content ul.slick-dots { bottom: 0; }
}


/* Style Above the Fold Slider */
.cl-abovethefold-carousel .et_pb_post { display: block; }
  
.cl-abovethefold-carousel .et_pb_post img { 
  width: 100%;
  height: 300px;
  object-fit: cover;
}
  
.cl-abovethefold-carousel .et_pb_post .et_overlay {
	z-index: 1;
  opacity: .3;
}
.cl-abovethefold-carousel .et_pb_post:hover .et_overlay, .cl-abovethefold-carousel .et_overlay:hover {
  z-index: -1;
  opacity: 0;
}  
  
.image-title-caption-wrapper {
	position: absolute;
	left: 50%;
  top: 75%;
	transform: translate(-50%, 0%);
	width: 100%;
	z-index: 1;
  background-color: rgba(256,256,256,0.8);
}

.cl-abovethefold-carousel .slick-arrow, .cl-abovethefold-carousel .slick-arrow:hover, .cl-abovethefold-carousel .slick-arrow:focus {
  position: absolute;
  font-size: 0;
  line-height: 0;
  padding: 0;
  color: transparent;
  outline: none;
  background: transparent;
  border: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-28px);
  z-index: 100;
}
.cl-abovethefold-carousel .slick-prev { left: 20px; }
.cl-abovethefold-carousel .slick-next { right: 20px; }
  
.cl-abovethefold-carousel .slick-arrow:before {
  font-family: ETmodules; 
  color: #e4661e;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
  font-size: 30px;
  padding: 12px 10px 8px;
}
.cl-abovethefold-carousel .slick-arrow:hover:before { opacity: 1; }
.cl-abovethefold-carousel .slick-prev:before { content: '\23'; }
.cl-abovethefold-carousel .slick-next:before { content: '\24'; } 

@media (max-width: 980px) { 
  .cl-abovethefold-carousel .slick-prev {  left: 0; }
	.cl-abovethefold-carousel .slick-next { right: 0px; }
}

/* Style Image and Video Sliders */
.cl-image-carousel .et_pb_post { display: block; }
  
.cl-image-carousel .et_pb_post img { 
  width: 100%;
  height: 400px;
  object-fit: cover;
}
  
.cl-image-carousel .et_pb_post .et_overlay {
	z-index: 1;
  opacity: .3;
}
.cl-image-carousel .et_pb_post:hover .et_overlay, .cl-image-carousel .et_overlay:hover {
  z-index: -1;
  opacity: 0;
}  
  
.image-title-caption-wrapper {
	position: absolute;
	left: 50%;
  top: 75%;
	transform: translate(-50%, 0%);
	width: 100%;
	z-index: 1;
  background-color: rgba(256,256,256,0.8);
}

.cl-image-carousel .slick-arrow, .cl-image-carousel .slick-arrow:hover, .cl-image-carousel .slick-arrow:focus {
  position: absolute;
  font-size: 0;
  line-height: 0;
  padding: 0;
  color: transparent;
  outline: none;
  background: transparent;
  border: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-28px);
  z-index: 100;
}
.cl-image-carousel .slick-prev { left: 20px; }
.cl-image-carousel .slick-next { right: 20px; }
  
.cl-image-carousel .slick-arrow:before {
  font-family: ETmodules; 
  color: #e4661e;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.8;
  font-size: 30px;
  padding: 12px 10px 8px;
}
.cl-image-carousel .slick-arrow:hover:before { opacity: 1; }
.cl-image-carousel .slick-prev:before { content: '\23'; }
.cl-image-carousel .slick-next:before { content: '\24'; } 

@media (max-width: 980px) { 
  .cl-image-carousel .slick-prev {  left: 0; }
	.cl-image-carousel .slick-next { right: 0px; }
}

/* End Code for Slick Sliders on Homepage */
