/*
Theme Name: Miséricorde Divine
Theme URI: https://misericordedivine.fr/
Version: 1.0
Description: Un thème pour le site de la SMMD
Author: Bikloz
Author URI: http://www.bikloz.com
template: bb-theme
*/

@import url('https://fonts.googleapis.com/css?family=Dancing+Script:700|PT+Sans:400,400i,700,700i');

html {
    text-rendering: optimizeLegibility;
    text-rendering: geometricPrecision;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-smooth: always;
}
    .fl-col-group.fl-node-5b7be175850a5 {
        background: #fff;
         border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    }
#subhead-title h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
}
.fl-page-nav-search a.fa-search:hover, .fl-page-nav-search a.fa-search:focus {
    color: #9d2e2e;
    text-decoration: none;
}
.fl-page-nav-search form input.fl-search-input {
        color: #ac1b1b;
}
#menu-menu-principal .fl-page-nav-search a.fa-search {
    color: #363636;
    font-size: 14px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: -1px;
}
#menu-menu-principal .sub-menu {
    padding: 10px 0;
}
#menu-menu-principal .sub-menu li {
    text-transform: initial;
}
.fl-page-nav-search form {
    background-color: #ffffff;
    border-top: 3px solid #b32926;
    display: none;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 100%;
    width: 400px;
    z-index: 1000;
    -moz-box-shadow: 0 1px 20px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 1px 20px rgba(0,0,0,0.15);
    box-shadow: 0 1px 20px rgba(0,0,0,0.15);
    margin-top: 20px;
}
#menu-topbar-droite a {
    letter-spacing: .8px;
}
#menu-topbar-droite a:hover {
    opacity: .8;
}
#menu-topbar-droite #menu-item-17 a {
    background: #c6a152;
}
a .fl-button-text,
.pp-modal-button a {
    font-weight: bold;
    letter-spacing: 1px;
}
#header-slug {
    position: fixed;
    width: 100%;
    display: block;
    z-index: 9999;
    top:0px;
}
.logged-in #header-slug {
    top:30px;
}
#header-slug .fl-row-content-wrap .fl-row-content {
    box-shadow: 0px 1px 11px -2px #3336;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
#newsfeed .fl-post-feed-post {
    margin: 20px 0;
    padding-bottom: 20px;
}

#red-before .fl-separator:before {
    content: "";
    border-top: 1px solid #ad1c1c;
    width: 130px;
    position: absolute;
    margin-top: -1px;
    overflow: hidden;
}
.fl-post-grid-post .fl-post-image,
.fl-post-feed-post .fl-post-image, 
.fl-post-grid-post.category-video .fl-post-image,
.pp-content-grid-post .fl-post-image {
	height: 150px;
	overflow: hidden;
    position: relative;
}
 .fl-post-grid-post.category-video .fl-post-image img {
    transform: scale(1.2);
    top: 10px;
    position: relative;
}
.pp-content-grid-post .fl-post-image img {
	    max-width: fit-content;
}
 .fl-post-grid-post.category-video .fl-post-image a:before {
    content: "\f144";
    font-size: 25px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    color: #fff;
    text-decoration: none;
    display: block;
    cursor: pointer;
    bottom: 10px;
    right: 14px;
    z-index: 999;
    opacity: .5;
}
.fl-post-grid-post.category-video .fl-post-image a:hover:before {
    opacity: 1;
}
.fl-post-grid-post.category-photo .fl-post-image {
    height: auto
}


/* Feed activites */

#activite-feed .fl-callout-photo-left .fl-callout-photo, 
#activite-feed .fl-callout-photo-left-text .fl-callout-photo {
    padding-right: 30px;
    width: 20%;
} 

