@font-face {
    font-family: 'Roboto-Regular';
    src: url('../../../Fonts/Roboto-Regular.ttf');
    src: url('../../../Fonts/Roboto-Regular.ttf') format('ttf'),
}
@font-face {
    font-family: 'Roboto-Medium';
    src: url('../../../Fonts/Roboto-Medium.ttf');
    src: url('../../../Fonts/Roboto-Medium.ttf') format('ttf'),
}
@font-face {
    font-family: 'Roboto-Italic';
    src: url('../../../Fonts/Roboto-Italic.ttf');
    src: url('../../../Fonts/Roboto-Italic.ttf') format('ttf'),
}
@font-face {
    font-family: 'Roboto-Bold';
    src: url('../../../Fonts/Roboto-Bold.ttf');
    src: url('../../../Fonts/Roboto-Bold.ttf') format('ttf'),
}
:root {
    --black: #000;
    --white: #fff;
    --mainColorRed: #f33d40;
}
::selection {
    background: #ed1c1cb0;
    color: var(--white);
}
figcaption {
    padding: 10px 0 0;
    font-weight: 600;
}
html,
body {
    font-size: 16px;
    font-family: 'Roboto-Regular';
}
body img {
    border-radius: 4px;
}
.frame-space-after-medium {
    margin-bottom: 3em !important;
}
.grayscale {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.gridopencloseimage {
    display: none;
}
.c03 .image {
    overflow: hidden;
}
.c03 img {
    transition: .75s transform ease;
    transform: none;
}
.c03 img:hover {
    transform: scale(1.05);
}
.mobileMenuContainer ul {
    flex-direction: column;
    padding: 20px 0 0;
}
.joBannerWrapper .text {
    position: absolute;
    background-color: var(--white);
    bottom: 12px;
    right: 13px;
    padding: 0 2px;
    color: var(--mainColorRed);
}
.ce-intext.ce-right .ce-gallery {
    margin-left: 0;
}
.joBannerWrapper img{
	width:100%;
	height:auto;
}
h1,
.joMainWrapper h2 {
    font-size: 30px;
    font-weight: 600;
	text-transform: uppercase;
    padding: 10px 0;
    hyphens: auto;
}
.joMainWrapper h2 a {
    font-size: 20px;
}
a[href$=".pdf"]:before {
    display: inline-block;
    content: "";
    width: 30px;
    height: 30px;
    background: center/contain url(/fileadmin/user_upload/bauphysik-gutachter/icons/pdf.svg) no-repeat;
    background-color: none;
    padding: 0 auto;
    margin: -5px;
    margin-right: 5px;
}
.page_article h2 {
    font-size: 24px;
    padding: 15px 0 5px 15px;
}
.joMainWrapper .gridcontent.grid-openclose h2,
.frame-type-header.frame-layout-1 a {
	font-size: 24px;
    margin-bottom: 0px;
    width:fit-content;
}
.frame-type-header.frame-layout-1 a {
    color: initial;
    font-weight: 400;
    margin-bottom: 0;
}
.frame-type-header.frame-layout-1 h2 {
    padding: 10px 0;
    margin: 0;
}
h1 {
    padding:0px;
}
#c23 {
    width:auto;
}
.gridcontent.grid-4-4-4,
.gridcontent.grid-4-4-4 .joText-wrapper p{
	padding: 0 15px;
}
.grid-3-3-3-3 h2,
.grid-4-4-4 h2 {
	font-size: 22px;
    margin-bottom: 15px;
    padding: 15px;
}
.grid-4-4-4 .colnr-1,
.grid-4-4-4 .colnr-2,
.grid-4-4-4 .colnr-3 {
    background-color: #f1f1f1;
    width: 100%;
    flex:auto;
    margin:10px 0;
}
a {
	color: var(--mainColorRed);
}
a:hover {
	color: var(--mainColorRed);
	text-decoration: none;
	font-weight: 600;
}
.row {
    margin: 0 auto;
    width: auto;
    max-width: 1320px;
}
.grid-3-3-3-3 .colnr-1 .image,
.grid-3-3-3-3 .colnr-2 .image,
.grid-3-3-3-3 .colnr-3 .image,
.grid-3-3-3-3 .colnr-4 .image {
    margin-bottom: 10px;
    margin-top: 20px;
    transition: filter .3s;
} 
.grid-3-3-3-3 .colnr-1,
.grid-3-3-3-3 .colnr-2,
.grid-3-3-3-3 .colnr-3,
.grid-3-3-3-3 .colnr-4 {
    width: 100%;
    flex:auto;
    margin: 0px;
}
.textimagebox a {
    font-size: 16px;
    width: fit-content;
}
.textimagebox {
    display: flex;
    flex-direction: column;
    position: relative;
}
.textimagebox.noHeadline {
    padding: 10px 0;
}
.textimagebox .linkWrap {
    display: flex;
    position: relative;
    bottom: 5px;
    justify-content: space-evenly;
    width: 100%;
}
.textimagebox ul {
    padding: 0 15px 0 35px;
}
p, li { 
    hyphens: auto; 
}
.typolink,
.typolink2 {
	color: var(--black);
	font-weight: 600;
}
.typolink:hover{
    color: var(--mainColorRed);
    text-decoration: underline;
}
.typolink2:hover{
    color: #53a800;
    text-decoration: underline;
}
.ce-headline-center {
    color: var(--mainColorRed);
    margin: 25px;
}
#joNavi {
    margin: 0 auto;
    width:100%;
    top: 0;
    z-index: 999;
}
#navbar ul {
    width:100%;
}
#navbar li {
    background-color: none;
    padding: 0 auto;
    margin: 0 10px;
}
.navbar-brand.logo {
    bottom: 5px;
}
#navbar > .menue {
    display: none;
}
/* #navbar li:last-child{
    margin-left: auto;
} */
/* #navbar li:last-child a{
    position:relative;
    color: #53a800;
} */
/* #navbar li:last-child a:after{
    display: inline-block;
    content:"";
    width:20px;
    height:20px;
    background: center/contain url(/fileadmin/user_upload/icons/lightbulb.svg) no-repeat;
    background-color: none;
    padding: 0 auto;
    color: #53a800;
    position: absolute;
    padding: 4px;
}
#navbar li:last-child a:hover:after{
    content:"";
    width:20px;
    height:20px;
    background: center/contain url(/fileadmin/user_upload/icons/lightbulb_full.svg) no-repeat;
    padding: 4px;
} */
/* Rotate Coin Animation Start */
#mainNav img { 
    width: 100%; 
    height:auto
}
.frame-type-jocontent_c10 {
    margin:30px auto;
}
.flipinfo {
    text-align: center;
    margin: 0 auto;
}
.flipbox {
    perspective: 2000px;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}
