/* 
Theme Name: AllA Medical Group - Surveys
Theme URI: https://survey.alla-medical.cl
Description: Encuestas AllA Medical Group
Author: Elementor Team, Francisco Cerda <web@alla.cl>
Author URI: https://alla-medical.cl
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Common */
:root {
  --danger: #9c0000;
}
::placeholder {
  color: var(--e-global-color-text);
  opacity: 0.3;
}

:-ms-input-placeholder {
  color: var(--e-global-color-text);
  opacity: 0.3;
}

::-ms-input-placeholder {
  color: var(--e-global-color-text);
  opacity: 0.3;
}

/* Survey */

header.page-header,
.cf7md-admin-customize-message,
label.radio-na {
  display: none;
}

/* Material Design Contact Form 7 */
#cf7md-form .cf7md-label--static,
#cf7md-form .cf7md-help-text,
#cf7md-form .wpcf7-not-valid-tip {
  font-size: 1.5rem;
  line-height: 1.25em;
  color: var(--e-global-color-text);
  padding: 0.5em 0;
  text-align: center;
}
.cf7md-item {
  padding-bottom: 2em;
}

/* Stars as radio CF7

.rating {
  border: none;
  float: left;
}

.rating > label {
  float: right;
  position: relative;
}

.rating > label:before {
  margin: 5px;
  font-size: 2em;
  content: "\2605";
  display: inline-block;
}

.rating > input {
  display: none;
}

.rating > input:checked ~ label,
.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
  color: #f79426;
}

.rating > input:checked ~ label:before,
.rating:not(:checked) > label:hover:before,
.rating:not(:checked) > label:hover:before ~ label:before {
  content: "\2605";
  position:absolute;
}

.rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label {
  color: #fece31;
}*/

/* Stars Domino's Pizza
rating > span {
  display: inline-block;
  position: relative;
  width: 1.1em;
  font-size: 1.8em;
  color: #006491;
}
.rating {
  unicode-bidi: bidi-override;
  direction: rtl;
}
.rating > span:hover:before,
.rating > span:hover ~ span:before {
  content: "\2605";
  position: absolute;
}
span.checked:before {
  content: "\2605" !important;
  position: absolute;
}*/

/* https://codepen.io/lsirivong/pen/ekBxI */

h3.survey-question,
.wpcf7-form-control.wpcf7-submit {
  font-size: 1.3rem;
  line-height: 1.4em;
}
.question-title {
  display: block;
}
.question-item input,
.question-item textarea {
  text-align: center;
}
.question-item textarea {
  min-height: 7 em;
}
.star-cb-group {
  /* remove inline-block whitespace */
  font-size: 0;
  /* flip the order so we can use the + and ~ combinators */
  unicode-bidi: bidi-override;
  direction: rtl;
  /* the hidden clearer */
  width: 60%;
  display: flex;
  margin: 0 auto;
  padding: 1em 0;
}
.star-cb-group * {
  font-size: 1rem;
}
.star-cb-group > input {
  display: none;
}
.star-cb-group label {
  text-align: center;
}
.star-cb-group > input + label {
  /* only enough room for the star */
  overflow: hidden;
  text-indent: 9999px;
  width: 10%;
  white-space: nowrap;
  cursor: pointer;
  font-size: 20px;
}
.star-cb-group > input + label:before {
  display: inline-block;
  text-indent: 0;
  width: 100%;
  content: "☆";
  /*color: var(--e-global-color-text);*/
  color: #ccc;
  text-align: center;
  float: right;
  font-size: 2.25em;
  line-height: 3rem;
}
.star-cb-group > input:checked ~ label:before,
.star-cb-group > input + label:hover ~ label:before,
.star-cb-group > input + label:hover:before {
  content: "★";
  color: #ffe000;
  /*color: var(--e-global-color-accent);*/
}
.star-cb-group > .star-cb-clear + label {
  text-indent: -9999px;
  width: 0.5em;
  margin-left: -0.5em;
}
.star-cb-group > .star-cb-clear + label:before {
  width: 0.5em;
}
.star-cb-group:hover > input + label:before {
  content: "☆";
  /*color: var(--e-global-color-text);*/
  color: #ccc;
  text-shadow: none;
}
.star-cb-group:hover > input + label:hover ~ label:before,
.star-cb-group:hover > input + label:hover:before {
  content: "★";
  color: #ffe000;
  /*color: var(--e-global-color-accent);*/
}
.question-item {
  padding-bottom: 2em;
}
.wpcf7-form-control.wpcf7-submit {
  display: block;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
}