#activite-feed .fl-photo {
    background-clip: content-box;
    border: 1px solid #d4d4d4;
    border-radius: 100px;
}
#activite-feed .fl-photo .fl-photo-content {
    padding: 2px
}
#activite-feed .fl-callout-content h5 a {
    font-size:11px;
    font-weight: bold;
    color: #27bcc2;
    letter-spacing: 1px;
}
#activite-feed .fl-callout-content h5 {
    padding-bottom: 5px;
}
#activite-feed .fl-callout-title,
#activite-feed .fl-callout-content h6 {
    padding: 0;
}
#activite-feed .fl-callout-content h2 {
    font-size:16px;
    margin: 0;
}
#activite-feed .fl-callout-content h6:before {
    content: "\f3c5";
    float: left;
    font-size: 11px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding: 0 10px 0 0;
    color: #707070;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

/* Inner layouts */
#dispatch-call h4.fl-callout-title {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    padding-top:10px;
}
.fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    display: table-cell;
    padding-right: 20px;
    width: 25%;
    vertical-align: top;
}
.fl-accordion-item {
    border-bottom: 2px solid #e5e5e5;
}
.fl-accordion-button-label {
    display: table-cell;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    color: #5f5f5f;
}
.pp-modal .pp-modal-title {
    padding: 10px 15px;
    color: #444444;
    font-size: 22px;
    text-align: left;
}
.textwidget .fl-builder-content {
	padding: 0;
}
#widget-feed .fl-post-feed-post {
	padding-bottom: 20px;
	border:none;
}
#widget-feed .fl-post-feed-image img {
    border-radius: 100%;
}
#widget-feed h2.fl-post-feed-title {
    line-height: 18px;
    padding-top: 7px;
}
h4.fl-widget-title {
    font-size: 20px;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
}
h4 {
    padding:5px 0 10px;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled .fl-row-content-wrap {
    margin-bottom: 0!important;
    margin-top: 0!important;
}
.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled #subhead-title .fl-module-content {
    margin: 15px 20px;
         -webkit-transition: all 0.4s ease-in-out, background-position 1ms;
    -moz-transition: all 0.4s ease-in-out, background-position 1ms;
    transition: all 0.4s ease-in-out, background-position 1ms;
    -o-transition:all 0.4s ease-in-out, background-position 1ms;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled #subhead-title .fl-module-content h1 {
      font-size: 27px;
          -webkit-transition: all 0.4s ease-in-out, background-position 1ms;
    -moz-transition: all 0.4s ease-in-out, background-position 1ms;
    transition: all 0.4s ease-in-out, background-position 1ms;
    -o-transition:all 0.4s ease-in-out, background-position 1ms;
}

.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled #mainlogo img {
    width: 78%;
        -webkit-transition: all 0.4s ease-in-out, background-position 1ms;
    -moz-transition: all 0.4s ease-in-out, background-position 1ms;
    transition: all 0.4s ease-in-out, background-position 1ms;
    -o-transition:all 0.4s ease-in-out, background-position 1ms;
}
.fl-builder-content[data-type="header"].fl-theme-builder-header-scrolled #mainlogo .fl-module-content {
    margin: 12px 20px;
        -webkit-transition: all 0.4s ease-in-out, background-position 1ms;
    -moz-transition: all 0.4s ease-in-out, background-position 1ms;
    transition: all 0.4s ease-in-out, background-position 1ms;
    -o-transition:all 0.4s ease-in-out, background-position 1ms;
}
.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky #mainlogo .fl-module-content, 
.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky #subhead-title .fl-module-content, 
.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky #subhead-title .fl-module-content h1, 
.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky #mainlogo {
        -webkit-transition: all 0.4s ease-in-out, background-position 1ms;
    -moz-transition: all 0.4s ease-in-out, background-position 1ms;
    transition: all 0.4s ease-in-out, background-position 1ms;
    -o-transition:all 0.4s ease-in-out, background-position 1ms;
}
/* News */

