* {
  box-sizing: border-box;
}
body,
html {
  padding: 0;
  margin: 0;
}
body,
tr,
td,
textarea,
input {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #7D171B;
}
/* --------- Layout ---------------------------------- */
#big_image {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
}
#page {
  width: 980px;
  margin: 0 auto;
  min-height: 100%;
}
#header,
#content,
#footer {
  background: url(../Images/wolle2.jpg) top left repeat;
  box-shadow: 0 0 10px #000;
}
#header {
  position: relative;
  padding: 0px 10px 0px 10px;
  border-radius: 0 0 30px 30px;
}
#logo {
  padding: 0 0 15px 15px;
}
#page_image {
  position: absolute;
  top: 22px;
  right: 20px;
}
#main_menu {
  margin: 10px auto;
  text-align: center;
  color: #F6B462;
}
#content {
  margin: 0 auto 30px auto;
  /* 60px auto */
  bottom: 0px;
  min-height: 600px;
  padding: 15px 20px 20px 20px;
  border-radius: 30px;
  /* 30px 0 0;*/
  behavior: url(fileadmin/templates/PIE.htc);
}
#content #content_inner {
  /*padding:0 15px 0 27px;*/
  padding: 0 27px;
}
#content #content_inner a {
  color: #339;
  text-decoration: none;
}
#content #content_inner a:hover {
  text-decoration: underline;
}
#footer {
  /*position:fixed;
	bottom:0;*/
  color: #7D171B;
  border-radius: 30px 30px 0 0;
  padding: 10px 30px 5px 47px;
  font-size: 14px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
#footer a {
  color: #7D171B;
  text-decoration: none;
}
#footer a:hover {
  text-decoration: underline;
}
#footer a.active {
  font-weight: bold;
}
#footer .left {
  float: left;
}
#footer .right {
  float: right;
}
#footer.fixed {
  position: fixed;
  width: 980px;
  bottom: 0;
}
.clear {
  margin: 0;
  padding: 0;
  font-size: 1px;
  line-height: 1px;
  clear: both;
}
h2 {
  color: #7D171B;
}
#c1 h2:first-child {
  margin-top: 0;
}
.small {
  font-size: 80%;
}
input[type=text],
input[type=number],
input[type=password],
textarea {
  font-size: 1em;
  padding: 8px;
  border: 1px solid #7D171B;
  border-radius: 2px;
  width: 100%;
  max-width: 490px;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=password]:focus,
