/*!
Theme Name: barefoot
Theme URI: http://loopgrafika.com/barefoot
Author: Pal Laszlo
Author URI: http://loopgrafika.com/pallaszlo
Description: Official theme of the Summerhill Centenary website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: barefoot
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

barefoot is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.gallery-caption,
.bypostauthor {
  margin: 0;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* ========================== */
/* THEME OVERRIDES */
/* ========================== */

.display-flex {
  display: flex;
}

.flex-align-center {
  align-items: center;
}

/* global */
.margin-v-s {
  margin-top: 25px;
  margin-bottom: 50px;
}

.margin-bottom-200 {
  margin-bottom: 200px;
}

.margin-bottom-150 {
  margin-bottom: 150px;
}

.margin-bottom-100 {
  margin-bottom: 100px;
}

.no-margin {
  margin: 0;
}

.fixed-height-95 {
  min-height: 95px;
}

/* typography */

.entry-header h1:after,
.page-header h1:after {
  border-bottom: 1px solid;
  display: block;
  margin-top: 1rem;
  margin-left: 25%;
  margin-right: 25%;
  content: " ";
}

/* navbar ----------- */
.navbar-brand img {
  width: auto;
}

/* multi level sub-menu */

.nav-item > a {
  padding: 10px 0;
  display: inline-block;
  border-bottom: 1px #ffffff22 solid;
  width: 100%;
}

.nav-item:last-of-type > a {
  border-bottom: 0;
}

.sub-menu {
  background: rgba(52, 48, 55, 0.1);
  border-bottom: 1px #ffffff22 solid;
  border-right: 1px #ffffff22 solid;
  border-left: 1px #ffffff22 solid;
  list-style: none;
  padding: 0 20px;
}

@media screen and (min-width: 992px) {
  .navbar-expand-md .navbar-nav {
    flex-wrap: nowrap;
    align-items: baseline;
  }

  .nav-item {
    flex: 0 1 auto;
    position: relative;
  }

  .navbar-nav > .menu-item-has-children > a {
    padding-left: 20px;
  }

  .nav-item > a {
    border: 0;
  }

  .navbar-nav > .nav-item > a {
    display: -webkit-box;
    max-height: 4rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    position: relative;
  }

  .sub-menu > li:hover {
    background: rgba(37, 34, 39, 0.9);
  }

  .sub-menu {
    background: rgba(37, 34, 39, 0.85);
    border: 0px;
    opacity: 0;
    padding: 0;
    position: absolute;
    transition: 0.25s;
    visibility: hidden;
    width: 180px;
    z-index: 1000;
  }

  .sub-menu.align-right {
    right: 0;
  }

  .sub-menu > li > a {
    display: block;
  }

  .nav-item:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
  }

  .sub-menu > li > .sub-menu {
    left: 180px;
    top: 0;
  }

  .navbar-nav > .menu-item-has-children > a::before {
    content: "\f0d7";
    font: normal normal normal 14px/1 FontAwesome;
    margin-right: 5px;
    position: absolute;
    top: 1rem;
    left: 0;
  }

  .sub-menu > .menu-item-has-children > a::after {
    content: "\f0da";
    font: normal normal normal 14px/1 FontAwesome;
    margin-left: 5px;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  li.menu-item.nav-item.profile-nav-item > a {
    border-radius: 50%;
    min-width: 3rem;
    min-height: 3rem;
    text-align: center;
    background: #23282d;
  }

  li.menu-item.nav-item.profile-nav-item {
    margin-left: 10px;
    width: 50px;
    height: 50px;
  }
}

/* HERO */
.bloc-hero h1.hero-strapline {
  font-size: 32px;
  letter-spacing: 3px;
  line-height: 0.9;
}
@media screen and (min-width: 768px) {
  .bloc-hero h1.hero-strapline {
    font-size: 54px;
  }
}
@media screen and (min-width: 600px) {
  .bloc-hero h1.hero-strapline {
    font-size: 42px;
  }
}

/* divider */
.bloc-divider {
  width: 100%;
  height: 2px;
}

/* avatar */

.avatar-container {
  max-width: 240px;
  max-height: 240px;
  display: block;
  margin: auto;
}

.avatar-wrapper {
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
}

.avatar-wrapper::after {
  border-radius: 50%;
}

.avatar-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center center;
}

@media screen and (min-width: 480px) {
  .avatar-container {
    max-width: 300px;
    max-height: 300px;
  }
}

/* image tan */

.tan,
a > figure {
  position: relative;
  margin: 0;
  transition: 1s;
}

.tan::before,
a > figure::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-image: linear-gradient(180deg, rgba(52, 48, 55, 0.5) 0%, rgba(52, 48, 55, 0.35) 100%);
}

