/*
Theme Name: Crispesh Theme
Author: Patrick Quevillon
Description: Crispesh website 2020
*/
/* Color Variable */
/* Global Variable */
/* Normalization */
:focus {
  outline: inherit;
}

* {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

nav li {
  list-style: none;
}

html {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

html > body {
  position: relative;
  background-color: white;
}

a, .rslides .caption {
  color: rgb(45, 130, 250);
  text-decoration: none;
  background-color: transparent;
}

a:hover, .wpcf7 a.wpcf7-submit:hover, .rslides .caption:hover {
  color: #0056b3;
  cursor: pointer;
  text-decoration: none;
}

.toggled-button {
  box-shadow: inset 0px 0px 10px 1px;
}

button, .wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-submit {
  padding: 5px;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  text-align: center;
  border-radius: 5px;
  transition: opacity 0.5s;
}

button:hover, .wpcf7 .wpcf7-submit:hover {
  opacity: 0.6;
  transition: opacity 0.5s;
  cursor: pointer;
}

button:focus, .wpcf7 .wpcf7-submit:focus {
  outline: none;
}

/* HEADER */
#master-header {
  background-color: white;
  box-shadow: 0 4px 4px 0 grey;
  margin-bottom: 4px;
}

#site-navigation {
  padding: 5px 10px;
}

#toggle-site-navigation-wrapper {
  display: none;
}

#top-menu {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.site-header-container {
  padding: 10px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-icon-wrapper {
  width: 25%;
  text-align: center;
  flex-grow: 1;
  min-width: 250px;
}

.site-icon-wrapper img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.menu > .menu-item {
  width: -moz-max-content;
  width: max-content;
  font-size: 1.2rem;
  padding: 18px 12px;
}

.menu-item a {
  color: black;
}

.menu > .menu-item:hover:not(.menu-item-has-children) {
  box-shadow: 0 0 5px 1px rgb(45, 130, 250);
  border-radius: 2px;
  transition: box-shadow 0.5s, transform 0.5s;
}

.menu-item:hover > a, .wpcf7 .menu-item.wpcf7-submit:hover > a, .menu-item:hover > a > .arrow {
  color: rgb(45, 130, 250);
  transition: color 0.5s, transform 0.5s ease-in-out;
}

.arrow {
  padding-left: 3px;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: white;
  width: -moz-max-content;
  width: max-content;
  max-width: 250px;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
  border-top: 2px solid rgb(45, 130, 250);
  margin-top: 15px;
}

.sub-menu > .menu-item {
  padding: 15px;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.sub-menu > .menu-item:hover {
  background-color: rgba(45, 130, 250, 0.1);
}

/* SITE */
#content {
  min-height: 30vh;
}

/* FOOTER */
#partenaire-container, .sidebar-widgets-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.sidebar-partenaires-container {
  padding-left: 35px;
  padding-right: 35px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.sidebar-title {
  text-align: center;
}

.sidebar-widgets-container > .widget {
  display: flex;
  align-items: center;
  max-width: 300px;
  margin: 10px;
}

#informations-sidebar-wrapper {
  width: 100%;
  background: rgba(0, 0, 0, 0.89);
}

#informations-sidebar-container {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px 35px;
}

#informations-sidebar-container .widget-title {
  display: inline;
  font-size: 1rem;
  padding-left: 10px;
  margin: unset;
  color: white;
}

#informations-sidebar-container > .widget_media_image {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin: 5px;
}

#informations-sidebar-container img {
  width: 25px;
  height: 25px;
}

/* CATEGORY.php */
.category-section-border, #category-section {
  margin: auto;
  margin-top: 4%;
  margin-bottom: 2%;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 3.5%;
  border-top: 3px solid #007bff;
}

#category-section {
  display: flex;
  width: 80vw;
  justify-items: center;
}

#category-menu-wrapper {
  margin-top: 25px;
  width: -moz-max-content;
  width: max-content;
  max-width: 25%;
  min-width: 150px;
}

.category-menu-item {
  padding: 15px 0px;
}

.category-menu-item a {
  color: rgb(45, 130, 250);
}

#post-shown {
  padding: 30px;
  max-width: 75%;
}

.post-title-separator {
  margin: 15px 0px;
}

.post-date {
  font-size: 1rem;
}

/* Front-page */
.carousel.slide {
  box-shadow: 0 4px 4px 0 gray;
}

