/* @import 'villagelife.css'; */
@import 'events.css';
/**
Theme Name: Ardingly Parish Council
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ardingly-parish-council
Template: astra
*/

/* Imports */

/* General styling */
/* Note: to enable others without coding skills to perform edits, most styling is add in Astra and Elementor witin wp-admin */

a {
  text-decoration: underline;
}

a.ast-button {
  text-decoration: none;
}

span.menu-text {
  letter-spacing: 0.7px;
}

.ast-right-sidebar #secondary {
  padding-left: 0px !important;
  border-left: 0px !important;
}

.ast-right-sidebar #primary {
  border-right: 0px !important;
}

.widget.widget_categories,
.widget.widget_archive {
  padding-left: 30px;
}

.ast-primary-header-bar {
  background-color: #f3f5f3;
  background-image: none;
}

.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 0px !important;
}

/* post blog date */
.ast-blog-featured-section .posted-on .date-day {
  font-size: 1.7em;
}
.ast-blog-featured-section .posted-on {
  width: 4.7em;
  height: 4.7em;
  padding: 0.7em;
}

.ast-article-post .ast-date-meta .posted-on,
.ast-article-post .ast-date-meta .posted-on * {
  background: rgb(99, 98, 98);
}

/* sticky sidebar */

@media (min-width: 769px) {
  .sidebar-main {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
}

.elementor-icon-box-title a:hover {
  color: #409c0f !important;
}

/* Home */

.post-6583 .elementor-icon-box-title a {
  text-decoration: none !important;
}

@media (max-width: 1024px) {
  .post-6583
    .elementor-element.elementor-widget-icon-box
    .elementor-widget-container {
    padding: 20px 10px 20px 10px;
  }
}

/* Home Page blog recent posts */

.uael-post-grid__inner .uael-post__title a,
.uael-post-grid__inner .uael-post__terms a,
.uael-post-grid__inner .uael-post__authorbox-name a {
  text-decoration: none;
}

.uael-post__authorbox-image {
  display: none;
}

/* icon colors */

.elementor-icon-box-icon span.elementor-icon {
  background-color: #00bd5e !important;
}

@media (max-width: 600px) {
  .elementor-section.home-quicklinks
    .elementor-element.elementor-widget-icon-box {
    margin-top: 30px;
  }
  .elementor-section.home-quicklinks
    .elementor-element.elementor-widget-icon-box.home-quicklinks_first {
    margin-top: 0px;
  }
}

/* Archive */

.grid-row,
.ast-grid-2 {
  animation: transitionIn 1s ease 0s 1 normal forwards;
}

@keyframes transitionIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h2.village-archive-title {
  padding: 20px 5px !important;
}

.village-life-archive-container {
  max-width: 1240px;
  margin: 0 auto;
}

.grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  min-width: 60vw;
}

.grid-item {
  height: 550px;
  flex-basis: 33%;
  -ms-flex: auto;
  width: 406px;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
}

.grid-row a {
  text-decoration: none;
}

.wrapping-link {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  color: currentColor;
}

.grid-item-wrapper {
  -webkit-box-sizing: initial;
  -moz-box-sizing: initial;
  box-sizing: initial;
  background: #ececec;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-transition: padding 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transition: padding 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.15s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.grid-item-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.grid-image-top {
  height: 45%;
  width: 120%;
  background-size: cover;
  position: relative;
  background-position: 50% 50%;
  left: -10.5%;
  top: -4.5%;
}

.grid-image-top .centered {
  text-align: center;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 54.5%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-position: center;
}