.flipbox:hover .flipper, .flipbox.hover .flipper { 
    transform: rotateY(180deg); 
}
.flipbox, .front, .back {
    width: 36px;
    height: 36px; 
}
.flipper {
    position: relative;
    transition: 1s;
    transform-style: preserve-3d;
}
.front, .back {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility:hidden;
    backface-visibility: hidden;
}

.front {
    transform: rotateY(0deg);
}
.back {
    transform: rotateY(180deg);
}

/* Rotate Coin Animation Ende */
.navbar a{
    text-decoration: none;
    position: relative;
    color: var(--black);
    font-weight: bold;
}
#navbar li{
    border-bottom: 2px transparent solid;
}
#navbar a:hover{
    color: var(--mainColorRed);
    border-bottom: 2px var(--mainColorRed) solid;
}
/* #navbar li:last-child a:hover{
    color:#53a800;
    border-bottom: 2px #53a800 solid;
    margin-bottom:2px;
} */
#navbar a:hover{
    color: var(--mainColorRed);
}
.joText-wrapper {
	padding: 10px 0;
}
#gridcontent{
    padding: 2px;
    background-color: #c8c8c8;
}
.joMainWrapper .ce-gallery {
    overflow:visible;
}
.joMainWrapper .ce-bodytext li{
    text-align: left;
    padding-left: 10px;
}
.navbar-nav .active a {
    color: var(--mainColorRed);
}
.joBannerWrapper .frame{
    position: relative;
    margin-bottom:2rem;
}
.joBannerWrapper header {
    padding: 5px 15px;
    color: var(--mainColorRed);
    z-index: 1;
    text-transform: uppercase;
    text-align: right;
    position: absolute;
    bottom: 18px;
    right: 10px;
    background-color: var(--white);
}
.joBannerWrapper h2{
    font-size: 16px;
    margin-bottom: 0px;
    display: inline;
}
input {
    font-family: 'Roboto-Italic';
}
a.back-to-top {
    background: var(--black);
    border-radius: 50%;
    width: 40px;
    right: 15px;
}
a.back-to-top:before,
a.back-to-top:after {
    content: '';
    width: 3px;
    height: 15px;
    position: absolute;
    left: 14px;
    top: 10px;
    background: var(--white);
    transform: rotate(45deg);
}
a.back-to-top:after {
    left: unset;
    right: 14px;
    transform: rotate(-45deg);
}
.joNewsbox .list_wrapper {
    box-shadow: 0;
    transition: .3s;
}
.joNewsbox:hover .list_wrapper {
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}
.joNewsbox img {
    transform: scale(1);
    transition: .3s;
}
.joNewsbox:hover img {
    transform: scale(1.2);
}
.joNewsbox .news_image {
    overflow: hidden;
}
.joNewsbox .text_content {
    background: #F8F8F8;
    padding: 25px;
}
.joNewsbox .text_content .joNewsHeaderdata {
    color: #B5A371;
}
.joNewsbox .text_content .joNewsHeadline {
    font-size: 20px;
    color: #2680EB;
    margin: 0 0 30px;
}
.mobile-bottom-menu .social-wrap {
    display: flex;
    justify-content: flex-end;
}
.mobile-bottom-menu .social-nav-item img {
    width: 30px;
    height: auto;
}
.mobile-bottom-menu .social-nav-item:last-of-type {
    padding: 15px 25px 15px 15px;
}
.mobile-bottom-menu .social-nav-item {
    padding: 15px;
}
.mobile-top-menu {
    border-bottom: 1px solid #dbdbdb;
}
.mobile-top-menu .nc,
.mobile-top-menu .lang {
    margin: 0;
    color: var(--white);
}
.mobile-top-menu .nc li {
    width: 35px;
    height: auto;
    padding: 25px 35px;
}
.mobile-top-menu .nc li:last-of-type {
    padding: 25px 50px 25px 35px;
}
.toggleMenu {
    color: transparent;
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    right: 5px;
    top: -7px;
    transition: .3s;
}
.toggleMenu:before,
.toggleMenu:after {
    content: '';
    height: 10px;
    width: 35px;
    position: absolute;
}
.toggleMenu:before, 
.toggleMenu:after {
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}
.toggleMenu:before {
    bottom: -3px;
}
.toggleMenu:after {
    bottom: 13px;
}
.toggleMenu.open {
    z-index: 3;
    opacity: 0;
}
#mobileNavbar:before {
    content: '';
    width: 80px;
    height: 60px;
    top: -70px;
    display: block;
    position: absolute;
    right: 0;
    background: var(--black) url(../../../Images/closeThin.svg) no-repeat center / 30px;
}
#mobileNavbar li {
    height: 40px;
    font-size: 20px;
    padding: 0 0 0 10px;
}
#mobileNavbar {
    right: -100%;
    background: var(--white);
    position: fixed;
    bottom: 0;
    height: calc(100% - 77px);
    width: 100%;
    z-index: 2;
    transition: right .5s ease-in-out;
}
#mobileNavbar.open {
    right: 0;
}
.joMainWrapperLeft,
.joMainWrapperRight {
    margin: 15px;
    padding: 0;
    max-width: 100%;
    flex:auto;
}
.joMainWrapperLeft.pt-5,
.joMainWrapperRight.pt-5{
	padding: 0!important;
}
.joMainWrapperLeft .frame-type-text{
    background-color: #f1f1f1;
	padding: 15px;
}
.joMainWrapperRight .frame-type-text {
    background-color: #f1f1f1;
	padding: 15px;
}
.joMainWrapperRight h2{
	font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}
