/* reset */
html body div .plugin-portal-empleo *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    list-style: none;
    box-shadow: none;
    line-height: 1lh;
}

html body div .plugin-portal-empleo table {
  border-collapse: collapse;
  border-spacing: 0;
}
 
html body div .plugin-portal-empleo img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
 
html body div .plugin-portal-empleo button,
html body div .plugin-portal-empleo input,
html body div .plugin-portal-empleo select,
html body div .plugin-portal-empleo textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
 
html body div .plugin-portal-empleo button {
  cursor: pointer;
}
 
html body div .plugin-portal-empleo strong {
  font-weight: bold;
}
 
html body div .plugin-portal-empleo em {
  font-style: italic;
}
 
html body div .plugin-portal-empleo a {
  color: inherit;
}
 
html body div .plugin-portal-empleo a,
html body div .plugin-portal-empleo a:hover {
  text-decoration: none;
}
 
html body div .plugin-portal-empleo h1,
html body div .plugin-portal-empleo h2,
html body div .plugin-portal-empleo h3,
html body div .plugin-portal-empleo h4,
html body div .plugin-portal-empleo h5,
html body div .plugin-portal-empleo h6 {
    margin-top: 0;
  font-weight: normal;
  font-size: 100%;
}
 
html body div .plugin-portal-empleo ul,
html body div .plugin-portal-empleo ol {
  list-style: none;
}
 
html body div .plugin-portal-empleo input[type="checkbox"],
html body div .plugin-portal-empleo input[type="radio"] {
  appearance: auto;
}


/* form filtro */
html body div .plugin-portal-empleo.form-wrapper {
    background: #f0f8f3;
    padding: 1rem 1rem 0;
    border-radius: 8px;
    margin-bottom: 1rem;
}


html body div .plugin-portal-empleo.form-wrapper .form-row{
    margin-right: -5px;
    margin-left: -5px;
    display: flex;
    flex-direction: column;
    @media (min-width: 768px) {
        flex-direction: row;
    }
}
html body div .plugin-portal-empleo.form-wrapper .form-group{
    width: 100%;
    margin-bottom: 1rem;
}
html body div .plugin-portal-empleo.form-wrapper .form-row .col-md{
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: .5rem;
    padding-left: .5rem;
    @media (min-width: 768px) {
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
        width: 25%;
    }
 }


html body div .plugin-portal-empleo.cofa-form,
html body div .plugin-portal-empleo.form-wrapper label{
    color:#333;
    line-height: 1.75rem;
}

