@charset "utf-8";
/* CSS Document */

/* 
 div, p, ul, li, img, header, footer, main, h1, h2, h3, h4, h5, h6, span {border : 1px solid red}
 */

 .smart-popin {
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    overflow: auto; /* scrollbar will appear if the viewport is too tight to display all the popin content */
	opacity: 1; /*masque le popin à l'ouverture de la page */
    visibility: visible; /*masque le popin à l'ouverture de la page */
    z-index:9999;
    /* design */
  
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;   
    
}
.smart-popin-close{
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    overflow: auto; 
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 0.7s ease;
    -ms-transition: all 0.7s ease;
    -o-transition: all 0.7s ease;
    transition: all 0.7s ease;    
          
}
.smart-popin .sp-table {
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    display: table;
    height: 100%;
    width: 100%;
	
}
.smart-popin .sp-cell {
    display: table-cell;
    vertical-align: bottom;
    padding: 10px; /* this space is important to let the box-shadow exceed around the popin - so it has to be at least equal to the shadow radius */
}
.smart-popin .sp-body {
    position: relative; /* to allow absolute positionning inside */
    z-index: 1; /* to ensure the popin body will be over the .sp-back layer */
    width: auto; /* by default the width of the wider element inside */
    min-width: 100%;  /* standard width for xs smartphones (320px) minus 2*10px (.sp-cell margins) */
    margin: 0 auto;
  
    /* design */
  
    background-color: #ffffff;
    padding: 1.5em;
    -webkit-box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25);
    box-shadow: 0 3px 5px 1px rgba(0,0,0,0.25);
    width: 66.66%; /* 66.66 looks good :-) */;
}
.smart-popin .sp-body * {
    max-width: 100%; /* this is a security to prevents wide elements such as img to stretch the popin beyond the viewport width */
}
.smart-popin .sp-back { /* only used to get clicks out of the popin body */
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    display: block;
}
.smart-popin .sp-close {
    position: absolute;
    top: 0;
    right: 0;

    width: 36px;
    height: 36px;

    text-align: center;
    line-height: 36px;
    font-size: 1.6em;
    color: #000000;
    font-weight: 900;
    text-decoration: none;
}



/* misc */

/* .website-content {
    max-width: 980px;
    padding: 20px;
    margin: 0 auto;
} */
.open-popin {
    display: inline-block;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    background-color: rgb(161, 153, 155);
    padding: 0.5em 1.5em;
    border-radius: 20px;
    margin-bottom: 0.8em;
	
}

/* img {
    max-width: 100%;
    width: 100%\9; 
} *//* this is a hack for IE9 since min-width won't work */
