﻿#main {
    padding: 0px;
}

    #main > div {
        height: 430px;
        position: relative;
    }

#main-banner {
    position: relative;
    width: 100%;
    height: 430px;
    min-width: 360px;
    /*float: left;*/
    clear: both;
}

a.rotator_control {
    color: #fff;
}

.rotator_control {
    position: absolute;
    top: 0;
    height: 100%;
    width: 130px;
    text-align: center;
    line-height: 471px;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: none;
    background: url('img/rotatorcontrols_shadow.png') repeat-y 0 0;
}
    /*.rotator_control:hover { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1.0; }*/
    .rotator_control.left {
        left: 0;
        background-position: 0 0;
    }

    .rotator_control.right {
        right: 0;
        background-position: -260px 0;
    }

    .rotator_control div {
        position: absolute;
        top: 0;
        left: 0;
        width: 130px;
        height: 100%;
        background: url('img/rotatorcontrols_shadow.png') repeat-y 0 0;
    }

        .rotator_control div.ss-icon {
            background: none;
        }

        .rotator_control div.bg {
            display: none;
        }

    .rotator_control.left div.bg {
        background-position: 0 0;
    }

    .rotator_control.right div.bg {
        background-position: -260px 0;
    }

#banner-block {
    overflow: hidden;
}

#main-banner > * {
    position: absolute;
}

#exp-lines-container {
    padding-top: 5px;
}

.in-banner-container {
    width: 285px;
    height: 430px;
    text-align: left;
    background-color: rgba(153, 24, 42, .8);
    z-index: 2;
    overflow: hidden;
    padding: 0 60px;
}

.in-banner-container .editable-block {
    min-width: 200px;
    width: 285px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

    .in-banner-container.item_0 {
    }

    .in-banner-container.item_1 {
    }

    .in-banner-container.item_2 {
    }

    .in-banner-container.item_3 {
    }

    .in-banner-container.item_4 {
    }

#main-banner .in-banner-container .cke_focus {
    background-color: #000;
    box-shadow: none;
}

.pause-button {
    position: absolute;
    top: 2%;
    right: 50%;
    width: 50px;
    height: 50px;
    z-index: 5;
    background-image: url('img/pause.png');
    background-repeat: no-repeat;
    background-position: -2px -3px;
    opacity: 0.5;
}

    .pause-button:hover {
        background-position: -2px -3px;
        opacity: 1;
    }

.ie8 .in-banner-container {
    z-index: 2;
    position: relative;
    width: 380px;
    height: 350px;
}

.ie7 .in-banner-container {
    z-index: 2;
    position: relative;
    width: 380px;
    height: 350px;
}


.in-banner-container h2 {
    padding-left: 35px;
    padding-right: 30px;
    font-family: 'MyriadPro-Bold';
    color: #fff;
    font-size: 22px;
}

.in-banner-container p {
    padding-top: 10px;
    padding-left: 35px;
    padding-right: 35px;
    font-family: 'MyriadPro-Regular';
    font-size: 14px;
    color: #fff;
    word-wrap: break-word;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/*html.backgroundsize #main-banner {
    background:url(img/banner1.jpg) no-repeat center top;
    background-size:100% auto;
    background-position: center top;
}
html.backgroundsize .bg {display:none;}

html.cssgradients #main-banner {
  background-image: url(img/banner1.jpg);
  background-size:100% auto;
  background-position: center top;
}
html.cssgradients .bg {display:none;}*/

#tri-block {
    width: 1130px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

    #tri-block .block-headline > p.title {
        font-size: 16px !important;
        font-family: tahoma,geneva,sans-serif !important;
        margin-bottom: 0;
    }

    #tri-block > div {
        display: inline-block;
        vertical-align: top;
        height: inherit;
        overflow: hidden;
    }

.ie7 #tri-block > div {
    display: inline;
}

#tri-block #about-company {
    width: 400px;
    border-right: 1px solid #bab6b8;
    position: relative;
}

    #tri-block #about-company p {
        color: #020001;
        font-size: 14px;
        font-family: 'MyriadPro-Regular';
        padding-left: 0px;
        padding-right: 40px;
    }

