/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/*body {
  background: #fff3cd !important;
}*/

/* === Kulaté rohy – vstupní pole === */
/*#surveys input,
#surveys textarea,
#surveys select,
#surveys .form-control {
  border-radius: 14px;
}*/

/* === Kulaté rohy – tlačítka === */
/*#surveys .btn,
#surveys button,
#surveys input[type="submit"],
#surveys input[type="button"] {
  border-radius: 30px;
}*/

/* INPUTY / SELECTY / TEXTAREA – kulaté rohy */
body input[type="text"],
body input[type="email"],
body input[type="number"],
body input[type="password"],
body input[type="date"],
body input[type="tel"],
body input[type="url"],
body textarea,
body select,
body .form-control {
  border-radius: 12px !important;
  background-clip: padding-box;
}

/* TLAČÍTKA – kulaté rohy */
body .btn,
body button,
body a.btn,
body input[type="submit"],
body input[type="button"] {
  border-radius: 14px !important;
}

/* (často potřeba) select2 v LimeSurvey */
body .select2-container .select2-selection {
  border-radius: 12px !important;
}

/* 2_Kulaté rohy boxů otázek (Fruity / různé wrappéry) */
/*.ls-question,
.question-container,
.question-wrapper,
.question-text-container,
.answer-container,
.group-container,
.panel,
.card {
  border-radius: 12px !important;
}*/

/* aby se kulatý roh projevil i u pozadí/okraje uvnitř */
/*.ls-question,
.question-container,
.question-wrapper,
.panel,
.card {
  overflow: hidden;
}*/

/*3_Horní systémové hlášky (aktivace, chyby, info) */
body .alert {
  border-radius: 12px !important;
}

/* Zavírací křížek – ať není useknutý */
body .alert-dismissible {
  padding-right: 3rem;
}

/* Jemnější vzhled (volitelné) */
body .alert-warning,
body .alert-danger,
body .alert-info {
  box-shadow: none;
}

/* 4_Zaoblení šedého boxu s popisem (zadání/úvodní text) */
body .welcome-container,
body .survey-welcome,
body .survey-description,
body .jumbotron,
body .well,
body .card {
  border-radius: 16px !important;
  overflow: hidden;
}

/* Zaoblení boxu otázky */
body .ls-question,
body .question-container {
  border-radius: 16px !important;
  overflow: hidden;
}

body .ls-question,
body .question-container {
  margin-bottom: 12px !important;
}

body .alert { border-radius: 16px !important; }

/* === FINÁL: boxy a jejich šířka (aby se "nerozšiřovaly") === */

/* vnější wrapper otázky */
body .ls-question,
body .question-container {
  border-radius: 16px !important;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 12px !important;
}

/* vnitřní řádky v otázce (Bootstrap .row často dělá záporné okraje) */
body .ls-question .row,
body .question-container .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* úvodní/popisný šedý box */
body .welcome-container,
body .survey-welcome,
body .survey-description,
body .jumbotron,
body .well {
  border-radius: 16px !important;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
