.sp-megamenu-parent > li > a{
    text-transform: uppercase;
}
.thumbnail {
	box-shadow: 0 10px 1.5rem 5px rgba(0,0,0,0.1);
	border-radius: 3px;
	height: 100%;
}
.thumbnail img {
	border-radius: 3px 3px 0 0;
}
.thumbnail .caption {
    margin: 0;
    padding: 20px;
}
.thumbnail .caption h3 {
    font-size: 1.375rem;
  word-break: break-all;
}

#sp-main-top .mod-custom.custom{
    position: relative;
}

.cta-caption {
  position: absolute;
  bottom: 20px;
  left: 40px;
  font-size: 1rem;
  background-color: black;
  padding: 15px;
  color: white; 
  max-width: 230px;
}

.mjc-title-center .mjc-icon::before {
	margin-right: 15px;
}
.mjc-icon::before {
	background-image: url('/images/logo/mejorconjoomla-100.png');
}
.mjc-icon::before {
	display: block;
	float: left;
	margin-right: 10px;
	width: 40px;
	height: 40px;
	content: " ";
	background-repeat: no-repeat;
	background-size: cover;
}

#sp-secciones .cta-caption {
    font-size: 1.6rem;
    padding: 20px 40px;
    bottom: 30px;
}
#sp-secciones {
    padding-top: 10px;
}
#sp-secciones  #sp-seccion-principal  .cta-caption {
    width: 50% !important;
}
#sp-secciones  #sp-seccion-secundira  .cta-caption {
    width: 75% !important;
}
#sp-seccion-principal img {
    width: 100%;
    min-height: 515px;
    max-height: 515px;
    object-fit: cover;
}
#sp-seccion-secundira img {
    max-width: 100%;
    height: auto;
    min-height: 515px;
}
#sp-title .cta-caption {
    bottom: 30px;
    width: 40%;
}
.home #sp-section-1 {
  margin: 10px !important;
}
.form-search .form-control {
  font-size: 11px;
}
.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
  font-size: 13px;
}
.sp-megamenu-parent > li > a {
  text-transform: none;
}
#menu-right .sp-module:first-child {
  border-right: none;
  padding: 0;
}
 
 /* BLOQUE NOTICIAS HOME */
.mjc-title-center .mjc-icon {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 2rem;
}
.mjc-title-center .mjc-icon::before {
    margin-right: 15px;
}
.mjc-title-center .caption {
    margin-top: 20px;
}
.mjc-title-center .caption p {
    margin-top: 10px;
}
.content-links .nav-tabs {
    border-bottom: 0;
    display: block;
    list-style: disc;
    padding-left: 1rem;
}

.blog .article-list.articles-leading,
.blog .article-list .col-lg-4{
    margin-bottom: 2rem;
}
.article-list .article {
    margin-bottom: 0;
    padding: 20px;
    border: 1px solid #f5f5f5;
    border-radius: 3px;
    box-shadow: 0 1rem 1rem rgba(0,0,0,0.1);
    border: 0;
    height: 100%;
}

.itemid-382 .article-list .col-lg-4, .itemid-382 .article-list .col-lg-3 {
    margin-bottom: 2rem;
}
.itemid-382 .article-list .article {
    box-shadow: 0 1rem 1rem rgba(0,0,0,0.1);
    height: 100%;
}
.itemid-382 .article-list .article .article-introtext p:last-child{
    margin-bottom: 0;
}
.itemid-382 .article-list .article .article-introtext {
	height: 150px;
	overflow: auto;
	scrollbar-width: thin;
}

#sp-main-body {
    padding: 0;
}

.disclaimer{
    padding: 2rem 2rem 1rem;
    background: #f6f6f6;
    font-size: 0.9rem;
}

.itemid-382 .article-list .article .article-header h2{
    word-break: break-all;
}

.pagination-wrapper{
    margin-top: 2rem;
    align-items: last baseline;
}
.pagination-wrapper .mr-auto{
    flex: 2 0 21%;
}
.pagenavigation .pagination{
    list-style: none;
    padding: 2rem 0 0;
    margin: 2rem 0 0;
    border-top: 1px solid #f5f5f5;
    display: inherit;
}
.pagenavigation .pagination > li.previous {
	float: left;
}
.pagenavigation .pagination > li.next {
	float: right;
}
.pagenavigation .pagination > li a {
	display: inline-block;
	font-size: .785rem;
	padding: 1rem 2.5rem;
	border-radius: 100px!important;
    border: 1px solid #ededed;
    color: #252525;
}

.content-links{
	background: #f6f6f6;
	padding: 1rem;
	border-radius: 4px;
}

