/* Form iDevice (edition CSS) */


/* #formIdeviceForm .formAddQuestionsContainer {
  margin-top: 10px;
} */

.formAddQuestionsContainer .label-bold {
    font-weight: bold;
    margin-right: 20px;
}

.formAddQuestionsContainer .formSelector {
    width: 200px;
}

#formIdeviceForm .questionTextarea {
    margin-bottom: 10px;
}

#addQuestionsContainerForm #addQuestionsSelectorContainer {
    background-color: rgba(220, 220, 220, 0.8);
    padding: 8px;
}

#addQuestionsContainerForm #addQuestionsButtonsContainer {
    background-color: rgba(220, 220, 220, 0.8);
    padding: 8px;
}

#addQuestionsContainerForm #addQuestionsOptionsContainer {
    padding: 5px;
}

ul#formPreview {
    min-height: 80px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul#formPreview .FormView_question {
    padding: 5px;
    background-color: var(--file-odd);
}

ul#formPreview .FormView_question.dragging {
    padding: 15px;
    background-color: var(--light-exe-color);
}

ul#formPreview .FormView_question:nth-child(even) {
    background-color: rgba(220, 220, 220, 0.8);
}

ul#formPreview .FormView_question.dragging:nth-child(even) {
    padding: 15px;
    background-color: var(--light-exe-color);
}

/* ul#formPreview li:nth-child(even) {
  background-color: rgba(220, 220, 220, 0.8);
} */

ul#formPreview .FormView_question .QuestionLabel_ButtonsContainer {
    float: right;
}

ul#formPreview .FormView_question .QuestionLabel_actionButton {
    font-family: var(--icons-ff);
    text-align: center;
    height: 26px;
    width: 26px;
    padding: 2px;
    cursor: pointer;
    color: black;
    border-radius: 50%;
    border-style: none;
    background-color: transparent;
}

ul#formPreview .FormView_question .QuestionLabel_actionButton:hover {
    color: white;
    background-color: rgb(107, 107, 107);
}

ul#formPreview .FormView_question .QuestionLabel_actionButton:focus {
    color: white;
    background-color: rgb(107, 107, 107);
}

ul#formPreview .FormView_question .QuestionLabel_edit {
    background-image: url("editar.svg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: 16px;
}

ul#formPreview .FormView_question .QuestionLabel_edit:hover {
    background-color: rgb(17, 204, 0);
}

ul#formPreview .FormView_question .QuestionLabel_edit:focus {
    background-color: rgb(17, 204, 0);
}

ul#formPreview .FormView_question .QuestionLabel_remove:hover {
    color: white;
    background-color: rgb(204, 0, 0);
}

ul#formPreview .FormView_question .QuestionLabel_remove:focus {
    color: white;
    background-color: rgb(204, 0, 0);
}

ul#formPreview .FormView_question .FormViewContainer {
    margin-top: 5px;
    margin-bottom: 5px;
}

ul#formPreview .FormView_question .FormViewContainer p {
    margin: 0.8em 0;
}

ul#formPreview .FormView_question .FormViewContainer .true-false-radio-buttons-container p {
    margin-right: 20px;
}

ul#formPreview {
    gap: var(--margin-s);
    display: flex;
    flex-direction: column;
}

ul#formPreview>li {
    padding: var(--margin-m);
    border-radius: var(--radius);
    color: var(--body-text-color);
}

ul#formPreview>li label.activity-title {
    text-decoration: underline;
    font-weight: bold;
    text-decoration-color: var(--dark-exe-color);
    text-decoration-thickness: 2px;
}

ul#formPreview>li div[class*="QuestionLabel"] {
    border-radius: 50%;
}

ul#formPreview>li p {
    margin-block: var(--margin-s);
}

#formIdeviceForm .exe-icon {
    font-family: var(--icons-ff);
    width: 16px;
    height: 16px;
    font-size: 14px;
    color: var(--dark-exe-color);
    background-color: var(--bg-lighter-gray);
    margin-left: var(--margin-m);

    border: 1px solid var(--dark-exe-color);
    border-radius: 100%;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-inline: 5px;
    cursor: pointer;
}

#formIdeviceForm .exe-icon.exe-icon-clicked {
    color: var(--light-exe-color);
    background-color: var(--dark-exe-color);
}

#formIdeviceForm .exe-icon:hover {
    color: var(--light-exe-color);
    background-color: var(--dark-exe-color);
}

#formIdeviceForm .exe-icon-remove {
    color: var(--remove);
    border: 1px solid var(--remove);
}

#formIdeviceForm .exe-icon-remove.remove-option {
    color: var(--remove);
    border: 0px;
    border-radius: 0%;
    text-align: center;
}

