/* HEADERS  */
.fl-module h3,
.fl-module h4 {
	margin-top: 30px;
}

h5.fl-callout-title a {
	font-weight: bold;
}

h2.fl-post-grid-title a,
span.fl-post-grid-author a {
	font-weight: bold;
}


/* IMAGES AND CAPTIONS */

.wp-caption p.wp-caption-text {
  font-size: 0.95em;
  line-height: 1.3;
  margin: 0;
  padding: 5px;
}

/* Theme landing pages */
.story-highlight a {
	font-weight: normal;
	&:hover,
	&:focus {
		color: #1357f4; 
		text-decoration:underline;
	}
}

/* Home page */
.short-separator {
	margin:  0 425px;
}

.home-icon img {
	max-height: 150px;
}


/* post content container */
.row.fl-post-image-beside-wrap {
	margin-left: 0; 
}


/* Display posts for directory grid */
/* Grid style */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 20px;
}

.display-posts-listing.grid .title {
	display: block;
	font-size: 1.05em;
	margin-top: .5em; 
}

.display-posts-listing.grid img { 
	display: block; 
	max-width: 175px; 
	height: auto; 
	border: 1px solid #ccc;
	background: #fff;
	padding: 3px;
}

/* removes link from position title and adds other styling */
.display-posts-listing.grid .category-display a {
	pointer-events: none;
  cursor: default;
	display: inline-block;
	vertical-align: top;
	font-weight: normal;
		text-transform: uppercase;
	color: #939fc4;
	line-height: 1.3;
	font-size: .85em;
}

@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 5, 1fr );
	}
}

 /* ACE menu */

.menu-ace-main-menu-container ul#menu-ace-main-menu li {
  line-height: 1.2;
  margin-top: 1em;
}
.menu-ace-main-menu-container ul#menu-ace-main-menu li a {
  font-weight: normal;
	
	&:active {
		background: #f8961f;
		display: block;
		padding-right: 10px;
	}
}
.fl-widget ul.sub-menu li#menu-item-25999:before, .fl-widget ul.sub-menu li#menu-item-26000:before {	content: none;
}
li#menu-item-26000, li#menu-item-25999 {
	padding-left:20px;
}

@media only screen and (min-width: 1024px) {
	.menu-ace-main-menu-container {
	margin-top: 60px;
}
}

/* When browser window is between 768 and 991px wide, restrict size of header logo */

@media screen and (min-width: 768px) and (max-width: 991px) {
	.fl-page-header-logo a img {
		max-width: 50%;
	}
}


/* Graphics page flickr albums */

#awp-flickr-album-19002, #awp-flickr-album-19004, #awp-flickr-album-19000, #awp-flickr-album-18996 {
  border: 1px solid #ccc;
  max-height: 300px;
  overflow: hidden;
}
	
/* Lists next to floated images, fixes so margins don't collapse and overlap photo */

.fl-page-content ul, .fl-page-content ol {
  width: auto;
  overflow: hidden;
}
	
	/* Gutenberg buttons */

.wp-block-file a.wp-block-file__button {
  background: #fec10d;
}
	

/* LINKS */

a {
  font-weight: bold;
  letter-spacing: 0.02em;
  font-size: 0.95em;
  
}
a:hover, a:focus {
	text-decoration: underline;
}
.fl-page-nav-collapse.collapse.navbar-collapse ul {
	
}


.fl-page-nav-collapse.collapse.navbar-collapse ul a {
  text-decoration: none;
}

.fl-page-nav-collapse.collapse.navbar-collapse ul a:active {
  font-weight: bold;
}

.fl-page-nav-collapse.collapse.navbar-collapse ul a:hover, .fl-page-nav-collapse.collapse.navbar-collapse ul a:focus {
  color: #ffc10c;
  font-weight: bold;
  text-decoration: underline;
}
  
	
	

	
/* HEADER and FOOTER */

/*Header */
.fl-page-header-logo img {
	max-height: 3rem; 
}


/* Footer */
.fl-page-footer-row {
	padding: 30px 0;
}

ul.footer-logos {
	padding: 0;
	margin-bottom: 0;
}

ul.footer-logos li {
	padding: 0;
		list-style-type: none;
		display: inline;
}

