@import url("https://marekipsos.gitlab.io/nfield-template/master_css.css");

@font-face {
  font-family: "Arial Narrow Bold";
  src: url("../fonts/Arial-Narrow.woff") format("woff"),
    url("../fonts/Arial-Narrow.woff2") format("woff2");
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.h1,
.h2,
.h3,
.h4 {
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif !important;
}

.ui-widget {
  font-family: Arial, Helvetica, sans-serif;
}

/*background-color*/

body {
  background-color: #f2f2f2;
}

.nn-grid-row .label {
  background-color: #f2f2f2;
}

.nn-grid-row .label:focus {
  background-color: #f2f2f2;
}

/*primary-color*/

#slideContainerOverflow:before {
  visibility: hidden;
}

.sliderContainer .touched.ui-slider .ui-slider-handle,
.sliderContainer .ui-slider .ui-slider-handle:hover {
  background-color: #405a9c;
  border-color: #405a9c;
}

.sliderContainer .ui-slider .ui-slider-handle:hover,
.sliderContainer .ui-slider .ui-slider-handle:focus {
  background-color: #405a9c;
}

.toggle {
  color: #00a79d;
}

.nn-grid-row .label:hover {
  background-color: #00a79d;
  color: #fff;
}

.totalSlider .slider .sliderProgress {
  background-color: #00a79d;
}

.totalSlider .input .character {
  color: #00a79d;
}

.totalSlider .input input {
  color: #00a79d;
}

.form-group.answered .form-control-feedback {
  color: #00a79d;
}

.ui-datepicker .ui-datepicker-current-day a {
  color: #00a79d !important;
  border: 2px solid #00a79d !important;
}

.ui-state-default:hover {
  color: #405a9c !important;
  border: 2px solid #405a9c !important;
}

a.ui-state-default.ui-state-highlight {
  color: #00a79d !important;
  border: 2px solid #00a79d !important;
}

input:focus {
  color: #00a79d !important;
  border-color: #00a79d !important;
}

textarea:focus {
  color: #00a79d !important;
  border-color: #00a79d !important;
}

.btn.btn-custom-action,
.btn.button-next {
  background-color: #00a79d;
  outline-color: #00a79d;
}

.toggle.selected,
.toggle.selected .label-inner,
.toggle.has-img.selected .label-inner,
.no-touch .toggle.has-img:hover .label-outer .label-inner,
.no-touch .toggle:hover,
.mobile .draggable-item .toggle:active {
  background: #00a79d;
  border-color: #00a79d;
  color: #fff;
}

.mobile .card-dragdrop .ui-accordion-header-active {
  background: #00a79d !important;
  border-color: #00a79d !important;
  color: #fff !important;
}

.no-touch .toggle.has-img:hover {
  outline: 5px solid #00a79d;
}

.card-dragdrop .mobile-drag-list::-webkit-scrollbar-thumb,
.card-dragdrop .mobile-drop-list .droppable-item .ui-accordion-content::-webkit-scrollbar-thumb {
  background: #00a79d;
}

#header {
  background: rgb(2, 0, 36);
  background: -moz-linear-gradient(90deg,
      rgba(2, 0, 36, 1) 0%,
      rgba(0, 37, 84, 1) 0%,
      rgba(64, 90, 156, 1) 100%);
  background: -webkit-linear-gradient(90deg,
      rgba(2, 0, 36, 1) 0%,
      rgba(0, 37, 84, 1) 0%,
      rgba(64, 90, 156, 1) 100%);
  background: linear-gradient(90deg,
      rgba(2, 0, 36, 1) 0%,
      rgba(0, 37, 84, 1) 0%,
      rgba(64, 90, 156, 1) 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#020024", endColorstr="#405a9c", GradientType=1);
}

/*label-text*/

.toggle:not(.is-selected) {
  /* font-size: 2.5vh;                               upravene 13.5.2021                      */
  font-size: 12px;
  /* upravene 31.5.2021 */
  color: #666666;
}

/*progressbar-color*/

#progressBar #progress {
  background: #00a79d;
}

#welcomeMsg h2 {
  color: #00a79d;
}

/*category-border-color*/

.toggle {
  border-color: #cccccc;
}

/*footer-background-color*/

#footer {
  background-color: #fff;
}

/*footer-border-color*/

