/* ===============================================================
    HEADER
=============================================================== */

header .show-searching { display:none; }
header .navbar-header .search-bar { margin:0px; }

header.searching .hide-searching { display:none; }
header.searching .show-searching { display:block; }
.shield-mobile {display: none;}
.box-view {display: none;}
.mobile-btn {display: none;}
.nav-mobile {display: none;}
.btn-mobile-full {
    width: 100%;
    margin-bottom: 20px;
}
hr { display: none; }
.btn-simulador {
    margin-bottom: 30px;
}
@media (max-width: 767px) {

    .btn-mobile-full-2 {
        width: 100%;
        margin-bottom: 20px;
    }
        
    #searchMain .form-control {
        margin: 0;
    }

    hr {
        display: block;
        border-top: 1px solid #c3c3c3;
    }

    .nav-mobile {
        display: block;
    }

    .mobile-btn {
        display: block;
        position: fixed;
        z-index: 5;
        width: 100%;
        height: 50px;
        padding: 0 15px;
        bottom: 10%;
    }

    .modal-dialog {
        width: 360px!important;
    }

    .mobile, .btn-off { display: none; }
    .shield-mobile { display: block; padding: 20px; }
    .shield-mobile .modal-login button,
    .shield-mobile .modal-verify button { width: 100%; }
    .shield-mobile .esqueceu { font-size: 10px;
        color: rgb(27,54,93);
        font-weight: 600;
        text-decoration: underline;
        text-transform: uppercase;
        float: left;
    }

    .shield-mobile .shield { padding: 0; }
    .public .navbar-brand { width: 100%; }
    .public .navbar-brand img { margin: 0 auto; }

    footer {
        height: 70px;
    }  

    header .navbar-header {
        padding:24px;
    }

    header .navbar-default {
        min-height:90px;
    }

    header .navbar-default .navbar-toggle {
        border:0px;
        padding:0px;
        margin:7px 20px 7px 0px;
    }

    .public button.navbar-toggle {
        display: none;
    }

    .navbar-responsive-collapse {
        display: none!important;
    }

    .desktop-menu {
        display: none!important;
    }

    .mobile-menu {
        display: block!important;
    }
    
    header .navbar-default .navbar-toggle .icon-bar {
        background-color:#4d5686;
        height:4px;
    }

    header .navbar-brand {
        height:auto;
        margin:0px;
        padding:0px;
    }

    header .logo {    
        margin:0px;
        max-height: 35px;
    }

    header .navbar-header .nav-search {
        padding:0px;
        margin:0px;
        width:calc(100% - 50px);
    }

    header .navbar-header .fa-search { 
        color:#4d5686; 
        float:right;
        padding: 4px;
        border-radius: 3px;
        cursor:pointer;
        border: 1px solid transparent;
    }

    header .navbar-header .fa-search.active {
        /*background: #fbfbfb;
        border-color:lightgray;*/
    }

    .box-view {
        display: block;
        box-shadow: 1px 1px 1px 0.5px rgba(0, 0, 0, 0.16);
        border: 1px solid #ccc!important;
        border-radius: 3px;
        min-height: 150px;
        height: auto;
        font-family: Verdana;
        background-color: white;
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .box-view-lg {
        min-height: 190px;
    }

    .box-view .detail {
        font-size: 10px;
        text-transform: uppercase;
        color: #666;
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
    }

    .box-view .item-view {
        display: block;
        margin-bottom: 10px;
    }

    .btn-mobile {
        float: none!important;
        width: 200px;
        margin: 0 auto;
        display: block;
    }

    .btn-mobile-proposta,
    .btn-mobile-garantia {
        width: 100%;
        margin-bottom: 20px;
    }

    .navigation-mobile {
        box-shadow: 1px 1px 1px 0.5px rgba(0, 0, 0, 0.16);
        border: 1px solid #ccc!important;
        border-radius: 3px;
        width: 100%;
        height: 35px;
        font-family: Verdana;
        background-color: white;
    }

    .navigation-mobile .item {
        display: none;
        text-transform: uppercase;
        margin: 0px;
        font-size: 12px;
        font-weight: 600;
        color: #00205c;
        padding: 8px 10px;
        width: 100%;
    }

    .navigation-mobile .item.act {
        display: block;
    }

    .navigation-mobile .item.edt {

    }

    .navigation-mobile .item span {
        float: right;
        text-transform: uppercase;
        font-family: Verdana,Geneva,sans-serif;
        font-weight: normal;
        font-size: 10px;
        margin-top: 2px;
        color: #666;
    }

    .button-area.nav-mobile button {
        min-width: 140px;
        margin-bottom: 5px;
    }

    .button-area.nav-mobile button.lg {
        width: 100%;
    }

    .simulador-box input {
        width: 45%;
    }

    .simulador-box label {
        width: 55%;
        line-height: 15px;
    }

    .simulador-box span.error {
        top: -8px;
    }

    .simulador fieldset .panel-group .panel-body .btn-link {
        padding: 12px 10px;
        font-size: 10px;
    }

    .solicitacao .box-doc, .simulador .box-doc, .proposta .box-doc {
        width: 115px;
        height: 115px;
        padding: 10px;
    }

}