a > figure::after {
  opacity: 0;
  transition: 0.5s;
}

a:hover > figure::after {
  opacity: 1;
}

.tan.gradient::before {
  background-image: linear-gradient(180deg, rgba(52, 48, 55, 0.75) 0%, rgba(52, 48, 55, 0) 50%),
    linear-gradient(0deg, rgba(52, 48, 55, 0.75) 0%, rgba(52, 48, 55, 0.15) 30%, rgba(52, 48, 55, 0) 100%);
}

/* Bloc-group */

.bloc-group {
  display: flex;
}

/* bloc-carousel */

.carousel-image-container {
  height: 400px;
  background-size: cover !important;
  background-position: center center !important;
}

.carousel-item {
  max-height: 400px;
}

.carousel-caption a.carousel-caption-a {
  color: #ffffffee;
}

.carousel-caption a.carousel-caption-a:hover,
.carousel-caption a.carousel-caption-a:active,
.carousel-caption a.carousel-caption-a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.carousel-caption .avatar-container {
  max-width: 100px;
  max-height: 100px;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 992px) {
  .carousel-image-container {
    height: 400px;
    background-size: cover !important;
    background-position: center center !important;
  }

  .carousel-item {
    max-height: 400px;
  }
}

/* WP-buttons */

.btn-full-width > a {
  width: 100%;
}

/* Post thumbnail */

.post-thumbnail > img {
  max-width: 100%;
  height: auto;
}

/* Gutneberg timeline overrides */

.uagb-timeline__image img {
  width: 100%;
  height: auto;
}

/* bloc-cta */

.bloc-cta h2 {
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .bloc-cta h2 {
    margin-bottom: 0;
  }
}

/* bloc-filter */

#search-bloc .location-input {
  min-height: 50px;
}

a.taxonomy-term {
  font-family: mr-eaves-sans, sans-serif;
  color: white;
  background-color: #343038;
  margin: 0 8px 8px 0;
  padding: 7px 11px 5px;
  border-radius: 3px;
  display: inline-block;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1;
}

a.taxonomy-term.just-started {
  background-color: #4caf50;
}

a.taxonomy-term.in-progress {
  background-color: #2196f3;
}

a.taxonomy-term.finished {
  background-color: #86808c;
}

.text-right a.taxonomy-term {
  margin: 0 0 8px 8px;
}

/* life-at-summerhill page */

.moment-image-bg {
  min-height: 200px;
  width: 100%;
  background-size: cover !important;
  background-position: center center !important;
}

.moment-copy {
  padding: 50px 0;
}

.activity-image {
  align-items: center;
  display: flex;
  height: 200px;
  justify-content: stretch;
  margin-bottom: 20px;
  background-position: center center;
  background-size: cover;
}

.activity-title {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

@media screen and (min-width: 992px) {
  .moment-image-bg {
    height: 300px;
  }
  .moment-copy {
    padding: 0;
  }
}

/* profile */

.member-h {
  font-style: italic;
  text-align: left;
  text-transform: none;
}

a.member-name,
.map-marker-member,
.cursive {
  font-family: mrs-eaves, Georgia, serif;
  font-style: italic;
}

.member-list-item {
  margin: 15px 0;
  min-height: 140px;
}

@media screen and (min-width: 992px) {
  .member-list-item {
    margin: 20px 0;
    min-height: 150px;
  }
}

.member-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

.member {
  font-style: italic;
}

figure.profile-image {
  width: 100%;
  height: 0;
  padding-top: 70%;
  background-position: center center;
  background-size: cover;
}

/* Form styling */

.wpuf-login-form input,
.wpuf-fields > input,
.wpuf-fields > textarea,
.wpuf-section-details {
  font-size: 1.3rem !important;
}

.wpuf-login-form input[type="submit"],
input.wpuf-submit-button,
.content-bloc .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"],
button.wpuf-multistep-next-btn.btn.btn-primary,
button.wpuf-multistep-prev-btn.btn.btn-primary,
a.wpuf-button,
.comment-respond .submit,
.edit-link > a:not(.comment-edit-link),
.wpua-edit button,
ul.wpuf-form li .wpuf-fields a.file-selector,
.wpuf-multistep-next-btn .btn .btn-primary {
  display: inline-block;
  font-family: mr-eaves-sans, sans-serif;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
  border-radius: 0.25rem !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  text-shadow: 0 0 0 transparent !important;
}

.wpuf-login-form input[type="submit"]:hover,
input.wpuf-submit-button:hover,
.content-bloc .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"]:hover,
button.wpuf-multistep-next-btn.btn.btn-primary:hover,
button.wpuf-multistep-prev-btn.btn.btn-primary:hover,
.edit-link > a:not(.comment-edit-link):hover,
.comment-respond .submit:hover,
a.wpuf-button:hover,
.wpua-edit button:hover,
ul.wpuf-form li .wpuf-fields a.file-selector:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
  text-decoration: none;
}
.wpuf-login-form input[type="submit"]:active,
input.wpuf-submit-button:active,
.content-bloc .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"]:active,
button.wpuf-multistep-next-btn.btn.btn-primary:active,
button.wpuf-multistep-prev-btn.btn.btn-primary:active,
a.wpuf-button:active,
.edit-link > a:not(.comment-edit-link):active,
.comment-respond .submit:active,
.wpua-edit button:active,
ul.wpuf-form li .wpuf-fields a.file-selector:active {
  color: #fff;
  background-color: #545b62;
  border-color: #4e555b;
}
.wpuf-login-form input[type="submit"]:focus,
input.wpuf-submit-button:focus,
.content-bloc .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type="submit"]:focus,
.comment-respond .submit:focus,
button.wpuf-multistep-next-btn.btn.btn-primary:hover,
button.wpuf-multistep-prev-btn.btn.btn-primary:hover,
.edit-link > a:not(.comment-edit-link):focus,
a.wpuf-button:focus,
.wpua-edit button:focus,
ul.wpuf-form li .wpuf-fields a.file-selector:focus {
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5) !important;
}

