@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');



/* –––– VARIABLES –––– */
:root {
  --c-accent: #1eb4ff;
  --c-dark-blue: #053a5d;
  --c-crimson: #B9073C;
  --c-hth-ring1: #A3CF99;
  --c-hth-ring1-bright: #A5DABE;
  --c-hth-ring2: #70A89C;
  --c-hth-ring3-bright: #4E9DC1;
  --c-midnight-bright: #0A6798;
  --c-sapphire: #0c55a6;
  --c-white: #fff;
  --c-text: #0e0e0e;
  --c-bst-gradient: linear-gradient(127deg, #0184ca, #094381);
  --shadow: 0 2px 30px 0 rgba(0, 0, 0, .2);
}


/* –––– FONT SIZES –––– */

/* Font */
html, body{
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 300;
}

/*

regular ein schnitt dünner


*/

/* Questions */
.question, .question p{
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
  font-weight: inherit !important;
  font-family: Merriweather, Georgia, serif;
}




/* Answers */
table.table_single tr.answer_0, table.table_single tr.answer_1, table.table_single_datalist tr.answer_0, table.table_single_datalist tr.answer_1, table.table_multiple_datalist tr.answer_0, table.table_multiple_datalist tr.answer_1, table.answer, .question p:first-of-type{
  font-size: 1rem;
  line-height: 1.2;
  font-weight: inherit !important;
}

/* Antowrthinweis */
p.hinweis, .error{
  color: var(--c-crimson);
  font-size: 0.9rem !important;
  font-weight: bold !important;
}

/* weniger Abstand */
.question_delimiter {
  height: 0;
}

/* –––– INHALT VERTIKAL ZENTRIEREN –––– */

/* .wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
} */

/* –––– BUTTONS –––– */

input.submit, input.submit:focus, input.submit:active, input[type="button"], input[type="file"], #btn_start{
  border-radius: 0;
  padding: 20px 60px;
  border: none;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  position: relative;
}

input.submit:hover{
  background: var(--c-bst-gradient);
  color: var(--c-white);
}

@media only screen and (max-width: 767px) {
  input.submit, input.submit:focus, input.submit:active, input[type="button"], input[type="file"], #btn_start{
    padding: 20px 20px;
  }
  #send_buttons input{
    flex: 1 1;
  }
  #send_buttons input[type="image"]{
    flex: 0;
  }
  #send_buttons{
    padding-right: 15px;
  }
}



#send_buttons{
  justify-content: center;
}

/* Animation */
/* input{
  transition: background 0.3s ease, color 0.3s ease;
} */

a:link, a:hover, a:visited{
  color: inherit;
}






/* –––– STATUSBAR –––– */

#statusbar, #statusbar_background{
  border-radius: 0px;
}
#statusbar_background{
  height: 10px;
  bottom: unset;
  margin-top: 5px;
  border: none;
  /*ecken abrunden */
  /* border-radius: 20px;
  overflow: hidden; */
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow);
}

#statusbar{
  background: var(--c-bst-gradient);
}

/* –––– STATUSBAR Weiß –––– */
/*
#statusbar_background{
  height: 8px;
  bottom: unset;
  margin-top: 5px;
  border: 1px solid #fff;
  background: transparent;
  padding: 2px;
}

#statusbar{
  background: #fff;
} */

/* Animation */

#statusbar{
  animation-name: statusbarAnimation;
  animation-duration: 2s;
  transform-origin: center left;
}

@keyframes statusbarAnimation {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}





/* Prozentzahl ausblenden */
.progressbar_surveyname{
  display: none;
}



/* –––– LOGOS –––– */

/* rechtes Logo */
#head_logo_right img{
  max-width: 190px;
}

/* linkes Logo */
#head_logo_left img{
  width: 100%;
  max-width: 270px;
}

/* –––– RECHTES LOGO –––– */

.answer_input_text label, .answer_input_text label texarea{
  width: 100%;
}

/* –––– LABEL HIGHLIGHT / LABEL GESTALTUNG –––– */