textarea:focus {
  background: #f8d8da;
}
.btn-toolbar {
  margin-top: 10px;
}
.form-group {
  margin-bottom: 8px;
}
.form-group label {
  font-size: 80%;
}
.btn {
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #333;
  cursor: pointer;
  font-size: 80%;
}
.btn.btn-primary {
  color: white;
  background: #7D171B;
  border-color: #7D171B;
}
ul[class$="-colored"] li:before {
  color: #7D171B !important;
}
/* --------- Main Menu -------------------------------- */
#main_menu ul,
#sub_menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#main_menu ul {
  position: relative;
}
#main_menu ul li {
  display: inline-block;
  margin: 0 10px;
  position: relative;
}
#main_menu ul li a {
  color: #F6B462;
  text-decoration: none;
  font-family: 'Merienda One', cursive;
  font-size: 16px;
}
#main_menu ul li a:hover {
  color: #fee;
}
#main_menu ul li a.active {
  font-weight: 500;
  color: #ffe;
}
#main_menu ul li ul {
  position: absolute;
  top: 100%;
  width: 160px;
  left: -10px;
  z-index: 10;
  display: none;
  border: 1px solid #7D171B;
  background: url(../Images/pixel_red80.png) top left repeat;
  border-radius: 5px;
}
#main_menu ul li ul li {
  display: block;
  padding: 0;
  margin: 0;
}
#main_menu ul li ul li a {
  display: block;
  padding: 3px 10px;
  text-align: left;
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 15px;
  line-height: 20px;
  border-bottom: 1px solid #7D171B;
}
#main_menu ul li ul li:last-child a {
  border-bottom: 0;
}
/* --------- Submenu -------------------------------- */
#sub_menu {
  text-align: center;
}
#sub_menu li {
  display: inline-block;
  margin: 0 3px;
}
#sub_menu li a {
  color: #98523E;
  text-decoration: none;
  font-size: 16px;
}
#sub_menu li a:hover {
  color: #7D171B;
}
#sub_menu li a.active {
  font-weight: 600;
  color: #7D171B;
}
#sub_menu p {
  margin-top: 0;
}
/* -------------------- Fluid styled content ----------------------------------*/
.ce-textpic.ce-intext .ce-bodytext p:first-child {
  margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  line-height: 1;
  font-family: 'Merienda One', cursive;
}
h1,
h2,
h3 {
  font-size: 24px;
  /*font-family: 'Gochi Hand', cursive;*/
  font-family: 'Merienda One', cursive;
}
h4 {
  font-size: 18px;
  font-weight: normal;
}
h5 {
  font-size: 18px;
  font-weight: normal;
  text-decoration: underline;
}
h6 {
  font-size: 18px;
  font-weight: normal;
  color: #666858;
  margin: 5px 0;
}
a img {
  border: 0 !important;
}
#content p + p {
  margin-bottom: 10px;
}
#content .ce-media {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
#content a {
  color: #007da0;
  text-decoration: none;
}
#content a:hover {
  text-decoration: underline;
}
#content img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
#content .frame {
  margin-bottom: 30px;
}
#content .frame:last-child {
  margin-bottom: 0;
}
#content .frame h2 {
  margin-top: 30px;
}
#content .frame header + p {
  margin-top: 0;
}
#content .frame p:last-child {
  margin-bottom: 0;
}
#content .ce-border img {
  border: 2px solid #7D171B !important;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 680px) {
  #content .ce-gallery img {
    max-width: 100%;
    height: auto;
  }
}
.ce-textpic.ce-nowrap .ce-gallery {
  margin-bottom: 0;
}
@media only screen and (max-width: 680px) {
  .not-on-mobile {
    display: none;
  }
}
.ce-above {
  overflow: visible;
}
.ce-above .ce-border {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
.ce-above .ce-border img {
  border: 0;
}
.ce-left .ce-gallery {
  margin-bottom: 10px;
}
.align-left,
p.align-left,
div.align-left {
  text-align: left;
}
.align-center,
p.align-center,
div.align-center {
  text-align: center;
}
.align-right,
p.align-right,
div.align-right {
  text-align: right;
}
.align-justify,
p.align-justify,
div.align-justify {
  text-align: justify;
}
/* -------------------- CONTENT LAYOUTS --------------------------------------- */
.frame-layout-100,
.frame-layout-101 {
  padding: 1.5em;
  margin-bottom: 1.5em;
}
.frame-layout-100 *:first-child,
.frame-layout-101 *:first-child {
  margin-top: 0;
}
.frame-layout-100 *:last-child,
.frame-layout-101 *:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 680px) {
  .frame-layout-100,
  .frame-layout-101 {
    padding: 1em;
  }
}
.frame-layout-100 {
  background-color: #f5f5f5;
}
.frame-layout-101 {
  background-color: #414141;
  color: #fff;
}
.gridelements_container .inner *:first-child p:first-child {
  margin-top: 0;
}
.gridelements_3cols {
  display: table;
  width: 100%;
}
.gridelements_3cols .gridelements_col1,
.gridelements_3cols .gridelements_col2,
.gridelements_3cols .gridelements_col3 {
  display: table-cell;
  width: 33%;
}
.gridelements_3cols .gridelements_col1.span6,
.gridelements_3cols .gridelements_col2.span6,
.gridelements_3cols .gridelements_col3.span6 {
  width: 50%;
}
.gridelements_3cols .gridelements_col1.span3,
.gridelements_3cols .gridelements_col2.span3,
.gridelements_3cols .gridelements_col3.span3 {
  width: 25%;
}
.gridelements_3cols .gridelements_col1 {
  padding: 0 5px 0 0;
}
.gridelements_3cols .gridelements_col3 {
  padding: 0 0 0 5px;
}
.gridelements_3cols .gridelements_col2 {
  padding: 0 10px;
}
.gridelements_2cols {
  display: table;
  width: 100%;
}
.gridelements_2cols .gridelements_col1,
.gridelements_2cols .gridelements_col2 {
  display: table-cell;
  width: 50%;
}
.gridelements_2cols .gridelements_col1.span3,
.gridelements_2cols .gridelements_col2.span3 {
  width: 25%;
}
.gridelements_2cols .gridelements_col1.span4,
.gridelements_2cols .gridelements_col2.span4 {
  width: 33.3%;
}
.gridelements_2cols .gridelements_col1.span6,
.gridelements_2cols .gridelements_col2.span6 {
  width: 50%;
}
.gridelements_2cols .gridelements_col1.span8,
.gridelements_2cols .gridelements_col2.span8 {
  width: 66.6%;
}
.gridelements_2cols .gridelements_col1.span9,
.gridelements_2cols .gridelements_col2.span9 {
  width: 75%;
}
.gridelements_2cols .gridelements_col1 {
  padding-right: 5px;
}
.gridelements_2cols .gridelements_col2 {
  padding-left: 5px;
}
@media only screen and (max-width: 600px) {
  .gridelements_2cols {
    display: block;
  }
  .gridelements_2cols .gridelements_col1,
  .gridelements_2cols .gridelements_col2 {
    display: block;
    width: 100% !important;
    padding: 0;
  }
  .gridelements_2cols .gridelements_col1 .inner,
  .gridelements_2cols .gridelements_col2 .inner {
    margin: 10px 0;
  }
}
@media only screen and (max-width: 700px) {
  .gridelements_3cols {
    display: block;
  }
  .gridelements_3cols .gridelements_col1,
  .gridelements_3cols .gridelements_col2,
  .gridelements_3cols .gridelements_col3 {
    display: block;
    width: 100% !important;
    padding: 0;
  }
  .gridelements_3cols .gridelements_col1 .inner,
  .gridelements_3cols .gridelements_col2 .inner,
  .gridelements_3cols .gridelements_col3 .inner {
    margin: 10px 0;
  }
}
/* Shared between RTE and Frontend */
a {
  color: #0d95e8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.indentation {
  padding-left: 1em;
}
.small {
  font-size: 80%;
}
.capitalized {
  text-transform: uppercase;
  /*text-transform: capitalize;*/
}
.quoted {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  font-style: italic;
}
span.label {
  display: inline-block;
  width: 125px;
}
@media only screen and (max-width: 600px) {
  span.label {
    display: block;
    width: 100%;
    font-weight: bold;
  }
}
a.download {
  display: inline-block;
  margin-right: 3px;
}
a.download:before {
  font-family: FontAwesome;
  content: "\f019 ";
  display: inline-block;
  margin-right: 3px;
}
a.download.pdf,
a.download.zip,
a.download.doc,
a.download.xls {
  padding-left: 1.2em;
  background-size: 1.2em 1.2em !important;
  display: inline;
}
a.download.pdf:before,
a.download.zip:before,
a.download.doc:before,
a.download.xls:before {
  content: "";
  margin: 0 2px 0 0;
}
a.download.pdf {
  background: url(/typo3conf/ext/sitepackage/Resources/Public/Images/icon_pdf.svg) left center no-repeat;
}
a.download.zip {
  background: url(/typo3conf/ext/sitepackage/Resources/Public/Images/icon_zip.svg) left center no-repeat;
}
a.download.doc {
  background: url(/typo3conf/ext/sitepackage/Resources/Public/Images/icon_doc.svg) left center no-repeat;
}
a.download.xls {
  background: url(/typo3conf/ext/sitepackage/Resources/Public/Images/icon_xls.svg) left center no-repeat;
}
a.button,
a.button_broad,
.btn {
  display: inline-block;
  padding: 4px 8px;
  background: #01376E;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  border: 0;
}
a.button_broad {
  display: block;
  text-align: center;
  margin-bottom: 8px;
}
a.button:hover,
a.button_broad:hover,
.btn:hover {
  background: #226384;
}
.border-bottom {
  border-bottom: 1px solid #000;
}
ul[class^="ul-"],
ul[class^="ul-"] ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul[class^="ul-"] li {
  padding-left: 0;
}
ul[class^="ul-"] li li {
  padding-left: 20px;
}
ul[class^="ul-"] li:before {
  font-family: "FontAwesome";
  margin-right: 10px;
}
ul[class^="ul-"] .ck-list-bogus-paragraph {
  display: inline-block !important;
}
ul.ul-check li:before,
ul.ul-check-colored li:before {
  content: "\f00c";
}
ul.ul-check-colored li:before {
  color: #0000FF;
}
/** justify **/
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