.fl-builder-module-template {
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
}
#newstab .pp-post-filters {
    margin-bottom: 30px;
    border-bottom: 1px solid #dedede;
    padding-bottom: 12px;
}
/*
#newstab .fl-tabs-horizontal .fl-tabs-labels {
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 10px;
}
#newstab .fl-tabs-horizontal .fl-tabs-label {
display: inline-block;
    margin: 0 auto;
    float: none;
    width: auto;
    position: relative;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: bold;
    font-size: 14px;
    padding: 0px 13px 10px;
    top: 0;
}
#newstab .fl-tabs-horizontal .fl-tabs-label:hover,
#newstab .fl-tabs-horizontal .fl-tabs-label.fl-tab-active {
    color: #ad1c1c;
}
#newstab .fl-tabs-horizontal .fl-tabs-panel .fl-tabs-label {
    display: none
}

.fl-tabs-panel #h-newsfeed .fl-module-content {
    margin: 0;
}
.fl-tabs-panel #h-newsfeed .fl-post-image {
     max-height: 140px;
}*/

/*Forms*/
.gfield_label {
    font-size: 16px;
}
input[type=button], input[type=submit] {
    background: #3c5873;
    color: #fff;
    font-size: 14px!important;
    line-height: 20px;
    padding: 10px 20px 9px;
    font-weight: 600;
    text-shadow: none;
    border: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 16px;
}
button:hover, input[type=button]:hover, input[type=submit]:hover {
    background: #c6a152;
    color: #ffffff;
    border: none;
    text-decoration: none;
}
/*Responsive header*/

/* Sur tous types d'écran, quand la largeur de la fenêtre est comprise entre 1024px et 1280px */
@media all and (min-width: 768px) and (max-width: 900px) {


#menu-menu-principal li > a,
#menu-menu-principal li .fl-has-submenu-container > a {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
}


}
@media all and (max-width: 768px) {



    #headcolleft #mainlogo .fl-photo-content {
        text-align: center;
    }
    #headcolleft .fl-col-content,
    #headcolright .fl-col-content {
        border-radius: 0
    }
    #headcolleft, #headcolright {
        display: inline-block;
    }
    #headcolright {
    float: right;
    top: 20px;
    position: relative;
    }
    .fl-col-group.fl-node-5b7be1bbe1f70 {
        display: none
    }
.fl-col-group.fl-node-5b7be175850a5 {
    background: #fff;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
#subhead-title h1 {
    font-size: 25px;
    line-height: 2em;
    text-align: center;
    padding: 20px 0 18px!important;
}
#newstab .pp-content-grid-post {
	text-align: center;
}
.fl-builder-content .fl-node-5b8552f0b388c > .fl-col-content {
	border: none;
}
.fl-post-feed-image img {
max-width: 70px;
}
.fl-post-feed-image {
	margin: 0!important;
}
#widget-feed .fl-post-feed-post {
	text-align: center!important;
}
#mainlogo .fl-module-content,
#headcolright .fl-module-content {
	margin-top: 10px;
}
#activite-feed .fl-photo {border: none;
}
.fl-callout {
    text-align: center;
}
#activite-feed .fl-callout-content h6:before {
display: none;
}
.pp-modal-button {
text-align: center!important;
margin:5px 0;
}
#menu-menu-principal li.search-item {
    display: none;
}
}
@media all and (max-width: 360px) {

#headcolleft {
    max-width: 60%;
} 
#headcolright .fl-col-content {
background: transparent;}
#headcolright .fl-module-content { 
margin-top:5px;
}
#headcolright .fl-menu-mobile-toggle { 
font-size:12px;
}
.home h1.fl-heading,
.home h2.fl-heading {
    font-size: 1.8em;
}
}
@supports (-ms-ime-align: auto) {

[data-type='header'].fl-builder-content.fl-theme-builder-header-sticky,
[data-type='header'].fl-builder-content.fl-theme-builder-header-sticky.fl-theme-builder-header-scrolled {
    position: relative!important;
}
body {
    padding-top: 0!important;
}
}
@media all and (min-width: 768px) {

#menu-menu-principal li.menu-mobile {
    display: none;
}
}
