/*--------------------------------------------------------------
0.1 Keys
--------------------------------------------------------------*/

/**
 * Primary
 * HEX: #00AE58
 * RGBA: rgba( 0, 174, 88, 1 )
 *
 * Primary (Dark Variant)
 * HEX: #008b46
 * RGBA: rgba( 0, 139, 70, 1 )
 *
 * Secondary
 * HEX: #ec008c
 * RGBA: rgba( 236, 0, 140, 1 )
 *
 * Secondary (Dark Variant)
 * HEX: #c80077
 * RGBA: rgba( 200, 0, 119, 1 )
 */

/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/

@import url(fonts.css);

.trefoil-bg {
  background-color: #00AE58;
  background-image: url('../img/pattern_trefoil.png');
  background-image: url('../img/pattern_trefoil.svg');
  background-size: 25px 43px;
  background-repeat: repeat;
  background-position: center;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}

body {
  background: #ec008c;
  top: 0 !important;
}

/*--------------------------------------------------------------
1.1 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba( 0, 0, 0, 0.6 );
          box-shadow: 0 0 2px 2px rgba( 0, 0, 0, 0.6 );
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
1.2 Alignments
--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Aligned pullquotes */

.pull-right,
.pull-left {
  width: 100%;
  margin-bottom: 0 0 .5em 0;
}

.pull-right {
  float: right;
  text-align: right;
}

.pull-left {
  float: left;
  text-align: left;
}

@media screen and ( min-width: 40em ) {

  .pull-right,
  .pull-left {
    width: 50%;
  }

  .pull-right {
    margin: 0 0 .325em .5em;
  }

  .pull-left {
    margin: 0 .5em .325em 0;
  }
}

@media screen and ( min-width: 64em ) {

  .pull-right,
  .pull-left {
    width: 35%;
  }
}

/*--------------------------------------------------------------
1.3 Float Grid
    http://foundation.zurb.com/sites/docs/grid.html
--------------------------------------------------------------*/

/* Reset container max-width set by Foundation */
@media print, screen and ( min-width: 40em ) {
  .row,
  hr,
  .reveal,
  .reveal.tiny,
  .reveal.small,
  .reveal.large {
    max-width: 75rem
  }
}

address {
  font-style: inherit;
}

/*--------------------------------------------------------------
1.4 Forms
    http://foundation.zurb.com/sites/docs/forms.html
--------------------------------------------------------------*/

