:root {
  --bgcolor: #f3ef99;
  --primecolor: #201e5c;
  --white: #ffffff;
}

@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/libre-baskerville-v16-latin-regular.eot");
  src: url("../fonts/libre-baskerville-v16-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/libre-baskerville-v16-latin-regular.woff2") format("woff2"),
    url("../fonts/libre-baskerville-v16-latin-regular.woff") format("woff"),
    url("../fonts/libre-baskerville-v16-latin-regular.ttf") format("truetype"),
    url("../fonts/libre-baskerville-v16-latin-regular.svg#LibreBaskerville")
      format("svg");
}
@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/libre-baskerville-v16-latin-italic.eot");
  src: url("../fonts/libre-baskerville-v16-latin-italic.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/libre-baskerville-v16-latin-italic.woff2") format("woff2"),
    url("../fonts/libre-baskerville-v16-latin-italic.woff") format("woff"),
    url("../fonts/libre-baskerville-v16-latin-italic.ttf") format("truetype"),
    url("../fonts/libre-baskerville-v16-latin-italic.svg#LibreBaskerville")
      format("svg");
}
@font-face {
  font-display: swap;
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/libre-baskerville-v16-latin-700.eot");
  src: url("../fonts/libre-baskerville-v16-latin-700.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/libre-baskerville-v16-latin-700.woff2") format("woff2"),
    url("../fonts/libre-baskerville-v16-latin-700.woff") format("woff"),
    url("../fonts/libre-baskerville-v16-latin-700.ttf") format("truetype"),
    url("../fonts/libre-baskerville-v16-latin-700.svg#LibreBaskerville")
      format("svg");
}
@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/raleway-v34-latin-500.eot");
  src: url("../fonts/raleway-v34-latin-500.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/raleway-v34-latin-500.woff2") format("woff2"),
    url("../fonts/raleway-v34-latin-500.woff") format("woff"),
    url("../fonts/raleway-v34-latin-500.ttf") format("truetype"),
    url("../fonts/raleway-v34-latin-500.svg#Raleway") format("svg");
}
@font-face {
  font-display: swap;
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/raleway-v34-latin-700.eot");
  src: url("../fonts/raleway-v34-latin-700.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/raleway-v34-latin-700.woff2") format("woff2"),
    url("../fonts/raleway-v34-latin-700.woff") format("woff"),
    url("../fonts/raleway-v34-latin-700.ttf") format("truetype"),
    url("../fonts/raleway-v34-latin-700.svg#Raleway") format("svg");
}

body {
  font-size: 1rem;
  margin: 0px;
  padding: 0px;
  font-family: "Libre Baskerville";
  overflow-x: hidden;
}
html,
body {
  overflow-x: hidden;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 28px;
}
img {
  max-width: 100%;
}
a,
a:hover,
a:focus,
a:visited,
button,
input,
textarea,
img {
  text-decoration: none !important;
  outline: none !important;
}
address {
  margin: 0;
}
textarea {
  height: 10.363rem;
  resize: none;
  margin-top: 1.25rem;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
}
::-webkit-input-placeholder {
  opacity: 1 !important;
}
::-moz-placeholder {
  opacity: 1 !important;
}
:-ms-input-placeholder {
  opacity: 1 !important;
}
:-moz-placeholder {
  opacity: 1 !important;
}
section {
  position: relative;
  clear: both;
}
section:before,
section:after {
  clear: both;
  display: table;
  content: "";
}

.section_block::-webkit-scrollbar {
  width: 4px;
  border-radius: 10px;
  background: rgba(0,0,0,.2);
}

.section_block::-webkit-scrollbar-thumb {
  background: var(--primecolor);
}

@-moz-document url-prefix() {
  .section_block {
    scrollbar-width: thin; /* Options: auto, thin, none */
    scrollbar-color: var(--primecolor) var(--bgcolor); /* thumb color, track color */
  }
}

