/*
Theme Name: CSWDA Custom
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

h1, h2, h3{text-wrap: pretty;}
.read-more::after {
    content: ' →';
    color: #4a86ad;
}
.read-more{font-weight:700!important;}

header .nav-cta a{margin-left:0!important; color:#FFFFFF!important;}
header .nav-cta, header .nav-cta .elementor-item-active{background: #F4A261; color: white!important; border-radius: 4px; padding: 8px 16px!important;}

.anchor-offset {
  display: block;
  position: relative;
  top: -120px; /* Negative margin to pull the anchor position higher */
  visibility: hidden;
}

.elementor-widget-wp-widget-categories h5{display:none;}

.elementor-widget-wp-widget-categories ul {
    list-style-type: none;
    padding-left: 0;
}

.elementor-widget-wp-widget-categories ul li.cat-item{
    display: flex;
    justify-content: space-between;
    padding: 4px 0 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #c2c2c2;
}


.elementor-widget-wp-widget-categories ul li.cat-item a {
    font-size: 14px;
    color: #000;
    font-weight: 600;
}
.recent .elementor-icon-list-icon{display:none!important;}
.recent .elementor-widget .elementor-icon-list-icon+.elementor-icon-list-text{padding-left:0!important;}

.pagination .elementor-pagination{margin-top:20px;}
.pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #c2c2c2;
	border-radius:5px;
	
}
.page-numbers.current{background-color:#4a86ad;color:#FFFFFF!important;}

a.page-numbers:hover{background-color:#e6f2f8; border-color:#4a86ad; color:#4a86ad!important;}


.hover-card{transition: all .25s;position:relative;top:0;}
.hover-card:hover{box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);top:-4px;}
/* /////Events list styling ///*/

.ectbe-modal-footer button{
    background-color: #3A7399;
    border: 1px solid #3A7399;
    border-radius: 5px;
    color: #FFFFFF;

}
.ectbe-modal-footer button:hover{
    background-color: #2C3E50;
}

.event-loop .e-loop-item .elementor-element.elementor-element-2ae5e09:not(.elementor-motion-effects-element-type-background){background-size:cover!important; background-repeat:no-repeat;}

#ect-minimal-list-wrp .ect-list-posts.style-3.ect-simple-event .ect-left-wrapper {
	background: #3A7399!important;
    width: 8%;
    border-radius: 8px;
}
#ect-minimal-list-wrp .ect-list-posts.style-3.ect-simple-event {
    border-left: none!important;
}
.ect-list-posts.style-3{border-top:none!important;     padding-bottom: 15px!important;}
.ect-event-datetimes span.ev-mo{font-family:'DM Sans', sans-serif; font-size:12px!important;}
.ect-list-posts.style-1 span.ev-day{font-family:'Lora', serif!important; font-weight:800!important; font-size:30px!important;}
.ectbe-minimal-list-wrapper .ectbe-date-area {
    padding: 10px 0 0 0;
    justify-content: center;
    width: 105px;
    height: 85px !important;
    background: #4A86AD;
	border-radius:8px;
}
.ectbe-minimal-list-wrapper #ectbe-date {
	width: 105px!important;
	border-radius: 8px!important;
	background: #4A86AD!important;
	height: 84px!important;
}
.ect-list-posts.style-2 .ect-events-title, .ect-list-posts.style-3 .ect-events-title, .ect-list-posts.style-1 .ect-events-title, #ect-minimal-list-wrp .style-1 .ect-events-title a  {line-height:1.2em!important; font-size:16px!important;}

#ect-minimal-list-wrp .style-1 .ect-events-title a{font-family: 'Lora', serif!important;}