/* ===============================================================
    MENU 
=============================================================== */

@media (max-width: 767px) {

    body.menu-open {
        overflow:hidden;
    }

    #menu {
        display:none;
        position: fixed;
        top: 0px;
        bottom: 0px;
        left: 0px;
        background: rgba(0, 0, 0, 0.2);
        width: 100%;
        z-index: 10;
        padding: 0px;
        margin: 0px;
    }

    #menu .container > div {
        overflow:scroll;
    }

    #menu .divclose {
        text-align:right;
        color:black;
        padding:12px;
    }


    #menu .menu-avatar > p {
        text-transform:none;
    }

    #menu .menu-avatar .avatar {
        border-radius:50%;
        width:80px;
        margin-left:20px;
        margin-right:10px;
        float:left;
    }

    #menu .menu-avatar .user-id {
        color:gray;        
        font-size: 12px;
        line-height: 12px;
        padding-top: 10px
    }

    #menu .menu-avatar .user-name {
        color:#4d5686;
        font-size: 16px;
        line-height: 16px;
    }

    #menu .menu-avatar .user-logout {
        color:#f9cc54;
        font-size:12px;
        line-height: 12px;
        font-weight:normal;
        text-decoration:underline;
    }

    #menu .container {
        position:absolute;
        padding:0px;
        top:30px;
        bottom:0px;
        left:0px;
        right:30px;
    }

    #menu .navbar.navbar-default {
        height:100%;
        text-align: left;
    }

    #menu .navbar.navbar-default > div > ul {
        width:100%;
        margin:20px 0px 0px;
        border-top:1px solid lightgray;
    }

    #menu .navbar-default .navbar-nav > li {
        font-size:20px;
        border-bottom:1px solid lightgray;
    }

    #menu .navbar-default .navbar-nav > li > a {
        padding:20px;
        border-bottom:0px;
        border-left:7px solid transparent;
    }

    #menu .navbar-default .navbar-nav > .active > a, #menu .navbar-default .navbar-nav > .active > a:hover, #menu .navbar-default .navbar-nav > .active > a:focus {
        color: #8e5d13;
        background-color: #ffffff;
        border-left: 7px solid #8e5d13;
        border-bottom:0px;
    }

    #menu .navbar-default .navbar-nav > li > a:hover, #menu .navbar-default .navbar-nav > li > a:focus {
        color: #8e5d13;
        background-color: #ffffff;
        border-left: 7px solid #8e5d13;
        border-bottom:0px;
    }
}

/* ===============================================================
    HOME
=============================================================== */

.box-right .box-non-auth { display:block; }
/*.box-right .box-auth { display:none; }*/

.box-right.is-logged .box-non-auth { display:none; }
.box-right.is-logged .box-auth { display:block; }

