/*
 Theme Name:   À Fleur de Peau
 Theme URI:    http://massagetoulouse.net/
 Description:  Un thème enfant basé sur Twenty Seventeen
 Author:       Mathias Peguet
 Author URI:   http://mathiaspeguet.fr/
 Template:     twentyseventeen
 Version:      1.0.0
 License:      All right reserved - Not free !!!
*/

/*  ----------------------------------------

        Balise par défaut 

    --------------------------------------*/  
ul, ol {
    margin: 0 0 1.5em;
    padding: 0 0 0 3em;
}
a {
    text-decoration: underline;
}
/*  ----------------------------------------

        En-tête 

    --------------------------------------*/  
home .custom-header-media::before {
    background: -moz-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 100%);
    background: -webkit-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#4dffffff", GradientType=0);
}
.custom-header-media::before {
    background: #fff -moz-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 75%, rgba(255, 255, 255, 0.8) 100%);
    background: #fff -webkit-linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 75%, rgba(255, 255, 255, 0.8) 100%);
    background: #fff linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 75%, rgba(255, 255, 255, 0.8) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#4dffffff", GradientType=0);
}
/*  ----------------------------------------

        Navigation 

    --------------------------------------*/  
.navigation-top {
    background: #363C40;
    border:0;
}
.navigation-top .current-menu-item > a, 
.navigation-top .current_page_item > a {
    color: #fff;
}
.sub-menu .current-menu-item > a, 
.sub-menu .current_page_item > a {
    color: #767676;
}
.navigation-top a {
    color: #999;
}
.main-navigation a:hover {
    color: #fff;
}
.main-navigation ul {
    background:#363c40;
}
.menu-toggle {
    color: #767676;
}
.main-navigation li {
    border-bottom: 1px solid #222426;
}
.main-navigation > div > ul{
    border-top: 1px solid #222426;
}
.dropdown-toggle {
    color: #fff;
}
/*  ----------------------------------------

        Content 

    --------------------------------------*/  
.post-type-archive-massage.has-sidebar #primary {
    float: none;
    width: 100%;
}
.single-post:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    margin:0;
    max-width: initial;
}
.post-type-archive-massage .site-content{
    background: #e2e6e8;
}
/*  ----------------------------------------

        Accueil 

    --------------------------------------*/ 
.home-wrap {
    padding-top: 5.5em;
}
.home-wrap .entry-title {
    color: #222;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.message {
    background: #eee;
    margin-bottom: 3em;
    padding: 2em;
}
.message p:last-child{
    margin: 0;
}
.alerte {
    color:#98241a;
    border-left:6px solid #98241a;
}
.alerte h1,
.alerte h2,
.alerte h3,
.alerte h4,
.alerte h5,
.alerte h6 {
    color:#98241a;
}
.mise-en-avant {
    color:#1a9874;
    border-left:6px solid #1a9874;
}
.mise-en-avant h1,
.mise-en-avant h2,
.mise-en-avant h3,
.mise-en-avant h4,
.mise-en-avant h5,
.mise-en-avant h6 {
    color:#1a9874;
}
.information {
    color:#363c40;
    border-left:6px solid #363c40;
}
.information h1,
.information h2,
.information h3,
.information h4,
.information h5,
.information h6 {
    color:#363c40;
}
/*  ----------------------------------------

        Massages 

    --------------------------------------*/  
