@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Raleway:300,400,700|Roboto:300,400,700');
.wrapper.alt1 { margin-bottom: -129px }
.push.alt1    { height: 100px }



.survey-title {   
   padding: 15px 0;
}
.survey-title h1 {
   padding: 10px 0;
   text-align: left;
   font-weight: 300 !important;
}

.t_language_form {
   right: 10%;
   top: 12px;
   border: 2px solid #555;
   padding-top: 10px;
   padding-bottom: 10px; 
   border-radius: 4px;
   display: inline-block;
   cursor: pointer;
   overflow: hidden;
   background-color: #FFF;
}
.t_language_form:after {
   content: "";
   position: absolute;
   top: 50%;
   right: 10px;
   width: 6px;
   height: 6px; 
   display: inline-block;
   border: solid #555;
   border-width: 0 3px 3px 0;
   margin-top: -2px;
   pointer-events: none;
   transform: translateY(-50%) rotate(45deg);
   -webkit-transform: translateY(-50%) rotate(45deg);
   -moz-transform: translateY(-50%) rotate(45deg); 
}
.t_language_form select {
   outline: none;
   display: block;
   padding: 10px inherit;
   border: none;
   font-size: 16px;
   cursor: pointer;
   background-color: transparent;
   -webkit-appearance: none;
   -moz-appearance: none;
   -ms-appearance: none;
}
.t_language_form select::-ms-expand { display: none; }

.t_language_form select,
ul.t_language_form { 
   padding-right: 35px;
   padding-left: 15px;
   margin: 0; 
   font-weight: 700 !important;
}
ul.t_language_form {
    background-color: #333;
    border-color: #222;
    padding-top: 8px;
    padding-bottom: 8px; 
}
ul.t_language_form:after {
    top: 21px;
    border-color: #FFF;
    pointer-events: none;
}
ul.t_language_form li * {
    font-size: 16px;
    font-weight: 700;
    padding-left: 0;
    padding-right: 0;
}
ul.t_language_form li span { text-decoration: none; }

.page { padding-bottom: 60px; }
.question {
   background: transparent;
   padding-bottom: 1em;
}
.page-title {
   padding-top: 10px;
   padding-bottom: 10px;
}
.page-title h2 {
    font-weight: 300 !important;
    padding: 10px 0;
}
.page-description {
    margin-top: 15px;
    margin-bottom: 15px;
}
.page-description,
.q_titulo {
   font-weight: 300 !important;
   line-height: 1.7em;
}
.question-title h4 {
   font-weight: 300 !important;
}
/*========================================
===>  Elementos del pié de pagina
========================================*/
.main-footer {
   background-color:#DDD;
   border-top: none;
   position: relative;
   box-shadow: none;
}
.main-footer.alt1 {
   height: auto !important;
}
.main-footer > .container {
   padding-top: 10px;
   padding-bottom: 10px;
   overflow: hidden
}
.progress-container {
    font-weight: 400;
    color: #222;
    font-size: 13px;
    text-transform: uppercase;
    margin: 30px 0;
}
.progress-container .progress {
    height: 8px;
    padding: 3px;
}
.progress-container .progress,
.progress-container .progress .progress-bar {
    border-radius: 30px;
 }
.main-footer .progress-container {
    width: 50%;
    max-width: 550px;
    margin: 0
 }