.content_mid ul,
.content_mid ol {
  padding-left: 15px;
  color: var(--primecolor);
  font-family: "Raleway";
}
.content_mid h1,
.content_mid h2,
.content_mid h3,
.content_mid h4,
.content_mid h5,
.content_mid h6,
.content_mid i,
.content_mid u {
  color: var(--primecolor);
  font-family: "Raleway";
}
.top_nav {
  max-width: 940px;
  margin: 0 auto;
  background-color: var(--primecolor);
  text-align: center;
  padding: 0.938rem 0;
  position: absolute;
  position: fixed;
  z-index: 9;
  right: 0;
  left: 0;
  border-radius: 0 0 4px 4px;
  z-index: 20;
}
.top_nav ul,
.content_header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.top_nav li {
  display: inline-block;
  padding-right: 2.125rem;
  border-right: 1px solid var(--white);
  margin-right: 1.563rem;
}
.top_nav li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
.top_nav li a {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 30px;
}
.top_nav li a:hover,
.top_nav li a:focus,
.top_nav li a.active {
  color: var(--bgcolor);
  cursor: pointer;
  text-decoration: underline !important;
  text-underline-offset: 0.25lh;
  /* text-decoration-thickness: 0.1rem !important; */
}

.home-icon {
  height: 1.2rem;
  width: 1.15rem;
  margin-bottom: 3px;
  cursor: pointer;
  text-underline-offset: 2rem;
}

.section_block {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  height: 875px;
  overflow-y: auto;
  overflow-x: hidden;
}
/*.section_block:hover {
    overflow-y: auto;
}*/
.section_block.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    /*transform: translateY(10px);*/
  }
  to {
    opacity: 1;
    /*transform: translateY(0);*/
  }
}
.main_content_wrap {
  background-color: var(--bgcolor);
  padding-top: 5rem;
  padding-bottom: 1.5rem;
}
.layout_inner {
  display: flex;
}
.side-nav {
  width: calc(25% - 8px);
  margin-top: -4.5rem;
}
.main-content {
  width: 75%;
  background-image: url(../images/main_border.png);
  background-repeat: no-repeat;
  background-size: 100%;
  padding: 3.438rem 2.5rem 0 5rem;
}
.side-nav a {
  text-align: center;
  position: relative;
  width: calc(100% - 29px);
  margin: 0 auto;
  z-index: 9;
  padding: 7.313rem 0 5.938rem 0;
}
.side-nav a::after {
  content: "";
  width: 100%;
  height: calc(100% - 72px);
  transform: scale(0);
  transition: transform 0.3s;
  background-color: var(--primecolor);
  border-radius: 10px;
  position: absolute;
  z-index: -1;
  top: 33px;
  left: 0;
}
.side-nav a.active::after,
.side-nav a:hover::after {
  transform: scale(1);
}
.side-nav a::before {
  content: "";
  background-image: url(../images/seprator_1.png);
  height: 8px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  right: 0;
  background-repeat: no-repeat;
  background-position: center;
}
.side-nav a:last-child::before {
  content: unset;
}
.side-nav a span {
  font-size: 1.375rem;
  color: var(--primecolor);
  font-style: italic;
  display: block;
  font-weight: 400;
  margin-bottom: 0.313rem;
  line-height: 31.25px;
}
.side-nav a b {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primecolor);
  display: block;
  margin-bottom: 0.375rem;
}
.side-nav a.active span,
.side-nav a.active b,
.side-nav a:hover span,
.side-nav a:hover b {
  color: var(--bgcolor);
}
.content_header {
  text-align: center;
  position: relative;
  padding-bottom: 3.125rem;
  padding-right: 2.5rem;
  width: calc(100% - 29px);
}
.content_header::before {
  content: "";
  background-image: url(../images/seprator_2.png);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 99%;
  height: 8px;
  background-repeat: no-repeat;
  background-position: center;
}
.logo.mainline,
.logo.subline {
	display: block;
	line-height: 1.2;
}
.content_header h1,
.logo.mainline {
  font-size: 3.938rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--primecolor);
}
.content_header h2,
.logo.subline {
  font-size: 2.125rem;
  color: var(--primecolor);
  font-weight: 400;
}
.content_header ul {
  width: 42%;
  margin: 0 auto;
  margin-top: 2.125rem;
}
.content_header li {
  font-size: 1.375rem;
  color: var(--primecolor);
  font-style: italic;
  display: inline-block;
  position: relative;
  padding: 0 0.938rem;
  margin-bottom: 0.938rem;
}
.content_header li::before {
  content: "";
  background-image: url(../images/list_seprator.png);
  width: 11px;
  height: 11px;
  position: absolute;
  top: 10px;
  right: -7px;
}
.content_header li:nth-child(3)::before,
.content_header li:last-child::before {
  content: unset;
}
.content_left p {
  font-size: 1.063rem;
  color: var(--primecolor);
  font-family: "Raleway";
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 0.938rem;
}
.content_left p b {
  font-weight: 700;
}
.content_left p:nth-child(1)::first-letter {
  font-family: "Libre Baskerville";
  font-size: 1.375rem;
  font-weight: 700;
}
.content_mid {
  padding-top: 4.375rem;
  position: relative;
  z-index: 9;
  padding-right: 2.5rem;
}
.content_left {
  width: calc(50% - 20px);
}
.content_right {
  position: absolute;
  top: -20px;
  z-index: -1;
  right: -40px;
}
.f_width .content_left {
  width: 100%;
}