button,
input,
optgroup,
select,
textarea {
  /*font-family: "omnes-pro", Arial, "Helvetica Neue", Helvetica, sans-serif;*/
  font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

[type=color],
[type=date],
[type=datetime-local],
[type=datetime],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
textarea {
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

select {
  border: 1px solid #ddd;
  border-radius: 0;
}

/* Placeholder Text */

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #333333;
  opacity: 1;
  text-transform: lowercase;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #333333;
  opacity: 1;
  text-transform: lowercase;
}

:-ms-input-placeholder { /* IE 10+ */
  color: #333333;
  opacity: 1;
  text-transform: lowercase;
}

:-moz-placeholder { /* Firefox 18- */
  color: #333333;
  opacity: 1;
  text-transform: lowercase;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/

/*--------------------------------------------------------------
2.1 Typography Base
    http://foundation.zurb.com/sites/docs/typography-base.html
--------------------------------------------------------------*/

body {
  /*font-family: "omnes-pro", Arial, "Helvetica Neue", Helvetica, sans-serif;*/
  font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #222;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /*font-family: "omnes-pro", Arial, "Helvetica Neue", Helvetica, sans-serif;*/
  font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

h1 {
  font-weight: bold;
  text-transform: lowercase;
}

h2,
#tribe-geo-results h2.tribe-events-page-title,
h2.tribe-events-page-title,
.single-tribe_events .tribe-events-single-event-title {
  font-size: 1.5rem;
  text-transform: none;
  font-weight: 400;
}

h3,
.sidebar h2,
.accordion-title,
.tribe-events-schedule h2 {
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: lowercase;
  color: #222;
}

h4,
.sidebar h3 {
  color: #ec008c;
  font-weight: bold;
  text-transform: lowercase;
}

h5 {
}

h6 {
}

@media screen and ( min-width: 40em ) {

  h1 {
  }

  h2,
  #tribe-geo-results h2.tribe-events-page-title,
  h2.tribe-events-page-title,
  .single-tribe_events .tribe-events-single-event-title {
    font-size: 2rem;
  }

  h3,
  .sidebar h2,
  .accordion-title,
  .tribe-events-schedule h2 {
    font-size: 1.375rem;
  }

  h4,
  .sidebar h3 {
    font-size: 1rem;
  }

  h5 {
  }

  h6 {
  }
}

@media screen and ( min-width: 64em ) {

  h1 {
  }

  h2 {
  }

  h3 {
  }

  h4 {
  }

  h5 {
  }

  h6 {
  }
}

p {
}

pre {
  background: #F5F5F5;
  font-family: "Courier 10 Pitch", Courier, Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: "Courier 10 Pitch", Courier, Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 1.5rem;
}

blockquote,
blockquote p,
.pull-right,
.pull-left {
  color: #ec008c;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 1em;
  padding: 0;
  border: 0;
  position: relative;
  font-style: italic;
}

b,
strong {
  font-weight: 600;
}

/* Links */

a {
  color: #00AE58;
}

a:hover,
a:focus {
  color: #008b46;
}

a,
a span {
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out;
}

/* Dividers */

hr {
  background-color: #bbb;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
2.2 Typography Helpers
    http://foundation.zurb.com/sites/docs/typography-helpers.html
--------------------------------------------------------------*/

.highlight {
  background: #fff198;
}

.text-bold {
  font-weight: 600;
}

/*--------------------------------------------------------------
3.0 Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
3.1 Menu + Dropdown Menu + Topbar
    http://foundation.zurb.com/sites/docs/menu.html
    http://foundation.zurb.com/sites/docs/dropdown-menu.html
    http://foundation.zurb.com/sites/docs/top-bar.html
--------------------------------------------------------------*/

/* Primary nav menu */

.top-nav,
.secondary-nav {
  float: right;
}

.dropdown.menu .is-active > a {
  color: #008b46;
}

.dropdown.menu .menu-item:not(.cta) a {
  padding: .7rem;
}

/* Remove Foundation arrow from dropdown items */
.dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  display: none;
}
/* Adjust padding on parent items to compensate for missing arrow */
.dropdown.menu > li.is-dropdown-submenu-parent > a {
  padding-right: 1rem;
}

.top-nav .menu-item {
  font-weight: bold;
  color: #222;
  text-transform: uppercase;
}

.top-nav .menu-item a {
  color: #222;
}

.top-nav .menu-item a:hover {
  color: #00AE58;
}

.top-nav .cta {
  margin-left: 1rem;
}

.top-nav .cta a {
  color: #fff;
  background: #ec008c;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  -webkit-transform: perspective(1px) translateZ(0);
          transform: perspective(1px) translateZ(0);
  -webkit-box-shadow: 0 0 1px transparent;
          box-shadow: 0 0 1px transparent;
  -webkit-transition: .3s color;
          transition: .3s color;
}

.top-nav .cta a::before {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 4px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00AE58;
  -webkit-transition-duration: .3s;
          transition-duration: .3s;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  -webkit-transition-property: transform;
  -webkit-transition-property: -webkit-transform;
          transition-property: -webkit-transform;
          transition-property: transform;
          transition-property: transform, -webkit-transform;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
          transform-origin: 0 50%;
}

.top-nav .cta a:hover,
.top-nav .cta a:focus {
  color: #fff;
}

.top-nav .cta a:hover::before,
.top-nav .cta a:focus::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

/* Secondary nav menu */

.secondary-nav {
  float: left;
}

.secondary-nav .menu-item {
  display: block;
}

.secondary-nav .menu-item:last-child {
  margin-right: 0;
}

.secondary-nav .menu-item a {
  color: #ec008c;
  font-size: .925rem;
  font-weight: 500;
}

@media screen and ( min-width: 40em ) {
  .masthead .top-nav .is-dropdown-submenu,
  .masthead .top-nav.dropdown.menu > li.opens-right > .is-dropdown-submenu {
    top: 63px;
    border: 0;
    border: 1px solid #ddd;
    border-left: 4px solid #00AE58;
    padding: 8px 0;
    /* padding-left: 10px; */
  }

  .masthead .top-nav .is-dropdown-submenu .menu-item a,
  .masthead .top-nav.dropdown.menu > li.opens-right > .is-dropdown-submenu .menu-item a {
    padding: 12px 20px;
    -webkit-transition: .125s all;
            transition: .125s all;
  }

  .masthead .top-nav .is-dropdown-submenu .menu-item a:hover,
  .masthead .top-nav .is-dropdown-submenu .menu-item a:focus,
  .masthead .top-nav.dropdown.menu > li.opens-right > .is-dropdown-submenu .menu-item a:hover,
  .masthead .top-nav.dropdown.menu > li.opens-right > .is-dropdown-submenu .menu-item a:focus {
    background: #00AE58;
    color: #fff;
  }

  .masthead .top-nav .menu-item a {
    position: relative;
  }

  .masthead .top-nav .menu-item:not(.cta):not(.is-submenu-item) {
    display: block;
  }

  .masthead .top-nav .menu-item:not(.cta):not(.is-submenu-item) > a {
    position: relative;
    display: block;
  }

  .masthead .top-nav .menu-item:not(.cta):not(.is-submenu-item) > a::after {
    content: "";
    position: absolute;
    display: block;
    background: #ec008c;
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
            transform-origin: 0 50%;
    -webkit-transition-property: transform;
    -webkit-transition-property: -webkit-transform;
            transition-property: -webkit-transform;
            transition-property: transform;
            transition-property: transform, -webkit-transform;
    -webkit-transition-duration: .2s;
            transition-duration: .2s;
    -webkit-transition-timing-function: ease-out;
            transition-timing-function: ease-out;
    width: auto;
    height: .25rem;
    border: 0;
    margin-top: 0;
    top: 3.675rem;
    left: .7rem;
    right: .7rem;
  }

  .masthead .top-nav .menu-item:not(.cta):not(.is-submenu-item) > a:hover::after,
  .masthead .top-nav .menu-item:not(.cta):not(.is-submenu-item).is-active > a::after,
  .masthead .top-nav .current-menu-item.menu-item:not(.cta):not(.is-submenu-item) > a::after {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }

  .masthead .top-nav .is-dropdown-submenu {
    z-index: 2;
  }

  .secondary-nav .menu-item {
    display: inline-block;
    margin-right: 1em;
  }

  .secondary-nav {
    float: right;
  }
}

/*--------------------------------------------------------------
3.2 Breadcrumbs
    http://foundation.zurb.com/sites/docs/breadcrumbs.html
--------------------------------------------------------------*/

.breadcrumbs {
  margin: 0;
  background-color: #eee;
  padding: .75em;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.breadcrumbs a {
  color: #222;
}

.breadcrumbs .item.current {
  font-weight: 600;
  color: #00AE58;
}

/*--------------------------------------------------------------
4.0 Containers
--------------------------------------------------------------*/

/*--------------------------------------------------------------
4.1 Accordion
    http://foundation.zurb.com/sites/docs/accordion.html
--------------------------------------------------------------*/

.accordion,
.accordion-item {
  background: transparent;
}

.accordion-content {
  padding: 1rem 0;
  border: 0;
}

:last-child > .accordion-content:last-child {
  border-bottom: 0;
}

.accordion-title {
  padding: 1rem 0;
  color: #222;
  font-size: 1.125rem;
  border: 1px solid #bbb !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

.accordion-title::before {
  right: 0;
  font-weight: 300;
  color: #bbb;
}

.is-active > .accordion-title::before {
  color: #222;
}

.accordion-title:focus,
.accordion-title:hover {
  background-color: transparent;
  color: #222;
}

.accordion-item {
  margin-top: -1px;
}

.accordion-item .accordion-content > ul,
.accordion-item .accordion-content > ol {
  margin-bottom: 1rem;
}

.accordion-item .accordion-content > ul ul,
.accordion-item .accordion-content > ul ol,
.accordion-item .accordion-content > ol ul,
.accordion-item .accordion-content > ol ol {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
4.2 Table
    http://foundation.zurb.com/sites/docs/table.html
--------------------------------------------------------------*/

table {
  border: 0;
}

table tbody,
table tfoot,
table thead {
  border: 0;
}

table thead {
  background: #00AE58;
  color: #fff;
  text-transform: lowercase;
}

table tfoot td,
table tfoot th,
table thead td,
table thead th {
  padding: 1rem .5rem 1rem 1rem;
}

table tbody td,
table tbody th {
  padding: .625rem .5rem;
}

@media screen and ( min-width: 64em ) {

  table tbody td:first-child,
  table tbody th:first-child {
    padding-left: 1rem;
  }
}

/* Staff table */

@media screen and ( max-width: 63.9375em ) {

  .staff-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: .5em;
  }

  .staff-table thead {
    display: none;
  }
}

.staff-table,
.staff-table tbody,
.staff-table thead,
.staff-table tr {
  position: relative;
  display: block;
  width: 100%;
}

@media screen and ( min-width: 64em ) {

  .staff-table tr > * {
    display: inline-block;
    width: 25%;
    float: left;
  }

  .staff-table tr::after,
  .staff-table tr::before {
    display: table;
    content: ' ';
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
    -ms-flex-order: 1;
    -webkit-box-ordinal-group: 2;
             order: 1;
  }

  .staff-table tr::after {
    clear: both;
  }

  .staff-table .phone {
    width: 8.25rem;
    white-space: nowrap;
  }

  .staff-table tbody tr {
    background: #f1f1f1;
    -webkit-transition: .5s background ease-in;
            transition: .5s background ease-in;
  }

  .staff-table tbody tr.odd {
    background: #fff;
  }
}

/*--------------------------------------------------------------
4.3 Buttons
    http://foundation.zurb.com/sites/docs/button.html
--------------------------------------------------------------*/

.button,
button,
input[type="submit"] {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-family: inherit;
  padding: 1em 1.25em;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  line-height: 1;
  cursor: pointer;
  background-color: #00AE58;
  text-transform: uppercase;
  color: #fefefe;
  font-weight: 700;
  -webkit-transform: perspective(1px) translateZ(0);
          transform: perspective(1px) translateZ(0);
  -webkit-transition: .3s color;
          transition: .3s color;
}

.tribe-events-button {
  -webkit-transform: perspective(1px) translateZ(0);
          transform: perspective(1px) translateZ(0);
  -webkit-transition: .3s color;
          transition: .3s color;
}

.button::before,
button::before,
.tribe-events-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 3px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #008b46;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
          transform-origin: 0 50%;
  -webkit-transition-property: transform;
  -webkit-transition-property: -webkit-transform;
          transition-property: -webkit-transform;
          transition-property: transform;
          transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  color: #fff;
  background-color: #00AE58;
  /*background-color: #008b46;*/
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  color: #fff;
  background-color: #008b46;
}

.button:hover::before,
button:hover::before,
.tribe-events-button:hover::before,
.button:focus::before,
button:focus::before,
.tribe-events-button:focus::before {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

.button.square,
.button.square::before {
  border-radius: 0;
}

/* Secondary button */

.button.secondary {
  background-color: #ec008c;
  color: #fff;
}

.button.secondary::before {
  background-color: #c80077;
}

.button.secondary:hover,
.button.secondary:focus {
  background-color: #ec008c;
  color: #fff;
}

input[type="submit"].button.secondary:hover,
input[type="submit"].button.secondary:focus {
  color: #fff;
  background-color: #c80077;
}

/* Hollow button */

.button.hollow {
  border: 1px solid #ddd;
  color: #00AE58;
}

.button.hollow::before {
}

.button.hollow:hover,
.button.hollow:focus {
  border-color: #00AE58;
  color: #fff;
}

/* GS Button */
.gs-button {
  border-radius: 0;
}

.gs-button span {
  display: block;
  font-weight: 500;
  text-transform: none;
  font-style: italic;
  font-size: .925rem;
  margin-top: .25em;
  white-space: nowrap;
}

/* Reset for fancybox buttons */
button.fancybox-arrow:hover,
button.fancybox-arrow:focus {
  background: unset;
}

button.fancybox-arrow::before {
  display: none;
}

/* Reset for modal close buttons */
.reveal .close-button {
  background: 0;
  padding: .5rem;
  line-height: .56;
  display: block;
}

.reveal .close-button::before {
  display: none;
}

/*--------------------------------------------------------------
5.0 Layout
--------------------------------------------------------------*/

body:not(.home) #primary {
  padding: 2rem 0;
}

@media screen and ( min-width: 40em ) {
  body:not(.home) #primary {
    padding: 3rem 0;
  }
}

/*--------------------------------------------------------------
5.1 Off-Canvas Menu
    http://foundation.zurb.com/sites/docs/off-canvas.html
--------------------------------------------------------------*/

.hamburger-icon .menu-text {
  color: #000;
  float: left;
  font-size: 20px;
  line-height: 20px;
  text-transform: uppercase;
  padding: 0;
}

.hamburger-icon .lines {
  float: right;
  margin-left: 8px;
  width: 32px;
}

.hamburger-icon {
  display: block;
  float: right;
  margin-top: 16px;
  -webkit-transition: all 0.5s;
          transition: all 0.5s;
}

.hamburger-icon:focus {
  outline: medium none;
}

.hamburger-icon .line {
  background: #000 none repeat scroll 0 0;
  height: 4px;
  margin-bottom: 3px;
  -webkit-transition: all 0.5s ease 0s;
          transition: all 0.5s ease 0s;
}

.hamburger-icon .line:last-child {
  margin-bottom: 0;
}

.hamburger-icon[aria-expanded="true"] {
}

.hamburger-icon[aria-expanded="true"] .line:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(5px, 5px);
          transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.hamburger-icon[aria-expanded="true"] .line:nth-child(3) {
  -webkit-transform: rotate(-45deg) translate(5px, -5px);
          transform: rotate(-45deg) translate(5px, -5px);
}

.off-canvas {
  color: #fefefe;
  height: 100%;
  z-index: 10;
}

.off-canvas-wrapper,
.off-canvas-wrapper-inner {
  -webkit-backface-visibility: visible;
}

.off-canvas-content {
  background: none;
}

.off-canvas a {
  display: block;
  margin: 0;
}

.site-wrapper {
  background-color: #fff;
}

/*--------------------------------------------------------------
5.2 Header
--------------------------------------------------------------*/

.masthead {
  padding: .375rem 0;
  position: relative;
}

.masthead .site-id {
  margin-bottom: 0;
}

.masthead .secondary-nav {
  margin-bottom: 0;
  margin-left: 0;
}

@media screen and ( min-width: 40em ) {
  .masthead {
    padding: .75rem 0;
  }
}

@media screen and ( min-width: 64em ) {

  .masthead {
    padding: 1rem 0;
  }

  .masthead .secondary-nav {
    margin-bottom: 1rem;
  }
}

.masthead::after {
  content: '';
  position: absolute;
  width: 100%;
  height: .375rem;
  background: rgba( 255, 255, 255, 0.5 );
  bottom: -.375rem;
  z-index: 1;
}

.masthead .site-logo {
  max-height: 90px;
}

.masthead .site-logo.size-small {
  max-height: 52px;
}

.masthead .site-logo.size-medium {
  max-height: 52px;
}

/* Search toggle */

.masthead .search-toggle {
  padding: .2em .25em .25em;
  background: none;
  color: #222;
  float: right;
  margin-left: .375em;
  font-size: 1.5rem;
}

.masthead .search-toggle::before {
  display: none;
}

.masthead .search-toggle:hover,
.masthead .search-toggle:focus {
  color: #00AE58;
}

@media screen and ( max-width: 39.9375em ) {

  .masthead .search-toggle {
    margin-right: 45px;
    margin-top: 9px;
  }
}

/* Search Box */

.search-bar {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 100;
  background: rgba( 255, 255, 255, .95 );
  border-bottom: 1px solid #bbb;
  border-top: 1px solid #bbb;
  -webkit-box-shadow: 0 8px 10px rgba( 0, 0, 0, .125 );
          box-shadow: 0 8px 10px rgba( 0, 0, 0, .125 );
  padding: 50px;
}

.search-bar .search-button {
  font-size: 24px;
  padding: 10px 24px;
  margin-top: 0;
  font-style: normal;
  float: right;
  line-height: 1;
  border-radius: 0;
  width: 35%;
}

.search-bar .search-text {
  background: #fff;
  border: 1px solid #ddd;
  border-collapse: collapse;
  border-right: 0;
  display: inline-block;
  width: 65%;
  font-size: 20px;
  color: #222;
  line-height: 1;
  font-style: normal;
  padding: 10px;
  height: auto;
  min-height: 36px;
}

.search-bar .search-text:focus {
  outline: none;
}

@media screen and ( min-width: 40em ) {
  .search-bar .search-text {
    width: 70%;
    min-height: 46px;
  }

  .search-bar .search-button {
    width: 30%;
    border-radius: 0;
  }
}

@media screen and ( min-width: 64em ) {
  .search-bar .search-text {
    width: 80%;
  }

  .search-bar .search-button {
    width: 20%;
    border-radius: 0;
  }
}

@media only screen and (max-width: 39.9375em) {
  .search-bar {
    padding: 10px;
  }

  .search-bar .search-text {
    font-size: 13px;
    line-height: 1em;
    padding: 10px 10px 9px;
  }

  .search-bar .search-button {
    font-size: 14px;
    line-height: 1em;
  }
}

/* Spanish reveal */

@media screen and ( max-width: 39.9375em ) {
  .spanish-reveal .close-button {
    top: 100px;
    width: 100%;
    text-align: center;
    display: block;
    left: 0;
  }

  .spanish-reveal .close-button .close-text {
    font-size: 1.5rem;
  }
}

.goog-te-banner-frame {
  bottom: 0px;
  top: auto !important;
}

/* Navigation toggle icon */

.masthead .nav-toggle {
  height: 4rem;
  width: 50px;
  margin: 0;
  border: 1px solid transparent !important;
  -webkit-appearance: button;
  -webkit-transition: all 0.2s cubic-bezier( 0.2, 0.3, 0.25, 0.9 ) 0s;
          transition: all 0.2s cubic-bezier( 0.2, 0.3, 0.25, 0.9 ) 0s;
  cursor: pointer;
  top: 0;
  right: .5rem;
  outline: 0;
  padding: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  background-color: transparent !important;
  cursor: pointer;
  position: absolute;
  z-index: 9999;
}

.nav-open .masthead .nav-toggle {
  position: fixed;
}

.masthead .nav-toggle::before {
  display: none;
}

.masthead .nav-toggle .icon-bar {
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 6px;
  margin: auto -4px;
  left: calc( 50% + 1px );
  top: calc( 50% - 3px );
  background: #222;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  -webkit-transition: all 0.25s ease 0ms;
  transition: all 0.25s ease 0ms;
}

.masthead .nav-toggle .icon-bar + .icon-bar {
  margin-left: 8px;
}

.masthead .nav-toggle .icon-bar:nth-of-type(3) {
  margin-left: -16px;
}

.masthead .nav-toggle .icon-bar:nth-of-type(2) {
  margin-left: -4px;
}

.masthead .nav-toggle.active {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.masthead .nav-toggle.active:hover,
.masthead .nav-toggle.active:focus {
  background: transparent;
}

.masthead .nav-toggle.active .icon-bar {
  background: #00AE58;
}

.masthead .nav-toggle.active .icon-bar:nth-of-type(1) {
  -webkit-transform: scale(1, 1) rotate(45deg) translate(0, 0);
          transform: scale(1, 1) rotate(45deg) translate(0, 0);
  width: 3.5px;
  height: 30px;
  top: calc(50% - 15px);
  -webkit-transition: all 0.25s ease 0.25s;
          transition: all 0.25s ease 0.25s;
}

.masthead .nav-toggle.active .icon-bar:nth-of-type(2) {
  -webkit-transform: scale(1, 1) rotate(-45deg) translate(0, 0);
          transform: scale(1, 1) rotate(-45deg) translate(0, 0);
  width: 3.5px;
  height: 30px;
  top: calc(50% - 15px);
  -webkit-transition: all 0.25s ease 0.125s;
          transition: all 0.25s ease 0.125s;
}

.masthead .nav-toggle.active .icon-bar:nth-of-type(3) {
  opacity: 0;
  -webkit-transform: scale(0, 0) rotate(0) translate(0, 8px);
          transform: scale(0, 0) rotate(0) translate(0, 8px);
}

.masthead .nav-toggle.active .icon-bar:nth-of-type(4) {
  -webkit-transform: scale(0, 0) rotate(0) translate(0, -8px);
          transform: scale(0, 0) rotate(0) translate(0, -8px);
}

body.logged-in.nav-open .masthead .nav-toggle {
  top: 32px;
}

@media screen and ( max-width: 39.9375em ) {
  body.logged-in.nav-open .masthead .top-nav {
    padding-top: 60px;
  }
}

@media screen and ( max-width: 782px ) {
  body.logged-in.nav-open .masthead .nav-toggle {
      top: 48px;
  }
  body.logged-in.nav-open .masthead .top-nav {
    padding-top: 76px;
  }
}

/** MAKE THE TOGGLE VERTICAL **/
/*.masthead .nav-toggle {
  height: 64px;
  width: 40px;
  right: 0;
  padding: 0;
  top: 0;
}
.masthead .nav-toggle .icon-bar {
  margin: -4px -4px;
  left: calc( 50% + 1px );
  top: calc( 50% + 1px );
  background: #222;
}
.masthead .nav-toggle .icon-bar + .icon-bar {
  margin-left: -4px;
  margin-top: 8px;
}
.masthead .nav-toggle .icon-bar:nth-of-type(3) {
  margin-left: -4px;
  margin-top: -16px;
}
.masthead .nav-toggle .icon-bar:nth-of-type(2) {
  margin-left: -4px;
  margin-top: -4px;
}*/
/** END VERTICAL TOGGLE **/

/* Mobile menu */

@media screen and ( max-width: 39.9375em ) {
  .masthead .top-nav-container {
    position: fixed;
    overflow: scroll;
    right: 0;
    max-width: 320px;
    width: 96vw;
    height: 100vh;
    margin: 0;
    -webkit-transform: translate3d(111%, 0%, 0px);
            transform: translate3d(111%, 0%, 0px);
    -webkit-transition: all 200ms cubic-bezier(0.61, 0.92, 0.68, 1.14) 0s;
    transition: all 200ms cubic-bezier(0.61, 0.92, 0.68, 1.14) 0s;
    background: white;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
            box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
    z-index: 999;
    top: 0;
  }

  .nav-open .masthead .top-nav-container {
    -webkit-transform: translate3d(40px, 0, 0);
            transform: translate3d(40px, 0, 0);
  }

  .masthead .top-nav {
    display: block;
    margin: 0;
    float: left;
    width: 100%;
    padding-top: 28px;
    padding-left: 1.5rem;
  }

  .masthead .secondary-nav {
    padding-left: 1.5rem;
  }

  .masthead .dropdown.menu .menu-item:not(.cta) a {
    padding: 0;
  }

  .masthead .top-nav .cta {
    margin: 0;
  }

  .masthead .top-nav .menu-item {
    margin-bottom: 1em;
    max-width: 176px;
  }

  .masthead .is-dropdown-submenu {
    position: relative;
    display: block;
    border: 0;
    margin-top: 1em;
    padding-left: .5em;
    overflow: hidden;
    margin-top: 0;
    visibility: hidden;
    -webkit-transition: .3s all ease-in-out;
    transition: .3s all ease-in-out;
    height: 0;
  }

  .masthead .is-dropdown-submenu.is-visible {
    margin-top: 1em;
    visibility: visible;
    height: auto;
  }

  .masthead .is-dropdown-submenu .menu-item {
    max-width: 168px;
    text-transform: none;
    font-weight: 500;
  }

  .masthead .is-dropdown-submenu .menu-item a {
    color: #999;
  }

  .masthead .menu-item-toggle {
    position: absolute;
    top: -.5rem;
    right: 0;
    line-height: 1.25;
    display: block;
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
    -webkit-transition: .3s all;
    transition: .3s all;
    z-index: 1;
    font-size: .75rem;
    cursor: pointer;
    padding: .5rem;
  }

  span.menu-item-toggle.selected {
    -webkit-transform: none;
            transform: none;
  }
}

@media screen and ( min-width: 40em ) {
  .masthead .menu-item-toggle {
    display: none;
  }
}

@media screen and ( min-width: 40em ) and ( max-width: 49.9375em ) {

  .masthead .dropdown.menu .menu-item:not(.cta) a {
    padding: .7rem .35rem;
  }

  .masthead .dropdown.menu .menu-item {
    font-size: .875rem;
  }

  .masthead .top-nav .cta {
    margin-left: .5rem;
  }

  .masthead .top-nav .cta a {
    padding: .7rem .75rem;
  }
}

@media screen and ( min-width: 50em ) and ( max-width: 59.9375em ) {

  .masthead .dropdown.menu .menu-item:not(.cta) a {
    padding: .75rem .5rem;
  }

  .masthead .dropdown.menu .menu-item {
    font-size: .925rem;
  }

  .masthead .top-nav .cta {
    margin-left: .675rem;
  }

  .masthead .top-nav .cta a {
    padding: .75rem 1rem;
  }
}

/*--------------------------------------------------------------
5.3 Front Page
--------------------------------------------------------------*/

/* Home slider */

.home-slider {
  z-index: 0;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.home-slider::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3em;
  height: 5rem;
  width: 100%;
  z-index: -2;
  background: #fff;
  overflow: hidden;
  -webkit-filter: drop-shadow( 0 0 25px rgba( 0,0,0,0.75 ) );
          filter: drop-shadow( 0 0 25px rgba( 0,0,0,0.75 ) );
          /* filter: url(#drop-shadow); */
      -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow( OffX=0, OffY=0, Color='#444' )";
          filter: "progid:DXImageTransform.Microsoft.Dropshadow( OffX=0, OffY=0, Color='#444' )";
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d !important;
  -webkit-transform: skewY(-2.5deg);
          transform: skewY(-2.5deg);
}

.home-slider .slide .content-container {
  color: #fff;
  padding: 0 0 2em;
}

.home-slider .slide .content-container h2 {
  font-weight: 800;
  line-height: 1;
  margin-bottom: .25em;
  text-transform: lowercase;
}

.home-slider .slide .image-container {
  border: 8px solid #fff;
  -webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
          box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
  margin-bottom: 1em;
}

.slick-prev,
.slick-next {
  background: transparent;
  z-index: 1;
  margin-top: -20px;
  width: 28px;
  height: 33px;
}

.slick-prev::before,
.slick-next::before {
  position: relative;
  background: transparent;
  -webkit-transition: .5s all ease-in-out;
  transition: .5s all ease-in-out;
  opacity: .625;
  font-family: 'fontawesome';
  font-size: 2rem;
}

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

.slick-prev::before {
  content: '\f060';
}

.slick-next:before {
  content: '\f061';
}

@media screen and ( min-width: 40em ) {

  .home-slider {
    padding: 4rem 0;
  }

  .home-slider::before {
    bottom: -13em;
    height: 20rem;
  }

  .home-slider .slide .content-container {
    padding: 4em 0 2em;
  }

  .home-slider .slide .content-container h2 {
    font-size: 2.5rem;
  }

  .home-slider .slide .content-container p {
    font-size: 1.125rem;
  }
}

@media screen and ( min-width: 90em ) {

  .slick-prev {
    left: 60px;
  }

  .slick-next {
    right: 60px;
  }

}

@media screen and ( min-width: 100em ) {

  .slick-prev {
    left: 80px;
  }

  .slick-next {
    right: 80px;
  }
}

@media screen and ( max-width: 79.9375em ) {

  .slick-prev::before,
  .slick-next::before {
    display: none;
  }
}

/* Featured Links */

.home-featured-links {
  padding: 1em 0 5em;
}

.home-featured-links .row {
  max-width: 82em;
}

.home-featured-links .row .columns:not(:last-child) .block {
  margin-bottom: 1em;
}

.home-featured-links .block {
  text-align: center;
}

.home-featured-links .block h3 {
  font-size: 3em;
  font-weight: 500;
  color: #00AE58;
  margin-bottom: 0;
}

.home-featured-links .block h4 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #222;
  text-transform: none;
}

.home-featured-links .block hgroup {
  margin-bottom: 1em
}

.home-featured-links .block p {
  color: #222;
  font-weight: normal;
}

.home-featured-links .block p:last-of-type {
  margin-bottom: 0;
}

.home-featured-links .block .image-container {
  position: relative;
  width: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 8px solid #fff;
  -webkit-box-shadow: 0 0 10px rgba( 0, 0, 0, 0.6 );
          box-shadow: 0 0 10px rgba( 0, 0, 0, 0.6 );
  margin: 0 auto;
  border-radius: 999px
}

.home-featured-links .block .image-container::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.home-featured-links .block {
  padding: 3em 2em;
  padding-bottom: 5.5em;
  -webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 0.25 );
          box-shadow: 0 0 20px rgba( 0, 0, 0, 0.25 );
  -webkit-transition: .5s all;
          transition: .5s all;
  position: relative;
}

.home-featured-links .block:hover,
.home-featured-links .block:focus {
  background-color: #fff;
  -webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 0.25 );
          box-shadow: 0 0 20px rgba( 0, 0, 0, 0.25 );
  -webkit-transform: scale(1.01);
          transform: scale(1.01);
}

.home-featured-links .block .learn-more {
  width: 100%;
  padding: 1.25em 0;
  display: block;
  height: auto;
  background-color: #ec008c;
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out
}

@media screen and ( min-width: 40em ) {

  .home-featured-links .columns:not(:last-child) {
    border-right: 1px solid #ddd;
  }

  .home-featured-links .block .learn-more {
    padding: 1.25em 0;
    display: block;
    height: auto;
    position: absolute;
    bottom: -4rem;
  }

  .home-featured-links .block:hover .learn-more,
  .home-featured-links .block:focus .learn-more {
    bottom: -2rem;
  }

  .home-featured-links .block {
    overflow: hidden;
    padding-bottom: 3em;
    -webkit-box-shadow: none;
            box-shadow: none;
  }

  .home-featured-links .block:hover,
  .home-featured-links .block:focus {
    overflow: visible;
    /*padding-bottom: 5.5em;*/
  }

  .home-featured-links .row .columns:not(:last-child) .block {
    margin-bottom: 0;
  }
}

.home-featured-links {
  border-bottom: 1px solid #ddd;
}

/* Blog and Events feed */

.home-feed {
  padding: 2em 0;
}

.home-feed h2 {
  color: #c3c3c3;
  border-bottom: 1px solid #ddd;
  font-weight: 800;
  text-transform: lowercase;
  margin-bottom: 1em;
}

@media screen and ( max-width: 39.9375em ) {

  .home-feed .columns:not(:first-child) h2 {
    margin-top: 1em;
  }
}

@media screen and ( min-width: 40em ) {

  .home-feed {
    padding: 4em 0 2em;
  }

  .home-feed > .row > .columns:first-child {
    padding-right: 5em;
  }

  .home-feed .button {
    font-size: 1.25rem;
  }
}

.home-feed .button {
  margin-top: 2rem;
  padding: 1.5em;
}

/* Events feed */

.home-feed .events-container .row .columns:first-child {
  width: 13%;
  background: #00AE58;
}

.home-feed .events-container .row .columns:last-child {
   width: 87%;
}

@media screen and ( min-width: 40em ) and ( max-width: 53.9375em ) {

  .home-feed .events-container .row .columns:first-child {
    width: 25%;
  }

  .home-feed .events-container .row .columns:last-child {
    width: 75%;
  }
}

@media screen and ( min-width: 54em ) and ( max-width: 63.9375em ) {

  .home-feed .events-container .row .columns:first-child {
      width: 20%;
  }

  .home-feed .events-container .row .columns:last-child {
       width: 80%;
  }
}

.home-feed .events-container article .date {
  color: #fff;
  text-align: center;
  padding: .5rem 0;
}

.home-feed .events-container article .date * {
  display: block;
  line-height: 1;
}

.home-feed .events-container article .date .day {
  font-size: 2.5rem;
}

.home-feed .events-container article .date .month {
  text-transform: uppercase;
  font-weight: 600;
}

.home-feed .events-container article .event-details {
  background: #f5f5f5;
  padding: .75em;
}

.home-feed .events-container article .event-details p {
  margin: 0;
  color: #777;
}

.home-feed .events-container article .event-details h3 {
  text-transform: none;
  font-weight: 500;
  margin-bottom: .125em;
  line-height: 1;
}

.home-feed .events-container article:nth-child(even) .date {
  background: #008b46;
}

.home-feed .events-container article:nth-child(even) .event-details {
  background: #fff;
}

/* Blog feed */

.home-feed .blog-container article .entry-thumb {
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-feed .blog-container article .entry-thumb::after {
  content: "";
  display: block;
  padding-bottom: 50%;
}

.home-feed .blog-container article .entry-title {
  font-weight: 500;
  text-transform: none;
  margin-bottom: 0;
}

@media screen and ( min-width: 40em ) {

  .home-feed .blog-container article .entry-title {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
5.4 Regular Content
--------------------------------------------------------------*/

.page-header {
  padding: 1rem 0;
}

@media screen and ( min-width: 40em ) {
  .page-header {
    padding: 2rem 0;
  }
}

.page-header h1,
.page-header h2 {
  color: #fff;
}

.entry-content h3 {
  text-transform: none;
}

main .entry-header .wp-post-image {
  margin-bottom: 1rem;
  border: 8px solid #fff;
  -webkit-box-shadow: 0 0 3px rgba( 0, 0, 0, 0.325 );
          box-shadow: 0 0 3px rgba( 0, 0, 0, 0.325 );
}

/* Hero image */

.page-header.hero {
  text-align: center;
  background-color: #00AE58;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 5rem 0;
  max-height: 12rem;
}

.page-header.hero .page-title {
  font-size: 2rem;
}

@media screen and ( min-width: 40em ) {

  .page-header.hero {
    padding: 12rem 0;
    max-height: 30rem;
  }

  .page-header.hero .page-title {
    font-size: 3.5rem;
  }
}

@media screen and ( min-width: 64em ) {

  .page-header.hero {
    padding: 15.5rem 0;
    max-height: 38rem;
  }

  .page-header.hero .page-title {
    font-size: 4.5rem;
  }
}

/* Post Navigation */

.pagination .nav-links .page-numbers {
  display: inline-block;
  height: 40px;
  width: 40px;
  text-align: center;
  border: 1px solid #ddd;
  margin-right: .75rem;
  border-radius: 0;
  color: #aaa;
  font-size: 1.25rem;
}

.pagination .nav-links .page-numbers.current, .nav-links .page-numbers:hover {
  color: #fff;
  font-weight: 600;
  background: #00AE58;
  border-color: #00AE58;
}

/*--------------------------------------------------------------
5.5 Blog Posts
--------------------------------------------------------------*/

article .ellipsis {
  display: inline-block;
  margin-left: .325em;
  margin-right: .325em;
}

article .read-more {
  font-weight: 500;
  white-space: nowrap;
}

article .entry-meta {
  font-weight: 400;
  text-transform: none;
  color: #777;
  font-style: italic;
}

/*--------------------------------------------------------------
5.5.1 Blog Archive
--------------------------------------------------------------*/

.blog main article,
.category main article,
.tag main article,
.archive.date main article {
  border: 1px solid #ddd;
  margin-bottom: 2rem;
}

.blog main article:last-of-type,
.category main article:last-of-type,
.tag main article:last-of-type,
.archive.date main article:last-of-type {
  margin-bottom: 1rem;
}

.blog main article .entry-thumb,
.category main article .entry-thumb,
.tag main article .entry-thumb,
.archive.date main article .entry-thumb {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog main article .entry-thumb::after,
.category main article .entry-thumb::after,
.tag main article .entry-thumb::after,
.archive.date main article .entry-thumb::after {
  content: "";
  display: block;
  padding-bottom: 50%;
}

.blog main article .entry-header,
.category main article .entry-header,
.tag main article .entry-header,
.archive.date main article .entry-header {
  padding: 1rem 1rem 0;
}

.blog main article .entry-title,
.category main article .entry-title,
.tag main article .entry-title,
.archive.date main article .entry-title {
  margin-bottom: 0;
}

.blog main article .entry-title,
.category main article .entry-title,
.tag main article .entry-title,
.archive.date main article .entry-title,
.blog main article .entry-title a,
.category main article .entry-title a,
.tag main article .entry-title a,
.archive.date main article .entry-title a {
  color: #222;
}

.blog main article .entry-summary,
.category main article .entry-summary,
.tag main article .entry-summary,
.archive.date main article .entry-summary {
  padding: 0 1rem;
}

@media screen and ( min-width: 40em ) {

  .blog main article .entry-header,
  .category main article .entry-header,
  .tag main article .entry-header,
  .archive.date main article .entry-header {
    padding: 2rem 2rem 0;
  }

  .blog main article .entry-summary,
  .category main article .entry-summary,
  .tag main article .entry-summary,
  .archive.date main article .entry-summary {
    padding: 0 2rem 1rem;
  }
}

/*--------------------------------------------------------------
5.5.2 Single Blog Article
--------------------------------------------------------------*/

.single article .entry-thumb {
  margin-bottom: .5rem;
}

.single article .entry-meta {
  border-bottom: 1px solid #ddd;
  padding-bottom: .5em;
  margin-bottom: .5em;
  font-size: .95rem;
  position: relative;
}

.single article .entry-meta .social {
  position: absolute;
  top: -4px;
  right: 0;
}

.single article .entry-tags {
  line-height: 1;
  padding-top: 5px;
  text-transform: uppercase;
  font-weight: 500;
  color: #bbb;
  border-top: 1px solid #ddd;
  margin-bottom: 0;
  margin-top: 2rem;
}

/*--------------------------------------------------------------
5.6 Events
--------------------------------------------------------------*/

/* General Tribe Events Styles */

#tribe-events .tribe-events-button,
.tribe-events-button {
  position: relative;
  letter-spacing: 0;
  border-radius: 4px;
  background-color: #ec008c;
}

#tribe-events .tribe-events-button:hover,
.tribe-events-button:hover {
  background-color: #ec008c;
}

/* Calendar Styles */

#tribe-bar-form label {
  font-size: 1rem;
  color: #222;
}

#tribe-bar-form input[type=text] {
  font-size: 1.125rem;
}

#tribe-bar-form input[type=text]::-webkit-input-placeholder{
  text-transform: none;
}

#tribe-bar-form input[type=text]::-moz-placeholder{
  text-transform: none;
}

#tribe-bar-form input[type=text]:-ms-input-placeholder{
  text-transform: none;
}

