/*
Theme Name: Native SBA
Theme URI: https://vexingmedia.com
Version: 1.0
Description: Website theme designed by Vexing Media for Native SBA
Author: Vexing Media
Author URI: https://vexingmedia.com
template: bb-theme
*/

/***** Vestigial Styles *****/

.button, .button-container a {
    display:inline-block;
    position:relative;
    padding:.5rem 2rem;
    margin-right:.5rem;
    margin-bottom:1rem;
    font-size: 1.4rem;
    font-weight: 500;
    border:.15rem solid #032f50;
    background-color:#137ebe;
    color:#fff;
    border-radius: .5rem;
    text-align: center;
    text-decoration: none;
}

.workshop-item .button, .workshop-item .button-container a {
    text-decoration: none !important;
}

.button:hover, .button-container a:hover {
    text-decoration: underline;
    background-color:#fff;
    color:#000;
    border-color:#032f50;
    transition: .2s;
}

.button.red{
    background-color:#730202;
    color:#fff;
    border-color:#fff;
}

.button.yellow {
    background-color:#f1cc35;
    color:#032f50;
    border-color:#000;
    cursor: pointer;
}

.button.yellow:hover {
    background-color:#fff;
    border-color:#032f50;
    text-decoration: underline;
    cursor: pointer;
}

.button.small{
    font-size:1.2rem;
    padding:.25rem 1rem;
}

h2.heading, h1.heading{
    color:#fff;
    background-color:#137ebe;
    text-align: center;
    padding:1.2rem;
    font-size:2rem;
    margin:0;
    position:relative;
    z-index: 10;
}

.f-container, .f-col, .f-row{
    position:relative;
    display:flex;
}

.f-col{
    flex-direction: column;
}

.workshop-list.empowerment-workshop .f-container{
    display: flex;
    justify-content: left;
    position: relative;
    flex-direction:row;
    flex-wrap: wrap;
    align-items: normal;
    max-width:1140px;
    margin:auto;
    padding:0 15px;
}

/**/

article.workshop-item {
    
    position: relative;
    z-index: 100;
    background-color: #fff;
    border: .15rem solid #137ebe;
    border-radius: .3rem;
    margin: 20px 10px 20px 0;
}

.workshop-item-details{
    display: flex;
    flex-direction: row;
    padding: 1rem;
}

article.workshop-item .sponsorLogo{
    width:170px;
    height: auto;
    display: block;
    margin: auto;
}

article.workshop-item h4{
    text-align: left;
}

.empowerment-workshop article.workshop-item{
    width: 45%;
}

.train-the-trainer article.workshop-item {
    width: 100%;
}

.empowerment-workshop article.workshop-item .date-icon-container,
.train-the-trainer article.workshop-item .date-icon-container {
    height: 100%;
    padding:.7rem;
    border-radius: .3rem;
    display:flex;
    align-items: center;
}

.empowerment-workshop article.workshop-item .date-icon-container.virtual {
    background-color:#387db9;
}

.empowerment-workshop article.workshop-item .date-icon-container.in-person {
    background-color:#032f50;
}

.train-the-trainer article.workshop-item .date-icon-container {
    background-color:#9bcaf2;
}

.empowerment-workshop article.workshop-item .date-icon-container a,
.train-the-trainer article.workshop-item .date-icon-container a {
    display: block;
    width:70px;
    height:70px;
    border-radius:50%;
    border:.15rem solid #fff;
    text-align: center;
    line-height: 1.5rem;
    font-size:1.5rem;
    padding-top:.3rem;
    text-decoration: none !important;
}

.empowerment-workshop article.workshop-item .date-icon-container.virtual a {
    background-color:#102f4d;
    color:#fff;
}

.empowerment-workshop article.workshop-item .date-icon-container.in-person a {
    background-color:#f1cc35;
    color:#032f50;
}

.train-the-trainer article.workshop-item .date-icon-container a {
    background-color:#102f4d;
    color:#fff;
}

.empowerment-workshop article.workshop-item .date-icon-container a .month,
.train-the-trainer article.workshop-item .date-icon-container a .month {
    display: block;
    font-weight: bold;
}

.empowerment-workshop article.workshop-item .date-icon-container a .day,
.train-the-trainer article.workshop-item .date-icon-container a .day {
    display: block;
    font-weight: 700;
    font-size:2rem;
}

.empowerment-workshop article.workshop-item .details,
.train-the-trainer article.workshop-item .details {
    padding:0 1rem;
}

