/*
GENERAL
 */

body {
    font-family: 'Montserrat', sans-serif !important;
}

span.image-overlay {
    display: none!important;
}

h1, h2, h3, h4, h5, h6 {
    color: #006167;
}

h1 {
    font-size: 26px;
}

h1 a {
    font-size: 26px !important;
}

h2 {
    font-size: 24px;
}

h4 span {
    color: #006167 !important;
    font-size: 18px;
    font-weight: 700 !important;
}

strong {
    color: #006167 !important;
}

img {
    max-width: 100%;
}

p {
    text-align: left;
}

input[type='text'],
input[type='input'],
input[type='password'],
input[type='email'],
input[type='number'],
input[type='url'],
input[type='tel'],
input[type='search'],
textarea,
select {
    background-color: #d3d3d3 !important;
}

.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    text-transform: inherit;
}

/*
HEADER
 */
#header {
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

#header_main {
    padding: 15px 0;
    position: relative;
}

/* #header_main .container {

} */

#header_main .container .inner-container{
    display: flex;
}

@media (max-width: 1160px) {
    #header_main .container .inner-container{
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 1160px) {
    #header_main .main_menu li a .avia-menu-text {
        font-size: 13px !important;
    }
}

#header_main .logo {
    position: relative;
}

#header_main .logo a img {
    height: 70px;
}

#header_main .main_menu {
    right: auto;
    position: relative;
    display: inline-block;
}

#header_main .main_menu .avia-menu {
    padding-top: 25px;
}

#header_main .main_menu li a {
    height: auto;
    line-height: 1.2;
    padding: 20px 10px;
}

#header_main .main_menu li a .avia-menu-text {
    color: #006167;
    font-size: 16px;
    font-weight: bold;
}

#header_main .main_menu .sub-menu a .avia-menu-text {
    font-weight: normal !important;
}

@media (max-width: 989px) {
    .avia-menu {
        right: 0;
        padding-top: 0 !important;
    }
}

@media (max-width: 768px) {
    #header_main:before {
        transform: rotate(-90deg) translate(-42px,-42px);
        width: 110px;
    }
}
@media (max-width: 767px) {
    .responsive #top .logo {
        float: left !important;
    }
}

/*
HOME
 */
#post-banner-container {
    background-size: cover !important;
    background-position: center center !important;;
    min-height: 400px;
    padding: 20px 0;
}

#post-banner-container .banner-content {
    background: linear-gradient(90deg, #268288 0%, #268288 15%, rgba(5,118,255,0) 100%);
    padding: 35px 30px;
    display: inline-block;
    width: 100%;
    max-width: 500px;
}

#post-banner-container .banner-content span {
    color: white;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 21px;
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
}

#post-banner-container .banner-content h2 {
    color: white;
    font-size: 32px;
    line-height: 34px;
    margin-bottom: 16px;
    font-weight: 300;
}

#post-banner-container .banner-content a {
    color: white;
    display: inline-block;
    background: #f26e57;
    font-size: 13px;
    line-height: 16px;
    border-radius: 25px;
    padding: 13px 34px;
    font-weight: bold;
}

#widget-lettre {
    box-shadow: 0 0 6px #00000029;
    padding: 15px 0;
    margin-bottom: 20px;
    background: white;
}

#widget-lettre span:nth-child(1) {
    color: #f26e57;
    font-style: italic;
    padding: 0 20px;
    display: block;
    font-size: 24px;
    line-height: 21px;
    font-weight: 300;
}

#widget-lettre span:nth-child(2) {
    color: #273d6c;
    font-weight: bold;
    padding: 0 20px;
    display: block;
    font-size: 24px;
    line-height: 21px;
}

#widget-lettre img {
    margin: 15px 0;
}

#widget-lettre span.title {
    color: #273d6c;
    font-weight: bold;
    padding: 0 20px;
    display: block;
    font-size: 16px;
    line-height: 20px;
}

#widget-lettre p {
    padding: 0 20px;
    font-size: 13px;
    line-height: 20px;
}

#twitter-feed-container {
    box-shadow: 0 0 6px #00000029;
    padding: 15px;
    position: relative;
    height: 600px;
}

#scroll-feed-container {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow: -moz-scrollbars-none;
}

#scroll-feed-container::-webkit-scrollbar {
    display: none;
}

body.home #home-sidebar {
    transform: translateY(-123px);
}

/*
SINGLE POST
 */

.single-post .content {
    padding-top: 0;
}

.single-post article .big-preview {
    max-width: calc(100% + 200px) !important;
    position: absolute;
    top: -310px;
    left: -100px;
    width: calc(100% + 200px);
    z-index: -2;
}

.single-post .big-preview img {
    border-radius: 0;
}

