@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat_light.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat_regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat_medium.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/montserrat_semibold.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat_bold.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


html {
    margin: 0;
    padding: 0;
    max-width: 100%;
    scrollbar-width: thin;
    overflow-x: hidden;
}
@media(max-width:1350px){
html {
    font-size: 14px;
}    
}
@media(min-width:1351px){
html {
    font-size: 15px;
}    
}
body {
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #fff;
    font-family: 'Montserrat', 'Century Gothic', sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    margin: 0 auto;
    padding: 0;
    min-height: 100%;
    width: calc(100% - 50px);
    min-width: 300px;
    max-width: 1600px;
    height: auto;
    position: relative;
    overflow-x: hidden;
    background-color: #fff;
}
body * {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    outline: 0;
}
h1, .h1 {
	font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
} 
@media (max-width:500px) {
h1, .h1 {
	font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
}
}

h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
    font-weight: 600;
}

.button {
    font-size: 2rem;
    position: relative;
}
h1 {
    margin: 20px 0 10px;
    position: relative;
}

h1:after, .button:before {
	content: "";
	display: inline-block;
	background-color: #ffd600;
	width: 0.7em;
	height: 0.7em;
	top: 0;
	bottom: 0;
}
h1:after {
	margin: auto 0 auto 0.25em;
}

h2, .h2, body section.content article p + h2 {
    color: #6d7071;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 3.5rem;
}
h3, .h3 {
    color: #404040;
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
}
h4, .h4 {
    color: #ffd600;
    font-size: 1.1rem;
    margin-top: 2em;
    font-weight: 600;
}
h5, .h5 {
    font-size: 1rem;
    font-weight: 600;
}
p {
    line-height: 1.6em;
}
#main ul,#main ol {
    list-style: none;
    padding: 0;
}
#main ol li, #main ul li {
    padding-left: 2rem;
    text-indent: -1rem;
}
#main ol li::before, #main ul li::before {
    display: inline-block; 
    width: 1rem;
}
#main ol {
    counter-reset: li
}
#main ol li {
    counter-increment: li;
}
#main ol li::before {
    content: counter(li) ".";
}
#main ul li::before {
    content: "•";
}
ul.reflist li {
	margin-bottom: 30px;
}
ul.reflist {
	margin-top: 40px;
}

a {
    color: #e3e3e3;
    text-decoration: none;
    transition: color 0.5s ease-in;
}
a:hover {
    color: #d7d7d7;
    transition: color 0.5s ease-in;   
}

#main a {
    color: #000;
    font-weight: 600;
    transition: color 0.5s ease-in;
    text-decoration: underline;
}

#main a:hover {
    color: #f9b812;
    font-weight: 600;
    transition: color 0.5s ease-in;
    text-decoration: underline;   
}

footer a, .tosoc a {
    color: #3f3f3f;
}
footer a:hover, .tosoc a:hover {
    color: #f9b812;
}
.teaser a {
    text-transform: uppercase;
}
body i.yellow {
    color: #f9b812;	
}
body i.grey {
	color: #6d7071;
}

span.table {
    display: block;
    max-width: 370px;
}
span.table > span{
    display: flex;
    flex-flow: row wrap;
}
span.table > span > *:first-child {
    flex: 1 1 60px;
}
span.table > span > *:last-child {
    flex: 3 1 150px;
}
.flex {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -20px;
    width: calc(100% + 40px);
}
.box1 {flex: 1 1 220px;}
.box2 {flex: 2 1 448px;}
.box3 {flex: 3 1 380px;}
.box4 {flex: 4 1 520px;}
.box5 {flex: 5 1 660px;}
.box5 {flex: 6 1 800px;}
.boxfull {flex: 1 1 100%;}
.boxfull.margin {margin:20px;}
.box1,.box2,.box3,.box4,.box5, .boxfull {max-width: 100%;}

