/**
 * ==========================================================================
 * MIBV - Motor Inteligente de Búsqueda de Vacantes
 * ==========================================================================
 *
 * Archivo   : mibv.css
 * Versión   : 1.1.0
 * Proyecto  : Applica - MIBV
 *
 * Responsabilidad:
 * Contiene exclusivamente los estilos del módulo MIBV.
 *
 * NO agregar estilos globales de Applica.
 * ==========================================================================
 */


.container {
    max-width: 1300px;
}

/*===========================================================================
= CONTENEDOR DE RESULTADOS
===========================================================================*/

.mibv-results-container {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

}

/*===========================================================================
= SMART JOB CARD
===========================================================================*/

.mibv-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    min-height: 100%;
    transition: all .25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.mibv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}


/*===========================================================================
= HEADER / IMAGEN
===========================================================================*/

.mibv-card-header {
    height: 155px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #f4f5f7;

    border-radius: 6px 6px 0 0;
}

/* Enlace ocupa todo el header */

.mibv-card-header > a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Imagen de la oferta */

.mibv-card-header img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}


/* Placeholder cuando no existe imagen */

.mibv-card-placeholder {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: #66788a;

    text-align: center;
}

.mibv-card-placeholder i {
    margin-bottom: 8px;

    font-size: 34px;
}


.mibv-card-placeholder span {
    font-size: 13px;
}

/*===========================================================================
= BODY
===========================================================================*/

.mibv-card-body {
    min-height: 245px;

    padding: 18px;
}

./* Título */

.mibv-card-title {
    margin: 0 0 14px 0;

    font-size: 18px;
    line-height: 1.35;

    font-weight: 600;

    color: #111111;
}


/* Cargo */

.mibv-card-position {
    margin-bottom: 8px;

    color: #555555;

    font-size: 13px;
}

/* Ubicación */

.mibv-card-location {
    display: flex;
    align-items: center;

    margin-bottom: 14px;

    color: #555555;
    font-size: 13px;
}


/* Icono de ubicación */

.mibv-card-location i {
    width: 16px;

    margin-right: 6px;

    text-align: center;

    color: #6b7280;
}

/*===========================================================================
= DETALLES
===========================================================================*/

.mibv-card-details {
    margin-top: 4px;
}


.mibv-card-detail {
    min-height: 32px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 7px 0;

    border-top: 1px solid #eeeeee;

    font-size: 13px;
}


.mibv-card-detail i {
    width: 18px;

    margin-right: 6px;

    text-align: center;

    color: #66788a;
}


.mibv-card-detail-label {
    display: flex;

    align-items: center;

    color: #333333;
}


.mibv-card-detail-value {
    text-align: right;

    color: #333333;
}


/*===========================================================================
= INFORMACIÓN
===========================================================================*/

.mibv-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 0;

    border-top: 1px solid #f0f0f0;

    font-size: 13px;
}


/* ==========================================================================
   INFORMACIÓN PRINCIPAL DE LA VACANTE
   ========================================================================== */

.mibv-card-main-info {
    min-height: 32px;
}


/* Vacante: permitir hasta dos líneas sin modificar
   la posición de las filas siguientes */

.mibv-card-main-info:first-child {
    height: 48px;
    min-height: 48px;

    box-sizing: border-box;
}


/* Nombre de la vacante */

.mibv-card-main-info:first-child span {

    line-height: 18px;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;

    text-overflow: ellipsis;
}

.mibv-card-main-info:not(:first-child) {
    min-height: 32px;
}







.mibv-card-row span {
    color: #333;
    text-align: right;
}

.mibv-card-row strong {
    display: flex;
    align-items: center;
    color: #555;
    font-weight: 600;
}

.mibv-card-row strong i {
    width: 16px;
    text-align: center;
    margin-right: 6px;
    color: #6b7280;
}


/*===========================================================================
= SALARIO
===========================================================================*/

.mibv-card-salary {
    margin-top: 12px;

    color: #008f5a;

    font-size: 18px;

    font-weight: 600;
}