.powered-by-container {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   padding: 10px 0;
   margin-bottom: -68px;
   background: #333;
}
.powered-by-container a {
   color: #fff;
   -webkit-transition: color 0.35s ease-in-out;
   -moz-transition: color 0.35s ease-in-out;
   transition: color 0.35s ease-in-out;
}
.powered-by-container a:hover,
.powered-by-container a:active {
   color: #AAA;
}
.powered-by-container a::before {
   content: "Desarrollado por";
   font-size: 10px;
   color: #AAA;
   display: block;
   padding-bottom: 6px;
}
.btn {
   padding: 10px 15px;
   position: relative;
   overflow: hidden;
   outline: none !important;
   -webkit-transition: 0.25s linear;;
   -moz-transition: 0.25s linear;;
   transition: 0.25s linear;;
}
.btn-nav {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    box-shadow: none;
}
.btn-back {
   background-color: #999;
}
.btn-continue,
.btn-back {
   z-index: 1;
}
.btn-continue::before,
.btn-back::before {
   content: "";
   width: 0;
   height: 0;
   border-radius: 100%;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   -webkit-transition:  all 0.1s ease;
   -moz-transition:  all 0.1s ease;
   transition:  all 0.1s ease;
   z-index: -1;
}
.btn-continue::before { background-color: inherit; -webkit-filter: brightness(70%); filter: brightness(80%) }
.btn-back::before     { background-color: #777 !important; }
.btn-continue:hover   { -webkit-filter: brightness(80%); filter: brightness(80%) }
.btn-back:hover       { background-color: #868383; }
.btn-continue:active::before,
.btn-back:active::before {
   width: 145px;
   height: 145px;
}

/*========================================
===>  Ajuste de propiedades para tablas
========================================*/
.question-answers > table > thead > tr > th,
.question-answers > tbody > thead > tr > th {
   font-weight: 400 !important;
}
.question-answers > table > tbody > tr > td {
   padding: 10px 0;
   border-top-width: 2px;
}
.question-answers > table label img {
   width: 100%;
   height: auto;
}
table.matrix > tbody > tr > td {
   padding-left: 5px;
   padding-right: 5px;
}
table.matrix > tbody > tr > th, 
table.matrix > tbody > tr > td {
   border-top: 2px solid #DDD;
   font-weight: 400 !important;
}

/*========================================
===>  Campos de formulario
========================================*/
.question-answers select, 
.question-answers textarea, 
.question-answers input[type="text"], 
.question-answers input[type="datetime"], 
.question-answers input[type="datetime-local"], 
.question-answers input[type="date"], 
.question-answers input[type="time"], 
.question-answers input[type="number"], 
.question-answers input[type="email"] {
    font-family: "Roboto", sans-serif !important;
    font-weight: 300;
    height: 45px;
    border: 1px solid #CCC !important;
    box-shadow: none;
    outline: none;
}
.question-answers textarea { height: inherit !important}
.question-answers select   { cursor: pointer; position: relative;}

.question-answers select:focus, 
.question-answers textarea:focus, 
.question-answers input[type="text"]:focus, 
.question-answers input[type="datetime"]:focus, 
.question-answers input[type="datetime-local"]:focus, 
.question-answers input[type="date"]:focus, 
.question-answers input[type="time"]:focus, 
.question-answers input[type="number"]:focus, 
.question-answers input[type="email"]:focus { 
    border-color: #3498DB !important; 
}

.question-answers select.option-others-details, 
.question-answers textarea.option-others-details, 
.question-answers input[type="text"].option-others-details, 
.question-answers input[type="datetime"].option-others-details, 
.question-answers input[type="datetime-local"].option-others-details, 
.question-answers input[type="date"].option-others-details, 
.question-answers input[type="time"].option-others-details, 
.question-answers input[type="number"].option-others-details, 
.question-answers input[type="email"].option-others-details {
    width: 50% !important;
    font-size: 16px;
    margin-left: 20px;
}
.question-answers input + .selector-circle:before, 
.question-answers input + .selector-box:before {
    border-width: 1px;
}

.question-answers ol li {
   margin-bottom: 5px;
}
.question-answers ol li input {
    margin-bottom: 10px;
}
.question-answers .selectable {
   font-size: 18px;
   font-weight: 300 !important;
   margin-left: -15px;
   padding-left: 15px;
   color: #333 !important;
   -webkit-transition: background 0.25s ease-in-out;
   -moz-transition: background 0.25s ease-in-out;
   transition: background 0.25s ease-in-out;
}
.question-answers .selectable img {
   display: inline-block;
   margin-right: 10px;
}

/*========================================
===>  Campos de selección
========================================*/
.question-answers input + .selector-circle::before, 
.question-answers input + .selector-box::before,
.question-answers input:checked + .selector-box::after {
   border-color: #3498db;
}
.question-answers input + .selector-circle::after {
    background-color: #3498db;
 }
.question-answers input:checked + .selector-box::before {
   background-color: transparent;
}
.question-answers input:checked + .selector-box::after {
   width: 6px;
   height: 15px;
   top: 4px;
   left: 17px;
}
.question-answers input + .selector-circle::before, 
.question-answers input + .selector-box::before, 
.question-answers input + .selector-circle::after, 
.question-answers input + .selector-box::after {
    box-shadow: none !important;
}

/*========================================
===>  Ajuste de elementos independientes
========================================*/
.question-answers > img {
   width: 80%;
   max-width: 550px;
   height: auto;
   display: block;
   margin: 0 auto;
}
/*========================================
===>  Pregunta NPS Horizonatal
========================================*/
.question-type-nps label {
   font-weight: 700;
   color: #308ECC !important;
   border-color: #308ECC !important;
   padding-top: 6px;
   padding-bottom: 6px;
   position: relative;
   z-index: 2;
   overflow: hidden
}
.question-type-nps input[type="radio"] + label::after {
   content: "";
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0;
   height: 0;
   transform: translate(-50%,-50%);
   -webkit-transition: 0.15s linear;
   -moz-transition: 0.15s linear;
   transition: 0.15s linear;
   z-index: 1;
   opacity: 0;
}
.question-type-nps input[type="radio"]:checked + label::after {
   background-color: #308EDB !important;
   width: 101%;
   height: 105%;
   z-index: -1;
   opacity: 1;
}
.question-type-nps input[type="radio"]:checked + label {
   background-color: transparent !important;
   color: #FFF !important;
}
/*================================================
===>  Ordenación de elementos - question_type_18
=================================================*/
ul.q_sortable {
   padding-left: 60px;
   padding-right: 60px;
}
ul.q_sortable li {
   padding: 5px 10px;
   border-width: 1px;
   border-color: #555;
   border-radius: 4px;
   margin: 0 0 15px 0;
}
ul.q_sortable li:last-child {
   margin-bottom: 0;
}
/*================================================
===>  Campo de tipo rango - question_type_19
=================================================*/
.answer-range {
   font-size: 18px;
   font-weight: 300;
   width: 100%;
   margin: 0 0 5px 0;
   display: block !important;
   overflow: hidden;
}
.answer-range:last-child {
   margin-bottom: 0;
}
.answer-range label {
   width: 25%;
   margin-right: 15px;
   display: block;
   float: left
}
.answer-range .q_range_output {
   font-size: 20px;
   font-weight: 700;
   padding-left: 15px;
   display: block ;
   float: left
}
.answer-range input[type=range] {
   -webkit-appearance: none;
   border: 1px solid #fff;
   width: 300px;
   height: 22px;
   display: block;
   float: left;
   padding: 0;
}
.answer-range input[type=range]:focus {
   outline: none;
}
/* Google Chrome */
.answer-range input[type=range]::-webkit-slider-runnable-track {
   width: 300px;
   height: 5px;
   background-color: #ddd;
   border: none;
   border-radius: 3px;
}
.answer-range input[type=range]::-webkit-slider-thumb {
   -webkit-appearance: none;
   border: none;
   height: 16px;
   width: 16px;
   border-radius: 50%;
   background-color: #308EDB;
   margin-top: -6px;
}
.answer-range input[type=range]:focus::-webkit-slider-runnable-track {
   background-color: #ccc;
}
/* Mozilla Firefox */
.answer-range input[type=range]::-moz-range-track {
   width: 300px;
   height: 5px;
   background-color: #ddd;
   border: none;
   border-radius: 3px;
}
.answer-range input[type=range]::-moz-range-thumb {
   border: none;
   height: 16px;
   width: 16px;
   border-radius: 50%;
   background-color: #308EDB;
}
/* Internet Explorer 11 */
.answer-range input[type=range]:-moz-focusring{
   outline: 1px solid white;
   outline-offset: -1px;
}
.answer-range input[type=range]::-ms-track {
   width: 300px;
   height: 5px;
   background: transparent;
   border-color: transparent;
   border-width: 6px 0;
   color: transparent;
}
.answer-range input[type=range]::-ms-fill-lower,
.answer-range input[type=range]::-ms-fill-upper {
   background-color: #ddd;
   border-radius: 10px;
}
.answer-range input[type=range]::-ms-thumb {
   border: none;
   height: 16px;
   width: 16px;
   border-radius: 50%;
   background: #308EDB;
}
.answer-range input[type=range]:focus::-ms-fill-lower {
   background: #888;
}
.answer-range input[type=range]:focus::-ms-fill-upper {
   background: #ccc;
}

/*================================================
===>  Iconos de valoraciones
=================================================*/
.question-answers input+[class^="selector-icon"].selector-icon-marked::after,
.question-answers input:checked+[class^="selector-icon"]::after {
    opacity: .8;
}
.question-answers input+.selector-icon-heart::before,
.question-answers input+.selector-icon-heart::after {
    color: #C0392B;
}
.question-answers input+.selector-icon-like::before, 
.question-answers input+.selector-icon-like:after {
    color: #16A085;
}
.question-answers input+.selector-icon-star::before, 
.question-answers input+.selector-icon-star::after {
    color: #F1C40F;
}
/*================================================
===>  Mensaje de alerta
=================================================*/
.alert {
    font-size: 18px;
}
.alert-danger {
    background-color: #c0392b;
}
/*================================================
===>  Mensaje de alerta
=================================================*/
.alert {
   font-size: 18px;
}
.alert-danger {
   background-color: #c0392b;
}
/*========================================
===>  Mensaje de salida de la encuesta
========================================*/
.salirencuesta {
   margin-top: 50px;
   margin-right: 0;
}
.salirencuesta button {
   text-decoration: none;
}
.salirencuesta .t_later {
   font-size: 14px;
   font-weight: bold !important;
   text-transform: uppercase;
   color: inherit;
}
/*================================================
===>  Puntos de ruptura - breakpoints
=================================================*/
/* Muestra una anchura estática para estas pantallas */
@media (min-width: 769px) and (max-width: 1280px) {
   .container {
      width: 80% !important;
      max-width: 800px;
   }
}
@media only screen and (max-width: 991px) and (min-width: 768px) {
   .salirencuesta{
      margin-top: 70px;
      margin-right: 20px; 
   }
}
@media only screen and (max-width: 991px) {
   .survey-title h1,
   .page-title h2 {
      font-size: 30px !important;
   }
}
/* Dispositivos pequeños - Tablets */
@media only screen and (max-width: 768px) {
   
   .question-answers .selectable { margin-left: 5px; }
   
   .question-answers select.option-others-details, 
   .question-answers textarea.option-others-details, 
   .question-answers input[type="text"].option-others-details, 
   .question-answers input[type="datetime"].option-others-details, 
   .question-answers input[type="datetime-local"].option-others-details, 
   .question-answers input[type="date"].option-others-details, 
   .question-answers input[type="time"].option-others-details, 
   .question-answers input[type="number"].option-others-details, 
   .question-answers input[type="email"].option-others-details {
      width: 100% !important;
      display: block !important;
      margin-top: 10px !important;
      margin-left: -4px !important;
   }
   /*** Ajuste para tablas generales
   ********************************************/
   .question-answers > table > tbody > tr > td {
      padding-top: 0;
   }
   .question-answers .answer label {
      font-size: 18px;
   }
   .question-answers .answer input {
      margin-bottom: 8px;
   }
   table.matrix > tbody > tr > td {
      padding-left: 0;
      padding-right: 0
   }
   table.matrix > tbody > tr > th, 
   table.matrix > tbody > tr > td {border-top: none; }

   table.matrix > thead > tr > th { font-size: 16px !important; }
   table.matrix > tbody > tr > th { padding-left: 0; }

   .question-answers input+[class^="selector-icon"]::before, 
   .question-answers input+[class^="selector-icon"]::after { font-size: 30px; }
}
/* Dispositivos pequeños -  Posición horizntal */
@media only screen and (max-width: 640px) {
   .survey-title h1,
   .page-title h2 { font-size: 26px !important; }

   .page-description,
   .q_titulo,
   .question-answers .selectable,
   .question-answers .hidden-label,
   .question-answers .answer label { font-size: 16px !important; }
   
   .question-title h4 {
      font-size: 20px !important;
      line-height: 26px;
   }

   .question {
      padding: 0.5em 0; 
   }

   .answer-range label {
      width: 100%;
      margin: 0;
      float: none
   }
   .answer-range input[type=range] {
      width: 60%;
   }
}
/* Dispositivos extra pequeños -  Smartphones */
@media only screen and (max-width: 480px) {
   .survey-title h1,
   .page-title h2 {
      font-size: 22px !important;
      line-height: 26px;
   }
   .survey-title img {
      width: 45%;
      max-width: 320px;
      height: auto;
   }

   .question-title h4 {
      font-size: 18px !important;
      line-height: 24px !important;
   }

   .page-title { text-align: center }

   .t_language_form,
   ul.t_language_form       { top: 10px; right: 15px; }

   .t_language_form select  { padding: 2px 25px 2px 10px; }

   ul.t_language_form       { padding: 8px 25px 8px 10px; }
   ul.t_language_form:after { top: 20px; }

   .page-description,
   .q_titulo { line-height: 26px;  }

   .page-description {
      margin-top: 10px;
      margin-bottom: 10px;
   }
   .question { padding-bottom: 16px; }


   .main-footer.alt1 { height: auto !important; }

   .progress-container {
      margin-top: 20px;
      margin-bottom: 20px;
   }
   .main-footer .progress-container {
      width: 100%;
      float: none;
      margin-bottom: 5px !important;
   }
   .main-footer .nav {
      width: 100%;
      text-align: center;
      margin-top: 10px;
      display: block;
      float: none !important;
   }
   .main-footer .powered-by-container { margin-top: 20px; }

   .question-answers > img {
      width: 100%;
      max-width: 100%;
   }

   ul.q_sortable {
      padding-left: 0;
      padding-right: 0;
   }

   .answer-range { margin: 0; }

   .answer-range label {
      width: 100%;
      margin-right: 0;
      display: block !important;
   }
   .answer-range input[type=range] { width: 80%;  }

   .alert {
        font-size: 16px;
        line-height: 24px;
    }
}