.tweetme{
	width: 100%;
	max-width: 100% !important;
	background: #f6f6f6!important;
	border-radius: 4px;
	border: 3px solid #00ACED;
}
.article-details span.tweetme[class*="t1_"]:not([class*="trans"]){
	box-shadow: inherit!important;
	-webkit-box-shadow: inherit!important;
}
.article-details span.tweetme[class*="t1_"] .sbText{
	padding: 25px!important;
	font-size: 20px!important;
	background: #00ACED;
	color: #fff;
}
.article-details span.tweetme[class*="t1_"] .sbFoot{
	background: #00ACED;
}
.article-details span.tweetme[class*="t1_"] .sbFoot .sbFootButton{
	color: #fff;
}
.article-details span.tweetme.sbBox .sbFoot span::before{
	color: #fff;
}

.alert-grey {
	background-color: #f6f6f6;
	border-color: #f6f6f6;
}
.rrssb-buttons.large-format li a{
    border-radius: 4px;
}
.article-author-information img{
  border-radius: 50%;
}

.profile-edit {
	background: #f6f6f6;
	border-radius: 4px;
	padding: 2rem 0;
}
.logout-button .btn{
    width: 100%;
    margin-top: 0.5rem;
}
#sp-right .sp-module {
    margin-top: 1rem;
}
#sp-right .sp-module ul > li > a{
    padding: 0.5rem 1rem;
    border-radius: 4px;
}
#sp-right .sp-module ul > li.active > a{
    background: #f6f6f6;
}

/* Directorio de profesinales */
/* Vista Categoría */
.view-category .category-desc {
    margin: 30px 0 50px;
}
.itemid-382 .view-category .category-desc {
    margin-top: 0;
}
.itemid-400 .article-header h2,
.itemid-671 .article-header h2{
    word-break: break-all;
}
.itemid-400 .article-list .col-lg-4,
.itemid-671 .article-list .col-lg-4{
    margin-bottom: 2rem;
}
.itemid-671 .article-list .article .article-introtext {
	height: 150px;
	overflow: auto;
	scrollbar-width: thin;
}

.professionals .article-list>.row>div {
    margin-bottom: 30px;
}

.professionals .article-list .article {
    box-shadow: 0 0 1rem 1px rgba(0, 0, 0, 0.1);
}

.professionals .article-intro-image {
    padding: 20px;
    margin-bottom: 30px;
}

.professionals .article-intro-image>a>img {
    margin: 0 auto;
    background-color: #fff;
    cursor: pointer;
}

.professionals .article-header {
    text-align: center;
}

.professionals .article-body .tags {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.professionals .article-body .tags>li {
    display: inline-flex;
    margin: 0 0.3125rem 0.3125rem 0;
}

.professionals ul.fields-container {
    list-style: none;
    padding: 0;
    font-size: 16px;
}

.professionals ul.fields-container>li {
    margin-bottom: 10px;
    text-align: center;
}

.professionals ul.fields-container>li>.field-value {
    font-weight: 600;
}

.professionals ul.fields-container>li>.field-value {
    background-color: #efefef;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 5px;
}

/* Vista de "etiquetas" listado profesionales */
.professionals.view-tags .com-tags.tag-category h1 {
    font-size: 2rem;
}

.professionals.view-tags .com-tags__description {
    margin-bottom: 50px;
}

.professionals.view-tags .com-tags__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.professionals.view-tags .com-tags__items form {
    display: none;
}

.professionals.view-tags .com-tags__items .list-group-item {
    box-shadow: 0 0 1rem 1px rgb(0 0 0 / 10%);
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column-reverse;
    padding: 2.25rem;
}

.professionals.view-tags .com-tags__items .list-group-item:focus,
.professionals.view-tags .com-tags__items .list-group-item:hover {
    background-color: #fff;
}

.professionals.view-tags .com-tags__items .list-group-item .item-image img {
    max-width: 70px;
    margin: 0 auto 20px;
}

.professionals.view-tags .com-tags__items .list-group-item h2 {
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
    font-size: 1.375rem;
    margin: 20px 0 1.25rem 0;
    text-align: center;
}

.professionals.view-tags .com-tags__items .list-group-item h2 a {
    color: #252525;
}

.professionals.view-tags .com-tags__items .list-group-item h2 a:active,
.professionals.view-tags .com-tags__items .list-group-item h2 a:focus,
.professionals .com-tags__items .list-group-item h2 a:hover {
    color: #005580;
}

/* Vista de "etiqueta" listado profesionales */
.professionals.view-tag .com-tags-tag__description.category-desc {
    margin-bottom: 30px;
}

.professionals.view-tag .com-tags-tag__description.category-desc h1,
.professionals.view-tag .com-tags-tag.tag-category h1 {
    font-size: 2rem;
}

.professionals.view-tag .com-tags-tag.tag-category h2 {
    font-size: 1.6rem;
}

.professionals.view-tag .com-tags__items .category {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
    padding-top: 20px;
}

.professionals.view-tag .com-tags__items .list-group-item {
    box-shadow: 0 0 1rem 1px rgb(0 0 0 / 10%);
    border: none;
    padding: 2.25rem 1rem;
}

.professionals.view-tag .com-tags__items .list-group-item:focus,
.professionals.view-tag .com-tags__items .list-group-item:hover {
    background-color: #fff;
}

.professionals.view-tag .com-tags__items .list-group-item img {
    max-width: 130px;
    margin: 0 auto;
}

.professionals.view-tag .com-tags__items .list-group-item h2 {
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
    font-size: 1.375rem;
    margin: 20px 0 1.25rem 0;
    text-align: center;
}

.professionals.view-tag .com-tags__items .list-group-item h2 a {
    color: #252525;
}

.professionals.view-tag .com-tags__items .list-group-item h2 a:active,
.professionals.view-tag .com-tags__items .list-group-item h2 a:focus,
.professionals .com-tags__items .list-group-item h2 a:hover {
    color: #005580;
}

/* Artículo */
.view-article .profesional-details .article-full-image {
    box-shadow: 0 0 1rem 1px rgb(0 0 0 / 10%);
    padding: 20px;
    text-align: center;
}

.view-article .profesional-details .article-full-image img {
	max-width: 300px;
}

.view-article .profesional-details .article-header {}

.view-article .profesional-details .tags {
    margin-top: 1.5rem;
}

.view-article .profesional-details .tags>li {
    display: inline-block;
    min-width: 140px;
    text-align: center;
}

.view-article .profesional-details ul.fields-container {
    list-style: none;
    padding: 0;
    font-size: 16px;
    display: inline-flex;
}

.view-article .profesional-details ul.fields-container>li {
    margin-right: 30px;
}

.view-article .profesional-details ul.fields-container>li:last-child {
    margin-right: 0;
}

.view-article .profesional-details ul.fields-container>li>span.field-value {
    background-color: #efefef;
    border-radius: 5px;
    padding: 8px 16px;
    margin-right: 5px;
}

.profesional-details .content-links {
    background-color: transparent;
    margin-bottom: 2em;
    padding: 0;
}

.profesional-details .content-links ul {
    list-style: none;
    padding: 0;
}
.professionals .tags > li a{
  padding: 0.25rem 0.75rem;
}

/* ocultar pestaña opciones Blog Helixultimate en form profesionales*/
joomla-tab#com-content-form button[aria-controls="attrib-helix_ultimate_blog_options"] {
    display: none;
}

