.tabs__container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    width: 100%;
}
.tabs__desktop {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.tabs__mobile {
    display: none;
}
.tabs__left-column {
    max-width: 835px;
    width: 54%;
    background-color: #a61c35;
    z-index: 1;
}
.tabs__right-column {
    position: relative;
    max-width: 860px;
    width: 46%;
    background-color: #fff;
}
.tabs__right-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    display: block;
    width: 100px;
    height: 100%;
    background-color: #fff;
}
.tabs__sections {
    padding-left: 50px;
    padding-right: 50px;
    list-style: none;
    color: #fff;
    font-family: MontserratLight,Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 100;
    overflow: hidden;
}
.tabs__section {
    position: relative;
    display: block;
    padding: 35px 90px 35px 0;
    line-height: 48px;
    text-align:right;
    opacity: .5;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
    cursor: pointer;
}
.tabs__section.active {
    font-size: 1.3em;
    opacity: 1;
}
.tabs__section .tabs__line {
    position: absolute;
    top: 50%;
    right: auto;
    margin-left: 30px;
    width: 0;
    height: 1px;
    background-color: #fff;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
    opacity:0.5;
}
.tabs__section.active .tabs__line {
    width: 1000px;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}
.tabs__elements {
    position: absolute;
    left: 30px;
    top: 0;
    margin: 0 0 0 auto;
    padding: 50px 70px 70px 50px;
    min-height: 550px;
    width: 100%;
    height: 100%;
    list-style: none;
    -webkit-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    transition: all .4s ease-out;
    -webkit-transform: scale(.8);
    -moz-transform: scale(.8);
    -ms-transform: scale(.8);
    -o-transform: scale(.8);
    transform: scale(.8);
    visibility: hidden;
    opacity: 0;
}
.tabs__elements.active {
    position: relative;
    left: 0;
    -webkit-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    transition: all .4s ease-out;
    -webkit-transition-delay: .5s;
    -moz-transition-delay: .5s;
    -o-transition-delay: .5s;
    transition-delay: .5s;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    visibility: visible;
    opacity: 1;
}
.tabs__element {
    position: relative;
    padding: 15px 0 15px 30px;
    color: #2d2d2d;
}
.tabs__element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('/images/paper-clip.png') center center / 100% 100% no-repeat;
}
.tabs__element-link {
    text-decoration: none;
    color: inherit;
}
.tabs__element-link:hover {
    color: #caa98b;
}

.display_element {
    display:flex;
}
.size-element {
    font-size:13px;
}
.tabs__elements_block {
    width: 50%;
}
@media (max-width: 1350px) {
    .tabs__sections {
        font-size: 24px;
    }
    .tabs__section {
        padding: 20px 15px 20px 0;
        line-height: 40px;
    }
}
@media (max-width: 1150px) {
    .tabs__desktop {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 1000px) {
    .tabs__sections {
        padding-left: 30px;
        padding-right: 30px;
        font-size: 20px;
    }
    .tabs__section {
        padding: 10px 10px 10px 0;
        line-height: 30px;
    }
    .tabs__elements {
        padding: 30px 50px 50px 30px;
        min-height: 280px;
        font-size: 14px;
    }
}
@media (max-width: 850px) {
    .tabs__section.active {
        font-size: 1.1em;
    }
}
@media (max-width: 700px) {
    .tabs__sections {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }
    .tabs__section {
        line-height: 25px;
    }
    .tabs__elements {
        padding: 20px;
        font-size: 12px;
    }
}
@media (max-width: 600px) {
    .tabs__desktop {
        display: none;
    }
    .tabs__mobile {
        display: block;
    }
    .tabs__m-element {
        display: flex;
        flex-direction: column;
        margin: 0 0 10px 0;
        padding-left: 15px;
        width: 90%;
        color: #000000;
        font-family: MontserratRegular,Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 400;
        overflow: hidden;
    }
    .tabs__m-element .tabs__m-name {
        position: relative;
        align-self: flex-start;
        margin-top: 0;
        margin-bottom: 10px;
        max-width: 80%;
        color: #a61c35;
        font-family: MontserratLight,Arial, Helvetica, sans-serif;
        font-size: 20px;
        font-weight: 400;
        order: -1;
    }
    .tabs__m-element .tabs__m-name::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 100%;
        margin-left: 10px;
        height: 1px;
        width: 1000px;
        background-color: #a61c35;
    }
    .tabs__m-element-link {
        position: relative;
        display: inline-block;
        margin-left: 10px;
        padding: 15px 0 15px 25px;
        color: #000000;
        font-family: MontserratRegular,Arial, Helvetica, sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
        text-decoration: none;
    }
    .tabs__m-element-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background: url('/images/paper-clip.png') center center / 100% 100% no-repeat;
    }
}
