.block.graphek_intro {
background: #261B63;
color: #fff;
padding: 50px 0px;
margin-bottom: 40px;
}
.block.graphek_intro.grau_bg {
background: #F0F0F1;
color: #261B63;
}
.block.graphek_intro .wrap {
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-moz-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
}
.block.graphek_intro .wrap .bild {
-webkit-box-flex: 0;
-webkit-flex: 0 0 160px;
-moz-box-flex: 0;
-ms-flex: 0 0 160px;
flex: 0 0 160px;
}
.block.graphek_intro .wrap .text {
margin-left: 40px;
}
.block.graphek_intro .wrap .text h1,
.block.graphek_intro .wrap .text h2,
.block.graphek_intro .wrap .text h3 {
margin-top: 0;
}
@media (max-width: 900px) {
.block.graphek_intro .wrap {
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 0;
padding-right: 20px;
}
.block.graphek_intro .wrap .bild {
-webkit-box-flex: 0;
-webkit-flex: 0 0 100%;
-moz-box-flex: 0;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
padding-left: 20px;
margin-bottom: 30px;
}
.block.graphek_intro .wrap .bild img {
width: 120px;
height: auto;
}
.block.graphek_intro .wrap .text {
margin-left: 20px;
}
}.block.graphek_toggle-boxen {
display: grid;
grid-template-columns: 1fr 1fr;
}
.block.graphek_toggle-boxen .toggle_box {
padding-top: 100%;
position: relative;
overflow: hidden;
transition: all 0.3 ease-out;
grid-template-columns: 1fr;
}
.block.graphek_toggle-boxen .toggle_box.active {
background: #E8F2F5;
}
.block.graphek_toggle-boxen .toggle_box.has-videoclip .image_wrap {
cursor: pointer;
}
.block.graphek_toggle-boxen .toggle_box:not(.active) .video_wrap {
display:none;
}
.block.graphek_toggle-boxen .toggle_box.active .playbutton_wrap {
display:none;
}
.block.graphek_toggle-boxen .toggle_box .video_wrap video {
width:100%;
}
.block.graphek_toggle-boxen .toggle_box.active .inner_wrap .image_wrap {
height: 100%;
}
.block.graphek_toggle-boxen .playbutton_wrap img {
width:80px;
opacity:0.85;
pointer-events: none;
}
.block.graphek_toggle-boxen .toggle_box.active .inner_wrap .meta_info {
height: 0;
display: none;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
padding: 50px;
transition: background-color 0.3 ease-out;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap .content {
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap .image_wrap {
height: calc(100% - 100px);
background-position: center !important;
background-size: cover !important;
transition: height 0.3s ease-out;
align-content: center;
text-align: center;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap .meta_info {
height: auto;
padding: 20px;
background: #E8F2F5;
transition: height 0.3s ease-out;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap .meta_info .title {
margin: 0;
margin-bottom: 5px;
}
.block.graphek_toggle-boxen .toggle_box_content {
position: absolute;
left: 10000px;
top: 0;
display: none;
}
.block.graphek_toggle-boxen .toggle_box_content .close_toggle_box {
position: absolute;
display: block;
top: 10px;
right: 10px;
width: 40px;
height: 40px;
background: url(//justus-grosse.de/wp-content/themes/justus_grosse/images/cancel.svg) no-repeat;
background-size: 20px;
background-position: center center;
cursor: pointer;
}
.block.graphek_toggle-boxen .toggle_box_content .close_toggle_box:hover {
background-color: #dee8eb;
}
.block.graphek_toggle-boxen .toggle_box_content.active {
position: relative;
left: auto;
top: auto;
display: block;
background: #E8F2F5;
padding: 50px;
grid-column: 1 / span 2;
}
.block.graphek_toggle-boxen .toggle_box_content.active h3.title {
margin-top: 0;
}
@media (max-width: 760px) {
.block.graphek_toggle-boxen {
grid-template-columns: 1fr;
}
.block.graphek_toggle-boxen .toggle_box .inner_wrap {
padding: 25px;
}
.block.graphek_toggle-boxen .toggle_box_content.active {
grid-column: 1;
margin-bottom: 25px;
padding: 25px;
}
}.block.graphek_ansprechpartner {
padding: 20px 0px;
}
.block.graphek_ansprechpartner .anprechpartner_wrapper {
width: 100%;
max-width: 500px;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
justify-items: flex-start;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-moz-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-align-content: flex-start;
-ms-flex-line-pack: start;
align-content: flex-start;
}
.block.graphek_ansprechpartner .bild {
-webkit-box-flex: 0;
-webkit-flex: 0 0 130px;
-moz-box-flex: 0;
-ms-flex: 0 0 130px;
flex: 0 0 130px;
height: 130px;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
background-position: 50% 50% !important;
}
.block.graphek_ansprechpartner .inhalt {
padding-left: 20px;
}
.block.graphek_ansprechpartner .name {
font-family: aktiv-grotesk-extended, sans-serif;
font-weight: 500;
font-style: normal;
}
.block.graphek_ansprechpartner .position {
color: #C00D1E;
font-family: aktiv-grotesk-extended, sans-serif;
font-weight: 500;
font-style: normal;
margin-bottom: 20px;
}
.block.graphek_ansprechpartner a {
display: block;
color: #261B63;
text-decoration: none;
}
.block.graphek_ansprechpartner a:hover {
color: #C00D1E;
}
@media (max-width: 500px) {
.block.graphek_ansprechpartner .bild {
-webkit-box-flex: 0;
-webkit-flex: 0 0 70px;
-moz-box-flex: 0;
-ms-flex: 0 0 70px;
flex: 0 0 70px;
height: 70px;
}
.block.graphek_ansprechpartner .inhalt {
padding-left: 14px;
}
}.block.graphek_teaser {
padding: 30px 0px 60px 0px;
text-decoration: none;
display: block;
height: 100%;
position: relative;
}
.block.graphek_teaser .bild_container {
position: relative;
}
.block.graphek_teaser .bild_container img {
width: 100%;
z-index: 0;
display: block;
}
.block.graphek_teaser .bild_container img.bild_normal {
z-index: 10;
position: relative;
}
.block.graphek_teaser .bild_container img.bild_hover {
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
.block.graphek_teaser h3 {
min-height: 2.4em;
}
.block.graphek_teaser .g_button {
position: absolute;
bottom: 25px;
}
.block.graphek_teaser:hover .bild_container img.bild_hover {
z-index: 50;
}
@media (max-width: 600px) {
.block.graphek_teaser img {
max-width: 200px;
}
.block.graphek_teaser h3 {
min-height: 0px;
}
}