.prefooter > section {
    margin: -4px;
}
.prefooter > section a:first-of-type {
	background-color: #888b8c;
}
.prefooter > section a:nth-of-type(2) {
	background-color: #6d7071;
}
.prefooter > section a:last-of-type {
	background-color: #545657;
}
.wrapper {
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    padding: 0px;
}
.wrapper.content > * {
    margin: 0;
}
#logo {
	width: 100%;
	flex: 0 0 370px;
	display: block;
}
#logo img {
	width: 100%;
	min-width: 150px;
	max-width: 370px;
	height: 140px;
	object-fit: contain;
}
@media (max-width:700px) {
#logo {
	width: 100%;
	text-align: center;
	flex: 0 0 200px;
	display: block;
}
#logo img {
	width: 100%;
	min-width: 150px;
	max-width: 200px;
	height: 140px;
	object-fit: contain;
}
nav {
    padding: 0px !important;
}
}

nav {
    padding-top: 0px;
    padding-bottom: 0px;
    text-transform: uppercase;
    font-size: 1.5rem;
    position: relative;
	display: flex;
    padding: 0px 20px;
    justify-content: flex-end;
	align-items: flex-start;
	margin: 0px;
}
nav ul li > a, nav ul li > span{
    transition: color 0.5s ease-in;
    display: block;
    padding: 15px;
    color: #5a5a5a;
    width: 100%;
}
nav ul li.menuitem.active > a, nav ul li.menuitem.active > span, nav ul li.menuitem a:hover {
    color: #ffd600;
}
nav ul li.active > a, nav ul li.active > span {
    font-weight: 700;
}
nav > ul li.menuitem {
    cursor: pointer;
}

nav .navbutton {
	width: 60px;
	height: 60px;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
    cursor: pointer;
}
nav .navi .navbutton {
    width: 100%;
    justify-content: flex-end;
    padding: 15px;
}
nav .navbutton i:hover {
	color: #ffd600;	
	transition: color 0.5s ease-in;
}
nav .navi, nav .navi .subnavi {
    display: flex;
    width: 100%;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    position: fixed;
    height: 100%;
    top: 0;
    left: -350px;
    background-color: #fff;
    z-index: 2000;
    transition: all 0.5s ease-in;
    box-shadow: 0 0 0px #000;
    padding: 20px 0;
    flex-flow: row wrap;
    align-items: flex-start;
    align-content:flex-start;
    max-width: 350px;
} 
nav .navi.open, nav .navi .subnavi.open {
    left: 0;
    box-shadow: 0 0 15px #000;
} 
nav .navi > * {
    flex: 1 1 100%;
}
nav .navi .subnavi {
    font-size: 16px;
} 
nav .navi .subnavi .submenuitem {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
}
.sbx {
	width: 60px;
	height: 60px;
	justify-content: center;
	align-items: center;
	display: flex;
}
.sb {
	width: 100%;
	/*! margin-left: 15px; */
    display: flex;
    flex-flow: column;
	max-height: calc(100vh - 40px);
}
.sb.is_stuck {
	height: calc(100vh - 40px);
}
.sb.wide {
	margin: 0;
}

/* Shariff */
.sharebox {
    width: auto;
    display: block;
    padding: 0;
    box-sizing: border-box;
    margin: 15px;
}
.share {
    display: block;
    flex-flow: row;
    align-items: center;
}
.share > p  {
    display: inline-flex;
    cursor: pointer;
    margin: 0;
    align-items: center;
}
.share > p i {
    line-height: 1em;
    font-size: 26px;
    display: block;
    color: #545657;
}
.share > p i:hover {
    color: #ffd600;
	transition: color 0.5s ease-in;    
}
.sharebuttons {
    display: flex;
    flex-flow: row wrap;
    margin: auto;
    padding: 15px;
    align-self: flex-end;
}
.sharebuttons > i {
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.sharebuttons > div:not(.tosoc) {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100% !important;
    text-align: left;
    height: auto;
    margin: 10px 0;
    flex: 1 1 400px;
}
.sharebuttons .shariff .orientation-horizontal {
    justify-content: flex-start;
    width: 100%;
}
.sharebuttons .shariff .orientation-horizontal li {
    margin-bottom: 5px;
    margin-right: 5px;
}
.sharebuttons .shariff li,.sharebuttons .shariff li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin: 0;
    border-radius: 100%;
}
.sharebuttons .shariff li a span {
    font-size: 22px !important;
}
.sharebuttons > .tosoc p {
    margin: 0;
    -webkit-hyphens: auto;
    hyphens: auto;
    font-size: 0.8rem;
    line-height: 1.3em;
    white-space: normal;
    text-transform: none;
}
.sharebuttons > div:last-child {
    padding-bottom: 10px!important;
}
.sharebuttons > div:only-child {
    padding-bottom: 10px!important;
}
header {
    position: relative;
    color: #545657;
    display: block;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header  > * {
    width: 100%;
    flex: 0 0 10px;
}
.menuline {
    display: flex;
    font-size: 26px;
}

 
/* Content */

.content > * {
    position: relative;
}

#main {
    background-color: #fff;
	width: 100%;
    padding: 50px;
    color: #000;
}
#main > div:not(.togglecontent) {
    margin-bottom: 50px;
}
#main img {
    max-width: 100%;
}
#main.hideall {
    max-height: 530px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in;
}
#main.hideall.showall {
    max-height: 10000000px;
}
#main.hideall .togglecontent {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    left: 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.5s ease-in;
}
#main.hideall .togglecontent:before {
    content: '';
    position: absolute;
    height: 25px;
    width: 100%;
    bottom: 100%;
