/*
Theme Name: CADES Theme
Theme URI: https://cades.org/
Version: 1.0
Description: A custom theme for CADES.
Author: The Snowberry Team
Author URI: https://snowberrymedia.com/
template: bb-theme
*/

.index-0{z-index:0}
.bg_cover{background-size:cover !important}
.fl-builder-content .fl-button:is(a, button), .fl-builder-content a.fl-button:visited{padding:18px 24px}

.fl-theme-builder-header-sticky{box-shadow:0 0 10px rgba(0,8,112,0.1)}
.fl-builder-content-14 .fl-node-1x75lgkbnvow{transition:all 0.4s ease-in-out, background-position 1ms}
.fl-theme-builder-header-shrink.fl-builder-content-14 .fl-node-1x75lgkbnvow {margin-top:0;margin-bottom:0;}


.hero-card-imgs{margin-left:-80px;margin-right:-80px;}
.hero-card-imgs .fl-photo .fl-photo-img{width:360px;}
.hero-card-imgs .fl-photo:nth-of-type(1) .fl-photo-content{transform: rotate(-25.68deg);}
.hero-card-imgs .fl-photo:nth-of-type(2) .fl-photo-content{transform:rotate(27.86deg)}
.hero-card-imgs .fl-photo:nth-of-type(3) .fl-photo-content{transform:rotate(5.21deg)}
.hero-card-imgs .fl-photo:nth-of-type(4) .fl-photo-content{transform:rotate(-23.51deg)}

@media (max-width:767px) {
	.hero-card-imgs{margin-left:20px;margin-right:20px;}
}