.grid-image-top.edgex {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#952f4c),
    to(#3e1a51)
  );
  background: -webkit-linear-gradient(#952f4c, #3e1a51);
  background: -o-linear-gradient(#952f4c, #3e1a51);
  background: linear-gradient(#952f4c, #3e1a51);
}

.grid-item-content {
  padding: 0 20px 20px 20px;
}

.item-title {
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 18px;
  display: block;
}

@media (max-width: 600px) {
  .item-title {
    margin-top: 0px;
  }
}

.item-category {
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}

.item-excerpt {
  margin-bottom: 20px;
  display: block;
  font-size: 14px;
}

.more-info {
  position: absolute;
  bottom: 0;
  margin-bottom: 25px;

  transition-duration: 0.5s;

  display: flex;
}

.more-info i {
  padding-left: 5px;
  transition-duration: 0.5s;
}

.grid-item:hover .more-info i {
  padding-left: 20px;
  transition-duration: 0.5s;
}

.more-info i::before {
  font-size: 16px;
}

.grid-item:hover .grid-item-wrapper {
  padding: 2% 2%;
  margin: -2% -2%;
}

@media (max-width: 1333px) {
  .grid-item {
    flex-basis: 33.33%;
  }
}

@media (max-width: 1073px) {
  .grid-item {
    flex-basis: 33.33%;
  }
}

@media (max-width: 815px) {
  .grid-item {
    flex-basis: 50%;
  }
}

@media (max-width: 555px) {
  .grid-item {
    flex-basis: 100%;
  }
}

/* filter */
@media (min-width: 768px) {
  form.village-life_filter {
    display: flex;
  }
}

@media (max-width: 768px) {
  form.village-life_filter label {
    display: block;
  }
}

/* knowledge Base */

/* container */
#epkb-main-page-container.epkb-basic-template,
#eckb-article-page-container-v2 #eckb-article-header {
  padding-top: 40px;
}

.epkb-doc-search-container {
  background-color: #00572b !important;
}
#eckb-article-content #eckb-article-content-body a {
  text-decoration: underline !important;
}
H1.eckb-article-title {
  font-size: 2.5rem;
}

ul.eckb-breadcrumb-nav a span,
.eckb-breadbrumb-link span,
.eckb-breadbrumb-link span[aria-current='page'] {
  color: rgb(59, 58, 58) !important;
}

/* events */

.mec-container {
  padding-top: 40px;
}

.mec-container h2 {
  padding-bottom: 20px;
}

.mec-search-form .mec-dropdown-wrap .mec-dropdown-search {
  width: 50%;
}

.mec-text-input-search.col-md-6 {
  padding-left: 10px;
}

.mec-search-reset-button .mec-button:hover {
  background: #56962e !important;
}

.post-6583 .mec-topsec {
  background-color: white;
}

.post-6583 .mec-event-footer {
  display: none;
}

.mec-single-event-description a {
  text-decoration: underline;
}

/* village life */

.village-life-meta {
  width: 100%;
}

img.village-life-second-image {
  /* max-width: 400px; */
  object-fit: cover;
}

.village-life-row_image-two {
  padding-top: 30px;
}

.village-life-archive-container {
  padding-top: 30px;
}

a.jp-single-link {
  padding-bottom: 20px;
  text-decoration: underline;
}

a.jp-single-link:hover {
  color: #56962e;
}

a.jp-single-link i.fa.fa-arrow-circle-left {
  padding-right: 10px;
  color: #56962e;
}

.single-villagelife article.villagelife.type-villagelife {
  margin-top: 1rem;
}

/* Tablepress */

.tablepress .sorting_asc,
.tablepress .sorting_desc {
  background-color: #00bd5e;
}
.tablepress .sorting:hover {
  background-color: #83daae;
}

.tablepress tfoot th,
.tablepress thead th {
  background-color: #00bd5e;
}

/* apc pages sidebar */
li#nav_menu-5.widget.widget_nav_menu::marker {
  /* display: none !important; */
  color: white;
}

li#nav_menu-5 .menu li a {
  text-decoration: none !important;
  padding-left: 10px;
  color: white;
}

li#nav_menu-5 .menu li {
  background-color: #006f37;
  line-height: 2.5em;
}

/* village life filter btn */

button.filter_button {
  position: relative;
}

.button_text {
  transition: all 0.2s;
}

.button--loading .button_text {
  visibility: hidden;
  opacity: 0;
}

.button--loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

/* This style sheet covers the custom post type Village Life and all of it's custom templates */

.apc-wrapper {
  display: flex;
  /* justify-content: space-between; */
  align-items: stretch;
  flex-direction: row;
  /* background-color: #f1f1f1; */
  width: 100% !important;
  margin-top: 60px !important;
  margin-bottom: 60px !important;
}

.left-content {
  /* background-color: pink; */
  width: 80%;
  padding-right: 60px;
}

h1.entry-title {
  margin-top: 1.5em;
}

.right-content {
  /* border: 2px solid red; */
  width: 33%;
  padding-left: 60px;
  border-left: 1px solid rgb(235, 225, 225);
}

.right-content h4 {
  padding-bottom: 30px;
}

.bottom-content-section {
  display: flex;
}

.meta-data {
  /* background-color: rgb(197, 197, 209); */
  width: 50%;
}

.place-image-two {
  width: 50%;
}

ul.place-meta_list,
ul.place-places_list {
  margin: 0;
}

ul.place-meta_list li,
ul.place-places_list li {
  list-style: none;
  line-height: 1.5em;
}

table.places-meta_table td {
  vertical-align: top !important;
  border: 0px;
  padding: 0;
}

h4.table-title_meta {
  margin-bottom: 1.2em;
}

td.place-meta_cell {
  font-weight: 500;
}

table.places-meta_table {
  border: 0px;
}

.place-type {
  margin-bottom: 1.2em;
}

/* village life */

.village-life-row {
  display: flex;
  justify-content: space-between;
  height: 100%;
  margin: 0 auto;
}

.village-life-meta {
  width: 100%;
}

img.village-life-second-image {
  /* max-width: 400px; */
  object-fit: cover;
}

.places-meta_table td {
  border: 1px solid #ddd !important;
  padding: 8px !important;
}

.places-meta_table tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.places-meta_table tr:hover {
  background-color: #ddd;
}

/* remove posted dates */

.tax-village-life-category span.posted-on {
  display: none;
}

.village-life_filter fieldset {
  border: 0px !important;
}
input[type='email'],
input[type='number'],
input[type='password'],
input[type='reset'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='url'],
select,
textarea {
  background-color: #ebe8e8;
}