.archive .site-main,
.post-type-archive-massage .site-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.massage {
    width: 100%;
    padding-bottom: 2.5em
}
.archive .site-content,
.post-type-archive-massage .site-content,
.category-j-aime .site-content,
.page-id-93 .email-form{ 
    background: #e2e6e8 url('assets/images/bg.jpg') no-repeat 100% 100% fixed;
}
/*  --------------------
        Image à la une 
*/ 
.post-thumbnail {
    margin-bottom: 0;
}
.post-thumbnail img {
    vertical-align: middle;
}
/*  --------------------
        Header
*/ 
.site-main .massage .entry-header{
    padding:0;
}
.entry-taxonomy{
    padding: 0 2rem;
}
.entry-taxonomy a {
    text-decoration: none;
}
.massage .entry-title{
    /*background: #363c40;
    padding: 2rem 2rem 0.5rem;
    margin: 0 0 -0.5rem;*/
    font-size: 2em;
    font-weight: 400;
    line-height: 1em;
    margin: 0 0 -0.3rem;
    /*padding-left: 2rem;*/
    display: table-cell;
    height: 2em;
    vertical-align: bottom;
}
.massage .entry-title a {
    color:#363c40;
    /*color: #1a9874;*/
    margin-left: 0;
    text-decoration: none;
    -webkit-box-shadow: none;
    box-shadow: none; 
}
.massage .entry-taxonomy{
    background: #363c40;
    color: #fff;
    padding: 0.7rem 1.5rem;
}
.massage .entry-taxonomy a{
    color: #fff;
}
.massage .more-link::before {
    content: none;
}
.massage .more-link{
    background: #26c396;
    box-shadow: 0 3px #1a9874; 
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    float: right;
    height: 1.6em;
    line-height: 1.4em;
    padding: 0 0.5em;
    position: relative;
    vertical-align: top;
}
.infobule:before{
    border-color: #363c40 #363c40 transparent transparent;
    border-style: solid;
    border-width: 0.5em;
    bottom: -1em;
    box-sizing: content-box;
    content: "";
    height: 0;
    position: absolute;
    right: 1.5em;
    width: 0;
}
.massage .more-link:hover{
    background: #34dbab;
    box-shadow: 0 4px #1a9874; 
    color:#fff;
}
.infobule{
    background: #363c40;
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    position: absolute;
    width: 11em;
    left: -999em;
    top: -999em;
    opacity: 0;
    transition: opacity 1s;
}
.more-link:hover .infobule{
   opacity: 1;
    right: -0.7em;
    bottom: 2em;
    left: auto;
    top: auto;
}
/*  --------------------
        Description 
*/ 
.massage .entry-content{
    background: #fff;
    padding: 1em 1.5rem 0;
}
/*  --------------------
        Idéal pour 
*/ 
.ideal-h3,
.massage ul{
    background: #363c40;
    color:#fff;
    margin: 0;
}
.massage .ideal-h3{
     padding: 1rem 1.5rem 0.5rem;
}
.massage ul{
    padding: 0 0 1.5rem;
}
.massage li{
    margin-left: 3em;
}

/*  ----------------------------------------

        Massage (single) 

    --------------------------------------*/ 
.has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe, .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
    position: relative;
    z-index: 2;
}
.single-massage .single-featured-image-header {
    height: auto;
}
.single-massage .attachment-twentyseventeen-featured-image{
    width: 100%;
}
.single-massage .site-content{
    padding: 0;
}
.single-massage .entry-header{
    background: #363c40;
}
.massage-header{
    display: block;
    padding: 1em 2em;
    overflow: hidden;
}
.single-massage .entry-title{
    color:#fff;
    height:auto;
    margin: 0;
}
.single-massage .entry-taxonomy{
    padding: 0;
}
.massage-content{
    display: block;
    margin-top: 3em;
}
.single-massage .massage-content .entry-content{
    margin: 0;
    padding: 0;
}
.single-massage .massage {
    padding: 0
}
.post-navigation {
    margin: 0;
}
.lien-cadeau {
    margin-top: 3em;
    padding: 1rem 4rem 1rem 12rem;
    background: #1a9874 url('assets/images/gift.svg') no-repeat 4rem 50%;
    background-size: 4rem;
    color:#fff;
}
.lien-cadeau:hover {
    background-color: #26c396;
}
.lien-cadeau-a {
    color:#fff;
}

/*  ----------------------------------------

        Tarifs

    --------------------------------------*/ 
