@media only screen and (max-width: 1020px) {
    html, body {
        font-family: "Roboto", sans-serif;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    h1, h2, h3 {
        color: #54B872;
        margin-bottom: 5px;
        margin-top: 5px;
    }
    #results h3 {
        padding: 0;
    }
    #basicInfo h2, #basicInfo h3 {
        padding-left: 0;
        padding-right: 0;
    }
    .right > h3, .middle > button {
        margin-top: 1em;
    }
    input[type="text"]::placeholder {
        color: #aaa;
        font-weight: 100;
        font-size: 1em;
    }
    input[type="text"] {
        border-style: solid;
        border-width: 1px;
        border-color: #aaa;
        background-color: #eee;
        color: #777;
        font-weight: 400;
        border-radius: 1.4em;
        padding: 0.4em 0.4em 0.4em 1.4em;
        width: 75%;
        font-size: 1em;
    }
    h3 > span {
        margin-left: 1em !important;
        border-style: solid !important;;
        border-color: #aaa !important;;
        background-color: #eee !important;;
        color: #54B872 !important;;
        border-radius: 1.4em !important;;
    }
    .ui-selectmenu-icon.ui-icon {
        margin-top: 7px;
    }
    .ui-datepicker {
        width: 90vw;
        margin: auto;
    }
    .ui-selectmenu-menu .ui-menu {
        max-height: 200px;
    }
    .lds-ring {
        display: inline-block;
        position: relative;
        width: 80px;
        height: 80px;
    }
    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #54B872;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #54B872 transparent transparent transparent;
    }
    .lds-ring div:nth-child(1) {
        animation-delay: -0.45s;
    }
    .lds-ring div:nth-child(2) {
        animation-delay: -0.3s;
    }
    .lds-ring div:nth-child(3) {
        animation-delay: -0.15s;
    }
    @keyframes lds-ring {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    .spacer {
        height: 0;
    }
    #map {
        width: 95vw;
        height: 95vw;
        margin: auto;
    }
    #opener {
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: inline-block;
        background-color: #fff;
        border-radius: 50%;
        text-align: center;
        position: relative;
        top: 0.2em;
        right: 0.4em;
    }
    #container {
        height: 200px;
        background-color: #54B872;
        margin: 0;
        padding: 0;
    }
    .subcontainer {
        width: 100vw;
        margin: 0;
        padding: 0;
    }
    #logo {
        float: none;
        width: 100vw;
        text-align: center;
    }
    #logo img {
        height: auto;
        max-width: 90vw;
        display: inline-block;
    }
    #logo h1 {
        display: inline-block;
        color: #54B872;
        margin: 0;
        text-align: center;
    }
    #slogan {
        float: none;
        width: 100vw;
        padding-top: 0;
    }
    #slogan h2 {
        color: white;
        margin: 0;
        text-align: center;
    }
    .left {
        float: none;
        width: 95vw;
        margin-right: 0;
        clear: both;
        text-align: left;
        padding-left: 5vw;
    }
    .left input {
        width: 90%;
        font-size: 16px;
    }
    .right {
        float: none;
        width: 95vw;
        margin-left: 0;
        clear: both;
        text-align: left;
        padding-left: 5vw;
    }
    .right input {
        width: 90%;
        font-size: 16px;
    }
    .middle {
        clear: both;
        width: 100vw;
        padding: 0;
        margin: 0;
    }
    .inner-left {
        float: none;
        width: 100vw;
        clear: both;
        text-align: center;
    }
    .inner-right {
        float: none;
        width: 100vw;
        clear: both;
        text-align: center;
        margin-top: 10px;
    }
    #rende {
        margin-top: 0.4em;
        font-size: 1em;
        width: 50%;
        border-radius: 1em;
    }
    #basicInfo {
        text-align: center;
        margin-right: 0;
        padding-left: 0;
    }
    #person1 {
        width: 100vw;
        float: none;
        margin-right: 0;
        clear: both;
        text-align: center;
        padding-left: 0;
    }
    #person1 div {
        text-align: left;
        padding-left: 1vw;
    }
    #person2 {
        width: 100vw;
        float: none;
        margin-left: 0;
        clear: both;
        text-align: center;
    }
    #person2 div {
        text-align: left;
        padding-left: 1vw;
    }
}