html body div .plugin-portal-empleo.form-wrapper .form-control {
    display: block;
    width: 100%;
    height: calc(2.625rem + 2px);
    padding: .375rem .75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

html body div .plugin-portal-empleo.form-wrapper .form-text-help{
    font-size: 0.75rem;
    display: block;
    margin-top: .25rem;
    color:#666;
}

html body div .plugin-portal-empleo.cofa-form button{
    height: calc(2.625rem + 2px);
    padding: .375rem 1.5rem;
    border-radius: .25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    background: #E49E02;
    border:0;
    /* width: 100%; */
    color:#222 !important;
    @media (min-width: 768px) {
        margin-top: 1.75rem;
    }
}
html body div .plugin-portal-empleo.cofa-form button:active,
html body div .plugin-portal-empleo.cofa-form button:hover{
    background: #eea810;
}

/* formularios completos */
.plugin-portal-empleo.cofa-form .title-section{
      margin-top: 20px;
    margin-bottom: 20px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    font-size: 1.25rem;
}

.plugin-portal-empleo.cofa-form .title-section:after{
    content: '';
    display: block;
    width: 65px;
    height: 8px;
    border-radius: 50px;
    background-color: #60a465;
    margin-top: 4px;
}

html body div .plugin-portal-empleo.cofa-form .form-row{
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    @media (min-width: 768px) {
        flex-direction: row;
    }
}
html body div .plugin-portal-empleo.cofa-form .form-group{
    width: 100%;
    margin-bottom: 1rem;
}
html body div .plugin-portal-empleo.cofa-form .form-row .col-md{
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
    @media (min-width: 768px) {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
 }

html body div .plugin-portal-empleo.cofa-form .form-row .col{
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 0;    
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: .5rem;
    padding-left: .5rem;
    display: flex;
    align-items: flex-start;
}

html body div .plugin-portal-empleo.cofa-form .form-row .form-group .label,
html body div .plugin-portal-empleo.cofa-form .form-row .form-group label{
    color:#333;
    line-height: 1.75rem;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

html body div .plugin-portal-empleo.cofa-form .form-row .form-group .form-control {
    font-size: 1rem;
    display: block;
    width: 100%;
    height: calc(2.625rem + 2px);
    padding: .375rem .75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
html body div .plugin-portal-empleo.cofa-form .form-row .form-group .form-select {
display: block;
    width: 100%;
    height: calc(2.625rem + 2px);
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: url(arrow.svg);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

html body div .plugin-portal-empleo.cofa-form .form-row .form-file-group,
html body div .plugin-portal-empleo.cofa-form .form-row .form-check-group{
    padding-left: 15px;
    padding-right: 15px;
}
html body div .plugin-portal-empleo.cofa-form .form-row .form-check-group label{
    font-weight: 600;
}
html body div .plugin-portal-empleo.cofa-form .form-row .form-check-group .form-check-input{
    margin-right: 10px;
}

/* tabla */
html body div .plugin-portal-empleo.table-container{
    -webkit-overflow-scrolling: touch;
    background: #fff;
    overflow: hidden;
    overflow-x: auto;
}

html body div .plugin-portal-empleo.table-container{
    margin-bottom: 1rem;
    width: 100%;
}

html body div .plugin-portal-empleo.table-container th{
    background: #555;
    color:#fff;
    border:none;
    font-weight: normal;
    border-left:1px solid #fff;
    font-size: 0.875rem;
    white-space: nowrap;
    text-align: left;
}
html body div .plugin-portal-empleo.table-container .short-td{
  width: 100px;
}

html body div .plugin-portal-empleo.table-container .nowrap{
  white-space: nowrap;
}

html body div .plugin-portal-empleo.table-container .text-start{
  text-align: left;
}
html body div .plugin-portal-empleo.table-container .text-center{
  text-align: center;
}
html body div .plugin-portal-empleo.table-container .text-end{
  text-align: right;
}
html body div .plugin-portal-empleo.table-container table td:first-child,
html body div .plugin-portal-empleo.table-container table th:first-child{
    text-align: center;
} 
html body div .plugin-portal-empleo.table-container table td:last-child,
html body div .plugin-portal-empleo.table-container table th:last-child{
    text-align: left;
} 


html body div .plugin-portal-empleo.table-container th, 
html body div .plugin-portal-empleo.table-container td {
    padding: 0.625rem;    
    vertical-align: middle;
}

html body div .plugin-portal-empleo.table-container td {
    font-size: 1rem;
    color:#666666;
    border:none;
}
html body div .plugin-portal-empleo.table-container td a:active,
html body div .plugin-portal-empleo.table-container td a:hover,
html body div .plugin-portal-empleo.table-container td a{
  text-decoration: underline;
  color:#000;
}

html body div .plugin-portal-empleo.table-container tbody>tr:nth-child(odd)>td, 
html body div .plugin-portal-empleo.table-container tbody>tr:nth-child(odd)>th {
    background-color: #F9F9F9;
}
html body div .plugin-portal-empleo.table-container tbody>tr:last-child td{
    border-bottom:1px solid #e6e6e6;
}
html body div .plugin-portal-empleo.table-container tbody>tr:last-child:nth-child(odd) td{
    border-bottom:none;
}

/* Paginación */
html body div .plugin-portal-empleo .cofa-pagination-container {
    padding: 1rem 0;
}

html body div .plugin-portal-empleo .cofa-pagination-controls-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

html body div .plugin-portal-empleo .pagination-controls {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

html body div .plugin-portal-empleo .cofa-page-btn {
    padding: 5px 0;
    color: #333;
    width: 40px;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ddd;
    line-height: 1.75rem;
    background: #fff;
    cursor: pointer;
}

html body div .plugin-portal-empleo .cofa-page-btn:hover {
    background: #f0f0f0 !important;
    color: #333 !important;
}

html body div .plugin-portal-empleo .cofa-page-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
    background: #fff;
}

html body div .plugin-portal-empleo .cofa-page-btn.is-active {
    border-color: #E49E02;
    background: #E49E02;
    color: #222 !important;
    padding: 5px 0;
}

/* Estilos para los indicadores de ordenación de la tabla */
html body div .cofa-table th.sortable a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
html body div .cofa-table th.sortable .sorting-indicator {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    margin-left: 5px;
    border-top: 5px solid #fff; /* Flecha hacia abajo por defecto */
}
html body div .cofa-table th.sortable.sorted.asc .sorting-indicator {
    border-bottom: 5px solid #fff;
    border-top: 0;
}

/* Rango y selector por página */
html body div .plugin-portal-empleo .cofa-range-container {
    font-size: 14px;
    color: #222;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

html body div .plugin-portal-empleo .cofa-custom-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

html body div .plugin-portal-empleo .cofa-custom-per-page-select {
    border: 1px solid #DADADB;
    border-radius: .25rem;
    font-size: 14px;
    color: #616670;
    padding: 4px 8px;
    background-color: #fff;
    appearance: auto;
    height: auto;
    line-height: 1.5;
}

html body div .cofa-table .cofa-custom-sort {
    margin-left: 6px;
    color: #ccc;
}

/* Alineación de columnas en las tablas de administración del plugin */
.wp-list-table {
	.column-acciones {
   	 	text-align: right !important;
	}
	.column-congral,.column-estado{
		text-align: center !important;
	}
}


html body div .plugin-portal-empleo .alert-info-box__inner{
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f;
    border-left: 5px solid #31708f;
    padding: 15px;
    position: relative;
    text-align: start;
    font-size: 13px;
}