#tri-block .dark-ltr {
    background-color: #7a113f;
    width: 28px;
     height: 30px;
    font-family: 'MyriadPro-Bold';
    font-size: 30px;
    text-align: center;
    color: white;
    display: inline-block;
    zoom: 1;
    vertical-align: top;
    padding: 5px;
}

#tri-block .light-ltr {
    background-color: #99182a;
    width: 28px;
    height: 30px;
    font-family: 'MyriadPro-Bold';
    font-size: 30px;
    text-align: center;
    color: white;
    display: inline-block;
    zoom: 1;
    vertical-align: top;
    padding: 5px;
}

#tri-block #experience {
    width: 320px;
    padding-left: 35px;
    border-right: 1px solid #bab6b8;
    position: relative;
}

    #tri-block #experience .block-headline p {
        margin-bottom: 0;
    }

#tri-block #news .block-headline p {
    margin-bottom: 5px;
}

#tri-block .subblock-headline {
    padding-top: 35px;
}

    #tri-block .subblock-headline h1 {
        color: #020001;
        font-size: 20px;
        font-family: 'MyriadPro-Bold';
        margin-bottom: 30px;
        padding-top: 4px;
    }

#tri-block #news {
    width: 300px;
    padding-left: 40px;
    position: relative;
}

#tri-block > div > h2 {
    color: #020001;
    font-size: 20px;
    font-family: 'MyriadPro-Bold';
    padding-left: 90px;
    padding-top: 35px;
    margin-bottom: 30px;
}

#tri-block > #about-company > h2 {
    padding-left: 50px;
}

#tri-block > #about-company .editable-block p {
    line-height: 17.23px;
}

#main > #news-panel {
    height: 200px;
}

#news-panel {
    background-color: #7a113f;
    background-image: url(img/dot.png);
    background-repeat: repeat;
    min-height: 150px;
    padding-top: 40px;
    /*margin-top: 70px;*/
}

    #news-panel .centerer {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    #news-panel .law-block {
        float: right;
        width: 45%;
    }

    #news-panel .brochs-block {
        width: 45%;
        float: left;
    }

    #news-panel #news-title {
        float: left;
        width: 48%;
        min-height: 100px;
        overflow: hidden;
        color: white;
        font-size: 20px;
        font-family: 'MyriadPro-Bold';
        
    }

.ie7 #news-panel #news-title {
    width: 49%;
}

#news-panel #news-title span {
    padding-right: 20%;
}

#news-panel #news-block {
    display: block;
    float: none;
    min-height: 100px;
    overflow: hidden;
    width: 52%;
    font-size: 12px;
    font-family: 'MyriadPro-Regular';
    color: white;
}

    #news-panel #news-block .news-date {
        color: #bb5a68;
        font-size: 15px;
        font-family: 'MyriadPro-Bold';
        padding-top: 5px;
    }

    #news-panel #news-block h2 {
        color: #bb5a68;
        font-size: 17px;
        font-family: 'MyriadPro-Bold';
    }

    #news-panel #news-block p {
        font-size: 15px;
        font-size: 18px;
        font-family: 'MyriadPro-Bold';
    }

    #news-panel #news-block p {
        padding-top: 20px;
        font-size: 16px;
        font-family: 'MyriadPro-Regular';
        color: white;
    }

.brochure-item {
    padding-left: 25px;
    background-image: url(img/brochure-icon.png);
    background-repeat: no-repeat;
    margin-bottom: 30px;
}

    .brochure-item .brochure-year {
        color: #bb5a68;
        font-size: 15px;
        font-family: 'MyriadPro-Bold';
    }

    .brochure-item > div {
        display: inline-block;
        width: 200px;
        zoom: 1;
        *display: inline;
        vertical-align: top;
    }

    .brochure-item .brochure-slug {
        margin-left: 25px;
        color: white;
        font-size: 14px;
        font-family: 'MyriadPro-Regular';
    }

        .brochure-item .brochure-slug a {
            text-decoration: none;
            color: white;
        }

    .brochure-item .brochure-date {
        margin-left: 25px;
        color: #bb5a68;
        font-size: 14px;
        font-family: 'MyriadPro-Regular';
    }

    .brochure-item a {
        text-decoration: none;
    }