#tribe-bar-form input[type=text]:-moz-placeholder  {
  text-transform: none;
}

.tribe-bar-filters .tribe-events-button {
  width: 100%;
  border-radius: 0 !important;
  font-size: 1rem !important;
  padding: 18px 6px !important;
}

.events-archive.events-gridview #tribe-events-content table .type-tribe_events {
  margin: 0;
}

.events-archive.events-gridview #tribe-events-content table .type-tribe_events:hover {
  background-color: #ec008c;
  color: #fff !important;
}

.events-archive.events-gridview #tribe-events-content table .type-tribe_events a {
  color: #222;
  font-weight: 500;
  font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: normal;
  -webkit-transition: unset;
          transition: unset;
}

.events-archive.events-gridview #tribe-events-content table .type-tribe_events:hover a {
  color: #fff;
}

.tribe-events-calendar div[id*=tribe-events-daynum-],
.tribe-events-calendar div[id*=tribe-events-daynum-] a {
  font-weight: 600;
}

#tribe-events table tbody tr:nth-child(even) {
  background-color: unset;
}

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

  .tribe-filters-closed #tribe_events_filters_wrapper.tribe-events-filters-vertical {
    height: auto !important;
  }

  #tribe_events_filter_control a {
    height: auto !important;
  }

  .tribe-mobile #tribe_events_filters_wrapper.tribe-events-filters-vertical {
    margin-bottom: 1em;
  }
}

