#modal-search-predictive .modal-dialog {
    width: 100%;
    margin: 0;
    padding: 0
}

#modal-search-predictive .modal-content {
    height: auto;
    border-radius: 0;
    background: #F6F6F6
}

#modal-search-predictive .modal-header {
    background: #F6F6F6;
    justify-content: space-between
}

#modal-search-predictive .modal-header .close {
    order: 3;
    width: 10%;
    padding: 0;
}

#modal-search-predictive .modal-header .close::before {
    color: #a8a3a3;
    height: auto;
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
    top: -10px;
}

#modal-search-predictive .SEARCH_BOX {
    order: 2;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#modal-search-predictive .SEARCH_BOX form {
    width: 70%
}

#modal-search-predictive .modal-header {
    /*height: auto;*/
    height: 140px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    line-height: 23px;
    padding: 20px 20px 10px;
}
#modal-search-predictive .navbar-header {
    height: auto;
    order: 1;
    width: auto
}

#modal-search-predictive #container-predictive .category_container,#modal-search-predictive #container-predictive .contect-products {
    padding-top: 10px
}

#modal-search-predictive #result-predictive {
    max-height: 570px
}

#modal-search-predictive #result-predictive .title {
    font-size: 22px;
    line-height: 35px;
    font-weight: 600;
    display: flex;
    align-items: center;
    color: #002d73
}

#modal-search-predictive #container-predictive .box_image {
    max-height: 120px
}

#modal-search-predictive .contect-products .product_list .row {
    overflow-x: auto;
    display: flex
}

#modal-search-predictive ul {
    overflow: auto
}

#modal-search-predictive ul li {
    flex: none
}

#modal-search-predictive .category_container a {
    font-size: 17px;
    line-height: 32px
}

#modal-search-predictive .category_tree_predictive {
    margin-top: 10px
}

#container-predictive .withoutResult {
    text-align: center
}

#container-predictive .img-alert {
    max-width: 85px;
    width: auto
}

#container-predictive h2 {
    font-weight: 400;
    font-size: 26px;
    line-height: 27px;
    color: #4b8af1
}

#container-predictive .btnViewAll {
    margin: 20px
}

#modal-search-predictive .btnViewAll button,#modal-search-predictive .btnViewAll a {
    background: #0054C8!important;
    display: initial;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 25px;
    max-width: max-content;
    border: none;
    border-radius: 100px;
}

.banner-search-popular {
    order: 4;
    width: 100%;
    margin-top: 15px;
}
.banner-search-popular .search-predic {
    color: #fff;
}

.banner-search-popular .predic-title {
    font-weight: 600;
    font-size: 1.2em;
    line-height: 27px;
    text-align: center;
    color: #000;
    padding: 0 0 2px;
}
.banner-search-popular ul.items-search {
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center
}

.banner-search-popular ul.items-search li {
    border: 1px #000 solid;
    border-radius: 7px;
    padding: 5px 10px;
    margin: 0 5px;
    font-size: 0.9em;
    font-weight: 600;
}
.footer-container {
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#modal-search-predictive .owl-nav>div {
    font-size: 2.14em;
}

@media(max-width: 991px) {
    #modal-search-predictive #result-predictive {
        max-height: inherit
    }

    #modal-search-predictive .LOGO {
        margin: 10px 0 0!important
    }

    #modal-search-predictive ul li {
        text-align: center;
    }
    .banner-search-popular ul.items-search {
        justify-content: flex-start
    }
    
}

@media only screen and (max-width: 1200px) {
    #modal-search-predictive .modal-header {
        height:225px;
        padding: 0 15px;
    }

    #modal-search-predictive .modal-header .close {
        width: 5%
    }
}

@media (max-width: 991px){
    #modal-search-predictive #result-predictive .title {
        justify-content: center
    }
}

@media (max-width: 767px){
    #modal-search-predictive .SEARCH_BOX {
        position: unset !important;
    }
}

@media(max-width: 588px) {
    #modal-search-predictive .modal-header .close {
        width:5%;
        position: absolute;
        top: -10px;
        right: 25px
    }

    #modal-search-predictive .SEARCH_BOX {
        width: 100%
    }
}

@media(max-width: 479px) {
    .hidden-xs {
        display:none
    }

    #modal-search-predictive .modal-header {
        height: 260px
    }
    #modal-search-predictive .modal-body {
        margin: 0;
        padding: 0;
    }

    #modal-search-predictive #container-predictive .box_image img {
        max-width: 120px
    }

    #modal-search-predictive #container-predictive .Result .title {
        background: #fff none repeat scroll 0 0;
        width: 100%!important
    }

    #modal-search-predictive .category_tree_predictive {
        border-top: 1px #000 silver;
        margin-top: 0
    }

    #modal-search-predictive #result-predictive .title {
        line-height: 27px!important;
        height: auto!important
    }

    #modal-search-predictive .category_container a {
        line-height: 40px
    }

    #modal-search-predictive .SEARCH_BOX form {
        width: 100%
    }

    #modal-search-predictive ul {
        justify-content: normal!important
    }

   #related-predictive.owl-carousel .owl-stage {
        left: -30px !important;
    }

}

@media (max-width: 359px){
    #related-predictive.owl-carousel .owl-stage {
        left: -60px !important;
    }

}

/*Start - Animacion Modal Predictive*/
.animModalOff{
    display: none;
    width: 100%;
    position: absolute;
    z-index: 10;

    animation-name: AnimClose;
    animation-duration: 0.7s;
    animation-timing-function: ease-in-out;
}
@keyframes AnimClose {
    from {opacity:1;left:0%;}
    to {opacity:0;left:100%;}
}
.animModalOn{
    width: 100%;
    display: block;
    position: absolute;
    z-index: 10;

    animation-name: AnimInit;
    animation-duration: 0.7s;
    animation-timing-function: ease-in-out;
}
@keyframes AnimInit {
    from {opacity:0;left:100%;}
    to {opacity:1;left:0%;}
}
/*1°*/
#modal-search-predictive .LOGO{
    opacity: 0;
    animation: FadeInX 0.5s ease-in-out 0.5s forwards;  
}
/*2°*/
#modal-search-predictive .SEARCH_BOX fieldset{
    opacity: 0;
    animation: FadeInX 0.5s ease-in-out 0.7s forwards; 
}
/*3°*/
.banner-search-popular .search-predic{overflow: hidden;}
.animModalOn .predic-title{
    opacity: 0;
    animation: FadeInX 0.5s ease-in-out 0.7s forwards;
}
/*4°*/
.animModalOn .predic-cats-conten{
    opacity: 0;
    animation: FadeInX 0.5s ease-in-out 1s forwards;
}
@keyframes FadeInX {
    from {opacity:0;transform: translate(20px, 0px);}
    to {opacity:1;transform: translate(0px, 0px);}
}
@keyframes FadeInY {
    from {opacity:0;transform: translate(0px, 20px);}
    to {opacity:1;transform: translate(0px, 0px);}
}
/*End - Animacion Modal Predictive*/
