/*
Theme Name: st_felicien
Description: Theme enfant de la Mairie de Saint-Félicien
Author: Ziofix
Author URI: https://www.ziofix.fr/
Template: understrap
Version: 1.1.3
*/

/*-------------------------------------------
                   Général
-------------------------------------------*/

a {
  color: #2D497C;
}

a:hover {
  text-decoration: none;
  color: #2D497C;
}

.posted-on {
  font-size: 0.85em;
}

.posted-on time {
  color: #6C757D;
  text-decoration: none;
  display: block;
}

h3 {
  font-size: 1.1em;
}

div.card.text-center {
  max-width: 30.3%;
}

a.wp-block-file__button , a.wp-block-button__link {
  background: #2D497C !important;
}

figcaption {
  width: 100%;
  font-style: italic;
  text-align: center;
  color: #6C757D;
}

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

    /***** The Hight Navbar Area *****/

.navbar-brand {
  color: #2D497C !important;
  font-size: 2.4em;
}

.bg-light {
  background-color: white !important;
}

.blason {
  max-width : 70px;
}

::placeholder {
  font-size: 1em;
}

#searchsubmit {
  display: none;
}

#s {
  height: 2rem;
  border-radius: 20px;
}

.btn.btn-primary {
  text-decoration: none;
  width: 8rem;
  height: 2rem;
  border-radius: 20px;
  border-style: none;
  color: white;
  font-size: 0.9em;
  background-color: #FF0068;
}

.btn.btn-light {
  color: #2D497C;
  border-color: #2D497C;
}

    /***** The Jumbotron Area *****/

.jumbotron {
  background-image: url("/wp-content/uploads/2020/12/Stfelicien01.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  box-shadow: inset 450px 0 150px rgba(0, 0, 0, 0.6);
}

h1.display-4 {
  width: 30%;
  font-size: 2.4em;
  font-weight: bold;
  text-shadow: #212529 1px 1px 5px;
}

.lead {
  width: 35%;
  font-size: 1em;
  text-shadow: #212529 1px 1px 5px;
}

  /***** The Menu Navbar Area *****/
#header-menu {
  padding: 0;
  height: 12%;
}

.menu-plan-du-site-container {
  width: 100%;
}

#menu-plan-du-site {
  justify-content: center;
  align-items: center;
  background-color: white;
  padding-left: 0;
}

.nav-menu-large {
  align-items: center;
  border-bottom: 2px solid #F0F0F0;
  padding-top: 1%;
  padding-bottom: 1%;
  transition-property: all;
  transition-duration: 0.5s;
}

#menu-plan-du-site > .menu-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  bottom: 1.5rem;
  width: 7.5rem;
  height: 4rem;
  border-radius: 5px;
  margin-right: 1%;
  transition-property: all;
  transition-duration: 0.5s;
}

#menu-plan-du-site > .nav-item-large {
  bottom: 0;
  height: 2.5rem;
  width: 11rem;
  transition-property: all;
  transition-duration: 0.5s;
}

.menu-item > a {
  text-decoration: none;
  color: white;
  display: block;
}

#menu-plan-du-site .sub-menu {
  position: relative;
  top: 50%;
  border: 1px solid #F0F0F0;
  border-radius: 5px;
  list-style-type: none;
  padding-left: 0;
  height: 100%;
}

.menu-item-has-children:hover > a {
  position: relative;
  top: 40%;
}

#menu-plan-du-site .menu-item-has-children.nav-item-large .sub-menu {
  top: 40%;
}

#menu-plan-du-site .menu-item-has-children.nav-item-large .sub-menu > li {
  width: 100%;
}

.discover, .discover .sub-menu > li{
  background-color: #2D497C;
  border-color: #2D497C;
}

.live, .live .sub-menu > li {
  background-color: #AE251C;
  border-color: #AE251C;
}

.municipal, .municipal .sub-menu > li {
  background-color: #e8a12e;
  border-color: #e8a12e;
}

.proceedings, .proceedings .sub-menu > li {
  background-color: #06284A;
  border-color: #06284A;
}