#tribe-events-content .tribe-events-tooltip h4,
#tribe_events_filters_wrapper .tribe_events_slider_val,
.single-tribe_events a.tribe-events-gcal,
.single-tribe_events a.tribe-events-ical {
  color: #00AE58;
  text-transform: none;
}

.tribe-events-tooltip .tribe-events-event-body .tribe-event-duration {
  margin-bottom: .5em;
  font-style: italic;
  border-bottom: 1px solid #ddd;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a,
.tribe-events-back a,
.tribe-events-list-widget .tribe-events-widget-link a,
ul.tribe-events-sub-nav a {
  font-weight: 600;
  color: #ec008c;
}

.tribe-events-adv-list-widget .tribe-events-widget-link a:hover,
.tribe-events-back a:hover,
.tribe-events-list-widget .tribe-events-widget-link a:hover,
ul.tribe-events-sub-nav a:hover {
  color: #c80077;
}

.post-type-archive-tribe_events #tribe-events .tribe-events-ical.tribe-events-button {
  border-radius: 0;
  background-color: #ec008c;
  font-weight: 600;
  padding: 1em 1.5em;
  height: auto !important;
}

#tribe-events .tribe-events-ical.tribe-events-button::first-letter {
  font-weight: 800;
}

.tribe-bar-views-inner {
  padding: 19px 0 45px;
}

