/* base.css */
.plan-feature{
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.me-svg-box{
    position: relative;
    width: 50px;
    height: 50px;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.me-svg-center{
    position: absolute;
    overflow: auto;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.me-svg-blue {
    filter: invert(45%) sepia(63%) saturate(989%) hue-rotate(158deg) brightness(91%) contrast(106%);
}
.me-svg-alt-gray {
    margin-bottom: 5px;
    filter: invert(89%) sepia(2%) saturate(4%) hue-rotate(358deg) brightness(86%) contrast(83%);
}
.me-svg-alt-gray-2 {
    margin-bottom: 3px;
    filter: invert(52%) sepia(0%) saturate(1344%) hue-rotate(139deg) brightness(88%) contrast(86%);
}
.me-svg-white {
    margin-bottom: 3px;
    filter: invert(99%) sepia(7%) saturate(115%) hue-rotate(328deg) brightness(116%) contrast(100%);
}

.detail-close{
    width: 12px !important;
}

/* Paginação */
.pagination {
    height: 16px;
    max-height: 16px;
}
.pagination {
    color: #757575;
    font-size: 12px;
}


/* Ordenar */
.order {
    display: block;
}

.order-wrap {
    width: 150px;
    float: right;
    height: 35px;
}

@media (max-width: 768px) {
    .order {
        float: right;
        opacity: 0;
        position: absolute;
        top: 0;
        right: 15px;
    }
    .order, .order-wrap {
        height: 35px;
        width: 32px;
    }
}

.order .me-order:before {
    color: #bababa;
}
@media (max-width: 768px) {
    .clickable-no-opacity #order-by-control {
        display: none;
    }
}


/* Trocar cidade */
.city {
    font-size: 24px;
    color: #757575;
    height: 45px;
}
@media (max-width: 992px) {
    .city {
        font-size: 18px;
    }
}
#cep-text,
#city-name {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
}
@media (max-width: 576px) {
    #city-name {
        white-space: nowrap;
        max-width: 240px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
#cep-container,
#city-name-container {
    cursor: pointer;
}
#cep-container i:before,
#city-name-container i:before {
    font-size: 18px;
    display: inline-block;
    margin-left: 8px;
    text-decoration: none;
}
#city-name-container img, #cep-container img, img.me-pencil {
    height: 18px;
    display: inline-block;
    margin-left: 8px;
    text-decoration: none;
}
#change-city {
    width: 100%;
    cursor: auto;
}
#city_search {
    font-size: 16px;
    padding: 0 15px;
    height: 45px;
    color: #333;
    background: #fff;
    border: 1px solid #98d201;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    outline: none;
    text-indent: 1px;
    box-shadow: none;
}
@media (min-width: 768px) {
    #change-city {
        width: 400px;
    }
}


/* Change city options dropdown */
.form-search-city {
    position: relative;
    z-index: 97;
}
#change-city .input-group-append {
    height: 45px;
}
#change-city .input-group-text {
    background: #98d201;
    border: 1px solid #98d201;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 10px 10px 0;
}
#change-city .input-group-text i::before {
    font-size: 18px;
}
#change-city .input-group-text svg {
    height: 18px;
    fill: #fff;
}
#region_result_content {
    background: #fff;
    margin-top: -20px;
    padding-top: 10px;
    border-left: 1px solid #98d201;
    border-right: 1px solid #98d201;
}
@media (min-width: 768px) {
    #region_result_content {
        width: 400px;
    }
}
#region_result_content .ui-menu {
    background: #fff;
    border: 1px solid #98d201;
    border-top: none;
    border-radius: 0 0 5px 5px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
#region_result_content .ui-menu .ui-menu-item .ui-menu-item-wrapper {
    font-size: 16px;
    color: #757575;
    padding: 15px 30px;
    cursor: pointer;
    text-align: left !important;
}
#region_result_content .ui-state-hover, #region_result_content .ui-state-active {
    background: #ebebeb;
}


/* Resultados */
.result {
    color: #757575;
    width: 1000px;
    margin: 0 auto;
}

.result .col-lg-1{
    max-width: 14.333%;
}

@media (max-width: 753px) {
    .result > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .result {
        width: 500px;
    }

    .result .col-lg-1 {
        max-width: 66.333%;
    }

    .plan-feature img{
        width: inherit;
        max-height: 70px;
    }
    
}