.events, .events .sub-menu > li {
  background-color: #1ACECD;
  border-color: #1ACECD;
}

.sub-menu > li > a {
  padding: 0.5em;
  line-height: 1em;
  font-size: 0.9em;
}

.sub-menu > li:hover {
  background-color: #d7d7d7;
}

.sub-menu > li > a:hover {
  color: #2D497C;
  display: block;
}

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

#wrapper-footer-full {
  background-color: #2D497C;
  color: white;
  text-align: center;
  font-size: 0.8em;
}

#wrapper-footer-full h3 {
  font-size: 1.1em;
  font-weight: bold;
}

#wrapper-footer-full ul {
  list-style-type: none;
  padding-left: 0;
}

#wrapper-footer-full li {
  background-color: #2D497C;
}

#wrapper-footer-full a {
  text-decoration: none;
  color: white;
}

#wrapper-footer-full i {
  border: 1px solid white;
  padding: 3%;
  margin-right: 3%;
  border-radius: 50%;
}

#nav_menu-2 {
  border-right: 0.5px solid #556B94;
}

#custom_html-2 {
  border-right: 0.5px solid #556B94;
}

#custom_html-2 li {
  padding-top: 9%;
  text-align: left;
  padding-left: 3%;
}

#custom_html-3 {
  padding-left: 5%;
}

#custom_html-3 h3 {
  padding-bottom: 8%;
}

.menu-menu-pied-de-page-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
}

#menu-menu-pied-de-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.textwidget {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

/*-------------------------------------------
                  Homepage
-------------------------------------------*/

  /***** Recent Posts Area *****/

.recent-posts-container p {
  font-size: 1em;
}
.recent-posts-container-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #2D497C;
}

.recent-posts-container-title a:hover {
  text-decoration: underline;
}

.new-card {
  color: black;
}

.new-card:hover {
  text-decoration: none;
  color: black;
}

.list-posts-link {
  width: 200px;
  height: 35px;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: white;
}

.list-posts-link:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

.recent-posts-container img {
  box-shadow: 0px 0px 0px white;
  margin-bottom: 0;
}

.recent-posts-container .col {
  padding-right: : 0;
}

.list-posts-link-2 {
  display: none;
}

  /***** Recent Events Area *****/

.recent-events-container {
  background-color: #F0F0F0;
  width: 100%;
}

.recent-events-container-header {
  color: #2D497C;
  text-align: center;
  padding-top: 20px;
}

.recent-events-container-title a:hover {
  text-decoration: underline;
}

.recent-events-cards {
  width: 80%;
  margin-left: 10%;
}

.ect-list-description {
  border-color: white;
  box-shadow: inset 0px 0px 0px white !important;
}

.ect-list-date {
  transition: none;
  max-width: 35%;
}

.ect-icon > i {
  color: white;
}

.ect-venue-details div {
  color: white;
}

.ect-events-read-more {
  color: #2D497C !important;
}

.ect-google .tribe-events-gmap {
  color: white !important;
}

.tribe-events-gmap {
  color: black;
}

.recent-events-footer {
  text-align: center;
}

.list-events-link {
  display: inline-block;
  width: 200px;
  height: 35px;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: #F0F0F0;
  margin-bottom: 30px;
}

.list-events-link:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

#ect-no-events {
  text-align: center;
}

div#ect-no-events > p {
  font-size: 1em;
}

i.ect-icon-bell {
  color: #FF0068;
}

      /***** Block Link 1 Area *****/

.block-links.container-fluid {
  padding: 0;
}

.block-link-1 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: 2%;
  margin-bottom: 2%;
}

.block-link-1 p {
  font-size: 1em;
}

.text-container {
  border: solid 2px #F0F0F0;
  background-color: white;
  padding: 3%;
  width: 40%;
}

.text-container h3 {
  width: 45%;
  font-size: 1.4em;
  color: #2D497C;
}

.text-container a {
  display: inline-block;
  width: 170px;
  height: 30px;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
  padding-top: 6px;
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: white;
}