.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a {
  background-color: #00AE58;
}

.datepicker td, .datepicker th {
  border-radius: 0 !important;
}

.datepicker table thead {
    background: #eee;
    border: 1px solid #ddd !important;
}

.datepicker table thead tr {
    border-bottom: 1px solid #ddd !important;
}

.datepicker table thead tr th:not(:last-child) {
    border-right: 1px solid #ddd;
}

.datepicker table thead tr th {
    color: #222;
    font-weight: 600;
    font-size: 1rem;
}

.datepicker {
    font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.datepicker.dropdown-menu {
    font-family: "Trefoil Sans Web", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

#tribe-events #tribe_events_filters_wrapper {
    background-color: #f5f5f5;
}

#tribe-events #tribe_events_filter_control {
  margin: 0;
}

.tribe-events-filter-view.tribe-filters-closed #tribe_events_filter_control {
  text-align: center;
}

.tribe-events-filter-view.tribe-filters-closed #tribe_events_filters_wrapper #tribe_events_filters_toggle {
  border: 0;
}

.tribe-filters-closed .tribe-events-filters-content {
  border: 0;
  text-align: center;
}

#tribe-events #tribe_events_filters_toggle {
  font-size: 1rem;
  font-weight: 600;
  color: #ec008c;
  padding: 1em;
}

#tribe-events #tribe_events_filters_wrapper label.tribe-events-filters-label {
  font-weight: 600;
  text-transform: lowercase;
  font-size: 1rem;
}

#tribe-events #tribe_events_filters_wrapper .tribe-events-filters-group-heading {
  font-weight: 500;
  text-transform: uppercase;
  font-size: .875rem;
}

#tribe_events_filters_wrapper h3,
#tribe_events_filters_wrapper input,
#tribe_events_filters_wrapper label,
#tribe_events_filters_wrapper select,
#tribe_events_filters_wrapper ul {
  font-size: 1rem;
  font-weight: 300;
}

#tribe_events_filters_reset {
  text-transform: uppercase;
  font-weight: 500;
}

#tribe_events_filters_wrapper.tribe-events-filters-vertical {
  padding-bottom: 0 !important;
}

.tribe_events_filter_item + button {
  margin-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.tribe-events-notices {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 0;
  color: #777;
}

.tribe-events-notices strong {
  color: #008b46;
}

#tribe-events-content .tribe-events-calendar .mobile-active:hover,
#tribe-events-content .tribe-events-calendar td.tribe-events-othermonth.mobile-active,
#tribe-events-content .tribe-events-calendar td.tribe-events-othermonth.mobile-active div[id*=tribe-events-daynum-],
#tribe-events-content .tribe-events-calendar td.tribe-events-othermonth.mobile-active div[id*=tribe-events-daynum-] a,
.tribe-events-calendar .mobile-active div[id*=tribe-events-daynum-],
.tribe-events-calendar .mobile-active div[id*=tribe-events-daynum-] a,
.tribe-events-calendar td.mobile-active {
  background-color: #00AE58;
}

/* Unfortunate Tribe Events media query :( */
@media only screen and ( max-width: 768px ) {

  .tribe-events-sub-nav li a {
    color: #fff !important;
  }

  #tribe_events_filters_wrapper.tribe-events-filters-vertical {
    padding-bottom: 1rem !important;
  }
}

