/*
Theme name: CFA
Description: Custom Theme
*/



*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
	background: #f4f2f2;
	font-family: 'Oxygen', sans-serif;
  font-weight: 400;
	font-size: 14px;
	margin:0;
	color: #494949;
  position: relative;
  line-height: 1.2;
  overflow-x: hidden;
	-moz-osx-font-smoothing:grayscale;
	-webkit-font-smoothing:antialiased;
}

.cf:after { 
	content:"";
	display:table;
	clear:both;
}

/*item container*/
.ic {
  overflow: hidden;
}

.wc{
	width:100%;
	max-width: 1228px;
	min-width:320px;
  padding: 0 40px;
	margin:0 auto;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

.center{
  text-align: center;
}

p, h1, h2, h3, h4, h5, ul{
	margin:0;
}

h1, h2, h3, h4, h5 {
  font-weight: 400;
  color: #1d1d1d;
}

h1 {
  text-align: center;
  font-size: 28px;
  padding-bottom: 46px;
}

p{
	line-height: 1.6;
	padding-bottom:15px;
  letter-spacing: normal;
}

a, a:focus{
   outline: 0;
}

a{
  color: #6781fe;
  text-decoration: none;
	transition:.3s color, .3s background;
	-webkit-transition:.3s color, .3s background;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent; /* For some Androids */
}

a:hover {
  color:#3a4b9d;
}

.btn {
  background: #76b639;
  display: inline-block;
  padding: 15px 23px;
  color: white;
  border-radius: 30px;
  letter-spacing: .01em;
  margin: 8px 0;
  font-size: 14px;
}

.btn:hover {
  color: white;
  background: #639830;
}

img, svg{
	max-width:100%;
	height:auto;
}

input{
  outline:none;
}

/*header styles*/

.main-header {
  background: white;
  border-bottom: 1px solid #ececec;
  padding: 10px 0 0;
  position: relative;
  z-index: 99;
}

.logo{
  float: left;
  max-width: 242px;
}

.header-right {
  float: right;
  padding-top: 5px;
}

.lang-menu {
  float: right;
  margin-top: 4px;
}

.lang-menu ul{
  list-style-type: none;
  padding-left: 0;
}

.socials {
  list-style-type: none;
  padding: 0 0 0 15px;
  display: inline-block;
  vertical-align: middle;
  float: right;

}
.socials li {
  display: inline-block;
  padding-right: 3px;
}

.socials li:last-of-type {
  padding-right: 0;
}
.socials li a {
  font-size: 12px;
  color: white;
  height: 25px;
  width: 25px;
  display: block;
  transition: .3s opacity;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
}

.socials li a.facebook-icon {
  background: #6089bd;
}

.socials li a.twitter-icon {
  background: #76d0f9;
}
.socials li a.youtube-icon {
  background: #ef7962;
}

.socials li a:hover {
  opacity: .7;
}

.nav-toggle {
  float: right;
  width: 27px;
  display: none;
  padding: 5px 0 5px 5px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  background: #76b639;
  height: 3px;
  margin-bottom: 3px;
  border-radius: 3px;

  transition: .3s background;
}

.nav-toggle:hover span {
  background: #639731;
}

.main-nav {
  float: right;
  margin-top: 5px;
  clear: left;
}

.main-nav ul{
  padding: 0;
}

.main-nav li {
  display: inline-block;
  padding-left: 0;
  position: relative;
}

.main-nav li a{
  color: #494949;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 15px 10px;
  display: block;
  border-bottom: 3px solid white;
  transition: .3s border, .3s color;
}

.main-nav li a:hover, .main-nav li.current-menu-item > a{
  color: #76b639;
  border-bottom: 3px solid #76b639;
}

.main-nav li.menu-item-has-children > a:after {
  content: '\f107';
  font-family: 'FontAwesome';
  font-size: 13px;
  padding-left: 4px;
  opacity: .5;
}

.main-nav .drop-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px;
  cursor: pointer;
}

.main-nav .sub-menu {
  background: white;
  width: 250px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: .3s opacity, 0s visibility .3s;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}

.main-nav .sub-menu .submenu {
  left: 100%;
  top: 0;
}

.main-nav > ul > li:last-of-type .sub-menu {
  left: auto;
  right: 0;
  text-align: right;
}

.main-nav .sub-menu li {
  width: 100%;
  border-bottom: 1px solid #ececec;
}

.main-nav .sub-menu li a {
  padding: 10px;
}

.main-nav li:hover  > .sub-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/*hide login button when logged in*/
.logged-in .menu-item-login {
  display: none;
}

.header-right-top .main-nav {
    float: right;
    margin-top: 0;
    margin-right: 11px;
    position: relative;
    top: 2px;
}

.header-right-top .main-nav > ul > li {
  padding-right: 10px;
}

.header-right-top .main-nav > ul > li > a {
    padding: 3px 0px;
    font-size: 13px;
}

.header-right-top .main-nav ul li a {
  font-size: 13px;
}

.main-nav .hide-on-desktop {
  display: none !important;
}

body:not(.logged-in) .members-only-menu-item {
	display: none;
}