.single-post .big-preview a {
    height: 330px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.single-post .big-preview a img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.single-post .entry-content-wrapper.standard-content {
    background: white;
    position: relative;
    z-index: 5;
    padding-top: 30px;
    margin-top: 290px !important;
}

.single-post .entry-content-wrapper.standard-content:before {
    position: absolute;
    width: 100%;
    visibility: visible;
    height: 400px;
    top: 0;
    left: 0;
    box-shadow: 0 6px 0 #fff, 0 0 6px #ccc;
    overflow: visible;
    z-index: -1;
    background: white;
}

@media (max-width: 770px) {
    .single-post .entry-content-wrapper {
        padding: 10px 0 !important;
    }

    .single-post .entry-content-wrapper:before {
        display: none;
    }
}

.single-post .post-title {
    text-align: left !important;
    font-size: 26px !important;
    line-height: 28px;
    color: #006167;
}

.single-post .meta-custom-post-author {
    display: block;
    color: #273d6c;
    font-weight: bold;
    font-size: 16px;
    line-height: 29px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .single-post .meta-custom-post-author {
        margin-bottom: 20px;
    }

    .single-post .post-title {
        padding-top: 0!important;
    }
}

.single-post article p {
    font-size: 16px;
    line-height: 20px;
    color: black;
}

.single-post .post-meta-infos {
    display: none !important;
}

.entry-footer .blog-tags {
    display: none !important;
}

article .entry-content a {
    color: #006167 !important;
}

/*
DONATION
*/
#donation-button {
    position: fixed;
    display: inline-block;
    padding: 10px 20px;
    background: #f26e57;
    color: white;
    font-weight: bold;
    z-index: 5;
    right: 0;
    bottom: 90px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

/*
YARPP
*/
.yarpp-related h3 {
    color: #f26e57 !important;
    font-size: 23px !important;
}

.yarpp-thumbnail-title {
    color: #006167;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
    border: none !important;
}

/*
FOOTER
*/

#scroll-top-link {
    right: 10px;
    bottom: 15px;
}

footer .copyright {
    font-size: 13px;
}

footer .copyright a {
    color: white;
}

footer .copyright a:hover {
    color: white;
    text-decoration: underline;
}

footer .social_bookmarks li {
    font-size: 20px;
    margin-right: 5px;
}

/*
POST LIST
 */

body.archive .avia-content-grid-active,
body.blog .avia-content-grid-active,
.blog-custom-list {
    overflow: visible;
    margin-top: 50px;
}

body.archive .avia-content-grid-active div,
body.blog .avia-content-grid-active div,
.blog-custom-list div {
    overflow: visible;
}

body.archive .avia-content-grid-active article,
body.blog .avia-content-grid-active article,
.blog-custom-list article {
    margin-bottom: 20px;
}

body.archive .avia-content-grid-active article .slide-meta-time,
body.blog .avia-content-grid-active article .slide-meta-time,
body.blog .avia-content-grid-active article .read-more-link,
.blog-custom-list article .slide-meta-time,
.blog-custom-list article .read-more-link {
    display: none;
}

body.archive .avia-content-grid-active article .slide-image,
body.blog .avia-content-grid-active article .slide-image,
body.blog .avia-content-grid-active article .slide-image img,
.blog-custom-list article .slide-image,
.blog-custom-list article .slide-image img {
    border-radius: 0;
}

body.archive .avia-content-grid-active article,
body.blog .avia-content-grid-active article,
.blog-custom-list article  {
    border-top: 4px solid #268288 !important;
    margin-top: 30px;
}

body.single-post .slide-entry .blog-categories,
article .post-entry .blog-categories,
body.archive .blog-categories,
body.blog article .blog-categories,
.blog-custom-list article .blog-categories {
    position: absolute !important;
    top: 0 !important;
    width: 100%;
}

body.single-post .slide-entry {
    margin-top: 50px;
    border-top: 4px solid #268288 !important;
}

body.single-post .slide-entry .slide-meta-time {
    display: none;
}

body.single-post .slide-entry .blog-categories a,
article .post-entry .blog-categories a,
body.archive .blog-categories a,
body.blog article .blog-categories a,
.blog-custom-list article .blog-categories a {
    position: absolute;
    top: 0;
    font-size: 16px;
    line-height: 18px;
    font-weight: 300;
    text-transform: uppercase;
    color: #268288 !important;
    transform: translateY(-160%);
    letter-spacing: 0.034em;
    display: block;
}

body.single-post .avia-content-slider .slide-entry-title,
body.archive .avia-content-grid-active article .entry-title,
body.blog .avia-content-grid-active article .entry-title,
.blog-custom-list article .entry-title {
    font-size: 17px !important;
    line-height: 20px !important;
    text-transform: inherit !important;
    font-weight: bold;
    color: #273d6c;
}

body.single-post .avia-content-slider .slide-entry-excerpt,
body.archive .avia-content-grid-active article .slide-entry-excerpt,
body.blog .avia-content-grid-active article .slide-entry-excerpt,
.blog-custom-list article .slide-entry-excerpt {
    font-size: 13px;
    line-height: 20px;
    font-weight: normal;
    color: #000;
}

@media (max-width: 768px) {
    body.archive .avia-content-grid-active article,
    body.blog .avia-content-grid-active article,
    .blog-custom-list article {
        margin-bottom: 40px!important;
    }
}