@media screen and ( min-width: 64em ) {

  #tribe-events-content table.tribe-events-calendar {
    font-size: 1rem;
  }

  .tribe-events-calendar thead th {
    padding: .5em 0;
  }

  .events-archive.events-gridview #tribe-events-content table .type-tribe_events a {
    font-size: 1rem;
  }

  .tribe-events-calendar div[id*=tribe-events-daynum-],
  .tribe-events-calendar div[id*=tribe-events-daynum-] a {
    font-size: 1rem;
  }

  .tribe-events-tooltip .tribe-events-event-body {
    font-size: .875rem;
  }

  .tribe-events-tooltip .tribe-events-event-body .tribe-event-duration {
    font-size: .75rem;
  }

  .tribe-events-adv-list-widget .tribe-events-widget-link a,
  .tribe-events-back a,
  .tribe-events-list-widget .tribe-events-widget-link a,
  ul.tribe-events-sub-nav a {
    font-size: 1rem;
  }

  .post-type-archive-tribe_events #tribe-events .tribe-events-ical.tribe-events-button {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
5.7 Photo Gallery
--------------------------------------------------------------*/

/*--------------------------------------------------------------
5.8 Pages
--------------------------------------------------------------*/

/**
 * Staff Directory page
 * http://gsmidtn.org/about-us/staff-directory/
 */

/* Filters */

.staff-department-filter .label {
  display: block;
  padding: .5rem;
  font-size: 1rem;
  height: 2.4375rem;
  line-height: 1.5;
  border: 1px solid #ddd;
  border-radius: 0;
  border-right: 0;
  background-color: #fff;
  color: #222;
  text-transform: lowercase;
  padding-left: 1rem;
}

.staff-department-filter select {
  border-radius: 0;
  border: 1px solid #ddd;
  background-color: #eee;
  text-transform: lowercase;
  color: #00AE58;
  font-weight: 600;
  padding-left: 1rem;
}

.staff-search-field {
  border-radius: 0;
  border: 1px solid #ddd;
  background-image: url('../img/icon_search.png');
  background-image: url('../img/icon_search.svg');
  background-size: 39px 39px;
  background-position: right center;
  background-repeat: no-repeat;
}

/**
 * Photo Gallery Page Template
 */
.gallery-page article .photo,
.single-photo-gallery .photo {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  border: 8px solid #fff;
  margin-bottom: .5em;
  -webkit-box-shadow: 0 0 2px rgba( 0, 0, 0, 0.25 );
          box-shadow: 0 0 2px rgba( 0, 0, 0, 0.25 );
}

.gallery-page article .photo::after,
.single-photo-gallery .photo::after {
  content: "";
  display: block;
  padding-bottom: 60%;
}

.gallery-page article {
  margin-bottom: 3em;
}

.gallery-page article h3 {
  font-weight: 500;
  text-transform: none;
}

.single-photo-gallery .photo {
  margin-bottom: 2em;
}

/**
 * Join Us Page Template
 * http://gsmidtn.org/join-us/
 */

/* Buttons */

.join-us .join-buttons .button {
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.join-us .join-buttons .button span {
  display: block;
  font-weight: 500;
  text-transform: none;
  font-style: italic;
  font-size: .925rem;
  margin-top: .25em;
  white-space: nowrap;
}

.join-us .join-buttons .button.hollow span {
  color: #222;
  font-weight: 400;
}

.join-us .join-buttons .button.hollow:hover span,
.join-us .join-buttons .button.hollow:focus span {
  color: #fff;
  font-weight: 500;
}

@media screen and ( min-width: 64em ) {
  .join-us .join-buttons .column {
    padding-left: .75rem;
    padding-right: .75rem;
  }
}

/* Grade Links */

.join-us .grades .container {
  background-image: url('../img/bg_placeholder.jpg');
  background-color: #ddd;
  background-blend-mode: luminosity;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #ddd;
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
  overflow: hidden;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out
}

.join-us .grades .container:hover {
  margin-bottom: 1em;
  -webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
          box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
}

.join-us .grades .container::after {
  content: "";
  display: block;
  padding-bottom: 100%;
  background-color: rgba( 255, 255, 255, .875 );
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out;
}

.join-us .grades .container:hover::after {
  opacity: 1;
}

.join-us .grades .container.daisy:hover {
  background-color: rgba( 61, 183, 228, 1 );
}
  .join-us .grades .container.daisy:hover::after {
    background-color: rgba( 61, 183, 228, .75 );
  }

.join-us .grades .container.brownie:hover {
  background-color: rgba( 157, 83, 36, 1 );
}
  .join-us .grades .container.brownie:hover::after {
    background-color: rgba( 157, 83, 36, .75 );
  }

.join-us .grades .container.junior:hover {
  background-color: rgba( 132, 47, 141, 1 );
}
  .join-us .grades .container.junior:hover::after {
    background-color: rgba( 132, 47, 141, .75 );
  }

.join-us .grades .container.cadette:hover {
  background-color: rgba( 198, 12, 48, 1 );
}
  .join-us .grades .container.cadette:hover::after {
    background-color: rgba( 198, 12, 48, .75 );
  }

.join-us .grades .container.senior:hover {
  background-color: rgba( 227, 113, 34, 1 );
}
  .join-us .grades .container.senior:hover::after {
    background-color: rgba( 227, 113, 34, .75 );
  }

.join-us .grades .container.ambassador:hover {
  background-color: rgba( 243, 207, 69, 1 );
}
  .join-us .grades .container.ambassador:hover::after {
    background-color: rgba( 243, 207, 69, .75 );
  }

.join-us .grades .column {
  padding-left: .75rem;
  padding-right: .75rem;
}

.join-us .grades .container .content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.join-us .grades .container .content h3 {
  color: #00AE58;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out;
}

.join-us .grades .container .content h4 {
  color: #222;
  font-weight: 400;
}

.join-us .grades .container .content h5 {
  font-weight: 500;
}

.join-us .grades .container:hover .content h3,
.join-us .grades .container .content h5 {
  color: #fff;
}

.join-us .grades .container .content h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 1em;
}

.join-us .grades .container .content h4,
.join-us .grades .container .content h5 {
  font-size: .875rem;
  line-height: 1.25;
  margin-bottom: 0;
  white-space: nowrap;
  position:absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out
}

.join-us .grades .container .content h4,
.join-us .grades .container:hover .content h5 {
  bottom: 0%;
}
.join-us .grades .container .content h5 {
  bottom: -450%;
}

.join-us .grades .container:hover .content h4 {
  bottom: -450%;
}

.join-us .grades .container .content svg {
  visibility: hidden;
  display: block;
  margin: 0 auto;
  height: 0;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out
}

.join-us .grades .container:hover .content svg {
  visibility: visible;
  margin-bottom: .5em;
  height: 60px;
}

@media screen and ( min-width: 40em ) {

  .join-us .grades .container .content h3 {
    font-size: 1.375rem;
  }

  .join-us .grades .container .content h4,
  .join-us .grades .container .content h5 {
    font-size: 1rem;
  }
}

@media screen and ( min-width: 64em ) {

}

/* Mobile Only Styles */
@media screen and ( max-width: 39.9375em ) {

  .join-us .grades .container .content h3,
  .join-us .grades .container .content h4 {
    color: #fff;
  }

  .join-us .grades .container .content h4 {
    font-weight: 600;
  }

  .join-us .grades .container .content svg {
    visibility: visible;
    margin-bottom: .5em;
    height: 60px;
  }

  .join-us .grades .container.daisy {
    background-color: rgba( 61, 183, 228, 1 );
  }
    .join-us .grades .container.daisy::after {
      background-color: rgba( 61, 183, 228, .75 );
    }

  .join-us .grades .container.brownie {
    background-color: rgba( 157, 83, 36, 1 );
  }
    .join-us .grades .container.brownie::after {
      background-color: rgba( 157, 83, 36, .75 );
    }

  .join-us .grades .container.junior {
    background-color: rgba( 132, 47, 141, 1 );
  }
    .join-us .grades .container.junior::after {
      background-color: rgba( 132, 47, 141, .75 );
    }

  .join-us .grades .container.cadette {
    background-color: rgba( 198, 12, 48, 1 );
  }
    .join-us .grades .container.cadette::after {
      background-color: rgba( 198, 12, 48, .75 );
    }

  .join-us .grades .container.senior {
    background-color: rgba( 227, 113, 34, 1 );
  }
    .join-us .grades .container.senior::after {
      background-color: rgba( 227, 113, 34, .75 );
    }

  .join-us .grades .container.ambassador {
    background-color: rgba( 243, 207, 69, 1 );
  }
    .join-us .grades .container.ambassador::after {
      background-color: rgba( 243, 207, 69, .75 );
    }
}

/**
 * Badge Explorer
 * http://gsmidtn.org/about-us/badge-explorer/
 */
.badge-list {
  padding-left: .4375rem;
  padding-right: .4375rem;
}

.badge-list .single-badge.column {
  padding-left: .5rem;
  padding-right: .5rem;
}

.badge-list .single-badge .container {
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  padding: 1.25rem;
  -webkit-transition: .5s all ease-in-out;
          transition: .5s all ease-in-out;
}

.badge-list .single-badge .container:hover {
  -webkit-box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
          box-shadow: 0 0 20px rgba( 0, 0, 0, 0.325 );
}

.badge-list .single-badge .container .content {
  text-align: center;
}

.badge-list .single-badge .container .content h3.name {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
}

.badge-list .single-badge .container .content img {
  margin-bottom: .5rem;
}

@media screen and ( min-width: 40em ) {

  .badge-list .single-badge .container {
    height: 262px;
  }
}

/*--------------------------------------------------------------
5.9 Footer
--------------------------------------------------------------*/

.site-footer {
}

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

.footer-bottom span,
.footer-bottom ul {
  display: block;
  line-height: 1.5;
}

.footer-nav{
  list-style: none;
  margin: 0;
}

.footer-nav .menu-item {
  display: inline-block;
  margin-right: 1em;
}

/* Add pipe character after list items except for the last item */
.footer-nav .menu-item:not(:last-child)::after {
  content: '|';
  margin-left: 1em;
}

@media screen and ( max-width: 39.9375em ) {
  .footer-nav .menu-item:last-child::after {
    display: none;
  }
}

