@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* colors */

  --text-main: #111A3C;
  --text-primary-2: #004C98;
  --text-white: #fff;
  --text-light: #7EB9F4;
  --text-placeholder: #9999a1;
  --text-danger: #d92653;
  --text-grey: #72727e;

  --bg-default: #fff;
  --bg-default-1: #F9F9FA;
  --bg-primary-default: #0070E0;
  --bg-primary-2: #F0F8FF;
  --bg-secondary: #0354A5;

  --stroke-default: #E7E7E7;
  --stroke-primary-2: #CBE5FF;

  /* paddings */
  --padding-md: 24px;

  /* radius */
  --border-radius-sm: 4px;
}

input::placeholder {
  color: var(--text-placeholder) !important;
}

textarea::placeholder
{
  color: var(--text-placeholder) !important;
}



.sr_input
{
  color: var(--text-main);
  font-family: var(--font-Inter);
  font-weight: 400;
  font-size: 16px;
  border-radius: 4px;
  border: var(--stroke-default);
  background: var(--text-white);
  padding: 9px 12px;
  border: 2px solid var(--stroke-default);
  transition: 0.2s;
}

.sr_input:focus {
  border: 2px solid var(--bg-primary-default);
}

.sr_input::placeholder {
  color: var(--text-placeholder) !important;
  font-family: var(--font-Inter);
  font-weight: 400;
  font-size: 16px;
}

html, body {
  background-color: var(--bg-default);
  margin: 0px !important;
  font-family: 'Inter';
}

.audio-react-recorder{
  display: none !important;
}

.ck-powered-by-balloon, .ck-toolbar-container{
  display : none !important;
}

.text-tiny {
  font-size: .7em;
}

.text-small {
  font-size: .85em;
}

.text-big {
  font-size: 1.4em;
}

.text-huge {
  font-size: 1.8em;
}

.main-wrapper:has(.content-element-wrapper){
  padding:0px !important;
}

.page-wrapper:has(.content-element-wrapper) .header-wrapper{
  display:none !important;
}

.page-content-wrapper:has(.content-element-wrapper){
  margin-top: 0px !important;
}

.content-wrapper:has(.content-element-wrapper){
  width: 98% !important;
}

.active-element:has(.content-element-wrapper){
  border: none !important;
  border-radius: 0px !important;
  padding: 0px !important;
}

.static-element-wrapper:has(.content-element-wrapper){
  height: 90vh !important;
}

.content-element-wrapper{
  height: 100% !important;
  overflow: auto;
}

.page-wrapper:has(.content-element-wrapper) .next-element-btn-wrapper{
  padding-right: 15px;
  padding-bottom: 15px;
}

.page-wrapper:has(.content-element-wrapper) .footer-wrapper{
  display:none !important;
}

.active-element:has(.content-element-wrapper){
  margin-bottom: 0px !important;
}

.page-wrapper img{
  max-width: 100%;
}

.static-element-wrapper.externalRedirect + .next-element-btn-wrapper{
  display: none !important;
}

[data-rbd-draggable-id] 
{ 
  /* left: auto !important; 
  top: auto !important;  */
  position: static !important;
}

[data-rbd-droppable-id]{
  height: 100% !important;
}

.drag-drop-container{
  background: #f9f9f9;
  border-radius: 10px;
  border: solid 1px #fff;
  padding: 20px;
  min-height: 200px;
}

.ml-1{
  margin-left: 5px;
}

.mr-1{
  margin-right: 5px;
}

.ranking-answer-item{
  background: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 20px;
  margin-left: 15px;
  height: auto;
  align-items: center;
  display: flex;
}

.ml-2{
  margin-left: 10px;
}

.pr-2{
  padding-right: 10px;
}

.ranking-selection-mobile-wrapper{
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  padding-right: 15px;
    padding-left: 0px;
    padding-top: 3px;
    padding-bottom: 0px;
}

.answer-text{
  font-family: 'Inter';
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    color: #282828;
}

.r_progress_wrapper
{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--border-radius-sm);
  background: var(--bg-default-1);
}