@media (max-width: 767px) {
    .home .box-left, .home .box-right {
        padding:0px;
    }

    .box-right {
        display: flex;
        margin:15px 0px 20px;
    }

    .box-right .box-home {
        flex: 1;        
        text-align: center;
        padding: 15px;
        min-height: 0px;
        margin:0px;
        border-radius:4px;
    }

    .box-home img {
        float:none;
        margin:0px;
        width:23px;
        padding-bottom:10px;
    }

    .box-home .title {
        font-size: 12px;
        padding: 0px;
        margin-bottom: 0px;
    }
    .box-right .box-home:last-child {
        margin-left:20px;
    }
}

/* custom */

@media (max-width: 767px) {

    .shield-detalhe .name, .shield-detalhe .item2 {
       max-width: 220px; 
    }
    .n-page p {
        font-size: 8px;
        margin-right: 0px;
        margin-top: 15px;
    }

}

/* < 1024 */
@media only screen and (min-width : 1020px) {
    .box-home {
        width: 100%!important;
    }
    

}

@media (max-width: 1025px) {
    .nav-mobile {
        display: block;
    }
    .mobile-btn {
        display: block;
        position: fixed;
        z-index: 5;
        width: 100%;
        height: 50px;
        padding: 0 15px;
        bottom: 10%;
    }
    .modal-dialog {
        width: 360px!important;
    }
    .mobile, .btn-off { display: none; }
    .box-view {
        display: block;
        box-shadow: 1px 1px 1px 0.5px rgba(0, 0, 0, 0.16);
        border: 1px solid #ccc!important;
        border-radius: 3px;
        min-height: 150px;
        height: auto;
        font-family: Verdana;
        background-color: white;
        padding: 10px 0;
        margin-bottom: 20px;
    }
    .box-view-lg {
        min-height: 190px;
    }
    .box-view .detail {
        font-size: 10px;
        text-transform: uppercase;
        color: #666;
        font-weight: 600;
        margin-bottom: 10px;
        display: block;
    }
    .box-view .item-view {
        display: block;
        margin-bottom: 10px;
        word-break: break-word;
    }
    .btn-mobile {
        float: none!important;
        width: 200px;
        margin: 0 auto;
        display: block;
    }
    .btn-mobile-proposta {
        width: 100%;
        margin-bottom: 20px;
    }
    .navigation-mobile {
        box-shadow: 1px 1px 1px 0.5px rgba(0, 0, 0, 0.16);
        border: 1px solid #ccc!important;
        border-radius: 3px;
        width: 100%;
        height: 35px;
        font-family: Verdana;
        background-color: white;
    }
    .navigation-mobile .item {
        display: none;
        text-transform: uppercase;
        margin: 0px;
        font-size: 12px;
        font-weight: 600;
        color: #00205c;
        padding: 8px 10px;
        width: 100%;
    }
    .navigation-mobile .item.act {
        display: block;
    }
    .navigation-mobile .item.edt {

    }
    .navigation-mobile .item span {
        float: right;
        text-transform: uppercase;
        font-family: Verdana,Geneva,sans-serif;
        font-weight: normal;
        font-size: 10px;
        margin-top: 2px;
        color: #666;
    }
    .button-area.nav-mobile button {
        min-width: 140px;
        margin-bottom: 5px;
    }
    .button-area.nav-mobile button.lg {
        width: 100%;
    }
    .nav-search {
        width: 30%;
    }
    .shield-detalhe.shield-detalhe-proposta {
        min-height: 200px;
    }
    .shield-detalhe-proposta .shield-detalhe-opt {
        margin-top: 30px!important;
        margin-right: 20px!important;
        float: left!important;
    }


}

@media (min-width: 768px) and (max-width: 1025px) {

    .nav-user .dropdown .user-name {
        display: none;
    }

    .box-left {
        padding-left: 15px!important; 
    }

    .box-right {
        padding-right: 15px!important; 
    }

    .box-home {
        margin-bottom: 5px;
        width: 50%;
        float: left;
    }

    .box-view {
        min-height: 210px;
    }

    .account-box.box-view {
        min-height: 160px;
    }

    .desktop-menu.areaLogin {
        margin-top: 30px;
    }
    
}