#formIdeviceForm .exe-icon-remove:hover {
    color: var(--light-exe-color);
    background-color: var(--remove);
}

#formIdeviceForm .exe-icon[disabled="true"] {
    color: var(--icon-color);
    border: 1px solid var(--icon-color);
    pointer-events: none;
    cursor: default;
}

#formIdeviceForm .inline {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#formIdeviceForm .inline.footer-buttons-container {
    justify-content: right;
}

#formIdeviceForm .inline.footer-buttons-container div {
    margin-left: 10px;
}

#formIdeviceForm .show-questions {
    margin: 0px auto;
}

#formIdeviceForm .hide-questions {
    margin: 0px auto;
}

#formIdeviceForm .exe-button {
    font-size: 14px;
    color: var(--dark-exe-color);
    margin-left: var(--margin-m);
    border: 2px solid var(--verde-cl);
    border-radius: 5px;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-inline: 5px;
    width: fit-content;
}

#formIdeviceForm .exe-button:hover {
    color: var(--light-exe-color);
    background-color: var(--dark-exe-color);
    border-color: var(--dark-exe-color);
}

#formIdeviceForm .exe-button-remove {
    color: var(--remove);
    border: 0px;
}

#formIdeviceForm .exe-button-remove:hover {
    color: var(--light-exe-color);
    background-color: var(--remove);
}

#formIdeviceForm .container {
    max-width: 100%;
    padding: 0;
    margin: 10px 0;
}

#formIdeviceForm .inline-icon {
    font-family: var(--icons-ff);
    font-size: 20px;
    color: var(--dark-exe-color);
    margin-right: 10px;
}

#formIdeviceForm .inline-icon.toggle-icon {
    font-size: 30px;
    cursor: pointer;
    border-style: none;
    margin-right: 0px;
    background-color: transparent;
}

#formIdeviceForm .inline-icon.help-icon {
    cursor: help;
    color: var(--dark-exe-color-04);
    background-color: transparent;
    border-style: none;
    padding: 0px;
}

#formIdeviceForm .inline-icon.help-icon:hover {
    color: var(--dark-exe-color);
}

#formIdeviceForm .exe-button.add-question-button {
    min-width: 100px;
    margin: 5px;
    background-color: var(--bg-lighter-gray);
    cursor: pointer;
}

#formIdeviceForm .exe-button.exe-button.add-question-button:hover {
    background-color: var(--dark-exe-color);
}

#formIdeviceForm .dropdown-popup {
    z-index: 3;
    width: auto;
    height: auto;
    /* background-color: var(--bg-lighter-gray); */
    position: absolute;
    /* top: 50%;   */
    left: 50%;
    transform: translate(-50%, 0);
    /* transform: translate(-50%, calc(50% + 10px)); */
}

#formIdeviceForm .dropup-popup {
    z-index: 3;
    width: auto;
    height: auto;
    /* background-color: var(--bg-lighter-gray); */
    position: absolute;
    /* top: 50%;   */
    left: 50%;
    transform: translate(-50%, calc(-100% - 20px));
}

#formIdeviceForm .question-button {
    margin: 10px 0;
}

#formIdeviceForm .question-input-text {
    margin-top: 10px;
}

#formIdeviceForm .question-in-edition {
    padding: 10px;
}

#formIdeviceForm .container-add-questions {
    position: relative;
}

#formIdeviceForm .dropdownPassRate {
    margin: 0 10px;
    min-width: 80px;
}

#formIdeviceForm .true-false-radio-buttons-container p {
    margin-right: 20px;
}

#formIdeviceForm .instructions {
    cursor: help;
    width: fit-content;
    margin-right: 10px;
}

#formIdeviceForm .check-options {
    margin-right: 30px;
}

#formIdeviceForm .check-options span {
    margin-right: 10px;
}

ul#formPreview .FormView_question .QuestionLabel_actionButton[disabled="true"] {
    color: var(--dark-exe-color-06);
    pointer-events: none;
    cursor: default;
}

#formIdeviceForm .small-textarea {
    height: 50px;
    width: calc(100% - var(--margin-m));
}

#formIdeviceForm .question-button {
    min-width: 70px;
}

#formIdeviceForm #removeQuestion.question-button {
    color: rgba(255, 0, 0, 0.8);
    /* border-color: var(--remove); */
    border-color: rgba(255, 0, 0, 0.3);
}

#formIdeviceForm #removeQuestion.question-button:hover {
    color: var(--remove);
    border-color: var(--remove);
    box-shadow: 0px 0px 5px var(--remove);
}

