.ilct-footer {
    width: 100%;
    margin-top: 40px;
    padding: 32px 24px 24px;
    background: #f7f7f7;
    border-top: 1px solid #ddd;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
}

.ilct-footer-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ilct-footer-info {
    flex: 1;
}

.ilct-footer-info h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.ilct-footer-info p {
    margin: 6px 0;
}

.ilct-footer-info a,
.ilct-footer-license a {
    color: #005b8f;
    text-decoration: none;
}

.ilct-footer-info a:hover,
.ilct-footer-license a:hover {
    text-decoration: underline;
}

.ilct-footer-logo {
    flex: 0 0 auto;
    text-align: right;
}

.ilct-footer-logo img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}

.ilct-footer-license {
    max-width: 1180px;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ilct-footer-license img {
    display: block;
    width: 88px;
    height: 31px;
}

.ilct-footer-license p {
    margin: 0;
}

.ilct-footer-copy {
    width: 100%;
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    .ilct-footer {
        padding: 28px 18px 22px;
        text-align: center;
    }

    .ilct-footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .ilct-footer-logo {
        text-align: center;
    }

    .ilct-footer-logo img {
        max-width: 230px;
        margin: 0 auto;
    }

    .ilct-footer-license {
        justify-content: center;
        text-align: center;
    }

    .ilct-footer-copy {
        text-align: center;
    }
}



.pkp_brand_footer {
    display: none;
}

.main_entry .item.references .value p,
.main_entry .item.references .value a {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
/*
.pkp_structure_footer_wrapper {
    background: #cccccc;
    border-bottom: 1.43rem solid #666666;
}
*/
.pkp_head_wrapper, .has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
.pkp_site_name_wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding: 0px;
    margin: 0px;
    /*width: 100%;*/
}

.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
    /*width: 100%;*/
    padding: 0px;
    margin: 0px;
}

.pkp_site_name .is_img {
    display: inline-block;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

.pkp_footer_content p.r1{
    float: left !important;
}
.pkp_footer_content p.r2{
    float: left !important;
}


@media (min-width: 992px) {

    #navigationUserWrapper {
        margin-right: 200px;
    }
    .pkp_navigation_user>li>a {
        color: #000000;
    }

    .pkp_navigation_user > li > a {
    color: #000000;
    }

    .pkp_navigation_user > li > a:hover,
    .pkp_navigation_user > li > a:focus {
        color: #01714B;
    }



.pkp_site_name {
    display: inline-block;
    position: relative;
    padding: 0;
}

.pkp_site_name::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #666666;
    box-sizing: border-box;
    pointer-events: none;
}

.pkp_site_name img {
    display: block;
}





#customblock-estadsticas {
  overflow: hidden;
}

#customblock-estadsticas .content {
  padding: 0 10px;
  box-sizing: border-box;
}

#customblock-estadsticas iframe {
  max-width: 100%;
  width: 100% !important;
  height: 200px;
  border: 0;
  display: block;
  margin: 0 auto;
}

#customblock-estadsticas p {
  margin: 10px 0;
}




   #navigationPrimary ul a {
        color: #666666;
    }

    .pkp_navigation_user_wrapper{
        width: 50% !important;
    }

    /*
    .pkp_navigation_user_wrapper a{
        color: #ffffff !important;
    }

    .pkp_navigation_user_wrapper .dropdown-menu li a{
        color: #000000 !important;
    }
*/

    #navigationUserWrapper {
        margin-top: 5px !important;
    }


    .pkp_navigation_user_wrapper {
        width: 50% !important;
        top: 5px !important;
    }

    .pkp_site_name .is_img img {
        max-height: 100%;
        /*width: 100%;*/
        height: auto;
    }
    .pkp_navigation_primary_row {
        padding-left: 30px !important;
        background-color: #ffffff;
    }
    
    .pkp_nav_list ul {
        background: #ffffff !important;
    }
}

@media (max-width: 991px) {
    
    .pkp_site_name .is_img img {
        display: block  !important;
        max-height: 110px  !important;
        min-height: 65px  !important;
        max-width: 100%  !important;
        width: 100%  !important;
        height: 65px !important;
    }
    .pkp_site_name_wrapper {
       /*height: 110px !important;*/
       min-height: 65px  !important;
    }

    .pkp_site_nav_toggle {
        top: 12px !important;
    }

    .pkp_structure_footer {
        position: unset;
        
    }


}