.survey .sub-header {
  background: #eee;
  padding: 10px;
}

.survey .module-section .lbl {
  font-size: 20px;
}

.survey .module-section .title {
  color: #e30613;
}

.survey {
  background: #f7f7f7;
  padding: 0 20px;
  overflow: auto;
}

.survey.mobile {
  padding: 0 10px;
}

.survey .section-name {
  margin: 10px -20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  background: white;
  margin-top: 0;
}

.survey.mobile .section-name {
  margin: 0 -10px;
}

.survey-row .red {
  color: #d00000;
}

.survey-row .green {
  color: #25ba42;
}

.survey-row .survey-action {
  text-align: right;
  max-width: 67px;
}

.survey-row .survey-legend>div {
  margin-right: 10px;
  font-size: 11px;
  color: gray;
}

.survey .filter-user input {
  margin: 0 10px;
}

.survey .survey-legend.mobile {
  font-size: 11px;
  margin: 10px 0;
}

.survey .survey-legend.mobile .lgd {
  text-align: left;
}

.survey .survey-legend .lgd {
  text-align: right;
}

.survey .survey-legend .lgd .vrai {
  color: #00e2a5;
}

.survey .survey-legend .lgd .faux {
  color: #de0000;
}

.survey .survey-legend .lgd .a0 {
  color: #99ccff;
}

.survey .survey-legend .lgd .a1 {
  color: #00ccff;
}

.survey .survey-legend .lgd .a2 {
  color: #337bff;
}

.survey .survey-legend .lgd .a3 {
  color: #365999;
}

.survey-card-holder {
  min-width: 150px;
  flex-basis: 400px !important;
  -webkit-box-flex: 1 !important;
  -webkit-flex-grow: 1 !important;
  -ms-flex-positive: 1 !important;
  flex-grow: 1 !important;
  -webkit-flex-basis: 400px !important;
  -ms-flex-preferred-size: 400px !important;
  flex-basis: 400px !important;
  max-width: 100% !important;
}

@media (min-width: 400px) {
  .survey-card-holder {
    max-width: 100% !important;
  }
}

@media (min-width: 800px) {
  .survey-card-holder {
    max-width: 50% !important;
  }
}

@media (min-width: 1200px) {
  .survey-card-holder {
    max-width: 33.33333% !important;
  }
}

@media (min-width: 1600px) {
  .survey-card-holder {
    max-width: 25% !important;
  }
}

@media (min-width: 2000px) {
  .survey-card-holder {
    max-width: 20% !important;
  }
}

/*.survey-card-holder:last-child{
	width: 100%;
	min-width: 100%;
    }*/
.safari .survey-card-holder {
  min-width: 400px;
}

/*.safari .survey-card-holder:last-child{
	display: block !important;
	@include flex-wrap-fix(1200px);
    }*/
/*.survey-card-holder:last-child .survey-card .card-footer{
	display:none;
    }*/
.survey-card {
  background: #fff;
  box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.28);
  margin: 10px;
  border-radius: 3px;
  overflow: hidden;
}

.survey-card .card-title {
  font-size: 14px;
  background: #e30613;
  color: #ffffff;
  text-align: center;
  padding: 5px;
}

.survey-card .card-content {
  padding: 10px;
}

.survey-card .card-content .response-container {
  float: left;
  margin: 0 5px 5px 0;
}

.survey-card .card-content .response-container .text {
  font-size: 12px;
  background: #eee;
  padding: 5px;
  min-height: 20px;
}

.survey-card .card-content .response {
  min-width: 30px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background: #000;
}

.survey-card .card-content .response.vrai {
  background: #00e2a5;
}

.survey-card .card-content .response.faux {
  background: #de0000;
}

.survey-card .card-content .response.a0 {
  background: #99ccff;
}

.survey-card .card-content .response.a1 {
  background: #00ccff;
}

.survey-card .card-content .response.a2 {
  background: #337bff;
}

.survey-card .card-content .response.a3 {
  background: #365999;
}

.survey-card .card-content .response.open {
  border-radius: 0;
  background: #f7941e;
}

.survey-card .card-footer {
  padding: 10px;
  border-top: 1px solid #eee;
  color: #fff;
}