#ect-minimal-list-wrp .style-1 span.ect-minimal-list-time{font-family:'DM Sans', sans-serif!important; font-weight:600!important; font-size:13px;}
#ect-minimal-list-wrp .ect-list-posts.style-1.ect-simple-event
 {
	 border:none!important;
    border-bottom: 1px solid #e5e5e5!important;
}
.sice-cal .ect-list-posts.style-1.ect-simple-event .ect-event-date-tag {
    color: #ffffff!important;
	width: 24%;
    margin-right: 15px; 
}
.ect-event-datetimes {
    height: 70px!important;
    justify-content: center!important;
}
.ect-event-date-tag {
    width: 8%!important;
    height: 70px;
    border-radius: 8px;
    background: #4A86AD;
	color: #ffffff!important;
	 margin-right: 15px; 
}


/*// Events Calendar Page ////*/
.clear-btn .tec-events-elementor-event-widget__export-dropdown .tec-events-elementor-event-widget__export-dropdown-button{border:1px solid #ffffff!important; color:#FFFFFF!important;    margin-top: 4px;}
.clear-btn .eicon{display:none;}
.clear-btn .tec-events-elementor-event-widget__export-dropdown .tec-events-elementor-event-widget__export-dropdown-button:hover {background-color:#333333!important;}
.clear-btn .tec-events-elementor-event-widget__export-dropdown-list li{
    padding: 0;
    margin: 0;
	padding-bottom:5px!important;}


/*//// Calendar view ///*/
 table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th, table tbody tr:hover>td, table tbody tr:hover>th{background-color:#ffffff;}
.fc .fc-daygrid-day.fc-day-today{background-color:}

/*// Categories  List /////*/
 span.ect-event-category.ect-event-category-bmt-waterfront {
    position: absolute;
    left: 85%;
    top: 35px;
    padding: 5px 10px;
/*     background: #e5e5e5; */
    border-radius: 5px;

}

/*/// CATEGORY ARCHIVE /////*/
  .cat-archive article.elementor-grid-item {
    border: 1px solid #c5c5c5;
    border-radius: 10px;
}
.cat-archive article.elementor-grid-item .elementor-post__text{
	    padding: 20px;

}
/* /// Category Colors. ////*/
.elementor-heading-title span{display:inline-block; margin-bottom:20px;}

.category-bmt-waterfront .elementor-heading-title span, .ect-event-category-bmt-waterfront{color:#FFFFFF; background-color:#3A7399; padding:5px 10px; border-radius:5px; font-weight:700;}

.category-bmt-waterfront .elementor-post__badge{background-color:#3A7399; }

.category-city-planning .elementor-heading-title span, .category-city-planning .elementor-post__badge{color:#FFFFFF; background-color:#e8894a; padding:5px 10px; border-radius:5px; font-weight:700;}

.category-community .elementor-heading-title span, .category-community .elementor-post__badge{color:#FFFFFF; background-color:#755be5; padding:5px 10px; border-radius:5px; font-weight:700;}

.category-parks-open-space .elementor-heading-title span, .category-parks-open-space .elementor-post__badge{color:#FFFFFF; background-color:#2D6A4F; padding:5px 10px; border-radius:5px; font-weight:700;}
.tribe-locality, .tribe-delimiter, .tribe-events-abbr{display:none;}
/* .hide-street .tec-events-elementor-event-widget__venue-name{top: 12px; position: relative;} */
    
/*/// NEWS PAGE. ////*/
.bmt-update .elementor-icon-list-icon{display:none!important;}
.bmt-update .elementor-icon-list-text{padding-left:0!important;}

/*////. EVENTS PAGE. /////*/
#tribe-events-pg-template{padding:0; max-width:100%;}
.tribe-events-calendar-list .tec-events-calendar-list__event-categories .tec-events-calendar-list__category .tec-events-calendar-list__category-icon {width:auto!important;}

/*//. SID BAR OVERRIDES ////*/
.tec-events-elementor-event-widget__venue{display:inline;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container{margin:0!important; max-width:100%!important;    width: 100% !important;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container{padding:0!important;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container{border:none!important; margin:0!important; grid-template-columns: 1fr!important;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-details>*{margin:0!important;}
.hide-street .tribe-street-address, .hide-street .tec-events-elementor-event-widget__venue-address{display:none;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-details{padding:0!important;}

/*///. AD TO CALENDAR OVERRIDE ///*/

.hide-calendar .tec-events-elementor-event-widget__export-dropdown .tec-events-elementor-event-widget__export-dropdown-list{border:none!important; margin-top:0!important; position:relative!important;}
.hide-calendar .tec-events-elementor-event-widget__export-dropdown-button{display:none;}
.hide-calendar .tec-events-elementor-event-widget__export-dropdown-content{display:block!important;}
.hide-calendar  a.tec-events-elementor-event-widget__export-dropdown-link::before{  content: "\f133"; /* Unicode for the 'user' icon */
  font-family: "Font Awesome 6 Free";
	margin-right: 15px; color:#4A86AD;}
a.tec-events-elementor-event-widget__export-dropdown-link{font-family:"DM Sans", sans-serif!important; font-weight:500!important; font-size:16px!important;}
.tec-events-elementor-event-widget__export-dropdown-list li{padding-bottom:15px!important;}

/*/// MAP ///*/
 .wide-event .tec-events-elementor-event-widget__venue-map{width:100%!important;}
.tec-events-elementor-event-widget__venue .tec-events-elementor-event-widget__venue-container{width:100%; display:block!important;}
.widde-event .tec-events-elementor-event-widget__venue{display:block!important;}


/*/// CALENDAR ///*/
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime{justify-content:center;}
.tribe-events-widget .tribe-events-widget-events-list__event-date-tag {margin-right: 10px;
    border-radius: 5px; background-color:#3A7399; width:15%;}
.tribe-events-widget-events-list__event-date-tag-month, .tribe-events-widget-events-list__event-date-tag-daynum .tribe-common-h2 .tribe-common-h4--min-medium{color:#FFFFFF;}
.tribe-events-widget-events-list__event-date-tag-month, .tribe-events-widget-events-list__event-date-tag-daynum {color:#FFFFFF!important; font-family:"Lora", serif!important; font-weight:600;}

/*/// KIT Form ////*/
 .formkit-form [data-style="clean"]{padding:0!important; padding-top:0!important;}
.formkit-submit{background-color:#F4A261!important;}
.formkit-form[data-uid="e9ef3e803f"] .formkit-input {
	background: rgba(255, 255, 255, .15)!important;color:rgba(255, 255, 255, .65)!important; border-color:rgba(255, 255, 255, .45)!important;}

/* ── ECT Minimal List ── */
.ect-list-posts.style-1 {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e0ddd9;
}

.ect-minimal-list-wrapper .ect-list-posts:first-child {
    border-top: 1px solid #e0ddd9;
}

/* Time and category share the same row, category pushed right.
   flex-wrap means it drops to a new line in narrow sidebars
   instead of squishing anything. */
.ect-event-datetime {
    display: flex;
    justify-content: space-between;;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.ect-event-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    min-width: max-content;
}

.sidebar-cal .ect-event-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    min-width: max-content;
	display:block!important;
}

.sidebar-cal .ect-event-date-tag {
    width: 28%!important;
}
/* Category colors */
.ect-event-category.cat-bmt-waterfront     { background: #e6f2f8; color: #4A86AD; }
.ect-event-category.cat-meeting            { background: #eeebf7; color: #6b52a0; }
.ect-event-category.cat-community         { background: #ede9fb; color: #755be5; }
.ect-event-category.cat-parks-neighborhood { background: #eaf2ee; color: #2d6a4f; }
.ect-event-category.cat-arts-culture      { background: #f9e9e9; color: #b64141; }
.ect-event-category.cat-city-planning     { background: #fdf0e5; color: #c4682c; }

/* ////// RESPONSIVE. //////*/
@media (max-width:600px){
	.ect-list-posts.style-1.ect-simple-event .ect-event-date-tag{width:20%!important; margin-right: 10px;}
	
	 span.ect-event-category.ect-event-category-bmt-waterfront {
		left: 63%;
    	top: 67px;
	}
	#ect-minimal-list-wrp .ect-list-posts.style-1.ect-simple-event{padding:0 0 15px 0;}
	.ect-event-category{display:none;}
}
