/*### DEBUG ### */

div.cake-debug-output {
    position: absolute !important;
    z-index: 99999 !important;
    background: white !important;
    /*padding: 0;*/
    /*position: relative;*/
}

/*######## Helper classes ########*/

.block {
    display: block;
}

.right {
    float: right;
}

/*######## Smart Green ########*/
.smart-green {
    margin-left:auto;
    margin-right:auto;

    max-width: 500px;
    background: #f0f0f0;
    padding: 30px 30px 20px 30px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.smart-green h1 {
    font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 10px 0px 10px 40px;
    display: block;
    margin: -30px -30px 10px -30px;
    color: #FFF;
    background: #9DC45F;
    text-shadow: 1px 1px 1px #949494;
    border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-bottom:1px solid #89AF4C;

}
.smart-green h1>span {
    display: block;
    font-size: 11px;
    color: #FFF;
}

.smart-green label {
    display: block;
    margin: 20px 0px 3px;
}
.smart-green label>span {
    float: left;
    margin-top: 10px;
    color: #5E5E5E;
}
.smart-green input[type="text"],.smart-green input[type="password"], .smart-green input[type="email"], .smart-green textarea, .smart-green select {
    color: #555;
    height: 30px;
    line-height:15px;
    width: 100%;
    padding: 0px 0px 0px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}

.smart-green textarea{
    height:100px;
    padding-top: 10px;
}
.smart-green select {
    background: url('../img/down-arrow.png') no-repeat right, -moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
    background: url('../img/down-arrow.png') no-repeat right, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBFBFB), color-stop(100%,#E9E9E9));
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width:100%;
    height:30px;
}
.smart-green input[type="submit"] {
    background-color: #9DC45F;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-border-radius: 5px;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    text-shadow: 1px 1px 1px #949494;

}
.smart-green input:hover[type="submit"] {
    background-color:#80A24A;
}
/* Cachons la case à cocher */
.smart-green [type="checkbox"]{
    color: #FF0000;
}

/*######## Default Form ########*/

.default-form {
    margin-left:auto;
    margin-right:auto;
    max-width: 96%;
    background: #f5f5f5;
    padding: 30px 30px 20px 30px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.default-form h1 {
    font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 10px 0px 10px 40px;
    display: block;
    margin: -30px -30px 10px -30px;
    color: #FFF;
    background: #9DC45F;
    text-shadow: 1px 1px 1px #949494;
    border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-bottom:1px solid #89AF4C;

}
.default-form h1>span {
    display: block;
    font-size: 11px;
    color: #FFF;
}

.default-form label {
    display: block;
    margin: 20px 0px 3px;
}
.default-form label>span {
    display: inline;
    margin: 0px 0px 3px;
    
}

.default-form input[type="text"],.default-form input[type="password"], .default-form input[type="email"], .default-form textarea, .default-form select {
    color: #555;
    height: 30px;
    line-height:15px;
    width: 100%;
    padding: 0px 0px 0px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}

.default-form textarea{
    height:100px;
    padding-top: 10px;
}
.default-form select {
    background: url('../img/down-arrow.png') no-repeat right, -moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
    background: url('../img/down-arrow.png') no-repeat right, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBFBFB), color-stop(100%,#E9E9E9));
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width:100%;
    height:30px;
}
.default-form input[type="submit"] {
    background-color: #9DC45F;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-border-radius: 5px;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    text-shadow: 1px 1px 1px #949494;

}
.default-form input:hover[type="submit"] {
    background-color:#80A24A;
}
.checkbox label,
.radio label {
    display:inline;
    padding-left: 5px;
}
.selected 
{
    background-color: #ccc;
    border: 2px solid green;
    padding: 1px;
} 
#avatars 
{
    margin-top:10px;
}
#avatar_nb 
{
    display:none;
}
#avatars img 
{
    padding: 3px;
    width:70px;
    height:70px;
    margin-right:10px;
}

/*### Photos ###*/

div.photo-radios label {
    margin-right: 32px;
    margin-bottom: 16px;
}

div.photo-radios label:hover {
    cursor: pointer;
}

legend a {
    float: right;
    font-size: 16px;
}

div.extra {
    background: #e1e1e1;
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 16px;
}

div.extra div.input {
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 16px;
}

div.extra div.input.select {
    float: right;
    margin-right: 8px;
}

div.extra div.input.select > label {
    margin-right: 8px;
}

div.extra div.input.number {
    text-align: center;
    margin-left: 8px;
}

div.extra div.input.number > label {
    margin-right: 16px;
}

div.extra div.input.number > input {
    text-align: center;
    width: 60px;
}