/*.adminpage-wrapper.sondages {
	width: 1000px;
}*/

.sondages h1 {
    font-size: 14px;
}
.sondages .main {
    width: 600px;
}

.sondage-actionbuttons .sendbutton {
    margin: 0 20px;
}
.sendbutton {
    border: 1px solid silver;
    border-radius: 0;
}
#content p.question:first-child {
    margin-top: 12px;
}

/* pour créer le 1er sondage ou 1re question dans un sondage */
.creerpremier {
    color: #666;
    font-size: 20px;
    line-height: 1.5em;
    margin: 40px auto;
    padding: 50px 80px;
    text-align: center;
    text-shadow: 0px 1px 1px #aaa;
}
.creerpremier:hover {
    background: #f0f0f0;
    cursor: pointer;
}

/* créer le 1er sondage */
.nosondage h1 {
    font-size: 16px;
    margin: 40px 0;
}
.nosondage .creerpremier {
    border: 1px solid silver;
    width: 300px;
}

/* barre á gauche avec les sondages existants */
.sondages .historique {
    border-bottom: 1px dotted silver;
    border-right: 1px dotted silver;
    margin-right: 15px;
    width: 340px;
}

.sondage.mini {
    border-top: 1px dotted silver;
    padding: 10px;
}
.sondage.mini.active {
    background: #f0f0f0;
    text-shadow: 1px 1px 1px #fff;
}
.sondage.mini.active .titre {
    font-weight: bold;
}

/* affichage des résultats */
.sondagequestion-resultats-container {
    height: 400px;
    margin: 0 auto;
    min-width: 400px;
}
.sondagequestion-resultats-container.noreponse {
    height: auto;
}
.sondagequestion-resultats-container.format-40 {
    height: auto;
}
.sondagequestion-resultats-container .question {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px; font-weight: normal;
    color: #3E576F;
    fill: #3E576F;
}
/* couleurs d'échelle
#bf0000
#c44509
#ba6a12
#f09c00
#e4f420
#8cc606
#008000
*/

.reponses-question-ouverte {
    border: 1px solid silver;
    max-height: 400px;
    overflow-y: scroll;
    padding: 10px;
}
.reponse-question-ouverte {
    border: 1px dotted silver;
    margin: 10px 0;
    padding: 5px;
}
.reponse-question-ouverte:hover {
    background: #f0f0f0;
}

/* form d'édition */
#editeur-sondage-wrapper {
    margin-top: 15px;
}
#editeur-sondage {
    margin-right: 10px;
    width: 270px;
}

#editeur-questions-wrapper {
    width: 680px;
}
#tab-questions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#tab-questions li {
    border: 1px solid silver;
    border-bottom: none;
    float: left;
    margin: 0 5px;
    padding: 0;
}
#tab-questions li:first-child {
    margin-left: 0;
}
#tab-questions li a {
    display: block;
    padding: 3px 8px;
}
#tab-questions li.active a {
    background: #f0f0f0;
}
#tab-questions li:hover a {
    background: #f0f0f0;
    cursor: pointer;
    text-decoration: none;
}
#tab-questions li.add {
    float: right;
    margin-right: 0;
}
#editeur-questions {
    border: 1px solid silver;
    padding: 10px;
}
.editeur-question-edit {
    margin-right: 10px;
    position: relative;
    width: 300px;
}
.delete-question {
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    right: -5px;
    top: -5px;
}
.delete-question:hover {
    background: #f0f0f0;
    border: 1px solid gray;
    right: -6px;
    top: -6px;
}
.editeur-question-edit input[name=question] {
    width: 295px;
}

/* édition des réponses disponibles */
#editeur-questions .ligne-input-wrapper {
    margin: 8px 0;
}
#editeur-questions .ligne-input-wrapper input[name=ligne] {
    padding: 3px 5px;
    width: 265px;
}
#editeur-questions .delete-ligne-input {
    color: black;
    display: inline-block;
    font-size: 18px; font-weight: bold;
    padding: 4px;
}
#editeur-questions .delete-ligne-input:hover {
    background: #f0f0f0;
    text-decoration: none;
}

/* question ouverte */
#editeur-questions textarea {
    width: 310px;
}

/* ajouter une question */
#editeur-questions .creerpremier {
    margin: 0;
    width: auto;
}
.sondage-add-question-wrapper {
    background: white;
    padding: 10px;
}
.choix-question-format {
    height: 200px;
    margin: 20px;
    position: relative;
    width: 300px;
}
.choix-question-format > div {
    border: 1px solid silver;
    left: 0;
    position: absolute;
    top: 0;
}
.choix-question-format:hover {
    cursor: pointer;
}
.choix-question-format .texte-format {
	background: #555555;
    background: rgba(0,0,0,0.7);
    color: white;
    display: none;
    font-size: 18px; font-weight: bold;
    height: 110px;
    padding-top: 90px;
    text-align: center;
    text-shadow: 1px 1px 1px #444;
    width: 300px;
}
.choix-question-format:hover .texte-format {
    display: block;
}