.nav-item-sub.l1 > .menu-title > a,
.nav-item-sub.l1 > .menu-title > a:hover  {
    cursor: default;
    text-decoration: none;
}
.controlBtn {
    color: #002f5d;
    font-family: 'Roboto-Bold';
    transition: .2s;
}
.controlBtn:hover,
.controlBtn.active {
    color: #1e60bd;
}
.nav-item-sub.l1 > .menu-title {
    font-size: 20px;
}
.nav-item-sub.l1 > .submenu {
    padding: 10px 0 0;
}
.nav-item-sub.l1 {
    padding: 0 65px 0 0;
    height: fit-content;
}
.nav-item-sub.l2 {
    text-transform: none;
    padding: 10px 0;
    transition: .3s;
}
.submenuWrap > .nav-item {
    display: flex;
    justify-content: center;
    text-align: right;
    padding: 30px 0;
}
.menu_wrap {
    width: 1320px;
}
.menu_wrap .submenuWrap {
    width: 100%;
    position: absolute;
    left: 0;
    padding: 0;
    top: 69px;
    display: none;
    z-index: 1;
}
.menu_wrap .submenuWrap a {
    color: var(--white);
}
.menu_wrap .submenuWrap .nav-item > .submenu {
    display: flex;
    position: relative;
}
.catalog_search_wrap input {
    outline: none;
    border: none;
}
#mainNav {
    width:100%;
    margin: 0 auto;
    position: relative;
}
#mainNav .logo {
	width: 150px;
    height: auto;
}
.second_control .nc,
.second_control .lang {
    color: var(--white);
    font-family: 'Roboto-Bold';
}
.nc li {
    display: inline-block;
}
.second_control .nc li:last-of-type,
.second_control .nc {
    padding: 0 0 0 30px;
}
.main_menu_outerwrap {
    position: relative;
}
.main_menu_innerwrap {
    max-width: 1320px;
    margin: 0 auto;
}
.opener,
.frame-type-header.frame-layout-1 {
    position: relative;
    color: var(--black) !important;
    width: 100%;
    border-bottom: #c3c3c3 1px solid;
    padding-right: 30px;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.opener:after,
.frame-type-header.frame-layout-1 a:after {
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: url(../../../Images/sprite_portal_black.svg) no-repeat -526px -46px;
    background-size: 800px;
    transform: rotate(-90deg);
    transition: transform .5s ease;
    margin: 0 auto;
}
.frame-type-header.frame-layout-1 a:after {
    transform: rotate(0deg);
}
.grid-openclose h2 {
	font-weight: 400;
}
.opener.collapsed:after {
    transform: rotate(90deg);
}
.gridcontent figure{
    margin-top: 0;
}
.page_article_con .page_image .bodytext {
    padding:5px;
    background-color: #f1f1f1;
}
.page_article_con .page_image img {
    width: 100%;
    height: auto;
}
footer .grid-column-1 .frame-type-image:first-of-type {
    margin: 0 0 25px;
}
footer .grid-column h2 {
    font-size: 23px;
    font-family: 'Roboto-Bold';
}
footer .grid-column span {
    font-size: 20px;
}
footer .colnr-1 .frame-type-image:last-of-type {
    display: flex;
    justify-content: end;
    margin: 0 0 30px;
}
footer .colnr-1 .frame-type-image:first-of-type,
footer .colnr-1 .frame-type-text {
    display: none;
}
footer .colnr-2,
footer .colnr-3,
footer .colnr-4 {
    text-align: right;
    text-transform: uppercase;
}
footer .colnr-2 .frame-type-image {
    display: flex;
    justify-content: end;
}
footer .colnr-2 .frame-type-image .image-embed-item {
    margin: 0 0 25px;
    width: 120px;
}
footer .joText-wrapper{
	border-top: 2px solid var(--black);
}
.footer-wrap {
    border-bottom: 3px var(--black);
}
.footer-wrap ul {
    list-style: none;
    padding: 0;
}
.footer-wrap .joText-wrapper a{
    color: var(--black);
}
.footer-wrap .joText-wrapper{
    margin-left:0;
}
.footer-wrap .joText-wrapper a:hover{
    text-decoration: underline;
}
#navbar li {
    margin: 0px 5px;
}
.grid-6-6 .colnr-1 .image,
.grid-6-6 .colnr-1 .textimagebox {
    margin-top: 12.5px;
}
.grid-6-6 .colnr-2 .image,
.grid-6-6 .colnr-2 .textimagebox {
    margin-top: 12.5px;
}
.responseInline {
    width: 100%;
    height: auto;
}
@media (min-width: 768px)
{
    .textimagebox .linkWrap {
        position: absolute;
    }
	#mainNav .logo {
		padding: 0;
        width: 200px;
	}
    .page_article_con .page_image.col-md-3 {
        padding-right: 20px;
    }
	.menu_wrap{
		padding: 0 10px;
	}
    .menu_wrap ul{
        padding-left: 18px;
    }
    .joBannerWrapper h2 {
        font-size: 24px;
    }
    .joBannerWrapper .text{
        position: absolute;
        background-color: var(--white);
        bottom: 40px;
        right: 39px;
        padding: 5px;
        color: var(--mainColorRed);
    }
    .page_image .bodytext ul{
        padding-right: 5px;
        margin-left: 6px;
    }
    .page_article_con .page_image img {
        width: 100%;
		height: 100%;
		object-fit: cover;
		overflow: hidden;
		position: relative;
    }
    .page_image .bodytext{
        font-size: 14px;
        height:100%;
    }
    .page_image .bodytext p{
        margin-bottom: 10px;
    }
    .joBannerWrapper .text{
        position: absolute;
        background-color: var(--white);
        bottom: 40px;
        right: 39px;
        padding: 5px;
        font-size:0.9em
    }
    #navbar li{
        margin: 0px 10px;
    }
	/* #navbar li:last-child{
		margin-left:auto;
		margin-right:10px;
	} */
    .navbar a{
        font-size: 0.79em;
    }
    .navbar-nav {
        flex-direction: row;
    }
    .grid-3-3-3-3 .colnr-1,
    .grid-3-3-3-3 .colnr-2,
    .grid-3-3-3-3 .colnr-3,
    .grid-3-3-3-3 .colnr-4{
        width: 100%;   
        margin:0;
    }
    .gridcontent .switchcase .textbox {
        height: 300px;
        padding: 15px;
    }
    .gridcontent .switchcase .textimagebox {
        height: 340px;
    }
    .grid-3-3-3-3 .colnr-1 .textimagebox,
    .grid-3-3-3-3 .colnr-1 .image{
        margin:0 10px 10px 0;
    }
    .grid-3-3-3-3 .colnr-2 .textimagebox,
    .grid-3-3-3-3 .colnr-2 .image{
        margin:0 0 10px 10px;
    }
    .grid-3-3-3-3 .colnr-3 .textimagebox,
    .grid-3-3-3-3 .colnr-3 .image{
        margin:0 10px 10px 0;
    }
    .grid-3-3-3-3 .colnr-4 .textimagebox,
    .grid-3-3-3-3 .colnr-4 .image{
        margin:0 0 10px 10px;
    }
    .grid-4-4-4 .colnr-1,
    .grid-4-4-4 .colnr-2,
    .grid-4-4-4 .colnr-3{
        background-color: #f1f1f1;
        flex:auto;
        max-width: none;
    }
    .grid-6-6 .colnr-1 .image,
    .grid-6-6 .colnr-1 .textimagebox {
        margin-right: 12.5px;
    }
    .grid-6-6 .colnr-2 .image,
    .grid-6-6 .colnr-2 .textimagebox {
        margin-left: 12.5px;
    }
	#c23 img {
		padding-left: 40px;
	}
}