@media screen and ( min-width: 40em ) {
  .footer-bottom span,
  .footer-bottom ul {
    display: inline-block;
  }

  .footer-nav .menu-item:first-child::before {
    content: '|';
    margin-left: 1em;
    margin-right: 1em;
  }
}

.footer-bottom span.ssi-logo {
  display: inline;
}

/* Footer CTA */

.newsletter-subscribe {
  color: #fff;
  font-weight: 500;
}

.newsletter-subscribe h2 {
  font-weight: bold;
  color: #fff;
  text-transform: lowercase;
}

/* Default layout */

.newsletter-subscribe.default {
  padding: 3rem 0;
  background-color: rgba( 0, 0, 0, .05 );
  background-blend-mode: multiply;
}

.newsletter-subscribe.default form input[type="email"],
.newsletter-subscribe.default form input[type="text"] {
  float: left;
  width: 100%;
  margin-bottom: 2%;
  position: relative;
  font-size: 1rem;
  padding: .6em 1em;
  height: auto;
}

.newsletter-subscribe.default form button,
.newsletter-subscribe.default form input[type="submit"] {
  float: left;
  width: 100%;
}

.newsletter-subscribe.default form p {
  margin: 0;
}

.newsletter-subscribe.default .copy-container {
  text-shadow: 0 0 3px rgba( 0, 0, 0, .75 );
}

.newsletter-subscribe.default .copy-container p {
  margin: 0;
}

span.wpcf7-not-valid-tip {
  color: #fff;
  font-weight: 600;
}

form .wpcf7-response-output,
form .wpcf7-validation-errors {
  padding: .2em .5em;
  margin: 0;
  background: rgba(255,255,255,.5);
  color: #222;
  border: 0;
}

.newsletter-subscribe.default form {
  position: relative;
}

.newsletter-subscribe.default span.wpcf7-not-valid-tip {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: .25rem;
  display: none;
}

.newsletter-subscribe.default span.wpcf7-form-control-wrap.your-email {
  display: block;
}

.newsletter-subscribe.default form .wpcf7-response-output,
.newsletter-subscribe.default form .wpcf7-validation-errors {
  position: absolute;
  top: 155px;
  width: 100%;
}

/* Blank CF7 Loader */
div.wpcf7 .ajax-loader {
  background-image: none;
  width: 24px;
  height: 24px;
  margin-left: 10px;
}

@media screen and ( min-width: 40em ) {

  .newsletter-subscribe.default .copy-container p {
    font-size: 1.25rem;
  }

  .newsletter-subscribe.default span.wpcf7-not-valid-tip {
    display: block;
  }

  .newsletter-subscribe.default form input[type="text"] {
    width: 49%;
    margin-right: 2%;
    margin-bottom: 0;
  }

  .newsletter-subscribe.default form input[type="email"] {
    width: 49%;
    margin-bottom: 0;
  }

  .newsletter-subscribe.default form button,
  .newsletter-subscribe.default form input[type="submit"] {
    width: 100%;
    margin-top: 2%;
    margin-bottom: 0;
  }

  .newsletter-subscribe.default form .wpcf7-response-output,
  .newsletter-subscribe.default form .wpcf7-validation-errors {
    top: 105px;
  }
}

@media screen and ( min-width: 64em ) {

  .newsletter-subscribe.default form input[type="email"] {
    width: 34%;
    margin-right: 2%;
  }

  .newsletter-subscribe.default form input[type="text"] {
    width: 34%;
  }

  .newsletter-subscribe.default form button,
  .newsletter-subscribe.default form input[type="submit"] {
    width: 28%;
    margin-top: 0;
  }

  .newsletter-subscribe.default form .wpcf7-response-output,
  .newsletter-subscribe.default form .wpcf7-validation-errors {
    top: 55px;
  }
}

/* Large slanted footer CTA */

.newsletter-subscribe.large {
  overflow: hidden;
  position: relative;
  padding: 9rem 0 7rem;
  text-align: center;
  z-index: 0;
}

@media screen and ( min-width: 40em ) {

  .newsletter-subscribe.large .copy-container {
    padding: 0 2rem;
  }

  .newsletter-subscribe.large {
    padding: 10rem 0 9rem;
  }
}

@media screen and ( min-width: 64em ) {

  .newsletter-subscribe.large .copy-container {
    padding: 0 3rem;
  }

  .newsletter-subscribe.large {
    padding: 11rem 0 10rem;
  }
}

.newsletter-subscribe.large input.wpcf7-email,
.newsletter-subscribe.large input.wpcf7-text {
  padding: .75em 1em;
  border: 0;
  height: auto;
}

.newsletter-subscribe.large + footer {
  position: relative;
  padding-top: 3rem;
}

/* Top slant */
.newsletter-subscribe.large::before {
  content: '';
  position: absolute;
  left: 0;
  top: -16rem;
  width: 100%;
  height: 20rem;
  z-index: -1;
  background: #fff;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d!important;
  -webkit-transform: skewY(-2.5deg);
          transform: skewY(-2.5deg);
}
/* Bottom slant */
.newsletter-subscribe.large::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -17em;
  height: 20rem;
  width: 100%;
  z-index: -1;
  background: #fff;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d !important;
  -webkit-transform: skewY(-2.5deg);
          transform: skewY(-2.5deg);
}

/* Bottom Footer */

.footer-bottom {
  background: #ec008c;
  color: #fff;
  padding: 1em;
  line-height: 1;
  font-weight: 500;
}

.footer-bottom a {
  color: #fff;
}

.footer-bottom a:focus,
.footer-bottom a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Top Footer */

.footer-top {
  padding: 4rem 0;
}

.footer-top h3 {
  color: #777;
  line-height: 1;
  margin-bottom: .5em;
  max-width: 9em;
}

.footer-top .row {
  max-width: 64em;
}

@media screen and ( min-width: 40em ) {
  .footer-top h3 {
    font-size: 1.75rem;
  }
}

@media screen and ( max-width: 39.9375em ) {
  .footer-top .row .columns:not(:last-child) {
    margin-bottom: 2rem;
  }
}

.newsletter-subscribe.large + footer .footer-top {
  padding-top: 0;
}

/* Footer Social Menu
   Also applies to social sharing links on blog posts */

.footer-top .social,
.entry-meta .social {
  overflow: auto;
  margin: 0;
}

.footer-top .social li,
.entry-meta .social li {
  list-style-type: none;
  float: left;
}

.entry-meta .social li.text {
  text-transform: uppercase;
  font-style: normal;
  font-weight: 700;
  font-size: .75rem;
  margin-right: .5em;
  margin-top: .5em;
}

.footer-top .social .social-icon,
.entry-meta .social .social-icon {
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  margin: 4px;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-transition: background 0.3s;
          transition: background 0.3s;
}

.entry-meta .social .social-icon {
  width: 25px;
  height: 25px;
}

.footer-top .social .icon-slide,
.entry-meta .social .icon-slide {
  position: relative;
}

.footer-top .social .icon-slide::before,
.footer-top .social .icon-slide::after,
.entry-meta .social .icon-slide::before,
.entry-meta .social .icon-slide::after {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/icons_social.png");
  background-image: url("../img/icons_social.svg"), none;
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
  -webkit-transition: left 0.3s;
          transition: left 0.3s;
}

.footer-top .social .icon-slide::before,
.entry-meta .social .icon-slide::before {
  left: 0;
  background-color: transparent;
}

.footer-top .social .icon-slide::after,
.entry-meta .social .icon-slide::after {
  left: -100%;
  background-color: transparent;
}

.footer-top .social .social-icon:hover,
.entry-meta .social .social-icon:hover {
  background-color: #ec008c !important;
  background-image: none !important;
}

.footer-top .social .icon-slide:hover::before,
.entry-meta .social .icon-slide:hover::before {
  left: 100%;
}

.footer-top .social .icon-slide:hover::after,
.entry-meta .social .icon-slide:hover::after {
  left: 0;
}

/* facebook */
.footer-top .social .social-icon.facebook,
.entry-meta .social .social-icon.facebook {
  background-color: #3b5998;
}

.footer-top .social .icon-slide.facebook::before,
.footer-top .social .icon-slide.facebook::after,
.entry-meta .social .icon-slide.facebook::before,
.entry-meta .social .icon-slide.facebook::after {
  background-position: 0 0;
}

/* twitter */
.footer-top .social .social-icon.twitter,
.entry-meta .social .social-icon.twitter {
  background-color: #00aced;
}

.footer-top .social .icon-slide.twitter::before,
.footer-top .social .icon-slide.twitter::after {
  background-position: -50px 0;
}

.entry-meta .social .icon-slide.twitter::before,
.entry-meta .social .icon-slide.twitter::after {
  background-position: -25px 0;
}

/* pinterest */
.footer-top .social .social-icon.pinterest,
.entry-meta .social .social-icon.pinterest {
  background-color: #C92228;
}

.footer-top .social .icon-slide.pinterest::before,
.footer-top .social .icon-slide.pinterest::after {
  background-position: -100px 0;
}

.entry-meta .social .icon-slide.pinterest::before,
.entry-meta .social .icon-slide.pinterest::after {
  background-position: -50px 0;
}

