/* COLORES */
/*:root {
    --main-color: rgb(0, 115, 159);
    --main-color-hover: rgba(0, 115, 159, 0.84);
    --accent-color: rgb(184, 58, 44);
    --accent-color-hover: rgba(184, 58, 44, 0.84);
    --orange: #E87B40;
    --lighter-gray: #f0f0f0;
    --light-gray: #ccc;
    --medium-gray: #a0a0a0;
    --dark-gray: #666;
}
*/

/* Just a parent container for the videos */
.video-container {
    margin: 0 auto;
    max-width: 700px;
}

/* Individual video container */
.video-wrap {
    position: relative;
    max-width: 700px;
    width: 100%;
}

/* SVG play button container */
.video-wrap .play-btn {
    position: absolute;
    max-width: 700px;
    width: 70px;
    height: 70px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.video-wrap .play-btn svg {
    transition: all .2s ease;
    fill: #fff;
    opacity: 0.8;
}

.video-container:hover .video-wrap .play-btn svg,
.video-container:focus .video-wrap .play-btn svg,
.video-wrap .play-btn:hover svg,
.video-wrap .play-btn:focus svg {
    cursor: pointer;
    opacity: 1;
}

.flexbox {
    display: flex !important;
}

.mce-toolbar .mce-btn button {
    padding: 2px 3px !important;
    border-radius: 0 !important;
}

#share-buttons {
    display: none;
    opacity: 0;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 0;
}

#share-buttons span {
    font-size: 80%;
    margin-right: 5px;
}

.share-button {
    padding: 10px !important;
    border-radius: 50% !important;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    line-height: 16px;
    border: 0;
    height: 36px;
    float: right;
    transition: all 0.2s ease;
    margin-right: 5px;
}

#share-main {
    margin-right: 0;
}

.share-button:hover,
.share-button:focus,
.share-button:active {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.share-button img {
    line-height: 16px;
}

#filtro-profesionales,
#filtro-trabajos {
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

#resultados {
    width: 100%;
    position: relative;
}

#resultados .loader {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 999;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.dropdown__button {
    padding: 15px;
    border: 1px solid var(--dark-gray);
    display: inline-block;
    border-radius: 3px;
    color: var(--dark-gray);
}

.dropdown__button .arrow img {
    filter: invert(40%) sepia(10%) saturate(19%) hue-rotate(86deg) brightness(97%) contrast(92%);
    vertical-align: middle;
}

.field>div {
    display: flex;
    align-items: center;
}

.dropdown,
.field {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-right: 10px;
}

.dropdown input[type=search] {
    font-size: 14px !important;
}

.dropdown__button:hover,
.dropdown__selected {
    color: var(--main-color);
    border-color: var(--main-color);
}

.dropdown__button:hover .arrow img,
.dropdown__selected .arrow img {
    filter: invert(33%) sepia(82%) saturate(700%) hue-rotate(156deg) brightness(94%) contrast(106%);
}

.field:last-child {
    margin-right: 0;
}

/* Hide the dropdown's content by default */
.dropdown__content {
    display: none;

    /* Position it right below the trigger element */
    left: 0;
    padding: 15px 0;
    position: absolute;
    top: 100%;

    /* It should be on the top of other elements */
    background-color: #fff;
    z-index: 9999;

    /* Size */
    min-width: 200px;

    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 5px rgb(0 0 0 / 20%);
}

.dropdown__content ul {
    margin: 0;
    list-style: none;
}

/* Show the content when hover on the container */
/*.dropdown:hover .dropdown__content {
    display: block;
}*/

.dropdown__content a,
.dropdown__content .filtro-nolink {
    color: var(--dark-gray);
    padding: 5px 15px;
    display: flex;
}

.dropdown__content a:hover,
.dropdown__content a:focus,
.dropdown__content a:active,
.dropdown__content .filtro-nolink:hover,
.dropdown__content .filtro-nolink:focus,
.dropdown__content .filtro-nolink:active {
    color: var(--main-color);
    background-color: var(--lighter-gray);
}

.filtro_label {
    /* Center the content horizontally */
    align-items: center;
    display: inline-flex;

    /* Cursor */
    cursor: pointer;
}

.filtro_label__circle {
    /* Rounded border */
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 9999px;

    /* Spacing */
    margin-right: 8px;
    padding: 4px;
}

