.image-container {
    height: 500px;
}
.image-container img {
    height: 500px;
    object-fit: cover;
    width: 100%;
}
.post-meta .card-avatar {
    height: 45px;
    width: 45px;
    overflow: hidden;
    border-radius: 50px;
    background-color: #ccc;
    background-size: cover;
    background-repeat: no-repeat;
}
.post-meta a,
.post-meta span {
    font-size: var(--font-size-17)!important;
    line-height: var(--line-spacing-26);
}
.post-meta a {
    color: var(--custom-three);
}
@media (max-width: 768px) {
    .post-meta .card-avatar {
        height: 30px;
        width: 30px;
    }
    .post-meta a, .post-meta span {
        font-size: var(--font-size-16) !important;
        line-height: var(--line-spacing-22);
    }
}
.entry-content p {
    margin-bottom: var(--single-post-margin-bottom);
}
.entry-content h2 {
    font-size: var(--font-size-38);
    line-height: var(--line-spacing-48);
    margin-bottom: var(--single-post-margin-bottom);
}
.sidebar .subscribe-form input[type="text"],
.sidebar .subscribe-form input[type="email"],
.entry-content .subscribe-form input[type="text"],
.entry-content .subscribe-form input[type="email"] {
    border: 0!important;
    background: transparent;
    border-bottom: 1px solid var(--custom-two)!important;
    font-size: var(--font-size-16);
}
.sidebar .subscribe-form .btn,
.entry-content .subscribe-form .btn {
    font-size: var(--font-size-17);
}
.sidebar .subscribe-form {
    padding: 0;
}

.sidebar .subscribe-form .row .col-lg-6 {
    width: 100%!important;
}
.entry-content .subscribe-form {
    padding: 50px;
    margin-bottom: var(--single-post-margin-bottom);
}
@media (max-width: 768px) {
    .entry-content h2 {
        font-size: var(--font-size-32);
        line-height: var(--line-spacing-38);
    }
    .entry-content .subscribe-form {
        padding: 30px 20px;
    }
}
.entry-content h3 {
    font-size: var(--font-size-28);
    line-height: var(--line-spacing-38);
    margin-bottom: var(--single-post-margin-bottom);
}
.entry-content h4 {
    font-size: var(--font-size-20);
    line-height: var(--line-spacing-32);
    margin-bottom: var(--single-post-margin-bottom);
}
.entry-content h5 {
    font-size: var(--font-size-17);
    line-height: var(--line-spacing-28);
    margin-bottom: var(--single-post-margin-bottom);
}
.entry-content h6 {
    font-size: var(--font-size-17);
    line-height: var(--line-spacing-28);
    margin-bottom: var(--single-post-margin-bottom);
}

.wp-block-quote {
    border-color:var(--custom-one);
}
.wp-block-quote p {
    font-size: var(--font-size-24);
    line-height: var(--line-spacing-38);
    font-weight: var(--font-weight-600);
}
.entry-content > .wp-block-text-columns,
.entry-content > .wp-block-table,
.entry-content > .wp-block-media-text,
.entry-content > .wp-block-audio,
.entry-content > .wp-block-embed,
.entry-content > .wp-block-image,
.entry-content > .wp-block-list,
.entry-content > .wp-block-quote,
.entry-content > .wp-block-video,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-columns {
    margin-bottom: var(--single-post-margin-bottom);
}

.wp-block-column .wp-block-image {
    margin-bottom: 0;
}
.wp-block-columns.is-layout-flex {
    align-items: center!important;
    margin-bottom: var(--single-post-margin-bottom);
}

