#page-actos .content-middle-new, 
#page-especialidades .content-middle-new {
	position: relative;
}

#page-actos .titular, 
#page-especialidades .titular {
	width: calc(100% - 345px);
}

.especialidades-buscador {
	position: absolute;
	top: 40px;
	right: 10px;
	width: 325px;
	height: 30px;
}

.especialidades-buscador .autocomplete {
	width: 100%;
	height: 30px;
	padding: 0 40px 0 10px;
	background-image: url(/img/lupa.svg);
    background-position: calc(100% - 8px) 5px;
    background-repeat: no-repeat;
    background-color: transparent;
	border: 1px solid var(--color);
	border-radius: 10px;    	
}

.especialidades-buscador .ui-autocomplete-input {
	width: 100%;
	height: 30px;
	padding: 0 40px 0 10px;
	background-image: url(/img/lupa.svg);
    background-position: calc(100% - 8px) 5px;
    background-repeat: no-repeat;
    background-color: transparent;
	border: 1px solid var(--color);
	border-radius: 10px;    
}

.especialidades-buscador .ui-autocomplete-input.active {
	border-bottom: 0 none;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

#especialidades-autocompleter {
	clear: both;
	overflow: hidden;
}

.especialidades-titulo {
	padding-top: 21px;
	font-size: 18px;
	color: var(--color);
}

.especialidades-block {
	width: calc((100% / 3) - (30px * 2 / 3));
	margin-left: 30px;
	padding-top: 11px;
}

.especialidades-block.first {
	margin-left: 0px;	
}

.especialidades-titulo.letra {
	border-bottom: 1px solid var(--line-grey);
	font-weight: var(--font-medium);
}

.especialidades-titulo.letter {
	display: flex;
	justify-content: space-between;
	padding-bottom: 11px;
}

.especialidades-titulo.letter span {
	color: #999;
}

.especialidades-titulo.letter a:hover {
	text-decoration: none;
	color: var(--font-color);
}

.especialidades-block ul {
	padding-bottom: 11px;
}

.especialidades-block a {
	color: var(--font-color)!important;
}

#submenu {
	margin-left: auto;
	margin-right: auto;
	width: var(--wrapper-width);
	padding-left: 10px;
	padding-right: 10px;
	margin-top: 36px;	
}

#submenu .submenu {
	display: block;
	color: var(--color-text)!important;
    font-size: 22px;
    line-height: 38px;
    float: none;
    font-weight: bold;
}

#page-otros-servicios .content-middle {
	padding-top: 0px!important;
}

.otros {
	border-top: 1px solid var(--line-grey);
	padding-bottom: 16px;
}

.otros h4 {
	padding-top: 21px;
	font-size: 18px;
	color: var(--color);
	font-weight: bold;	
	padding-bottom: 8px;
}

.otros .linea {
	border-radius: 4px;
	padding: 0 20px;
	display: flex;
    align-items: center;
}

.otros .linea.par {
	background-color: var(--color-opacity-no);
}

.otros .linea .last {
	width: 185px;
}

.otros .linea .last a {
	background-color: var(--bt-background);
	color: var(--bt-color);
	border-radius: var(--bt-border-radius);
	padding: 11px 0 12px 0;
	font-weight: var(--font-medium);
	width: 100%;
	text-align: center;
	display: block;
	margin: 20px 0;
}

.otros .linea .last a:hover {
	background-color: var(--bt-hover-background);
	text-decoration: none;
}

.otros .linea .middle {
	line-height: 45px;
	font-weight: bold;
	text-align: center;
	width: 100px;
	margin: 14px 0;
}

.otros .linea .first {
	width: calc(100% - 100px - 185px);
	margin: 14px 0;
	font-weight: var(--font-medium);
}

.otros .linea .first a {
	color: inherit;
}

.notes {
	border: 1px solid var(--line-grey);
	border-radius: 10px;
	line-height: 22px;	
	font-size: 11px;
	padding: 7px 12px 9px 12px;
	width: 100%;
	max-width: 380px;
	margin: 16px 0 21px 0;
}

.notes span {
	display: block;
	padding: 2px 0 8px 0;
	font-size: 14px;
}

.otros-buscador h4 {
	padding-top: 21px;
	font-size: 18px;
	color: var(--color);
	font-weight: bold;	
}

.otros-buscador h4 + div {
	padding-top: 21px;
}

.otros-buscador .relative .ui-autocomplete-input {
	width: 325px;
	height: 30px;
	padding: 0 40px 0 10px;
	background-image: url(/img/lupa.svg);
    background-position: calc(100% - 8px) 5px;
    background-repeat: no-repeat;
    background-color: transparent;
	border: 1px solid var(--color);
	border-radius: 10px;
	margin: 16px 0 26px 0;
}

.otros-buscador .relative .ui-autocomplete-input.active {
	border-bottom: 0 none;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}

.actos-block {
	width: calc(50% - 20px);
}

.actos-block .linea {
	display: flex;
	align-items: center;
	margin-top: 21px;
}

.actos-block .linea + .linea {
	margin-top: 13px;
}

.actos-block .linea:last-of-type {
	margin-bottom: 11px;
}

.actos-block .linea a {
	width: calc(100% - 90px);
	color: var(--font-color);
	position: relative;
	padding-left: 14px;
}

.actos-block .linea a:after,
.actos-block .linea a:before {
    content: "";
    border-style: solid;
    border-width: 5px;
    width: 0;
    height: 0;
    position: absolute;
    top: 6px;
    left: 1px;
    transform: rotate(-90deg);
}

.actos-block .linea a:before {
	border-color: var(--color) transparent transparent;
}

.actos-block .linea a:after {
    left: 0px;
    border-color: #fff transparent transparent;
}

.actos-block .linea b {
	text-align: right;
	width: 90px;
}