/**********************
 *  Global User Styles
 *  ------------------
 *  Dieses Stylesheet wird zuletzt geladen und überschreibt vorherige Definitionen.
 *  Es kann zur Ergänzung oder Anpassung eines geerbten Templates verwendet werden.
 **********************/

/*-------------------------------------
  Fonts – benutzerdefinierte Schriftarten
--------------------------------------*/
@font-face {
  font-family: 'Sora Medium';
  src: url('../fonts/Sora-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Sora Bold';
  src: url('../fonts/Sora-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Sora Regular';
  src: url('../fonts/Sora-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Light';
  src: url('../fonts/Playfair_144pt-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Semibold';
  src: url('../fonts/Playfair_9pt-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Playfair Bold 9pt';
  src: url('../fonts/Playfair_9pt-Bold.ttf') format('truetype');
}

/*-------------------------------------
  Farbdefinitionen (CSS Custom Properties)
--------------------------------------*/
:root {
  --mainColor: #ed6d5f;
  --secondaryColor: #a01326;
}

/*-------------------------------------
  Textfarben / Utilities
--------------------------------------*/
.text-primary {
  color: black !important;
}
.text-info {
  color: black !important;
}

/*-------------------------------------
  Basislayout
--------------------------------------*/
body {
  margin: 0 auto;
  padding-left: 2%;
  max-width: 1200px;
  min-height: 100vh;
  font-family: "Sora Regular";
  font-size: 1rem;
  line-height: 1.3;
  background-color: white;
}

/*-------------------------------------
  Standard-Typografie (h1–h4 + .h1–.h4)
--------------------------------------*/
h1, .h1 {
  text-align: center;
  font-family: "Playfair Light";
  font-size: 3rem;
  line-height: 1;
}

h2, .h2 {
  text-align: center;
  font-family: "Sora Medium";
  font-size: 2rem;
  line-height: 1;
}

h3, .h3 {
  font-family: "Playfair Semibold";
  font-size: 1.5rem;
  line-height: 1;
}

h4, .h4 {
  font-family: "Sora Medium";
  font-size: 1.2rem;
}

h5, .h5 {
  font-family: "Sora Regular";
  font-size: 1rem;
}



/*-------------------------------------
  Struktur-Elemente (Layout-Bereiche)
--------------------------------------*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  margin-top: 30px;
  padding-right: 1vw;
}

article {
  border-left: 3vw solid var(--mainColor);
  padding-left: 2%;
  padding-right: 1vw;
  margin: 0 auto;
  max-width: 1200px;
  background-color: white;
  font-family: "Sora Regular";
  font-size: 1rem;
  line-height: 1.3;
}

hr, hr:not([size]) {
  border: 0;
  height: 3px;
  background-color: black;
  margin:0px;
  opacity: 1;
}

/*-------------------------------------
  Links
--------------------------------------*/
a {
  color: var(--mainColor);
}
a:hover,
a:focus {
  color: var(--secondaryColor);
}

/*-------------------------------------
  Buttons (Primary, Default, Info)
--------------------------------------*/
.btn-primary,
.btn-default {
  color: #fff;
  background-color: var(--mainColor);
  border-color: var(--mainColor);
}
.btn-primary:hover,
.btn-default:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-default:focus {
  color: #fff;
  background-color: var(--secondaryColor);
  border-color: var(--secondaryColor);
}

.btn-info {
  color: #fff;
  background-color: #999999;
  border-color: #999999;
}
.btn-info:hover,
.btn-info:focus {
  color: #fff;
  background-color: var(--secondaryColor);
  border-color: var(--secondaryColor);
}

/*-------------------------------------
  Formularelemente
--------------------------------------*/
input:focus,
textarea:focus {
  outline: 0;
  border-color: rgba(160, 19, 19, 0.8);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.1),
    0 0 8px rgba(160, 19, 19, 0.6);
}
input[type="checkbox"]:focus::after,
.checkbox input[type="checkbox"]:focus::after,
.checkbox-inline input[type="checkbox"]:focus::after {
  border-color: rgba(160, 19, 19, 0.8);
}

/*-------------------------------------
  Panels / Boxes
--------------------------------------*/
.panel-primary {
  border-color: var(--mainColor);
}
.panel-primary > .panel-heading {
  color: #fff;
  background-color: var(--mainColor);
  border-color: var(--mainColor);
}

/*-------------------------------------
  Sonstiges
--------------------------------------*/
.progress-bar {
  background-color: var(--mainColor);
}
#block_error {
  margin-top: 0;
}

/*-------------------------------------
  Grid & Flex Helper
--------------------------------------*/
.col-xs-6 {
  width: 49%;
}

.logo-row {
  display: flex;
  flex-direction: row-reverse;
  align-self: flex-end;
  margin-right: 5%;
  margin-top: 2%;
}

.brand-logo {
  display: flex;
  max-height: 125px;
  height: auto;
  padding: 0 15px;
}

/*-------------------------------------
  Bildgröße im Willkommenscontainer
--------------------------------------*/
#welcome-container > div.survey-welcome.h4.text-primary > p:nth-child(1) > img {
  width: 100%;
  height: auto;
}

/*-------------------------------------
  Responsive Styles
--------------------------------------*/
@media (max-width: 480px) {
  article {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    max-height: 64px;
    width: auto;
  }
}
