/*
 Theme Name: Divi Child
 Theme URI: http://www.elegantthemes.com/gallery/divi/
 Description:  Divi Child Theme
 Author: Elegant Themes
 Author URI: http://www.elegantthemes.com
 Template:     Divi
 Version: 3.0.90
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 License: GNU General Public License v2
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  webcoon
*/

/* Theme customization starts here
-------------------------------------------------------------- */

#et-main-area {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#et-main-area .et-l--footer {
    margin: auto 0 0;
}


.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #4f4f4f;
}

.form-row select, .form-row input {
    width: 100%;
    height: 50px;
    font-size: 20px;
    padding: 0 10px;
    border: 1px solid #8b8c8c;
    color: #8b8c8c;
    border-radius: 5px;
}

.submit-button {
    background: #138eff;
    color: #fff;
    border: 0;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    padding: 15px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.submit-button:hover {
    background: #0b75d8;
}

.go-img {
    height: 22px;
    position: absolute;
    right: 50px;
    transition: all .4s ease; 
}


.home-form-white .form-row > label {
    color: #fff;
}

.home-form-white .box-input label {
    border: 1px solid #fff;
    background: #fff;
}

.home-form-white .submit-button {
    background: unset;
    color: #fff;
    border: 1px solid #fff;
}

.home-form-white .form-row select, .home-form-white .form-row input {
    border: 1px solid #fff;
}

.steps {
    position: relative;
    min-height: 350px;
    transition: height 0.4s ease;
}

.steps .step {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    visibility: hidden;
    opacity:0;
    position: absolute;
    width:100%;
}

.steps .step.active {
    visibility: visible;
    opacity:1;
}


.steps .step .step-body {
    transition: transform 0.5s ease;
    transform: translateX(calc(100% + 40px));
    background: #fff;
    height: 100%;
}

.steps .step.active .step-body {
    transform: translateX(0%);
}

.steps .step.past {
    position: absolute;
    width: 100%;
}

.steps .step.next {
    position: absolute;
    width: 100%;
}

.steps .step.past .step-body {
    transform: translateX(calc(-100% - 40px));
}

.steps .step.next .step-body {
    transform: translateX(calc(100% + 40px));
}


.step-headline {
    display: block;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 30px;
    color: #4f4f4f;
    text-align: center;
    max-width: 680px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.step-foot {
    margin: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cf-prev {
    color: #718096;
    margin-right: 50px;
    cursor: pointer;
}

.cf-next, .startloading {
    background: #138eff;
    color: #fff;
    border: 0;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    padding: 10px 45px;
    font-weight: 700;
    cursor: pointer;
    max-width: 300px;
    margin: 0 0 0 auto;
    transition: background .3s ease;
}

.cf-next:hover, .startloading:hover {
    background: #0b75d8;
}


.box-input {
    display: flex;
    justify-content: center;
}

.box-input label {
    width: calc(33.3% - 10px);
    height: 160px;
    font-size: 16px;
    padding: 0 10px;
    border: 1px solid #edf8ff;
    color: #4b5166;
    border-radius: 5px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: #edf8ff;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    transition: background .3s ease;
}

.box-input label:hover {
    background: #daeffd;
}

.box-input label:last-child {
    margin-right: 0px;
}

.home-form .box-input label {
    width: calc(50% - 10px);
}

.box-input label::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #fff;
    border-radius: 100%;
    border: 1px solid #d5d5d5;
  }


.box-input input:checked + label::after {
    background: #138eff;
    border: 1px solid #138eff;
}


.icon-input label {
    flex-direction: column;
}

.icon-input input {
    display: none;
}

.icon-input .cf-icon {
    display: flex;
}

input.fehler {
    border: 1.5px solid #ff5959 !important;
}

.icon-input .cf-icon img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 5px 5px;
}


.date-input, .select-input {
    width: 100%;
    height: 50px;
    font-size: 20px;
    padding: 0 10px;
    border: 1px solid #8b8c8c;
    color: #8b8c8c;
    border-radius: 5px;
    max-width: 600px; 
}

.custom-date-inputs {
    display: flex;
    justify-content: center;
}

.custom-date-inputs .custom-date {
    height: 50px;
    width: 80px;
    font-size: 20px;
    padding: 0 10px;
    border: 1px solid #8b8c8c;
    color: #8b8c8c;
    border-radius: 5px;
    max-width: 600px; 
    margin-right: 5px;
}

.custom-date-inputs .custom-date#year, .custom-date-inputs .custom-date#gyear {
    width: 120px;
}

