/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  font-display: swap;
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v18-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}


body {
  margin: 0;
  padding: 0;
  color: #000000;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.80857;
  font-weight: normal;
  background-color: #c0c0c0;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
}

img {
  max-width: 100%;
  height: auto;
}

#page {
  max-width: 1500px;
  margin: 0 auto;
  background: #fdfdfd;
}

.header {
  display: flex;
}

.header-left {
  display: none;
}

.header-logo {
  /* float: left; */
  /* width: 125px; */
  flex: 0 0 125px;
  height: 116px;
  margin: 10px 35px 0 36px;
}

.header-right {
  /* float: left; */
  /* width: 1172px; */
  flex: 1;
  height: 60px;
  margin-top: 68px;
  background-color: #53c9c4;
  -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.14); 
  box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.14);
}

ul.nav {
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #53c9c4;
  
  position:absolute;
		top:128px;
    left: 0;
    right: 0;
		width:100%;
		height:0;
		overflow:hidden;
    
    
}

ul.nav.active{
		height:auto;
	}

ul.nav li {
  margin: 0;
  padding: 0;
  display: list-item;
  text-align: center;
}

ul.nav li a {
  width: 105%;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: background-color 0.5s ease-out;
}

ul.nav li.active a,
ul.nav li a:hover {
  background-color: #5a4892;
}

.nav-toggle{
	position:absolute;
	top:72px;
	right:0;
	width:50px;
	height:50px;
	/* background-color:#11999e; */
	cursor:pointer;
}
span.icon-bar{
	position:absolute;
	right:12px;
	display:block;
	width:26px;
	height:2px;
	background-color:#ffffff;
}
.icon-bar:nth-child(1){
  top:17px;
}
.icon-bar:nth-child(2){
  top:24px;
}
.icon-bar:nth-child(3){
  top:31px;
}
.nav-toggle{
		display:block;
	}

span.icon-bar{
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
.nav-toggle.active .icon-bar:nth-child(1){
	top:24px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
.nav-toggle.active .icon-bar:nth-child(2){
	width:0;
}
.nav-toggle.active .icon-bar:nth-child(3){
	top:24px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.home-teaser-container {
  box-sizing: border-box;
  width: 100%;
  margin: 40px 0px 40px 0px;
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  /* flex-direction: row; */
  /* flex-wrap: wrap; */
  /* gap: 20px; */

}

.home-teaser {
  flex: none;
  box-sizing: border-box;
  padding-bottom: 40px;
  padding-left: 1em;
  padding-right: 1em;
  background-color: #5a4892;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.2); 
  box-shadow: 6px 6px 6px 0px rgba(0,0,0,0.2);
  text-align: center;
  
}

.home-teaser-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.home-teaser h2 {
  padding-top: 20px;
  color: #fff;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 20px;
}

.home-teaser img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 0.4;
  transition: opacity 0.5s;
}

.home-teaser:hover img {
  opacity: 1;
}

.flex-container {
  display: block;
  width: 100%;
}

.main {
  margin: 0px;
}

.fullwidth {
  width: 100%;
}

.floatwidth {
  /* width: auto; */
  /* margin-right: 366px; */
  flex: none;
  padding: 20px;
}

#sidebar-right {
  /* float: right; */
  /* width: 266px; */
  /* height: auto; */
    /* overflow:auto; */
  margin: 20px;
  display: block;
  flex: none;
}

.mod-aside {
  height: auto;
}

.mod-aside.lila {
  background-color: #5a4892;
  color: #fff;
}

.mod-aside.petrol {
  background-color: #53c9c4;
  color: #fff;
}

.mod-aside,
.mod-aside img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.mod-aside img {
  width: 100%;
}

.aside-inner {
  padding: 30px 30px 100px 30px;
}

.aside-inner h3 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: 22px;
  line-height: 1.3;
}

.aside-inner p {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.mod-aside-spiral {
  position:relative;
  background: url(../images/spiral.png) no-repeat top right;
  width: auto;
  height: 165px;
  padding-bottom: 50px;
}

.page-header h1,
.itemid-109 h1,
.itemid-117 h1 {
  display: inline-block;
  background-color: #5a4892;
  color: #fff;
  margin: 0 0 20px 0;
  padding: 5px 30px;
  font-weight: normal;
  font-size: 24px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer {
  background-color: #5a4892;
  text-align: center;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}


.clearfix::after {
  content: "";
  clear: both;
  display: table;
}


.mceContentBody {
    background-color: #fdfdfd;
}

.visform [class^="fieldset-"].active {
  border: 0;
  padding: 0;
}

.visform input, .visform select, .visform textarea {
  padding: 5px!important;
}

.vis_mandatory {
  color: #000000!important;
  font-weight: normal!important;
}

.visform .btn {
  background-color: #fdfdfd;
  padding: 4px 12px!important;
  font-size: 1em!important;
}

@media all and (min-width: 740px) {
  .flex-container {
    display: flex;
  }
  
  .main {
    margin: 70px;
  }

  .floatwidth {
    flex: 1;
    padding: 0;
  }

  #sidebar-right {
    display: flex;
    flex: 0 0 300px;
    margin: 70px 20px 70px 0;
  }

  .mod-aside {
    height: 100%;
  }
}

@media all and (min-width: 790px) {
  .home-teaser-container {
    margin: 40px 0px 60px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .home-teaser {
    flex: 1;
    padding-bottom: 100px;
    padding-left: 1em;
    padding-right: 1em;
   
  }
  .home-teaser h2 {
    padding-top: 60px;
    font-size: 18px;
  }
  .home-teaser h2.less-padding {
    padding-top: 15px;
  }
  .main {
    margin: 40px 20px;
  }
  #sidebar-right {
    flex: 0 0 300px;
  }
  .mod-aside img {
    width: auto;
  }
}

@media all and (min-width: 940px) {
  /* ul.nav li { */
    /* margin: 0; */
    /* padding: 0; */
    /* display: inline; */
    /* text-align: center; */
  /* } */
  /* ul.nav li a { */
    /* width: 25%; */
    /* height: 60px; */
    /* line-height: 60px; */
    /* display: inline-block; */
    /* color: #fff; */
    /* text-decoration: none; */
    /* font-size: 24px; */
    /* transition: background-color 0.5s ease-out; */
  /* } */
  .header-left {
    display: block;
    flex: 0 0 132px;
    height: 60px;
    margin-top: 78px;
    background-color: #53c9c4;
    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.14); 
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.14);
  }
  .header-logo {
    margin: 30px 35px 0 36px;
  }
  .header-right {
    margin-top: 78px;
  }

  .nav-toggle{
	  display:none;
  }
  ul.nav {
    position:relative;
		top:auto;
		width:auto;
		height:auto;
  }

  ul.nav li {
    display: inline;
    text-align: center;
  }

  ul.nav li a {
    width: 25%;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: background-color 0.5s ease-out;
  }
  .home-teaser-container {
    margin: 80px 0px 100px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    /* margin: 0 auto; */
    /* align-items: center; */
  }
  #sidebar-right {
    margin: 70px 70px 70px 0;
    flex: 0 0 400px;
  }
  .mod-aside-spiral {
  position:relative;
  background: url(../images/spiral.png) no-repeat top right;
  width: 400px;
  height: 165px;
  padding-bottom: 100px;
}
}

@media all and (min-width:1140px) {
  .home-teaser h2 {
    font-size: 24px;
  }
  ul.nav li a {
    width: 175px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
  }
}