@media (max-width:1600px) {
    
    header#main-header nav#main-menu {
        padding:0 35px;
    }
  /**  header#main-header a.logo {
        width:350px;
    }**/
    header#main-header #header-law {
        right:35px;
    }
    
}

@media (max-width:1400px) {
    
    section.text-image .image {
        width:calc(40% - 100px);
    }
    section.text-image .text {
        width:60%;
    }
    
    
    section.tiles-white .tile,
    section.tiles-white.columns-3 .tile {
        width:calc(50% - 35px);
    }
    
    
    section.text-image .image .box {
        width:100%;
        padding:35px 25px;
    }
    section.text-image .image .box:after {
        display:none;
    }
    
    
    section.jobs article .content .image img {
        max-width:177px;
    }
    
}

@media (max-width:1350px) {
    
    header#main-header nav#main-menu > ul > li {
        margin:0 20px 0 0;
    }
    
    
    section.text-image-wide .image {
        display:none;
    }
    section.text-image-wide .text {
        width:100%;
    }
    
    
    section.carousel .slide .text {
        padding:60px;
    }
    /*section.carousel .slide .image:after {
        right:-202px;
        transform:skew(-15deg);
    }*/
    section.carousel .slide .image {
        width:500px;
    }
    
    
    body .page-body > footer .logo a {
        width:auto;
        height:60px;
    }
    
    
    section.tiles-grey .tiles .tile {
        width:calc(50% - 18px);
    }
    section.tiles-grey .tiles .tile:nth-child(3n) {
        margin-right:25px;
    }
    section.tiles-grey .tiles .tile:nth-child(2n) {
        margin-right:0;
    }
    
}

@media (max-width:1280px) {

    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal li .icon {
        display: none;
    }
    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal li .cf7_mls_steps_item_container .cf7_mls_steps_item_content {
        text-align: center;
    }

}

@media (max-width:1200px) {
    
    header#main-header a.logo {
        height:92px;
        width:270px;
        background-size:auto 48px;
    }
    header#main-header.scroll a.logo {
        background-size:auto 48px;
    }
    header#main-header a.logo:after {
        border-width:92px 98px 0 0;
    }
    header#main-header.scroll a.logo:after {
        border-width:0 98px 0 0;
    }
    
    header#main-header nav#main-menu,
    header#main-header #header-law {
        display:none;
    }
    header#main-header .buttons {
        display:flex;
        padding:0 35px 0 0;
    }
    header#main-header button.mobile {
        display:block;
    }
    header#main-header.scroll .hamburger-inner,
    header#main-header.scroll .hamburger-inner::before,
    header#main-header.scroll .hamburger-inner::after {
        background:#000;
    }
    
    
    section.box .boxes {
        flex-direction:column;
        padding:0 60px;
    }
    section.box .boxes .box {
        width:100%;
        padding:60px 0;
    }
    section.box .boxes .box.box-left {
        border-right:0;
        border-bottom:1px solid #fff;
    }
    section.box .boxes .box.box-right {
        border-left:0;
        border-top:1px solid #fff;
    }
    section.box .boxes .box.has-link {
        padding-bottom:160px;
    }
    section.box .boxes .box.has-link > a.button {
        bottom:60px;
    }
    
    
    section.jobs article {
        width:100%;
    }
    
}