#footer {
  border-color: #cccccc;
}

/*exclusive-color*/

.toggle.noneOfThese {
  background-color: #bfbfbf;
}

/*custom-button-color*/

[class*="button-user-"] {
  background-color: #f2f2f2;
  outline-color: #f2f2f2;
}

/*active-text*/

.nn-grid-row .answer.is-selected .label span,
.toggle.is-selected,
.toggle.is-selected span.input {
  /* font-size: 2.5vh;                               upravene 13.5.2021                      */
  font-size: 1.5rem;
  /* upravene 27.5.2021 */
  color: #ffffff;
  /* font-weight:bold;
    font-style:italic; */
  /* upravene 13.5.2021 */
}

/*instruction-text*/

.card>div>p {
  font-size: 1.5rem;
  /* upravene 13.5.2021 */
  color: #333333;
}

.sliderContainer .slider .legend .tick {
  font-size: 13px;
  width: 130px !important;
}

/* visible ticks slider - ipsos_made */

.visible_tick {
  display: revert !important;
}

/*secondary-color*/

.toggle.is-selected,
.toggle.is-selected:focus,
.nn-grid-row .label:focus {
  border-color: #00a79d;
  outline-color: #00a79d;
}

.nn-grid-row .answer.is-selected .label {
  background-color: #00a79d;
  outline-color: #00a79d;
}

/* slider color */

.sliderContainer .sliderProgress {
  background-color: #405a9c;
}

.sliderContainer .mobileSelect {
  display: none !important;
}

@media (max-width: 768px) {
  .sliderContainer .slider .legend .tick {
    display: none;
  }

  .sliderContainer .slider .legend .tick:first-child,
  .sliderContainer .slider .legend .tick:last-child {
    display: inline-block !important;
  }

  .sliderContainer.radioSlider .slider {
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 75% !important;
  }
}

.welcomeTitle h1 {
  color: #00a79d;
}

.starsContainer .ratingRow .ratingText .ic-check {
  color: #00a79d;
}

.nn-grid-row .question .ic-check {
  color: #00a79d;
}

.card-grid-horizontal .gridContainer .head td.active:after,
.card-grid-horizontal .gridContainer .head th.active:after {
  background-color: #00a79d;
}

.card-grid-horizontal .gridContainer td .category.is-selected .category-label,
.card-grid-horizontal .gridContainer td .category .category-label:hover {
  background-color: #00a79d;
}

.toggle.is-selected .label-inner,
.toggle.has-img.is-selected .label-inner,
.card-dragdrop .droparea-list .toggle {
  background: #00a79d;
  border-color: #00a79d;
  color: #fff;
}

.card-swipecards .movingLeft {
  color: #00a79d !important;
  border-color: #00a79d !important;
  outline: #00a79d !important;
}

.card-dragdrop .ui-draggable-dragging * {
  background-color: #00a79d;
}

.card-dragdrop .ui-draggable-dragging .toggle {
  background-color: #00a79d !important;
}

.no-touch .toggle.has-img:focus .label-outer .label-inner {
  background: #00a79d;
  border-color: #00a79d;
}

.no-touch .toggle.has-img:focus {
  outline: 5px solid #00a79d !important;
}

@media (max-width: 992px) {
  .card-grid-horizontal .matrix td:first-child p {
    color: #00a79d;
  }
}

@media (min-width: 992px) {

  ul.answers.cols-8 .toggle,
  ul.answers.cols-9 .toggle,
  ul.answers.cols-10 .toggle {
    padding-left: unset !important;
  }
}

/*question-text*/

h2 {
  /* font-size: 4.3vh;                               upravene 13.5.2021                     */
  /* font-size: 3vh;                               upravene 27.5.2021 */
  font-size: 22px !important;
  /*  upravene 31.5.2021 */
  color: #000000;
  font-weight: 400;
}

.h2 {
  font-size: 22px !important;
  /*  upravene 31.5.2021 */
  color: #000000;
  font-weight: 400;
}

#footerContent {
  display: flex;
  justify-content: space-between;
}

/*show-poweredby*/

#footerContent p.pull-middle {
  /* font-size: 2vh;                                 upravene 13.5.2021 */
  font-size: 1.5rem;
  /* upravene 31.5.2021 */
  color: #333;
  margin: auto;
}