.event-post{display:flex;border:0;}
.event-post .fl-post-grid-image{width:128px;min-width:128px;margin-right:36px}
.event-post .fl-post-grid-image img{border-radius:20px}
.event-post .fl-post-grid-text{padding:0;display:flex;flex-direction:column;}
.event-post .fl-post-grid-title{padding:0;color:#005970;margin:0 0 20px;font-size:31px;font-weight:600;}
.event-post .fl-post-grid-meta{font-family: Figtree, sans-serif;order:-1;margin:0 0 10px;font-weight:600;font-size:20px;color:#005970}
.event-post .fl-post-grid-more{padding:4px 0;border-bottom:2px solid #D7282F;margin:0;text-transform:uppercase;color:#005970;font-weight:600}
.event-post .fl-post-grid-more:hover{color:#D7282F}

.featured-post-card{display:flex;align-items: center;flex-direction:row-reverse;border:0;box-shadow:none;background-color:transparent;overflow: visible;}
.featured-post-card .fl-post-image{padding:18px 24px 99px;background-color:#B5C3E1;border-radius:27px;transform:rotate(7.62deg);margin-left:-76px;position:relative;z-index:1;min-width:34.45%;width:34.45%;}
.featured-post-card .fl-post-image img{border-radius:27px;width:100%}
.featured-post-card .fl-post-text{padding:50px 134px 50px 58px;background-color:#005970;border-radius:20px;flex-grow:1}
.featured-post-card .fl-post-meta{font-size:13px;padding-bottom:16px;text-decoration:underline;color:#fff}
.featured-post-card .fl-post-title{font-size:39px;margin-bottom:20px;padding-bottom:0;line-height: 1.4;color:#fff;}
.featured-post-card .fl-post-title a{color:inherit}
.featured-post-card .fl-post-excerpt{color:#fff;margin-bottom:43px;}
.featured-post-card .fl-post-more-link a{text-transform:uppercase;font-size:16px;font-weight:700;letter-spacing:1px;width:235px;max-width:100%;padding:14px 24px;border:3px solid #D7282F;color:#005970;background-color:#fff;display:inline-block;text-align:center;border-radius:50px;}
.featured-post-card .fl-post-more-link a:focus,
.featured-post-card .fl-post-more-link a:hover{color:#fff;background-color:#D7282F;}

.facet-filters{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:22px;}
.facet-filters .facetwp-facet{margin:0;width:206px;}
.facetwp-facet .fs-wrap{width:100%;display:block;}
.facetwp-facet .fs-label-wrap{border:0;border-bottom:3px solid #005970;border-radius:4px;}
.facetwp-facet .fs-open .fs-label-wrap{border-radius:4px 4px 0 0;}
.facetwp-facet .fs-label-wrap .fs-label{padding:15px 30px 15px 15px;font-size: 17px;}
.facetwp-facet .fs-label-wrap .fs-arrow{right:10px;border-top-color:#005970}
.facetwp-facet .fs-dropdown{border-radius:0 0 4px 4px;border-color:#eee}
.facetwp-facet .fs-dropdown .fs-search,
.facetwp-facet .fs-dropdown .fs-no-results{display:none !important}
.facetwp-facet .fs-dropdown .fs-option{font-size: 16px;padding: 10px;}

.default-post-card{border-radius:26px;border:0;padding:0 35px 35px;margin-top:136px;overflow:visible;display: flex;flex-direction: column;}
.default-post-card .fl-post-image{margin-bottom:20px}
.default-post-card .fl-post-image img{margin-top:-136px;border-radius:24px}
.default-post-card .fl-post-text{padding:0;flex-grow: 1;display: flex;flex-direction: column;}
.default-post-card .fl-post-meta{font-size:13px;padding-bottom:16px;text-decoration:underline;}
.default-post-card .fl-post-title{padding-bottom:25px;font-size:31px;line-height: 1.4;}
.default-post-card .fl-post-more-link{margin-top:auto}
.default-post-card .fl-post-more-link a{text-transform:uppercase;font-size:16px;font-weight:700;letter-spacing:1px;padding:0 0 5px;border-bottom:2px solid #D7282F;color:#005970;display:inline-block;}
.default-post-card .fl-post-more-link a:focus,
.default-post-card .fl-post-more-link a:hover{color:#D7282F;}

.secondary-post-card{background:transparent;border:0;padding:0;overflow:visible;display: flex;flex-direction: column;text-align:center;}
.secondary-post-card .fl-post-image{margin-bottom:25px}
.secondary-post-card .fl-post-image img{border-radius:20px}
.secondary-post-card .fl-post-text{padding:0 20px 10px;flex-grow: 1;display: flex;flex-direction: column;}
.secondary-post-card .fl-post-excepert{margin-bottom:20px;}
.secondary-post-card .fl-post-excepert *:last-child{margin-bottom:0;}
.secondary-post-card .fl-post-title{padding-bottom:15px;font-size:31px;line-height: 1.4;}
.secondary-post-card .fl-post-more-link{margin-top:auto}
.secondary-post-card .fl-post-more-link a{text-transform:uppercase;font-size:16px;font-weight:700;letter-spacing:1px;padding:0 0 5px;border-bottom:2px solid #D7282F;color:#005970;display:inline-block;}
.secondary-post-card .fl-post-more-link a:focus,
.secondary-post-card .fl-post-more-link a:hover{color:#D7282F;}

.facetwp-type-pager .facetwp-pager{width:634px;max-width:100%;margin:0 auto;text-align:center;padding-top:42px;border-top:2px solid #FFFFFF}
.facetwp-type-pager .facetwp-page{}
.facetwp-type-pager .facetwp-page.prev,
.facetwp-type-pager .facetwp-page.next{border:3px solid #D7282F;border-radius:50%;text-align:center;line-height:40px;width:46px;font-size: 14px;background-color:#fff;}
.facetwp-type-pager .facetwp-page.prev{margin-right:40px;}
.facetwp-type-pager .facetwp-page.next{margin-left:40px;}
.facetwp-type-pager .facetwp-page.prev:hover,
.facetwp-type-pager .facetwp-page.next:hover{color:#fff;background-color:#D7282F;}

.post-featured-img img{transform:rotate(7.19deg);}

.widget_archive .widgettitle,
.widget_categories .widgettitle{text-align:center;font-size:39px;margin-bottom:15px;line-height: 1.4;}
.widget_archive ul,
.widget_categories ul{margin:0}
.widget_archive ul a,
.widget_categories ul a{color:#005970}
.widget_categories ul .cat-item-13,
.widget_categories ul .cat-item-3{display:none !important}
.widget_archive ul a:hover,
.widget_categories ul a:hover{text-decoration:underline}

.fl-accordion-heading{border-bottom:2px solid #EEF4F7}
.faq-accordian .fl-accordion-button-icon{opacity:1 !important}
.faq-accordian i.fl-accordion-button-icon{font-size:24px !important;line-height: 54px !important;width:60px !important;height:60px !important;border:3px solid #D7282F;border-radius:50%}

.box-img-page-hero .fl-photo-content{padding:16px 20px 85px;border-radius:24px;width:356px;max-width:100%}
.box-img-page-hero .fl-photo:nth-of-type(1) .fl-photo-content{transform: rotate(27.86deg);background-color:#B5C3E1}
.box-img-page-hero .fl-photo:nth-of-type(2) .fl-photo-content{transform:rotate(5.21deg);background-color:#CADF65}
.box-img-page-hero .fl-module-box .fl-photo:nth-of-type(1) .fl-photo-content{transform:rotate(-23.51deg);background-color:#40ACA3}

@media (max-width:767px) {
	.box-img-page-hero.fl-module-box.fl-module .fl-module-photo {
        width: 180px;
    }
	
	.box-img-page-hero .fl-photo-content {
		border-radius: 12px;
		padding: 8px 10px 45px;
		width: 180px;
	}
	
	.box-img-page-hero .fl-photo-img {
		border-radius: 12px;
	}
}

.position-info-card .fl-module-content{height:100%;}
.position-info-card .uabb-infobox{min-height:100%}
.position-info-card .uabb-infobox-left-right-wrap{display:flex;align-items:center;}
.position-info-card .uabb-infobox-content{display:flex;align-items:center;justify-content:space-between;flex-grow:1}
.position-info-card .uabb-infobox-content .uabb-infobox-button{margin-left:30px;margin-top:0}

.table-resources{color:#005970}
.table-resources thead th{border:0;padding:16px 20px;font-size:20px}
.table-resources tbody tr:nth-child(2n){background-color:#E5EEF1}
.table-resources tbody td{border-top:0;border-bottom:2px solid #EEF4F7;padding:16px 20px;vertical-align:middle}
.table-resources .label-program{font-size:12px;text-align:center;font-weight:700;min-width:126px;border-radius:50px;padding:10px;line-height:1;border:2px solid #E5EEF1;display:inline-block;background-color:#FFFFFF}
.table-resources .btn-download{background-color:#fff;font-size:20px;text-align:center;border-radius:50px;width:60px;height:60px;border:3px solid #D7282F;line-height:46px;display:inline-block;}
.table-resources .btn-download path{fill:#005970}
.table-resources .btn-download:focus,
.table-resources .btn-download:hover{background-color:#D7282F;color:#fff}
.table-resources .btn-download:hover path{fill:#fff}

.our-team-card .pp-member-wrapper{display:flex;align-items:center;}
.our-team-card .pp-member-image{width:150px;min-width:150px;margin-right:15px;}
.our-team-card .pp-member-image img{width:150px}
.our-team-card .pp-member-content{flex-grow:1;}

@media(max-width:1199px){
	.featured-post-card .fl-post-image{padding:18px 18px 45px;border-radius:20px;}
	.featured-post-card .fl-post-image img{border-radius:20px;width:100%}
}
@media(max-width:767px){
	.featured-post-card{flex-direction:column;}
	.featured-post-card .fl-post-image{margin-bottom:-96px;margin-left:0;max-width:80%;min-width:inherit;width:410px;}
	.featured-post-card .fl-post-text{padding:134px 35px 50px 35px}
	
	.table-resources thead{display:none}
	.table-resources,
	.table-resources tbody{display:block}
	.table-resources tbody tr{display:block;border-bottom:2px solid #EEF4F7;padding:15px 0}
	.table-resources tbody td{display:block;border-bottom:0;padding:5px 20px}
	.table-resources tbody td:before{font-weight:700;margin-right:10px;content:attr(data-header)}
	.table-resources tbody td.text-center{text-align:left !important}
}
@media(max-width:545px){
	.event-post .fl-post-grid-image{margin-right:20px}
	.faq-accordian i.fl-accordion-button-icon{font-size: 16px !important;line-height: 34px !important;width:40px !important;height:40px !important;border:2px solid #D7282F}
	
	.box-img-page-hero.fl-module-box.fl-module .fl-module-photo {
        width: 150px;
    }
	.box-img-page-hero .fl-photo-content{width:150px}
}