@media all and (min-width:981px) {
.admin-bar #brx-header.brx-sticky, 
.admin-bar.brx-header-left #brx-header, 
.admin-bar.brx-header-right #brx-header {
    top:calc(var(--wp-admin--admin-bar--height) + var(--space-m));
}

header#brx-header {
   top:var(--space-m); 
  transition:top 0.3s linear;
}
.transparent-header .header {
  background:transparent;
}
/*.admin-bar header#brx-header {
      top:calc(var(--wp-admin--admin-bar--height) + var(--space-m)); <-- to delete
}*/ 
}
/*.header.brxe-section {
  padding-inline:calc(var(--gutter)*1.7);

}*/
/*Fluent*/
.ff-message-success {
    background: #E6EFF4;
    border-radius: var(--radius-l);
    text-align: center;
    color: #1D3F65;
}
/*End Fluent*/
/*events*/
section#tribe-events-pg-template {
    padding-top: var(--space-2xl);
    max-width: 1300px;
}/**/

/*List terms in card*/

/* ---- base ---- */
.term-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: capitalize;
    color: var(--body-txt);
}

/* ---- variante card ---- */
.term-list.pills > .term {
    --pill-bg:rgb(215, 228, 237);
    padding: .25em .75em;
    border-radius: 100px;
    background: var(--pill-bg, #f2f4f5);
    line-height: 1.4;
    font-size:var(--text-2xs);
    border:1px solid var(--pill-bg, #f2f4f5);
    
   
}
.term-list .term {
    background: var(--term-color);
}

/*exclude*/
li.term.term--opportunities-archive,
li.term.term--industry-events-archive, 
 li.term.term--marine-renewables-canada-event-archive, 
 li.term.term--news-articles-archive,
  li.term.term--news-events-archive,
   li.term.term--opportunities-archive
  {
    display: none;
}
.term-list.pills > .is-more {
     border-color:var(--body-txt) !important;
  background:transparent;
  text-transform:capitalize;
}

/* ---- variante template ---- */
.term-list.check-list {
       --check-size:1.7rem;
    --check-bg: #00BBB4;
    --check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.702 8.921 7.883 12.175 13.613 6.314' fill='none' stroke='%23fff' stroke-width='1.176'/%3E%3C/svg%3E");

    flex-direction: column;
    flex-wrap: nowrap;
    gap: .75rem;
}

.term-list.check-list > .term {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.term-list.check-list > .term::before {
    content: "";
    flex: 0 0 auto;
    inline-size: var(--check-size);
    block-size: var(--check-size);
    border-radius: 50%;
    background-color: var(--check-bg);
    background-image: var(--check-mark);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin-block-start: calc((1lh - var(--check-size)) / 2);
}

/* max height images*/
.max-500px {
    max-height:500px;
    object-fit: cover;
    & img {
          max-height:500px;
    object-fit: cover;
       
    }
}

/*make factsheets posts, image caption left align*/
.single-fact-sheet figcaption.wp-element-caption {
    text-align:left;
    text-wrap:pretty;
}

/*single resource download links*/
.mrc-downloads {
	margin: 0;
	padding: 0;
	list-style: none;
	& li {
		display: flex;
		align-items: center;
		gap: 10px;
        color: var(--primary);
	}
	& li + li { margin-block-start: 8px; }
	& li::before {
		content: "";
		flex: none;
		width: 13px;
		height: 13px;
		background-color: currentColor;
		-webkit-mask: var(--icon) no-repeat center / contain;
		mask: var(--icon) no-repeat center / contain;
	}
	& li {
		--icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2013%2013%22%3E%3Cpath%20d%3D%22M1.626%2012.796c-.529.273-1%20.187-1.322-.147-.369-.383-.382-.937-.066-1.386l2.99-4.235c.27-.384.166-.866-.083-1.22L.155%201.571C-.142%201.147.026.561.349.267c.377-.342.824-.339%201.316-.085l10.429%205.366c.368.19.572.582.57.935-.003.419-.247.756-.66.969z%22%2F%3E%3C%2Fsvg%3E');
        &:hover {
            
    color:var(--secondary);

        }    
    }
	& a {
		
		font-weight: 700;
		text-transform: capitalize;
		&:hover 		
			.label { text-decoration: underline; }
		
	}
	& .note {
		font-weight: 400;
		font-size: var(--text-2xs);
		color: var(--secondary);
		text-transform: none;
	}
}


/*facet dropwdown styles*/
.wpgb-select-dropdown.wpgb-style-1  {
    
    background: #E6EFF4;
line-height: 1.2em;
    top: calc(100% + var(--space-xs));
    border-radius: var(--radius-l);
    padding: var(--space-s) 0;
    box-shadow:none;

}


.wpgb-select-item {
    color: var(--body-txt);
    font-size: var(--text-xs) !important;
    letter-spacing: 0px;
    line-height: 1.2 !important;
    text-transform: capitalize;
}
.wpgb-select-dropdown ul li.wpgb-focused {
background: var(--secondary-l-2) !important;
margin-right:20px;
    border-radius: 0px 100vw 100vw 0px;
    font-weight: bold;
}

/*Mobile */

@media all and (max-width:767px) {
    .pmpro_actions_nav {
        text-align:left;
    }
#pmpro_user_fields .pmpro_form_field-password:has(.pmpro_form_field-password-toggle),
	.pmpro_section #loginform .login-password {
		align-items: center;
		display: grid;
		grid-template-areas:
		"label"
        "input"
        "toggle" !important;
            
    }
    .pmpro_form_field-password-toggle {
        justify-self:start !important;
    }
    .pmpro_card_content label {
        font-size:14px !important;
    }
}


/*Events*/
.single-tribe_events {
    --tec-color-link-accent:#1E5081;
    --tec-color-text-event-title:#1E5081;
    --tec-color-accent-primary:var(--secondary);
    --tec-color-button-primary:var(--secondary);;
    --tec-font-family-sans-serif:open-sans;
    --tec-color-text-primary:#12304D;
    
    & .tribe-events-event-meta {
        font-size:16px;
        line-height:1.5em;
        }
    ul.tribe-events-sub-nav li {
        text-wrap: balance;
        }
    h1.tribe-events-single-event-title {
        font-size:var(--h1) !important;
        line-height:var(--line-height-heading) !important;
    }        

}

@media all and (max-width:981px) {
#tribe-events-footer {
& ul.tribe-events-sub-nav {
    display: flex;
    flex-direction: column;
    gap:30px;
    & li {
        width:100% !important;
        & a {
            background:#E6EFF4;
           color:#184067;
        }
    }
}
    &:before,
    &:after {
        display:none;
    }
}
}
/*pmprpo overrides*/
.page-id-4911 article#brx-content {
    padding-top: 100px;
}


/*select 2 fields*/
.pmpro_form_field.pmpro_form_field-select {
.select2-container--default .select2-selection--single {
    border:none;
}
    .select2-selection__rendered {
        font-size:16px;
    }
span.select2-selection__arrow {
    height: 100%;
    right: 20px;
}
span.select2.select2-container {
    padding: 12px 20px;    background: #E6EFF4 !important;border-radius: 100vw !important;
}

span.select2-selection.select2-selection--single {
    background: transparent !important;
}
}
.select2-dropdown.select2-dropdown--below {
span.select2-results li {
    font-size: 18px;
    line-height: 1.3;
}

input.select2-search__field {
    font-size: 18px;
    line-height: 1.5em;
}



}

/*pmpro no access*/
.pmpro-no-access {
    margin: auto;
    min-height: 70dvh;
    padding: 90px 20px 190px 20px;
    width:var(--content-width);
    max-width: 100%;
}