#footerContent p.pull-right {
  /* font-size: 2vh;                                 upravene 13.5.2021 */
  font-size: 1.5rem;
  /* upravene 31.5.2021 */
  color: #333;
}

.toggle.is-selected {
  font-size: 12px !important;
  color: #ffffff;
}

/* scale slider smileys*/

*[data-scale_slider_ipsos] .slider-icons>img {
  width: 55px !important;
}

*[data-scale_slider_ipsos] .slider-icons>img:nth-child(1) {
  float: left;
  margin-left: -6px;
  margin-bottom: 7px;
}

*[data-scale_slider_ipsos] .slider-icons>img:nth-child(2) {
  float: right;
  margin-right: -6px;
  margin-bottom: 7px;
}

/* code css - FONT99 */

.style-99 {
  /* pouze pro ucely testovaciho projektu  CZ-Petr-QreBuilder_questions */
  font-family: monospace;
  background: #f0f0f0;
  padding: 5px;
  margin-top: 10px;
  font-size: 70%;
}

.h2>[class^="style"]:not(.style-511) {
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif !important;
  font-size: 22px !important;
}

.toggle.scale * {
  font-size: 14px !important;
}

/* numeric slider */

*[data-slider_ipsos] .slider img {
  width: 55px !important;
  height: 55px !important;
  position: relative;
}

*[data-ipsos_custom_sliderpics] .slider img {
  height: 70px !important;
  position: relative;
}

*[data-ipsos_custom_sliderpics] .slider .min img {
  left: -16px;
}

*[data-ipsos_custom_sliderpics] .slider .max img {
  right: -16px;
}

*[data-ipsos_custom_sliderpics] {
  margin-bottom: 40px;
}

*[data-slider_ipsos] .slider .min img {
  left: -16px;
}

*[data-slider_ipsos] .slider .max img {
  right: -16px;
}

*[data-slider_ipsos] .sliderContainer {
  margin-bottom: 55px !important;
}

/*show-left-logo*/

.logo.left {
  background-image: url("../../footer-logo-l.png");
  background-size: cover;
  height: 38px;
  width: 42px;
}

#footerContent img.pull-left {
  display: block;
}

/*show-right-logo*/

/* .logo.right {background-image: url("../../footer-logo-l.png"); background-size: cover; height: 38px; width: 42px}             
    #footerContent img.pull-right {display: block;} */

.nn-grid-row .label:focus {
  border: none !important;
}

@media (max-width: 768px) {
  #progressBar {
    top: 3vh !important;
    left: -15px;
    right: -15px;
    width: auto;
    bottom: auto !important;
  }

  #headerInner>h1 {
    display: none;
  }
}

@media (max-width: 480px) {

  /* .complete .user-button { */
  /* width: 90vw;                        predtym 85vw, upravene 13.5.2021 */
  /* } */
  .card {
    padding: 30px 15px !important;
  }

  /* oprava podbarvení u tlačítek Nevím, nechci odpovědět - ipsos_made */
  .complete .user-button {
    width: 50vw !important;
  }

  .toggle {
    padding: 10px 30px !important;
  }

  .toggle:not(.is-selected) {
    font-size: 2vh;
    /* upravene 31.5.2021 */
  }

  h2 {
    font-size: 2.5vh;
    /*  upravene 31.5.2021 */
    color: #000000;
    font-weight: 400;
  }
}

/* POPOVER ODSEKNUTIE SOLUTION BEGIN */

.popover-container {
  min-width: 0px !important;
  max-width: 60vw !important;
}

/* POPOVER ODSEKNUTIE SOLUTION END */

/* DEFAULT INSTRUCTION BEGIN */

.segment>p {
  color: #01579b !important;
}

/* DEFAULT INSTRUCTION END */

/* MATRIX FIX BEGIN */
/* *[data-ipsos_matrix_fix] .toggle.is-selected {
    color: #fff;
    border: 1px solid #f24f00 !important;
    background: #f24f00 !important;
}

*[data-ipsos_matrix_fix] .label:hover {
    background-color: #f24f00 !important;
}

*[data-ipsos_matrix_fix] .answer.is-selected .label {
    background-color: #f24f00 !important;
    color: #fff;
} */