@media (min-width: 992px)
{
    .responseInline {
        width: initial;
        height: initial;
    }
    .c03 img {
        width: 310px;
        height: 213px;
    }
    #navbar > .menue {
        display: flex;
    }
    .menu_wrap ul {
        padding-left: 0;
    }
    .page_image .bodytext{
        font-size: 16px;
    }
    .joBannerWrapper .text{
        position: absolute;
        background-color: var(--white);
        bottom: 40px;
        right: 39px;
        padding: 5px;
    }
    .joMainWrapperLeft{
        margin: 15px;
        padding: 0;
        max-width: 70%;
        flex:auto;
    }
    .joMainWrapperRight {
        margin: 15px;
        padding: 0;
        max-width: 30%;
        flex:auto;
    }
    .navbar a {
        font-size: 1em;
    }
    .textimagebox li{
        font-size: 14px;
    }
    .frame-space-after-small .joText-wrapper{
        margin-left: 10px;
    }
    .frame-space-after-medium .joText-wrapper{
        margin-left: 10px;
    }
    .frame-space-after-medium header h2{
        margin-left: 10px;
    }
    .ce-headline-center {
        margin-left:24em;
    }
    .navbar-nav{
        flex-direction: unset;
        margin: 1px;
    }
    #navbar li:last-child a:after{
        padding:4px;
    }
    #mainNav img {
        height: 100%;
    }
    .frame-type-jocontent_c10{
        margin: 30px auto;
        width: auto;
    }
    .flipinfo{
        text-align: center;
        margin: 0 auto;
    }
    .flipbox{
        perspective: 2000px; 
        text-align: center;
        margin: 0 auto;
    }
    .joBannerWrapper .frame{
        position: relative;
        margin-bottom:4rem;
    }
    .joBannerWrapper header {
        background-color: var(--white);
        padding: 5px 15px;
        color: var(--mainColorRed);
        z-index: 1;
        text-transform: uppercase;
        text-align: right;
        right:20px;
		bottom: 40px;
    }
    .joBannerWrapper h2 {
        font-size: 26px;
        margin-bottom: 0px;
        display: inline;
    }
    .joMainWrapperLeft,
    .joMainWrapperRight {
        margin: 0;
        padding: 0;
        flex-basis: min-content;
	}
	.joMainWrapperRight{
		margin-left:15px
	}
	.joMainWrapperLeft{
        margin-right:15px
    }
    .main_menu_outerwrap {
        height: 69px;
        position: relative;
    }
    .gridcontent.grid-3-3-3-3{
        width:auto;
    }
    .grid-4-4-4 .colnr-1,
    .grid-4-4-4 .colnr-2,
    .grid-4-4-4 .colnr-3{
        background-color: var(--white);
        width: 100%;
        max-width: 33.3%;
        flex:auto;
        margin:10px 0;
    }
	.grid-4-4-4 .colnr-1{
		padding-right: 10px;
	}
	.grid-4-4-4 .colnr-3{
		padding-left: 10px;
	}
    .grid-4-4-4 {
        width:auto;
        hyphens: auto;
        padding:0;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    .grid-4-4-4 .colnr-1 .frame-layout-0,
    .grid-4-4-4 .colnr-2 .frame-layout-0,
    .grid-4-4-4 .colnr-3 .frame-layout-0{
        background-color: #f1f1f1;
        padding: 10px;
    }
    .grid-4-4-4 .colnr-1 .frame-layout-0{
        margin-right: 2.5px;
    }
    .grid-4-4-4 .colnr-2 .frame-layout-0{
        margin: 0.5px;
    }
    .grid-4-4-4 .colnr-3 .frame-layout-0{
        margin-left: 2.5px;
    }
    .gridcontent .switchcase .textbox {
        height: 150px;
        padding: 15px;
    }
    .grid-3-3-3-3 h2,
    .grid-4-4-4 h2{
	    font-size: 20px;
        margin-bottom: 0;
    }
    .grid-3-3-3-3 .colnr-1,
    .grid-3-3-3-3 .colnr-2,
    .grid-3-3-3-3 .colnr-3,
    .grid-3-3-3-3 .colnr-4{
        width: 100%;   
        margin:0;
    }
    .gridcontent .switchcase .textbox {
        height: 300px;
        padding: 15px;
    }
    .grid-3-3-3-3 .colnr-1 .textimagebox,
    .grid-3-3-3-3 .colnr-1 .image{
        margin-right: 9.5px;
        margin-left: 0;
        margin-top: 0;
    }
    .grid-3-3-3-3 .colnr-2 .textimagebox,
    .grid-3-3-3-3 .colnr-2 .image{
        margin-left: 2.5px;
        margin-right: 6.8px;
        margin-top: 0;
    }
    .grid-3-3-3-3 .colnr-3 .textimagebox,
    .grid-3-3-3-3 .colnr-3 .image{
        margin-left: 6.8px;
        margin-right: 2.5px;
        margin-top:0;
    }
    .grid-3-3-3-3 .colnr-4 .textimagebox,
    .grid-3-3-3-3 .colnr-4 .image{
        margin-right: 0px;
        margin-left: 9.5px;
        margin-top: 0;
    }
    .page_article_con .page_image .bodytext {
        padding:5px;
        background-color: #f1f1f1;
        height:100%;
    }
    .grid-openclose .page_article_con.no-gutters {
        padding: 15px 0 0;
    }
	.joMainWrapper1 {
		padding: 0 15px;
	}
    footer .colnr-1 .frame-type-image:first-of-type,
    footer .colnr-1 .frame-type-text {
        display: block;
    }
    footer .colnr-1 .frame-type-image:last-of-type {
        justify-content: start;
        margin: 0;
    }
    footer .colnr-2 .frame-type-image .image-embed-item {
        margin: 0 0 50px;
    }
    footer .colnr-2.grid-column {
        margin-left: auto;
    }
    footer .colnr-2 .frame-type-image {
        justify-content: start;
    }
    footer .colnr-2,
    footer .colnr-3,
    footer .colnr-4 {
        text-align: left;
        margin: 0 50px 0 0;
        max-width: fit-content;
    }
    footer .colnr-4.grid-column {
        margin: 0;
    }
}

