.main-wrapper-title_generator {
    padding: 30px 0;
    text-align: center;
}

[data-target="topicForm"] {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

[data-target="topicForm"] > div {
    flex-basis: 32%;
    line-height: 1;
    font-size: 0 !important;
}

.generator-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.generator-controls > div {
    flex-basis: 32%;
    line-height: 1;
    font-size: 0 !important;
}

.container-generator {
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .07);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .07);
    text-align: center;
    border: 1px solid #f5f5f5;
    padding: 48px 0;
}

.container-generator select {
    font-size: 14px !important;
    color: #213f52;
    height: 52px;
    padding: 0 15px;
    background: #fff;
    border-radius: 7px !important;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 11, 10, 0.15);
    box-shadow: 0 2px 6px 0 rgba(0, 11, 10, 0.15);
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    width: 232px;
}

.container-generator select:focus {
    min-width: 232px;
    width: auto;
}

.container-generator select {
    display: none !important;
}

.container-generator select * {
    line-height: 18px;
    text-transform: capitalize;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0 5px 15px;
    position: relative;
}

.select-styled {
    font-size: 14px !important;
    color: #213f52;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    background: #fff;
    border-radius: 7px !important;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 2px 6px 0 rgb(0 11 10 / 15%);
    box-shadow: 0 2px 6px 0 rgb(0 11 10 / 15%);
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.select-options {
    display: none;
    position: absolute;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 2px 6px 0 rgb(0 11 10 / 15%);
    max-height: 400px;
    overflow-y: scroll;
    z-index: 10;
    width: 100%;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .generator-controls .input-left, .generator-controls .input-right {
        flex-basis: 48%;
    }

    .generator-controls .get-topic-button {
        flex-basis: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .generator-controls {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .generator-controls {
        display: block;
    }

    .generator-controls .input-left {
        margin-bottom: 20px;
    }
}

.panel-body {
    text-align: left;
    padding-left: 6.5%;
    padding-right: 6.5%;
}

.container-generator ul {
    margin: 0 !important;
}

.get-topic-button {
    text-align: right;
}

#sample-results {
    margin: 0 !important;
    text-align: left !important;
}

#sample-results li {
    padding: 10px 50px;
}

#sample-results li:first-child {
    margin-top: 30px;
}

#sample-results li:before {
    display: none !important;
}

#sample-results .aligned_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#sample-results .aligned_wrapper .button {
    line-height: 27px;
    padding: 0 10px;
}

#sample-results .aligned_wrapper .right_side {
    flex-basis: 150px;
    text-align: right;
}

#sample-results .aligned_wrapper .left_side {
    flex: 1;
    margin-right: 5%;
}

@media (max-width: 768px) {
    [data-target="topicForm"] .get-topic-button {
        flex-basis: 100%;
        text-align: center;
        margin-top: 20px;
    }

    [data-target="topicForm"] {
        flex-wrap: wrap;
    }

    [data-target="topicForm"] .input-left, [data-target="topicForm"] .input-right {
        flex-basis: 48%;
    }

    #sample-results .aligned_wrapper {
        display: block;
        margin: 0;
    }

    #sample-results .aligned_wrapper .left_side {
        margin-right: 0;
        margin-bottom: 5px;
    }

    #sample-results .aligned_wrapper .right_side {
        text-align: center;
    }

    #sample-results li {
        padding: 10px 2%;
    }
}

@media (max-width: 480px) {
    [data-target="topicForm"] {
        display: block;
    }

    [data-target="topicForm"] .input-left {
        margin-bottom: 20px;
    }
}