.recent-posts-2.widget_recent_entries a {
    text-decoration: none;
    color: var(--custom-two);
    font-weight: var(--font-weight-600);
    line-height: var(--line-spacing-22);
}
.recent-posts-2.widget_recent_entries li {
    font-size: var(--font-size-17);
    line-height: var(--line-spacing-22);
}
.sidebar > div {
    border: 1px solid #BEC5C7;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    padding-right: 10px;
    position: relative;
}
.sidebar > div.large {
    max-height: 550px;
    overflow: hidden;
}
.sidebar > div.large:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(0deg, #fff 80%, transparent 100%); 
}
#loadMoreSidebar {
    position: absolute;
    bottom: 5px;
    z-index: 1;
    padding: 0 10px;
    width: 120px;
    left: 50%;
    margin-left: -60px;
    background: transparent;
    font-size: var(--font-size-14);
    border: 0;
    color: #555;
    background-image: url('/wp-content/themes/allinagency-palrobotics/theme/image/icons/chevron-down.svg');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center right;
}
#loadMoreSidebar.sidebaropen {
    background-image: url('/wp-content/themes/allinagency-palrobotics/theme/image/icons/chevron-up.svg');
}
.sidebar > div.form-ac-custom {
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    padding: 20px;
}
.sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none!important;
}

.sidebar .h6 {
    font-size: var(--font-size-18);
    line-height: var(--line-spacing-28);
    margin-bottom: 20px;
}
.sidebar ul a {
    text-decoration: none;
    font-size: var(--font-size-17);
    line-height: var(--line-spacing-28);
    color: var(--custom-two);
    display: inline-block;
    transition: color 0.2s;

}
.sidebar ul a:hover {
    color: var(--custom-one);
}
.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar .widget_categories ul li {
    margin-bottom: 3px;
}
.sidebar .widget_categories ul {
    padding-top: 0;
}

.entry-content iframe {
    width: 100%;
    height: 450px;
}



ul.tagcloud {
    list-style: none;
}
.sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

.tagcloud a {
    border: 1px solid var(--custom-two);
    padding: 4px 12px;
    border-radius: 5px;
    color: var(--custom-two);
    text-decoration: none;
    margin-right: 10px;
    transition: 0.3s;
    font-size: 12px!important;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: var(--font-weight-400);
    line-height: var(--line-spacing-22);
}
.tagcloud a:hover {
    background-color: var(--custom-two);
    color: #fff;
}

.sidebar h6  {
    font-size: var(--font-size-24);
    margin-bottom: 20px;
    font-weight: var(--font-weight-600);
}

.entry-content.extended {
    width: 90%; /* Ajusta esto a tus necesidades */
}

.sidebar.hidden {
    display: none;
}

#toggle-sidebar {
    right: 3rem;
}

.categories-2.widget_categories a {
    font-size: var(--font-size-16);
    font-weight: var(--font-weight-400);
}

.widget_categories li:last-child,
.widget_recent_entries li:last-child {
    margin-bottom: 0;
}

@media (min-width: 991px) {
    .archive.category .grid.sidebar-collapsed > .col-md-6:nth-child(n+3),
    .archive.tag .grid.sidebar-collapsed > .col-md-6:nth-child(n+3),
    .archive.author .grid.sidebar-collapsed > .col-md-6:nth-child(n+3),
    .page-template-page-blog  .grid.sidebar-collapsed > .col-md-6:nth-child(n+3) {
        flex: 0 0 33%;
        max-width: 33%;
    }
    .archive.category .sidebar-collapsed,
    .archive.tag .sidebar-collapsed,
    .archive.author .sidebar-collapsed,
    .page-template-page-blog .sidebar-collapsed {
        padding-right: 0!important;
    }
    .archive.tax-resource-type .grid.sidebar-collapsed > .col-md-6,
    .page-template-page-resources  .grid.sidebar-collapsed > .col-md-6 {
        flex: 0 0 33%;
        max-width: 33%;
    }
    .archive.tax-resource-type .sidebar-collapsed,
    .page-template-page-resources .sidebar-collapsed {
        padding-left: 0!important;
    }
}

.sidebar-collapsed-container {
    padding-left: 0!important;
    padding-right: 0!important;
}