/*@media screen and (max-width: 1270px) {
    #main >    div {
        width: 1099px;
        margin-left: 50px;
    }

    #tri-block #experience {
        width: 290px;
    }
}*/
#tri-block #about-company-more {
    height: 25px;
    text-align: center;
    position: absolute;
    bottom: 2px;
    right: 40px;
}

    #tri-block #about-company-more a {
        font-family: Tahoma;
        font-size: 16px;
        color: #7a113f;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        padding: 5px;
    }

        #tri-block #about-company-more a:hover {
            color: white;
            background-color: #7a113f;
        }

#tri-block #experience-more {
    height: 25px;
    text-align: center;
    position: absolute;
    bottom: 2px;
    right: 40px;
}

    #tri-block #experience-more a {
        font-family: Tahoma;
        font-size: 16px;
        color: #7a113f;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        padding: 5px;
    }

        #tri-block #experience-more a:hover {
            color: white;
            background-color: #7a113f;
        }

#tri-block #news-more {
    height: 25px;
    text-align: center;
    position: absolute;
    bottom: 2px;
    right: 0px;
}

    #tri-block #news-more a {
        font-family: Tahoma;
        font-size: 16px;
        color: #7a113f;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        padding: 5px;
    }

        #tri-block #news-more a:hover {
            color: white;
            background-color: #7a113f;
        }

.in-banner-container p.banner-head {
    padding-left: 35px;
    padding-right: 30px;
    font-family: 'MyriadPro-Bold';
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}

.in-banner-container p.banner-text {
    padding-left: 35px;
    padding-right: 35px;
    font-family: 'MyriadPro-Regular';
    font-size: 14px;
    color: #fff;
}

.float-left {
    float: left;
}

@media screen and (max-width: 1205px) {
    #main {
        width: 1100px;
    }

        #main > div {
            width: 881px;
            margin-left: 50px;
            margin: 0 auto;
        }

    .in-banner-container {
        padding: 0;
    }
}

@media screen and (max-width: 1200px) {

    #main {
        width: 1100px;
    }
}

@media screen and (max-width: 1100px) {
    #main {
        width: 1000px;
    }

        #main > div {
            width: 1000px;
            margin-left: 0px;
            margin: 0 auto;
        }

    #news-panel .centerer {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {

    #tri-block #about-company {
        margin-left: 20px;
    }

    .exp-item .exp-slug {
        margin-top: 0px;
    }

    #tri-block #about-company {
        width: 375px;
        border-right: 1px solid #bab6b8;
    }

    #tri-block #news {
        width: 180px;
    }
}