/*    background: -moz-linear-gradient(top, rgba(172,176,177,0) 0%, rgba(172,176,177,0) 3%, rgba(172,176,177,1) 100%);
    background: -webkit-linear-gradient(top, rgba(172,176,177,0) 0%,rgba(172,176,177,0) 3%,rgba(172,176,177,1) 100%);
    background: linear-gradient(to bottom, rgba(172,176,177,0) 0%,rgba(172,176,177,0) 3%,rgba(172,176,177,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#acb0b1', endColorstr='#acb0b1',GradientType=0 );*/
    transition: height 0.5s ease-in;
}
#main.hideall .togglecontent.toggled:before {
    height: 0px;
}
#main.hideall.showall .togglecontent:before {
    height: 0;
    top: 0;
}
#main.hideall .togglecontent:hover {
    color: #f9b812;
}

/* Sidebar */
.right {
	display: flex;
	align-items: stretch;
	/*! max-height: calc(100vh - 40px); */
}

.right .sideimg, .right img {
    display: block;
    position: relative;
    width: 100%;
    min-height: 100px;
	background-image: url(../images/general/ickert-personalkonzepte_background.jpg);
	background-position: center center;
	margin-bottom: 8px;
	background-size: cover;
	background-repeat: no-repeat;
    flex: 1 1 calc(100% - 70px);
}
.right .sideimg {
    padding-top: 60%;
}
.right .sideimg p {
    position: absolute;
    bottom: 0;
    font-weight: 500;
    left: 0;
    margin: 0;
    padding: 20px 50px;
    text-shadow: 0 0 20px #000, 0 0 12px #000, 0 0 5px #000;
}
p.kontaktdaten {
    background-color: #6d7071;
    margin: 0;
    padding: 50px;
}
p.kontaktdaten > span {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: row wrap;
}
p.kontaktdaten > span > span {
    flex: 1 1 50px;
}
p.kontaktdaten > span > a {
    flex: 4 1 200px;
}

.prefooter {
}
.prefooter h2 {
    color: #fff;
	font-size: 1.7rem;
	margin: 0;
    position: relative;
}
.prefooter h2 span {
    color: #82bb25;
}

.prefooter .content {
	background-color: #fff;
	display: flex;
	padding: 0px;
	margin: 0px;
}

.teaser {
	padding: 50px;
}

.button:before {
	content: "";
	display: inline-block;
	background-color: #fff;
	width: 20px;
	height: 20px;
	margin-right: 15px;
}

button, .button {
    background-color: #ffd600;
    text-transform: uppercase;
    display: inline-flex;
    justify-content: flex-start;
	align-items: center;
    font-weight: 400;
    color: #545657;
    touch-action: manipulation;
    border: none;
    padding: 15px;
    line-height: 1em;
    cursor: pointer;
    transition: background-color 0.5s ease-in, color 0.5s ease-in;
    width: 100%;
}

#main button, #main .button {
	font-size: 1rem;
	min-width: 300px;
	max-width: 600px;
}

.button a{
    color: #545657;
}