.empowerment-workshop article.workshop-item h3,
.train-the-trainer article.workshop-item h3 {
    padding:0;
    margin: 0 0 .5rem 0;
}

.empowerment-workshop article.workshop-item h3 a {
    color:#137ebe;
}

.train-the-trainer article.workshop-item h3 a {
    color:#730202;
    font-weight: 600;
}

.train-the-trainer article.workshop-item h3 .workshop-heading .date {
    color:#102f4d;
}

.empowerment-workshop article.workshop-item a.button,
.train-the-trainer article.workshop-item a.button {
    color:#fff;
    padding:.5rem 1.5rem;
    border-radius: .3rem;
}

.empowerment-workshop article.workshop-item a.button {
    border:.15rem solid #032f50;
    background-color:#117cbc;
}

.train-the-trainer article.workshop-item a.button {
    border:0;
    background-color:#730202;
    font-weight: 600;
}

.empowerment-workshop article.workshop-item .button.yellow {
    border-color:#000;
}

.empowerment-workshop article.workshop-item {
    border: 3px solid #032f50;
    width: 48%;
    background-color: #e7f1f7;
}

.train-the-trainer article.workshop-item {
    border: 3px solid #387db9;
    width: 100%;
    background-color: #ebebeb;
}

.empowerment-workshop article.workshop-item .button,
.train-the-trainer article.workshop-item .button {
    margin-right:1rem;
    margin-bottom:.5rem;
}

.fl-builder-content .train-the-trainer h4{
    color:#102f4d;
}

.event_type {
    width: 100.25%;
    display: block;
    position: relative;
    color: #fff;
    top: 0;
    left: -1px;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-align: center;
}

.empowerment-workshop .event_type.virtual {
    background: #032f50;
}

.empowerment-workshop .event_type.in-person {
    background: #f1cc35;
	color: #032f50;
}

.train-the-trainer .event_type {
    background: #387db9;
}

/**/

.workshop .page-header, .training .page-header{
    height:650px;
    margin-bottom:0;
}

.workshop-item.postponed .date{
    text-decoration: line-through;
}

.workshop.postponed .date{
    text-decoration: line-through;
}

.workshop-outreach-container{
    padding:1rem;
    background-color:#e7f1f7;
    border-radius: 5px;
    margin:.5rem;
}

.workshop #page-title, .training #page-title{
    position: absolute;
    margin-bottom: 0;
}

.workshop .workshop-description, .training .workshop-description{
    padding:2rem 0;
    background-color: #e7f2f8;
    margin-bottom:1rem;
}

.training .workshop-description{
    background-color:#fdf0d6;
}

.workshop .workshop-description .button, .training .workshop-description .button{
    display: block;
    width:95%;
    margin:1rem auto;
    text-align: center;
    border-color: #fff;
    font-size:1.2rem;
    font-weight: 500;
}

.workshop-registration .page-header{
    margin-bottom:1rem;
}

#content.workshop{
    padding:0 0 2rem 0;
}

/** resources **/
article.resource-item {
	display: flex;
	position: relative;
	z-index: 100;
	background-color: #ebebeb;
	border: .15rem solid #032f50;
	border-radius: .3rem;
    flex-direction: row;
    width: 48%;
	padding: 1rem;
	margin: 0 1rem 1rem 0;
}

article.resource-item .date-icon-container{
    background-color:#032f50;
    height: 100%;
    padding:.7rem;
    border-radius: .3rem;
    display:flex;
    align-items: center;
}

article.resource-item .date-icon-container a{
    display: block;
    width:70px;
    border-radius:50%;
    background-color:#032f50;
    color:#fff;
    text-align: center;
    line-height: 1.5rem;
    font-size:1.5rem;
    text-decoration: none;
    font-size:2.5rem;
}

article.resource-item .date-icon-container a .month{
    display: block;
}

article.resource-item .date-icon-container a .day{
    display: block;
    font-weight: 700;
    font-size:2rem;
}

article.resource-item .date-icon-container a span{
    display:block;
    margin-bottom:.2rem;
    font-size:.8rem;
}

article.resource-item .details{
    padding:0 1rem;
}

article.resource-item h3{
    color:#137ebe;
    padding:0;
    margin: 0 0 .5rem 0;
    font-size:1.4rem;
}

article.resource-item button{
    border:.15rem solid #032f50;
    background-color:#137ebe;
    color:#fff;
    padding:.3rem 1.5rem;
    border-radius: .3rem;
}

article.resource-item .button.yellow{
    border-color:#000;
}

article.resource-item .button{
    margin-right:1rem;
    margin-bottom:.5rem;
}

