@media(min-width: 769px) and (max-height: 1080px) {
  .content-container .vc_row.wpb_row.fit-to-height .imgBox-image {
    background-size: 30vw !important;
  }
  .content-container .vc_row.wpb_row.fit-to-height .img-box-slider .slides {
    height: 20vw !important;
  }
  .content-container .vc_row.wpb_row.fit-to-height .vc_empty_space {
    height: 25px !important;
  }
  .content-container .vc_row.wpb_row.fit-to-height .md-text-container span {
    font-size: 3vw;
  }
}

div.layout > div.wrap.right > header.top-modern:first-child .first-part {

}

header.top-modern .first-part {
    display: inline;
}

nav.navigation ul#menu-menu > li:last-child
{
  border-right: none !important;
}

header.header-clone .first-part {
  border-right: none !important;
}

header.header-clone {
-webkit-box-shadow: 0px 2px 21px -10px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 2px 21px -10px rgba(0,0,0,0.75);
box-shadow: 0px 2px 21px -10px rgba(0,0,0,0.75);
}

header .content ul.icons-pack {
	display: none !important;
}

#widget-column-1,
#widget-column-2,
#widget-column-3,
#widget-column-4 { display:none; }

/* Kontaktformular general */
.contact-form label span {
color:#000 !important;
}

/* Kontaktformular modern */

/*-------------- modern ------------------*/
.form-container-modern  .input {
    position: relative;
    z-index: 1;
    margin-right:25px;
    max-width: 650px;
    width: calc(100% /2  - 34px);
    vertical-align: top;
    display: block;
    float: left;
    margin: 0 20px 0 20px;
}

.form-container-modern .top-elems{
    margin-bottom: 40px;
}

.form-container-modern .top-elems .input:last-child{
    margin-right: 0;
}

.form-container-modern .wpcf7-form-control-wrap .input__field{
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 100%;
    border: none;
    border-radius: 0;
    font-weight: bold;
    font-size: 15px;
    box-shadow: none;
    -webkit-appearance: none;
}
.form-container-modern .wpcf7-form-control-wrap .wpcf7-not-valid{
    box-shadow: none !important;
}

.form-container-modern .wpcf7-form-control-wrap .wpcf7-not-valid-tip{
    display: block !important;
    position: absolute;
    min-width: 300px;
    top: 6px;
    left: 64px;
    font-size: 12px;
    text-align: right;
}

.form-container-modern .wpcf7-form-control-wrap textarea + .wpcf7-not-valid-tip{
    top:60px;
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill{
    background-color: rgba(255,255,255,0);
}

.form-container-modern .wpcf7-form-control-wrap .input__field:focus,
.form-container-modern .submit-button:focus{
    outline: none;
    border: none;
}

.form-container-modern .input__label{
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #929296;
    font-weight: bold;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-container-modern .input__label-content {
    position: relative;
    display: block;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    -webkit-filter:blur(0px);
}

.form-container-modern .input--filled .input__label-content{
    font-size: 14px;
}

.form-container-modern .submit-button{
    width:150px;
    height: 50px;
    background-color:rgba(47,47,47,1);
    font-size: 13px;
    border-radius:35px;
    border:none;
    color: #ffffff;
    transition: background-color .3s;
    margin: 50px auto 0;
    text-transform: capitalize;
}

.form-container-modern .submit-button:hover{
    background-color:rgba(47,47,47,.9);
}

.form-container-modern .input--hoshi {
    overflow: hidden;
}

.form-container-modern .bottom-elem .input {
    width: calc(100% /1  - 34px - 15px);
    max-width: none;
    margin-right: 0;
}

.form-container-modern .bottom-elem .input textarea{
    height: 90px;
    resize: none;
}

.form-container-modern .bottom-elem .input__label-content,
.form-container-modern .bottom-elem .input--filled .input__label-content{
    top:0px;
}

.form-container-modern .bottom-elem .input .focus + .input__label .input__label-content,
.form-container-modern .bottom-elem .input--filled .input__label-content{
    top:0;
}

.form-container-modern .wpcf7-form-control-wrap .input__field--hoshi {
    margin-top: 1em;
    padding: 0.85em 0.15em;
    width: 100%;
    font-weight:400;
    background: transparent;
}

.form-container-modern .input__label--hoshi {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 0.25em;
    width: 100%;
    height: calc(100% -1em);
    text-align: left;
    pointer-events: none;
}

.form-container-modern .input__label-content--hoshi {
    position: absolute;
}

.form-container-modern .input__label--hoshi::before,
.form-container-modern .input__label--hoshi::after {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    width: 100%;
    height: calc(100% - 10px);
    border-bottom: 1px solid #000;
}

.form-container-modern .input__label--hoshi::after {
    margin-top: 2px;
    border-bottom: 3px solid #000000;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.form-container-modern .input__label--hoshi-color::after {
    border-color: hsl(0, 0%, 0%);
}


.form-container-modern .focus + .input__label--hoshi::after,
.form-container-modern .input--filled .input__label--hoshi::after {
    -webkit-transform: none;
    transform: none;
}


.form-container-modern .focus + .input__label--hoshi .input__label-content--hoshi,
.form-container-modern .input--filled .input__label-content--hoshi {
    -webkit-animation: none;
    animation: none;
}

@-webkit-keyframes anim-1 {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}

@keyframes anim-1 {
    50% {
        opacity: 0;
        -webkit-transform: translate3d(1em, 0, 0);
        transform: translate3d(1em, 0, 0);
    }
    51% {
        opacity: 0;
        -webkit-transform: translate3d(-1em, -40%, 0);
        transform: translate3d(-1em, -40%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, -40%, 0);
        transform: translate3d(0, -40%, 0);
    }
}

.wpcf7-submit {
  font-size:14pt !important;
  padding: 4px 60px;
  margin:30px;
  border: 1px solid #666;
  border-radius:20px;
  background-color:white;
  color:#000;
  box-sizing: border-box;
  height:35px;
}

.wpcf7-submit:hover {
  background-color:#eee;
}

/* text in box */
.text-in-box {
    text-align: center;
    position: relative;
    padding-top: 70px;
    margin: 4px 10px 20px 10px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 20px 25px rgba(0,0,0,0.15);
    top: -4px;
}

.dienstleistung1 .text-in-box,
.dienstleistung2 .text-in-box,
.dienstleistung3 .text-in-box,
.dienstleistung4 .text-in-box
{
   max-width: 450px;
}

.dienstleistung1 .vc_column-inner,
.dienstleistung2 .vc_column-inner,
.dienstleistung3 .vc_column-inner,
.dienstleistung4 .vc_column-inner {
  display: flex;
  justify-content:center;
}

@media(min-width :1200px) {
  .dienstleistung1 .text-in-box,
  .dienstleistung4 .text-in-box
  {
     height: 620px;
  }
  .dienstleistung2 .text-in-box,
  .dienstleistung3 .text-in-box
  {
     height: 440px;
  }
}

@media(min-width: 769px) and (max-width :1199px) {
  .dienstleistung1 .text-in-box,
  .dienstleistung4 .text-in-box
  {
     height: 750px;
  }
  .dienstleistung2 .text-in-box,
  .dienstleistung3 .text-in-box
  {
     height: 550px;
  }
}

/* call to action */
@media(max-width :800px) {
  .call-to-action .content {
      padding: 40px 0;
  }
  .call-to-action .shortcode-btn  span {
      font-size:14px;
  }
}

header.top-modern .logo img {
    height: 70px;
}