/* 
 * UNIPLUS Evaluation Plugin 
 * Style für UNIPLUS Base Theme
 */


/* ============ Color settings ============ */

.uni-eval-evaluation {
   color: var(--text_color_dark);
}

.uni-eval-question .headline {
  background-color: var(--primary_color_2);
  color: var(--text_color_light);
}

.uni-eval-question-number {
  background-color: var(--secondary_color_2);
  
}

.uni-eval-question-helptext {
  background-color: var(--primary_color_2_lighter);
  color: white;
}

.uni-eval-question .qcontent {
  background-color: var(--primary_color_1);
}

/* Questions > Table */
.uni-eval-question table tr:nth-of-type(even) {
  background-color: var(--primary_color_1_darker);
}
.uni-eval-question table.striped_odd tr:nth-of-type(odd) {
  background-color: var(--primary_color_1_darker);
}
.uni-eval-question table.striped_odd tr:nth-of-type(even) {
  background-color: var(--primary_color_1);
}

.uni-eval-question table.repeat_captions tr:nth-of-type(4n+1), .uni-eval-question table.repeat_captions tr:nth-of-type(4n+2) {
  background-color: var(--primary_color_1_darker);
}
.uni-eval-question table.repeat_captions tr:nth-of-type(4n+3), .uni-eval-question table.repeat_captions tr:nth-of-type(4n+4) {
  background-color: var(--primary_color_1);
}

.seperate_right_column th:last-child, .seperate_right_column td:last-child {
  border-left: 2px solid var(--text_color_dark);
}


/* Question-Type: Sum */
.uni-eval-question.sum tr:nth-of-type(odd) {
  background-color: var(--primary_color_1_darker);
}
.uni-eval-question.sum tr:last-of-type {
  border-top: 2px solid var(--text_color_dark);
}


/* Question-Type: Constsum */
.uni-eval-question.constsum tr:nth-of-type(odd) {
  background-color: var(--primary_color_1_darker);
}
.uni-eval-question.constsum tr:nth-last-of-type(2) {
  border-top: 2px solid var(--text_color_dark);
}


/* Question-Type: Grades */
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+1), 
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+2),
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+3) {
    background-color: var(--primary_color_1_darker);
}
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+4), 
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+5),
.uni-eval-question.grades.uni-eval-mobile table tr:nth-of-type(6n+6) {
    background-color: var(--primary_color_1);
}

/* Question-Type: Grades 1-5 */
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+1), 
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+2),
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+3) {
    background-color: var(--primary_color_1_darker);
}
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+4), 
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+5),
.uni-eval-question.grades1to5.uni-eval-mobile table tr:nth-of-type(6n+6) {
    background-color: var(--primary_color_1);
}

/* Question-Type: Grades 1-4*/
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+1), 
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+2),
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+3) {
    background-color: var(--primary_color_1_darker);
}
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+4), 
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+5),
.uni-eval-question.grades1to4.uni-eval-mobile table tr:nth-of-type(6n+6) {
    background-color: var(--primary_color_1);
}


/* --------- Classes --------- */

/* Errors */
.invalid {
  box-shadow: 0px 0px 2px 1px red;
}
.invalid_inset {
  box-shadow: inset 0px 0px 2px 1px red;
}
.error_message {
  border: 2px solid red;
}

/* Mandatory */
.mandatory_marker {
  color: var(--secondary_color_2);
}


/* ============ Overwrite Settings ============ */
/* .uni-eval-question input {
  margin: 0;
}
.uni-eval-question label {
  display: inline;
}
.uni-eval-question output {
  display: inline;
}
.uni-eval-question.sum input[type="number"],
.uni-eval-question.constsum input[type="number"] {
  width: unset;
} */
/* input[type="text"], input[type="email"], input[type="url"], 
input[type="password"], input[type="search"], input[type="number"], 
input[type="tel"], input[type="range"], input[type="date"], 
input[type="month"], input[type="week"], input[type="time"], 
input[type="datetime"], input[type="datetime-local"], input[type="color"], 
textarea {
   border-radius: 0;
} */