.survey-card .card-footer .decision {
  font-size: 12px;
  font-weight: bold;
}

.survey-card .card-footer .decision.ok {
  color: #e30613;
}

.survey-card .card-footer .decision.notok {
  color: #d00;
}

.survey-user {
  font-size: 12px;
  font-weight: bold;
  margin: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  padding: 5px;
}

.survey-user i {
  color: #e30613;
  margin-right: 6px;
}

.survey .upload-area {
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #eee;
}

.survey .upload-area .tips {
  color: #e30613;
  font-size: 14px;
  margin: 10px 0;
  text-align: center;
}

.survey .upload-csv {
  border: 2px dashed #e30613;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  color: #949494;
  transition: All 0.2s ease;
  -webkit-transition: All 0.2s ease;
  -ms-transition: All 0.2s ease;
}

.survey .upload-csv.dz-drag-hover {
  background: #e30613;
  color: #ffffff;
  border-color: #ffffff;
}

.survey .filter-user .icon-search {
  color: #e30613;
  font-size: 24px;
  cursor: pointer;
}

.gradebook {
  padding: 20px;
}

.gradebook .sub-header {
  background: #fff;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.gradebook .sub-header .secondary {
  min-width: 250px;
  max-width: 250px;
}

.gradebook .primary {
  padding-right: 10px;
}