.daten-step .custom-date-inputs {
    justify-content: flex-start;
}

.input-elements {
    display: flex;
    justify-content: space-between;
}

.input-elements .input-element {
    width: calc(50% - 5px);
}

.input-element {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-element label {
    font-size: 16px;
    padding-bottom: 8px;
}

.text-input {
    width: 100%;
    height: 50px;
    font-size: 20px;
    padding: 0 10px !important;
    border: 1px solid #8b8c8c;
    color: #8b8c8c;
    border-radius: 5px;
    max-width: 600px;    
}

.small-p {
    font-size: 12px;
    line-height: 1.4em;
    margin-top: 5px;
}

.cf-row {
    margin-bottom: 20px;
}

.cf-row:last-child {
    margin-bottom: 0px;
}

.border-bottom {
    border-bottom: 1px solid;
    padding-bottom: 20px;
}

.erreichen-headline {
    margin: 40px 0 20px;
}


.input-anrede {
    display: none !important;
}

.anrede-container {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    justify-content: space-between;
}

.label-anrede {
    width: calc(33.33% - 1px);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf8ff;
    padding: 0 !important;
    cursor: pointer;
}

.input-anrede:checked + label {
    background: #138eff;
    color: #fff;
}


.cf-usp {
    text-align: center;
}

.cf-datenschutz {
    text-align: center;
    margin-top: 15px;
}

.cf-senden {
    background: #138eff;
    color: #fff;
    border: 0;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    padding: 15px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cf-senden:hover {
    background: #0b75d8;
}

#anfragetool {
    max-width: 1080px !important;
    transition: max-width 0.5s ease;
}

#anfragetool.final {
    max-width: 680px !important;
    margin: 0 auto;
}

.daten-step .step-body {
    max-width: 600px;
    margin: auto;
}

.adresse-input {
    display: flex;
    justify-content: space-between;
}

.adresse-input label {
    font-size: 16px;
    padding-bottom: 8px;
}

.plz, .ort {
    width: 20%;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
}

.street {
    width: calc(62% - 30px);
    display: flex;
    flex-direction: column;
}

.contactform-bar {
    background: #edf8ff;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
}

.contactform-bar-filler {
    width: 12.5%;
    height: 5px;
    background: #138eff;
    transition: width 0.4s ease;
}


.finish {
    position: absolute;
    width: 100%;
    background: #fff;
    text-align: center;
    z-index: 2;
    display: none;
    min-height: 300px;
}

.finish-headline {
    display: block;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0px;
    color: #4f4f4f;
    max-width: 600px;
    margin: 10px auto;
}

.finish-button {
    background: #138eff;
    color: #fff;
    border: 0;
    text-align: center;
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
}



.loading {
    display: none;
    position: absolute;
    z-index: 9;
    height: 100%;
    left: -40px;
    width: calc(100% + 80px);
    background: #fff;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.loading.active {
    display: flex;
}

.loading-headline {
    display: block;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0px;
    color: #4f4f4f;
}


.error {
    background: #ff5959;
    border: 1.5px solid #ff5959 !important;
    padding: 8px 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #fff;
}



@keyframes scaleAnimation {
    0% {
        opacity: 0;
        transform: scale(1.5);
   }
    100% {
        opacity: 1;
        transform: scale(1);
   }
}
@keyframes drawCircle {
    0% {
        stroke-dashoffset: 151px;
   }
    100% {
        stroke-dashoffset: 0;
   }
}
@keyframes drawCheck {
    0% {
        stroke-dashoffset: 36px;
   }
    100% {
        stroke-dashoffset: 0;
   }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
   }
    100% {
        opacity: 0;
   }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
   }
    100% {
        opacity: 1;
   }
}

.successAnimation {
    width: 120px;
    height: 120px;
    opacity: 0;
}

.successAnimation.animated {
    opacity: 1;
}

.successAnimationCircle {
    width: 100px;
    height: 100px;
    stroke-dasharray: 151px 151px;
    stroke: #138eff;
}
.successAnimationCheck {
    stroke-dasharray: 36px 36px;
    stroke: #138eff;
}
.successAnimationResult {
    fill: #138eff;
    opacity: 0;
}
.successAnimation.animated {
    animation: 1.8s ease-out 0s 1 both scaleAnimation;
}
.successAnimation.animated .successAnimationCircle {
    animation: 1.8s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCircle, 0.3s linear 1.4s 1 both fadeOut;
}
.successAnimation.animated .successAnimationCheck {
    animation: 1.8s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both drawCheck, 0.3s linear 1.4s 1 both fadeOut;
}
.successAnimation.animated .successAnimationResult {
    animation: 0.3s linear 1.4s both fadeIn;
}