.text-container a:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

      /***** Block Link 2 Area *****/

.block-link-2 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  background-color: #2D497C;
  display: flex;
  align-items: center;
  margin-bottom: 4%;
}

.block-link-2 p {
  font-size: 1em;
}

.block-link-2-content {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.block-link-2-text {
  width: 65%;
  padding: 3%;
}

.block-link-2-text h3 {
  width: 50%;
  font-size: 1.4em;
  color: white;
}

.block-link-2-text a {
  display: inline-block;
  width: 170px;
  height: 30px;
  font-size: 0.8em;
  text-align: center;
  text-decoration: none;
  padding-top: 6px;
  border-radius: 20px;
  border: 1px solid #FF0068;
  background-color: #FF0068;
  color: white;
}

.block-link-2-text a:hover {
  border: 1px solid white;
}

.block-link-2-text p {
  color: white;
}

.block-link-2-miniature-1 {
  margin-bottom: -13%;
  margin-right: 2%;
  margin-left: 3%;
  border: 2px solid #F0F0F0;
}

.block-link-2-miniature-2 {
  margin-top: -3%;
  border: 2px solid #F0F0F0;
}

/*-------------------------------------------
              Page (content-page)
-------------------------------------------*/

.entry-header.page-content {
  text-align: left;
}

.entry-title {
  color: #2D497C;
}

.entry-content p {
  font-size: 0.9em;
  text-align: justify;
}

.wp-block-image {
  text-align: center;
}

.wp-block-image img {
  margin-bottom: 20px;
}

.size-large {
  max-width: 60%;
  margin-left: 20%;
}

.post-edit-link {
  display: inline-block;
  width: 80px;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: white;
}

.post-edit-link:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

/*-------------------------------------------
          Liste d'articles (content)
-------------------------------------------*/

.entry-header-post-list {
  text-align: center;
}

.entry-header-post-list > h2 > a {
  font-size: 1.5em;
}

/*-------------------------------------------
                  Article
-------------------------------------------*/

.entry-header.article-content {
  text-align: left;
}

.post-pictures-container {
  text-align: center;
}

.return-to-list-posts-button {
  text-align: center;
}

.btn-outline-post-list {
  color: #1ACECD;
  background-color: white;
  border-radius: 20px;
  border-color: #1ACECD;
}

.btn-outline-post-list:hover {
  color: white;
  background-color: #1ACECD;
  border-radius: 20px;
}

/*-------------------------------------------
               Search Page
-------------------------------------------*/

.page-title {
  color: #2D497C;
  font-size: 2.2em;
}

.page-title span {
  font-style: italic;
}

.entry-header {
  text-align: center;
}

.col-sm-8 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h2.entry-title {
  font-size: 1.5em;
  color: #2D497C;
  text-decoration: none;
}

h2.entry-title a {
  text-decoration: none;
}

.comments-link {
  display: none;
}

/*-------------------------------------------
                Evènement
-------------------------------------------*/

.tribe-events-schedule.tribe-clearfix > h2 {
  color: #1ACECD;
}

.tribe-events-single-section-title {
  color: #AE251C;
}

.tribe-events-meta-group.tribe-events-meta-group-details dt {
  color: #2D497C;
}

.tribe-events-meta-group.tribe-events-meta-group-organizer dt {
  color: #2D497C;
}

.tribe-events-meta-group.tribe-events-meta-group-venue dt {
  color: #2D497C;
}

.tribe-events-back {
  text-align: center;
}

.tribe-events-back a {
  color: #1ACECD;
  background-color: white;
  border-radius: 20px;
  border: 1px solid #1ACECD;
  padding: 6px;
}

.tribe-events-back a:hover {
  color: white;
  background-color: #1ACECD;
  border-radius: 20px;
}

/*-------------------------------------------
       Liste d'évènements - vue liste
-------------------------------------------*/

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  padding-top: 40px;
}

.agenda-title-container {
  height: 80px;
}

.agenda-title-container > hr{
  width: 66%;
  border: 1px solid #FF0068;
  margin-top: 0.25em;
}