.button:hover a {
    color: #fff;
    transition: color 0.5s ease-in;
}
button:hover, .button:hover {
    background-color: #545657;
    color: #ffd600;
    transition: background-color 0.5s ease-in, color 0.5s ease-in;
}

.button > * {
    white-space: nowrap;
}
@media (max-width:1250px) {

.box3 {flex: 3 1 100%;}
.box3:nth-of-type(2) {
	background-color: #6d7071;
	margin: 15px 0px;
}
}


/* Footer */

footer {
    text-align: center;
    padding: 20px;
}
footer p {
    margin: 0;
    line-height: 1em;
    color: #6d7071;
}

/* Formular */
form {
    text-align: left;
    display: flex;
    flex-flow: row wrap;
    width: auto;
    margin: 0px -20px;
    padding: 0px;
}
form .form-field, form .form-spacer, .form-actions.secondary-accent, form > label {
    display: block;
    width: 100%;
    margin: 0px 0px 20px;
    padding: 0px 20px;
}
form .form-field.empty {
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
}
form .form-field {
    box-sizing: border-box;
}
form .form-field.half {
    flex: 1 1 350px;
}
form .form-field.full {
    flex: 1 1 100%;
}
form .form-field .form-label {
    margin-bottom: 5px;
}
form .form-field.default .form-data {
    display: none;
}
.form-input-wrapper, .form-input-wrapper input  {
    width: 100%;
    max-width: none;
}
form .checkboxes {
    display: block;
}
form .checkboxes > label {
    padding: 0;
    margin: 0;
}
.buttons {
    flex: 1 1 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    box-sizing: border-box;
    align-self: flex-end;
    margin: 40px 0;
}
.buttons button, .buttons .button {
    flex: 1 1 150px;
    margin: 10px;
}
.form-textarea-wrapper, .form-textarea-wrapper textarea {
    width: 100%;
}
.form-textarea-wrapper textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 200px;
    resize: none;
}
input, textarea, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Montserrat', sans-serif;
} 
input, textarea {
    border: none;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    font-weight: 300;
    background-color: #888b8c;
    border-radius: 10px;
    color: #fff;
    transition: background-color 0.5s ease-in, color 0.5s ease-in;
    box-shadow: none;
}
input:focus, textarea:focus {
    background-color: #888b8c;
    color: #ffd600;
}
.radio {
	display: block;
}
form input[type='checkbox'],
form input[type='radio'] {
  width:auto;
  float:left;
  margin-right: .75em;
  background:transparent;
  border:none;
}

form input[type='checkbox']:checked,
form input[type='checkbox']:not(:checked),
form input[type='radio']:checked,
form input[type='radio']:not(:checked) {
  background: transparent;
  position: absolute;
  visibility: hidden;
  margin:0;
  padding:0;
}

form input[type='checkbox'] + label,
form input[type='radio'] + label {
    cursor: pointer;
    text-indent: -21px;
    display: block;
}

form input[type='checkbox']:checked + label::before,
form input[type='checkbox']:not(:checked) + label::before,
form input[type='radio']:checked + label::before,
form input[type='radio']:not(:checked) + label::before {
    content: '' !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 17px;
    height:17px;
    border-radius: 50%;
    position: relative;
    top:-5px;
    background-color: #888b8c;
    background-image: url(../img/general/check.png);
    margin-right: 2px;
    background-size: 0%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all .2s ease-in;
    text-align: center;
    font-size: 2rem;
    line-height: 0.5em;
    text-indent: 0px;
    border: none;
}

form input[type=radio]:checked + label::before,
form input[type=radio]:not(:checked) + label::before {
  border-radius: 50%;
}

form input[type='checkbox']:hover  + label::before,
form input[type='radio']:hover  + label::before {
    background-color: #ffd600;
    background-size: 65%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all .2s ease-in;
}

form input[type='checkbox']:checked  + label::before,
form input[type='radio']:checked  + label::before {
    background-color: #ffd600;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all .2s ease-in;
}
@media (max-width:600px) {
header {padding: 0px;}
.teaser, p.kontaktdaten, #main, .right .sideimg p {
    padding: 15px 0;margin: 0;
    }
    .right .sideimg p, p.kontaktdaten, .prefooter .wrapper.content > * {
    padding: 15px;
    }
.prefooter h2 {font-size: 1.4rem;}
}