table.answer label{
  padding: 5px 10px;
}

table.answer tr, table.answer{
  background: transparent !important;
}

table.answer tr:hover{
  background: #f9f9f9 !important;
  border: 1px solid #35415b;
}

table.table_rating tr.answer_rating_value_description:hover,
table.table_rating tr.answer_rating_value:hover{
  background: unset !important;
}

table.table_single tr{
  padding-left: 5px !important;
}
table.answer tr td, table.answer tr th[scope="row"] {
  padding-left: 10px;
}


/* –––– HIGHLIGHTS AUSGEWÄHLE ANTWORTEN –––– */
/* .answer_highlight{
  color: var(--c-accent) !important;
} */

/* Unterstrich */
label{
  position: relative;
  display: inline-block;
}
label::after{
  content: "";
  height: 2px;
  width: 0px;
  margin-right: 10px;
  background: var(--c-text);
  position: absolute;
  left: 10px;
  bottom: 0;
  transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.answer_highlight label::after{
  width: calc(100% - 20px);
}

/* –––– RADIO BUTTONS –––– */
.answer_highlight .radio::before{
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: var(--c-accent);
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid;
}


/* –––– RATING FRAGEN / VON - BIS RANKING –––– */
/* große bubbles*/
.table_rating label{
  display: none !important;
}

.table_rating input{
  transition: all 0.3s ease;
  transform: scale(1.3);
}

.table_rating td:hover input{
  transform: scale(2);
}
/*mehr Abstand zum Tabellenheader*/
table.table_rating tr th{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/*mehr Abstand/Trennung zwischen Elementen*/
table.table_rating tr:not(.answer_rating_value_description) th,
table.table_rating tr:not(.answer_rating_value) th,
table.table_rating tr:not(:last-child) th,
table.table_rating tr:not(:last-child) td
{
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

table.table_rating tr.answer_rating_value_description th,
table.table_rating tr.answer_rating_value th,
table.table_rating tr:last-child th
{
  border-bottom: none;
}


/* –––– DROPDOWN –––– */

body select{
  width: 100%;
  position: relative;
  background: rgba(0,0,0,0.04) url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzEuOTk5OTUwMiA0MGMtLjUzNzY2MTEgMC0xLjA3NTI1NTctLjIwNDA4MDEtMS40ODUxNzQxLS42MTEzODIzbC0xMi44OTkzNTA3LTEyLjgyMzM4NjdjLS44MjA1NjcyLS44MTU3MjY1LS44MjA1NjcyLTIuMTM4Mjg3MiAwLTIuOTUzNjgzNi44MjAyMzUyLS44MTUzOTY1IDIuMTUwMzc4Ny0uODE1Mzk2NSAyLjk3MTAxMjIgMGwxMS40MTM1MTI2IDExLjM0Njg0MTggMTEuNDEzNTc5LTExLjM0NjQ0NThjLjgyMDU2NzItLjgxNTM5NjUgMi4xNTA1Nzc4LS44MTUzOTY1IDIuOTcwNzQ2NiAwIC44MjA5NjU2LjgxNTM5NjQuODIwOTY1NiAyLjEzNzk1NzEgMCAyLjk1MzY4MzZsLTEyLjg5OTE1MTQgMTIuODIzMzg2N2MtLjQxMDExNzYuNDA3MzY4Mi0uOTQ3NzEyMy42MTA5ODYzLTEuNDg1MTc0Mi42MTA5ODYzeiIgZmlsbD0iIzFlYjRmZiIvPjwvc3ZnPg==") !important;
  background-position-x: 100% !important;
  background-position-y: 0px !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

/* –––– RÜCKENWIND / GEGENWIND –––– */
/* Kärtchen */
.element-12-1{
  background-color: #fff;
  padding: 10px 5px;
  width: unset !important;
  max-width: 100%;
  background-color: var(--c-dark-blue);
  color: #fff;

  transition: transform 0.3s ease, width 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.elementcontainer-1 .element-12-1:hover{
  transform: scale(1.03);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.elementcontainer-1 .ui-draggable-dragging{
  background-color: var(--c-midnight-bright) !important;
  box-shadow: 0 20px 10px rgba(0,0,0,0.3);
}

.elementcontainer-1 .ui-droppable{
  border: none !important;
  box-sizing: border-box;
  height: unset !important;
  min-height: 50px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

/* Boxen links / rechts (ACHTUNG: Im Keyingress-Code sind links und rechts vertauscht!) */

.rightbox-1, .leftbox-1{
  width: 25%;
  border: 2px solid #fff;
  background-color: transparent;
}
.rightbox-1{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/icon-gegenwind.svg");
  background-image: none;
  background-size: 60%;
}
.leftbox-1{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/icon-rueckenwind.svg");
  background-image: none;
  background-size: 60%;
}
/*Kärtchenfarbe rechts*/
.leftbox-1 div{
  left: unset !important;
  top: unset !important;
  background-color: var(--c-hth-ring2) !important;
  margin-bottom: 15px;
}
/*Kärtchenfarbe links*/
.rightbox-1 div{
  left: unset !important;
  top: unset !important;
  background-color: var(--c-crimson) !important;
  margin-bottom: 15px;
}



/* –––– FORM INPUTS –––– */

input.input, input[type="text"],textarea, select{
  background: transparent;
  border: 1px solid rgba(0,0,0,0.3) !important;
  background: rgba(0,0,0,0.04) !important;
  color: #000 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 15px;
  font-family: Lato, sans-sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box !important;
}

input[type="text"]:focus, textarea:focus, input.input:focus{
  border: 1px solid var(--c-accent) !important;
  color: var(--c-accent) !important;
  background: transparent !important;
}

/* Input-Felder in Fragen */
label input[type="text"], .answer_single_text input[type="text"]{
  width: unset !important;
  margin: 0 15px;
}

.answer_rating_text input[type="text"]{
  margin-top: 20px;
  margin-left: 30px;
  max-width: 200px !important;
  padding: 5px;
  font-size: 15px;
  font-weight: normal;
}


/* –––– KRYPTISCHE DINGE AUSBLENDEN –––– */

form > table{
  display: none;
}


/* –––– EIGENE BILDER –––– */

/* body{
  overflow: hidden;
} */

/* General Settings */
/* body::before{
  content: "";
  position: fixed;
  height: 100%;
  width: 100%;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  z-index: 0;
  animation-name: imageReveal;
  animation-duration: 5s;
} */

/* Images */
/* body::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-hth.jpg");
} */
/* body.question_1::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-01.jpg");
}
body.question_2::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-02.jpg");
}
body.question_3::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-03.jpg");
}
body.question_4::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-04.jpg");
}
body.question_5::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-04.jpg");
}
body.question_6::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-04.jpg");
}
body.question_7::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-05.jpg");
}
body.question_8::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-06.jpg");
}
body.question_10::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-07.jpg");
}
body.question_12::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-08.jpg");
}
body.question_13::before{
  background-image: url("https://hotlink.ymnky.space/wl/keyingress/images/background-09.jpg");
} */

/* –––– ENDTEXT –––– */
.endtext{
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

/* –––– FOOTER –––– */

.footer{
  background-color: transparent;
}

.footertext{
  text-align: center;
  color: #0e0e0e;
}

.footertext a:link, .footertext a:visited{
  text-decoration: none;
  margin-right: unset;
}


.footertext a:hover{
  text-decoration: underline;
}





/* –––– RESPONSIVE STYLES –––– */

@media only screen and (max-width: 767px) {
  table.table_rating{
    margin-top: 2rem;
  }
  table td {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  /* rechtes Logo */
  #head_logo_right img{
    max-width: 100px;
  }

  /* linkes Logo */
  #head_logo_left img{
    max-width: 330px;
  }
}



/* Animation */
@keyframes imageReveal {
  from {
    transform: scale(1.07);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