#formIdeviceForm #removeQuestion.question-button:focus {
    color: var(--remove);
    border-color: var(--remove);
    box-shadow: 0px 0px 5px var(--remove);
}

#formIdeviceForm #saveQuestion.question-button {
    color: rgb(0, 110, 255, 0.8);
    border-color: rgba(0, 110, 255, 0.3);
}

#formIdeviceForm #saveQuestion.question-button:hover {
    color: rgb(0, 110, 255);
    border-color: rgba(0, 110, 255);
    box-shadow: 0px 0px 5px rgba(0, 110, 255);
}

#formIdeviceForm #saveQuestion.question-button:focus {
    color: rgb(0, 110, 255);
    border-color: rgba(0, 110, 255);
    box-shadow: 0px 0px 5px rgba(0, 110, 255);
}

#formIdeviceForm #cancelQuestion.question-button {
    color: rgba(155, 139, 0, 0.8);
    border-color: rgba(155, 139, 0, 0.3);
}

#formIdeviceForm #cancelQuestion.question-button:hover {
    color: rgb(155, 139, 0);
    border-color: rgba(155, 139, 0);
    box-shadow: 0px 0px 5px rgba(155, 139, 0);
}

#formIdeviceForm #cancelQuestion.question-button:focus {
    color: rgb(155, 139, 0);
    border-color: rgba(155, 139, 0);
    box-shadow: 0px 0px 5px rgba(155, 139, 0);
}

#formIdeviceForm .grid-container {
    display: grid;
    column-gap: 40px;
    row-gap: 30px;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
}

#formIdeviceForm .lang-option {
    display: flex;
    flex-direction: column;
}

#formIdeviceForm .lang-option label {
    font-weight: 700;
}

#formIdeviceForm #formPreview_buttonAddOption.question-button {
    color: var(--icon-gray);
    border-color: var(--elements-hover);
}

#formIdeviceForm #formPreview_buttonAddOption.question-button:hover {
    color: var(--dark-exe-color);
    border-color: var(--dark-exe-color);
    box-shadow: 0px 0px 5px var(--dark-exe-color);
}

#formIdeviceForm #formPreview_buttonAddOption.question-button:focus {
    color: var(--dark-exe-color);
    border-color: var(--dark-exe-color);
    box-shadow: 0px 0px 5px var(--dark-exe-color);
}

#formIdeviceForm #buttonshowhide.question-button {
    color: var(--icon-gray);
    border-color: var(--elements-hover);
}

#formIdeviceForm #buttonshowhide.question-button:hover {
    color: var(--dark-exe-color);
    border-color: var(--dark-exe-color);
    box-shadow: 0px 0px 5px var(--dark-exe-color);
}

#formIdeviceForm #buttonshowhide.question-button:focus {
    color: var(--dark-exe-color);
    border-color: var(--dark-exe-color);
    box-shadow: 0px 0px 5px var(--dark-exe-color);
}

#formIdeviceForm .FormViewContainer input.fillInput {
    margin: 6px 2px !important;
    max-width: 120px !important;
}

#formIdeviceForm .FormViewContainer select.dropdownSelect {
    margin: 6px 2px !important;
}

#formIdeviceForm .Games-Reportdiv {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2px;
}

#formIdeviceForm .GameModeHelpLink {
    margin: 0 2px;
    vertical-align: middle;
}

#formIdeviceForm .GameModeLabel {
    font-weight: normal
}

#formIdeviceFormTab2 p:first-child {
    margin-top: 0;
}

#formIdeviceFormTab2 {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

#formIdeviceFormTab2>* {
    flex: 0 0 48%;
}

#formIdeviceFormTab2> :first-child {
    flex: 0 0 100%;
}


@media screen and (max-width:720px) {
    #formIdeviceFormTab2>* {
        flex: 0 0 100%;
    }
}

#formIdeviceForm #formIdeviceFormTab2 label {
    display: block;
    margin-bottom: .2em;
    color:  #0BA1A1;
    font-weight: 500;
}

#formIdeviceForm #formIdeviceFormTab2 input {
    width: 100%;
}


/* Tabs (this should be common) */
.exe-form-tabs {
    margin: 0 0 1.5em 0;
    padding: 0;
    list-style: none
}

#main .exe-form-tabs li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
    display: inline
}

.exe-form-tabs li:first-child a {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

.exe-form-tabs li:last-child a {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.exe-form-tabs a {
    display: inline-block;
    padding: .5em 1em;
    border: 1px solid #CCC;
    background: #F9F9F9;
    color: #666
}

.exe-form-tabs li:not(:last-child) a {
    border-right: none;
}

.exe-form-tabs .exe-form-active-tab {
    color: #000;
    background: #FFF;
    font-weight: 500
}