.block.graphek_button {
margin: 20px 0px;
}
.block.graphek_button.is-style-bordered a.g_button {
line-height: 1;
border: 1px solid #C00D1E;
padding: 7px 15px;
color: #C00D1E;
font-family: aktiv-grotesk, sans-serif;
font-weight: 400;
font-style: normal;
}
.block.graphek_button.is-style-bordered a.g_button:hover {
background: #C00D1E;
color: #fff;
}
.block.graphek_button.is-style-bordered a.g_button:after {
right: -40px;
top: -1px;
height: -webkit-calc(100% + 2px);
height: -moz-calc(100% + 2px);
height: calc(100% + 2px);
width: 40px;
}
.block.graphek_button.is-style-filled a.g_button {
line-height: 1;
border: 1px solid #C00D1E;
padding: 7px 15px;
font-family: aktiv-grotesk, sans-serif;
font-weight: 400;
font-style: normal;
background: #C00D1E;
color: #fff;
}
.block.graphek_button.is-style-filled a.g_button:hover {
background: none;
color: #C00D1E;
}
.block.graphek_button.is-style-filled a.g_button:after {
right: -40px;
top: -1px;
height: -webkit-calc(100% + 2px);
height: -moz-calc(100% + 2px);
height: calc(100% + 2px);
width: 40px;
}
.block.graphek_button.is-style-links a.g_button {
padding-left: 30px;
}
.block.graphek_button.is-style-links a.g_button:after {
right: auto;
left: 0px;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
.block.graphek_button.center {
text-align: center;
}
.block.graphek_button.center.is-style-filled {
margin-left: -40px;
}
.block.graphek_button.big a.g_button {
font-size: 20px;
}
.block.graphek_button.large a.g_button {
font-size: 26px;
}.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;
}
}