/*!
 * Based on Bootstrap v3.0.0
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 *
 * Modified by DISID for GVA
 *
 */

/*----------------------------------------
 ************* Layouts********************
 ------------------------------------------*/

[class*="span"] {
  float: left;
  min-height: 1px;
  margin-left: 20px;
}
.row-fluid {
  width: 100%;
  *zoom: 1;
}
.row-fluid:before,
.row-fluid:after {
  display: table;
  content: "";
  line-height: 0;
}
.row-fluid:after {
  clear: both;
}
.row-fluid [class*="span"] {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  margin-left: 2.127659574468085%;
  *margin-left: 2.074468085106383%;
}
.row-fluid [class*="span"]:first-child {
  margin-left: 15%;
}
.row-fluid .span12 {
  width: 100%;
  *width: 99.94680851063829%;
}

.row-fluid .span6 {
	  /* width: 48.93617021276595%;
	  *width: 48.88297872340425%; */
	margin: 0 auto;
    width: 70%;
}

/*----------------------------------------
 ************* Align ********************
 ------------------------------------------*/
.pull-right { float: right;}
.pull-left { float: left;}
.align-right {text-align: right;}
.align-left {text-align: left;}
.align-center {text-align: center;}
.padding-right-8{padding-right: 8px;}

/*----------------------------------------
 ************* Titles ********************
 ------------------------------------------*/
.page-header {
  padding-bottom: 9px;
  padding-right: 30px; /* width toggle */
  margin: 15px 0 5px;
  border-bottom: 1px solid #eeeeee;
  line-height: 1.1em;
}
h3 .aui-field-wrapper, .aui-field-label{
  font-weight: normal;
  overflow: visible;
}

/*----------------------------------------
 ************* Forms ********************
 ------------------------------------------*/
.form-horizontal{
	display: table;
	width: 100%;
	margin: 0 0 10px;
}

fieldset.horizontal,
 .aui-form fieldset.horizontal{
	min-height: 130px;
/*  height: 130px; */
	border: none;
}

.form-horizontal input,
.form-horizontal textarea,
.form-horizontal select,
.form-horizontal .help-inline,
.form-horizontal .uneditable-input,
.form-horizontal .input-prepend,
.form-horizontal .input-append {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-horizontal .control-group {
  margin-bottom: 10px;
  *zoom: 1;
}
.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
  display: table;
  content: "";
  line-height: 0;
}
.form-horizontal .control-group:after {
  clear: both;
}
.form-horizontal .aui-field-label-inline-label,
.form-horizontal .control-label {
  float: left;
  width: 120px;
  padding-top: 5px;
  text-align: right;
}
.form-horizontal .aui-field-element,
.form-horizontal .controls {
  *display: inline-block;
  *padding-left: 20px;
  margin-left: 140px;
  *margin-left: 0;
}
.form-horizontal .aui-field-element {
  display: block;
}
.form-horizontal .aui-field-element:first-child ,
.form-horizontal .controls:first-child {
  *padding-left: 140px;
}
/*** input-group ***/

.form-horizontal span.input-element span.aui-field-element  {
	margin-left:0;
}
.form-horizontal .group-input span.aui-field-content {
	display: inline;
	float: left;
	margin-right: 2px;
}