.r_progress
{
  display: flex;
  height: 4px;
  align-items: center;
  gap: 170px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary-default);
}

.ml_md
{
  margin-left: var(--padding-md);
}

.MuiTypography-root
{
  font-family: 'Inter' !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--text-main) !important;
}

.r_checked
{
  background: var(--bg-primary-2) !important;
  border: 2px solid var(--stroke-primary-2) !important;
}

.r_checked .MuiTypography-root, .r_checked div
{
  color: var(--text-primary-2) !important;
}

.punch-wrapper .MuiCheckbox-root svg,.punch-wrapper .MuiRadio-root svg
{
  color: var(--stroke-default);
}

.MuiRadio-root:hover svg{
  color: var(--text-light);
}

.MuiCheckbox-root.Mui-checked svg , .MuiRadio-root.Mui-checked svg 
{
  color: var(--bg-primary-default) !important;
}


@media(min-width: 1200px) {
  .punch-wrapper
  {
  width: 80%;
  }
}

.main-wrapper
{
  padding-bottom: 50px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.element-wrapper-animation-end
{
  transition: transform 0.3s ease-in-out;
}

.element-wrapper-animation-initial
{
  transform: translateX(100%);
}

.pulse-image {
  -webkit-animation: pulse 3s infinite ease-in-out;
  -o-animation: pulse 3s infinite ease-in-out;
  -ms-animation: pulse 3s infinite ease-in-out; 
  -moz-animation: pulse 3s infinite ease-in-out; 
  animation: pulse 3s infinite ease-in-out;
}

@-webkit-keyframes pulse {
  0% { -webkit-transform: scale(0.9); opacity: 0.7; }
  50% { -webkit-transform: scale(1); opacity: 1; }
  100% { -webkit-transform: scale(0.9); opacity: 0.7; }
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.MuiLoadingButton-loading
{
  background-color: var(--bg-primary-default) !important;
  color: var(--text-white) !important;
}

.MuiCircularProgress-root
{
  margin-left: 5px !important; 
  margin-right: 5px !important;
}

.MuiLoadingButton-loadingIndicator
{
  right: unset !important;
  margin-left: 80px;
}

.active-element  figure.image img
{
  margin-left: auto;
  margin-right: auto;
}

.row-hover:hover > span {
  background-color: #f4f7f9;
}

.MuiFilledInput-input
{
  color: var(--text-main) !important;
  font-weight: 400 !important;
}

.MuiInputBase-input
{
  font-family: 'Inter' !important;
  color: var(--text-main) !important;
  font-weight: 400 !important;
}

.sd_surveyPrompt_All_textarea textarea::placeholder{
  color: var(--text-main);
}

.sd_cpm_textarea textarea {
  width: 100%;
}

.matrix-wrapper .MuiRadio-root span, .maxdiff-wrapper .MuiRadio-root span
{
  color: rgb(184 184 184) !important;
}

.element-wrapper-animation-end .blurredElement
{
  opacity: 0;
  visibility: hidden;
  animation: showElement 0.5s forwards 0.5s;
}

@keyframes showElement {
  to {
      opacity: 1;
      visibility: visible;
  }
}

.external_content_wrapper
{
  text-align: center;
  height: calc(100% - 75px);
}

.external_content_instruction
{
  margin-top: auto;
  word-break: break-all;
}

.text-error
{
  font-size: 12px;
  font-weight: 400;
  color: var(--text-danger);
}

.re_modal_title
{
  color: var(--text-main);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.re_modal_button
{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-primary-default);
  border-radius: 4px;
  color: var(--text-white);
  height: 40px;
  border: none;
}

.re_modal_button:hover {
  background: var(--bg-secondary);
}

.re_modal .MuiDialog-paper
{
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(249, 249, 250, 1) !important;
  backdrop-filter: blur(12px);
  max-width: 700px;
}

.re_description_text
{
  font-size: 12px;
  color: var(--text-grey);
  margin: 8px 0;
  display: inline-block;
  text-transform: none;
}