/*html*/
html,
body {
    overflow-x: hidden;
}

body,
.bg {
    background: url(../img/bg.png);
}

a.ads-here {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    background-color: #f2f2f2;
    font-size: 14px;
    color: #777777;
    font-style: italic;
    text-decoration: none;
}

.pLover-overlay-menu {
    display: none;
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 300;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#sidebar-inner a.ads-here {
    height: 250px;
}

a.ads-here:hover {
    color: #3498db;
}


#sidebar-inner .widget {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15) !important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-top: 0.25rem solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    margin-bottom: 1.5rem !important;
    border-color: #007bff !important;
}

.shadow-pLover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15) !important;
}

.pLover-menu {
    padding: 12px 15px;
}


/* NAV <a herfs */

.dropdown-menu {
    top: 55px !important;
    padding: 10px !important;
}

.m1 {
    display: none;
}

.dropdown-item {
    border-radius: 5px;
}

.navbar .navbar-nav a.dropdown-item {
    padding: 7px 15px;
}

.navbar .navbar-nav .dropdown-menu a:hover {
    background-color: #0077ff;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #0077ff;
    color: #fff;
}

.pl_buscar {
    width: 100%;
    margin: 0px 0px 0px 0px;
    min-width: 200px;
}

.btn-close {
    display: block;
    box-sizing: content-box;
    width: 0.5em;
    height: 0.5em;
    padding: 0.25em 0.25em;
    color: #000;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNiAxNicgZmlsbD0nIzAwMCc+PHBhdGggZD0nTS4yOTMuMjkzYTEgMSAwIDAxMS40MTQgMEw4IDYuNTg2IDE0LjI5My4yOTNhMSAxIDAgMTExLjQxNCAxLjQxNEw5LjQxNCA4bDYuMjkzIDYuMjkzYTEgMSAwIDAxLTEuNDE0IDEuNDE0TDggOS40MTRsLTYuMjkzIDYuMjkzYTEgMSAwIDAxLTEuNDE0LTEuNDE0TDYuNTg2IDggLjI5MyAxLjcwN2ExIDEgMCAwMTAtMS40MTR6Jy8+PC9zdmc+) center center no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: .5;
}

/* ESTILO BÁSICO PARA .pl_buscar */


.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon .fa-search {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 2rem;
}

/* Botón X (clear) */
.btn-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    display: none;
    padding: 0;
}

/*servicios*/
.pLover-bvlq {
    max-height: 215px;
}

.pLover-bvlq {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    overflow: auto;
    max-height: 215px;
}

.pLover-bvlq li {
    width: 180px;
    height: 200px;
    display: flex;
    padding: 10px;
    flex-direction: column;
}

.pLover-bvlq li {
    max-width: 280px;
}

.pLover-bvlq .media-body span a {
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 5px;
}

.pLover-line-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    margin-bottom: 0;
}

.media-home {
    overflow: hidden;
}

.media-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hace que la imagen encaje y se recorte proporcionalmente */
    transition: transform 0.5s ease;
    /* Transición suave para el zoom */
}

.media-home img:hover {
    transform: scale(1.1);
    /* Zoom al hacer hover */
}

.pLover-bvlq .media-body span a:before {
    content: "\f292";
    font-family: "Font Awesome 6 Free";
    color: #333;
    margin-right: 5px;
}

/*POST */
.post-home {
    border-width: 0;
    overflow: hidden;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 10px 0 rgba(31, 45, 65, .15);
    box-shadow: 0 0 10px 0 rgba(31, 45, 65, .15);
}

.pLover-3-post {
    padding-left: 15px;
}

.pLover-3-post .col {
    padding-left: 0;
}

.post-home .thumb {
    aspect-ratio: 350 / 265;
    background-size: cover !important;
    object-fit: cover;
    background-repeat: no-repeat !important;
}

.thumb {
    min-width: 233px;
    min-height: 176.5151515151515px;
}

/*TITLE POST*/
.pLover-3-post .card-body {
    text-align: center;
    padding: .75rem;
}

.pLover-3-post .card-title {
    margin-bottom: 0;
    font-size: 1rem;
}

.post-home .card-title a {
    color: #323f52;
}

.post-home .card-title a:hover {
    text-decoration: none;
}

@media only screen and (min-width: 768px) {}

