/*
Theme Name:   Netinspire
Description:  Write here a brief description about your child-theme
Author:       Andy
Author URL:   http://rockleyholdings-co-uk.stackstaging.com
Template:     hello-elementor
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  Netinspire
*/


/* Form */

.gform_wrapper .gform_footer input[type=submit] {
    background-color: #66980C;
    color: white;
    border: none!important;
    width: 100%!important;
    padding: 16px!important;
}

#gform_wrapper_11 .gform_footer input[type=submit] { 
	background-color:#DC30A1;
	color:white;
	font-family: 'Montserrat',sans-serif;
	font-weight:600;
}

#gform_wrapper_11 .gfield_label { color:#54595f; }

#gform_wrapper_11 .name_first { padding-right:0; }
legend.gfield_label { line-height:1; }

.gform_title, .gform_description, .gfield_label, .gsection_title, .gfield_label, .gfield_html  { font-family: 'Montserrat', sans-serif; }

.field_label.gfield_label_before_complex { border-bottom:0; }

/* Resources Library */
.facetwp-template .fwpl-col { background:white; padding:0; box-shadow: 0 0 20px #bababa; transition:0.5s}
.facetwp-template .fwpl-col:hover { box-shadow: 0 0 30px #3d3d3d; }
.facetwp-template a { display:block; color:#123282 !important; }
.facetwp-template .fwpl-tax-organisation { display:inline; min-height:50px;}
.facetwp-template .fwpl-tax-organisation a { display:inline; }
.facetwp-template .resource-content { padding:25px; min-height:280px; position:relative; display:flex; flex-direction:column;}

.facetwp-template .resource-img { background-color:#47C4D4; }
.facetwp-template .resource-img a {
    justify-content: center;
    align-items: center;
    display: flex;
	padding:0;
} 

.facetwp-template .resource-img img { height:100px; object-fit:cover;  width:100%; }
.facetwp-template .resource-title h3 { font-family:'Montserrat',sans-serif; font-weight:600; line-height:25px; font-size:19px; min-height:62px; margin-bottom:0; }
.facetwp-template .read-more, .facetwp-template-static .featured-btn { border-radius:5px; color:white; font-weight:600; font-size:16px; background-color:#7B53A2;text-align:center; width:100%; margin:20px auto 10px auto; padding:9px 30px; display:block; color:white !important; }

.facetwp-template .read-more {  width: 100%; display:flex; align-items:flex-end; justify-content:center;  }
.hub-link { border-radius:6px; }
.hub-link:hover { box-shadow: 1px 2px 17px 1px rgb(122 83 162 / 80%); }
.facetwp-template-static .featured-btn { width:300px; padding:11px; }
.facetwp-template-static .organisations a { font-size:17px; color:#123282; margin-top:-10px; }

.resource-filters h4 { font-size:16px; font-weight:700; margin-bottom:8px; font-family:'Montserrat',sans-serif; }
.facetwp-dropdown { padding:12px 8px; }

.facetwp-load-more { display:block; margin:0 auto; background-color:white; color:#7B53A2; border:2px solid #7B53A2; width:100%; font-weight:700; padding:13px 0; text-transform:uppercase;}
.facetwp-load-more:hover { background-color:#7B53A2; }

.facetwp-loading {
    background: url('https://neurodiversityinbusiness.org/wp-content/uploads/2022/11/loading2.gif') no-repeat;
}

.facetwp-type-fselect .fs-label-wrap .fs-label { padding:12px 15px;}
.facetwp-type-fselect .fs-label-wrap { border-color:#878787; }

.fs-wrap.multiple { width:100%;}

.elementor-widget-shortcode .facetwp-facet { margin-bottom:25px; }

.facetwp-template-static .resource-img { max-width:333px; }
.facetwp-template-static .resource-img img { min-height:280px; }
.facetwp-template-static .fwpl-col {     align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column; }

.facetwp-template-static .featured-btn a button { font-weight:600; margin-bottom:12px;  }
.facetwp-template-static .featured-title { margin-bottom:8px; }
.facetwp-template-static .featured-title a { color: #7A53A2;  }
.facetwp-template-static .featured-title a:hover, .facetwp-template .resource-title a:hover, .facetwp-template-static .organisations a:hover, .facetwp-template .fwpl-tax-organisation a:hover { color:#7B53A2; text-decoration:underline; }
.facetwp-template-static .fwpl-col { margin-bottom:-8px; }

.resource-library .elementor-post__read-more { background-color: #7B53A2; color:white !important; padding:10px 80px; border-radius:5px; display:block; width:100%; text-align:center; text-transform:uppercase !important; font-size:15px !important;}

.resource-library .elementor-post__card { padding-bottom:20px !important; }

.facetwp-template-static .fwpl-result { display:none; }
.facetwp-template-static .fwpl-result:first-child { display:block; }

.facetwp-template .fwpl-tax-organisation a { font-family:'Montserrat'; }

.subtitle { font-style:italic; display:block; margin-top:4px;  }
.resource-source { margin-top:8px;flex:1; }

.facetwp-type-fselect .fs-option .fs-option-label { white-space:normal !important; }
.facetwp-type-fselect .fs-option.d1 .fs-option-label { padding-left:0 !important;  }
.facetwp-type-fselect .fs-option { word-break:normal; }

@media (max-width: 1024px) {
	.featured-resource .elementor-loop-container.elementor-grid { grid-template-columns: repeat(1,1fr);  }
}
	

@media (max-width: 1000px) {
    body .facetwp-template .fwpl-layout, 
    body .facetwp-template-static .fwpl-layout {
        grid-template-columns: repeat(2, 1fr);
	 }
	body .facetwp-template-static .fwpl-layout { grid-template-columns: repeat(1, 1fr);  }
	.facetwp-template-static .featured-btn { margin-top:0; width:200px; padding:8px }
	.facetwp-template-static .featured-title { font-size:21px; }
}

@media (max-width: 680px) { 
   .featured-resource .e-loop-item .e-con-full.e-con { width:100%; }
	.facetwp-type-fselect .fs-option .fs-option-label { white-space:normal !important; }
}

@media (max-width: 600px) {
    body .facetwp-template .fwpl-layout {
        grid-template-columns: repeat(1, 1fr);
    }
	.resource-filters .elementor-container .elementor-widget.elementor-widget-shortcode { width:100%; max-width:100%; }
	.resource-filters .facetwp-facet { margin-bottom:20px; }
	
	body .facetwp-template-static .fwpl-layout .fwpl-row { grid-template-columns: 100%; }
	body .facetwp-template-static .fwpl-layout .fwpl-row .fwpl-col:last-child { padding:20px 30px 40px 30px; }
	.facetwp-template-static .resource-img { max-width:100%; }
	.facetwp-template .resource-content { min-height:auto; }
	.facetwp-template .read-more { position:relative; width: 100%; bottom:0; }
	.facetwp-template .resource-title h3 { min-height:auto; }
	.facetwp-template .fwpl-tax-organisation { margin-top:10px; }
 }
		
}