.gradebook .sub-header .label {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

.gradebook .sub-header .label a {
  color: #e30613;
  font-size: 24px;
  cursor: pointer;
  text-decoration: none;
  margin-right: 10px;
}

.gradebook .sub-header .label span {
  text-transform: lowercase;
}

.gradebook .sub-header .title {
  font-size: 18px;
}

.gradebook .table-details.grid {
  text-align: center;
}

.gradebook .table-details.grid th {
  text-align: center;
}

.gradebook .table-details.grid tr th:nth-child(n+2):nth-child(odd) {
  /* background:darken($primary-color,5%);*/
  /* border-right-width:1px;*/
  /* border-right-color:darken($primary-color,5%);*/
}

.gradebook .table-details.grid tr th.sub-th:nth-child(n+2):nth-child(odd) {
  /* background:$primary-color;*/
}

.gradebook .table-details.grid tr:nth-child(2) th:nth-child(n+1) {
  /* background:darken($primary-color,3%)*/
}

.gradebook .table-details table tr:nth-child(odd) {
  background: #fff;
}

.gradebook .table-details table tr td.left {
  text-align: left;
}

.gradebook .table-details table tr td {
  border: 1px solid #eee;
}

.gradebook-card-holder {
  min-width: 350px;
}

.gradebook-card-container {
  background: #f7f7f7;
  overflow-y: auto;
  overflow-x: hidden;
}

.safari .gradebook-card-holder {
  min-width: 400px;
}

.gradebook-card {
  background: #fff;
  box-shadow: 1px 1px 5px -1px rgba(0, 0, 0, 0.28);
  margin: 10px;
  border-radius: 3px;
  /*overflow:hidden;*/
}

.gradebook-card .card-title {
  font-size: 14px;
  background: #e30613;
  color: #ffffff;
  text-align: center;
  padding: 5px;
}

.gradebook-card .card-content {
  padding: 10px;
}

.gradebook .card-content i {
  color: #e30613;
  font-size: 16px;
  margin: 0 5px;
  cursor: pointer;
}

.gradebook .card-content i.icon-warning {
  color: #ff9800;
}

.gradebook-card .card-content .response-container {
  margin: 0 5px 5px 0;
}

.gradebook-card .card-content .response-container .comp-score {
  color: #e30613;
  padding: 0 5px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  min-width: 16px;
  min-height: 18px;
  text-align: center;
  border: 1px solid #ddd;
}

.gradebook-card .card-content .response-container pre.comp-score,
.gradebook-card .card-content .response-container pre.comp-score.comment {
  margin: 0;
  white-space: pre-line;
}

.gradebook-card .card-content .response-container .comp-score.comment {
  text-align: left;
  border: none;
}

.gradebook-card .card-content .response-container .comp-score.not-valid {
  border-color: #ff9898;
}

.gradebook-card .card-content .response-container .text {
  font-size: 12px;
  background: #eee;
  padding: 5px;
  min-height: 20px;
}

.gradebook-card .card-content .response {
  min-width: 30px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  background: #000;
}

.gradebook-card .card-content .response.open {
  border-radius: 0;
  background: #f7941e;
}

.gradebook-card .card-footer {
  padding: 10px;
  border-top: 1px solid #eee;
  color: #fff;
}

.gradebook-card .card-footer .score-total {
  background: #e30613;
  color: #ffffff;
  text-align: center;
  border-radius: 3px;
  padding: 3px;
  font-size: 14px;
  font-weight: 600;
  min-width: 19px;
}

.gradebook-card .card-footer .decision {
  font-size: 12px;
  font-weight: bold;
}

.gradebook-card .card-footer .decision.ok {
  color: #e30613;
}

.gradebook-card .card-footer .decision.notok {
  color: #353535;
}

.gradebook .grades.border {
  border: 1px solid #eee;
  border-radius: 3px;
}

.grades .table-details.grade {
  margin: 0 -10px;
}

.grades .table-details.grade .bold {
  font-weight: 600;
}

.grades .table-details table thead th,
.sub-th {
  border: 1px solid #eee;
  color: #3d3d3d;
  background: #f7f7f7;
}

.grades .sub-grades-panel {
  background: #f7f7f7;
  border-radius: 3px;
  margin: 10px 0;
}

.grades .sub-grades-container {
  font-size: 14px;
  color: #7d7d7d;
  margin: 0;
  padding: 5px 10px 5px 20px;
  padding-right: 0;
  border-radius: 2px;
  position: relative;
}

.grades .sub-grades-container .comp-label {
  font-size: 12px;
  color: #2d2d2d;
}

.grades .sub-grades-container:before {
  content: '';
  display: block;
  position: absolute;
  left: 6px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: #a5a5a5;
}

.grades input[type="date"] {
  background: none;
  border: none;
  border-bottom: 1px solid #a8afbb;
  border-radius: 0;
  padding: 4px;
}

.grades .quest-list {
  font-size: 14px;
}

.grades .quest-list i {
  font-size: 24px;
  color: #e30613;
  cursor: pointer;
}

.grades .quest-list .element {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.grades .quest-list .element.is-locked {
  opacity: 0.3;
  cursor: not-allowed !important;
}

.scaled .section-name {
  border-top: none;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

s .gradebook .left-side {
  border-right: 1px solid #eee;
  min-width: 300px;
  max-width: 300px;
}

.gradebook .left-side .title-bloc {
  font-size: 14px;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  background: #f7f7f7;
}

.gradebook .left-side .widget {
  border: none;
  width: 300px;
}

.gradebook .left-side .title-bloc i {
  cursor: pointer;
  font-size: 20px;
}

.gradebook .left-side .title-bloc i:hover {
  color: #e30613;
}

.gradebook .table-details {
  margin: 0;
}

.gradebook .widget {
  margin: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.gradebook .widget .table-details {
  margin: 0;
}

.gradebook .send-invit {
  position: relative;
  margin-left: 10px;
  cursor: pointer;
}

.gradebook .send-invit:hover span {
  -webkit-transform: scale3D(1.2, 1.2, 1.2);
  transform: scale3D(1.2, 1.2, 1.2);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.gradebook .send-invit span {
  position: absolute;
  top: -3px;
  right: -7px;
  width: 15px;
  height: 15px;
  background: #353535;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  color: #ffffff;
  text-align: center;
  line-height: 15px;
  transition: transform 0.1s ease;
  -webkit-transition: transform 0.1s ease;
}

.gradebook .sub-header [select-behavior] .option a {
  text-decoration: none;
  color: #3d3d3d;
  font-size: 14px;
}

.gradebook .select-container {
  /* margin: 10px !important;
  margin-left: 0 !important; */
  background: #f7f7f7;
  height: 35px;
}

.gradebook .in-progress {
  animation: rotaty 0.5s infinite;
  transform-origin: 50%;
}

@keyframes rotaty {
  to {
    transform: rotate(-360deg);
  }
}

.gradebook .filter-head {
  min-height: 60px;
  z-index: 2;
}

.gradebook .output-demand {
  padding: 10px;
}

.gradebook .output-demand .btn {
  box-shadow: 1px 2px 6px -2px rgba(0, 0, 0, 0.74);
}

.gradebook .popup-question {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
}

.gradebook .popup-question h1 {
  font-size: 25px;
  font-weight: normal;
  color: #e30613;
  margin-bottom: 1em;
}

.gradebook .popup-question p {
  width: 500px;
  margin: 10px auto;
  margin-bottom: 1em;
}

.gradebook .popup-question p b {
  color: #e30613;
  font-weight: bold;
}

.gradebook .popup-question i {
  font-size: 50px;
  color: #e30613;
}

.gradebook .popup-question .popup-button {
  width: 500px;
}

.gradebook .popup-question .popup-button .btn {
  margin-right: 5px;
}

.gradebook .v-divider {
  height: 22px;
  width: 2px;
  background: #eee;
  margin: 0 8px;
}

.gradebook.mobile {
  width: 100%;
  box-sizing: border-box;
}

.gradebook.mobile .left-side {
  max-width: 100%;
}

.gradebook.mobile .hd-gen {
  overflow: auto;
}

.gradebook.mobile .select-container {
  margin: 10px 0 !important;
}

.gradebook .input-note-date>div:first-child {
  max-width: 50px;
  margin-right: 10px;
}

.gradebook .input-note-date>div:first-child input {
  width: 100%;
}

@media handheld,
only screen and (max-width: 768px),
only screen and (max-device-width: 768px) {
  .gradebook .grades.border {
    display: block;
  }

  .gradebook .left-side {
    max-width: 100%;
  }

  .gradebook.container {
    display: block !important;
  }

  .gradebook .filter-head {
    display: block !important;
  }
}

.icon-paper.icon-paper-disabled,
.icon-paper-disabled {
  color: #7d7d7d !important;
  cursor: none !important;
}

.gradebook .activate-user input[type="checkbox"] {
  height: 0;
  width: 0;
  visibility: hidden;
  position: absolute;
}

.gradebook .activate-user label {
  cursor: pointer;
  text-indent: -9999px;
  width: 22px;
  height: 14px;
  background: grey;
  display: block;
  border-radius: 13px;
  position: relative;
}

.gradebook .activate-user label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.gradebook .activate-user .switch-checkbox.checked {
  background: #21ba45;
}

.gradebook .activate-user .switch-checkbox.checked:after {
  left: calc(100% - 3px);
  transform: translateX(-100%);
}

.gradebook .activate-user .switch-checkbox.processing:after {
  animation: 1s infinite rotateBorder;
  -webkit-animation: 1s infinite rotateBorder;
  box-sizing: border-box;
  left: 13px;
}

.gradebook .activate-user .switch-checkbox.activated {
  background: #21ba45;
}

.gradebook .activate-user .switch-checkbox.activated:after {
  left: calc(75% - 3px);
  transform: translateX(-100%);
}

.gradebook .activate-user .switch-checkbox.programing {
  background: #006fb7;
}

.gradebook .activate-user .switch-checkbox.programing:after {
  left: calc(100% - 3px);
  transform: translateX(-100%);
}

@keyframes rotateBorder {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(0.5);
  }

  50% {
    transform: scale(0.8);
  }

  75% {
    transform: scale(0.4);
  }

  100% {
    transform: scale(1);
  }
}

.input--type_date {
  font-size: 15px !important;
  height: 25px !important;
  border: none !important;
  padding: 10px !important;
  min-width: 110px !important;
  margin: 10px !important;
  margin-left: 0 !important;
  background: #f7f7f7 !important;
}

.gradebook .error {
  color: red;
  font-weight: bold;
}

@media only screen and (max-width: 600px) {
  .gradebook .left-side .widget {
    width: 100%;
    margin: 0;
  }
  .gradebook.mobile .left-side {
    margin-bottom: 10px;
}
  .safari .gradebook-card-holder {
    width: 100%;
    min-width: 100%;
  }
  .safari .gradebook-card-holder .gradebook-card {
    margin: 0;
  }
}