/* ==========================================================
   RESPONSIVIDADE RPS SERVIÇOS
   Mantém o layout desktop original
   ========================================================== */


/* Evita estouro horizontal causado por elementos internos */
img {
    max-width: 100%;
    height: auto;
}


/* ==========================================================
   TABLETS E CELULARES
   ========================================================== */

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

    /* -------------------------
       CONTAINER
       ------------------------- */

    .container {
        width: 94%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* -------------------------
       PARALLAX / HOME
       ------------------------- */

    .bgimg-1,
    .bgimg-2,
    .bgimg-3 {
        background-attachment: scroll;
    }

    .caption {
        padding-left: 10px;
        padding-right: 10px;
    }

    .caption span.border {
        display: inline-block;
        max-width: 95%;
        padding: 14px;
        font-size: 20px;
        letter-spacing: 4px;
        line-height: 1.5;
    }


    /* -------------------------
       SERVIÇOS
       ------------------------- */

    #servicos {
        padding-left: 20px;
        padding-right: 20px;
    }

    #servicos .container {
        width: 100%;
    }

    .wizard {
        width: 100%;
    }

    .wizard .tab-pane {
        padding-top: 30px;
    }

    .wizard .tab-pane p,
    .wizard .tab-pane li {
        line-height: 1.6;
    }


    /* -------------------------
       WIZARD
       ------------------------- */

    .wizard .nav-tabs {
        margin-top: 25px;
    }

    span.round-tab {
        width: 55px;
        height: 55px;
        line-height: 51px;
        font-size: 19px;
    }

    .wizard .nav-tabs > li a {
        width: 55px;
        height: 55px;
        margin: 15px auto;
    }

    .connecting-line {
        width: 80%;
    }


    /* -------------------------
       TABELAS
       ------------------------- */

    .tabela-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }


    /* -------------------------
       CONTATO
       ------------------------- */

    .bgimg-2 {
        height: auto;
        min-height: 0;
        padding: 20px 0;
    }

    #contato > .w3-quarter:first-child {
        display: none;
    }

    #contato > .w3-half {
        width: 100% !important;
        float: none !important;
        height: auto !important;
    }

    #contato > .w3-quarter:last-child {
        width: 100% !important;
        float: none !important;
        height: auto !important;
    }

    #contato form {
        position: relative !important;
        top: auto !important;
        margin: 15px !important;
    }

    #contato > .w3-quarter:last-child > div {
        position: relative !important;
        top: auto !important;
        margin: 15px !important;
    }

    #contato form h2 {
        line-height: 1.3;
    }


    /* -------------------------
       RECAPTCHA
       ------------------------- */

    .g-recaptcha {
        max-width: 100%;
        overflow: hidden;
    }


    /* -------------------------
       BOLETO
       ------------------------- */

    .link_boleto {
        width: 90%;
        margin-left: 5%;
        height: auto;
        min-height: 320px;
        padding: 20px 10px;
    }

    .link_boleto .caption {
        position: relative;
        top: auto !important;
        left: auto;
    }

    .link_boleto h2,
    .link_boleto h4,
    .link_boleto h5 {
        line-height: 1.4;
    }

    #slContainer {
        width: 100% !important;
        max-width: 450px;
    }


    /* -------------------------
       MODAL
       ------------------------- */

    .modal-dialog {
        width: calc(100% - 20px) !important;
        margin: 10px auto;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-body .w3-col.s6,
    .modal-body .w3-col.s8,
    .modal-body .w3-col.s7,
    .modal-body .w3-col.s10,
    .modal-body .w3-col.s11 {
        width: 100% !important;
        float: none !important;
    }

    #proprietario .w3-col {
        width: 100% !important;
        float: none !important;
        margin-bottom: 8px;
    }

}


/* ==========================================================
   CELULARES
   ========================================================== */

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

    #servicos {
        padding-left: 15px;
        padding-right: 15px;
    }

    .wizard {
        width: 100%;
    }

    .wizard .nav-tabs {
        width: 100%;
    }

    span.round-tab {
        width: 46px;
        height: 46px;
        line-height: 42px;
        font-size: 16px;
    }

    .wizard .nav-tabs > li a {
        width: 46px;
        height: 46px;
        margin: 12px auto;
    }

    .wizard li.active:after {
        left: 35%;
    }


    /* textos */

    .caption span.border {
        font-size: 17px;
        letter-spacing: 2px;
        padding: 12px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 21px;
        line-height: 1.3;
    }

    h4 {
        font-size: 17px;
        line-height: 1.4;
    }


    /* contato */

    #contato form {
        margin: 10px !important;
        padding-left: 12px;
        padding-right: 12px;
    }

    #contato form h2 {
        font-size: 21px;
    }


    /* boleto */

    .link_boleto {
        width: 94%;
        margin-left: 3%;
        min-height: 340px;
    }

    .link_boleto h2 {
        font-size: 21px;
    }


    /* lojas */

    .sl-badges {
        float: none !important;
        display: block !important;
        text-align: center;
    }

    .sl-badges img {
        width: 170px !important;
        height: auto !important;
        max-width: 100%;
    }


    /* modal */

    .modal-dialog {
        width: calc(100% - 10px) !important;
        margin: 5px auto;
    }

}


/* ==========================================================
   CELULARES ESTREITOS
   ========================================================== */

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

    /*header nav a button {
        font-size: 11px;
        padding: 5px 7px;
    }

    header.smaller div#logo {
        width: 45px;
        height: 45px;
    }

    header.smaller nav a button {
        font-size: 10px;
        padding: 4px 5px;
    }*/

    span.round-tab {
        width: 40px;
        height: 40px;
        line-height: 36px;
        font-size: 14px;
    }

    .wizard .nav-tabs > li a {
        width: 40px;
        height: 40px;
    }

    .wizard .tab-pane {
        padding-top: 20px;
    }

    .tabela-obrigacoes {
        min-width: 550px;
    }
}