.mibv-card-salary i {
    margin-right: 6px;

    font-size: 14px;
}


/*===========================================================================
= FOOTER DE LA JOB CARD
===========================================================================*/

.mibv-card-footer {

    padding: 15px 18px 18px 18px;

    border-top: 1px solid #eeeeee;

}


/* Fecha de publicación */

.mibv-card-date {

    display: block;

    margin-bottom: 14px;

    color: #999999;

    font-size: 12px;

}


.mibv-card-date i {

    width: 16px;

    margin-right: 5px;

    text-align: center;

    font-size: 11px;

}


/*===========================================================================
= ACCIONES
===========================================================================*/

.mibv-card-actions {

    display: flex;

    gap: 8px;

}


/* Botones */

.mibv-card-actions .btn {

    flex: 1;
}


.mibv-card-actions .btn i {

    margin-right: 6px;

}


/*===========================================================================
= VER OFERTA
===========================================================================*/

.mibv-btn-view {

    color: #337ab7;

    background: #ffffff;

    border: 1px solid #337ab7;

}


.mibv-btn-view:hover,

.mibv-btn-view:focus {

    color: #ffffff;

    background: #337ab7;

    border-color: #337ab7;

}


/*===========================================================================
= APLICAR A ESTA OFERTA
===========================================================================*/

.mibv-btn-apply {

    color: #ffffff;

    background: #337ab7;

    border: 1px solid #337ab7;

}


.mibv-btn-apply:hover,

.mibv-btn-apply:focus {

    color: #ffffff;

    background: #286090;

    border-color: #286090;

}

/*===========================================================================
= SMART SEARCH
===========================================================================*/

.mibv-search {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 18px 30px 26px 30px;

    background: #f3f8fc;
    border: 1px solid #e2edf5;

    border-radius: 6px;
    margin-bottom: 20px;
}

.mibv-search h2 {
    margin: 0 0 6px 0;
    font-size: 30px;
    line-height: 38px;
    color: #17324d;
}

.mibv-search-description {
    margin: 0 0 18px 0;
    font-size: 15px;
    color: #666;
}

.mibv-search-form {
    max-width: 1050px;
    margin: 0 auto;
}

.mibv-search-form .input-group {
    width: 100%;
}

.mibv-search-form .form-control {
    height: 48px;

    border-color: #d6d9dd;

    font-size: 15px;

    box-shadow: none;
}

.mibv-search-form .form-control:focus {
    border-color: #337ab7;

    box-shadow: 0 0 0 2px rgba(51,122,183,.10);
}

.mibv-search-icon {
    width: 48px;

    background: #fff;

    border-color: #d6d9dd;

    color: #777;

    font-size: 16px;
}

.mibv-search-button {
    height: 48px;

    min-width: 105px;

    font-size: 15px;
    font-weight: 600;
}

.mibv-search-button i {
    margin-right: 5px;
}

/*===========================================================================
= Título de filtros
===========================================================================*/

.mibv-filters-title {
    margin: 5px 0 12px 0;

    font-size: 15px;
    font-weight: 600;

    color: #444;
}

.mibv-filters-title i {
    margin-right: 6px;
    color: #337ab7;
}

/* ==========================================================================
   FILTROS MIBV
   ========================================================================== */

.mibv-filters {
    max-width: 1200px;
    margin: 0 auto;
}

.mibv-filters-title {
    margin: 5px 0 12px 0;

    font-size: 15px;
    font-weight: 600;

    color: #444;
}

.mibv-filters-title i {
    margin-right: 6px;
    color: #337ab7;
}

/* ==========================================================================
   BOTÓN MÁS FILTROS
   ========================================================================== */

#mibv-toggle-more-filters {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 145px;
    height: 38px;

    padding: 0 18px;

    margin: 4px 0 18px 0;

    border: 1px solid #337ab7;
    border-radius: 6px;

    background: #337ab7;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 2px 5px rgba(51,122,183,.18);

    transition: all .20s ease;
}