@media (max-width:1024px) {
    
    section.text-image .inner,
    section.text-image.image-left-text-right .inner {
        flex-direction:column-reverse;
    }
    section.text-image .text,
    section.text-image.image-left-text-right .text {
        padding:0;
        margin:61px 0 0;
    }
    section.text-image .image {
        width:100%;
    }
    section.text-image .text {
        width:100%;
    }
    
    
    section.contact .inner {
        flex-direction:column;
        align-items:center;
    }
    section.contact .inner > .form {
        padding:61px 0 0;
    }
    section.contact .address p:not(.teaser),
    section.contact .address ul {
        display:none;
    }
    
    
    section.carousel .slide {
        flex-direction:column;
        background: rgb(0,86,184);
    }
    section.carousel .slide .image {
        width:100%;
        height:auto;
        max-height:500px;
    }
    section.carousel .slide .image img.desktop {
        display:none;
    }
    section.carousel .slide .image img.mobile {
        display:block;
        object-fit:cover;
    }
    section.carousel .slide .text {
        width:100%;
        padding:35px;
    }
    
    
    section.teaser .text .text-inner-centered,
    section.carousel .inner > .text,
    section.box .boxes {
        padding-left:35px;
        padding-right:35px;
    }
    
    
    section.teaser.full-width .text .text-inner-centered,
    section.tiles-grey .inner > .text {
        padding:0;
    }
    
    
    section.text-image .image .box {
        width:calc(100% - 80px);
        padding:35px 0 35px 25px;
    }
    section.text-image .image .box:after {
        display:block;
    }
    
    
    .text h1 {
        font-size:42px;
    }
    section.slider .slide .slide-inner .text h1,
    section.contact .address p.teaser,
    .text h2 {
        font-size:38px;
    }
    .text h3 {
        font-size:30px;
    }
    .text h4 {
        font-size:26px;
    }
    .text h5 {
        font-size:22px;
    }
    .text h6 {
        font-size:20px;
    }
    
    section.contact .address p.teaser:after {
        height:62px;
        right:-18px;
    }
    
}

@media (max-width:990px) {
    
    section.text-image-wide .text {
        padding:0;
    }
    
    
    section.text-single .text {
        padding-left:0;
        padding-right:0;
    }
    section.text-single .text-inner-centered *:not(.teaser):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
        text-align:left;
    }
    
    
    section.blocks-grey .inner > .text {
        padding-left:0;
        padding-right:0;
    }
    
    
    body .page-body > footer .inner {
        flex-direction:column;
    }
    body .page-body > footer .social-media {
        margin:55px 0 0;
    }
    
    section.post-footer .inner {
        flex-direction:column;
    }
    section.post-footer .copyright {
        text-align:center;
        margin:0 0 16px;
    }
    section.post-footer nav ul {
        text-align:center;
    }
    section.post-footer nav ul > li {
        display:inline-block;
        float:none;
    }
    
    
    section.tiles-grey .tiles {
        padding:0 34px;
    }
    section.tiles-grey .tiles .tile {
        width:100%;
        margin-right:0;
    }
    section.tiles-grey .tiles .tile:nth-child(3n) {
        margin-right:0;
    }
    
    
    section.tiles-white .inner > .text {
        padding-left:0;
        padding-right:0;
    }


    .cf7mls_progress_bar {
        flex-direction: column;
    }
    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal li {
        width: 100% !important;
        padding: 15px 25px;
        margin: 6px 0;
    }

}

@media (max-width:800px) {
    
    section.tiles-white .tiles {
        padding-left:0;
        padding-right:0;
    }
    section.tiles-white .tile,
    section.tiles-white.columns-3 .tile {
        width:100%;
        margin-left:0;
        margin-right:0;
    }
    
}

@media (max-width:768px) {

    .cf7mls_number_step_wrap {
        display:none;
    }
    .cf7mls_progress_bar {
        display: flex;
    }

}

@media (max-width:600px) {
    
    section.jobs article {
        padding:35px 25px;
    }
    section.jobs article .content {
        flex-direction:column;
    }
    section.jobs article .content .image + .details {
        padding:38px 0 0;
    }
    
    
    .wpcf7 .row {
        flex-direction:column;
    }
    .wpcf7 .row.columns-2 .column {
        width:100%;
        margin:0 0 16px;
    }
    .wpcf7 .row.columns-2 .column:last-child {
        margin-bottom:0;
    }
    .wpcf7 .row.send {
        margin-top:32px;
    }
    .wpcf7 .row.columns-2.send .column {
        text-align:center;
    }
    .wpcf7 .row.columns-2.send .column:first-child {
        padding:0 0 16px;
    }


    .wpcf7-form .cf7mls_progress_bar ~ .fieldset-cf7mls-wrapper fieldset .row.send + p {
        text-align: center;
    }
    .wpcf7-form .cf7mls_progress_bar ~ .fieldset-cf7mls-wrapper fieldset .row.send + p button {
        float: none !important;
    }
    
}