.footer_wrap ul {
  margin: 0;
  list-style: none;
}
.footer_cnct ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_wrap {
  padding-top: 3.5rem;
  padding-bottom: 4.688rem;
}
.footer_cnct h3 {
  font-size: 1.375rem;
  font-style: italic;
  color: var(--primecolor);
  margin-bottom: 0.75rem;
}
.footer_cnct li {
  background-color: var(--primecolor);
  display: inline-block;
  padding: 0.375rem 1.563rem;
  border-radius: 4px;
  transition: background-color 0.4s;
  margin-right: 1.5rem;
}
.footer_cnct li:hover {
  background-color: #110f38;
}
.footer_cnct li a {
  font-size: 1.125rem;
  color: var(--white);
  font-weight: 700;
}
.footer_cnct li img {
  margin-right: 0.25rem;
}
.footer_cnct li img,
.footer_cnct li span {
  vertical-align: middle;
}
.footer_menu {
  text-align: right;
  padding-top: 2.938rem;
}
.footer_menu li {
  display: inline-block;
  padding-left: 1.3rem;
}
.footer_menu li a {
  font-size: 1.125rem;
  color: var(--primecolor);
  font-weight: 700;
}
.footer_menu li a:hover {
  text-decoration: underline !important;
  text-underline-offset: 6px;
}
.footer_bot {
  padding-top: 2.5rem;
}
.footer_bot p {
  font-size: 0.875rem;
  color: rgba(32, 30, 92, 0.5);
  margin-bottom: 0;
}
.janp {
  display: block;
  text-align: right;
}

.corners {
  display: none;
}

.hide {
  display: none;
}

.content_mid h1, 
.content_mid h2, 
.content_mid h3 {
	font-family: "Libre Baskerville";
	margin-bottom: 1.5rlh;
}

.content_mid p, 
.content_mid ul {
	margin-bottom: 1.5rlh !important;
}

.content_mid h1, 
.content_mid h2 {
	font-size: 1.75rem;
}
.content_mid h3 {
	font-size: 1.5rem;
}

.content_mid .imp-dse h2 {
	font-size: 1.5rem;
}
.content_mid .imp-dse h3 {
	font-size: 1.25rem;
}
.content_mid .imp-dse h4 {
	font-size: 1.125rem;
}

p a {
	color: var(--primecolor);
	text-decoration: underline !important;
}

p a:hover {
	text-decoration: none !important;
}

.content-map {
	height: auto;
}
@media screen and (min-width: 767px) {
.content_left P.kontaktblock {
	font-size: 1.5rem;
	}
}
P.kontaktblock A {
	text-decoration: none !important;
	
	}

@media screen and (min-width: 1801px) {
  .container {
    max-width: 1827px;
  }
}