ul.footer-logos img {
	height: 70px;
			margin: 1em 3em 0 0;
}

.fl-page-footer-text {
	letter-spacing: .03em;
}


.fl-page-footer-text h2 {
	font-size: 1.5em;
	margin: 1em 0 30px 0; 
}

.fl-page-footer-text a {
	color: #fec10d;
}

.fl-page-footer p {
	margin-bottom: 0;
}


/* Directory */

.accap-directory table img {
	border: 1px solid #ccc;
	background: #fff;
	padding: 3px;
}

.info-box {
	font-size: .9em;
}

.fl-post.directory.type-directory .fl-post-meta.fl-post-meta-top, 
.fl-archive.container .fl-post-meta.fl-post-meta-top,
.fl-post.dlp_document .fl-post-meta.fl-post-meta-top {
	display: none;
}


	
	
/* EVENTS */

  /* minimal list event block */
}
#ect-events-minimal-list-content a {
  text-decoration: none;
} 

.tribe-block.tribe-block__events-link {
	background: #fff;
}

/* upcoming events images */

.tribe-events-calendar-list__event-featured-image-wrapper a img, img.tribe-events-calendar-list__event-featured-image {
	max-width: 55%;
	background: #fff;
  padding: 3px;
}
	
  /*Ensures entire photo caption shows up under photos in BB layouts */
}
.fl-photo-caption.fl-photo-caption-below {
  text-overflow: initial;
  white-space: normal;
  text-align: left;
}
 
	
	
/* Posts Table Pro tables and document library items */

.posts-table-wrapper.bb-theme {
	margin-top: 0;
}

table.dataTable th {
	color: #043667;  
}

table.dataTable td {
	border-bottom: 1px solid #ccc;
	padding: 13px;
	
	a {
		font-weight: bold; 
	}
}

.posts-table-select-filters span.selection {
    padding-right: 15px;
    padding-left: 7px;
}
.dataTables_filter {
    padding-top: 7px;
	padding-bottom:30px;
}
.posts-table-below.posts-table-controls {
    padding-top: 20px;
}

/*Special Extreme Events Library doc table */
table#ptp_6de8375f1e93e8ef_1 {
	font-size: .85em;
}



#reports-table,
#document-library-table {
	font-size: .9em;
}

#document-library-table 	td.col-title,
#document-library-table td.col-publication_year {
	font-weight: bold; 
	}

.dlp-document-info-buttons a {
	background: #043667;
	color: #fff;
}



/* projects and extreme events single  */
.fl-post.projects.type-projects .fl-post-meta.fl-post-meta-top, .fl-post.extreme_events.type-extreme_events .fl-post-meta.fl-post-meta-top  {
	display: none;
}
	
	
/* projects sidebar */
}
article.research_activities .fl-post-meta.fl-post-meta-top {
  display: none;
}
aside#pods_widget_single-3 {
  background: rgba(224,224,224,0.38);
  font-size: 0.85em;
  padding: 10px;
}

/* Events Calendar Templates CSS */
/*
List Common Styles
*/

#ect-events-list-content a,
#ect-events-list-content a:hover {
    text-decoration: none !important;
}

#ect-events-list-content,
.ect-list-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 5px auto;
    padding: 0;
    max-width: 100%;
}

#ect-events-list-content h2.ect-events-page-title {
    margin: 0 auto 20px;
    width: 100%;
}

.ect-list-post {
    width: 100%;
    height: 100%;
    min-height: 200px;
    box-sizing: border-box;
    word-break: break-word;
    display: flex;
    margin: 15px auto;
    border: 1px solid #00000020;
    border-radius: 15px;
    padding: 5px;
    gap: 15px;
}

.ect-list-post-left {
    width: 30%;
    background-size: cover;
    position: relative;
    min-height: 200px;
    z-index: 9;
}

.ect-list-post-right {
    width: 70%;
    display: flex;
}

.ect-list-post-left:hover {
    -webkit-filter: brightness(95%) hue-rotate(2deg);
    filter: brightness(95%) hue-rotate(2deg);
}

.ect-list-img {
    height: 100%;
    width: 100%;
}