.btn-primary:not(.wpuf-multistep-next-btn.btn.btn-primary):not(.wpuf-multistep-prev-btn.btn.btn-primary) {
  line-height: 1 !important;
  padding: 13px 17px 10px !important;
  color: white !important;
  background: #f45003 !important;
  border-radius: 5px !important;
  border: 1px transparent solid !important;
}

.wpuf-login-form input,
.wpuf-fields > input,
.wpuf-fields > textarea {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wpuf-fields > textarea {
  width: 100%;
  height: 200px;
}

.wpuf-fields > input:focus,
.wpuf-fields > textarea:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.wpuf-fields.html_5122.wpuf__5122,
.wpuf_undefined_copy_copy_5115 {
  width: 97% !important;
}

.wpuf__5115 {
  margin-left: 30%;
}

/* input[type="checkbox"],
input[type="radio"] {
  visibility: hidden;
  position: relative;
  margin-right: 10px !important;
}

input[type="checkbox"]::before,
input[type="radio"]::before {
  background: whitesmoke;
  border-radius: 50%;
  border: 1px gray solid;
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: -4px;
  visibility: visible;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
  background: gray;
  border-radius: 50%;
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  left: 4px;
  top: 0px;
  visibility: visible;
} */

.wpuf-login-form input {
  width: auto;
}

.wpuf-login-form .forgetmenot {
  display: flex;
}

li.ui-sortable-handle {
  height: auto !important;
  text-align: center;
}

.wpuf-form-add .wpuf-form .wpuf-multistep-progressbar ul.wpuf-step-wizard li.active-step,
.wpuf-form-add .wpuf-form .wpuf-multistep-progressbar .ui-widget-header {
  color: #ffffff;
  background-color: #6c757d !important;
}

.wpuf-form-add .wpuf-form .wpuf-multistep-progressbar ul.wpuf-step-wizard li.active-step::after {
  border-left-color: #6c757d !important;
}

ul.wpuf-form li .wpuf-fields a.file-selector {
  color: #787b7f !important;
}

.wpuf-fields.wpuf_terms_and_conditions_5122 > label > span::before {
  content: "*";
  color: red;
}

/* Google maps overrides */
.gm-style-iw.gm-style-iw-c,
.gm-style .gm-style-iw-c {
  padding: 0 !important;
  max-width: 200px !important;
}

.gm-style-iw.gm-style-iw-c .gm-style-iw-d {
  overflow: hidden !important;
}

.gm-style-iw button[title="Close"] {
  background: white !important;
  display: block !important;
  border: 0px !important;
  margin: 0px !important;
  padding: 0px !important;
  position: absolute !important;
  cursor: pointer !important;
  user-select: none !important;
  top: 5px !important;
  right: 5px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
}

.map-marker-title {
  margin: 12px 20px 2px;
}

.map-marker-member {
  margin: 2px 20px 12px;
}

.location-field {
  text-transform: uppercase;
  font-style: normal;
}

.map-marker-address {
  margin: 0px 20px 15px;
}

.map-marker-body {
  margin: 0px 20px 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 110px;
}

/* content */

.entry-meta {
  margin-bottom: 10px;
}

.entry-meta a,
.acf-map a,
.nav-next > a,
.nav-previous > a,
.cat-links a,
.comment-list a {
  color: #343037;
}

.entry-meta a:hover,
.acf-map a:hover,
.nav-next > a:hover,
.nav-previous > a:hover,
.cat-links a:hover,
.comment-list a:hover {
  color: #48424b;
  text-decoration: underline;
}

.entry-footer {
  display: flex;
  flex-direction: column;
}

.cat-links {
  margin-bottom: 10px;
}

.content-bloc {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 992px) {
  .content-bloc {
    max-width: 80%;
  }
}

/* page navigation */

.nav-links {
  display: flex;
}

.nav-next,
.nav-previous {
  width: 100%;
  padding: 20px;
  background: #e7e6e6;
  text-align: center;
  transition: 0.5s;
}

.nav-next:hover,
.nav-previous:hover {
  background: #d4d4d4;
}

.nav-next > a::after {
  content: " →";
}

.nav-previous > a::before {
  content: "← ";
}

:not(.sub-menu) .menu-item-object-wpuf_login > a,
:not(.sub-menu) .menu-item-object-wpuf_logout > a,
:not(.sub-menu) .styled-menu-item > a {
  background-color: #f45003;
  border-radius: 50px;
}

:not(.sub-menu) .menu-item-object-wpuf_login > a:hover,
:not(.sub-menu) .menu-item-object-wpuf_logout > a:hover,
:not(.sub-menu) .styled-menu-item:hover > a {
  background-color: #df4802;
}

:not(.sub-menu) .menu-item-object-wpuf_login > a:focus,
:not(.sub-menu) .menu-item-object-wpuf_logout > a:focus,
:not(.sub-menu) .menu-item-object-wpuf_login > a:active,
:not(.sub-menu) .menu-item-object-wpuf_logout > a:active,
:not(.sub-menu) .styled-menu-item:focus > a,
:not(.sub-menu) .styled-menu-item:active > a {
  background-color: #c73f00;
}

/* colors */
.bloc.bgc-darker-purple-taupe {
  background-color: #413b43;
}

/* Comments */

.comments-title,
.comment-reply-title {
  color: #00000044;
}

.comment-meta {
  display: flex;
  margin-bottom: 10px;
}

.comment-author.vcard {
  display: flex;
}

.comment-author.vcard > * {
  margin: 0 5px;
}

footer.comment-meta > * {
  margin: 0 10px;
}

ol.comment-list {
  padding: 0;
}

ol.comment-list,
ol.comment-list .children {
  /* margin: 50px 0; */
  list-style: none;
}

.comment-body,
.comment-form-comment textarea {
  border: 0;
  margin: 0;
  padding: 20px;
  border-bottom: 1px solid lightgray;
  background: white;
  width: 100%;
  min-height: 200px;
}

.comment-content {
  padding: 15px 46px;
}

.wpuf-dashboard-container {
  margin: 50px 0;
}

.items-table-container {
  max-width: 100%;
}

/* wpuf-dashboard */

.wpuf-dashboard-container {
  margin: 50px 0 !important;
}

.post_count {
  margin: 20px 0 !important;
}

.items-table-container {
  max-width: 100% !important;
}

.wpuf-dashboard-container table.items-table {
  border: 0 !important;
  width: 100% !important;
}

.wpuf-dashboard-container table.items-table .items-list-header {
  background-color: transparent !important;
}

.wpuf-dashboard-container table.items-table th,
.wpuf-dashboard-container table.items-table td {
  padding: 20px 0 !important;
}

.wpuf-dashboard-container table.items-table tr {
  border-bottom: 1px whitesmoke solid !important;
}

/* responsive */

img {
  height: auto;
}

.hidden-md-up {
  display: block;
}

.hidden-md-down {
  display: none;
}

.hidden-sm-up {
  display: block;
}

.hidden-sm-down {
  display: none;
}

@media screen and (min-width: 992px) {
  .hidden-md-up {
    display: none;
  }

  .hidden-md-down {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .hidden-sm-up {
    display: none;
  }

  .hidden-sm-down {
    display: block;
  }
}

@media screen and (max-width: 479px) {
  .hidden-sx {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .hidden-sm {
    display: none;
  }
}

/* debug */

.debug {
  font-family: monospace;
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: whitesmoke;
  padding: 20px;
  color: #343037;
  font-style: 18px;
  border: 1px solid #343037;
  border-radius: 5px;
  z-index: 10000;
}

/* Hide contributor meta interfaces */

.edit-post-sidebar .components-panel .components-panel__body:nth-child(2),
.edit-post-sidebar .components-panel .components-panel__body:nth-child(3),
.edit-post-sidebar .components-panel .components-panel__body:nth-child(4),
.edit-post-sidebar .components-panel .components-panel__body:nth-child(7),
.edit-post-sidebar .components-panel .components-panel__body:nth-child(8),
#wpuf-select-form,
#wpuf-post-lock,
#menu-users {
  display: none !important;
}