@media (max-width: 480px) {
    .result {
        width: 320px;
    }

    .result .item .company-logo {
        margin: 0 !important;
    }

    .plan-feature{
        text-align: left;
    }

    .plan-feature strong{
        margin-left: 25px;
    }
}

.result .item {
    text-align: center;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .1);
}
.result .mobile-item {
    background-color: #efefef;
    color: #757575;
    margin: 0;
    height: 60px;
    min-height: 60px;
    font-size: 12px;
    line-height: 1.3;
}
.result .item .company-logo {
    display: block;
    margin: 0 auto;
}
.result .item .text-small {
    font-size: 12px;
    line-height: 1.4;
}
.result .item strong {
    font-size: 12px;
    display: block;
    line-height: 1.4;
}
.result .plan-feature i {
    display: block;
}
.result ul {
    list-style: none;
    text-align: left;
}
.result .price strong {
    font-size: 22px;
    display: inline-block;
    line-height: 1;
}
@media (min-width: 992px) {
    .result .price strong {
        font-size: 18px;
    }
}
@media (min-width: 1200px) {
    .result .price strong {
        font-size: 20px;
    }
    .result .price span,
    .result .price small {
        font-size: 14px;
    }
}
.result .price span {
    display: block;
}
.result .item .btn {
    background: #ffd900;
    color: #212529;
    font-weight: 700;
    text-transform: uppercase;
}
.result .item a.detail {
    font-size: 14px;
    text-decoration: underline;
    font-weight: inherit;
    color: inherit;
}
@media (max-width: 992px) {
    .result .item a.detail {
        font-size: 16px;
    }
}

