/*--------------------------------------------------------------------------------------------------
  
   Simply Buttons, version 1.0
   (c) 2007-2009 Kevin Miller

   This script is freely distributable under the terms of an MIT-style license.

   BUTTON DEFINITIONS 
  
   Edit below at your own risk, everything done here is for a reason for cross browser
   compatibility so that the buttons will appear identical in the tested browsers.
   
   Tested on: IE6 IE7 FF(PC/MAC) Safari SafariMobile Opera(PC/MAC)
   
--------------------------------------------------------------------------------------------------*/

button,
a.button,
a.button:link,
a.button:visited {
  /*
      Strip down the button and link elements to a base we can work with.
  */
  padding: 0 0 0 0;
  margin: 0 3px 0 3px;
  border: none;
  display: inline;
  /*float: left;*/
  cursor: pointer;
  text-decoration: none;
  outline: none;
  white-space: nowrap;
  overflow: visible;
}

  * html a.button,
  * html a.button:link,
  * html a.button:visited {
    /*
        IE6 fix to make link fit text.
    */
    width: 1%;
  }

  button, x:-moz-any-link {
    /*
        FF fix to make button spacing even across browsers.
    */
    margin: 0 0 0 0;
  }

  *:first-child+html button {
    /*
        Reset IE7 back to what it was for previous fix.
    */
    margin: 0 3px 0 3px;
  }

  button span,
  a.button span,
  a.button:link span,
  a.button:visited span {
    /*
        Set the span tags to display: block, as they will work our background-image magic.
    */
    display: block;
  }

/*--------------------------------------------------------------------------------------------------
  
   CUSTOMIZATIONS 
  
   Edit below to change the look and feel of the buttons and even add more classes for
   different looks and feels.
   
--------------------------------------------------------------------------------------------------*/


#centre a.button{display:block;
  text-decoration: none;
  outline: none;
  white-space: nowrap;
  overflow: visible;
  float: left;
  border: none;vertical-align:middle;
  height: 26px; }

button,
a.button,
a.button:link,
a.button:visited {
  /* 
      HEIGHT - Total height of button. 
  */
  height: 26px; 

  /*
      NOTE - You must define the font here otherwise your buttons and links could end up diffrent.
  */
	font-family: "Helvetica Neue", Helvetica, clean, sans-serif;

  font-size: 13px;
  color: #666666;
  background-color: #ffffff;vertical-align:middle;
}
  button.button_active,
  a.button_active {
  
  }

  button span,
  a.button span,
  a.button:link span,
  a.button:visited span {
    /* 
        Right side padding for button (default). 
    */
    padding: 0 14px 0 0;

    /* 
        SPAN HEIGHT - This should be 2px smaller than the height set on the button (see HEIGHT).
    */
    height: 24px;
    /*
        We define our background top left and use the 'Sliding Doors' Technique for some fast loading buttons.
    */
    background: url(buttons/bg_button_right.gif) top right;
  }

  button span span,
  a.button span span,
  a.button:link span span,
  a.button:visited span span {
    /* 
        Left side padding for button (default). 
    */
    padding: 0 0 0 13px;

    /* 
        SPAN HEIGHT - This should be 1px smaller than the height set on the button (see HEIGHT).
    */
    height: 24px;

    /* 
        SPAN LINE-HEIGHT - This should be 1px smaller than the height set on the button (see HEIGHT) and will 
                            center the text vertcailly.
    */
    line-height: 24px;

    /*
        We define our background top left and use the 'Sliding Doors' Technique for some fast loading buttons.
    */
    background: url(buttons/bg_button_left.gif) top left;
  }

  button:hover,
  a.button:hover {
    color: #000000;
  text-decoration: none;
  border: none;
  }

  
  
  button:hover span,
  a.button:hover span {    
    background-position:bottom right ;
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.*/
  }

 
  button:hover span span,
  a.button:hover span span {    
    text-decoration: none;
    
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.
    */
    background: url(buttons/bg_button_left.gif) bottom left;
  }
   

  button:active span,
  a:active:active span,
  /*
      'button_active' is the class used by SimplyButtons.js to create the button states in IE.
  */
  button.button_active span,
  a.button_active:active span {
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.
    */
    background-position:top right;
  }
  
  
    button:active span span,
  a:active:active span span,
  /*
      'button_active' is the class used by SimplyButtons.js to create the button states in IE.
  */
  button.button_active span span,
  a.button_active:active span span {
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.
    */
    background-position: top left;
  }