.ect-list-post.style-1 .ect-list-img,
.ect-list-post.style-1 .ect-list-date {
    min-height: 200px;
    border-radius: 7px;
    padding: 5px;
}

.ect-list-post a {
    box-shadow: none;
    text-decoration: none;
}

.ect-list-post-left .ect-list-date {
    -webkit-transition: width linear 0.5s;
    /* Safari */
    transition: width linear 0.5s;
    width: 35%;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(224, 232, 243, 0.96);
    height: 100%;
    color: #fff;
    padding: 8px;
    box-sizing: border-box;
    position: relative;
    top: 0;
    z-index: 2;
}

.ect-list-post:hover .ect-list-post-left .ect-list-date {
    width: 100%;
}

.ect-list-date .ect-date-area {
    text-align: center;
    line-height: 92%;
    font-size: 35px;
    font-family: inherit;
    padding-top: 14px;
    /* padding: 14px 0px; */
}

.ect-list-post.style-2 .ect-list-date .ect-date-area {
    text-align: left;
}

.ect-list-date .ect-date-area .ev-day {
    font-size: 1em;
    clear: both;
    display: inline-block;
    width: 100%;
}

.ect-list-date .ect-date-area .ev-mo {
    font-size: 0.55em;
    clear: both;
    display: inline-block;
    width: 100%;
}

.ect-list-date .ect-date-area .ev-yr {
    font-size: 0.5em;
    clear: both;
    display: inline-block;
    width: 100%;
    position: relative;
    /* top: -14px; */
}

.ect-list-date .ect-date-area .ev-time {
    font-size: 0.32em;
    clear: both;
    display: inline-block;
    width: 100%;
    line-height: 1.35em;
}

#ect-events-list-content .ect-share-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 11;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list {
    width: 45px;
    top: 0px;
    left: -50px;
    border: 1px solid #00000015;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 5px -3px #B5B5B5;
}

.ect-list-post.style-3 .ect-list-img {
    padding: 5px;
    border-radius: 7px;
}

.ect-list-post .ect-style3-desc .ect-event-content p {
    margin-bottom: 0px;
}

.ect-list-post .ect-share-wrapper:hover .ect-social-share-list {
    top: 0px;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list:before {
    display: none;
}

.ect-list-post .ect-share-wrapper .ect-social-share-list a {
    line-height: 35px;
}

#ect-events-list-content .ect-list-post .ect-share-wrapper i.ect-icon-share:before {
    background-color: #00000000;
}


/*right side*/

.ect-list-post-right-table {
    display: flex;
    height: 100%;
    width: 100%;
}

.ect-list-post-right .ect-list-description {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    justify-content: center;
    gap: 8px;
}

.ect-list-post a.ect-events-read-more {
    display: inline-block;
}

.ect-list-wrapper .ect-list-post-right .ect-list-venue {
    height: 100%;
    display: flex;
}

.ect-list-wrapper .style-3 .ect-list-post-right .ect-list-venue .ect-icon {
    width: auto;
}

.ect-list-wrapper .style-1 .ect-list-post-right .ect-list-venue {
    width: 30%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    border-radius: 7px;
    background-color: #00000015;
}

.ect-list-wrapper .style-2 .ect-list-post-right .ect-list-venue {
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
}

.ect-list-post h2.ect-list-title {
    font-size: 18px;
    font-family: inherit;
    margin: 0px;
    padding: 0;
}

.ect-list-post h2.ect-list-title a {
    text-decoration: none;
    box-shadow: none;
}

.ect-list-post h2.ect-list-title a:hover {
    filter: opacity(0.75);
    -webkit-filter: opacity(0.75);
}

.ect-list-post .ect-event-content,
.ect-list-post .ect-events-read-more,
.ect-list-post .ect-rate-area {
    font-size: 13px;
    font-family: inherit;
    padding: 0;
    margin: 0;
    display: flex;
    width: 100%;
    line-height: 1.6em;
    flex-direction: column;
}

.ect-list-description .ect-event-content p {
    padding: 0;
    margin: 0;
    display: inline-block;
    width: 100%;
    line-height: 23px;
}

a.ect-event-read-more {
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

#ect-events-list-content .ect-list-cost {
    position: relative;
}

#ect-events-list-content .ect-rate-area {
    display: inline-block;
}

