/* GLOBAL STYLE override */
body {
  color: #444;
  text-align: left;
}

/*FIX override Theme underlining of current item (.current-menu-item  is being added to all items...) */
.coloured-nav ul.dropdown-menu.active-line-bottom>.current-menu-item>a, .coloured-nav ul.dropdown-menu.active-line-bottom>.current_page_item>a, .coloured-nav ul.dropdown-menu.default>.current-menu-item>a, .coloured-nav ul.dropdown-menu.default>.current_page_item>a, .fixto-fixed ul.dropdown-menu.active-line-bottom>.current-menu-item>a, .fixto-fixed ul.dropdown-menu.active-line-bottom>.current_page_item>a, .fixto-fixed ul.dropdown-menu.default>.current-menu-item>a, .fixto-fixed ul.dropdown-menu.default>.current_page_item>a{
  border: 0;
}
ul.dropdown-menu.active-line-bottom>.current-menu-item>a, ul.dropdown-menu.active-line-bottom>.current_page_item>a, ul.dropdown-menu.default>.current-menu-item>a, ul.dropdown-menu.default>.current_page_item>a{
  border: 0;
}

.header-description-row{
  text-align: center;
}

.wp-block-gallery{
  margin-left: 0;
}

.contact-form-wrapper{
  text-align: left;
}

/*Galerie: do not add pointer cursor on none clickable zone*/
#portfolio-1 .contentswap-effect{
  cursor: default;
  
}

/*BUTTONS - reusable block 'bouton primaire' */
.sb-block-cta-primary .wp-block-button__link{
    font-family: "Open Sans";
    min-width: 7rem;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    border: 2px solid #03a9f4;
    vertical-align: middle;
    -webkit-appearance: none;
    margin-bottom: .75rem;
    color: #fff;
    background-color: #03a9f4;
    border-color: #03a9f4;
    border-radius: 56px;
    font-size: .85rem;
    font-weight: 600;
    padding: .65rem 2rem;
    line-height: 1.6rem;
    transition: all .3s linear;
}

.sb-block-cta-primary .wp-block-button__link:hover,
.sb-block-cta-primary .wp-block-button__link:focus{
  color: #fff;
  background-color: #2ebcfc;
  border-color: #2ebcfc;
}

/*BUTTONS - reusable block 'bouton secondaire' */
.sb-block-cta-secondary .wp-block-button__link{
    font-family: "Open Sans";
    min-width: 7rem;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    border: 2px solid #5a5a5a;
    vertical-align: middle;
    -webkit-appearance: none;
    margin-bottom: .75rem;
    color: #5a5a5a;
    background-color: transparent;
    border-color: #5a5a5a;
    border-radius: 56px;
    font-size: .85rem;
    font-weight: 600;
    padding: .65rem 2rem;
    line-height: 1.6rem;
    transition: all .3s linear;
}

.sb-block-cta-secondary .wp-block-button__link:hover,
.sb-block-cta-secondary .wp-block-button__link:focus{
  background-color: #eaeaea;
}