.carousel-caption {
  background: white !important;
  opacity: 0.9 !important;
  color: rgb(0, 0, 0) !important;
  text-align: center;
  padding: 2% 1%;
  font-size: 2rem;
  line-height: 1.15;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.carousel-item {
  height: 500px;
  background-position: 50% 50%;
  background-size: cover;
}

.carousel-control {
  position: absolute;
  top: 30%;
  font-size: 100px;
  color: black;
  font-weight: normal;
  opacity: 0.2;
  transition: opacity 0.5s;
  background-color: transparent;
}

.carousel.slide:hover .carousel-control {
  opacity: 1;
  transition: opacity 0.5s;
}

.carousel-control-prev {
  left: 10px;
  transition: left 0.5s ease-in-out;
}

.carousel.slide:hover .carousel-control-prev {
  left: 10%;
}

.carousel-control-next {
  right: 10px;
  transition: right 0.5s ease-in-out;
}

.carousel.slide:hover .carousel-control-next {
  right: 10%;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 25%;
  height: 25%;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
}

#actuality-container {
  width: 1000px;
  max-width: 80%;
  margin: auto;
  padding: 2% 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#actuality-title {
  font-size: 1.75rem;
  padding: 1.5% 10px;
}

.actuality-post {
  margin: 2% 0px;
  padding: 2% 10px;
  box-shadow: 0px 0px 5px 0.01px rgba(0, 0, 0, 0.103);
}

.actuality-post-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1%;
  margin-bottom: 2.5%;
}

.actuality-post-date {
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.116);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.actuality-post-content {
  font-size: 1rem;
  line-height: 1.35rem;
}

.alm-load-more-btn {
  width: 100%;
  margin: auto;
}

.alm-load-more-btn.done {
  display: none;
}

.grecaptcha-badge {
  opacity: 0;
}

main ul, main ol {
  text-align: left;
}

/* CONTACT FORM */
.wpcf7 {
  display: flex;
  margin: auto;
  margin-top: 4%;
  margin-bottom: 2%;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
  padding: 3.5%;
  border-top: 3px solid #007bff;
  justify-items: center;
  max-width: 1535px;
}

.wpcf7-form {
  width: 100%;
}

.wpcf7 p {
  margin-bottom: unset;
}

.wpcf7 p label {
  width: 100%;
}

.wpcf7 .wpcf7-form-control:not(.wpcf7-submit) {
  display: block;
  width: calc(100% - 10px);
  padding: 5px;
  margin: 5px 0px;
  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;
}

.wpcf7 .wpcf7-textarea {
  height: 180px;
}

.wpcf7 .wpcf7-submit {
  width: 100%;
}

#contact-form-title {
  margin-bottom: 10px;
}

/* Nos projets */
#projects-container {
  margin: 5% auto;
}

.project-container {
  padding-bottom: 1rem;
}

.project-head-title {
  text-align: center;
}

.project-title {
  font-size: 1rem;
}

.project-title-wrapper {
  max-width: 67%;
}

.project-wrapper {
  display: flex;
  padding-left: 3.5%;
  padding-right: 3.5%;
  padding-top: 2%;
  padding-bottom: 2%;
  font-size: 1.25rem;
  align-items: center;
}

.project-wrapper .attachment-post-thumbnail {
  width: 30%;
  height: auto;
  margin-right: 3%;
  border: 0.5px solid black;
}

.project-wrapper:nth-child(even) {
  background: rgba(0, 0, 0, 0.05);
}

/* POST RELATED */
.wp-block-separator {
  margin: 1rem 0px;
}

.post-content-container {
  font-size: 1rem;
  line-height: 1.35rem;
  text-align: justify;
}

.post-content-container p {
  margin-bottom: 0.5rem;
}
.post-content-container p strong {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

/* PAGE RELATED */
#page-container {
  display: flex;
  flex-direction: column;
  padding: 2% 0px;
}

#page-title-wrapper {
  font-weight: bold;
  width: 80vw;
  margin: auto;
  margin-bottom: 2%;
  text-align: center;
}

#page-content-container {
  display: flex;
  padding: 0px 10%;
  margin-bottom: 2%;
}

#page-thumbnail-wrapper {
  width: 30vw;
  min-width: 280px;
  padding-right: 3%;
}

#page-thumbnail-wrapper .attachment-post-thumbnail {
  width: 100%;
  height: auto;
  border: 0.5px solid black;
}

#page-content-wrapper {
  min-width: 60vw;
  max-width: 70vw;
}

#button-goto-nos-projets-linker {
  max-width: 300px;
  margin: auto;
  font-size: 1.25rem;
  border: none;
}

/* 404.php */
.page-not-found {
  width: 80%;
}

/* Index.php */
.index-wrapper {
  width: 80%;
}

