/**
 * Esta hoja de estilo mantiene los estilos correspondientes a los componentes de
 * búsqueda externa y al buscador sencillo en contenidos.
 *
 * @author Divisa Informática y Telecomunicaciones S.A.
 */

/** ESTILOS GENÉRICOS UTILIZADOS EN LOS BUSCADORES **/
div.cmSearchRow {
	clear: both;
}


div.cmSearchRow:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

div.cmSearchCol {
	margin-top: 8px;
}

div.cmSearchCols2 .cmSearchCol {
	float: left;
	width: 50%;
}

div.cmSearchCols3 .cmSearchCol {
	float: left;
	width: 33.333%;
}

.cmSearchLabel label.error {
	color: red;
}

/**
 * Estilo por defecto para los cuadros de texto de las búsquedas para fechas
 * Es genérico, no se particularizará para los distintos contenedores.
 */
input.cmSearchDate {
	width: 12em;
}

button.cmSearchDate {
	border: none;
	background: transparent;
	font-weight: bold;
	padding: 0;
}

button.cmSearchDate img {
	vertical-align: middle;
}

/**
 * Estilo por defecto para los cuadros de texto de las búsquedas para fechas en rangos
 * Es genérico, no se particularizará para los distintos contenedores.
 */
input.cmSearchRankDate {
	width: 7em;
	color: black;
}

/**
 * Estilo para el botón de buscar en rangos de fechas
 */
button.cmSearchRankDate {
	border: none;
	font-weight: bold;
	background: transparent;
	padding: 0;
	vertical-align:top;
	margin: -2px 0 0 5px;
	width: 22%;
}

button.cmSearchRankDate img {
	vertical-align: middle;
}
/**
 * Estilo por defecto para los cuadros de texto de las búsquedas
 * Es genérico, no se particularizará para los distintos contenedores.
 */
input.cmSearchRankInput {
	width: 7.1em;
	color: black;
}

textarea.cmSearchInput {
	width: 18.5em;
	border: 1px solid #666;
}

.cmEmbeddedSearcherOuterBox {
	clear: both;
}

/**
 * Estilo por defecto para los select
 * Es genérico, no se particularizará para los distintos contenedores.
 */
input.cmSearchInput,
select.cmSearchInput,
select.cmSearchSelect {
	width: 90%;
	color: black;
}

/* Estilos genericos */
.cmSearchFieldSet {
   padding: 0em 1em 0.7em 1em;
   margin-top: 0;
}

/** BUSCADOR DE CONTENIDOS INTERNO **/
div.cmSearchContainer label {
	float: none;
	padding: 0;
}

div.cmSearchButtonZone {
	clear: both;
	text-align: right;
	padding: 1em 0 0 0;
}

/*** BUSCADOR SENCILLO ***/
div.simpleSearcherBox.simpleSearcher {
	position: absolute;
	top: 74px;
	left: 15px;
}

div.simpleSearcherBox input.cmSearchButton {
	width: 19px;
	height: 19px;
	background-image: url(../imagenes/component/shared/img/google/flecha_g.png);
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: 0 0;
	text-align: left;
	font-size: 0;
	padding: 0;
	margin: 1px 0;
	border: none;
	display: block;
}

div.simpleSearcherBox button.cmSearchButton img {
	position: absolute;
	top: 0;
	left: 0;
}

div.simpleSearcherBox div.simpleSearcherBoxInner {
	padding: 6px 10px 6px 0;
	width: 280px;
	background: #fff;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
}

div.simpleSearcherBox .cmSimpleSearchContainer {
	position: relative;
}

div.cmSimpleSearchLabelContainer {
	position: absolute;
	font-size: 0;
	overflow: hidden;
}

div.simpleSearcherBox div.cmSimpleSearchInputContainer {
	float: left;
}

div.simpleSearcherBox div.cmSimpleSearchInputContainer input{
	color: #999999;
	border: 1px solid #CCCCCC;
	padding: 1px 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	outline: none;
	width: 120px;
}

div.simpleSearcherBox div.cmSimpleSearchButtonContainer {
	float: left;
	margin-left: 5px;
}

div.simpleSearcherBox div.cmSimpleSearchButtonContainer input {
	outline: none;
}

