html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 992px) {
    body {
        background-color: #f8f8f8;
    }
}

/*
body {
    background-color: #f8f8f8;
    background-image: url(/wp-content/uploads/2019/05/bg-wave.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center 162px;
    background-size: contain;
}

@media (min-width: 768px){
    body {
        background-position: center 161px;
    }
}

@media (min-width: 992px){
    body {
        background-position: center 120px;
    }
}*/

p,
.ff-richtext{
    font-size: 14px;
    font-weight: 400;
    color: #505050;
    line-height: 1.428571428571429;
    letter-spacing: 0.02em;
}

p {
    margin: 0 0 20px;
}

li, li a {
    font-size: 14px;
    font-weight: 400;
    color: #505050;
    letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a{
    font-family: 'custom-font-family-1', sans-serif;
    text-transform: none;
    font-weight: 400 !important;
    letter-spacing: 0.00em;
    color: #505050;
}

.ff-custom-menu-wrapper {
    top: 80px;
}
@media (min-width: 768px){
    .ff-custom-menu-wrapper {
        top: 90px;
    }
}

@media (max-width: 767px){
    .admin-bar .ff-custom-menu-wrapper {
        top: calc(80px + 46px);
    }
}

@media (min-width: 768px) and (max-width: 782px){
    .admin-bar .ff-custom-menu-wrapper {
        top: calc(90px + 46px);
    }
}

@media (min-width: 783px){
    .admin-bar .ff-custom-menu-wrapper {
        top: calc(90px + 32px);
    }
}


@media (max-width: 991px){
    
    .ff-custom-menu-wrapper {
        position: fixed;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #ccc;
        overflow: hidden;
    }
    
    .ff-custom-menu-overlay {
        background-color: rgba(0,0,0,0.8);
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
    }
    
}

.masonry-grid {
    overflow: visible;
}

.ff-custom-hamburger-icon,
.ff-custom-hamburger-icon:before,
.ff-custom-hamburger-icon:after {
    width: 34px;
    height: 2px;
    background-color: #08355c;
}

.ff-custom-hamburger-icon {
    position: relative;
}

.ff-custom-hamburger-icon:before,
.ff-custom-hamburger-icon:after {
    content: '';
    position: absolute;
    left: 0;
}

.ff-custom-hamburger-icon:before {
    bottom: 9px;    
}

.ff-custom-hamburger-icon:after {
    top: 9px;    
}

.ff-pagination,
.ff-pagination a {
    font-family: 'custom-font-family-1', sans-serif;
}

.ff-pagination .previous span,
.ff-pagination .next span {
    display: none;
}

.ff-pagination .previous a,
.ff-pagination .next a {
    background-position: center center !important;
    background-color: transparent !important;
    height: 42px;
}

.ff-pagination .previous a {
    background-image: url(https://www.epargne-mensuelle.com/wp-content/uploads/2019/05/arrow-left.svg) !important;
    margin-right: 15px;
}

.ff-pagination .next a {
    background-image: url(https://www.epargne-mensuelle.com/wp-content/uploads/2019/05/arrow-right.svg) !important;
    margin-left: 15px;
}

.ff-pagination .normal a,
.ff-pagination .active a {
    background-color: transparent !important;
    color: #b9b9b9 !important;
    border: 1px solid transparent !important;
    border-radius: 99px !important;
    width: 44px;
}

.ff-pagination .active a {
    border: 1px solid #00b3c8 !important;
    color: #505050 !important;
}

.ff-pagination .normal a:hover {
    color: #505050 !important;
}

.single-post .post-content.ff-richtext p:first-child {
    font-weight: 700;
}

.paginations-v3-list li>a, .paginations-v3-list li>span {
    background: none !important;
}

.post-content.ff-richtext h2,
.post-content.ff-richtext .h2{
    margin-bottom: 16px !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: left;
    color: #08355c !important;
    text-transform: none !important;
}

.post-content.ff-richtext h3,
.post-content.ff-richtext .h3{
    font-weight: 700 !important;
    font-size: 20px !important;
    margin: 0 0 3px 0;
}

.post-content.ff-richtext table tbody:first-child tr:first-child {
    background-color: #dddddd;
}

.post-content.ff-richtext table tbody:first-child td {
    border: none;
    padding: 5px 15px;
    text-align: center;
}

.post-content.ff-richtext table tbody:first-child tr {
    border-bottom: 1px solid #cccccc;
}

.post-content.ff-richtext table tbody:first-child {
    border-top: 1px solid #cccccc;
}

.post-content.ff-richtext hr {
    border-color: #b5b5b5;
    margin-bottom: 40px;
}

.post-content.ff-richtext strong {
    color: #08355c;
}

@media (max-width: 767px){

    .post-content.ff-richtext table {
        overflow: hidden;
        overflow-x: scroll;
        display: block;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
}

@media (min-width: 992px){

    .post-content.ff-richtext h2,
    .post-content.ff-richtext .h2{
        margin-bottom: 16px !important;
        font-size: 22px !important;
        line-height: 1.4 !important;
        text-align: center;
        text-transform: uppercase !important;
    }
    
}