/* Elementor Mobile */

body[data-elementor-device-mode="mobile"] .star-cb-group {
  width: 100%;
}
body[data-elementor-device-mode="mobile"]
  .star-cb-group
  > input
  + label:before {
  font-size: 1.8em;
}
.charts {
  display: block;
  width: 100%;
  padding: 0 0 2em;
}
table.charts-data {
  table-layout: fixed;
  width: 80%;
  margin: 0 auto;
  padding: 2em 0;
}
table.charts-data th,
table.charts-data td {
  word-wrap: break-word;
}

/* All Radio Stars */

/*.wpcf7-list-item input[type=radio] {
  display:none;
}

.star-cb-group > input + label:before {
  display: inline-block;
  text-indent: 0;
  width: 100%;
  content: "☆";
  color: var(--e-global-color-text);
  text-align: center;
  float: right;
  font-size: 2.25em;
  line-height: 3rem;
}
.star-cb-group > input:checked ~ label:before,
.star-cb-group > input + label:hover ~ label:before,
.star-cb-group > input + label:hover:before {
  content: "★";
  color: var(--e-global-color-accent);
}*/
 {
  border: 3px solid red;
}
/* Validation */
.required-question {
  font-size: 0.75em;
  border-radius: 5px;
  padding: 9px 9px 8px;
  color: var(--danger);
  border: 1px solid var(--danger);
  line-height: 0.5em;
  display: inline-block;
}
.empty-answer {
  border: 1px solid red;
}
.question-error {
  font-size: 1em;
  border-radius: 5px;
  padding: 8px 25px;
  color: #fff;
  background-color: var(--danger);
  display: none;
}
.question-error.show-error {
  display: inline-block;
  width: auto;
  margin: 0.5em auto 1em;
}
.animation-ctn {
  margin: 0 auto;
  text-align: center;
}

.icon--order-success svg polyline {
  -webkit-animation: checkmark 0.25s ease-in-out 0.7s backwards;
  animation: checkmark 0.25s ease-in-out 0.7s backwards;
}

.icon--order-success svg circle {
  -webkit-animation: checkmark-circle 0.6s ease-in-out backwards;
  animation: checkmark-circle 0.6s ease-in-out backwards;
}
.icon--order-success svg circle#colored {
  -webkit-animation: colored-circle 0.6s ease-in-out 0.7s backwards;
  animation: colored-circle 0.6s ease-in-out 0.7s backwards;
}
@-webkit-keyframes checkmark {
  0% {
    stroke-dashoffset: 100px;
  }

  100% {
    stroke-dashoffset: 200px;
  }
}

@-ms-keyframes checkmark {
  0% {
    stroke-dashoffset: 100px;
  }

  100% {
    stroke-dashoffset: 200px;
  }
}

@keyframes checkmark {
  0% {
    stroke-dashoffset: 100px;
  }

  100% {
    stroke-dashoffset: 0px;
  }
}

@-webkit-keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 480px;
  }

  100% {
    stroke-dashoffset: 960px;
  }
}

@-ms-keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 240px;
  }

  100% {
    stroke-dashoffset: 480px;
  }
}

@keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 480px;
  }

  100% {
    stroke-dashoffset: 960px;
  }
}

@keyframes colored-circle {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 100;
  }
}
/*#survey-container>.elementor-container.elementor-column-gap-default {
  overflow:hidden;
  display:block;
}
#survey-container:after, #survey-container>.elementor-container.elementor-column-gap-default:after {
  content:'';
  display:table;
  clear:both;
}
#survey-container .survey-flow-step {
  name duration efecto delay iteraciones direction forwards paused 
  animation: to-left .5s ease-in-out .1s 0 forwards paused;
  width:100%!important;
  position:absolute;
  top:0;
}
#survey-container .survey-flow-step:nth-child(1){
  left:0;
}
#survey-container .survey-flow-step:nth-child(2){
  left:100%;
}
#survey-container .survey-flow-step:nth-child(3){
  left:200%;
}*/
.wpcf7 form.sent .wpcf7-response-output {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #fff;
  border: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  padding-top: 2em;
}

.form-control {
  appearance: auto;
  -webkit-appearance: auto;
}