/****************************************************************************************************************
**********************************************Bouton Vert*******************************************************
*****************************************************************************************************************/ 
  
  button.vert span,
  a.vert span,
  a.vert:link span,
  a.vert:visited span {
  background-image: url(buttons/bg_button_right_vert.gif);
  }

  button.vert span span,
  a.vert span span,
  a.vert:link span span,
  a.vert:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    */
    background-image: url(buttons/bg_button_left_vert.gif);
  }

  button.vert:hover,
  a.vert:hover {
  }


/****************************************************************************************************************
**********************************************Bouton Orange*******************************************************
*****************************************************************************************************************/ 
  
  button.orange span,
  a.orange span,
  a.orange:link span,
  a.orange:visited span {
  background-image: url(buttons/bg_button_right_orange.gif);
  }

  button.orange span span,
  a.orange span span,
  a.orange:link span span,
  a.orange:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    */
    background-image: url(buttons/bg_button_left_orange.gif);
  }

  button.orange:hover,
  a.orange:hover {
  }
  
  /****************************************************************************************************************
**********************************************Bouton Rouge*******************************************************
*****************************************************************************************************************/ 
  
  button.rouge span,
  a.rouge span,
  a.rouge:link span,
  a.rouge:visited span {
  background-image: url(buttons/bg_button_right_rouge.gif);
  }

  button.rouge span span,
  a.rouge span span,
  a.rouge:link span span,
  a.rouge:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    */
    background-image: url(buttons/bg_button_left_rouge.gif);
  }

  button.rouge:hover,
  a.rouge:hover {
  }
  
  /****************************************************************************************************************
**********************************************Bouton Bleu*******************************************************
*****************************************************************************************************************/ 
  
  button.bleu span,
  a.bleu span,
  a.bleu:link span,
  a.bleu:visited span {
  background-image: url(buttons/bg_button_right_bleu.gif);
  }

  button.bleu span span,
  a.bleu span span,
  a.bleu:link span span,
  a.bleu:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    */
    background-image: url(buttons/bg_button_left_bleu.gif);
  }

  button.bleu:hover,
  a.bleu:hover {
  }
 
  /****************************************************************************************************************
**********************************************Bouton Gris*******************************************************
*****************************************************************************************************************/ 
  
  button.gris span,
  a.gris span,
  a.gris:link span,
  a.gris:visited span {
  background-image: url(buttons/bg_button_right_gris.gif);
  }

  button.gris span span,
  a.gris span span,
  a.gris:link span span,
  a.gris:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    */
    background-image: url(buttons/bg_button_left_gris.gif);
  }

  button.gris:hover,
  a.gris:hover {
  }

/****************************************************************************************************************
**********************************************Bouton submit*******************************************************
*****************************************************************************************************************/ 
  
  button.submit span,
  a.submit span,
  a.submit:link span,
  a.submit:visited span {
  }

  button.submit span span,
  a.submit span span,
  a.submit:link span span,
  a.submit:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    background-image: url(../images/bg_button_left_submit.gif);
    */
    background-image: url(buttons/bg_button_left.gif);
  }

  button.submit:hover,
  a.submit:hover {
  }

/****************************************************************************************************************
**********************************************Bouton Cancel*******************************************************
*****************************************************************************************************************/ 
  
  button.cancel span,
  a.cancel span,
  a.cancel:link span,
  a.cancel:visited span {
  }

  button.cancel span span,
  a.cancel span span,
  a.cancel:link span span,
  a.cancel:visited span span {
    /*
        Give some extra space for the icon.
    */
    padding-left: 26px;

    /*
        Add in a left side piece with an icon.
    background-image: url(../images/bg_button_left_cancel.gif);
    */
    background-image: url(buttons/bg_button_left.gif);
  }

  button.cancel:hover,
  a.cancel:hover {
  }

/****************************************************************************************************************
**********************************************Bouton Active*******************************************************
*****************************************************************************************************************/ 
  
  button:active span,
  a:active:active span,
  /*
      'button_active' is the class used by SimplyButtons.js to create the button states in IE.
  */
  button.button_active span,
  a.button_active:active span {
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.
    */
    background-position: bottom right;
  }

  button:active span span,
  a:active:active span span,
  /*
      'button_active' is the class used by SimplyButtons.js to create the button states in IE.
  */
  button.button_active span span,
  a.button_active:active span span {
    /*
        Using the 'Sliding Doors' Technique we 'slide' the new button state into view.
    */
    background-position: bottom left;
  }