.agenda-table.table-striped tbody tr:nth-of-type(2n+1){
    background-color: #e7f1f7;
}

.agenda-table thead tr{
    background-color: #f5b633;
}

.agenda-table.table-bordered td, .agenda-table.table-bordered th{
    border:1px solid #f5b633;
}

.agenda-table thead th{
    font-size:1.5rem;
    font-weight:500;
}

.postponed{
    color:#730202 !important;
    font-weight: bold;
}

.date.postponed{
    text-decoration: line-through;
    color:#102f4d !important;
}

@media only screen and (max-width: 1200px) {
    article.workshop-item button {
        padding: .3rem 1rem;
    }

    article.workshop-item .details {
        padding: 0 .5rem;
    }

    article.workshop-item {
        margin: 1rem .5rem;
    }
}

@media only screen and (max-width: 992px) {
    .workshop-list.empowerment-workshop .f-container{
        display:block;
        width:100%;
        padding-top:2rem;
    }

    article.workshop-item{
        width:70% !important;
        margin:0 auto 1rem auto;
    }
    
    article.workshop-item .details{
        padding:1rem;
        width:100%;
    }
    
    article.workshop-item h3{
        padding:0;
        margin: 0 0 .5rem 0;
    }
    
    article.workshop-item button{
        padding:.3rem 1.5rem;
        width:45%;
    }
}

@media only screen and (max-width: 768px) {
    article.workshop-item .button{
        display: block;
        width:90%;
        margin:0 auto 1rem auto;
    }
}

@media only screen and (max-width: 576px) {
    article.workshop-item button{
        padding:.3rem 1.5rem;
        width:100%;
        margin-bottom:1rem;
    }   
    article.workshop-item .date-icon-container{
        display: none;
    }

    .empowerment-workshop article.workshop-item .date-icon-container a{
        margin:auto;
    }

    article.workshop-item{
        width:100% !important;
    }

    .workshop-item-details{
        display:block;
    }
}


/***** New Styles *****/

/*** Header ***/

.header-nav .fl-html {
	display:  flex;
	justify-content: center;
	align-items: center;
}

.header-nav .nav-logo img {
	width: 112px;
	margin: 5px;
}

@media screen and (min-width: 993px) {
	body.home .header-nav {
		background: linear-gradient(90deg, rgba(231,241,247,1) 0%, rgba(231,241,247,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
	}
}

@media screen and (max-width: 992px) {
	body.home .header-mobile .fl-row-content-wrap {
		background: #e7f1f7;
	}
}

body.home .nav-logo {
	display: none;
}

.header-nav .nav-top-primary {
	background: #e7f1f7;
	clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
	padding: 20px;
}

.header-nav #menu-top-menu,
.header-nav #menu-top-sub-menu {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.header-nav #menu-top-menu li,
.header-nav #menu-top-sub-menu li {
	display: inline;
	padding: 0 5px 0 0;
	margin: 0;
	border-right: 1px solid #043456;
}

.header-nav #menu-top-menu li:last-child,
.header-nav #menu-top-sub-menu li:last-child {
	border: 0;
}

.header-nav #menu-top-menu li a,
.header-nav #menu-top-sub-menu li a {
	text-transform: uppercase;
	font-size: 1.2em;
}

@media screen and (max-width: 1200px) {
	.header-nav #menu-top-menu li a,
	.header-nav #menu-top-sub-menu li a {
		text-transform: none;
		font-size: 1.1em;
	}
}

.header-nav .nav-icons {
	margin: 0 10px 0 0;
}

.header-nav .nav-icons .fl-icon-group {
	display: flex;
	align-items: center;
}

.header-nav .nav-icons .fl-icon {
	display: flex;
}

.header-nav .nav-icons .fl-icon a {
	background-color: #043456;
	color: #fff;
	height: 35px;
	width: 35px;
	text-align: center;
	border-radius: 50%;
	font-size: 1.2rem;
	margin: auto 0 auto .4rem;
	border-width: .2rem;
	border-color: #043456;
	position: relative;
}

.header-nav .nav-icons .fl-icon a:hover {
	border-width: .15rem;
	border-color: #032f50;
	color: #043456;
	background-color: #fff;
	border-style: solid;
	transition: .2s;
}

.header-nav .nav-icons .fl-icon a i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.header-nav .nav-hashtag a {
	color: #117cbc;
}

ul#menu-mobile-main-menu {
	left: 0px;
	right: 0px;
}

.header-mobile .header-nav .nav-hashtag a {
	font-size: 2.2em;
}

/*** Footer ***/

