/* 
Theme Name:		 Divi Child Theme
Theme URI:		 http://childtheme-generator.com/
Description:	 Divi Child Theme is a child theme of Divi, created by ChildTheme-Generator.com
Author:			 Accentuate
Author URI:		 http://childtheme-generator.com/
Template:		 Divi
Version:		 1.0.0
Text Domain:	 divi-child-theme
*/

ul.retreat-list.fa-ul {
    margin-left: 12px;
    padding-left: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(112 112 112 / 21%);
	list-style: none;
}

ul.retreat-list.fa-ul>li {
    position: relative;
    padding-left: 15px;
    padding-bottom: 10px;
	line-height: 1.3;
}

ul.retreat-list.fa-ul:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.retreat-wrapper {
    margin: 20px 0;
}

ul.retreat-list.fa-ul li i {
    color: #DB4D40;
}

.retreat-title {
    font-family: 'Onest', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #000;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
    margin-top: 30px;
}

ul.attatchment-category-wrapper {
	list-style-image: url('/wp-content/uploads/2025/05/bullet-caret-right.svg');
}

.image-full, .image-full .et_pb_image_wrap, .image-full img {
	height: 100%;
}

.image-full img {
	object-fit: cover;
}

.card-link-row .et_pb_column:hover .et_pb_text h3,
.card-link-row .et_pb_column:hover .et_pb_button_module_wrapper {
	top: -30px;
}

.card-link-row .et_pb_text h3,
.card-link-row .et_pb_button_module_wrapper  {
    transition: all 0.3s ease-in-out;
	position: relative;
    top: 0;
}

.more-resources {
    margin-top: 30px;
}

.resources-btn, .resources-btn:hover {
    border: 0 !important;
	background-color:transparent !important;
    padding: 0 !important;
    text-decoration: underline;
}

/**CUSTOM DIVI TABLE **/

.et_pb_tabs_controls li {
	border-right: 0 !important;
	line-height: 1.2em;
	float: none !important;
	flex: 1 !important;
	text-align: center;
	padding: 35px 20px;
	/* box-shadow: 30px 13px 40px rgb(216 216 216 / 31%); */
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.et_pb_all_tabs {
    box-shadow: 30px 13px 40px rgb(216 216 216 / 31%);
    z-index: 100;
}

.et_pb_tab {
    padding: 5.2vw 0px;
    max-width: 1640px;
    width: 95%;
    margin: auto;
}

ul.et_pb_tabs_controls {
    background-color: transparent;
    display: flex;
    max-width: 1640px;
    width: 95%;
    margin: auto;
}

.et_pb_tabs, ul.et_pb_tabs_controls:after {
    border: 0 !important;
}

li.et_pb_tab_0.et_pb_tab_active, li.et_pb_tab_1.et_pb_tab_active { z-index: 101; }
li.et_pb_tab_1 { z-index: 100;}


@media (max-width: 1024px) { .et_pb_tabs_controls li {  padding: 20px; } }
@media (max-width:980px){
	ul.et_pb_tabs_controls.clearfix { display: block; }
	.et_pb_tabs_controls li { width: 100%; }
	.et_pb_tab {
		padding: 50px 0px;
	}
	
	body .et-l--header {
        height: auto !important;
    }
	
	.search-wrapper {
		max-width: 100% !important;
	}
}


/** EMAIL OPTIN **/

.mc4wp-form-fields input#email {
    padding: 20px 40px;
    line-height: 1;
    font-size: 18px;
    border-radius: 33px;
    background-color: transparent;
    color: #fff;
}
.mc4wp-form-fields { display: flex;}
.mc4wp-form-fields input#email::placeholder {  color: #fff;}
.flex-item.email { flex: 1; }
.flex-item.email input { width: 100%; }

.mc4wp-form-fields input[type="submit"] {
    height: 100%;
    border-radius: 33px;
    line-height: 1;
    padding: 20px 40px;
    border: 1px solid #DB4D40;
    background-color: #DB4D40;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
	margin-left: -80px;
}

/** CUSTOM SEARCH FORM CSS **/

.search-wrapper {
    width: 100%;
    max-width: 800px;
    position: relative;
	margin: auto;
}

input#attachment-search-input {
    font-size: 18px;
    border: 1px solid #fff;
    border-radius: 33px;
    padding: 20px 35px;
    line-height: 1;
    background-color: transparent;
    color: #fff;
	width: 100%;
}

input#attachment-search-input::placeholder {
	color: rgb(255 255 255 / 30%);
}

button#attachment-search-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    background-color: transparent;
    border: 0;
    font-size: 18px;
    z-index: 100;
    color: #839829;
}

button#attachment-search-button,
button#attachment-search-button i {
	cursor: pointer;
}

button#attachment-search-button:hover i {
	color: #b43d31;
}

fieldset.category-wrapper, fieldset.type-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

fieldset.category-wrapper label {
    background-color: transparent;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 330px;
    border: 1px solid #839829;
    font-weight: 600;
    cursor: pointer;
    color: #839829;
	transition: all 0.3s ease;
}

fieldset.category-wrapper label:hover,
fieldset.category-wrapper label.active  {
	background-color: #839829;
	color: #ffffff;
}

/** DOUCMENT LOOP STYLES **/

div#document-search-results.blur-loading {
	filter: blur(2px);
	transition: filter 0.2s ease;
	pointer-events: none;
}

/* Loader animation */
.result-loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none; /* hidden by default */
}