/*active-text*/
*[data-ipsos_matrix_fix] .answer.is-selected .label span,
*[data-ipsos_matrix_fix] .toggle.is-selected,
*[data-ipsos_matrix_fix] .toggle.is-selected span.input {
  font-size: 12px;
  color: #ffffff;
  /* font-weight: bold; */
  /* font-style: italic; */
}

*[data-ipsos_matrix_fix] .toggle:focus {
  outline: none !important;
}

*[data-ipsos_matrix_fix] .no-touch .toggle.has-img:focus {
  outline: none !important;
}

@media (max-width: 768px) {
  /* #activeCard {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        padding-top: 5vh !important;
    } */

  *[data-ipsos_matrix_fix] .segment .active .answers-6 {
    height: 70vh !important;
  }

  *[data-ipsos_matrix_fix] .label {
    height: 7vh !important;
  }
}

@media (max-width: 980px) {

  *[data-ipsos_matrix_fix] ul.answers.cols-2 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-3 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-4 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-5 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-6 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-7 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-8 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-9 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-10 li {
    width: 50% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  *[data-ipsos_matrix_fix] .toggle.has-img .label-outer .label-inner {
    padding-left: 0 !important;
    padding: 5px !important;
    text-align: center !important;
  }

  *[data-ipsos_matrix_fix] .toggle.has-img .label-outer .label-inner span.input {
    display: none !important;
  }

  *[data-ipsos_matrix_fix] .style-0 {
    word-break: break-all !important;
  }
}

@media (max-width: 500px) {

  *[data-ipsos_matrix_fix] ul.answers.cols-2 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-3 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-4 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-5 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-6 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-7 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-8 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-9 li,
  *[data-ipsos_matrix_fix] ul.answers.cols-10 li {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  *[data-ipsos_matrix_fix] .toggle.has-img .label-outer .label-inner {
    padding-left: 0 !important;
    padding: 5px !important;
    text-align: center !important;
  }

  *[data-ipsos_matrix_fix] .toggle.has-img .label-outer .label-inner span.input {
    display: none !important;
  }

  *[data-ipsos_matrix_fix] .style-0 {
    word-break: break-all !important;
  }
}

*[data-ipsos_matrix_fix] .input {
  display: none !important;
}

*[data-ipsos_matrix_fix] .toggle.has-img.is-selected {
  padding-bottom: 0 !important;
}

*[data-ipsos_matrix_fix] .toggle.has-img {
  padding-bottom: 0 !important;
}

*[data-ipsos_matrix_fix] .toggle {
  display: block !important;
}

/* MATRIX FIX END */

/* SUMSLIDER HIDDEN BEGIN */
*[data-ipsos_sumslider_hidden] .sliderContainer .input {
  padding-left: 0 !important;
}

*[data-ipsos_sumslider_hidden] .sliderContainer .slider {
  display: none;
}

/* SUMSLIDER HIDDEN END */

/* TABLE ROW TEXT INPUT CENTER BEGIN */
*[data-ipsos_input_center] tr {
  text-align: center;
}

/* TABLE ROW TEXT INPUT CENTER END */

/* TEXT AREA SMALL BEGIN */
*[data-ipsos_textarea_small] textarea:focus {
  height: 32px;
  font-size: unset;
}

/* TEXT AREA SMALL END */

/* IPSOS MATRIX SCALE START  */
@media (min-width: 500px) {
  *[data-ipsos_matrix_scale] .answer-holder {
    width: 100%;
    float: none;
    display: flex;
  }

  *[data-ipsos_matrix_scale] .question {
    width: 100%;
    float: none;
    height: 40px;
    display: block;
  }

  *[data-ipsos_matrix_scale] {
    display: table;
    margin-bottom: 10px;
    width: 100%;
    border-bottom: 0;
    padding-bottom: 15px;
  }

  *[data-ipsos_matrix_scale] .answer {
    display: flex;
  }

  *[data-ipsos_matrix_scale] .answer .label {
    height: 85px;
    padding: 3px;
    font-size: 0.85em;
    justify-content: center;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  *[data-ipsos_matrix_scale] .answer .label:hover {
    transform: scale(1, 1);
  }
}

/* IPSOS MATRIX SCALE END  */


.style-511 {
  font-size: 22px !important;
}

@media only screen and (max-width: 768px) {
  .style-511 {
    font-size: 15pt !important;
  }
}