.filtro_label__radio {
    /* Rounded border */
    border-radius: 9999px;
    height: 16px;
    width: 16px;

    /* For not selected radio */
    background-color: transparent;
}

.filtro_label__radio--selected {
    /* For selected radio */
    background-color: var(--main-color);
}

.filtro_label__square {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 4px;

    /* Spacing */
    margin-right: 8px;
    padding: 4px;
}

.filtro_label__checkbox {
    background-color: transparent;
    border-radius: 4px;
    height: 16px;
    width: 16px;
}

.filtro_label__checkbox--selected {
    /* For selected checkbox */
    background-color: var(--main-color);
}

.select-container {
    padding: 0 15px;
}

#poblaciones,
#etiqueta_trabajo {
    margin-top: 15px;
}

.selectize-dropdown-content {
    max-height: 165px !important;
}

.selectize-input.focus {
    border-color: var(--main-color) !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px var(--main-color-hover) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px var(--main-color-hover) !important;
}

.selectize-dropdown .active {
    color: var(--main-color) !important;
    background-color: var(--lighter-gray) !important;
}

.field input[type=text] {
    padding: 15px;
    border: 1px solid var(--dark-gray) !important;
    display: inline-block;
    border-radius: 3px;
    font-size: 14px;
    color: inherit;
    background-color: transparent;
}

.field input[type=text]::placeholder {
    color: var(--medium-gray);
}

.field input[type=text]:hover,
.field input[type=text]:focus,
.field input[type=text]:active {
    border-color: var(--main-color) !important;
}

.field input[type=text]:focus-visible {
    outline: none;
}

#filtros {
    padding-bottom: 15px;
}

@media (max-width: 768px) {

    #filtro-profesionales,
    #filtro-trabajos {
        width: 100vw;
        padding: 10px 30px 0px;
        margin-left: -30px;
        background-color: var(--lighter-gray);
        border-top: 1px solid var(--light-gray);
    }

    #filtros .dropdown__button,
    #filtros .field input[type=text] {
        background-color: #fff;
        padding: 10px 15px;
    }

    /*#filtros .dropdown__content {
        left: auto;
        top: auto
    }*/

    #filtros .dropdown__content {
        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: auto;
        position: fixed;
        border-left: 0;
        border-bottom: 0;
        border-right: 0;
        box-shadow: none;
    }

    #filtros .dropdown__content>div:first-child {
        padding-bottom: 15px;
        border-bottom: 1px solid var(--lighter-gray);
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #filtros .dropdown__content>div>div:nth-child(odd) {
        flex-basis: 20%;
    }

    #filtros .dropdown__content>div>div:nth-child(3) {
        padding-right: 15px;
        text-align: right;
    }

    #filtros .dropdown__content>div>div:nth-child(even) {
        flex-basis: auto;
    }

    #filtros .dropdown__content>div>div>p {
        font-weight: bold;
        text-align: center;
        font-size: 1.2em;
        margin-bottom: 0;
    }

    #filtros .dropdown__content span.cerrar {
        cursor: pointer;
        color: var(--accent-color);
    }

    #filtros,
    #filtros-activos {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: auto;
    }

    #filtros .dropdown {
        position: static;
    }

    #filtros .dropdown,
    #filtros .field {
        flex: 0 0 auto;
    }

    #filtros .filtro-activo {
        flex: 0 0 auto;
    }

    #filtros .field {
        display: flex;
    }

    .filtros-fixed {
        position: fixed;
        top: 78px;
        z-index: 99;
    }

}

#filtros-activos {
    padding-bottom: 15px;
}

.filtro-activo {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    background-color: var(--main-color);
    border-radius: 9999px;
    padding: 8px 10px;
    margin-right: 13px;
    color: #fff;
}

.filtro-activo:last-child {
    margin-right: 0;
}

.filtro-activo__content {
    margin: 0 15px 0 5px;
    white-space: nowrap;
}

.close-button {
    background-color: #fff;
    cursor: pointer;
    height: 20px;
    width: 20px;
    position: relative;
    border-radius: 50%;
}

.close-button img {
    width: 20px;
}

/* adjust your icon size, add different breakpoints as needed */
@media screen and (max-width: 600px) {
    .video-wrap .play-btn {
        width: 70px;
        height: 70px;
    }
}