@media (min-width: 1320px)
{
    #navbar li:first-of-type {
        margin: 0 10px 0 0;
    }
    #joNavi {
        width: 1320px;
    }
	.page_article .row{
		margin: 0 auto;
	}
	.grid-3-3-3-3 .colnr-1 .switchcase{
		margin-left: 0px;
	}
	.grid-3-3-3-3 .colnr-4 .switchcase{
		margin-right: 0px;
	}
	h1,
	h2{
		margin-left:0
	}
	.navbar a {
		font-size: 1em;
	}
	.textimagebox li,
	.joText-wrapper p{
		font-size: 1em;
	}
	.frame-space-after-small header h1{
		margin-left: 0;
	}
	.frame-type-header header h1 {
		margin-left: 0;
	}
	.frame-type-text header h1{
		margin-left: 0;
	}
	.frame-space-after-medium header h2{
		margin-left: 0;
	}
	.gridcontent h2{
		margin-left:0;
	}
	.page_article {
		margin-left:0;
	}
	.ce-headline-center {
		margin:25px;
	}
	.navbar-nav{
		margin: 0;
	}
	.flipinfo{
		text-align: center;
		margin: 0 auto;
	}
	.flipbox{
		perspective: 2000px; 
		text-align: center;
		margin: 0 auto;
	}
	.joBannerWrapper{
		display: flex;
		justify-content: center;
		position: relative;
		background-color: var(--white);
	}   
	.joBannerWrapper .text{
		position: absolute;
		background-color: var(--white);
		bottom: 40px;
		right: 39px;
		padding: 5px;
	}
	.joBannerWrapper .frame{
		position: relative;
		margin-bottom: 4rem;
	}
	.joBannerWrapper header {
		background-color: var(--white);
		padding: 5px 15px;
		color: var(--mainColorRed);
		z-index: 1;
		text-transform: uppercase;
		text-align: right;
		right:20px;
		bottom: 40px;
	}
	#c23{
		width:auto;
	}
	.row {
		padding: 0;
	}
	.joBannerWrapper h2 {
		font-size: 26px;
		margin-bottom: 0px;
		display: inline;
	}
	.joMainWrapperLeft,
	.joMainWrapperRight {
		margin: 0;
		padding: 0;
		flex-basis: min-content;
	}
	.joMainWrapperRight{
			margin-left:15px
	}
	.joMainWrapperLeft{
		margin-right:15px
	}
	.joMainWrapper .ce-bodytext{
		margin-left:0;
	}
	.main_menu_outerwrap {
		height: 69px;
		position: relative;
	}
	.menu_wrap{
		padding: 0;
	}
	.gridcontent.grid-4-4-4,
	.gridcontent.grid-4-4-4 .joText-wrapper p{
		padding: 0;
	}
	.gridcontent.grid-4-4-4 h2{
		padding: 15px 0 5px 0;
	}
	.grid-4-4-4 .colnr-1,
	.grid-4-4-4 .colnr-2,
	.grid-4-4-4 .colnr-3{
		background-color: var(--white);
		margin:0px;
		padding:0px;
	}
	.grid-4-4-4 .colnr-1 .frame-layout-0,
	.grid-4-4-4 .colnr-2 .frame-layout-0,
	.grid-4-4-4 .colnr-3 .frame-layout-0{
		background-color: #f1f1f1;
		padding: 15px 15px 15px 10px;
	}
	.grid-4-4-4 .colnr-1 .frame-layout-0{
		margin-right: 20px;
		padding: 0 0 0 20px;
	}
	.grid-4-4-4 .colnr-2 .frame-layout-0{
		margin: 0 10px;
		padding: 0 0 0 20px;
	}
	.grid-4-4-4 .colnr-3 .frame-layout-0{
		margin-left: 20px;
		padding: 0 0 0 20px;
	}
	.gridcontent .switchcase .textbox {
		height: 150px;
		padding: 15px;
	}
	.gridcontent .switchcase .textimagebox {
		height: 320px;
		margin-top: 10px;
	}
	.grid-3-3-3-3 h2,
	.grid-4-4-4 h2{
		font-size: 22px;
		margin-bottom: 0;
}
	.grid-3-3-3-3 .colnr-1,
	.grid-3-3-3-3 .colnr-2,
	.grid-3-3-3-3 .colnr-3,
	.grid-3-3-3-3 .colnr-4{
		width: 100%;   
		margin:0;
	}
	.gridcontent .switchcase .textbox {
		height: 300px;
		padding: 15px;
	}
	.grid-3-3-3-3 .colnr-1 .textimagebox,
	.grid-3-3-3-3 .colnr-1 .image{
		margin-right: 19px;
		margin-left: 0;
		margin-top: 0px;
	}
    .grid-3-3-3-3 .image {
        opacity: 0.9;
    }
    .grid-3-3-3-3 .image:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        opacity: 1;
    }

	.grid-3-3-3-3 .colnr-2 .textimagebox,
	.grid-3-3-3-3 .colnr-2 .image{
		margin-left: 5px;
		margin-right: 13.5px;
		margin-top: 0px;
	}
	.grid-3-3-3-3 .colnr-3 .textimagebox,
	.grid-3-3-3-3 .colnr-3 .image{
		margin-left: 13.5px;
		margin-right: 5px;
		margin-top: 0px;
	}
	.grid-3-3-3-3 .colnr-4 .textimagebox,
	.grid-3-3-3-3 .colnr-4 .image{
		margin-left: 19px;
		margin-top: 0px;
		margin-right: 0;
	}
	#content{
		width: 1320px;
		margin: 0 auto;
	}
	.joMainWrapper {
		padding: 0;
	}
	.page_article_con .page_image .bodytext {
		padding: 5px;
		background-color: #f1f1f1;
		height: 100%;
	}
	.grid-openclose .page_article_con.no-gutters {
		padding: 15px 0 0;
	}
	.footer-wrap{
	    margin: 0 auto;
		max-width: 1320px;
		padding: 0;
	}
	.footer-wrap.container-fluid{
		padding: 0;
	}
	footer .colnr-1 .frame-type-image:first-of-type,
	footer .colnr-1 .frame-type-text {
		display: block;
	}
	footer .colnr-1 .frame-type-image:last-of-type {
		justify-content: start;
		margin: 0;
	}
	footer .colnr-2 .frame-type-image .image-embed-item {
		margin: 0 0 50px;
	}
	footer .colnr-2.grid-column {
		margin-left: auto;
	}
	footer .colnr-2 .frame-type-image {
		justify-content: start;
	}
	footer .colnr-2,
	footer .colnr-3,
	footer .colnr-4 {
		text-align: left;
		margin: 0 50px 0 0;
		max-width: fit-content;
	}
	footer .colnr-4.grid-column {
		margin: 0;
	}
}