.ect-venue-details {
    font-size: 13px;
    line-height: inherit;
    text-decoration: none;
    display: inline-block;
}

.ect-list-venue .ect-venue-details .tribe-address {
    width: 100%;
    display: inline-block;
}

.ect-venue-details .tribe-address span {
    display: inline-block;
}

.ect-venue-details .tribe-address .tribe-delimiter {
    margin-right: 3px;
}

.ect-venue-details .tribe-address .tribe-postal-code {
    margin: 0 3px;
}

.ect-list-venue .ect-google {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}

.ect-list-venue .ect-google a {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 1px 0 0 currentColor;
}

.ect-list-post .ect-list-venue .ect-rate-area {
    display: inline-block;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    font-size: 22px;
}

.ect-list-post .ect-icon::before {
    margin-left: 0px;
}


/*  Style-2 / Modern List*/

.modern-list-right-side {
    width: 30%;
    height: 100%;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
}

.modern-list-right-side .ect-list-date,
.modern-list-right-side .ect-list-date .ect-date-area {
    display: inline-block;
    width: 100%;
}

.ect-list-post.style-2 {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #00000020;
    padding: 10px;
    border-radius: 10px;
}

#ect-events-list-content .style-2 .ect-rate-area {
    width: 100%;
    margin: 0px;
    display: inline-block;
}

.ect-list-post.style-2 .modern-list-right-side {
    border-radius: 0px 10px 10px 0px;
}

.ect-list-post.style-2 .ect-list-img {
    border-radius: 10px 0px 0px 10px;
}

.ect-modern-time {
    text-align: center;
    font-size: 0.65em !Important;
    line-height: 1.25em;
}


/***      CSS for Classic List Style  ***/

.style-3 .ect-list-post-right .ect-list-description {
    width: 100%;
}

.style-3 i.ect-icon-location {
    vertical-align: top;
    font-size: 13px;
}

.ect-list-post.style-3 {
    min-height: auto;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
}