.pLover-scrollbar.dragging {
    cursor: grabbing;
    user-select: none;
    /* Estándar */
    -webkit-user-select: none;
    /* Chrome, Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge antiguos */
}

.pLover-scrollbar {
    cursor: grab;
    /* Mano que indica que se puede arrastrar */
}

.pLover-scrollbar:active {
    cursor: grabbing;
    /* Mano cerrada al hacer clic */
}

/*SIDEBAR*/
#sidebar-inner img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* NAV ///////////////////////////////////*/


.nav-links {
    margin: 20px 0
}

.nav-links .btn {
    background-color: #f2f2f2
}

.pagination_bar {
    display: inline-block;
    border-radius: 0.25rem
}

.page-numbers {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .15);
    margin-bottom: 10px;
    transition: background-color .15s ease-in-out
}

.page-numbers:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6
}

.page-numbers.current {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.page-numbers:first-child {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem
}

.page-numbers:last-child {
    margin-right: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem
}

.nav-previous,
.nav-next {
    display: inline-block;
    width: 50%;
    vertical-align: top
}

.nav-next {
    float: right;
    text-align: right
}

.nav-next:after {
    content: "";
    clear: both;
    display: block
}

.two-line-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px
}

.three-line-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    margin-bottom: 0
}

.alert-success {
    background: #ecf5f1;
    border: 2px dashed rgba(15, 81, 50, .3);
    color: #348654
}

.alert-primary {
    background: #ecf3ff;
    border: 2px dashed #b6d4fe;
    color: #084298
}

.alert-warning {
    background: #fff9e6;
    border: 2px dashed #ffdc72;
    color: #856404
}

@media only screen and (max-width: 480px) {
    .pLover-scrollbar * {
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none
    }

    .pLover-scrollbar img {
        pointer-events: none
    }

    #no-movil {
        display: none
    }
}

/* querys NAV bar max*/
@media only screen and (max-width: 992px) {
    .navbar .navbar-collapse {
        position: fixed;
        background: #fff;
        z-index: 99999;
        width: 270px;
        /*250px*/
        height: 100vh;
        right: -270px;
        top: 0;
        padding: 0 20px;
        display: block !important;
    }

    .m1 {
        display: block;
    }

    .menuu {
        height: 72px;
        display: flex;
        align-items: center;
    }

    .navbar .row {
        margin: 0 -5px;
    }

    .navbar .col {
        padding: 0px 5px;
    }

    .pLover-menu .nav-item .nav-link {
        font-weight: 500;
        margin: 5px 0;
    }

    .navbar .dropdown-menu {
        display: block;
        padding: 0 !important;
        border-radius: 0.25rem;
        overflow: hidden;
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    .navbar .navbar-nav .dropdown-menu a {
        border-radius: 0;
        border-bottom: 1px solid #f9f9f9;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }

    .m0 {
        display: none;
    }
}

@media (max-width: 768px) {
    .container .row {
        margin: 0;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    /*MAIN*/
    #post-left {
        padding: 0;
    }
}

/*Query min */
@media only screen and (min-width: 992px) {
    #sidebar-inner {
        /*padding-left: 7px;*/
    }
}

.pLover-scrollbar::-webkit-scrollbar {
    display: none
}

@media only screen and (min-width:768px) {

    /*pLover Scroll */
    .pLover-scrollbar::-webkit-scrollbar {
        display: block;
        width: 8px;
        height: 8px;
        margin-top: -5px;
    }

    .pLover-scrollbar::-webkit-scrollbar-track {
        background: #eee;
        /* Pista: gris muy claro */
    }

    .pLover-scrollbar::-webkit-scrollbar-thumb {
        background: #ccc;
        /* Pulgar: gris claro */
        border-radius: 10px;
    }

    .pLover-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #bbb;
        /* Hover: gris medio */
    }
}
/* ads img*/
@media only screen and (min-width: 768px) {
    .pLover-img img {
        width: 330px !important;
        height: 250px !important;
        object-fit: cover;
    }
}
/* to top*/
@media screen and (max-width:1025px) {
    .back-to-top {
        display: none !important
    }
}

@media screen and (min-width:1025px) {
    button#showHistoryButton {
        bottom: 80px
    }

    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: none;
        z-index: 9;
        opacity: .7
    }
}