#menu-footer-menu li {
	margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
	#menu-footer-menu li {
		border: 0;
	}
	
	#menu-footer-menu li a {
		text-decoration: underline;
	}
}

/* Underline Links on Hover */
footer a:hover,
#menu-footer-menu-1 a:hover {
	text-decoration: underline;
}

/*** Home Page ***/

.home-masthead {
	overflow: hidden;
}

.home-masthead .col-left,
.home-masthead .col-right {
	position: relative;
}

.home-masthead .col-left::before {
	content: "";
	position: absolute;
	height: 50%;
	width: 100%;
	background: linear-gradient(
		90deg, rgba(2,0,36,0) 0%, rgba(255,233,143,.8) 72%);
	bottom: 0;
	right: -10%;
	z-index: 0;
}

#home-res-2022-cta .fl-heading-text {
	display: inline-block;
	background: #e9c64b;
	padding: 1rem;
	text-align: center;
	border-radius: 10%;
}

@media screen and (max-width: 768px) {
	.home-masthead .col-left::before {
		height: 55%;
	}
	
	.home-masthead .col-right {
		background: #043456;
		max-width: 100%;
	}
}

@media screen and (min-width: 769px) {
	.home-masthead {
		background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 60%, rgba(4,52,86,1) 60%, rgba(4,52,86,1) 100%);
	}
	
	.home-masthead .col-right::before {
		content: "";
		position: absolute;
		left: 0;
		top: -50%;
		height: 200%;
		width: 100%;
		background-color: #043456;
		border-radius: 50% 0 0 50%;
		z-index: 0;
		box-shadow: -10px 10px 5px rgb(0 0 0 / 10%);
	}
}

.home-masthead .col-right .fl-col-group .fl-col {
	align-self: flex-start;
}

.home-masthead .fl-col-content {
	position: relative;
	z-index: 10;
}

@media screen and (min-width: 993px) {
	#home-anchor .col-left::before {
		content: "";
    background: #032f50;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    z-index: 1;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
	}

	#home-anchor .col-left .fl-col-content {
		position: relative;
		z-index: 10;
	}
}

@media screen and (max-width: 992px) {
	#home-anchor .col-left {
		background: #fff;
	}
}

.photo-border .fl-slide {
	border: 5px solid #fff;
}

/*** Interior Pages ***/

/* Events */

#event-header h2 {
	color: #fff;
}

#event-header h2 small {
	font-size: 80%;
}

/* Trainer Page */

#trainer-head_row .fl-row-content-wrap:before {
	content: '';
	height: 100%;
	width: 50%;
	position: absolute;
	left: 0;
	background: #102f4d url(https://nativesba.sisterskyinc.com/wp-content/uploads/2021/10/train-the-trainers-bg.jpg) no-repeat;
	background-size: cover;
	clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

/* Resource Items */

.resource-item i {
	margin-right: 3vw;
	font-size: 8em;
	color: #032F50;
}

.resource-item a,
.resource-item h3 a {
	color: #0070f4;
	text-decoration: underline !important;
}

.resource-item a:hover,
.resource-item h3 a:hover {
	color: #0056b3;
}

.resource-list .fl-post-feed-post {
	border-bottom: 0;
}

/* Resource Items New */
.resource-list-new .resource-item {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 20px 10px;
}

.resource-list-new .resource-logo {
	text-align: center;
	margin-bottom: 10px;
}

.resource-list-new .resource-logo img {
	max-height: 150px;
	width: auto;
}

.resource-list-new .resource-content {
	flex: 1 0 auto;
}

.resource-list-new .resource-meta {
	font-style: italic;
}

.resource-list-new .resource-link {
	text-align: center;
	margin: 10px 0;
}

.resource-list-new .resource-link a {
	background: #f1cc35;
	color: #032f50;
	text-decoration: none !important;
	padding: 10px 20px;
	border-radius: 8px;
	border: 3px solid #032f50;
	font-size: 1.1em;
}

.resource-list-new .resource-link a:hover {
	background: #fff;
	text-decoration: none !important;
}

/* Community Navigators */

.hub-link-header {
	font-weight: bold;
}

.hub-link-header div {
	padding: 10px 0;
	text-align: center;
}

.hub-item {
	border-style: solid;
	border-color: #ccc;
	border-width: 0 1px 1px 1px;
	margin-bottom: 0 !important;
}

.hub-item:first-child {
	border-top: 1px solid #ccc;
}

.hub-item:last-child {
	border-bottom: 1px solid #ccc;
}