/* HR */
.sb-block-separator-big{
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.sb-block-separator-small{
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Spacers */
.sb-block-spacer-sm{
  height: 50px;
}

.sb-block-spacer-md{
  height: 100px;
}

/* Override theme: all buttons should have the same radius*/
.button{
  border-radius: 56px;
}

/* UL on mobile override to avoid center text*/
ul {
  text-align: left;
}

/* SUBTITLES */
.sb-subtitle {
  line-height: 1.5rem;
  font-weight: 800;
  letter-spacing: .14rem;
  font-family: Muli,sans-serif;
  color: #FF9800;
  font-size: 0.83rem;
  text-transform: uppercase;
}

/* Column layout with 2 buttons inside*/
.sb-column-buttons .wp-block-column:first-child .wp-block-button{
  text-align: right;
}
.sb-column-buttons .wp-block-column:last-child .wp-block-button{
  text-align: left;
}

/* HP contact form */
.sb-form-wrapper{
  color: #222;  
}

.sb-form-wrapper .nf-form-fields-required{
  color: #222;
  font-style: italic;
  margin-bottom: 15px;
}

.sb-form-wrapper ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.sb-form-wrapper ul li {
  flex: 0 0 50%;
}

.sb-form-wrapper label {
  text-transform: none;
  letter-spacing: normal;
}

.sb-form-wrapper .listradio-wrap .nf-field-element label.nf-checked-label:before{
  top: 5px;
}

.sb-form-wrapper .nf-response-msg p{
  color: #03a9f4;
  font-weight: bold;
  margin-bottom: 30px;
}

.sb-form-wrapper .wb-form-submit button, 
.sb-form-wrapper .wb-form-submit input[type=button], 
.sb-form-wrapper .wb-form-submit input[type=submit]{
  text-transform: uppercase;
  font-family: "Open Sans";
  min-width: 7rem;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  border: 2px solid #03a9f4;
  vertical-align: middle;
  -webkit-appearance: none;
  margin: 0 auto;
  color: #fff;
  background-color: #03a9f4;
  border-color: #03a9f4;
  border-radius: 56px;
  font-size: .85rem;
  font-weight: 600;
  padding: .65rem 2rem;
  line-height: 1.6rem;
  transition: all .3s linear;
}

.sb-form-wrapper .wb-form-submit button:hover,
.sb-form-wrapper .wb-form-submit input[type=button]:hover, 
.sb-form-wrapper .wb-form-submit input[type=submit]:hover {
  color: #fff;
  background-color: #2ebcfc;
  border-color: #2ebcfc;
}

/* Lightbox extension: remove title and item count*/
.slb_details{
  display: none !important;
}

/* Livre d'or (Gwolle)*/
.gwolle-gb-write-button{
  display: block;
  max-width: 300px;
  margin: 20px auto !important;
}

.gwolle-gb div.input textarea{
  resize: vertical;
}

.gwolle_gb_notice{
  font-size: 13px;
  font-style: italic;
}

.gwolle-gb .gb-entry{
  background-color: #FFFFFF;
  margin-top: 10px !important;
  border-radius: 5px;
  border-top-width: 0 !important;
}

.gwolle-gb .gwolle-gb-first{
  margin-top: 0;
}

.gwolle-gb .gb-entry .gb-author-info .gb-author-name .gb-moderator{
 font-style: normal !important; 
}

/* Media + text on the right: remove padding on the left of text*/
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{
  padding-left: 0;
}

/* Events */
.tribe-events-button.tribe-events-ics{
  display: none;
}
.tribe-events .tribe-events-c-subscribe-dropdown__container{
  display: none;
}

.tribe-common .tribe-common-anchor-thin{
  transition: all 0.2s ease;
}

.tribe-common .tribe-common-anchor-thin:active, 
.tribe-common .tribe-common-anchor-thin:focus, 
.tribe-common .tribe-common-anchor-thin:hover{
  color: #03a9f4;
}

.tribe-events-pg-template #jp-relatedposts{
  display: none !important;
}

/* Mobile override */
@media (max-width: 600px){
  .wp-block-media-text .wp-block-media-text__media{
    margin-bottom: 15px;
    text-align: center;
  }
  
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content{
    padding-left: 8%;
  }
  
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content{
    padding-left: 0;
    padding-right: 0;
  }
  
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media{
    margin-bottom: 0;
    margin-top: 15px;
  }
  
  .wp-block-column{
    margin-bottom: 30px;
  }
  .wp-block-column:last-child{
    margin-bottom: 0;
  }
  
  .sb-column-buttons .wp-block-column:first-child .wp-block-button{
    text-align: center;
  }
  .sb-column-buttons .wp-block-column:last-child .wp-block-button{
    text-align: center;
  }
  
  .sb-column-buttons .wp-block-column{
    margin-bottom: 0;
  }
  
  .card.large-padding{
    padding: 12px;
  }
  
  .sb-form-wrapper ul {
    display: block;
  }
  
  .sb-form-wrapper ul li {
    flex: none;
  }
}