div.simpleSearcherBox .cmAdvancedSearchLink {
	float: left;
	margin-left: 10px;
	display: block;
	padding: 2px 0;
}

/*** BUSCADOR AVANZADO ***/
div.advancedSearchContainer {
	margin-bottom: 15px;
}

div.advancedSearch .cmSearchContainer{
	padding:0;
}

div.advancedSearch .cmSearchInput,
div.advancedSearch .cmSearchSelect,
div.advancedSearch .cmSearchRankInput,
div.advancedSearch input.cmSearchRankDate,
div.advancedSearchMain .cmSearchRankInput,
div.advancedSearchMain input.cmSearchRankDate {
	color: #5C5C5C;
	border: 1px solid #bbb;
	font-size:1.1em;
	border-radius: 5px;
	padding: 3px 6px;
}

div.advancedSearch div.cmSearchRow {
	padding: 1em;
}

div.advancedSearch .cmSearchRankInput{
	width:7em;
}

.boxAdvancedSearch{
	margin:1em 1em 0 0;
}

.buttonAdvancedSearch{
	background: #5E5E5E;
	color:#fff;
	padding:0.5em;
	position:absolute;
	right:1em;
	top:4em;
	z-index: 1;
	font-weight: bold;
}

.buttonAdvancedSearch a.cmAdvancedSearchLink{
	color: #fff;
}

.contentBoxNormal.advancedSearcher{
	margin:0;
}

.advancedSearcher .contentAbstract{
	margin:0;
}

.blockTitleSearch{
	border-bottom:1px solid #CCC;
	display: block;
	overflow:hidden;
}

.blockTitleSearch .subtitleNormal{
	border: none;
	float:left;
	padding-bottom: 0;
}

.blockTitleSearch .buttonAdvancedSearch{
	float:right;
	font-size:1.1em;
	font-weight: bold;
	padding-top:1em;
}

/** BOTONES **/
.cmContactMailButton,
.cmSearchButton{
	border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	box-shadow: 0.2em 0.2em 0.6em #B8B1B1;
	-webkit-box-shadow: 0.2em 0.2em 0.6em #B8B1B1;
	-moz-box-shadow: 0.2em 0.2em 0.6em #B8B1B1;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	font-weight: bold;
	line-height: 1.4em;
	color: #003781;
	text-decoration: none;
	padding: 0.4em 2em;
	text-align: center;
	white-space: nowrap;
	margin: 0 0 0 .6em;
	cursor: pointer;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	transition: all 0.15s linear;
	display: inline-block;
	vertical-align: middle;
}

.cmContactMailButton:hover,
.cmSearchButton:hover,
.cmTypeReset:hover {
	text-decoration: none;
}

.cmContactMailButton,
.cmSearchButton{
	color: #444;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	transition: all 0.15s linear;
}

.cmContactMailButton:hover,
.cmSearchButton:hover,
.cmContactMailButton:focus,
.cmSearchButton:focus{
	border: 1px solid #999;
	box-shadow: 0.2em 0.2em 0.6em #989191;
	-webkit-box-shadow: 0.2em 0.2em 0.6em #989191;
	-moz-box-shadow: 0.2em 0.2em 0.6em #989191;
}