.hub-item .row div {
	padding: 10px 25px;
	border-right: 1px solid #ccc;
}

.col-state {
	text-align: center;
}

.hub-item .row .col-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

.col-link a {
	font-size: 1.2em;
}

.hub-item img {
	max-width: 150px !important;
	margin: 0 !important;
	float: none !important;
}

@media screen and (max-width: 768px) {
	.hub-item .row > div {
		width: 50%;
	}
	
	.col-state,
	.col-city {
		font-weight: bold;
		font-size: 1.1em;
	}
	
	.hub-item .row > div.col-city {
		order: 1;
		border-right: 0;
		text-align: right;
		padding-right: 0 !important;
	}
	
	.hub-item .row > div.col-city::after {
		content: ',';
	}
	
	.hub-item .row > div.col-state {
		order: 2;
		text-align: left;
		padding-left: 0 !important;
		margin-left: 5px;
	}
	
	.hub-item .row > div.col-link {
		width: 100%;
		order: 3;
		text-align: center;
	}
}

/* CDFIs */

.cdfi-filter {
	margin-bottom: 30px;
}

.cdfi-filter select {
	margin-right: 10px;
	font-size: 1.2em;
}

.fl-page .cdfi-filter input[type="submit"] {
	font-size: 1.1em;
}

.cdfi-filter-clear {
	margin-left: 10px;
	font-size: 0.9em;
}

.cdfi-item {
	margin: 20px 0 40px;
}

.cdfi-csz {
	margin-bottom: 10px;
}

/* Team Members */

.team-member-item {
	border-bottom: 0;
}

.team-member-item img{
	border: 2px solid #032f50;
}

.team-member-item h2 a {
	color: #007bff;
}

.team-member-item h2 a:hover {
	color: #0056b3;
}

/*** Sidebar ***/

/*** MISC ***/

.fl-screen-reader-text {
	color: #fff;
}

.card-text h5 {
	font-size: 20px;
	font-weight: bold;
}

@media screen and (min-width: 993px) {
	.img-rotated img {
		transform: rotate(
			-10deg);
		-ms-transform: rotate(-25deg);
		-moz-transform: rotate(-10deg);
		-webkit-transform: rotate(
			-10deg);
		-o-transform: rotate(-25deg);
		width: 90%;
		box-shadow: 6px 6px 8px rgb(0 0 0 / 30%);
	}
}

/* Underline Body Links */
#fl-main-content a {
	text-decoration: underline;
}

#fl-main-content h1 a,
#fl-main-content h2 a,
#fl-main-content h3 a,
#fl-main-content h4 a,
#fl-main-content h5 a,
#fl-main-content h6 a,
#fl-main-content a.fl-button,
#fl-main-content .wp-block-button a {
	text-decoration: none;
}

/* Ninja Button Styles */

.fl-page .nf-form-content button,
.fl-page .nf-form-content input[type="button"],
.fl-page .nf-form-content input[type="submit"] {
    display:inline-block;
    position:relative;
    padding:.5rem 2rem;
    margin-right:.5rem;
    margin-bottom:1rem;
    font-size: 1.4rem;
    font-weight: 500;
    border:.15rem solid #032f50;
    background-color:#137ebe;
    color:#fff;
    border-radius: .5rem;
    text-align: center;
    text-decoration: none;
}

.fl-page .nf-form-content button:hover,
.fl-page .nf-form-content input[type="button"]:hover,
.fl-page .nf-form-content input[type="submit"]:hover {
    text-decoration: underline;
    background-color:#fff;
    color:#000;
    border-color:#032f50;
    transition: .2s;
}

.fl-page .nf-form-content input[type="button"],
.fl-page .nf-form-content input[type="submit"] {
    line-height: 1rem;
}

.fl-page .nf-form-content button,
.fl-page .nf-form-content input[type="button"],
.fl-page .nf-form-content input[type="submit"] {
    background-color:#f1cc35;
    color:#032f50;
    border-color:#000;
    cursor: pointer;
}

.fl-page .nf-form-content button:hover,
.fl-page .nf-form-content input[type="button"]:hover,
.fl-page .nf-form-content input[type="submit"]:hover {
    background-color:#fff;
    border-color:#032f50;
    text-decoration: underline;
    cursor: pointer;
}

.fl-page .nf-form-content input:not([type=button]) {
	color: #717171;
}

.fl-page .nf-form-fields-required span {
	color: #ef0000 !important;
}

/* Button Push */
.btn-push .fl-col-content {
	display: flex;
	flex-direction: column;
}

.btn-push .fl-col-content .fl-module-button {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