@media screen and (max-width: 768px) {
    #main {
        width: 766px;
    }

        #main > div {
            width: 750px;
            margin-left: 0px;
            margin: 0 auto;
            height: 315px;
        }

        #main #tri-block {
            margin-top: 0px;
            height: 590px;
        }

    #tri-block #about-company {
        width: 263px;
        margin-left: 7px;
    }

    #tri-block #experience {
        width: 225px;
    }

    #tri-block #news {
        width: 170px;
    }

    #main-banner {
        height: 315px;
    }

    .rotator_control {
/*        top: -65px;*/
        top: 0;
    }

    html.backgroundsize #main-banner {
        background-size: 100% 100%;
    }

    #tri-block #news {
        padding-left: 25px;
    }

    #news-panel {
        padding-top: 15px;
        height: 315px!important;
    }

        #news-panel .brochs-block {
            width: 45%;
            margin-left: 15px;
        }

        #news-panel .law-block {
            width: 45%;
            margin-right: 15px;
        }

        #news-panel #news-title {
            float: none;
            width: auto;
            min-height: auto;
            overflow: hidden;
            font-size: 16px;
            font-family: 'MyriadPro-Bold';
            text-align: left;
        }

        #news-panel #news-block {
            float: none;
            min-height: auto;
            width: auto;
            color: white;
            margin-top: 11px;
        }

        #news-panel .brochure-item {
            padding-left: 0px;
            background: none;
            margin-bottom: 15px;
        }

        #news-panel .brochure-item .brochure-slug{
            margin-left: 0;
        }

        #news-panel .brochure-item .brochure-date{
            margin-left: 0;
        }

    #banner-block {
        aspect-ratio: 16/9;
    }

    #main > #banner-block {
        padding: 0;
    }

    #banner-block #main-banner {
        height: 100% !important;
    }

    #banner-block #main-banner > .bg {
        height: 100% !important;
        object-fit: cover;
        object-position: left center;
    }

    .in-banner-container {
        display:none;
        padding: 10px;
        box-sizing: border-box;
        height: 100% !important;
        transform: translateX(83%);
    }

    .in-banner-container * {
        box-sizing: inherit;
    }

    .in-banner-container p,
    .in-banner-container p.banner-text,
    .in-banner-container h2,
    .in-banner-container p.banner-head {
        font-size: 1rem;
        padding: 0;
        margin:0;
        margin-bottom: 0.5em;
        text-align: left !important;
    }

    .in-banner-container p,
    .in-banner-container p.banner-text {
        font-size: 0.75rem;
    }

    .in-banner-container .editable-block {
        left: 10px;
        right: 10px;
        width: auto;
    }

    .in-banner-container .editable-block * {
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    #tri-block #experience-more {
        display: none;
    }

    #tri-block #about-company-more {
        display: none;
    }

    #tri-block #news-more {
        display: none;
    }

    #main {
        width: 630px;
    }

        #main > div {
            width: 630px;
        }

        #main #tri-block {
            height: auto;
        }

    #tri-block #about-company {
        width: 620px;
        height: 270px;
        margin-left: 10px;
        border-right: none;
    }

        #tri-block #about-company p {
            padding-left: 50px;
            padding-right: 48px;
        }

    #tri-block #experience {
        width: 620px;
        height: 310px;
        padding-left: 10px;
        border-right: none;
    }

    #tri-block #news {
        width: 620px;
        height: 325px;
        padding-left: 10px;
    }

    .exp-item .exp-slug {
        margin-top: 0px;
        width: 500px;
    }

    .in-banner-container {
        width: 250px;
        transform: translateX(60%);
    }
}

@media screen and (max-width: 568px) {
    #main {
        width: 560px;
    }

        #main > div {
            width: 560px;
        }

        #main #tri-block {
            height: auto;
        }

    #tri-block #about-company {
        width: 550px;
    }

    #tri-block #experience {
        width: 550px;
    }

    #tri-block #news {
        width: 550px;
    }

    .exp-item {
        margin-left: 50px;
    }
}

@media screen and (max-width: 480px) {
    #main {
        width: 476px;
        margin-top: 1px;
    }

        #main > div {
            width: 473px;
        }

    #tri-block #about-company {
        width: 461px;
    }

    #tri-block #experience {
        width: 461px;
    }

    #tri-block #news {
        width: 461px;
    }

    .new-item .new-slug {
        width: 400px;
    }

    .exp-item .exp-slug {
        width: 400px;
    }

    .in-banner-container {
/*        display: block;*/
        display: none;
        transform: translateX(0);
        top: 0 !important;
    }

    .in-banner-container.active-slide {
        transform: translate(-100px, 0%);
    }

    .in-banner-container .editable-block {
        top: 10px;
        left: 0;
        transform: translate(0, 0);
        padding-left: 10px;

    }

    .rotator_control.left .ss-icon,
    .rotator_control.right .ss-icon {
/*        display: flex;*/
        display: none;
        align-items: center;
        justify-content: flex-start;
    }

    .rotator_control.right .ss-icon {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 320px) {

    #banner-block {
        display: none;
    }

    #lang-contact-line {
        display: none;
    }

    #main {
        width: 320px;
    }

        #main > div {
            width: 320px;
        }

        #main #tri-block {
            height: auto;
        }

    #tri-block #about-company {
        width: 320px;
        height: auto;
        margin-left: 0px;
        border-right: none;
        margin-bottom: -45px;
    }

    #tri-block #experience {
        width: 320px;
        height: auto;
        padding-left: 0px;
        border-right: none;
    }

    .exp-item .exp-slug {
        width: 250px;
    }

    .new-item .new-slug {
        width: 250px;
    }

    #tri-block #news {
        width: 320px;
        height: auto;
        padding-left: 0px;
    }

    #main > #news-panel {
        height: 245px;
    }

    #news-panel #news-title {
        width: 100%;
    }

    #news-panel #news-block {
        width: 100%;
        top: -45px;
        position: relative;
    }
}
