/*.tabwidget .page-container {*/
/*    max-width: 1440px;*/
/*    width: 100%;*/
/*    padding: 0 100px;*/
/*    margin: 0 auto;*/
/*    box-sizing: border-box;*/
/*}*/

.tabwidget .menu {
    width: 25%;
}

.tabwidget .card-wrapper {
    position: relative;
}

.tabwidget .title h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 400;
}

.tabwidget img {
    display: block;
    height: auto;
    /*max-width: 100%;*/
    width: 100%;
    /*height: 100%;*/
    min-height: 0;
    object-fit: cover;
}

.tabwidget .title {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 400

}

.tabwidget .title  > * {
    color: #fff;
    margin-bottom: 1rem;
}

.tabwidget .tabs {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.tabwidget .tabs .menu .item {
    /*padding: 5px 0;*/
    width: 100%;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    /*font-weight: 700;*/
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.tabwidget .tabs .menu .card-wrapper:nth-child(2) .item {
    padding: 10px 0;
}

.tabwidget .tab {
    position: relative;
    list-style: none;
    margin: 5px 0;
    -webkit-transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    max-width: 50%;
    width: 100%;
    background-color: #F2F2F2;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.tabwidget ul.tab li {
    opacity: 0;
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.tabwidget ul.tab li.active {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 1;
    position: relative;
}

.tabwidget .item {
    display: grid;
    /*height: calc(250px + 25vmin);*/

    /*background-color: lightblue;*/
}

.tabwidget .item> * {
    grid-area: 1/-1;
}

.tabwidget .item.active:after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right: 20px solid #F2F2F2;
}

.tabwidget .second-side {
    display: flex;
    flex-direction: column;
}

.tabwidget .card-wrapper-link {
    height: 140px;
    display: flex;
}

.tabwidget .card-wrapper-link .item {
    padding: 5px;
}

.tabwidget .card-wrapper-link .item a {
    margin: 0;
    display: block;
    padding: 5px 10px;
    border: 1px solid #fff;
}

.tabwidget .card-wrapper-link .item a:hover {
    background: transparent;
}

.tabwidget .second-side .item.active:after {
    content: '';
    position: absolute;
    border: 10px solid transparent;
    border-left: 20px solid #F2F2F2;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.page-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
img {
    display: block;
    height: auto;
    max-width: 100%;
}
.tabs {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.tabs .menu {
    max-width: 25%;
    width: 100%;
}

.tabs .menu .item {
    padding: 5px 0;
    width: 100%;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    font-weight: 400;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.tab li {
    opacity: 0;
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

ul.tab li.active {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 1;
    padding-right: 50px;
}

.item, .card-wrapper {
    position: relative;
}

.card-wrapper .item.active:after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-right: 20px solid #F2F2F2;
}

.card-wrapper .second-side.item.active:after {
    content: '';
    position: absolute;
    border: 10px solid transparent;
    border-left: 20px solid #F2F2F2;
    left: -5px;
    top: 50%;
    right: unset;
    transform: translateY(-50%);
}

.tabwidget .tab-headline {
    font-size: 40px;
    line-height: 48px;
}

.tabwidget .menu-item {
    padding: 0 40px;
}

.tab-link span {
    vertical-align: middle;
    margin-right: 5px;
}

.card-wrapper-link .item {
    padding: 0 !important;
}

@media (max-width: 1280px) {
    .tab-link {
        font-size: 12px;
    }

    .tab-link span {
        line-height: 10px;
    }
    .page-container {
        padding: 0 45px;
    }
    .tabwidget .tabs {
        flex-direction: column;
    }

    .tabwidget .tab-headline {
        font-size: 36px;
        line-height: 42px;
    }
    .tabs .menu {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .tabwidget .tabs .menu .card-wrapper {
        margin: 0;
        padding: 0;
        width: 33%;
    }

    .tabwidget .tabs .menu .card-wrapper:nth-child(2) .item {
        padding: 0;
    }

    .tabwidget .tab {
        max-width: 100%;
        padding: 0;
        margin: 0;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .tabs .menu .item {
        padding: 0;
    }

    .tabwidget .item.active:after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        border: 10px solid transparent;
        border-bottom: 20px solid #F2F2F2;
        width: 0;
    }

    .tabwidget .second-side .item.active:after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        border: 10px solid transparent;
        border-top: 20px solid #F2F2F2;
        width: 0;
    }

    .tabwidget .card-wrapper-link {
        flex: unset;
    }
    .tabwidget .menu-item {
        padding: 0 40px;
    }
}

.accordion-menu {
    display: none;
}
@media (max-width: 767px) {
    .page-container {
        padding: 0 10px;
    }
    .tabwidget .tabs {
        display: none;
    }

    .submenuItems h2 {
        margin: 0 auto;
        color: #000;
        text-align: left;
    }

    .accordion-title {
        font-size: 30px;
    }
    .accordion-headline {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        color: #ffffff !important;
        width: 100%;
        text-align: center;
        font-size: 28px !important;
        line-height: 23px !important;
        font-weight: 400 !important;
    }

    .accordion-menu {
        margin: 0 auto 40px;
        display: block;
    }
    .accordion-menu, .accordion-item {
        max-width: 360px;
        width: 100%;
        background: #F2F2F2;
        padding-bottom: 10px !important;
    }

    .accordion-menu, .accordion-item:nth-last-child(1) {
        padding: 0 !important;
    }
    .dropdownlink {
        display: block;
        max-width: 360px;
        width: 100%;
        font-size: 18px;
        color: #212121;
        position: relative;
        -webkit-transition: all 0.4s ease-out;
        transition: all 0.4s ease-out;
    }

    .dropdownlink img {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
    }
    .submenuItems {
        display: none;
        padding: 30px 15px 20px;
    }

    .open .dropdownlink:after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        border: 10px solid transparent;
        border-bottom: 20px solid #F2F2F2;
        width: 0;
    }
}