@media screen and (max-width: 1199px) {
  .side-nav {
    display: none;
  }
  .layout_inner {
    display: block;
  }
  .main_content_wrap {
    padding-top: 14.5rem;
  }
  .main-content {
    width: 100%;
    background-image: none;
    padding: 2.813rem 1.25rem 1.25rem 1.25rem;
    /*border: 2px solid var(--primecolor);*/
    border-radius: 4px;
    position: relative;
  }
  .corners {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
  }
  .corners.top {
    background-image: url(../images/mob_top.png);
    top: 0;
    left: 0;
  }
  .corners.bottom {
    background-image: url(../images/mob_bottom.png);
    bottom: 0;
    left: 0;
    background-position: bottom;
  }
  .corners.left {
    background-image: url(../images/mob_left_right.png);
    left: 3px;
    top: 15px;
    width: 1%;
    background-repeat: repeat;
    height: calc(100% - 30px);
  }
  .corners.right {
    background-image: url(../images/mob_left_right.png);
    right: 3px;
    top: 15px;
    width: 1%;
    background-repeat: repeat;
    height: calc(100% - 30px);
  }
  .content_header {
    padding-bottom: 2.5rem;
    padding-right: 0;
    width: 100%;
  }
  .content_header h1,
  .logo.mainline {
    font-size: 2rem;
  }
  .content_header h2,
  .logo.subline {
    font-size: 1.375rem;
    margin-top: 0.313rem;
  }
  .content_header li:nth-child(3)::before {
    content: "" !important;
  }
  .content_header ul {
    width: 100%;
    margin-top: 1.875rem;
  }
  .content_header li {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
  }
  .content_mid {
    padding: 2.5rem 0.5rem;
  }
  .content_left {
    width: 100%;
  }
  .content_left p {
    font-size: 1rem;
    line-height: 26px;
    margin-bottom: 0.938rem;
  }
  .content_right {
    position: relative;
    top: 0;
    z-index: -1;
    right: 0;
  }
  .section_block {
    height: 100%;
  }
  .footer_wrap {
    padding: 3.438rem 0;
    text-align: center;
  }
  .footer_cnct h3 {
    font-size: 1.125rem;
  }
  .footer_cnct li {
    display: block;
    padding: 0.625rem;
    margin-right: 0;
    margin-bottom: 0.313rem;
  }
  .footer_cnct li a {
    font-size: 1rem;
  }
  .footer_menu li:nth-child(1) {
    padding-left: 0;
  }
  .footer_menu li {
    display: inline-block;
    padding-left: 1.25rem;
  }
  .footer_menu li a {
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .top_nav {
	position: fixed;  
	display: flex;
	align-items: center;
	justify-content: center;
    max-width: 400px;
	width: 100%;
	height:100dvh;
	right: -100%;
	left: auto;
	background: var(--primecolor);
	transition: right .3s ease 0ms;
	z-index:10;
  }
  .top_nav.open {
	right: 0;
  }
   .top_nav .nav-toggler {
	position: fixed;   
    width: 3rem;
	height: 3rem;
	top: 1rem;
	right: 1rem;
	background: var(--primecolor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-list' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5'/%3E%3C/svg%3E")no-repeat center;
	background-size: 1.5rem !important;
	transition: background .6s ease 0ms;
	border: 0;
	border-radius: 4px;
  }
   .top_nav .nav-toggler.active {
	background: var(--primecolor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-x-lg' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z'/%3E%3C/svg%3E")no-repeat center;
   }
  .top_nav ul {
	  width: 80%;
  }
  .top_nav li {
    display: inline-block;
    border-right: none;
    width: 100%;
    margin-bottom: 0.063rem;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 0.25rem;
	border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .top_nav ul li:first-child {
	  display: none;
  }
  .top_nav li a {
    font-size: 1rem;
    line-height: 27px;
    background-color: var(--primecolor);
    padding: 0.625rem 0;
  }
  .main_content_wrap {
        padding-top: 5rem;
  }
  .content_header li::before {
    top: 7px;
   }
  .janp {
    text-align: center;
    padding-top: 1.25rem;
  }
  .footer_menu {
    text-align: center;
    padding-top: 2.5rem;
  }
}

@media screen and (max-width: 486px) {
  .content_mid {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
  }

  .content_left p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .top_nav {
    max-width: 750px;
  }
  .top_nav li {
    padding-right: 1.25rem;
    margin-right: 1.25rem;
  }
  .top_nav li a {
    font-size: 1rem;
    line-height: 24px;
  }
  .main_content_wrap {
    padding-top: 5.625rem;
  }
  .content_header li::before {
    width: 9px;
    height: 9px;
    top: 10px;
    right: -7px;
    background-size: contain;
  }
  .section_block {
    height: 590px;
  }
  .content_right {
    position: absolute;
    width: 100%;
    text-align: right;
  }
  .content_right img {
    width: 75%;
  }
  .content_left {
    width: calc(60% - 1rem);
    padding-left: 1rem;
  }
  .footer_wrap {
    text-align: left;
  }
  .footer_cnct li {
    display: inline-block;
    margin-right: 2.5rem;
  }
  .footer_menu li {
    display: block;
    margin-top: 0.938rem;
  }
  .footer_menu {
    text-align: right;
    padding-top: 0.625rem;
  }

  .corners.left {
    left: 6px;
    top: 25px;
    height: calc(100% - 50px);
  }
  .corners.right {
    right: 6px;
    top: 25px;
    height: calc(100% - 50px);
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .section_block {
    height: 100%;
  }
  .content_left p.lower-paragraph {
    width: 150%;
  }
}

@media screen and (max-width: 1199px) and (min-width: 991px) {
  .corners.left {
    left: 10px;
    top: 35px;
    height: calc(100% - 70px);
    background-repeat: repeat-y;
  }
  .corners.right {
    right: 8px;
    top: 35px;
    height: calc(100% - 70px);
    background-repeat: repeat-y;
  }
  .main-content {
    padding: 2.813rem 2rem 1.25rem 1.25rem;
  }
}

@media screen and (max-width: 1800px) and (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  .top_nav {
    max-width: 800px;
  }
  .top_nav li {
    padding-right: 1.875rem;
    margin-right: 1.25rem;
  }
  .top_nav li a {
    font-size: 1rem;
    line-height: 28px;
  }
  .side-nav a b {
    font-size: 1.625rem;
  }
  .side-nav a span {
    font-size: 1rem;
    line-height: 25.25px;
  }
  .content_header h1,
  .logo.mainline {
    font-size: 2.75rem;
  }
  .content_header h2,
  .logo.subline {
    font-size: 1.5rem;
  }
  .content_header ul {
    width: 70%;
    margin-top: 1.875rem;
  }
  .main-content {
    width: 60%;
    background-size: 100% 100%;
    padding: 3.438rem 1.875rem 1.875rem 3.125rem;
  }
  .content_header li {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
  }
  .content_header li::before {
    width: 8px;
    height: 8px;
    top: 9px;
    right: -6px;
    background-size: contain;
  }
  .section_block {
    height: 520px;
  }
  .side-nav {
    margin-top: -1.275rem;
  }
  .side-nav a {
    padding: 2.813rem 0;
  }
  .side-nav a::after {
    height: calc(100% - 2.25rem);
    top: 13px;
  }
  .side-nav a::before,
  .content_header::before {
    background-size: contain;
  }
  .content_left {
    width: calc(60% - 30px);
  }
  .content_left p {
    font-size: 1rem;
    line-height: 26px;
  }

  .content_left p.lower-paragraph {
    width: 150%;
  }

  .content_right {
    width: 100%;
    text-align: right;
    right: 0;
    top: 0;
  }
  .content_right img {
    width: 80%;
  }
  .content_mid {
    padding-top: 3.0rem;
    padding-right: 0.625rem;
  }
  .footer_cnct h3 {
    font-size: 1.125rem;
  }
  .footer_cnct li a {
    font-size: 1rem;
  }
  .footer_menu li a {
    font-size: 1rem;
  }
  .footer_wrap {
    padding: 3.438rem 0;
  }
}