/* Badges */
.card-badge-wrap {
    position: absolute;
    height: 100%;
    width: 2rem;
}
@media (max-width: 992px) {
    .card-badge-wrap {
        height: 2rem;
        width: 100%;
        z-index: 999;
    }
    .card-badge-oferta-especial .feature-info-wrap-mobile {
        text-transform: initial !important;
        border-radius: 0 !important;
        display: inline-block;
        vertical-align: middle;
        padding: 0 !important;
        height: 27px;
        min-height: auto !important;
        color: #212529;
    }
}
.card-badge-oferta-especial .feature-info-wrap {
    background-color: #EFEFEF;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    color: #212529;
    display: inline-block;
    vertical-align: middle;
}
.card-badge-oferta-especial .feature-info-wrap .feature-info {
    margin-bottom: 0px !important;
}
.card-badge-oferta-especial .card-badge-wrap {
    background: transparent linear-gradient(90deg, #98D20026 0%, #98D20000 100%) 0% 0% no-repeat padding-box;
}
.card-badge-mais-popular .card-badge-wrap {
    background: transparent linear-gradient(90deg, #D2009826 0%, #D2009800 100%) 0% 0% no-repeat padding-box;
}
.card-badge-blue .card-badge-wrap {
    background: transparent linear-gradient(90deg, #0077A426 0%, #0077A400 100%) 0% 0% no-repeat padding-box;
}
.card-badge-promocao .card-badge-wrap {
    background: transparent linear-gradient(90deg, #D2002F26 0%, #D2002F00 100%) 0% 0% no-repeat padding-box;
}
@media (max-width: 992px) {
    .card-badge-oferta-especial .card-badge-wrap {
        background: transparent linear-gradient(180deg, #98D20026 0%, #98D20000 100%) 0% 0% no-repeat padding-box;;
    }
    .card-badge-mais-popular .card-badge-wrap {
        background: transparent linear-gradient(180deg, #D2009826 0%, #D2009800 100%) 0% 0% no-repeat padding-box;
    }
    .card-badge-blue .card-badge-wrap {
        background: transparent linear-gradient(180deg, #0077A426 0%, #0077A400 100%) 0% 0% no-repeat padding-box;
    }
    .card-badge-promocao .card-badge-wrap {
        background: transparent linear-gradient(180deg, #D2002F26 0%, #D2002F00 100%) 0% 0% no-repeat padding-box;
    }
}
.card-badge-text {
    position: absolute;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    top: 15%;
    height: 108px;
    padding: 2px 1px 2px 2px;
    color: #fff;
    border-radius: 8px 0 0 8px;
}
@media (max-width: 992px) {
    .card-badge-text {
        writing-mode: horizontal-tb;
        transform: none;
        top: unset;
        width: 30%;
        height: unset;
        left: 35%;
        padding: 1px 2px 2px 2px;
        border-radius: 0 0 8px 8px;
    }
}
.card-badge-oferta-especial .card-badge-text {
    background: #98D200;
}
.card-badge-mais-popular .card-badge-text {
    background: #D20098;
}
.card-badge-blue .card-badge-text {
    background: #0080FF;
}
.card-badge-promocao .card-badge-text {
    background: #D2002F;
}
.coverage-info i:before {
    font-size: 12px;
}

.feature-info {
    display: inline-block;
}

.nav-tabs {
    border: 0;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.result .item .detail .nav-tabs .nav-link.active {
    border-color: #f2fafd;
    color: #0080FF;
}
.nav-tabs .nav-link.offers-tab:hover,
.nav-tabs .nav-link.offers-tab:focus,
.result .item .detail .nav-tabs .nav-link.offers-tab.active {
    border-color: #efefef;
    color: #757575;
}
.result .item .detail .tab-pane,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus,
.result .item .detail .nav-tabs .nav-link.active {
    background-color: #f2fafd;
}
.result .item .detail .tab-pane.offers-pane,
.nav-tabs .nav-link.offers-tab:hover,
.nav-tabs .nav-link.offers-tab:focus,
.result .item .detail .nav-tabs .nav-link.offers-tab.active {
    background-color: #efefef;
}
.result .item .detail .nav-tabs .nav-link,
.result .item .detail .nav-tabs .nav-link.offers-tab {
    opacity: .75;

}
.result .item .detail .nav-tabs .nav-link.active,
.result .item .detail .nav-tabs .nav-link.offers-tab.active {
    opacity: 1;
}
.plans_more_wrapper {
    margin-bottom: 60px;
}
.load-more {
    margin: 20px 0 0 0;
    display: block;
}


/* Empty result */
.empty-result {
    border: 2px solid #dcf1f8;
    border-radius: 7px;
    margin-bottom: 3rem;
}
.empty-result h3 {
    color: #0390cd;
}
.empty-result img {
    max-height: 100px;
}
@media (max-width: 576px) {
    .empty-result {
        border-left: none;
        border-right: none;
        border-radius: 0;
        min-height: 200px;
    }
    .empty-result h3 {
        font-size: 1rem;
    }
}


/* Detail */
.offers-tab {
    display: none;
}

.result .detail ul{
    padding: 0;
    margin: 0;
    width: inherit;
    text-align: inherit;
}

.detail ul li{
    color: inherit;
    font-size: inherit;
    margin-bottom: 0;
    padding: inherit;
}

.detail ul li a{
    font-weight: inherit;
    color: inherit;
}

.detail .nav-item .nav-link{
    text-decoration: inherit;
}

.detail .price strong, .detail, .detail .price span, .detail .h6 {
    font-size: 14px;
}
.detail-close::before {
    cursor: pointer;
    font-size: 12px !important;
    position: relative;
    top: 10px !important;
    right: 10px !important;
}

.detail .tab-pane div p{
    border-left: inherit;
    color: inherit;
    font-size: 14px;
    font-style: inherit;
    font-weight: inherit;
    padding-left: 0;
    margin: 0 0 .5rem !important;
    width: inherit;
}

.result .item .detail .tab-content .h6 {
    color: #0080FF;
}
.result .item .plan-name-text {
    font-size: 18px;
}
@media (max-width: 992px) {
    .result .item .plan-name-text {
        max-width: 200px;
    }
}
@media (min-width: 992px) {
    .result .item .plan-feature i, .result .item .plan-feature img, .result .item .plan-feature .feature-info {
        width: inherit;
        max-height: 70px;
    }
    .result .item .plan-feature-text {
        max-height: 30px;
    }
    .result .item .plan-feature-text.plan-name-text {
        max-height: 60px;
    }
}
.me-reload:before {
    font-size: 16px;
}

/* Classes relacionadas a checagem de cobertura */
.coverage-info-wrap {
    line-height: 16px;
    padding-right: 24px;
    line-height: 16px;
    font-size: 12px;
}

@keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }
@-webkit-keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@-webkit-keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@-webkit-keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }

.dots span {
    animation: dots-1 1s infinite steps(1);
    -webkit-animation: dots-1 1s infinite steps(1);
}

.dots span:first-child + span {
    animation-name: dots-2;
    -webkit-animation-name: dots-2;
}

.dots span:first-child + span + span {
    animation-name: dots-3;
    -webkit-animation-name: dots-3;
}
