/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */
/*      DEFAULT ANIMATIONS                                         */
/*                                                                 */
/*          - Navigation des formulaires                           */
/*          - Popin "Transmettre"                                  */
/*                                                                 */
/*                                                                 */
/* --------------------------------------------------------------- */
/* --------------------------------------------------------------- */


/* NAVIGATION DES FORMULAIRES */
/* ============================================================================= */
.form-views-right,
.form-views-left             { width:100%; }


/* basic styling for entering and leaving */
/* left and right added to ensure full width */
.form-views-right.ng-enter,
.form-views-right.ng-leave,
.form-views-left.ng-enter,
.form-views-left.ng-leave             {  position:relative !important;
    transition:0.5s all ease; -moz-transition:0.5s all ease; -webkit-transition:0.5s all ease; 
}
    
/* enter animation */
.form-views-right.ng-enter            { 
    -webkit-animation:slideInRight 0.5s both ease;
    -moz-animation:slideInRight 0.5s both ease;
    animation:slideInRight 0.5s both ease; 
    /*-webkit-animation-delay:0.5s;
    -moz-animation-delay:0.5s;
    animation-delay:0.5s;*/
}

/* leave animation */
.form-views-right.ng-leave            { 
    -webkit-animation:slideOutLeft 0.5s both ease;
    -moz-animation:slideOutLeft 0.5s both ease;
    animation:slideOutLeft 0.5s both ease;   
}

/* enter animation */
.form-views-left.ng-enter            { 
    -webkit-animation:slideInLeft 0.5s both ease;
    -moz-animation:slideInLeft 0.5s both ease;
    animation:slideInLeft 0.5s both ease; 
   /* -webkit-animation-delay:0.5s;
    -moz-animation-delay:0.5s;
    animation-delay:0.5s;*/
}

/* leave animation */
.form-views-left.ng-leave            { 
    -webkit-animation:slideOutRight 0.5s both ease;
    -moz-animation:slideOutRight 0.5s both ease;
    animation:slideOutRight 0.5s both ease;   
}

/* ANIMATIONS

/* slide out to the left */
@keyframes slideOutLeft {
    to      {transform: translateX(-200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}
@-moz-keyframes slideOutLeft {  
    to      {transform: translateX(-200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}
@-webkit-keyframes slideOutLeft {
    to      {transform: translateX(-200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}

@keyframes slideOutRight {
    to      {transform: translateX(200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}
@-moz-keyframes slideOutRight {  
    to      {transform: translateX(200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}
@-webkit-keyframes slideOutRight {
    to      {transform: translateX(200%);}
	/*from	{opacity:1}
    to      {  opacity:0 }*/
}

/* slide in from the right */
@keyframes slideInRight {
    from    { transform:translateX(200%); }
    to      { transform: translateX(0); }
	/*from	{opacity:0}
    to      {opacity:1 }*/
}
@-moz-keyframes slideInRight {
    from    { -moz-transform:translateX(200%); }
    to      { -moz-transform: translateX(0); }
	/*from	{opacity:0}
    to      {  opacity:1 }*/
}
@-webkit-keyframes slideInRight {
    from    { -webkit-transform:translateX(200%); }
    to      { -webkit-transform: translateX(0); }
	/*from	{opacity:0}
    to      {  opacity:1 }*/
}

/* slide in from the right */
@keyframes slideInLeft {
    from    { transform:translateX(-200%); }
    to      { transform: translateX(0); }
	/*from	{opacity:0}
    to      {  opacity:1 }*/
}
@-moz-keyframes slideInLeft {
    from    { -moz-transform:translateX(-200%); }
    to      { -moz-transform: translateX(0); }
	/*from	{opacity:0}
    to      {  opacity:1 }*/
}
@-webkit-keyframes slideInLeft {
    from    { -webkit-transform:translateX(-200%); }
    to      { -webkit-transform: translateX(0); }
	/*from	{opacity:0}
    to      {  opacity:1 }*/
}


/* ============================================================= */
/* FIN NAVIGATION DES FORMULAIRES */




/* POPIN "TRANSMETTRE" */
.animate-if {
  background:white;
  border:1px solid black;
  padding:10px;
}

.animate-if.ng-enter, .animate-if.ng-leave {
  -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
}

.animate-if.ng-enter,
.animate-if.ng-leave.ng-leave-active {
  opacity:0;
}

.animate-if.ng-leave,
.animate-if.ng-enter.ng-enter-active {
  opacity:0;
}



