.top {
    width: 100%;
    background:
        linear-gradient(#0007, #0007),
        linear-gradient(#fec33e77, #5a2a6677),
        url('../images/join.jpg');
    background-size: cover;
    background-position: 50% 65%;
    padding: 2em 0;
    margin-bottom: 3em;
    color: #fff;
}

.top h1 {
    font-size: 2em;
}

.content {
    width: 100%;
    max-width: 1280px;
    padding: 2em 0.5em;
    text-align: right;
}

@media (min-width: 768px) {
    .misna_bottom {
        display: none;
    }
}

@media (max-width: 767px) {
    .misna_top {
        display: none;
    }
    .misna_bottom {
        width: 100%;
        padding: 0.5em 2em;
        text-align: right;
    }
}

.cont {
    position: relative;
    width: 100%;
    min-height: 0vh;
    overflow: hidden;
    transition: all 0.5s;
}

.stage {
    position: absolute;
    top: 0;
    transform: translate(-50%);
    width: calc(100% - 2em);
    max-width: 1280px;
    padding: 3em 1em;
    background: #5a2a66;
    color: #fff;
    transition: left 0.5s;
}

.stage.on { left: 50%; }
.stage.pre { left: -50%; }
.stage.post { left: 150%; }

.form {
    width: 100%;
    max-width: 660px;
    text-align: right;
}

.form input,
.form select,
.form textarea {
    font-family: 'Heebo', sans-serif;
    display: block;
    width: 100%;
    padding: 0.5em;
    font-size: 100%;
    color: #5a2a66;
}

.form input.hide {
    display: none;
}

textarea {
    resize: vertical;
}

.form select:disabled {
    color: #777;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    font-weight: bold;
}

.txtBtn {
    font-family: 'Heebo', sans-serif;
    font-size: 100%;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.txtBtn:hover {
    font-weight: bold;
}

.next {
    font-family: 'Heebo', sans-serif;
    font-size: 100%;
    color: #5a2a66;
    background: #fff;
    padding: 0 2em 0 3em;
    border: none;
    border-radius: 1em;
    position: relative;
    height: 2em;
    display: inline-block;
    line-height: 2em;
    cursor: pointer;
}


.next .fa-chevron-left {
    color: #5a2a66;
    background: #fec33e;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2em;
    line-height: 2em;
    border-radius: 50%;
    padding-right: 0.1em;
}

.next:hover, .next:hover .fa-chevron-left {
    font-weight: bold;
}

@media (min-width: 768px) {

    .sideA {
        display: inline-block;
        width: calc(65% - 1em);
        vertical-align: top;
        margin-left: 1em;
    }

    .sideB {
        display: inline-block;
        width: 35%;
        vertical-align: top;
    }
}

@media (max-width: 767px) {

    .sideA, .sideB {
        display: block;
        width: 100%;
    }
}

.groupCountCont {
    position: relative;
    width: 100%;
    padding: 0.5em;
    background: #fff;
    color: #5a2a66;
    text-align: center;
}

.groupCountCont .plus,
.groupCountCont .minus {
    border: none;
    position: absolute;
    top: 0;
    padding: 0.75em;
    height: 100%;
    background: #fec33e;
    cursor: pointer;
}

.groupCountCont .plus {
    right: 0;
}

.groupCountCont .minus {
    left: 0;
}

.textCounter {
    text-align: left;
    font-size: 0.75em;
}

.ideaStage {
    font-family: 'Heebo', sans-serif;
    border: none;
    font-size: 100%;
    display: inline-block;
    text-align: center;
    padding: 0.5em 0;
    background: #fff;
    color: #5a2a66;
    border-radius: 2em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

@media (min-width: 768px) {
    .ideaStage {
        width: calc(95% / 6);
    }
    .ideaStage:not(.f) {
        margin-left: 1%;
    }
}

@media (max-width: 767px) {
    .ideaStage {
        width: calc(98% / 3);
    }
    .ideaStage:not(.c):not(.f) {
        margin-left: 1%;
    }
}

.ideaStage.on {
    font-weight: bold;
    background: #fec33e;
}

.ideaStage:hover {
    font-weight: bold;
}

.setLI {
    font-size: 0.66em;
    padding: 0.5em;
    background: #fec33e;
    border-radius: 50%;
    color: #5a2a66;
    cursor: pointer;
}

.liCont.hide {
    display: none;
}

.error {
    background: #fbb;
    border: solid 2px red;
}

.communication-start,
.communication-error,
.communication-OK {
    display: none;
}

.finalBack {
    display: inline-block;
    background: #fff;
    color: #5a2a66;
    padding: 0.5em 3em;
    border-radius: 2em;
}