/** RESULTADOS DE BÚSQUEDAS GENERALES **/
div.cmBodyContentChildrens ul.cmCategorizer {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

div.cmBodyContentChildrens ul.cmCategorizer > li.cmCategorizer {
	clear: both;
}

div.cmBodyContentChildrens ul.cmCategorizer li ul.cmContentList {
	clear: both;
	padding: 0 0 1.5em 0;
	margin: 0;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer {
	list-style-type:none;
	padding: 0;
	margin: 0;
	display:inline;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li {
	list-style-type:none;
	display:block;
	float: left;
	color: #999;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li span,
div.cmBodyContentChildrens ul li ul.cmCategorizer li a,
div.cmBodyContentChildrens ul li ul.cmCategorizer li a:visited {
	padding: 0.2em 1em;
	text-decoration:none;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li a:active,
div.cmBodyContentChildrens ul li ul.cmCategorizer li a:hover {
	text-decoration:underline;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li.firstChild {
	z-index: 3;
	margin: 0;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li.firstChild span,
div.cmBodyContentChildrens ul li ul.cmCategorizer li.firstChild a {
	padding-left: 0;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li.lastChild {
	background: none;
}

div.cmBodyContentChildrens ul li ul.cmCategorizer li.lastChild span,
div.cmBodyContentChildrens ul li ul.cmCategorizer li.lastChild a {
	background-color: transparent;
	z-index: 1;
}

em.higlight {
	background-color: #FF9;
}

.queryMispells{
	color:#dd4b39;
	font-size:1.2em;
	margin-bottom:.5em;
}

.sourceMispells,
.targetMispells{
	font-weight:bold;
}

/*Estilos para el buscador de subcontenidos*/
.embeddedSearcher{
	margin:1em 0 0 0;
}

div.embeddedSearcher .contentAbstract {
	padding: 3px 6px;
	margin: 0;
	display: block;
	float: left;
	width: auto;
	color: #fff;
	font-weight: bold;
	font-size: 11px;
	background: #00a3aa;
	-webkit-border-top-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topright: 8px;
	border-top-right-radius: 8px;
	border: 1px solid #007670;
	border-bottom: none;
}

.embeddedSearcher .titleSearch{
	padding:0.5em 0.3em 0.5em 1.5em;
	text-align: left;
	font-size: 1em;
	font-weight: bold;
	color: #fff;
	background:#888;
	margin:0;
}

.embeddedSearcher .contentSearcherBody{
	background:#eee;
	padding:1.5em;
}

.embeddedSearcher .cmSearchContainer {
	margin: 0 0 15px 0;
}

.embeddedSearcher fieldset.cmSearchFieldSet {
	border: none;
	margin: 0;
	padding: 0;
}

.embeddedSearcher fieldset.cmSearchFieldSet legend {
	color: #fff;
	padding: 0.5em 1.2em;
	background: #888;
	margin: 1em 0 0 0;
	width: auto;
	float: left;
	display: none;
}

.embeddedSearcher .cmSearchInput,
.embeddedSearcher .cmSearchSelect {
	width: 100%;
	height: auto;
}

.embeddedSearcher input.cmSearchRankInput {
	width: 100%;
}

.embeddedSearcher .cmSearchRankBegin,
.embeddedSearcher .cmSearchRankEnd {
	width: 45%;
	display: block;
	float: left;
}

.embeddedSearcher .cmSearchRankSeparator {
	width: 10%;
	display: block;
	float: left;
	padding: 5px 0;
	text-align: center;
}

.embeddedSearcher .cmSearchRow:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.embeddedSearcher div.cmSearchRows {
	background: #f3f3f3;
	padding: 6px 0;
}

.embeddedSearcher .cmSearchRow {
	height: auto !important;
	min-height: 0;
	height: 1%;
	clear: both;
	list-style:none;
	margin:0;
	padding:0;
}

.embeddedSearcher input,
.embeddedSearcher select {
	padding: 3px 6px;
	height: auto !important;
	color: #5C5C5C;
	border: 1px solid #bbb;
	vertical-align: middle;
	border-radius: 5px;
}

.embeddedSearcher button {
	vertical-align: middle;
}

.embeddedSearcher .cmSearchDate,
.embeddedSearcher .cmSearchRankSeparator {
	vertical-align: middle;
}

.embeddedSearcher input.cmSearchRankDate {
	width: 68%;
}

.embeddedSearcher .cmSearchLabel {
	width:40%;
	text-align:right;
	float:left;
	padding: 5px 10px;
}

.embeddedSearcher .cmSearchField {
	width:60%;
	float:left;
	text-align: right;
	padding-right: 10px;
}

.embeddedSearcher .cmSearchLabel + .cmSearchField {
	text-align: left;
}

.embeddedSearcher .cmSearchField + .cmSearchLabel {
	text-align: left;
	padding-left: 0;
}

.embeddedSearcher .cmParamCheckRadioType {
	margin-top: 6px;
	margin-right: 8px;
}

.cmNoResultsTitle {
	padding: .5em 0;
}

.embeddedSearcher .searcherButtons,
.embeddedSearcher .cmSearchButtonZone{
	margin:1em 0 0;
	padding: 0;
	text-align:right;
}
