/**
* Float menu 
*/

.wpfm-menu-nav ul { 
    margin: 0;
    list-style: none;
}

.wpfm-position-right.wpfm-menu-nav  ul{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
}

.wpfm-menu-nav.wpfm-position-right ul 
{
    right: 0;
}

.wpfm-menu-nav ul{
    z-index:99999;
}

/*template 4 start*/
.wpfm-template-4 ul li {
    display: block;
    margin-bottom: 2px;
}
.wpfm-template-4 ul li a {
    position: relative;
    display: inline-block;
    height: 40px;
    z-index:99;
    -webkit-transition:none;
    transition:none;
}

.wpfm-template-4 .wpfm-position-right ul li a {
    right: -100%;
    transform: translateX(-40px) translateZ(0);
    -webkit-transform: translateX(-40px) translateZ(0);
    -moz-transform: translateX(-40px) translateZ(0);
    -ms-transform: translateX(-40px) translateZ(0);
    -o-transform: translateX(-40px) translateZ(0);
    width: 100%;
}

.wpfm-template-4 .wpfm-position-right ul li .wpfm-menu-name{
    right:0px;
    transition: right 0.5s ease;
    -webkit-transition: right 0.5s ease, opacity 0.5s ease;
    -moz-transition: right 0.5s ease;
    -o-transition: right 0.5s ease;
    -ms-transition: right 0.5s ease;
}
.wpfm-template-4 ul li .wpfm-icon-block {
    position: absolute;
    top: 0;
    width: 40px;
    line-height: 40px;
    background: rgba(0, 0, 0, 0.6);
    display: block;
    text-align: center;
    z-index: 2;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    color: #fff;
    height:40px;
    z-index:99;
}

.wpfm-template-4 .wpfm-position-right ul li .wpfm-icon-block{
    left: 0;
}
.wpfm-template-4 ul li .wpfm-icon-block i {
    line-height: 40px;
    width: 100%;
    font-size:20px;
}
.wpfm-template-4 ul li a:hover {
    transform: translateX(0px) translateZ(0);
    -webkit-transform: translateX(0px) translateZ(0);
    -moz-transform: translateX(0px) translateZ(0);
    -ms-transform: translateX(0px) translateZ(0);
    -o-transform: translateX(0px) translateZ(0);
}

.wpfm-template-4 .wpfm-position-right ul li a:hover{
    right: 0;
    padding-right: 45px;
}

.wpfm-template-4 .wpfm-position-right ul li a:hover .wpfm-icon-block {
    left: auto;
    right: 0;
}

.wpfm-template-4 .wpfm-position-right ul li a:hover .wpfm-icon-block, 
.wpfm-template-4 .wpfm-position-right ul li a.wpfm-active-nav  .wpfm-icon-block
{
	 background: rgba(0, 0, 0, 1);
} 

/*template 1 to 4 start*/
.wpfm-template-4 ul li {
    margin-bottom: 2px;
    height: 40px;
    outline:0;
    position:relative;
}

.wpfm-template-4 ul li a{
	z-index:9999;
	width:55px;
}

.wpfm-template-4 ul li > .wpfm-tootltip-title {
    position: absolute;
    width:auto;
    opacity:0;
    white-space:nowrap;
    color:#eee;
    background:#222;
    top:50%;
    font-size:10px;
    font-style:italic;
    -webkit-transform:translateY(-50%);
    transform:translateY(-50%);
    padding:5px 10px 5px 20px;
    border-radius:3px;
    line-height:1;
}

.wpfm-template-4 ul li > .wpfm-tootltip-title:before{
	content: "\f129";
	position:absolute;
	font-family:FontAwesome;
	left:7px;
	top:50%;
	-webkit-transform:translateY(-50%);
	transform:translateY(-50%);
}

.wpfm-template-4 ul li > .wpfm-tootltip-title:after{
	width: 0;
	height: 0;
	border-style: solid;
	content:'';
	position:absolute;
	top:50%;
	-webkit-transform:translateY(-50%);
	transform:translateY(-50%);
}

.wpfm-template-4 .wpfm-position-right ul li > .wpfm-tootltip-title:after{
	border-width: 5.5px 0 5.5px 7px;
	border-color: transparent transparent transparent #222;
	right:-6px;
}

.wpfm-template-4 .wpfm-position-right ul li > .wpfm-tootltip-title{
	right:60px;
	-webkit-transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.wpfm-template-4 .wpfm-position-right ul li.wpfm-title-hidden >a:hover  + .wpfm-tootltip-title
{
	right:47px;
	margin-right:0px;
}

.wpfm-template-4  ul li  a:hover + .wpfm-tootltip-title{
	opacity:1;
}

.wpfm-template-4 .wpfm-position-right ul li a:hover + .wpfm-tootltip-title{
	right:110%;
}
/*template 1 to 4 end*/


/* The Modal boxe (hidden) */
.smiModal {
    display: none; /* Hidden by default devient flex*/
    flex:auto;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    overflow: auto; /* Enable scroll if needed */
}

/* Modal Content */
.smiModalcontent {
    flex:auto;
    position: relative;
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
    margin-top : 10%;
    padding: 20px;
    border: 5% solid #888;
    border-radius: 10px;
}

#smiGeoContent{
    height: 70%;
}

#smiMap {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -30%);
    width: 80%;
    height: 80%;
    min-height: 40%;
}

/* The Close Button */
.smiClose {
    flex:auto;
    color: rgb(0,0,0);
    float: right;
    font-size: 3em;
    font-weight: bold;
    
}

.smiClose:hover,
.smiClose:focus {
    color: #888;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (min-width: 300px) {
    .smiModal{
        z-index: 9;
    }
    .smiModalcontent {
        max-width:65%;
        
    }
}

@media only screen and (min-width: 1200px) {
    .smiModalcontent {
        max-width:40%;
    }
}

@media only screen and (max-width: 800px) {
    .smiClose {
        font-size: 1em;
    }
}

/*diminution de la police du formulaire sur petit écran*/
@media only screen and (max-width: 800px) {
    #smifermeN {
        font-size: 0.7em;
    }
} 

@media only screen and (max-width: 800px) {
    #smifermeN h3{
        font-size: 1em;
    }
} 