#mibv-toggle-more-filters:hover,
#mibv-toggle-more-filters:focus {

    background: #286090;

    border-color: #286090;

    color: #ffffff;

    text-decoration: none;

    outline: none;

    box-shadow: 0 4px 10px rgba(51,122,183,.25);
}

/*#mibv-toggle-more-filters {
    padding: 0;
    margin: 4px 0 12px 0;

    border: 0;
    background: transparent;

    color: #337ab7;

    font-size: 14px;
    font-weight: 400;

    text-decoration: none;

    box-shadow: none;
}

#mibv-toggle-more-filters:hover,
#mibv-toggle-more-filters:focus {
    color: #23527c;

    text-decoration: underline;

    background: transparent;
    box-shadow: none;
    outline: none;
}
*/
/* ==========================================================================
   ENCABEZADO DE FILTROS
   ========================================================================== */

.mibv-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 12px;
}

.mibv-filter-title {
    color: #333;
    font-size: 14px;
}

.mibv-filter-title i {
    color: #337ab7;
    margin-right: 6px;
}

/* ==========================================================================
   BOTÓN LIMPIAR FILTROS
   ========================================================================== */

.mibv-clear-filters {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 145px;
    height: 36px;

    padding: 0 16px;

    border: 1px solid #337ab7;
    border-radius: 6px;

    background: #ffffff;

    color: #337ab7;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    text-decoration: none;

    transition: all .20s ease;
}

.mibv-clear-filters:hover,
.mibv-clear-filters:focus {

    background: #f4f8fc;

    color: #23527c;

    border-color: #337ab7;

    text-decoration: none;

    outline: none;

    box-shadow: 0 2px 6px rgba(51,122,183,.12);
}

/*.mibv-clear-filters {
    border: 0;
    background: transparent;

    color: #337ab7;

    font-size: 13px;

    padding: 0;

    cursor: pointer;
}

.mibv-clear-filters:hover {
    text-decoration: underline;
    color: #23527c;
}*/

/* ==========================================================================
   RESUMEN DE RESULTADOS
   ========================================================================== */

.mibv-results-summary {
    max-width: 1200px;
    margin: 18px auto 14px auto;

    padding: 0 4px;

    font-size: 14px;
    color: #666;
}

.mibv-results-summary i {
    margin-right: 6px;

    color: #337ab7;
}

.mibv-results-summary #total-results {
    font-weight: 600;
    color: #333;
}

/*===========================================================================
= PAGINACIÓN
===========================================================================*/

.mibv-pagination-wrapper {
    margin-top: 28px;
    margin-bottom: 35px;
    padding-left: 47px;
    padding-right: 15px;
}

.mibv-pagination-wrapper #pagination {
    width: 100%;
}

/*===========================================================================
= MODAL INICIAR SESIÓN / REGISTRO /APLICANDO A UNA OFERTA
===========================================================================*/

.mibv-login-modal .modal-dialog {
    width: 430px;
    max-width: calc(100% - 30px);
    margin: 70px auto;
}


.mibv-login-modal .modal-content {
    position: relative;

    border: 0;
    border-radius: 12px;

    overflow: hidden;

    background: #ffffff;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
}


.mibv-login-modal .modal-body {
    padding: 38px 35px 30px;

    text-align: center;
}


/* Icono */

.mibv-login-modal-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef4fb;

    color: #337ab7;

    font-size: 28px;
}


/* Título */

.mibv-login-modal h3 {
    margin: 0 0 12px;

    font-size: 24px;
    font-weight: 600;

    color: #34495e;
}


/* Texto */

.mibv-login-modal p {
    margin: 0 auto 25px;

    max-width: 340px;

    color: #66788a;

    font-size: 15px;
    line-height: 1.6;
}


/* Botones */

.mibv-login-btn {
    display: block;

    width: 100%;

    padding: 11px 15px;

    border-radius: 6px;

    font-size: 15px;
    font-weight: 500;

    transition: all .2s ease;
}


.mibv-login-btn i {
    margin-right: 7px;
}


/* Registrar */