#toggle-sidebar #toggle-text {
    font-size: var(--font-size-16);
}
.archive.tax-resource-type #toggle-sidebar,
.page-template-page-resources #toggle-sidebar {
    flex-direction: row-reverse;
}
.archive.tax-resource-type  #toggle-sidebar img,
.page-template-page-resources #toggle-sidebar img {
    transform: rotate(180deg);
}
#toggle-sidebar i{
    font-size: 12px; 
    margin-left: 5px;
    margin-right: 5px;
}
.sidebar {
    transition: transform 0.1s ease-out, opacity 0.4s ease-out;
    transform: translateX(0);
    opacity: 1;

}
.sidebar.collapsed {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    transform: translateX(100%);
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.recent-posts-2.widget_recent_entries li:last-child{
    border-bottom: 0!important;
}
/* transicion de width */
.entry-content {
    transition: all 0.05s ease-out;
}
.sidebar .card-avatar {
    width: 20px;
    height: 20px;
    background-size: 100%;
    overflow: hidden;
    border-radius: 50px;
}

.entry-content > ul {
    list-style-type: none; 
    padding-left: 0;
}
.entry-content > ul li {
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    margin-bottom: 15px;
}
.entry-content > ul li:before {
    content: " "; /* El contenido del marcador de lista */
    width: 7px; 
    height: 7px; 
    position: absolute;
    left: 0;
    top: 10px;
    background-color: var(--custom-one);
    border-radius: 50%;
}

.archive.category .sidebar-content {
    padding-top: 20px;
}
.sidebar .dropdown-menu,
#filter-allinagency .dropdown-menu {
    transition: all 0.3s;
    transform: translate3d(0px, 20.5px, 0px);
    max-height: 300px;
    overflow-y: auto;
    min-width: 250px;
}

#filter-allinagency .form-check-input {
    width: 16px;
    height: 16px;
}
#filter-allinagency .form-check-label {
    font-size: var(--font-size-15);
}
.sidebar .dropdown-toggle::after,
#filter-allinagency .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background-image: url('/wp-content/themes/allinagency-palrobotics/theme/image/icons/chevron-down.svg');
    width: 15px;
    height: 15px;
    position: absolute;
    right: 0;
    top: 13px;
    background-repeat: no-repeat;
    background-size: 100%;
}

#filter-allinagency .dropdown-toggle.show::after {
    background-image: url('/wp-content/themes/allinagency-palrobotics/theme/image/icons/chevron-up.svg'); 
}
#search-form.search-form-resource {
    width: 100%!important;
  }

@media (min-width: 991px) {
    .form-group label,
    .form-check-label {
      width: calc(100% - 25px);
      display: block;
    }
    .taxonomy-list {
      width: calc(100% - 100px);
    }
    #filter-allinagency {
      width: calc(100% - 180px);
    }
    .w-small {
      width: 80px;
    }

    #search-form .tag-dropdown,
    #search-form .category-dropdown {
      width: 20%;
    }
    #search-form .orderby-dropdown {
      width: 12%;
    }
    #search-form .input-search-container {
        width: calc(48% - 100px)!important;
      }
    #search-form.search-form-resource {
      width: calc(100% - 80px)!important;
    }
    #search-form.search-form-resource .input-search-container {
        width: 100%!important;
      }
  }


#progress-container {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    top: 0;
    z-index: 99999;
}

.admin-bar #progress-container {
    top: 32px;
}

#progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--custom-one);
}

.custom-tooltip {
    font-weight: var(--font-weight-600);
    text-decoration: underline;
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: rgb(28, 53, 59);
}

.tooltip-inner {
    background-color: var(--custom-two);
    font-size: var(--font-size-15);
    line-height: var(--line-spacing-18);
    font-weight: var(--font-weight-400);
    padding: 20px;
    max-height: 200px;
    overflow-y: auto;
    color: #ededed;
    max-width: 240px;
    text-align: left;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    top: -1px;
    border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;
    border-top-color: var(--custom-two)!important;
}

.tooltip.show {
    opacity: 1!important;
}