@keyframes l5 {
  0%   { box-shadow: 20px 0 #000, -20px 0 #0002; background: #000; }
  33%  { box-shadow: 20px 0 #000, -20px 0 #0002; background: #0002; }
  66%  { box-shadow: 20px 0 #0002, -20px 0 #000; background: #0002; }
  100% { box-shadow: 20px 0 #0002, -20px 0 #000; background: #000; }
}

/* Container must be positioned relative for absolute loader */
#document-results-container {
  position: relative;
}


#document-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 100%;
}

#document-search-form fieldset {
	border: none;
	padding: 0;
	margin: 0;
	position: relative;
	flex: 1;
}

#document-search-form input[type="search"],
#document-search-form select {
	padding: 16px;
    font-size: 16px;
    min-width: 180px;
    width: 100%;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

#document-search-form button {
	padding: 8px 16px;
	font-size: 16px;
	background-color: #DB4D40;
	color: white;
	border: none;
	cursor: pointer;
	border-radius: 6px;
}

#document-search-form button:hover {
	background-color: #0056b3;
}

form#document-search-form select {
	appearance: none; /* Remove default arrow */
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 30px;
}

form#document-search-form i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #333;
}

#search-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
    justify-content: center;
}

div#load-more-posts {
    display: block;
    margin: auto;
    text-align: center;
}

div#load-more-posts a.et_pb_button {
    color: #FFFFFF !important;
    border-width: 1px !important;
    border-color: #DB4D40;
    border-radius: 33px;
    font-size: 16px;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #DB4D40;
    padding-top: 20px !important;
    padding-right: 40px !important;
    padding-bottom: 20px !important;
    padding-left: 40px !important;
    line-height: 1 !important;
}

div#load-more-posts a.et_pb_button:after { display: none; }
div#load-more-posts a.et_pb_button:hover{
	  background-color: transparent;
	  color: #DB4D40 !important;
}

#ajax-loader {
	display: inline-flex;
	width: 16px;
	height: 16px;
	border: 2px solid #ccc;
	border-top-color: #839829;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* Hide loader initially */
#ajax-loader {
	display: none;
}

/* Spinner animation */
@keyframes spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

div#document-search-results {
    margin-bottom: 50px;
}

.result-wrapper {
/*   display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.6vw; */
  display: flex;
	flex-wrap: wrap;
  gap: 35px;
}

.result-item { flex: 0 1 calc((100% - 175px) / 6); }

.result-item {
  display: flex;
  flex-direction: column;
}


.file-icon {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #839829;
	color: #fff;
	border-radius: 6px;
	font-size: 16px;
	z-index: 10;
}


@media (max-width: 1440px) { .result-item { flex: 0 1 calc((100% - 4 * 35px) / 5);  } }
@media (max-width: 1024px) { .result-item { flex: 0 1 calc((100% - 3 * 35px) / 4);  } }
@media (max-width: 768px) { .result-item { flex: 0 1 calc((100% - 2 * 35px) / 3);  } }
@media (max-width: 580px) { .result-item { flex: 0 1 calc((100% - 1 * 35px) / 2);  } }

.result-content {
	flex: 1;
	display: flex;
    flex-direction: column;
}

.result-item img {
	border: 5px solid #F5F5F5;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 25px;
	aspect-ratio: 3/4;
	object-fit: cover;
}

.result-title, .et_pb_text .result-title {
	font-family: 'Onest', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2em;
	margin-bottom: auto;
}

a.result-download {
    color: #DB4D40;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

a.result-download i {
    margin-left: 10px;
}

/** DOCUMENT VIDEO CSS **/

.video-loop-item { 
	flex: 0 1 calc((100% - 2 * 35px) / 3);
	text-align: center;
}

.video-loop-item img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    border: 0.5px solid #839829;
    overflow: hidden;
	margin-bottom: 35px;
	display: block;
}

.video-loop-item a {
	color: #839829;
	font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
}

.video-loop-item h4 {
	font-weight: 700;
	font-size: 25px;
	letter-spacing: -0.4px;
	line-height: 1.2em;
	color: #fff;
}

/** POPUP CSS **/

#preview-modal {
	display: none;
	position: fixed;
	z-index: 9999999;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.8);
}

#preview-modal-content {
	position: relative;
	margin: 5% auto;
	width: 90%;
	max-width: 1024px;
	background: #fff;
	padding: 20px;
	border-radius: 10px;
}

#preview-frame-container {
	max-height: 70vh;
	overflow: auto;
}

#preview-frame-container iframe,
#preview-frame-container img {
	width: 100%;
	height: auto;
}

#preview-close {
    position: absolute;
    top: 0;
    right: -40px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
}

/** NEWS AUTHOR BOX CSS **/

/** NEWS AUTHOR BOX **/

.news-author-wrapper {
    display: flex;
    gap: 2.6vw;
	max-width: 900px;
	margin: auto;
}

.author-image {
    width: 180px;
    flex-shrink: 0;
}

.author-content {
    flex: 1;
}

.news-author-main {
	line-height: 1.6em;
	background-color: rgba(131, 152, 41, 0.05);
	padding-top: 4.1vw !important;
	padding-right: 4.1vw !important;
	padding-bottom: 4.1vw !important;
	padding-left: 4.1vw !important;
	margin-bottom: 5.2vw !important;
	max-width: 1400px;
	display: block;
    margin: auto;
}

.author-image img {
    border-radius: 50%;
	width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.author-content h3 {
    margin-bottom: 20px;
}

/** RESPONSIVE CSS **/

@media (max-width:767px) {
	.video-loop-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
	
	.video-loop-item:last-child {
		margin-bottom: 0;
	}
}