/* POR SI SE CAMBIA PLANTILLA
#sp-header-topbar .container-inner > .row {
	min-height: 75px;
}
#sp-header-topbar .container-inner {
	border-bottom: 0;
}
*/

#sp-footer {
	background: #eee;
	margin-top: 4rem;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
#sp-footer .container-inner{
    padding: 1rem 0;
}
#sp-footer a{
    color: #5091cd;
}
#sp-footer a:hover{
    color: #000;
}

@media (min-width: 768px) {
    .view-article .profesional-details .article-full-image {
        float: right;
        margin-left: 2em;
    }
}

@media (min-width: 992px) {
    #sp-seccion-principal {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    #sp-seccion-secundira {
            -ms-flex: 0 0 41.666667%;
            flex: 0 0 41.666667%;
            max-width: 41.666667%;
    }
}
@media (max-width: 600px) {
    .cta-caption{
        font-size: 1rem;
        padding: 18px;
    }
    .sp-module-content-top .col-xs-12{
        margin-bottom: 1rem;
    }
    .pagination-wrapper .pagination-wrapper{
        padding: 1rem 0.5rem 0;
    }
}

@media (max-width: 991px) {
  .home #sp-top1 .sp-module, .home #sp-top2 .sp-module { margin-bottom: 30px; }
}

@media (max-width: 991px) and (min-width: 576px) {
    .professionals.view-tag .com-tags__items .category {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mod-profesionales .thumbnail{
	padding-top: 1rem;
}
.mod-profesionales .thumbnail .caption{
	border-top: 1px solid #eee;
	background: #f6f6f6;
}
.mod-profesionales .thumbnail .caption h3{
    text-align: center;
    font-size: 1rem;
}
.mod-profesionales .thumbnail img {
	border-radius: 0;
	max-width: 150px;
	margin: 0 auto;
}
.sp-megamenu-parent > li > a {
	text-transform: uppercase;
}

@media (max-width: 575px) {
    .professionals.view-tag .com-tags__items .category {
        grid-template-columns: repeat(1, 1fr);
    }
	.mod-profesionales .col-xs-6{
        width: 50%;
        margin-bottom: 2rem;
    }
    .mod-profesionales .thumbnail .caption{
        padding: 10px 0;
        margin-top: 10px;
    }
    .mod-profesionales .thumbnail img{
        max-width: 100px;
        margin: 0 auto;
    }
}