/* Responsive Variable */
/* MOBILE SCREEN RESPONSIVE */
@media (max-width: 680px) {
  .rslides {
    box-shadow: 0 2px 2px 0 gray;
  }
  #actuality-title {
    font-size: 1.5rem;
  }
  .actuality-post-title {
    font-size: 1rem;
  }
  #informations-sidebar-container .widget-title {
    font-size: 0.7rem;
  }
  .post-content-container {
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: justify;
  }
  #site-navigation-container {
    position: fixed;
    background-color: white;
    top: 50px;
    left: -180px;
    font-size: 16px !important;
    line-height: 1.4;
    transition: left 750ms cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 9999;
  }
  .site-header-container {
    padding: unset;
  }
  .site-icon-wrapper {
    padding: 10px 60px;
  }
  #toggle-site-navigation-wrapper {
    display: unset;
    left: 180px;
    position: absolute;
  }
  #toggle-site-navigation {
    width: 52px;
    height: 52px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    background: #4054b2 url("images/MenuIcon.png") no-repeat top;
    background-size: cover;
    border: none;
  }
  #site-navigation {
    border: 1px solid;
    font-size: 100%;
    width: 180px;
  }
  #top-menu {
    flex-direction: column;
    flex-wrap: unset;
    justify-content: unset;
  }
  .menu > .menu-item {
    font-size: unset;
    padding: 5px 3px;
  }
  .menu > .menu-item:hover {
    box-shadow: 0 0 5px 1px rgb(45, 130, 250);
    border-radius: 2px;
    transition: box-shadow 0.5s, transform 0.5s;
  }
  .menu-item-has-children:hover > .sub-menu {
    display: none;
  }
  .arrow {
    display: none;
  }
  #category-section {
    flex-direction: column-reverse;
  }
  .category-section-border, #category-section {
    box-shadow: unset;
    margin: unset;
    border: unset;
    width: unset;
    justify-content: unset;
  }
  #category-menu-wrapper, #category-post-shown, #post-shown {
    width: 100%;
    max-width: unset;
    margin-top: 4%;
    margin-bottom: 2%;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
    padding: 3.5%;
    border-top: 3px solid #007bff;
  }
  .project-wrapper, #page-content-container {
    flex-direction: column;
  }
  .project-wrapper > *, #page-content-container > * {
    width: 100% !important;
    max-width: unset;
    text-align: justify;
  }
  .project-wrapper > img {
    min-height: 300px;
    max-height: 70vh;
  }
  #toggle-site-navigation {
    border-radius: unset;
  }
}
/* TABLET SCREEN RESPONSIVE */
@media (min-width: 681px) and (max-width: 1280px) {
  .site-header-container {
    display: block;
    padding: 5px;
  }
  .site-icon-wrapper {
    text-align: center;
    width: unset;
  }
  .site-icon-wrapper img {
    margin: auto;
    max-height: 20%;
  }
  .menu > .menu-item {
    width: unset;
    font-size: 1rem;
    padding: 10px 5px;
  }
  .menu-item-has-children:hover > .sub-menu {
    margin-top: 10px;
  }
  .rslides {
    box-shadow: 0 3px 3px 0 gray;
  }
  #actuality-title {
    font-size: 1.6rem;
  }
  .actuality-post-title {
    font-size: 1.1rem;
  }
  #informations-sidebar-container .widget-title {
    font-size: 0.7rem;
  }
  .post-content-container {
    font-size: 0.9rem;
    line-height: 1.15rem;
    text-align: justify;
  }
  #page-content-container {
    flex-direction: column;
  }
  #page-thumbnail-wrapper, #page-content-wrapper {
    width: 100%;
    max-width: unset;
    margin-bottom: 2%;
  }
  #category-section {
    flex-direction: column-reverse;
  }
  .category-section-border, #category-section {
    box-shadow: unset;
    margin: unset;
    border: unset;
    width: unset;
    justify-content: unset;
  }
  #category-menu-wrapper, #category-post-shown, #post-shown {
    width: 100%;
    max-width: unset;
    margin-top: 4%;
    margin-bottom: 2%;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
    padding: 3.5%;
    border-top: 3px solid #007bff;
  }
}
/* LAPTOP RESPONSIVE */
@media (min-width: 1281px) and (max-width: 1680px) {
  .site-header-container, #informations-sidebar-container {
    width: 1250px;
    margin: auto;
    padding-left: unset;
    padding-right: unset;
  }
  .site-icon-wrapper img {
    max-width: 320px;
  }
  .site-icon-wrapper {
    all: unset;
  }
  .menu > .menu-item, .sub-menu > .menu-item {
    font-size: 1rem;
  }
  #informations-sidebar-container .widget-title {
    font-size: 0.8rem;
  }
}/*# sourceMappingURL=style.css.map */