/*----------------------------------------
 ************* Inicio ********************
 ------------------------------------------*/
 .well {
  min-height: 20px;
  padding: 9px;
  background-color: #eeeeee;
  border: 1px solid #dcdcdc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.well h1,
.wll h2,
.well h3,
.well h4{
	margin: 0.5em 0 1em;
}

/*----------------------------------------
 ********* Custom Portlet ******************
 ------------------------------------------*/
.comprobador-farmacia-gratuita-portlet p{
	margin-bottom: 1em;
	text-align: justify;
}

.comprobador-farmacia-gratuita-portlet a{
	cursor: pointer;

}

/*** btn color ***/

.btn {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  margin-bottom: 5px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  text-shadow: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
}

.btn,
.comprobador-farmacia-gratuita-portlet input[type="submit"],
.comprobador-farmacia-gratuita-portlet input[type="button"],
.comprobador-farmacia-gratuita-portlet input[type="reset"],
.comprobador-farmacia-gratuita-portlet button{
	background-image:none;
	background-color: #10737F;
	border-color: #C8C9CA #9E9E9E #9E9E9E #C8C9CA;
	color: #fff;
	text-shadow: none;
	padding: 4px 10px;
	font-weight: normal;
}
.btn:hover,
.comprobador-farmacia-gratuita-portlet input[type="submit"]:hover,
.comprobador-farmacia-gratuita-portlet input[type="button"]:hover,
.comprobador-farmacia-gratuita-portlet input[type="reset"]:hover,
.comprobador-farmacia-gratuita-portlet button:hover {
	background-color: #1491A0;
	background-image:none;
	color: #fff;
}
#actions-group{
	margin: 20px 0;
	clear: both;
}
#wrap-image img {
	
	/* width: 100%; */
	width: 72%;
	margin: 0px 0px 10px;
}

.btn:disabled,
.btn.disabled,
.btn[disabled],
.comprobador-farmacia-gratuita-portlet input[type="submit"]:disabled,
.comprobador-farmacia-gratuita-portlet input[type="button"]:disabled,
.comprobador-farmacia-gratuita-portlet input[type="reset"]:disabled,
.comprobador-farmacia-gratuita-portlet button:disabled,
span.aui-field-disabled input,
input.aui-field-disabled {
  color: #999999;
  background-color: #e8e8e8;
  *background-color: #bbbbbb;
  cursor: default;
  background-image: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.btn-group a:hover{
	text-decoration: none;
}

/*** input-group SIP ***/

form.buscadorSIP .control-group{
	width: 100%;
}

/*** resultados toggle ***/
a button.open,
a button.close{
	margin-top: -35px;
	display: block;
}
button.open{
	background-color: #10737F;
}
button.close{
	background-color: #e5e5e5;
}
button.open span{
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-top: 4px solid #e5e5e5;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}
button.close span{
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-bottom: 4px solid #000;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}
button.close:hover,
button.open:hover{
	background-color: #1491A0;
}
button.close:hover span,
button.open:hover span {
	border-top-color: #fff;
}
/* listado resultados */
#primaria-related {
	margin: 20px 0 50px;
}

/*selector liferay*/
#_comprobadorfarmaciagratuita_WAR_comprobadorfarmaciagratuitaportlet_buscadorDomicilio .aui-toolbar{
	display: none;
}
/*----------------------------------------
 *************** Tabs   ******************
 ------------------------------------------*/
/*** Nav tabs ***/
#results-tabs,
ul.aui-tabview-list {
	border: 1px solid #C8C9CA;
	padding: 4px;
	border-radius: 4px;
		-webkit-border-radius: 4px;
  		-moz-border-radius: 4px;
}
li.aui-tab,
#list-tabs li {
	margin: 5px;
}

/*** states de tabs ***/
.aui-state-default .aui-tab-content {
	background: #e7e7e7;
		-webkit-border-radius: 4px;
  		-moz-border-radius: 4px;
  		border-radius: 4px;
}
.aui-state-active .aui-tab-content{
	background: #10737F;
}
.aui-tab-active:after{
	border-color: #10737F transparent transparent;
}
.aui-state-active .aui-tab-content a{
	text-shadow: none;
}
.aui-state-active:hover .aui-tab-content {
	background: #1491A0;
	color: #fff;
}
.aui-state-hover .aui-tab-content {
	background: #1491A0;
	color: #fff;
}
.aui-state-hover:after{
	border-color: #1491A0 transparent transparent;
}
.aui-state-hover a:hover,
.aui-state-hover a{
	color: #fff;
	text-decoration: none;
}

/*-------------------------------------
 ************* Tables ******************
 --------------------------------------*/
.comprobador-farmacia-gratuita-portlet table {
  max-width: 100%;
  width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}

