.icanwd-flex-container {
    padding: 0;
    margin: 0;
    list-style: none;

    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-align-items: stretch;
    align-items: stretch;
    flex: 1;
}

div#icanwd-tm-form {
    background-color: #9f272b;
    color: white;
    margin: 2em 0;
    position: relative;
    z-index: 10;
}

div#icanwd-tm-form p {
    font-size: 16px;
}

div#icanwd-tm-form .icanwd-step {
    background-color: #c1353e;
    margin: 0;
    padding: 10px 10px 5px 15px;
}

div#icanwd-tm-form .icanwd-step h3 {
    color: white;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.icanwd-search-ui {
    background-color: #fff;
    height: 44px;
    vertical-align: top;
    border: none;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.icanwd-search-ui div.icanwd-input {
    flex: 7;
}

.icanwd-search-ui div.icanwd-button {
}

.icanwd-search-ui div.icanwd-input input[type="text"] {
    border-radius: 0;
    border: 0 !important;
    font-size: 18px;
    height: 28px;
    width: 100%;
}

button#icanwd-search-submit {
    text-transform: unset;
    margin: 0;
    width: 100%;
    background-color: white;
    color: darkblue;
}

#icanwd-tm-form div.results {
    position: absolute;
    right: 0;
    left: 0;
}

#icanwd-tm-form div.results ul {
    list-style: none;
    margin-left: 0;
}

#icanwd-tm-form div.results a {
    color: black;
    display: block;
    background-color: white;
    width: 100%;
}

#icanwd-tm-form div.results a:hover {
    background-color: #ccc;
}

#icanwd-tm-form div.results li {
    display: block;
    padding: 5px;
}

#icanwd-tm-form div.results li.hidden {
    display: none;
}

div#icanwd-vrfiliale-finden div.results ul a {
    display: block;
    width: 100%;
}

.icanwd-selected-bank {
    flex: 2;
    padding-right: 12px;
    padding-top: 6px;
    font-size: 20px;
    text-align: left;
}

.icanwd-story-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.icanwd-msform div.results ul {
    list-style: none;
    margin-left: 0;
    text-align: left;
}

.icanwd-msform div.results ul a {
    display: block;
    padding: 8px 16px;
}

.icanwd-msform div.results ul a {
    display: block;
    border-top: 1px solid #ccc;
}

.icanwd-msform div.results ul a h5 {
    color: darkblue;
    padding-bottom: 0;
}

.icanwd-msform div.results ul a p {
    margin-top: 0;
    color: black;
}

.icanwd-round-button {
    margin-top: 15px;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border: 2px solid darkblue;
    border-radius: 50%;
    color: #f5f5f5;
    text-align: center;
    text-decoration: none;
    background: darkblue;
    box-shadow: 3px 3px 3px gray;
    font-size: 20px;
    font-weight: bold;
    opacity: .7;
}

.icanwd-round-button:hover {
    opacity: 1;
}

ul#icanwd-plz-results a:hover li div div div.icanwd-round-button {
    opacity: 1;
}

.icanwd-msform textarea {
    width: 95%;
    min-height: 33em;
    font-size: 16px;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    margin: 0 !important;
}

.tabs-container .panes {
    padding: 0 !important;
    border: 0 !important;
}

.tabs-container .tabs {
    border-bottom:0 !important;
}

div.icanwd-user-input input {
    background-color: #fff;
    height: 44px;
    vertical-align: top;
    border: none;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
    font-size: 18px;
    width: 95%;
    margin-bottom: 10px;
}

div.icanwd-backnext {
    padding-top: 20px;
}

div.icanwd-backnext input.icanwd-back {
    margin-top: 0;
    font-size: 16px;
    display: block;
    background-color: #aaa;
    height: 50px;
    padding: 12px;
    color: white;
    font-weight: bold;
    margin-right: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-transform: unset;
}

div.icanwd-backnext input.icanwd-next {
    float: right;
    display: block;
    height: 50px;
    padding: 12px;
    margin: 0;
    text-transform: unset;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
}

/*custom font*/

/*form styles*/
.icanwd-msform {
    min-width: 400px;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    position: relative;
}

.icanwd-msform fieldset,
#icanwd-fullscreen-box {
    border-radius: 0;
    text-align: left;
    background: rgba(255,255,255,.9);
    padding: 20px 30px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    /*stacking fieldsets above each other*/
    position: relative;
}

#icanwd-fullscreen-box {
    margin: 70px 10%;
}

#icanwd-fullscreen-content-wrapper {
    padding-top:170px;
    min-width: 400px;
    max-width: 800px;
    margin:auto;
    margin-bottom:10%;
}

.accordion-title {
    font-size:16px !important;
    text-transform:none !important;
}

/*Hide all except first fieldset*/
.icanwd-msform fieldset:not(:first-of-type) {
    display: none;
}

/*headings*/
.fs-title {
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    color: rgb(196, 28, 55);
    margin-bottom: 10px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: white;
    border-radius: 3px;
    margin: 0 auto 5px auto;
    position: relative;
    z-index: 10;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: 1; /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #27AE60;
    color: white;
}

div.icanwd-reset-text {
    text-align: left;
}

div.icanwd-submit-button {
    background: #27AE60;
}


@media screen and (max-width: 768px) {

    .icanwd-msform fieldset,
    #icanwd-fullscreen-box {
        border-radius: 0;
        text-align: left;
        background: rgba(255,255,255,.9);
        padding: 20px 30px 30px;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        /*stacking fieldsets above each other*/
        position: relative;
    }

    #icanwd-fullscreen-box {
        margin: 70px 0;
    }

    #icanwd-fullscreen-content-wrapper {
        padding-top:170px;
        margin:auto;
        margin-bottom:10%;
    }
}