.ect-list-post.style-3 .ect-list-post-left {
    overflow: hidden;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date {
    width: 100%;
    opacity: 0.95;
    border-radius: 7px;
}

.ect-list-post.style-3 .ect-list-post-left:hover {
    border-radius: 7px;
}

#ect-events-list-content .style-3 .ect-rate-area {
    margin-top: 0px;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date .ect-date-area {
    width: calc(100% - 50px);
    min-height: calc(100% - 50px);
    border: 1px solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 7px;
    padding: 14px 0px;
}

.ect-list-post.style-3 .ect-clslist-event-details {
    box-shadow: unset;
    background: #ffffff00;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    position: relative;
    width: 180px;
}

.ect-list-post.style-3 .ect-list-post-right {
    background: #f4fcff00;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date:hover {
    background: #ff000000 !important;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-date:hover .ect-date-area {
    display: none;
}

.ect-list-post.style-3 .ect-list-post-left .ect-list-img:hover {
    transition-duration: 1s;
    transform: scale(1.5);
}


/*  Media Query */

@media only screen and (max-width: 790px) {
    .ect-list-post {
        margin-bottom: 35px;
        flex-direction: column;
    }
    .ect-list-wrapper .style-1 .ect-list-post-right .ect-list-venue {
        width: 100%;
    }
    .ect-list-post a.ect-events-read-more,
    .ect-list-post .ect-list-title,
    .ect-list-post .ect-clslist-time,
    .ect-list-post .ect-style3-desc .ect-event-content p,
    .ect-list-date .ect-date-area {
        text-align: center;
    }
    .ect-list-post-left .ect-list-date {
        width: 100%;
        top: inherit;
        bottom: 0;
    }
    .ect-list-date .ect-date-area .ev-day,
    .ect-list-date .ect-date-area .ev-mo,
    .ect-list-date .ect-date-area .ev-yr {
        clear: none;
        width: auto;
        height: auto;
        float: left;
        top: 0;
        margin-left: 5px;
    }
    .ect-list-post.style-2 .ect-list-date .ect-date-area .ev-day {
        font-size: 0.55em;
    }
    .ect-list-date .ect-date-area .ev-time {
        margin-left: 5px;
    }
    .ect-list-post.style-1 .ect-list-date .ect-date-area,
    .ect-list-post.style-1 .ect-list-date .ev-time {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .ect-list-post.style-2 .ect-list-date .ect-date-area .ev-time {
        text-align: center;
    }
    .modern-list-right-side .ect-list-date,
    .modern-list-right-side .ect-list-date .ect-date-area {
        display: flex;
        justify-content: center;
        padding-top: 0px;
        flex-wrap: wrap;
    }
    .ect-event-category ul.tribe_events_cat {
        justify-content: center;
    }
    #ect-events-list-content .ect-share-wrapper .ect-social-share-list:before {
        left: inherit;
        right: 6px;
    }
    .ect-list-post .ect-list-post-right .ect-list-description {
        border-right: 0;
    }
    .ect-list-img {
        min-height: 210px;
    }
    .ect-list-post-left,
    .ect-list-post-right,
    .ect-list-post-right-table,
    .ect-list-venue {
        display: block;
        width: 100%;
        overflow: hidden;
        height: auto;
        text-align: center;
    }
    /* .ect-list-post.style-3 .ect-list-venue {
        text-align: left;
    } */
    .ect-list-post.style-3 .ect-list-post-right-table,
    .ect-list-post.style-3 .ect-list-description,
    .ect-list-post.style-3 a.ect-events-read-more,
    .ect-list-post.style-3 .ect-list-venue {
        text-align: left;
        align-items: self-start;
    }
    .ect-list-post-right .ect-list-venue {
        width: 100%;
        overflow: hidden;
        height: auto;
    }
    .ect-list-post {
        padding: 30px auto;
    }
    .ect-list-post-right .ect-list-description,
    .modern-list-right-side {
        align-items: center;
        width: 100%;
    }
    .ect-list-description .ect-event-content {
        align-items: center;
    }
    .ect-modern-time {
        display: inline-block;
    }
    .ect-clslist-event-date,
    .ect-clslist-event-info,
    .ect-clslist-event-details,
    .ect-clslist-event-details a.tribe-events-read-more {
        display: inline-block;
        width: 100%;
        position: relative;
        padding: 10px;
    }
    .ect-list-post.style-3 .ect-clslist-event-details {
        position: absolute;
        right: 10px;
        top: 10px;
    }
    #ect-events-list-content .style-1 .ect-rate-area {
        float: left;
        margin-top: 0;
    }
    /* #ect-events-list-content .style-3 .ect-rate-area {
        margin-top: 10px;
        text-align: center;
    } */
    .ect-list-post.style-3 .ect-list-post-left .ect-list-date {
        min-height: 210px;
    }
    .ect-list-post.style-3 {
        position: relative;
    }
}

.ect-list-post-left span.ect-custom-schedule {
    display: flex;
    text-align: center;
    line-height: 92%;
    font-size: 38px;
    font-family: inherit;
    padding-top: 14px;
    align-items: center;
}

.ect-list-post.style-2 .ect-list-img,
.ect-list-post.style-2 .modern-list-right-side {
    border-radius: 10px;
}

.ect-list-post.style-2 .ect-list-description {
    border-bottom: none;
    gap: 8px;
}


/*** style 4*/

.style-4 .ect-list-schedule {
    background: white;
    border: 1px solid #C5C5C5;
    padding: 2px;
    position: absolute;
    width: 100px;
    right: 0;
    left: auto;
    bottom: 0;
}

.ect-list-schedule-wrap {
    align-items: center;
    border: 1px solid #C5C5C5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ect-list-schedule .ev-mo {
    color: #FA5A41;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    line-height: 0.9;
}

.ect-list-schedule .ev-day {
    font-size: 1.5rem;
    line-height: 1;
}

.ect-grid-image-style4 {
    width: 100%;
    position: relative;
}

.ect-list-schedule span {
    display: block;
    text-align: center;
}

#ect-events-list-content .ect-share-style-4 .ect-share-wrapper {
    right: unset;
    left: 11px;
}

#ect-events-list-content .style-4 .ect-rate-area {
    float: none;
}

.ect-list-post .ect-icon-clock:before,
.ect-list-post .ect-icon-location:before,
.ect-list-post .ect-icon-ticket:before {
    margin-left: 0px !important;
}