#num-profesionales,
#num-trabajos {
    font-size: 14px;
    text-align: right;
}

.profesional-wrap {
    align-items: stretch;
}

.profesional-wrap .trabajos {
    width: 25%;
}

.profesional-wrap .info-container {
    width: 75%;
    padding-left: 25px;
}

.profesional-wrap .slideshow-container {
    position: relative;
    margin: auto;
}

.profesional-wrap .slideshow-container .mySlides {
    overflow-y: hidden;
    aspect-ratio: 16/9;
    align-items: center;
    object-fit: cover;
}

.profesional-wrap .slideshow-container img {
    width: 100%;
    height: auto;
}

.profesional-wrap .slideshow-container .play-btn {
    display: none;
}

/* Next & previous buttons */
.profesional-wrap .slideshow-container span,
.profesional-wrap .slideshow-container span {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.profesional-wrap .slideshow-container span:last-child {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.profesional-wrap .slideshow-container span:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.profesional-wrap .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media (max-width:768px) {
    .profesional-wrap {
        flex-direction: column;
    }

    .profesional-wrap .trabajos {
        width: auto;
        margin-bottom: 1rem;
    }

    .profesional-wrap .info-container {
        width: auto;
        padding-left: 0;
    }
}

.trabajo-imagenes .slideshow-container {
    position: relative;
    margin: auto;
    max-width: 500px;
}

.trabajo-imagenes .slideshow-container .mySlides {
    overflow-y: hidden;
    aspect-ratio: 16/9;
    align-items: center;
    object-fit: cover;
}

.trabajo-imagenes .slideshow-container img {
    width: 100%;
    height: auto;
}

.trabajo-imagenes .slideshow-container .play-btn {
    display: none;
}

/* Next & previous buttons */
.trabajo-imagenes .slideshow-container span,
.trabajo-imagenes .slideshow-container span {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.trabajo-imagenes .slideshow-container span:last-child {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.trabajo-imagenes .slideshow-container span:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.trabajo-imagenes .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

.periodo {
    margin-bottom: 2em;
}

.ks-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    margin-right: 3px;
}

.ks-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ks-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    -webkit-transition: .4s;
    transition: .4s;
}

.ks-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.ks-slider {
    background-color: var(--main-color);
}

input:focus+.ks-slider {
    box-shadow: 0 0 1px var(--main-color);
}

input:checked+.ks-slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.ks-slider.ks-round {
    border-radius: 34px;
}

.ks-slider.ks-round:before {
    border-radius: 50%;
}

#results-orden {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}

#orden {
    -webkit-text-size-adjust: 100%;
    font-weight: 400;
    text-transform: none;
    word-wrap: break-word;
    color: #333333;
    font-family: inherit;
    font-size: inherit;
    line-height: 20px;
    -webkit-font-smoothing: inherit;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 12px;
    display: inline-block;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 4px;
    min-height: 34px;
    background-color: #fff;
    cursor: pointer;
    margin-left: 15px;
}

#results-orden {
    font-size: 14px;
}

#results-orden .selectize-control {
    min-width: 250px;
    margin-left: 15px;
    line-height: 9px;
}

.selectize-dropdown [data-selectable].option {
    cursor: pointer;
}

.profesional-wrap .info>div:last-child {
    justify-content: space-between;
    align-items: stretch;
}

.profesional-wrap .info>div>div:not(.detalles-contacto):not(.labels) {
    width: 70%;
}

.profesional-wrap .detalles-contacto {
    font-size: 15px;
    width: 190px;
}

.profesional-wrap .detalles-contacto div {
    margin-top: 5px;
    padding-top: 5px;
}

.profesional-wrap .detalles-contacto div:first-of-type {
    border: 0;
}

.profesional-wrap .detalles-contacto img {
    border-radius: 0;
    object-fit: fill;

}

.show-form {
    background-color: transparent;
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color);
    font-weight: bold;
    width: 100%;
    font-size: 15px;
}

.fmodal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.fmodal__header {
    display: flex;
    justify-content: space-between;
}

.fmodal__content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    width: 30%;
    border-radius: 5px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.fclose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.fclose:hover,
.fclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.name_first {
    padding-right: 0 !important;
}

.valoraciones {
    margin-top: 1em;
}

.no-verificada {
    display: none !important;
}