@media (max-width:550px) {
    
    header#main-header a.logo {
        width:200px;
        background-size:auto 37px;
    }
    header#main-header.scroll a.logo {
        background-size:auto 37px;
    }
    header#main-header a.logo:after {
        border-width:92px 70px 0 0;
    }
    header#main-header.scroll a.logo:after {
        border-width:0 70px 0 0;
    }
    
    body .page-body > footer .logo a {
	    width:auto;
	    height:45px;
    }

    
    
    #page-content .page-body section {
        padding:100px 0;
    }
    
    
    section.slider .slide .slide-inner {
        padding:100px 0 150px;
        background:url(../images/scroll.svg) no-repeat center bottom 35px;
        background-size:50px auto;
    }
    
    
    section.text-single.grey .text {
        padding-bottom:61px;
    }
    
    
    section.blocks-grey .blocks .block > h4 {
        padding-top:35px;
        padding-left:0;
    }
    
    
    section.carousel nav {
        padding:0 35px;
    }
    section.carousel nav ul {
        width:900px;
    }
    
    
    section.text-image .image .box {
        width:100%;
        padding:35px 25px;
        margin:0;
    }
    section.text-image .image .box:after {
        display:none;
    }
    
    
    .text h1 {
        font-size:36px;
    }
    section.slider .slide .slide-inner .text h1,
    section.contact .address p.teaser,
    .text h2 {
        font-size:28px;
    }
    .text h3 {
        font-size:26px;
    }
    .text h4 {
        font-size:24px;
    }
    .text h5 {
        font-size:20px;
    }
    .text h6 {
        font-size:20px;
    }
    
    section.contact .address p.teaser:after {
        height:53px;
        right:-15px;
    }
    
    
    section.tiles-grey .tiles {
        padding:0;
    }
    section.tiles-grey .tiles .tile {
        flex-direction:column;
        justify-content:center;
    }
    section.tiles-grey .tiles .icon {
        margin:0 0 25px;
    }
    section.tiles-grey .tiles h4 {
        text-align:center;
    }
    section.tiles-grey .tiles .tile,
    section.tiles-grey .tiles .icon,
    section.tiles-grey .tiles h4 {
        transform:skewX(0);
    }

    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal,
    .cf7mls_bar_style_box_larerSign_squaren.cf7mls_bar_style_text_horizontal {
        padding: 0 !important;
    }
    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal li {
        transform: skewX(0);
    }
    .cf7mls_bar_style_box_larerSign_squaren.cf7mls_bar_style_text_horizontal .cf7mls_progress_bar_title,
    .cf7mls_bar_style_box_vertical_squaren.cf7mls_bar_style_text_horizontal .cf7mls_progress_bar_title {
        transform: skewX(0);
    }

    .dnd-upload-status .dnd-upload-image {
        display: none;
    }
    .dnd-upload-status .dnd-upload-details {
        padding-left: 0;
    }
    .dnd-upload-status .dnd-upload-details .name span {
        max-width: 180px;
    }
    .dnd-upload-status .dnd-upload-details .name em {
        display: none;
    }
    
}

@media (max-width:380px) {
    
    header#main-header a.logo {
        width:180px;
        background-size:auto 45px;
    }
    header#main-header.scroll a.logo {
        background-size:auto 40px;
    }
    header#main-header a.logo:after {
        border-width:92px 35px 0 0;
    }
    header#main-header.scroll a.logo:after {
        border-width:0 35px 0 0;
    }
    header#main-header .buttons {
        padding:0 25px 0 0;
    }
    
}