.table th,
.table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
.table th {
  font-weight: bold;
}
.table thead th {
  vertical-align: bottom;
}
.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
  border-top: 0;
}
.table tbody + tbody {
  border-top: 2px solid #dddddd;
}
.table .table {
  background-color: #ffffff;
}

tr:nth-of-type(even) {
  background-color: #e7e7e7;
}


/*----------------------------------------
 ************ Info Bloques *****************
 ------------------------------------------*/
.hero-unit {
  padding: 15px 7px;
  margin-bottom: 10px;
  color: inherit;
  background-color: #eeeeee;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.hero-unit h2 {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid lightgrey;
	padding-bottom: 5px;
	margin-bottom: 15px;
}
.hero-unit h3 {
	font-size: 14px;
	line-height: 1.5em;
}
.hero-unit h4{
	font-size: 12px;
	line-height: 1.2em;
	padding: 0 30px;
}
.hero-unit h3 b{
	border-bottom: 1px solid lightgrey;
	padding-bottom: 5px;
	margin-bottom: 10px;
}
.hero-unit h6  b{
  font-size: 10px;
}

/*----------------------------------------
 ************ Listados *****************
 ------------------------------------------*/
.dl-horizontal {
  *zoom: 1;
  margin: 0 0 1em;
}
.dl-horizontal:before,
.dl-horizontal:after {
  display: table;
  content: "";
  line-height: 0;
}
.dl-horizontal:after {
  clear: both;
}
.dl-horizontal dt {
  float: left;
  width: 100px;
  clear: left;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  font-size: 10px;
}
.dl-horizontal dd {
  margin-left: 110px;
  text-align: left;
  font-size: 12px;
}

.dl-horizontal.tfnos {
	margin-bottom: 0;
}

.dl-horizontal.tfnos dd{
	 margin-left: 10px;
	 float:left;
}
.btn-group.tfnos {
	margin-top: 1em;
}

/*----------------------------------------
 ************ Listados PDF *****************
 ------------------------------------------*/

/*** panel ***/

.panel {
  margin-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-body {
  padding: 15px;
}

.panel-body:before,
.panel-body:after {
  display: table;
  content: " ";
}

.panel-body:after {
  clear: both;
}

.panel-body:before,
.panel-body:after {
  display: table;
  content: " ";
}

.panel-body:after {
  clear: both;
}

.panel > .list-group {
  margin-bottom: 0;
}

.panel > .list-group .list-group-item {
  border-width: 1px 0;
}

.panel > .list-group .list-group-item:first-child {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.panel > .list-group .list-group-item:last-child {
  border-bottom: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}

.panel-default {
  border-color: #dddddd;
}

.panel-default > .panel-heading {
  color: #10737F;
  background-color: #f5f5f5;
  border-color: #dddddd;
  font-size: 13px;
}

/** table **/
/* .listPdf .dl-horizontal { */
/* 	margin: 0 1em; */
/* } */
.listPdf .dl-horizontal dt{
	width: 80px;
	text-align:left;
}
.listPdf .dl-horizontal dd{
	margin-left: 80px;
}
.listPdf td h6{
	font-size: inherit;
	text-align: center;
}
.listPdf .dl-horizontal.tfnos {
	margin-bottom: 1em;
}
.listPdf .dl-horizontal.tfnos dd {
	margin-left: 0px;
}
.comprobador-farmacia-gratuita-portlet .listPdf p {
	text-align: left;
	line-height: 1.3em;
}

.comprobador-farmacia-gratuita-portlet .listPdf td {
  padding: 8px 8px;
  line-height: normal;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}

/*------------------------------------
 ************ Print  *****************
 -----------------------------------*/


@media print{
	.comprobador-farmacia-gratuita-portlet table,
	.portlet-body {
		font-size:10px;
	}
  	.otros-recursos,
  	input,
  	.btn-group,
  	#actions-group,
  	.open button,
  	.close button{ display: none;
  	}
  	table.table {
  		font-size: 12px;
  	}
  	table.listPdf {
  		font-size: 12px;
  	}
 }

