/*
	Formulaires
*/

/* = Styles de bases = */

input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="tel"],
textarea {
    width: 250px;
    border: 1px solid #CFD0D2;
    padding: 4px;
    vertical-align: middle;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    font-size: 1em;
    color: #000;
}

input[type="checkbox"],
input[type="radio"] {
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 13px;
    height: 13px;
}

input[type="submit"] {
    border: none;
    padding: 0.2em 1em;
    vertical-align: middle;
    font-family: Arial, Helvetica, sans-serif;
    background: #555;
    color: #fff;
    font-weight: normal;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active {
    background: #888;
}

fieldset {
    padding: 0;
    border: 0;
}

legend {
    margin: 0 0 0.5em 0;
    padding: 0;
    font-weight: bold;
}

.ie7 legend {
    zoom: 1;
    margin-left: -8px;
}

select {
    font-size: 1em;
    vertical-align: middle;
}

textarea {
    resize: vertical;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input::-webkit-input-placeholder {
    color: #777;
}

input:-moz-placeholder {
    color: #777;
}

.placeholder {
    color: #777;
}

/* = Mise en forme des formulaire = */

label {
    display: block;
    float: left;
    width: 165px;
    text-align: right;
    margin-right: 0.5em;
    margin-left: 0;
    vertical-align: middle;
    font-weight: bold;
}

label {
    padding-top: 2px;
}

.form-row {
    margin-bottom: 1em;
}

.no-label {
    margin-left: 156px; /*width label + margin */
}

.no-separator {
    margin-bottom: 0.3em;
}

/* = Filtre = */

.form-filter {
    font-size: 1.083em;
}

.form-filter .form-option label {
    float: none;
    display: inline;
    font-weight: normal;
    color: #555555;
}

.form-filter .form-option {
    margin-bottom: 0.2em;
}

/* = Boutons = */
.btn-group {
    text-align: right;
}

/* = Custom select = */
.custom-select-container {
    position: relative;
}

.replaced {
    position: relative;
    z-index: 10;
    width: 100% !important;
    height: 2.8em;
    border: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    line-height: 2.8em;
    margin: 0 !important;
}

.ie .replaced {
    height: 2.9em;
}

.ie7 .replaced {
    top: 5px;
}

.custom-select {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    background: url('../images/grad-grey-3.png') repeat-x bottom left #fff;
}

.custom-select.active {
    background-image: url('../images/grad-grey-6.png');
}

.custom-select > span {
    display: block;
    padding: 0 42px 0 6px;
    border: solid 1px #b8c0c2;
    color: #414141;
    background: #D1D4D9 url('../../mf3-base-theme/images/custom-select-bg-instit.png') no-repeat 100% 50%;
    line-height: 2.6em;
    font-size: 1.083em;
}

.custom-select span span {
    display: block;
    height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.custom-select-container .active > span {
    /*background-image: url('../../mf3-base-theme/images/custom-select-bg-active.png');*/
}

.custom-select-container-style-2 {
    float: left;
}

.custom-select-container-style-2 .replaced {
    height: 2.2em;
}

.custom-select-container-style-2 .custom-select > span {
    color: #717171;
    font-size: 0.917em;
    line-height: 2.3em;
    background: url('../images/custom-select-bg-2.png') no-repeat 100% 50%;
    text-shadow: 0px 1px 1px #fff;
}

.custom-select-container-style-2 .custom-select span span {
    height: 2.2em;
}

.custom-select-container-style-2 .active > span {
    background-image: url('../images/custom-select-bg-2-active.png');
}

.select-region {
    width: 230px;
    margin-right: 1em;
    margin-top: 2px;
}

.select-outremer {
    width: 115px;
    margin-top: 2px;
}