.sidebar-icon {
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.sidebar-icon i.fa {
    font-size: 40px;
    float: left;
    margin: 0px 10px 0 0;
}

/*-- for the "back to SBP" link --*/
#back_to {
	position: fixed;
	z-index: 999;
	right:0;
	top:50px;
	padding: 10px;
	background: #fff;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border:2px solid #063b81;
	border-right: none;
}

#back_to a {
	color: #063b81;
}

#back_to a i {
	margin-left: 10px;
}

/*** custom checkboxes ***/
#profile-settings input[type=checkbox],
#user_resource_upload input[type=checkbox] {
     position: relative;
}
/* to hide the checkbox itself */
#profile-settings label>input[type=checkbox]:before,
#user_resource_upload label>input[type=checkbox]:before {
    position: absolute;
    background-color: #FFFFFF;
    height: 100%;
	width: 100%;
    font-family: FontAwesome;
    display: inline-block;
    content:"\f096";
    letter-spacing: 10px;
    font-size: 1.5em;
}

/* space between checkbox and label */
#profile-settings label>input[type=checkbox]:checked:before,
#user_resource_upload label>input[type=checkbox]:checked:before {
	font-family: FontAwesome;
    display: inline-block;
    content:"\f046";
    letter-spacing: 5px;
}
/* allow space for check mark */
#profile-settings label span,
#user_resource_upload label span{
	vertical-align: middle;
	margin-left: 0;
}

span.wpcf7-list-item {
	margin-left: 0;
}


#profile-settings input[type=radio],
#profile-settings input[type=checkbox] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
    
#profile-settings input[type=radio] ~ label:before,
#profile-settings input[type=checkbox] ~ label:before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f1db";
    letter-spacing: 10px;
    font-size: 1.2em;
    color: #535353;
    width: 1.4em;
}

#profile-settings input[type=radio]:checked ~ label:before,
#profile-settings input[type=checkbox]:checked ~ label:before {
    content: "\f00c";
    font-size: 1.2em;
    color: darkgreen;
    letter-spacing: 5px;
}

#profile-settings input[type=checkbox] ~ label:before {        
    content: "\f096";
}

#profile-settings input[type=checkbox]:checked ~ label:before {
    content: "\f046";        
}

#profile-settings input[type=radio]:focus ~ label:before,
#profile-settings input[type=radio]:focus ~ label {}

#profile-settings .submit-button {
	float: right;
}

.dirfilters h3 {
    color: #063b81;
    border-bottom: 1px solid #063b81;
}

.dirfilters ul li {
    list-style-type: square;
    color: #063b81;
    cursor:pointer;
}

/* New style for updated directory */
.member-filters {
	background:#29235c;
	padding:30px 50px;
    display:flex;
    flex-wrap: wrap;
	justify-content:space-around;
}
.member-filters div {
	flex-basis:45%;
}
.member-filters input,
.member-filters select {
	line-height:1.2em;
	height:3em;
	border:none;
	outline:none;
	padding:10px;
	margin:0;
}

.member-filters input {
	height:3.3em!important;
}
.nacsba-members {
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.member-surround {
	flex-basis:24%;
	border:1px solid #489f97;
	padding:10px 15px 75px 15px;
	flex-shrink:0;
	flex-grow:0;
	margin-bottom:20px;
	position:relative;
	overflow:hidden;
}

.gold-member-flash {
	background-color:#B2AA6E;
	position:absolute;
	margin:0 auto;
	width:60%;
	text-align:center;
	color:#fff;
	padding:3px 0;
	transform: rotate(-45deg);
	left:-20%;
	top:6%;
}
.partner-grid-logo {
	width:100%;
	height:6em;
	background-size:contain;
	background-position: center center;
	background-repeat:no-repeat;
}
div.title,
div.website {
	text-align:center;
	padding: 6px 0;
}
div.website a {
	font-weight:bold;
	font-size: .9em;
}
div.view-member {
	text-align:center;
	padding:6px 0;
	position: absolute;
	bottom:10px;
	left:-50%;
	right:-50%;
}

div.view-member a {
	background: #B2AA6E;
	padding: 12px 24px;
	color:#fff;
	margin-top:6px;
	display:inline-block;
}

.nacsba-members.nacsba-supplier .member-surround {
	background-color:#29235c;
	padding-top:30px;
	color:#fff;
}
.nacsba-members.nacsba-supplier .member-surround div.title {
	font-weight:bold;
}
.nacsba-members.nacsba-supplier div.view-member a {
	background-color:#f18101;
}

@media( max-width:1080px ) AND (min-width:769px) {
    .member-surround {
        flex-basis:30%;
    }
}

@media( max-width:768px ) {
    .member-filters div {
        flex-basis:100%;
    }
    .member-surround {
        flex-basis:48%;
    }
}

@media( max-width:512px ) {
    .member-surround {
        flex-basis:100%;
        padding:10px 5px 75px 5px;
    }
}