/* affichage d'une question */
#editeur-questions fieldset {
    border: 1px solid silver;
    width: 320px;
}
.sondagequestion .question {
    font-size: 13px;
}
.sondagequestion .reponse-input-wrapper {
    border: 1px solid gray;
    border-radius: 4px;
    margin: 10px auto;
    padding: 10px;
    text-align: center;
    width: 280px;
}
.sondagequestion .reponse-input-wrapper:hover {
    cursor: pointer;
}
.sondagequestion .reponse-input-wrapper.gradient-green {
    color: white;
    font-weight: bold;
}

i.stars {
    background: url(/images/sprites/stars-sprites.png) no-repeat 0 0;
    display: inline-block;
    height: 24px;
    width: 24px;
}
i.stars:hover, i.stars.hover, i.stars.active {
    background-position: left bottom;
    cursor: pointer;
}
.echelle-etoiles .stars {
    margin: 0 6px;
}
.echelle-etoiles:hover .stars.active {background-position: left top;}
.echelle-etoiles:hover .stars.active.hover {background-position: left bottom;}
.echelle-libelles {
    font-size: 14px;
    padding: 5px 10px;
}
.echelle-libelles > span {
    display: inline-block;
    max-width: 150px;
}
/* format matrice */
.format-30 .echelle-libelles {
    border-bottom: 1px solid silver;
    font-size: 12px;
    padding-left: 60px;
    padding-right: 0;
}
.format-30 .echelle-libelles > span {
    width: 130px;
    text-align: right;
}
.format-30 .echelle-wrapper {
    margin: 5px 0;
}
.format-30 .echelle-categorie {
    float: left;
    padding: 5px 0;
    text-align: left;
    width: 110px;
}
.format-30 .echelle-etoiles {
    float: right;
}
.format-30 .echelle-etoiles .stars {
    margin: 0 3px;
}
/* format ligne */
.format-31 .echelle-wrapper {
    text-align: center;
}
.format-31 .echelle-etoiles {
    border: 1px solid silver;
    border-radius: 6px;
    display: inline-block;
    padding: 5px 10px;
}

/* form de réponse */
.sondage.real {
    border: 1px solid silver;
    margin: 20px auto;
    width: 420px;
}
.sondage.real legend {
    font-size: 15px; font-weight: bold;
}
.sondage.real hr {
    /*border-top: 2px solid #74B24D;*/
    border-top: 2px solid #888888;
    margin: 25px 0;
}
.sondage.real .logo {
    margin: 10px 20px 10px 0;
}
.sondage.real .basicinfos {
    font-size: 13px;
}
.sondage.real .description {
    font-size: 14px;
    text-align: justify;
}
.sondage.real textarea {
    width: 400px;
}

.sondage-matrix thead {
    color: white;
    font-size: 13px; font-weight: bold;
}
.sondage-matrix tbody .evenLigne {
    background: #f0f0f0
}
.sondage-matrix tbody tr:hover {
    background: #e0e0e0;
}
.sondage-matrix td {
    min-width: 100px;
    max-width: 200px;
    padding: 3px 6px;
    text-align: center;
}
.sondage-matrix .ligne-libelle {
    padding: 3px 10px 3px 5px;
    text-align: left;
}
.sondage-matrix .ligne-radio label {
    display: inline-block;
    padding: 0 10px;
}

.sondage-popup-wrapper {
    margin: 0 auto;
    width: 440px;
}
.sondage-popup-wrapper .sondage.real {
    border: none;
}
.sondage-popup-wrapper.ownpage .toclose {
    display: none
}

.sondage-popup-resultats-wrapper {
    width: 600px;
}

/* popup pour changer l'ordre des questions */
#order-questions {
    list-style: none;
    margin: 0;
    padding: 5px 10px;
}
#order-questions li {
    border: 1px solid silver;
    margin: 5px 0;
    padding: 4px 8px;
}
#order-questions li:hover {
    background: #f0f0f0;
    cursor: pointer;
}

/* aide */
.sondages i.info {
    margin:-4px 0 0 5px;
    vertical-align: middle;
}
.helpsondage-wrapper {
    display: none;
}
.helpsondage {
    width: 600px;
}

/* rapports de sondage */
#content.sondages .pageleft {
    float: left;
    margin-right: 10px;
    width: 690px;
}
#content.sondages .pageright {
    float: left;
    width: 300px;
}
.sondage-rapport-editeur {
    margin-bottom: 30px;
}