body.archive .entry-title a {
    color: #006167 !important;
    font-weight: 700 !important;
}

.title_container .main-title a {
    color: #006167 !important;
    font-weight: 700 !important;
}

/*
GRAVITY FORM
 */

.gform_wrapper form {
    max-width: 600px;
}

.gform_wrapper form input[type='submit'] {
    background-color: #f26e57;
}

/*
SLIDER PARTENERS
 */

.slider-partners .single-partner {
    padding: 25px 20px;
    display: block;
    color: black;
    text-decoration: none;
}

.slider-partners .single-partner:hover {
    color: #268288;
}

@media (max-width: 1150px) {
    .slider-partners .single-partner {
        padding: 15px;
    }
}

@media (max-width: 850px) {
    .slider-partners .single-partner {
        padding: 10px;
    }
}

.slider-partners .single-partner img {
    border: 1px solid lightgrey;
    margin-bottom: 8px;
    padding: 10px;
    width: 100%;
}

.slider-partners .single-partner p {
    text-transform: uppercase;
    font-size: 12px;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.slider-partners .slick-prev:before,
.slider-partners .slick-next:before {
    color: #777777;
}

.slick-next {
    right: -10px;
    top: 80px;
}

.slick-prev {
    left: -10px;
    top: 80px;
}

/*
LA LETTRE
 */
.lettre-block {
    background: white;
    box-shadow: 0 0 6px #00000029;
    margin-bottom: 20px;
    padding: 0;
}

.lettre-block p:nth-child(1) {
    margin: 0;
    color: #f26e57;
    font-style: italic;
    display: block;
    font-size: 24px;
    line-height: 21px;
    font-weight: 300;
}

.lettre-block p:nth-child(2) {
    margin: 0;
    color: #273d6c;
    font-weight: bold;
    display: block;
    font-size: 24px;
    line-height: 21px;
    padding: 15px;
}

.lettre-block hr {
    margin: 15px 20px;
}

.lettre img {
    padding: 6px 0 0;
}

.head-letter {
    background-color: #268288;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 22px;
    font-weight: 800;
}

.body-letter {
    padding: 10px 15px 15px 15px;
}

.body-letter .lettre-title-img {
    padding: 0 !important;
    text-align: center;
}

.body-letter div {
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 0;
}

.lettre-title-img .actualites_link {
    font-size: 15px;
    font-weight: 400;
}

/*
Mailpoet
 */
.mailpoet_form {
    margin-bottom: 0 !important;
    padding: 0 6px 6px 6px !important;
}

.mailpoet_validate_success {
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 15px !important;
    background: #27adab !important;
    margin: 0 20px !important;
    color: white !important;
    padding: 15px !important;
}

/*
Enfold
 */

.html_modern-blog #top .post-entry .post-title, .html_modern-blog .avia-content-slider .slide-entry-title {
    font-size: 18px !important;
    text-transform: inherit !important;
    color: #006167 !important;
    font-weight: 700 !important;
}

.avia-content-slider .slide-entry-excerpt {
    text-align: left;
    font-size: 13px !important;
    line-height: 20px !important;
    font-weight: 500 !important;
    color: #000 !important;
}

.html_elegant-blog .avia-content-slider .read-more-link {
    display: none !important;
}

.html_elegant-blog .avia-content-slider footer.entry-footer .slide-meta {
    display: none !important;
}

li#menu-item-search a {
    padding-top: 12px !important;
}

li#menu-item-search a:before {
    font-size: 25px !important;
}

body#top .avia-content-grid-active article {
    border-top: 0 !important;
}

.html_modern-blog #top .post-entry .blog-categories {
    padding: 10px 15px !important;
    background: rgba(38, 130, 136, .4) !important;
    color: #ffffff !important;
    top: 0 !important;
    left: 0;
    position: absolute !important;
    width: 100% !important;
    border-top: 4px solid #268288 !important;
}

@media (max-width: 768px) {
    .html_modern-blog #top .post-entry .blog-categories {
        position: relative !important;
    }
    .html_elegant-blog #top .post-entry .post-title {
        margin-bottom: 0px !important;
    }
    .html_modern-blog #top .post-entry .blog-categories a {
        margin-left: 0px !important;
    }
}

.html_elegant-blog .avia-content-slider .slide-entry-title {
    font-size: 17px !important;
}

.html_modern-blog #top .post-entry .blog-categories a {
    font-size: 16px !important;
    line-height: 18px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    transform: translateY(-160%) !important;
    letter-spacing: 0.034em !important;
    margin-left: 10px;
}

body.single-post .slide-entry .blog-categories a, article .post-entry .blog-categories a, body.archive .blog-categories a, body.blog article .blog-categories a, .blog-custom-list article .blog-categories a {
    position: relative !important;
    color: #ffffff !important;
    display: inline !important;
}

.title_container .main-title {
    font-size: 26px !important;
}


.html_modern-blog #top .post-entry .av-heading-wrapper .blog-categories {
    padding: 0 !important;
    background: transparent !important;
    color: #969696 !important;
}

.title_container .main-title {
    font-size: 26px !important;
}
