.RtySchHome{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: -50px;
}

.RtySchHome>h5{
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0px;
    text-align: center;
    padding: 0px 1rem;
}

.RtySchHome>p{
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.RtySchMainHome{
    width: 96%;
    background-color: #fff;
    border-radius: 0px 0px 10px 10px;
    padding: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    position: relative;
}




.RtySchCriteriosHomeTransacao{
    width: 100%;
    display: flex;
    margin: 15px 0px;
}

.RtySchCriteriosHomeTransacao li{
    list-style: none;
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.RtySchCriteriosHomeTransacao input[type=radio]{
    display: none;
}

.RtySchCriteriosHomeTransacao label {
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    font-size: .8rem;
}

.RtySchCriteriosHomeTransacao input[type="radio"] + label:before {
    content: "";
    display: inline-block;
    height: 24px;
    margin: -2px .5em 0 0;
    padding:0;
    vertical-align: top;
    width: 24px;
    border-radius:4px;
    background-color: #ddd;
}

.RtySchCriteriosHomeTransacao input[type="radio"]:checked + label:before {
    background: #43cc00;
    color: #FFF;
    content: "";
    text-align: center;
}

.RtySchCriteriosHomeLinha{
    width: calc(100% - 135px);
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    height: 54px;
}

.RtySchCriteriosHomeLinha>div{
    flex: 1;
}

.RtySchCriteriosHomeLinha>div:empty {
    display: none; /* Oculta itens vazios */
}

.RtySchMainHome select {
    border: 0px !important;
    border-bottom: 2px solid #ddd !important;
    border-right: 2px solid #ddd !important;
    width: 100%;
    height: 40px;
    font-weight: bold;
    color: #003e3e;
    top: -10px;
    padding: 5px 10px;
    font-size: .8rem;
    position: relative;
    text-transform: uppercase;
    z-index: 0;
    background: url(../img/arrow-down.png);
    background-position: 93% 50%;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    background-size: 12px;
    background-color: #fff;
}

.RtySchCriteriosHomeCategorias:before{
    content: 'Qual o tipo?';
    font-size: .5rem;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    background-color: #fff;
    padding: 0px 10px;
    margin-left: 1px;
}

.RtySchCriteriosHomeCidade:before{
    content: 'Em qual cidade?';
    font-size: .5rem;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    background-color: #fff;
    padding: 0px 10px;
    margin-left: 1px;
}

.RtySchCriteriosHomeBairro:before{
    content: 'Em qual bairro?';
    font-size: .5rem;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    background-color: #fff;
    padding: 0px 10px;
    margin-left: 1px;
}

.RtySchCriteriosHomeDorms:before{
    content: 'Dorms';
    font-size: .5rem;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    background-color: #fff;
    padding: 0px 10px;
    margin-left: 1px;
}


.RtySchCriteriosHomePesquisar{
    display: inline-block;
    font-size: 0.9em;
    background-color: var(--corSecundaria);
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    margin: 6px 0px;
    width: calc(14% - 15px);
    text-align: center;
    margin-left: 15px;
    height: 48px;
}

.RtySchCriteriosHomePesquisar a{
    text-decoration:none;
    color: var(--corPrincipal);
    padding: 14px;
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: bold;
}


.RtySchMainHomeRef{
    position: absolute;
    left: 50%;
    bottom: -50px;
    margin-left: -75px;
}

.RtySchMainHomeRef input{
    border-radius: 5px;
    border: 2px solid #003e3d;
    height: 40px;
    padding: 10px;
    font-size: .7rem;
    padding-right: 40px;
    text-transform: uppercase;
    font-weight: bold;
    width: 150px;
}

.RtySchMainHomeRef input::placeholder {
  color: #003e3d;
  opacity: 1;
}

.RtySchMainHomeRef input::-ms-input-placeholder {
  color: #003e3d;
}

.RtySchHomeRefPesquisar{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.RtySchHomeRefPesquisar:before {
    content: "\f002";
    font-size: 1rem;
    color: var(--corSecundaria);
}


@media (max-width: 992px) {
    .RtySchHome p{
        margin-bottom: 3rem;
        text-align: center;
        padding: 0px 1rem;
    }
    .RtySchMainHome{
        width: 100%;
        display: block;
    }
    .RtySchMainHome>div{
        width: 100%;
        margin: 15px 0px 0px;
    }
    .RtySchHome>h5{
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .RtySchCriteriosHomeLinha{
        display: flex;
        flex-direction: column;
        align-content: center;
        flex-wrap: nowrap;
        height: auto;
    }

    .RtySchCriteriosHomeLinha>div{
    flex: none;
    width: 100%;
    }
    
    .RtySchMainHomeRef{
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        left: auto;
        bottom: auto;
    }
    .RtySchMainHomeRef input{
         width: 100%;
    }
    .RtySchMainHome select {
        width: 100% !important;
    }
    .RtySchMainHomeRef{
        margin: 0px 0px 30px !important;
    }

}