.entry-content .tarifs-ligne:nth-child(odd){
    background: #e2e6e8;
}
.entry-content .tarifs-title{
    padding-left: 1em;
    width: 50%;
}
.tarifs-prix {
    color:#1a9874;
    font-weight: 600;
}
.tarifs-ligne+.tarifs-ligne:hover {
    background: #c8cdd0;
}
.page-id-88 .tarifs-a {
    box-shadow: none;
}
.page-id-88 .tarifs-a:hover,
.tarifs-ligne:hover .tarifs-a{
    box-shadow: 0 1px; 
    font-weight: 600;
}
.entry-content .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0;
}
.elementor-column-gap-wider > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0.5em;
}
.abonnement {
    font-size: 1.5em;
}
.abonnement p:last-child {
    margin:0;
}
/*  ----------------------------------------

        Bon cadeau 

    --------------------------------------*/  
.page-id-90 .site-main button {
    background: #1a9874 url("assets/images/payplug.png") no-repeat 30px 15px;
    background-size: 89px auto;
    border-radius: 10px;
    padding-left: 130px;
    box-shadow: 0 5px #14775b;
}
/*  ----------------------------------------

        J'aime 

    --------------------------------------*/  
.category-j-aime .post, 
.category-j-aime .widget:not(.widget_search) {
    background: #fff;
    margin-bottom: 4em;
    padding: 2em;
}
/*  ----------------------------------------

        Contact 

    --------------------------------------*/  
.header-googlemap{
    height:400px;
    /*margin-top: 2em; test2*/
}
.page-id-93 .site-content-contain #content {
    padding: 2.5em 0 0;
}
.content-streetview{
    height:400px;
    /*margin-bottom: 2em; test2*/
}
.email-form{
    background: #e2e6e8;
    padding: 2.5em 0;
}
button, input[type="button"], input[type="submit"] {
    background-color: #1a9874;
    transition: background 0.2s ease 0s;
}
button:hover, button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    background-color: #26c396;
}
.page-id-93 a {
    text-decoration: none;
}
/*  ----------------------------------------

        Mentions légales 

    --------------------------------------*/  
.page-id-95 a {
    text-decoration: none;
}
/*  ----------------------------------------

        Footer 

    --------------------------------------*/  
.footer-navigation,
.menu-menu-du-bas-container,
.footer-links-menu,
.footer-navigation .menu-item
{
    display: inline;
}
.footer-links-menu{
    padding: 0;
}
/*  ----------------------------------------

        Responsive 

    --------------------------------------*/  
@media screen and (min-width: 48em) {
    .main-navigation li,
    .main-navigation > div > ul{
        border: 0;
    }
	.twentyseventeen-front-page.has-header-image .custom-header-media::before, .twentyseventeen-front-page.has-header-video .custom-header-media::before, .home.blog.has-header-image .custom-header-media::before, .home.blog.has-header-video .custom-header-media::before {
		height: 50%;
	}
    .archive .site-content,
    .post-type-archive-massage .site-content {
        padding: 3.5em 0 0;
    }
    .archive .massage,
    .post-type-archive-massage .massage {
        width: 45%;
        padding-bottom: 5.5em;
    }
    .email-form{
        padding: 5.5em 0;
    }
    .single-massage .single-featured-image-header {
         height: 25vh; 
    }
    .single-massage .attachment-twentyseventeen-featured-image{
        position: fixed;
        top: 70px;
    }
    .massage-header{
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 1em 0;
    }
    .massage-content{
        display: flex;
        justify-content: space-between;
    }
    .single-massage .entry-content,
    .single-massage .ideal-single{
        width:45%;
    }
    .single-massage .entry-title{
        width:45%;
    }
    .single-massage .entry-taxonomy{
        width:45%;
    }
}
@media screen and (min-width: 64em) {
    .single-massage .single-featured-image-header {
         height: 45vh; 
    }
}
@media screen and (min-width: 90em) {
    .archive .massage,
    .post-type-archive-massage .massage {
        width: 30%;
        padding-bottom: 2em;
    }
	.wrap {
		max-width: 1420px;
		padding-left: 4em;
		padding-right: 4em;
	}
    .navigation-top .wrap {
        max-width: 1380px;
    }
    .single-massage .single-featured-image-header {
         height: 80vh; 
    }
}
