/*************************************/
/*** INIT 
/*************************************/

* { box-sizing: border-box}
html, body { position: relative; height: 100%; }
html { font-size:62.5%; }

body 
{
  margin:0;
  padding:0;
  font-style: normal;
  font-size: 1.6rem;
  /*line-height: 3rem;*/
  color:#333333;
}

/** POUR IE 9 **/
a img { border:none; outline:none; }

h1,h2,h3,h4 {margin:0;padding:0;}
section {margin-bottom:30px;} 


svg {width:100%;height:100%;}

/**************************************/
/*** FONT 
/**************************************/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700');
@import url('https://fonts.googleapis.com/css?family=Zilla+Slab:400,600i,700');

body { font-family:'Open Sans',sans-serif;}
a 
{ 
  font-family:'Zilla Slab',serif;
  -moz-transition: all .2s ease-in;
  -o-transition: all .2s ease-in;
  -webkit-transition: all .2s ease-in;
  transition: color .2s ease-in;  
}



/*************************************/
/*** FORMULAIRE
/*************************************/

/**************************************/
/*** FORMULAIRE 
/**************************************/

input {-webkit-appearance: none; border-radius: 0;}


textarea:focus, input:focus 
{
    outline: none;
}

input[type='submit'], input[type='text']
{
  border-style: none; 
  font-family:'Open Sans', sans-serif; 
  font-size:1.4rem;
  height:30px;
  padding-left:10px; padding-right:10px;
  max-width:60rem;
}

input[type='submit'] 
{
  cursor:pointer;
  font-weight:bold;
  text-transform: uppercase;
}

.button, select
{
  border-style: none; 
  font-family:'Open Sans', sans-serif; 
  font-size:1.4rem;
  height:30px;
  padding-left:10px; padding-right:10px;
  color:#FFFFFF;
  background-color:#FF0074;
  display:inline-block;
  text-transform: uppercase; 
  border-radius:0;
}

select 
{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:url("../img/ui/select-icon-black-60x60.png");
  background-repeat:no-repeat;
  background-size : 2rem 2rem;
}

select:focus {outline: none;}


/* CAUTION: IE hackery ahead */
select::-ms-expand { 
    display: none; /* remove default arrow in IE 10 and 11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
    select 
    {
        background:none\9;
        padding: 5px\9;
    }
}


/*http://codepen.io/KenanYusuf/pen/PZKEKd*/

.control 
{
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 18px;
}

.disabled 
{
  color:#CCCCCC!important;
  font-weight: normal;
  cursor:initial;
}




.control input 
{
  position: absolute;
    z-index: -1;
    opacity: 0;
}

.control__indicator 
{
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #FFFFFF;
    border-color: #CCCCCC;
    border-width:1px;
    border-style: solid;
}

.control--radio .control__indicator 
{
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:not([disabled]):focus ~ .control__indicator 
{
    border-color : #e50051;
}

.control input:checked ~ .control__indicator 
{
    border-color: #e50051;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator 
{
    border-color: #e50051;
}

.control input:disabled ~ .control__indicator 
{
  background: #EEEEEE;
  opacity: 0.6;
  pointer-events: none;
}

.control__indicator:after 
{
  content: '';
  position: absolute;
  display: none;
}

.control input:checked ~ .control__indicator:after 
{
  display: block;
}

.control--checkbox .control__indicator:after 
{
    left: 7px;
    top: 3px;
    width: 3px;
    height: 8px;
    border: solid #e50051;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after 
{
    border-color: #7b7b7b;
}

.control--radio .control__indicator:after 
{
  left: 5px;
  top: 5px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #e50051;
}

.control--radio input:disabled ~ .control__indicator:after 
{
    background: #7b7b7b;
}

.select 
{
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
  max-width:600px;
}

.select select 
{
   display: inline-block;
    width: 100%;
    height:40px;
    cursor: pointer;
    padding: 5px 10px;
    outline: 0;
    border-style: solid;
    border-color:#CCC;
    border-radius: 0;
    background: #FFFFFF;
    color: #000;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /*font-size:1.8rem;*/
}

/** GESTION DES ERREURS **/
.error {color:#FF0000;}
.error .select { border-color:#FF0000;}
.error input { border-color:#FF0000;}


.select select::-ms-expand 
{
    display: none;
}

.select select:hover,
.select select:focus 
{
    color: #000;
    background: #FFF;
    border-color: #e50051;
}

.select select:disabled 
{
  opacity: 0.5;
  pointer-events: none;
}

.select__arrow 
{
  position: absolute;
  top: 16px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #7b7b7b transparent transparent transparent;
}

.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow {
    border-top-color: #e50051
}
.select select:disabled ~ .select__arrow {
    border-top-color: #ccc;
}

/** http://www.templatemonster.com/blog/style-checkboxes-radio-buttons-css/ **/

.error select
{
  background-color:#f7e7ef;
  border-color:#bf1313;
}






/*************************************/
/*** UI
/*************************************/

/** SPINNER **/

.spinner 
{
  width: 30px;
  height: 30px;
  position: relative;
  /*margin: 100px auto;*/
}

/** MENU HAMBURGER **/
.menu-hamburger
{
  text-decoration: none;
  /*position:fixed;*/
  position:absolute;
  left:2rem;
  top:15px;
  width:40px;
  height:30px;
  margin-top:10px;
  z-index:300;
}

.menu-hamburger span
{
  background: #FFFFFF none repeat scroll 0 0;
    height: 1px;
    left: 0;
    position: absolute;
    transform: translateY(0px) translateZ(0px);
    -ms-transform:transform: translateY(0px) translateZ(0px);

    transition: background-color 0.35s ease 0s, transform 0.175s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.175s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    width: 100%;
}

.menu-hamburger div
{
  padding-left:25px;
  margin-top:-6px;
  visibility: hidden;
}

.menu-ui-line1 {top:0px;}
.menu-ui-line2 {top:8px;}
.menu-ui-line3 {top:16px;}

.menu-open .menu-ui-line1
{
  transform: translateY(8px) rotate(45deg);
  -ms-transform : translateY(8px) rotate(45deg);;
}
.menu-open .menu-ui-line2 {display:none;}
.menu-open .menu-ui-line3
{
  transform: translateY(-8px) rotate(-45deg);
  -ms-transform : translateY(-8px) rotate(-45deg);
}







/*************************************/
/*** CLEARFIX
/*************************************/

/* Clear Floted Eleemnts */
/* //sonspring.com/journal/clearing-floats */

.clear 
{
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/** //www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified **/

.clearfix:before,
.clearfix:after {
  content: ".";    
  display: block;    
  height: 0;    
  overflow: hidden; 
}
.clearfix:after {clear: both;}
.clearfix {zoom: 1;} /* IE < 8 */


/***************************************/
/*** ANIMATION 
/***************************************/

.no-transition 
{
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}

.line-clamp 
{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}

.fade 
{
  position: relative;
}

.fade:after 
{
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 6rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
}

.double-bounce1, .double-bounce2 
{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #FF0074;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 
{
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

/******************************************/
/** VIDEO RESPONSIVE
/******************************************/

.videoWrapper 
{
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe, .videoWrapper img
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}