.mibv-login-btn-primary {
    margin-bottom: 12px;

    background: #337ab7;

    border: 1px solid #337ab7;

    color: #ffffff;
}


.mibv-login-btn-primary:hover,
.mibv-login-btn-primary:focus {
    background: #286090;

    border-color: #286090;

    color: #ffffff;

    text-decoration: none;
}


/* Iniciar sesión */

.mibv-login-btn-secondary {
    background: #ffffff;

    border: 1px solid #337ab7;

    color: #337ab7;
}


.mibv-login-btn-secondary:hover,
.mibv-login-btn-secondary:focus {
    background: #f4f8fc;

    border-color: #337ab7;

    color: #337ab7;

    text-decoration: none;
}


/* Cerrar */

.mibv-login-modal-close {
    position: absolute;

    top: 12px;
    right: 15px;

    z-index: 10;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #9aa7b2;

    font-size: 16px;

    cursor: pointer;
}


.mibv-login-modal-close:hover {
    color: #34495e;
}


/* Pie */

.mibv-login-modal-footer {
    margin-top: 22px;

    color: #8996a3;

    font-size: 13px;
}


.mibv-login-modal-footer a {
    color: #337ab7;

    font-weight: 500;

    text-decoration: none;
}


.mibv-login-modal-footer a:hover {
    text-decoration: underline;
}


/* Mobile */

@media (max-width: 480px) {

    .mibv-login-modal .modal-dialog {
        margin: 35px auto;
    }

    .mibv-login-modal .modal-body {
        padding: 32px 22px 25px;
    }

    .mibv-login-modal h3 {
        font-size: 21px;
    }

}
/*===========================================================================
= RESPONSIVE
===========================================================================*/

@media (max-width: 768px) {

    .mibv-card-header {
        height: 180px;
    }

    .mibv-card-title {
        font-size: 17px;
        line-height: 23px;
    }

}

@media (max-width: 480px) {

     .mibv-search {
        width: 100%;
        /*margin: 0 auto 15px auto;
        padding: 18px 15px 20px 15px;*/
    }

    .mibv-search h2 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 6px;
    }

    .mibv-search-description {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 14px;
    }

    .mibv-search-form {
        width: 100%;
    }

    .mibv-search-form .form-control {
        height: 44px;
        font-size: 13px;
    }

    .mibv-search-icon {
        width: 42px;
        height: 44px;
    }

    .mibv-search-button {
        height: 44px;
        min-width: 88px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .mibv-search-button i {
        margin-right: 4px;
    }

    .mibv-filters {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

/* ==========================================================================
   BUSCADOR RESPONSIVE - MÓVIL
   ========================================================================== */

    .mibv-search {
        margin: 70px 0 15px 0;
        padding: 18px 15px 20px 15px;
    }

    .mibv-search h2 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 6px;
    }

    .mibv-search-description {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 14px;
    }

    .mibv-search-form {
        max-width: 100%;
        margin: 0;
    }

    .mibv-search-form .form-control {
        height: 46px;
        font-size: 12px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .mibv-search-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
        padding: 0;
    }

    .mibv-search-button {
        height: 38px;
        min-width: 88px;
        padding: 0 10px;
        font-size: 13px;
    }

    .mibv-search-button i {
        margin-right: 4px;
    }

/* ==========================================================================
   AJUSTE VERTICAL BOTÓN BUSCAR - MÓVIL
   ========================================================================== */

.mibv-search-button {
    height: 38px !important;
    min-height: 38px !important;

    box-sizing: border-box;

    margin: 0 !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding-top: 0;
    padding-bottom: 0;
}

.mibv-search-button {
        height: 45px !important;
        min-height: 38px !important;

        min-width: 88px;

        padding: 0 10px !important;

        margin: 0 !important;

        box-sizing: border-box;

        vertical-align: top;
    }


    /*.mibv-card-header {
        height: 170px;
    }

    .mibv-card-body {
        padding: 15px;
    }

    .mibv-card-footer {
        padding: 14px 15px 16px 15px;
    }*/

}
