.custom_teaserbox {
  background-color: #fff;
  padding: 25px 15px;
  box-shadow: 0 0px 20px 0px rgba(0,0,0,.1);
  transition: .3s ease all;
  color: #072a41;
}

.custom_teaserbox h2, .custom_teaserbox h3 {
	color: #072a41;
}

.custom_teaserbox:hover {
  box-shadow: 0 2px 45px 3px rgba(0,0,0,.15);
}

.custom_teaserbox ul {
  margin-left: 0 !important;
}

.custom_teaserbox p, .custom_teaserbox li {
  color: #072a41;
  font-size: 16px !important;
  line-height: 1.7em;
  font-family: 'IBMPlexSans-Text';
}

.custom_teaserbox h1, .custom_teaserbox h2, .custom_teaserbox h3, .custom_teaserbox h4 {
  font-family: 'IBMPlexSans-SemiBold';
  font-size: 20px !important;
  line-height: 1.166666;
  font-weight: normal!important;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 25px;
  word-break: break-word;
}

.custom_teaserbox a.avia-button {
  width: 100%;
}


@media (min-width: 375px) {
  .custom_teaserbox {
    padding: 25px;
  }
	.custom_teaserbox h1{font-size: 26px !important;}
	.custom_teaserbox h2{font-size: 20px !important;}
	.custom_teaserbox h3{font-size: 18px !important;}
	.custom_teaserbox h4{font-size: 16px !important;}
}

@media (min-width: 640px) {
  .custom_teaserbox {
    padding: 40px;
  }
	.custom_teaserbox h1{font-size: 30px !important;}
	.custom_teaserbox h2{font-size: 24px !important;}
	.custom_teaserbox h3{font-size: 20px !important;}
	.custom_teaserbox h4{font-size: 18px !important;}
}

@media (min-width: 992px) {
  .custom_teaserbox {
    padding: 60px;
  }
	.custom_teaserbox h1{font-size: 36px !important;}
	.custom_teaserbox h2{font-size: 30px !important;}
	.custom_teaserbox h3{font-size: 26px !important;}
	.custom_teaserbox h4{font-size: 22px !important;} 

  .custom_teaserbox a.avia-button {
    width: auto;
  }
}

.custom_teaserbox.transparent {
  border: none;
  box-shadow: none;
  opacity: 0.80;
}

.custom_teaserbox.bordered-gelb {
  border: 7px solid #ffe200;
}

@media (min-width: 992px) {
  .custom_teaserbox.bordered-gelb {
    border: 11px solid #ffe200;
  }
}

.custom_teaserbox.bordered-light-blue {
  border: 7px solid #00b6ec;
}

@media (min-width: 992px) {
  .custom_teaserbox.bordered-light-blue {
    border: 11px solid #00b6ec;
  }
}

.custom_teaserbox.bordered-dark-blue {
  border: 7px solid #072a41;
}

@media (min-width: 992px) {
  .custom_teaserbox.bordered-dark-blue {
    border: 11px solid #072a41;
  }
}


.custom_teaserbox.dark {
  background-color: #4A4A4A;
  box-shadow: none;
}

.custom_teaserbox.gradient {
  background: rgb(43,169,224); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(43,169,224,1) 0%, rgba(86,212,242,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(43,169,224,1) 0%,rgba(86,212,242,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(43,169,224,1) 0%,rgba(86,212,242,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ba9e0', endColorstr='#56d4f2',GradientType=0 ); /* IE6-9 */
  box-shadow: none;
}

.custom_teaserbox.gradient * {
  color: #fff;
}

.custom_teaserbox input:not([type="checkbox"]) {
  height: 50px !important;
  border-bottom: #d8d8d8 solid 1px !important;
  color: #072a41 !important;
}

.custom_teaserbox.dark p, .custom_teaserbox.dark h2, .custom_teaserbox.dark li, .custom_teaserbox.dark strong  {
  color: #fff !important;
  box-shadow: none;
}

.avia-button-center {
  text-align: left !important;
}

.custom_teaserbox.dark-blue{
  background-color: #072a41;
  color: #FFF;
}
.custom_teaserbox.dark-blue h2,
.custom_teaserbox.dark-blue p,
.custom_teaserbox.dark-blue li,
.custom_teaserbox.dark-blue strong,
#top .custom_teaserbox.dark-blue p strong,
.custom_teaserbox_section .custom_teaserbox.dark-blue a:not(.avia-button),
.custom_teaserbox.dark-blue h3
{
  color: #FFF;
}


.custom_teaserbox.secondary-dark-blue{
  background-color: #4B506D;
  color: #FFF;
}
.custom_teaserbox.secondary-dark-blue h2,
.custom_teaserbox.secondary-dark-blue p,
.custom_teaserbox.secondary-dark-blue li
{
  color: #FFF;
}

.custom_teaserbox.greyish-dark-blue{
  background-color: #777C90;
  color: #FFF;
}
.custom_teaserbox.greyish-dark-blue h2,
.custom_teaserbox.greyish-dark-blue p,
.custom_teaserbox.greyish-dark-blue li
{
  color: #FFF;
}

.custom_teaserbox.light-blue{
  background-color: #00b6ec;
  color: #FFF;
}
.custom_teaserbox.light-blue h2,
.custom_teaserbox.light-blue p,
.custom_teaserbox.light-blue li
{
  color: #FFF;
}

.custom_teaserbox.light-green{
  background-color: #a1d078;
  color: #FFF;
}
.custom_teaserbox.light-green h2,
.custom_teaserbox.light-green p,
.custom_teaserbox.light-green li
{
  color: #FFF;
}

/* styles for accordion within teaser box */

.custom_teaserbox .togglecontainer {
	padding: 0;
	box-shadow: none;
	margin-bottom: 30px !important;
}

.custom_teaserbox .togglecontainer .single_toggle .toggler[itemprop="headline"] {
	padding-left: 0 !important;
	font-size: 20px !important;
}

.custom_teaserbox .togglecontainer .single_toggle .toggle_content {
	padding-left: 0 !important;
}

.custom_teaserbox .togglecontainer .av_toggle_section::before  {
	left: 0 !important;
}