.versicherung-logos .dica_divi_carouselitem {
    align-items: center;
    height: 100%;
  }

.versicherung-logos img {
    max-height: 40px;
    width: auto !important;
    filter: grayscale(100%) brightness(60%) contrast(10000000%);
    opacity: .3; 
    margin: auto !important;
    display: block !important;
}




	
@media all and (max-width: 980px) {

    #main-header {
        height: 80px;
        position: fixed !important;
    }

    #main-header .container {
        height: 100%;
    }

    #main-header #logo {
        max-width: 65%;
    }
	
    .et_mobile_menu {
        top: 79px !important;
        border-top: 0px !important;
        padding: 10px 0 !important;
        right: -110vw;
        left: auto;
        transition: right 0.7s ease;
        display:block !important;
        width: 100% !important;
        margin: auto !important;
        overflow: scroll;
        height: calc(100% - 78px) !important;
        min-height: auto !important;
        position: fixed !important;
    }
        
    body.opened, body.opened #page-container{
        overflow:hidden !important;
    }
    
    .opened .et_mobile_menu {
        right:0;
    }
        
    .mobile_menu_bar {
        padding-bottom: 24px !important;
        width: 38px;
        margin-top: 5px;
        right: 0px !important;
        cursor: pointer;
        transition: all 0.1s ease;
    }
        
    .mobile_menu_bar::before {
        content: "";
        position: absolute;
        right: 0;
        top: 10px !important;
        cursor: pointer;
        height: 1.5px;
        width: 38px;
        background: #36414d;
        display: block;
        transition: all 0.3s ease;
    }
        
    .mobile_menu_bar::after {
        content: "";
        position: absolute;
        right: 0;
        top: 17px;
        cursor: pointer;
        height: 1.5px;
        width: 28px;
        background: #36414d;
        display: block;
        transition: all 0.3s ease;
    }
        
    .opened .mobile_menu_bar::before {
        top: 15px !important;
        width: 30px;
        transform: rotate(45deg);
    }
        
    .opened .mobile_menu_bar::after {
        top: 15px;
        width: 30px;
        transform: rotate(-45deg);
        left: -0px;
    }
        
    .et_mobile_menu li a {
        text-align: center;
        border: 0;
        padding: 15px 0;
    }
        
    .mobile_nav ul#mobile_menu li ul li a {
        margin: auto;
        padding-top: 0.2em;
    }
      
    
}       



@media all and (max-width: 680px) {

    .form-row label {
        font-size: 18px;
    }

    .form-row select, .form-row input {
        height: 45px;
        font-size: 18px;
    }

    .steps, .steps .step {
        min-height: 390px;
    }

    .step-headline {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .box-input {
        flex-direction: column;
    }

    .icon-input label {
        flex-direction: unset;
    }

    .home-form .box-input label {
        width: 100%;
    }

    .go-img {
        display: none !important;
    }

    .box-input label {
        width: 100%;
        height: unset;
        padding: 15px 10px;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .icon-input .cf-icon img {
        height: 35px;
    }

    .cf-label-text {
        text-align: left;
        margin-left: 20px;
        line-height: 1.4em;
    }


    .adresse-input {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .plz {
        width: calc(40% - 10px);
        margin-right: 10px;
    }

    .ort {
        width: 60%;
        margin-right: 0;
    }

    .street {
        width: 100%;
        margin-top: 15px;
    }

    .cf-next {
        max-width: 150px;
        white-space: nowrap;
    }

    .startloading {
        max-width: 200px;
        white-space: nowrap;
        padding: 10px 25px;
    }

    .box-input label::after {
        top: 6px;
        right: 6px;
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .mobile-hide {
        display: none !important;
    }


    .loading {
        left: -7.5%;
        width: 115%;
        text-align: center;
        padding: 7.5% ;
    }

    .input-elements {
        display:  block;
    }

    .input-elements .input-element {
        width: 100%;
    }

    .input-element {
        margin-bottom: 15px;
    }
    
    .input-element label, .adresse-input label {
        padding-bottom: 4px;
    }
    
    .erreichen-headline {
        margin: 20px 0 10px;
    }

    .cf-senden {
        margin-top: 10px;
    }

    .label-anrede {
        width: calc(50% - 1px);
    }

    .label-anrede:last-child {
        display: none !important;
    }

    .cf-datenschutz, .cf-usp {
        font-size: 14px;
    }
} 