.tribe-common-c-btn.tribe-events-c-search__button {
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: white;
  height: 25%;
  line-height: 0.36;
}

.tribe-common-c-btn.tribe-events-c-search__button:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

.tribe-events-c-top-bar__datepicker-desktop.tribe-common-a11y-hidden {
  font-size: 0.5em;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
  font-size: 1.6em;
  color: #2D497C;
}

.tribe-events-calendar-list__event-date-tag.tribe-common-g-col span {
  color: #1ACECD;
}

/*-------------------------------------------
       Liste d'évènements - vue mois
-------------------------------------------*/

.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
  display: none;
}

/*-------------------------------------------
           Formulaire de Contact
-------------------------------------------*/

.gfield {
  color: black;
}

.gfield > label {
  color: #2D497C;
}

#gform_submit_button_1 {
  display: inline-block;
  width: 80px;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
  border: 1px solid #FF0068;
  color: #FF0068;
  background-color: white;
}

#gform_submit_button_1:hover {
  text-decoration: none;
  color: white;
  background-color: #FF0068;
}

/*-------------------------------------------
          Archives des actualités
-------------------------------------------*/

.archived-posts-title-month {
  color: #2D497C;
}

.archived-posts-the-time {
  color: #1ACECD;
}

.archived-post-the-permalink {
  color: #AE251C;
}

.archived-post-the-permalink:hover {
  color: #AE251C;
}

/*-------------------------------------------
           Frontpage - Responsive
-------------------------------------------*/

@media all and (max-width: 991px) {
  h1.display-4 {
    width: 60%;
  }
  .lead {
    width: 75%;
  }
  .block-link-1 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .text-container {
    width: 90%;
    height: 80%;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 0.9em;
    opacity: 0.9;
  }
  .text-container h3 {
    width: 90%;
  }
  .block-link-2-text {
    font-size: 0.9em;
    width: 90%;
    margin-left: 5%;
  }
  .block-link-2-miniature-1, .block-link-2-miniature-2 {
    display: none;
  }
}

@media all and (max-width: 735px) {
  .entry-title {
    font-size: 1.6em;
  }
  ul.navbar-nav.d-flex.justify-content-around {
    flex-direction: column;
  }

  ul.navbar-nav.d-flex.justify-content-around > li {
    padding-bottom: 2%;
  }

  a.d-md-none:hover {
    text-decoration: underline;
  }

  h1.display-4 {
    font-size: 1.6em;
  }
  .lead {
    width: 75%;
  }
  .text-container h3 {
    font-size: 1.2em;
  }
  .text-container p {
    font-size: 0.7em;
  }
  .block-link-2-text {
    font-size: 0.7em;
  }
  #nav_menu-2 {
    display: none;
  }
  #custom_html-2 {
    border-right: 0px;
  }
  #custom_html-2 li {
    padding-top: 2%;
  }
}

@media all and (max-width: 575px) {
  .entry-title {
    font-size: 1.4em;
  }
  #hight-wrapper-navbar {
    width: 100%;
    margin: 0;
  }
  .navbar-brand {
    font-size: 1.5em;
  }
  .lead {
    width: 100%;
  }
  h1.display-4 {
    width: 100%;
    font-size: 1.4em;
  }
  .text-container {
    text-align: center;
  }
  .text-container h3 {
    font-size: 1em;
  }
  .block-link-2-content {
    width: 100%;
  }
  .block-link-2-text h3 {
    width: 100%;
  }
  .block-link-2-text{
    text-align: center;
  }
  .list-posts-link {
    display: none;
  }
  .list-posts-link-2 {
    display: inline;
    margin-top: 2%;
    width: 200px;
    height: 35px;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #FF0068;
    color: #FF0068;
    background-color: white;
  }
  .list-posts-link-2:hover {
    text-decoration: none;
    color: white;
    background-color: #FF0068;
  }
  .recent-posts-container > .container > .row {
    flex-direction: column;
  }
  div.card.text-center {
    max-width: 100%;
  }
}