/* instagram */
.footer-top .social .social-icon.instagram,
.entry-meta .social .social-icon.instagram {
  background-color: #b900b4;
  background-image: linear-gradient( -135deg, #1400c8, #b900b4, #f50000 );
}

.footer-top .social .icon-slide.instagram::before,
.footer-top .social .icon-slide.instagram::after {
  background-position: -150px 0;
}

.entry-meta .social .icon-slide.instagram::before,
.entry-meta .social .icon-slide.instagram::after {
  background-position: -75px 0;
}

/* youtube */
.footer-top .social .social-icon.youtube,
.entry-meta .social .social-icon.youtube {
  background-color: #ff0000;
}

.footer-top .social .icon-slide.youtube::before,
.footer-top .social .icon-slide.youtube::after {
  background-position: -200px 0;
}

.entry-meta .social .icon-slide.youtube::before,
.entry-meta .social .icon-slide.youtube::after {
  background-position: -100px 0;
}

/*.footer-top .social li a i {
  background-color: #00AE58;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  font-size: 25px;
  text-align: center;
  margin-right: 15px;
  padding-top: 20%;
  -webkit-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

.footer-top .social li a i.fa-facebook {
  background-color: #3b5998;
}

.footer-top .social li a i.fa-twitter {
  background-color: #00aced;
}

.footer-top .social li a i.fa-instagram {
  background-color: #fff;
  background-image: linear-gradient( -135deg, #1400c8, #b900b4, #f50000 );
}

.footer-top .social li a i:hover {
  background-color: #ec008c;
}

.footer-top .social li a i.fa-instagram:hover {
  background-image: linear-gradient( -135deg, #ec008c, #ec008c, #ec008c );
}*/

/*--------------------------------------------------------------
6.0 Comments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
7.0 Widgets
--------------------------------------------------------------*/

.sidebar h3 {
  color: #222;
  text-transform: none;
  margin-bottom: 0;
}

/* Sidebar menu */

.sidebar .menu,
.sidebar .sub-menu {
  margin: 0;
  list-style: none;
}

.sidebar .menu {
  border-bottom: 1px solid #ddd;
}

.sidebar .menu li a {
  padding: 16px;
  border: 1px solid #ddd;
  border-bottom: 0;
}

.sidebar .menu li a:hover,
.sidebar .menu li a:focus {
  border-left: 4px solid #008b46;
}

.sidebar .menu li {
  text-transform: uppercase;
  font-weight: 700;
}

.sidebar .menu li.current-menu-item > a {
  border: 4px solid #ec008c;
  padding: 12px;
  padding-left: 16px;
}

.sidebar .menu li .sub-menu {
  display: none;
}

.sidebar .menu li.current-menu-ancestor .sub-menu,
.sidebar .menu li.current-menu-item .sub-menu {
  display: block;
}

.sidebar .menu li .sub-menu li a {
  background-color: #eee;
  border-left: 4px solid #008b46;
}

.sidebar .menu li .sub-menu li.current-menu-item > a {
  border-color: #ec008c;
}

.sidebar .menu li.current-menu-item .sub-menu li a:hover,
.sidebar .menu li.current-menu-item .sub-menu li a:focus {
  background-color: #fff;
}

/* Sidebar search form */

.sidebar .search-form form {
  position: relative;
}

.sidebar .search-form form .search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-color: transparent;
  border: 0;
  background-image: url('../img/icon_search.png');
  background-image: url('../img/icon_search.svg');
  background-size: contain;
  color: transparent;
  width: 39px;
}

.sidebar .search-form form input[type="text"] {
  border-radius: 0;
  border: 1px solid #ddd;
  margin: 0;
}

/* Text widget */

.sidebar .widget_text {
  padding: 16px;
  border: 1px solid #ddd;
}

.widget_custom_nav_menu + .widget_text,
.widget_custom_nav_menu + .widget_text + .widget_text {
  border-top: 0;
}

.widget_custom_nav_menu + .widget_text *:last-child {
  margin-bottom: 0;
}

/* Popular Posts widget */

.sidebar .popular-posts {
  padding: 16px;
  border: 1px solid #ddd;
  border-top: 0;
}

.sidebar .popular-posts ul {
  margin: 0;
  display: block;
}

.sidebar .popular-posts ul li {
  display: inline-block;
  width: 100%;
}

.sidebar .popular-posts ul li:not(:last-child) {
  margin-bottom: 5px;
}

.sidebar .popular-posts ul li .columns:last-child {
  padding-left: 0;
}

.sidebar .popular-posts ul li .columns:first-child > a {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.sidebar .popular-posts ul li .columns:first-child > a::after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.sidebar .popular-posts ul li .columns:first-child > a img {
  top: 0;
  -o-object-fit: cover;
     object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  width: 100%;
  height: auto;
  margin-top: 5px;
}

.sidebar .popular-posts ul li h3 {
  font-weight: 500;
}

.sidebar .popular-posts ul li h3 a {
  color: #222;
}

.sidebar .popular-posts ul li .entry-date {
  margin-bottom: 0;
  font-size: .925rem;
  font-style: italic;
  color: #999;
}

/* Categories Widget */

.sidebar .widget_categories {
  padding: 16px;
  padding-bottom: 8px;
  border: 1px solid #ddd;
  border-top: 0;
}

.sidebar .widget_categories ul {
  list-style: none;
  margin: 0;
}

.sidebar .widget_categories ul li {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 8px;
}

.sidebar .widget_categories ul li a {
  line-height: 1;
  padding: 10px 16px;
  text-transform: uppercase;
  font-weight: 500;
  color: #bbb;
  border: 1px solid #bbb;
  display: block;
}

.sidebar .widget_categories ul li a:hover,
.sidebar .widget_categories ul li a:focus,
.sidebar .widget_categories ul li.current-cat a {
  background-color: #ec008c;
  border-color: #ec008c;
  color: #fff;
}

.sidebar .widget_categories ul li.current-cat a:hover,
.sidebar .widget_categories ul li.current-cat a:focus {
  background-color: #c80077;
  border-color: #c80077;
}

/* Archive Widget */

.sidebar .widget_archive {
  padding: 16px;
  border: 1px solid #ddd;
  border-top: 0;
}

.sidebar .widget_archive select {
  margin-bottom: 0;
  border-radius: 0;
  /*text-transform: lowercase;*/
}

/* Facebook Widget */

.sidebar .widget + .fb-page {
  margin-top: 2rem;
}

/*--------------------------------------------------------------
8.0 Media
--------------------------------------------------------------*/

img,
video {
  height: auto; /* Make sure images are scaled correctly. */
  max-width: 100%; /* Adhere to container width. */
}

img.alignleft,
img.alignright {
  /*float: none;
  margin: 0;*/
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption,
.gallery-caption {
  color: #666;
  font-size: 13px;
  font-size: 0.8125rem;
  font-style: italic;
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

/*--------------------------------------------------------------
8.1 Galleries
--------------------------------------------------------------*/

.gallery-item {
  display: inline-block;
  text-align: left;
  vertical-align: top;
  margin: 0 0 1.5em;
  padding: 0 1em 0 0;
  width: 50%;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
  -webkit-box-shadow: none;
          box-shadow: none;
  background: none;
  display: inline-block;
  max-width: 100%;
}

.gallery-item a img {
  display: block;
  -webkit-transition: -webkit-filter 0.2s ease-in-out;
          transition: -webkit-filter 0.2s ease-in-out;
          transition: filter 0.2s ease-in-out;
          transition: filter 0.2s ease-in-out, -webkit-filter 0.2s ease-in-out;
  -webkit-backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
  -webkit-filter: opacity(60%);
          filter: opacity(60%);
}

.gallery-caption {
  display: block;
  text-align: left;
  padding: 0 10px 0 0;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
9.0 Media Queries
    http://foundation.zurb.com/sites/docs/media-queries.html
--------------------------------------------------------------*/

/* Small only */
@media screen and ( max-width: 39.9375em ) {}

/* Medium and up */
@media screen and ( min-width: 40em ) {}

/* Medium only */
@media screen and ( min-width: 40em ) and ( max-width: 63.9375em ) {}

/* Large and up */
@media screen and ( min-width: 64em ) {}

/* Large only */
@media screen and ( min-width: 64em ) and ( max-width: 74.9375em ) {}

/* X-Large and up */
@media screen and ( min-width: 75em ) {}

/* X-Large only */
@media screen and ( min-width: 75em ) and ( max-width: 89.9375em ) {}

/* XX-Large and up */
@media screen and ( min-width: 90em ) {}

/*--------------------------------------------------------------
9.1 Print
--------------------------------------------------------------*/

@media print {

  /* Hide elements */
  form,
  button,
  input,
  select,
  textarea,
  .navigation-top,
  .social-navigation,
  #secondary,
  .content-bottom-widgets,
  .header-image,
  .panel-image-prop,
  .icon-thumb-tack,
  .page-links,
  .edit-link,
  .post-navigation,
  .pagination.navigation,
  .comments-pagination,
  .comment-respond,
  .comment-edit-link,
  .comment-reply-link,
  .comment-metadata .edit-link,
  .pingback .edit-link,
  .site-footer aside.widget-area,
  .site-info {
    display: none !important;
  }

  .entry-footer,
  #comments,
  .site-footer,
  .single-featured-image-header {
    border: 0;
  }

  /* Font sizes */

  body {
    font-size: 12pt;
  }

  h1 {
    font-size: 24pt;
  }

  h2 {
    font-size: 22pt;
  }

  h3 {
    font-size: 17pt;
  }

  h4 {
    font-size: 12pt;
  }

  h5 {
    font-size: 11pt;
  }

  h6 {
    font-size: 12pt;
  }

  .page .panel-content .entry-title,
  .page-title,
  body.page .entry-title {
    font-size: 10pt;
  }

  /* Layout */

  .wrap {
    padding-left: 5% !important;
    padding-right: 5% !important;
    max-width: none;
  }

  /* Site Branding */

  .masthead {
    background: transparent !important;
    padding: 0;
  }

  .custom-header-media {
    padding: 0;
  }

  .site-description {
    font-size: 12pt;
    opacity: 1;
  }

  /* Posts */

  .page-header,
  .page-header-hero {
    background: transparent !important;
  }

  .entry-meta {
    font-size: 9pt;
  }

  /* Colors */

  body,
  .site {
    background: none !important; /* Brute force since user agents all print differently. */
  }

  body,
  p,
  h1,
  h3,
  h4,
  h6,
  li,
  span,
  a {
    color: #222 !important; /* Make sure color schemes don't affect to print */
  }

  h2,
  h5,
  blockquote,
  .site-description,
  .entry-meta,
  .entry-meta a {
    color: #777 !important; /* Make sure color schemes don't affect to print */
  }

  .entry-content blockquote.alignleft,
  .entry-content blockquote.alignright {
    font-size: 11pt;
    width: 34%;
  }

  .site-footer {
    padding: 0;
  }
}