.btn-load-more {
    background-color: #F4F4F4;
    border-radius: 100%;
    font-size: 14px;
    width: 75px;
    height: 75px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    transform: scale(1);
}

.btn-load-more:hover {
    background-color: #dadada;
    transform: scale(1.1);
}
@media (min-width: 991px) {
    #post-container.list .col-md-6 {
        width: 100%!important;
    }
    
    #post-container.list .card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #post-container.list .card .card-text {
        font-size: var(--font-size-17);
    }
    #post-container.list .card .card-body {
        width: 50%;
        padding-left: 25px!important;
    }
    #post-container.list .card.resourse-card .card-body {
        width: 100%;
        padding-left: 0!important;
    }
    #post-container.list .card .card-text {
        display: block;
    }
    .list .card .card-image {
        width: 50%;
        padding-right: 5px!important;
    }
    .list .placeholder-card-img-top {
        width: 100%;
        margin-bottom: 20px;
    }
    .list .placeholder-card-img-top,
    .list .card .card-image img {
        object-fit: cover;
        height: 300px;
    }
}
@media (min-width: 992px) {
    .news.g-lg-5 {
        --bs-gutter-x: 2.5rem!important;
        --bs-gutter-y: 2.5rem!important;
    }
}

.news.sidebar-collapsed.grid  a.card-image,
.news.sidebar-collapsed.grid .card-image-container .card-overlay,
.news.sidebar-collapsed.grid a.card-image img {
    height: 300px;
}

.grid.sidebar-collapsed > .col-md-6:nth-child(n+3) .card-image,
.grid.sidebar-collapsed > .col-md-6:nth-child(n+3) .card-overlay,
.grid.sidebar-collapsed > .col-md-6:nth-child(n+3) .card-image img {
    height: 190px;
}
.news.list a.card-image,
.list.sidebar-collapsed .card-image-container .card-overlay,
.list.sidebar-collapsed .card-image-container,
.list.sidebar-collapsed .card-image,
.list.sidebar-collapsed .card-overlay,
.list.sidebar-collapsed .card-image img {
    height: 300px;
}

.list .card-image-container {
    overflow: hidden;
    height: 300px;
    width: 100%;
    position: relative;
}
.list .card-image,
.list .card-image-container .card-overlay {
    height: 300px;
}

.news.list.sidebar-collapsed a.card-image {
    overflow: hidden;
    height: 300px;
}

.placeholder-card-img-top {
    object-fit: cover;
    height: 210px;
}
.grid .placeholder-card-img-top {
    margin-bottom: 10px;
}
.col-md-4 .placeholder-card-img-top {
    height: 210px;
}

.sidebar-collapse .col-md-4 .placeholder-card-img-top {
    height: 100px;
}

.list.sidebar-collapse .placeholder-card-img-top {
    height: 300px;
}
@media (min-width: 991px) {
    .sidebar .dropdown-menu {
        width: 100%!important;
        position: relative!important;
        display: block!important;
        top: auto!important;
        margin: 0!important;
        padding: 0!important;
        transform: translate3d(0, 0, 0)!important;
        border: 0!important;
    }
    .sidebar .dropdown-menu .dropdown-item {
        padding-left: 0;
        padding-right: 0;
    }
    .sidebar .dropdown .btn {
        cursor: auto!important;
        font-size: var(--font-size-17);
        font-weight: var(--font-weight-600)!important;
    } 
    .sidebar .form-check-label {
        cursor: pointer!important;
    }
    .sidebar .dropdown-toggle::after {
        display: none;
    }
}

@media (max-width: 991px) {
    .sidebar .dropdown .btn {
        font-size: var(--font-size-15);
        font-weight: var(--font-weight-400)!important;
        border-bottom: 1px solid #ececec !important;
        padding: 5px 0;
        margin-bottom: 0!important;
    }  
}
.archive.tax-project-status .tax-filter,
.archive.tax-resource-type .tax-filter {
    display: none;
}


