/*
Theme Name: coeurdelave
Theme URI: https://gie.im
Author: gie.im
Author URI: https://gie.im
Description: Le thème du site coeurdelave.fr v1
Tags: left-sidebar, right-sidebar, custom-background, custom-colors, blog
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
*/
body,html{
   /* color-scheme: dark;*/
}
body{
    overflow-y: scroll;
    overflow-x: hidden;
    max-width: 100vw;
}
ul{
    list-style-position: inside;
}

#menu{
    width:100%;
    display:flex;
    
    align-items:center;
    
}
.menu-item{
    padding:5px;
    flex:auto;
}

/** Bug menu en mode tel */

@media (max-width: 768px) {

    ul.dropdown-menu {
        display: none;
    }
    .menu-item {
        padding: 2px;
    }
}

@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }

    .navbar .nav-item:hover .nav-link {}

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
}

@media (max-width: 1000px) {
    .hidephone {
        display: none;
    }
}

#header {
    background:#ffffff;
}

.admin-bar #header,
.admin-bar .sticky-top,
.admin-bar .sticky-sm-top,
.admin-bar .sticky-md-top,
.admin-bar .sticky-lg-top,
.admin-bar .sticky-xl-top,
.admin-bar .sticky-xxl-top {
    top: 32px;
}

#mainNav{
    z-index:20000;
}

#menu-info {
    top: 72px;
}

.admin-bar #menu-info{
    top: 128px;
     margin-bottom: 50px;
}

.toplink{
    color:var(--bs-gray);
    text-decoration: none;
    font-size:smaller;
}

a{
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

.home.page video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.page-section {
    padding: 3rem 0;
}

/** 
Backgrounds
**/
div.masthead {
    height: 100vh;
    background-image: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.8) 100%), url("../assets/img/bg.jpg");
}
.home div.masthead {
    background-image: none;
}
.error404 div.masthead, #slogan{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%), url("assets/img/bg-404.jpg");
}
#slogan,#slogan2{
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    padding:0;
}
#slogan{
    background-image:url("assets/img/bg-404.jpg");
}

#slogan2 {
    background-image: url("assets/img/bg-pierre.jpg");
}

#slogan-inner{
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    height:400px;
    padding:5em;
}

.slogan{
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Paytone One", "Merriweather Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 200;
    line-height: 1.2;
    font-size:1em;
    color:var(--bs-gray)
}

#Quel_tunnel{
    color:#ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

img.myhead{
    width:200px;
    border:#ffffff 10px solid;
}
img.img-about{
    width:300px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.7);
}

.post img.wp-post-image{
    height:auto;
    width:100%;
}
/**
Footer
**/
.footer_menu li{
    display: inline-block;
    background-color: var(--bs-orange);
    padding:5px;
    margin:15px;
    border-radius: 4px;
}
.footer_menu a{
    text-decoration: none;
    color:var(--bs-white);
}

footer{
    background-image: url('assets/img/volcan.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 20%;
    padding-bottom: 40%;
}
/**
Helpers
**/
.block{
    display:block;
}
#formule,#services, #portfolio{
    background:#ffffff;
}

.bg-cover{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.no-padding-left{
    padding-left:0;
}
.no-margin-left {
    margin-left: 0;
}

.spacer{
    display: inline-block;
    width:25px;
}

.fixed{
    position: fixed;
    top:0;
    width:100%;
}
/**
Animations
**/
@media (min-width: 1000px) {
	
    .animate{
        transition: 1s all ease;
    }

    .animate.translate-y {
        /*position: relative;
        transform: translateY(150px);
        opacity: 0;*/
    }

    .animate.translate-y-from-top {
        /*position: relative;
        transform: translateY(-150px);
        opacity: 0;*/
    }

    .animate.slide-from-left {
       /* position: relative;
        transform: translateX(-1000px);
        opacity: 0;*/
    }

    .animate.slide-from-right {
        /*position: relative;
        transform: translateX(1000px);
        opacity: 0;*/
    }

    .animate.grayscale{
        /*filter: grayscale(100%);*/
    }

    .animate.grayscale.active {
        /*filter: grayscale(0%);*/
    }

    .animate.fadeout{
        position: absolute;
        opacity:1;
    }

    .animate.fadeout.active {
        /*opacity: 0 !important; */
    }

    .animate.fadein {
       /* opacity: 0;*/
    }

    .animate.fadein.active {
        opacity: 1 !important;
    }

    .animate.translate-y.active,.animate.slide-from-left.active,.animate.slide-from-right.active,.animate.translate-y-from-top.active  {
        position: inherit;
        transform: translateY(0);
        transform: translateX(0);
        opacity: 1;
    }
	
	.tg-overlay {
  		top: 128px !important;
    }
}

@media (min-width: 900px) {
.btcont{
        display:none;
    }
}

.right {
  		float:right;
    }
.left {
  		float:left;
    }
.clear {
  		clear:both;
    }