.home-banner {
  background: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.home-banner:after {
  content: '';
  position: absolute;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4c7525+0,294014+100&0.6+0,0.71+100 */
  background: rgba(76,117,37,0.6);
  background: -moz-linear-gradient(top,  rgba(76,117,37,0.6) 0%, rgba(41,64,20,0.71) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(76,117,37,0.6) 0%,rgba(41,64,20,0.71) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(76,117,37,0.6) 0%,rgba(41,64,20,0.71) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 59;
}

.home-banner .wc {
  position: relative;
  z-index: 60;
}

.home-banner h1 {
  color: white;
  font-size: 50px;
  padding-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
}

.home-banner p {
  color: white;
  font-size: 22px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
  padding-bottom: 0;
}

.home-banner .bx-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.home-banner .bx-wrapper, 
.home-banner .bx-viewport,
.home-banner .home-slider, 
.home-banner .home-slider li {
  height: 100% !important;
}

.home-slider {
  list-style-type: none;
  padding-left: 0;
  opacity: 0;
  transition: 1s opacity;
}

.home-slider-is-loaded .home-slider {
  opacity: 1;
}

.home-slider li {
  background-size: cover;
  background-position: center center;
}


/*Feature blocks*/

.feature-blocks {
  background: white;
  padding: 50px 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #ececec;
}

.feature-blocks .inner-page-content {
  overflow: hidden;
  margin-bottom: -30px;
}

.feature-block {
  float: left;
  width: calc((99.99% - 90px) / 4);
  margin-right: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}


.feature-block:nth-of-type(4n) {
  margin-right: 0;
}

.feature-block:nth-of-type(4n + 1) {
  clear: left;
}

.feature-block img {
  border-radius: 4px;
  display: block;
  margin-bottom: 15px;
  border: 1px solid #ececec;
}

.feature-block h3 {
  padding-bottom: 10px;
  padding-top: 0 !important;
}
.feature-block p {
  color: #494949;
  padding-bottom: 10px;
}

.feature-block span {
  color: #6781fe;
  line-height: 1.6;
  transition: .3s color;
}

.feature-block:hover span{
  color: #3a4b9d;
}

.feature-block .feature-img-container {
   position: relative;
}

.feature-block .feature-img-container:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #76b639;
  opacity: 0;
  -webkit-transition: .3s opacity;
  transition: .3s opacity;
  z-index: 1;
  border-radius: 4px;
}

.feature-block .feature-img-container:before {
  content: '\f055';
  font-family: 'FontAwesome';
  color: white;
  opacity: 0;
  font-size: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -10px;
  z-index: 2;
  -webkit-transform: scale(3) rotate(15deg);
          transform: scale(3) rotate(15deg);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  -webkit-transition: .3s transform .1s, .3s opacity .1s;
  transition: .3s transform .1s, .3s opacity .1s; 
}

.feature-block:hover .feature-img-container:after  {
  opacity: .7; 
}

.feature-block:hover .feature-img-container:before {
  opacity: .9;
  -webkit-transform: scale(1) translateZ(1px);
          transform: scale(1) translateZ(1px); 
}

.logo-bar{
  background: #fafafa;
  padding: 20px 0 30px;
  position: relative;
  z-index: 2;
}

.member-logo-bar {
  border-bottom: 1px solid #ececec;
}

.corporate-logo-bar {
  border-top: 1px solid #ececec;
}

.logo-bar:before {
  content: '';
  position: absolute;
  right: 100%;
  width: 1000px;
  background: #fafafa;
  top: 0;
  bottom: 0;
}

.member-logo-bar:before {
  border-bottom: 1px solid #ececec;
  bottom: -1px;
}

.corporate-logo-bar:before {
  border-top: 1px solid #ececec;
  top: -1px;
}

.logo-bar:after {
  content: '';
  position: absolute;
  left: 100%;
  width: 30px;
  background: #fafafa;
  top: 0;
  bottom: 0;
}

.member-logo-bar:after{
  border-bottom: 1px solid #ececec;
  bottom: -1px;
}

.corporate-logo-bar:after{
  border-top: 1px solid #ececec;
  top: -1px;
}

.logo-bar h2 {
    font-size: 20px;
    padding-bottom: 15px;
}

.event-container {
  padding: 20px 0 30px;
}

.upcoming-events-container {
  background: white url('imgs/events-bg.jpg') center center / cover;
}


.upcoming-events-container .inner-page-content {
  background: transparent;
}

.all-event-btn .fa {
  font-size: 12px;
  padding-left: 5px;
  position: relative;
  top: -1px;
}

.upcoming-events-container .event-item {
    padding-bottom: 15px;
    width: calc((99.99% - 30px) / 2 );
    margin-right: 30px;
    float: left;
}

.upcoming-events-container  .event-item:nth-of-type(2n) {
    margin-right: 0;
}

.upcoming-events-container  .event-details {
    width: 130px;
}

.upcoming-events-container  .event-title-desc {
    width: calc(99.99% - 170px);
}

.home .inner-page-content {
  padding: 0;
}


.mailing-list-container {
  padding: 100px 0;
  background: url('imgs/newsletter-bg.jpg') 100% center / cover;
}

.mailing-list {
  background: white;
  border: 1px solid #ececec;
  padding: 35px 35px;
  border-radius: 5px;
  text-align: center;
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  align-items: center;
  -ms-align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

.mailing-list h5{
  text-align: left;
  font-size: 18px;
  padding-bottom: 10px;
}

.mailing-list p {
  text-align: left;
  padding-bottom: 0;
}

.mailing-list a {
  min-width: 200px;
}

.mailing-list .btn .fa {
    font-size: 12px;
    padding-left: 5px;
    position: relative;
    top: -1px;
}

.ml-info {
  padding-right: 20px;
}


.page-title {
  background: url('imgs/home-banner-2.jpg') center center / cover;
  text-align: left;
  padding: 50px 0;
  position: relative;
}

.page-title:after {
  content: '';
  position: absolute;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4c7525+0,294014+100&0.6+0,0.71+100 */
  background: rgba(76,117,37,0.6);
  background: -moz-linear-gradient(top,  rgba(76,117,37,0.6) 0%, rgba(41,64,20,0.71) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(76,117,37,0.6) 0%,rgba(41,64,20,0.71) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(76,117,37,0.6) 0%,rgba(41,64,20,0.71) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.page-title h1 {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
  padding-bottom: 0;
  text-align: left;
  position: relative;
  z-index: 2;
}

.page-title p {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
  margin-top: 4px;
  position: relative;
  z-index: 2;
  font-size: 16px;
}



/* main footer styles */

.main-footer {
  background: white;
  border-top: 1px solid #ececec;
  padding: 30px 0;
  position: relative;
  z-index: 2;
}

.main-footer .copyright {
  float: left;
  padding: 0;
}

.main-footer ul {
  float: right;
  padding-left: 0;
}

.main-footer ul li{
  display: inline-block;
  padding-right: 10px;
  line-height: 1.6;
}

.main-footer ul li:last-child {
  padding-right: 0;
}

/*Inner page content styles*/

.inner-page-content {
   background: white;
   position: relative;
   padding: 50px 0;
}

.with-sidebar .inner-page-content:before {
  content: '';
  position: absolute;
  background:white;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 1000px;
}

.with-sidebar .inner-page-content {
  float: left;
  width: calc(99.99% - 280px);
  margin-right: 30px;
  padding-right: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.with-sidebar .main-sidebar {
  float: left;
  width: 250px;
  padding: 50px 0 30px;
}

.main-sidebar {
  padding: 50px 0;
}

.sidebar-item {
  padding-bottom: 20px;
}

.sidebar-item h5 {
  font-size: 18px;
  padding-bottom: 10px;
}


.inner-page-content h2,
.inner-page-content h3,
.inner-page-content h4 {
  padding-bottom: 15px;
  padding-top: 10px;
}

.inner-page-content h2 {
  font-size: 20px;
}

.inner-page-content h3 {
  font-size: 18px;
}

.inner-page-content hr {
  height: 1px;
  background: #dbdbdb;
  padding: 0;
  display: block;
  margin: 8px 0 20px;
  border: 0;
  clear: both;
  width: 100%;
}

.inner-page-content ul, .inner-page-content ol {
  list-style-type: none;
  padding-left: 10px;
  padding-bottom: 15px;

}

.inner-page-content  li {
  position: relative;
  letter-spacing: normal;
  line-height: 1.6;
  padding-left: 15px;
}

.inner-page-content ul li:before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  margin-top: -1px;
}

.inner-page-content img.alignnone {
  display: block;
  margin: 5px 0 32px;
}

.inner-page-content img.aligncenter {
  display: block;
  margin: 5px auto 32px;
}

.inner-page-content img.alignleft {
  float: left;
  display: inline-block;
  margin: 32px 32px 32px 0;
}

.inner-page-content img.alignright {
  float: left;
  display: inline-block;
  margin: 32px 0 32px 32px;
}

.inner-page-content .btn {
  margin-bottom: 20px;
}

.inner-page-content  .wp-caption {
  display: block;
  margin: 0 auto;
}

.inner-page-content .wp-caption.alignleft {
  float: left;
  margin-right: 32px;
}

.inner-page-content  .wp-caption.alignright {
  float: right;
  margin-left: 32px;
}


.inner-page-content  .wp-caption img {
  margin-bottom: 0;
  display: block;
}

.inner-page-content  .wp-caption-text {
  background: #ececec;
  padding: 10px 15px;
  font-size: 13px;
  margin-bottom: 20px;
}

.inner-page-content .gallery {
  padding: 5px 0 20px;
  overflow: hidden;
}

.inner-page-content .gallery .gallery-item {
    border: 0 none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: calc(99.99% / 7);
    float: left;
}

.inner-page-content .gallery-item a {
    display: block;
    border: 1px solid white;
}

.inner-page-content .gallery-item img {
  display: block;
  border: 8px solid #ececec;
  transition: .3s opacity;
}

.inner-page-content .gallery-item:hover img {
  opacity: .8;
}

.inner-page-content > :first-child:not(.logo-bar) {
  padding-top: 0;
  margin-top: 0;
}

.responsive-video {
  padding-bottom: 20px;
}

.responsive-video .responsive-iframe{
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
    border-top: 1px solid #ececec;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}

.responsive-video .responsive-iframe iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.responsive-video .video-caption{
  background: #ececec;
  padding: 10px 15px;
  font-size: 13px;
  margin-bottom: 20px;
}

/*gravity form styles*/

body .gform_wrapper {
  max-width: 700px;
  margin: 5px auto;
  border: 1px solid #ececec;
  padding: 20px !important;
  background: #fafafa;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border-radius: 5px;
}

body .gform_wrapper li {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .gform_wrapper li:before {
  content: '';
}

body .gform_wrapper ul li.gfield {
  padding: 0 !important;
  margin: 0 !important;
}

.ginput_complex label {
  display: inline-block;
  margin-top: -10px !important;
}

input[type="email"], input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
  border: 1px solid #e1e2e3;
  border-radius: 3px;
  padding: 0 15px !important;
  height: 45px;
  line-height: 45px;
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

select {
  border: 1px solid #e1e2e3;
  border-radius: 3px;
  padding: 0 15px;
  margin-bottom: 15px;
  height: 45px;
  line-height: 45px;
  display: block;
  width: 100% !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
  background: white url("imgs/select-arrow.png") no-repeat 97% center / 10px 6px;
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000; 
}

select::-ms-expand {
  display: none; 
}

textarea {
  border: 1px solid #e1e2e3;
  border-radius: 3px;
  padding: 10px 15px;
  height: 200px;
  display: block;
  width: 100%;
}

.ginput_container_textarea {
  padding-bottom: 15px;
}


input[type="submit"] {
  border: 0;
  background: #76b639;
  display: inline-block;
  padding: 11px 25px;
  color: white;
  border-radius: 30px;
  letter-spacing: .01em;
  margin: 8px 0;
  font-size: 14px;
  transition: .3s background;
}

input[type="submit"]:hover {
  color: white;
  background: #639830;
}

.gfield_checkbox, .gfield_radio {
  overflow: hidden;
}

.gform_wrapper ul.gfield_checkbox, .gform_wrapper ul.gfield_radio {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label {
  overflow: hidden;
  font-size: 14px !important;
  margin: 0 !important;
  padding-left: 21px !important;
  line-height: 1.4 !important;
}

body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox, body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 7px !important;
    margin-bottom: 11px !important;
}

.gfield_checkbox li, .gfield_radio li {
  float: left;
  width: calc((99.99% - 10px) / 2);
  margin-right: 10px;
}

.gfield_checkbox li:nth-of-type(2n), .gfield_radio li:nth-of-type(2n) {
  margin-right: 0;
}

.gfield_checkbox li:nth-of-type(2n + 1), .gfield_radio li:nth-of-type(2n + 1) {
  clear: left;
}

.gfield_radio input{
  display: none !important;
}

.gfield_radio label {
  position: relative;
  padding: 0 0 0 18px !important;
}

.gfield_radio label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -6px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  display: block;
  border: 1px solid #ccc;
  background: white;
  transition: .3s background, .3s border;
} 

.gfield_radio label:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  margin-top: -2px;
  height: 4px;
  width: 4px;
  border-radius: 50%;
  display: block;
  background: white;
  z-index: 2;
} 


.gfield_radio input:checked + label:before {
  background: #3b99fc;
  border: 1px solid #3b99fc;
}

.gfield_checkbox input{
  display: none !important;
}

.gfield_checkbox label {
  position: relative;
  padding: 0 0 0 18px !important;
}

.gfield_checkbox label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -6px;
  height: 12px;
  width: 12px;
  border-radius: 4px;
  display: block;
  border: 1px solid #ccc;
  background: white;
  transition: .3s background, .3s border;
} 

.gfield_checkbox input:checked + label:before {
  background: #3b99fc url('imgs/checkbox.svg') no-repeat center center / 6px 6px;
  border: 1px solid #3b99fc;
}

.gfield_description {
    font-size: 13px !important;
}

.gform_wrapper span.ginput_total {
    font-size: 20px !important;
    margin: 0 !important;
    font-weight: 700;
    padding-bottom: 10px !important;
    display: inline-block;
    margin-top: -10px !important;
}

.ginput_container.ginput_container_singleproduct {
    padding-bottom: 12px;
    margin-top: 0 !important;
}


.widget_recent_entries ul, .widget_widget_category_posts ul {
  list-style-type: none;
  padding-left: 0;
  background: white;
  border-radius: 4px;
  padding: 15px;
  border: 1px solid #ececec;
}

.widget_recent_entries ul li, .widget_widget_category_posts ul li {
  padding-bottom: 10px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 10px;
}

.widget_recent_entries ul li:last-of-type, .widget_widget_category_posts ul li:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: 0;
}

.widget_recent_entries a, .widget_widget_category_posts a {
  padding-bottom: 5px;
  display: inline-block;
  line-height: 1.3;
  font-weight: 400;
}

.widget_recent_entries  .post-date, .widget_widget_category_posts .post_date {
  display: block;
  font-size: 13px;
  color: #454545;
}

/* Board Members styles*/

.bod-item {
  float: left;
  width: calc((99.99% - 60px) / 3);
  margin-right: 30px;
  margin-bottom: 15px;
}


@media screen and (min-width: 560px) {
  
  .bod-item {
    width: calc((99.99% - 60px) / 3);
    margin-right: 30px;
  }

  .bod-item:nth-of-type(3n) {
    margin-right: 0;
  }

  .bod-item:nth-of-type(3n + 1) {
    clear:left;
  }
}

@media screen and (max-width: 559px) {

  .bod-item {
    width: calc((99.99% - 30px) / 2);
    margin-right: 30px;
  }

  .bod-item:nth-of-type(2n) {
    margin-right: 0;
  }

  .bod-item:nth-of-type(2n + 1) {
    clear:left;
  }
}

.bod-item img {
  display: block;
  margin-bottom: 20px;
}

.bod-item h3 { 
  padding:0 0 2px 0;
}

.bod-item .board-position {
  font-weight: 700;
  padding-bottom: 0;
}

.bod-item .association {
  padding-bottom: 0;
}

.bod-item .employer-info {
  font-style: italic;
  font-size: 13px;
}

/* Staff styles*/

.staff-item {
  float: left;
  margin-bottom: 15px;
}

@media screen and (min-width: 560px) {
  
  .staff-item {
    width: calc((99.99% - 60px) / 3);
    margin-right: 30px;
  }

  .staff-item:nth-of-type(3n) {
    margin-right: 0;
  }

  .staff-item:nth-of-type(3n + 1) {
    clear:left;
  }
}

@media screen and (max-width: 559px) {

  .staff-item {
    width: calc((99.99% - 30px) / 2);
    margin-right: 30px;
  }

  .staff-item:nth-of-type(2n) {
    margin-right: 0;
  }

  .staff-item:nth-of-type(2n + 1) {
    clear:left;
  }
}

.staff-item img {
  display: block;
  margin-bottom: 20px;
}

.staff-item h3 { 
  padding:0 0 2px 0;
}

/* Event styles*/

.event-item {
  padding-bottom: 15px;
}

.event-details {
    float: left;
    margin-right: 30px;
    width: 150px;
}

.event-details .date-time {
    font-weight: 700;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-details .location {
    font-style: italic;
}

.event-title-desc {
    float: left;
    width: calc(99.99% - 180px);
}

.event-title-desc h3 {
    padding-top: 0;
}

/* Video Heard on the Hill styles*/

.video-item {
  border-bottom: 1px solid #ececec;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.video-content {
  float: left;
  width: calc(99.99% - 390px);
  margin-right: 30px;
}

.video-thumb {
  display: block;
  float: left;
  width: 360px;
  margin-bottom: 15px;
  margin-top: 10px;
  position: relative;
  border-radius: 3px;
}

@media screen and (max-width: 1090px) {

  .video-content {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .video-thumb {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 3px 0 15px;
  }

}


@media screen and (max-width: 850px) {

  .video-content {
    float: left;
    width: calc(99.99% - 390px);
    margin-right: 30px;
  }

  .video-thumb {
    display: block;
    float: left;
    width: 360px;
    margin-bottom: 15px;
    margin-top: 10px;
  }

}



@media screen and (max-width: 780px) {

  .video-content {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .video-thumb {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 3px 0 15px;
  }

}

.video-thumb:after {
  content: '';
  background: #76b639;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: .3s opacity;
}

.video-thumb:hover:after {
  opacity: .3;

}

.video-thumb img {
  border-radius: 3px;
  display: block;
  width: 100%;
}

.video-thumb .play-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  background: #76b639;
  box-shadow: 1px 3px 2px rgba(0,0,0,.2);
}

.video-thumb .play-btn:after {
  content: '';
  position: absolute;
  left: 16px;
  top: 14px;
  width: 0; 
  height: 0; 
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid white;
  filter: drop-shadow(1px 3px 2px rgba(0,0,0,.2));
}

/* Blog Styles */

.blog-item {
  border-bottom: 1px solid #dbdbdb;
  padding-bottom: 15px;
  margin-bottom: 5px;
}

.blog-item:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 25px;
}

.blog-item h3 {
  padding-bottom: 5px;
}

.blog-item .post-date {
  color: #454545;
  display: block;
  font-size: 13px;
  padding-bottom: 10px;
}


.pagination {
  padding-top: 10px;
}


.pagination a:after {
  content: '/';
  padding: 0 10px;
  color: #454545;
}

.pagination .current {
  font-weight: 700;
}

.pagination .extend {
  display: none;
}

.pagination span:after {
  content: '/';
  padding: 0 10px;
  color: #454545;
  font-weight: 400;
}

.pagination .wp-pagenavi *:last-child:after {
    display: none;
}


/* Slider styles*/

.logo-slider {
  padding: 0;
  position:relative;
}

.logo-slider ul{
  padding-left:0;
  list-style-type: none;
}

.logo-slider ul li {
    display: inline-block;
    float: none !important;
    margin: 0 25px !important;
    vertical-align: middle;
    width: auto !important;
}

.logo-slider ul li:before {
  display: none;
}

.logo-slider li a {
  display: block;
  -webkit-transition: .5s opacity;
  -moz-transition: .5s opacity;
  transition: .5s opacity;
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  transform: rotate(0);
}

.logo-slider li a:hover {
  opacity: .7;
}

.logo-slider li a img {
    display: block;
}

.logo-slider .bx-controls .bx-prev {
  font-size: 0;
  background: url('imgs/left-arrow.png') center center;
  display: block;
  height: 99px;
  width: 53px;
  position: absolute;
  top: 0;
  left: 0;
}

.logo-slider .bx-controls .bx-next {
  font-size: 0;
  background: url('imgs/right-arrow.png') center center;
  display: block;
  height: 99px;
  width: 53px;
  position: absolute;
  top: 0;
  right: 0;
}

/* Member page styles*/


.member-item {
  float: left;
  width: calc((99.99% - 30px) / 2);
  margin-right: 30px;
  margin-bottom: 15px;
}

.member-item:nth-of-type(2n) {
  margin-right: 0;
}


.member-item:nth-of-type(2n + 1) {
  clear:left;
}


@media screen and (max-width: 480px) {
  
  .member-item {
    float: none;
    width: 100%;
    margin-right: 0;
  }

}

.member-logo-wrap {
  background: #fafafa;
  border: 1px solid #dbdbdb;
  text-align: center;
  padding: 25px 10px;
}

/* corporate page styles*/

@media screen and (min-width: 768px) { 

  .corporate-items--twoCol {
    display: flex;
    flex-wrap: wrap;
  }

  .corporate-items--twoCol .corporate-item {
    width: calc((100% - 32px) / 2);
    margin-right: 32px;
  }

  .corporate-items--twoCol .corporate-item:nth-of-type(2n) {
    margin-right: 0;
  }

}

/* .corporate-items--twoCol .corporate-item:nth-of-type(n + 3) {
  margin-top: 24px;
} */


.corporate-item {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dbdbdb;
}

.corporate-item:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.corporate-logo-wrap {
  background: #fafafa;
  border: 1px solid #dbdbdb;
  text-align: center;
  padding: 25px 10px;
  max-width: 400px;
  margin-bottom: 10px;
}

/*wp accessibility plugin*/

.a11y-toolbar {
  top: 25%;
}


/* Partnership Styles*/

.pag-row {
  padding: 0 5px;
  margin-bottom: 10px;
  overflow: hidden;
}
.pag-row-1 {
  height: 400px;
  margin-top: 10px;
}

.pag-row-2 {
  height: 575px;
}

.pag-row-3 {
  height: 495px;
}

.pag-row-4 {
  height: 495px;
}

.pag-col-half {
  float: left;
  width: calc(99.99% * 1/2);
  padding: 0 5px;
  position: relative;
  height: 100%;
}

.pag-col-third{
  float: left;
  width: calc(99.99% * 1/3);
  padding: 0 5px;
  position: relative;
  height: 100%;
}

.pag-col-two-thirds{
  float: left;
  width: calc(99.99% * 2/3);
  padding: 0 5px;
  position: relative;
  height: 100%;
}

.pag-row img {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 0;
  height: 100%;
  width: 100%;
  width: calc(100% - 10px);
  object-fit: cover;
}


.pag-row img.rellax {
  height: 200%;
}


.pag-cta {
  position: relative;
  background: #86ae3e;
  height: 100%;
  width: 100%;
}

.pag-cta:after {
  content: '';
  pointer-events: none;
  position: absolute;
  top: 20px;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid white;
}

.pag-cta-content {
  position: absolute;
  top: 50%;
  left: 25px;
  right: 25px;
  transform: translateY(-50%);
  text-align: center;
}


.pag-cta-content h3 {
  color: white;
  font-size: 35px;
  max-width: 300px;
  margin: 0 auto;
  padding-bottom: 20px;

}

.pag-cta-content p {
  font-size: 17px;
  color: white;
  max-width: 300px;
  margin: 0 auto;
}

.pag-cta-content .btn {
  background: white;
  color: #020202;
}

.pag-cta-content .btn:hover {
  background: #ececea;
}

.full-width-page {
  background: white;
}

.sponsorship-page-title-block {
  background: url('imgs/home-banner-2.jpg') center center / cover;
  text-align: left;
  padding: 50px 0;
  position: relative;
  color: white;
}

.sponsorship-page-title-block :last-child{
  padding-bottom: 0;
}

.sponsorship-page-title-block:after {
  content: '';
  position: absolute;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4c7525+0,294014+100&0.6+0,0.71+100 */
  background: rgba(199,129,50,0.9);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.sponsorship-page-title-block h1 {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
  padding-bottom: 0;
  text-align: left;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.sponsorship-page-title-block p {
  color: white;
  position: relative;
  z-index: 2;
  max-width: 800px;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
}


.cols {
  margin-left: -15px;
  margin-right: -15px;
}

.half-col {
  float: left;
  width: calc(100% * 1/2);
  padding:0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.third-col {
  float: left;
  width: calc(100% * 1/3);
  padding:0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.two-thirds-col {
  float: left;
  width: calc(100% * 2/3);
  padding:0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.quarter-col {
  float: left;
  width: calc(100% * 1/4);
  padding:0 15px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.inner-page-content table {
  width: 100% !important;
  height: auto !important;
  margin: 5px 0 20px;
  table-layout: fixed;
}



.inner-page-content table thead {
  background: #f7f8f9;
}

.inner-page-content td {
  border: 1px solid #ececec;
  padding: 15px;
  vertical-align: top;
  line-height: 1.6;
}

.inner-page-content td :last-child {
  padding-bottom: 0;
}

.inner-page-content td :first-child {
  padding-top: 0;
}

.header-right-top .btn {
  float: right;
  padding: 8px 19px;
  margin: 0;
  position: relative;
  top: -4px;
  font-size: 13px;
}

.header-right-top .btn:first-of-type {
  background: #566fb8;
  color: white;
  margin-left: 10px;
}

.header-right-top .btn:first-of-type:hover {
  background: #384a7e;
}

.inner-page-content table {
  width: 100% !important;
  margin: 2px 0;
  height: auto !important;
  background: white;
  -webkit-overflow-scrolling: touch;
  min-width: 837px;
}

.inner-page-content .table-container-outer {
  position: relative;
  padding-bottom: 26px;
}

.inner-page-content .table-container-outer:after {
  content: '';
  background: -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background: radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background-repeat: no-repeat;
  background-attachment: scroll, scroll;
  background-size: 10px 100%, 10px 100%;
  position: absolute;
  top: 0;
  bottom: 26px;
  right: 0;
  width: 10px;
  z-index: 2;
  display: none;
}

.inner-page-content .table-container {
  padding: 0;
  background: white;
  position: relative;
  overflow-y: auto;
}

.inner-page-content .table-container-outer:last-child .table-container {
  padding-bottom: 0;
}


@media screen and (max-width: 1280px) {

  .pag-row-2 {
    height: 500px;
  }

  .pag-cta:after {
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
  }

  .pag-cta-content h3 {
    font-size: 30px;
  }


}

@media screen and (max-width: 1230px) {

  .main-nav li a {
    padding: 15px 5px;
  }

}

@media screen and (min-width: 1161px) {

  .main-nav .sub-menu {
    display: block !important;
  }

}

@media screen and (max-width: 1160px) {

  .main-header {
    padding: 10px 0 10px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    background: white;
    position: absolute;
    right: 0;
    top: 76px;
    height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 0;
    width: 230px;
    border-left: 1px solid #ececec;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    transform: translateY(-20px);
    transition: .3s transform , .3s opacity, 0s visibility .3s;
  }

  .mobile-menu-is-active .main-nav {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    transform: none;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .main-nav li {
    display: block;
    border-bottom: 0;
  }

  .main-nav li a {
    padding: 10px;
    border-bottom: 1px solid #ececec;
  }

  .main-nav li a:hover {
    border-bottom: 1px solid #76b639;
  }

  .main-nav .sub-menu {
    background: white;
    width: 100%;
    position: static;
    visibility: visible;
    opacity: 1;
    transition: none;
    box-shadow: none;
    display: none;
  }

  .main-nav > ul > li:last-of-type .sub-menu {
    text-align: left;
  }

  .main-nav .sub-menu li a {
    padding: 10px 10px 10px 15px;
  }

  .main-nav li.menu-item-has-children > a:after {
    display: none;
  }

  .main-nav .drop-toggle {
    display: block;
  }

  .header-right-top .main-nav {
    display: none;
  }

  .main-nav .hide-on-desktop {
    display:block !important;
  }

  .logo {
    max-width: 200px;
  }

  .logo img {
    display: block;
  }

  .header-right {
    padding-top: 20px;
  }

  .header-right-top {
    float: left;
  }

  .header-right-bottom {
    float: right;
    margin-left: 13px;
    margin-top: 1px;
  }

}


@media screen and (max-width: 1600px) {

  .home-banner {
    padding: 70px 0;
  }

  .home-banner h1 {
    font-size: 40px;
  }

  .home-banner p {
    font-size: 18px;
  }

}

@media screen and (max-width: 1130px) {

/*  .pag-row-1 .pag-col-half:nth-of-type(1) {
    width: calc(99.99% * 3/8);
  }

  .pag-row-1 .pag-col-half:nth-of-type(2) {
    width: calc(99.99% * 5/8);
  }
*/

  .pag-row-1 {
    height: 250px;
  }

  .pag-row-2 {
    height: 415px;
  }

  .pag-row-3 {
    height: 375px;
  }

  .pag-row-4 {
    height: 250px;
  }

  .pag-row-2 .pag-col-third:nth-of-type(1) {
    width: calc(99.99% * 5/8);
  }

  .pag-row-2 .pag-col-third:nth-of-type(2) {
    width: calc(99.99% * 3/8);
  }

  .pag-row-2 .pag-col-third:nth-of-type(3) {
    display: none;
  }

  .pag-row-3 .pag-col-two-thirds:nth-of-type(1) {
    width: calc(99.99% * 3/8);
  }

  .pag-row-3 .pag-col-third:nth-of-type(2) {
    width: calc(99.99% * 5/8);
  }

}


@media screen and (max-width: 900px) {

  .inner-page-content .gallery .gallery-item {
    width: calc(99.99% / 4);
  }

  .event-details {
    float: none;  
    margin-right: 0;
    width: 100%;
  }

  .event-details .location {
    margin-bottom: 3px;
  }

  .event-title-desc {
    float: none;
    width: 100%;
  }

   .feature-block {
    width: calc((99.99% - 30px) / 2);
  }

  .feature-block:nth-of-type(2n) {
    margin-right: 0;
  }

  .feature-block:nth-of-type(2n+1) {
    clear: left;
  }

  .inner-page-content .table-container-outer:after { 
    display: block;
  }


}

@media screen and (max-width: 850px) {

  .with-sidebar .inner-page-content {
    width: 100%;
    float: none;
    margin-right: 0;
    padding-right: 0;
  }

  .with-sidebar .inner-page-content:before {
    width: 40px;
  }

  .with-sidebar .inner-page-content:after {
    width: 40px;
    background: white none repeat scroll 0 0;
    bottom: 0;
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
  }

  .with-sidebar .main-sidebar{
    width: 100%;
    float: none;
    max-width: 480px;
    margin: 0 auto;
  }

  .mailing-list {
    display: block;
    text-align: center;
  }

  .ml-info {
    padding-right: 0;
  }

  .mailing-list p {
    padding-bottom: 10px;
  }

}


@media screen and (max-width: 750px) {


  .logo {
    max-width: 150px;
  }

  .header-right {
    padding-top: 11px;
  }

  .main-nav {
    top: 61px;
    height: calc(100vh - 61px);
  }

  .home-banner h1 {
    font-size: 30px;
  }



}


@media screen and (max-width: 620px) {

  .header-right-top .btn {
    display: none;
  }

  .main-menu .hide-on-mobile {
    display: block;
  }

}


@media screen and (max-width: 600px) {

  .main-footer {
    text-align: center;
  }

  .main-footer .copyright {
    font-size: 12px;
    float: none;
    padding-bottom: 5px;
  }

  .main-footer ul {
    float: none;
  }

  .main-footer ul li a{
    font-size: 12px;
  }

  .wc {
    padding: 0 20px;
  }

  .page-title h1 {
    font-size: 20px;
  }

  .page-title {
    padding: 30px 0;
  }

  .inner-page-content {
    padding: 30px 0;
  }

  .with-sidebar .inner-page-content:after {
    width: 20px;
  }

  .logo-bar:after {
    width: 20px;
  }

  .feature-blocks {
    padding: 30px 0;
  }

  .with-sidebar  .main-sidebar {
    padding: 30px 0 10px;
  }

  .inner-page-content h2 {
    font-size: 18px;
  }

  .inner-page-content h3 {
    font-size: 16px;
  }

  .inner-page-content h4 {
    font-size: 15px;
  }

  .logo-slider li a img {
    display: block;
    max-height: 50px;
    width: auto;
  }

  .logo-slider ul li {
    margin: 0 10px !important;
  }

 .logo-slider .bx-controls .bx-next, .logo-slider .bx-controls .bx-prev {
    background-size: 27px 50px;
    width: 27px;
    height: 50px;
  }

  .mailing-list {
    padding: 25px;
  }

  .mailing-list-container {
    padding: 30px 0;
  }

  .inner-page-content img.alignnone,
  .inner-page-content img.aligncenter {
    display: block;
    margin: 5px auto 32px;
  }

  .inner-page-content img.alignleft {
    float: none;
    display: block;
    margin: 5px auto 32px;
  }

  .inner-page-content img.alignright {
    float: none;
    display: block;
    margin: 5px auto 32px;
  }

  .inner-page-content .wp-caption.alignleft {
    float: none;
    margin-right: auto;
  }

  .inner-page-content  .wp-caption.alignright {
    float: none;
    margin-left: auto;
  }

  .pag-cta-content h3 {
      font-size: 18px;
  }

  .pag-cta-content p {
    font-size: 14px;
  }

  .pag-cta-content .btn {
    font-size: 12px;
  }

  .pag-row-2 {
    height: 350px;
  }

  .pag-row-3 {
    height: 340px;
  }

  .pag-row-2 .pag-col-third:nth-of-type(1) {
    width: calc(99.99% * 6/8);
  }

  .pag-row-2 .pag-col-third:nth-of-type(2) {
    width: calc(99.99% * 2/8);
  }

  .pag-row-3 .pag-col-two-thirds:nth-of-type(1) {
    width: calc(99.99% * 2/8);
  }

  .pag-row-3 .pag-col-third:nth-of-type(2) {
    width: calc(99.99% * 6/8);
  }

  .pag-row img.rellax {
    transform: none !important;
    height: 100%;
  }

}




@media screen and (max-width: 550px) {

 .feature-block {
    width: 100%;
    margin-right: 0;
  }

  .gfield_checkbox li, .gfield_radio li {
    width: 100%;
    margin-right: 0;
  }

}

@media screen and (max-width: 480px) {

  .logo {
    max-width: 105px;
  }

  .header-right {
    padding-top: 5px;
  }

  .main-nav {
    top: 48px;
    height: calc(100vh - 48px);
  }

  .socials {
    padding-left: 11px;
  }

  .header-right-bottom {
    margin-left: 8px;
  }

  .home-banner h1 {
    font-size: 27px;
  }

  .home-banner p {
    font-size: 17px;
  }

}


.c-submissionItem {
  border-bottom: 1px solid #dbdbdb;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.c-submissionItem__title {
  display: flex;
  align-items: flex-start;
  grid-gap: 12px;
}

.c-submissionItem__title h3 {
  margin-bottom: 0;
  padding: 0;
}

.c-submissionItem__download {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.c-submissionItem__download:before {
  content: '';
  background: url('imgs/icon-download.svg') center center / 14px 14px;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  flex-shrink: 0;
}

.c-submissionItem__meta {
  color: #454545;
  display: block;
  font-size: 13px;
  padding-bottom: 10px;
  margin-top: 4px;
}



.c-pagination span:not(:last-child):after {
  content: '/';
  padding: 0 10px;
  color: #454545;
  font-weight: 400;
}

.c-pagination {
  padding-top: 10px;
}

.c-pagination a:not(:last-child):after {
  content: '/';
  padding: 0 10px;
  color: #454545;
}

.c-filters {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  grid-gap: 12px;
}

.c-clearFilter {
  font-size: 13px;
  margin-top: -24px;
  margin-bottom: 32px;
  display: block;
}

.c-filterGroup {
  position: relative;
  min-width: 0;
  width: 100%;
  transition: .3s z-index;
}

.c-filterGroup--active {
  z-index: 2;
}

.c-filterGroup__title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  padding: 0 40px;
  height: 50px;
  padding: 0 16px;
  background: #F4F2F2;
  border: 1px solid #e1e2e3;
  border-radius: 4px;
  color: #494949;
  transition: .3s background, .3s color, .3s border, .3s opacity;
}

.c-filterGroup__title:hover {
  color: #494949;
}

.c-filterGroup__title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  margin-right: 8px;
}

.c-filterGroup__title:after {
  content: '';
  background: url('imgs/icon-chevron-down.svg') center center / 12px 12px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: auto;
  transition: .3s tranform;
  display: block;
}

.c-filterGroup--active .c-filterGroup__title:after {
  transform: rotate(180deg);
}


.c-filterGroup__title span span {
  font-weight: 400;

}

ul.c-filterGroup__items {
  display: block !important;
  list-style-type: none;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  background: white;
  border-radius: 5px;
  display: block;
  border: 1px solid #e7e7e7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  max-height: 300px;
  width: 100%;
  overflow-y: auto;
  overflow-y: overlay;
  transition: .3s opacity, 0s visibility .3s, .3s transform;
  padding: 0;
}

.c-filterGroup__items li:before {
  display: none;
}

.c-filterGroup--active .c-filterGroup__items {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: translateY(-1px);
}


.c-filterGroup__items li {
  display: block;
  border-bottom: 1px solid #ececec;
  color: #323232;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 15px;
  position: relative;
  transition: .3s background;
  margin: 0;
}

.c-filterGroup__items li:hover, .c-filterGroup__item--active {
  background: #F4F2F2;
}

.c-filterGroup__items li:first-child {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.c-filterGroup__items li:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}


@media screen and (max-width: 980px) {
  .c-filters {
    flex-wrap: wrap;
  }

  .c-searchFilter {
    width: 100%;
  }

  .c-filterGroup:nth-of-type(2) {
    max-width: calc(100% - 62px);
  }

} 

.c-searchFilter input[type="text"] {
  border-radius: 4px;
  height: 50px;
  background: #F4F2F2;
  border: none;
  display: block;
  width: 100%;
  padding: 0 16px;
  margin: 0;
  border: 1px solid #e1e2e3;
}

.c-filters__submit {
  height: 50px;
  width: 50px;
  background: #76b639 url('imgs/icon-search.svg') no-repeat center center / 14px 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: .3s background;
  flex-shrink: 0;
}

.c-filters__submit:hover {
  background-color: #639830;
}

@media screen and (max-width: 600px) {
  .c-filters {
    margin-bottom: 20px;
  }
  
  .c-clearFilter {
    margin-top: -4px;
    margin-bottom: 20px;
  }
  
}