/*---------------------------------------------------------------------------------------
RESET BROWSER STYLES
---------------------------------------------------------------------------------------*/
* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

html {
	background-color: #FFFFFF;
	height: 101%;
}

body {
	max-width: 1200px;
	margin: 0 auto;
	background-color: #FFFFFF;
	color: #000000;
	line-height: 1.2;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#header, #nav, #main, .article-main, .article, #secondary, .aside, #footer {
	padding: 10px;
	padding-bottom: 0;
}

h1, h2, h3, h4, p, ol, ul, iframe {
	padding-bottom: 20px;
}

/*
h1, h2, h3, h4 {
	clear: both;
}
*/

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.2em;
}

h3, p, li {
	font-size: 1.1em;
}

blockquote { 
	padding: 20px;
	padding-bottom: 0;
}

ol { 
	padding-left: 2.4em;
	list-style: decimal;
}
ul {
	padding-left: 1.4em;
	list-style: disc;
}

ul ul {
	list-style: circle;
}

ul ul li {
	font-size: 1em;
}

ul ul ul {
	list-style: square;
}

ul ul ul li {
	font-size: 1em;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
/*---------------------------------------------------------------------------------------
end RESET BROWSER STYLES
---------------------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------------------
HEADER
---------------------------------------------------------------------------------------*/

#header {
	position: relative;
	background-color: #0075EB;	
	overflow: hidden;
	border-radius: 25px 25px 0 0;
}

.logo {
	float: left;
	padding-bottom: 0;
}

.logo img {
	height: 45px;
}

.logoContact {	
	float: right;
	
	list-style-type: none;
	margin-left: 0;
	padding-left: 0; 
	
	padding-bottom: 5px;
	text-align: center;
}

.logoContact li {
	display: inline;
}

.logoContact li a {
	text-decoration: none;
}

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?81911366');
  src: url('../font/fontello.eot?81911366#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?81911366') format('woff2'),
       url('../font/fontello.woff?81911366') format('woff'),
       url('../font/fontello.ttf?81911366') format('truetype'),
       url('../font/fontello.svg?81911366#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  
  display: inline-block;
  width: 1em;
  text-align: center;
  
  line-height: 1em;
  
  background-color: #CCCCCC;
  background-color:rgba(153,153,153,0.5);
  color: #FFFFFF;
  font-size: 2em;
  border: 2px solid #CCCCCC;
  border-radius: 50%;
  padding: 5px;
}

.icon-acrobat:before { content: '\e800'; }
.icon-mail:before { content: '\e801'; }
.icon-menu:before { content: '\e802'; }
.icon-down-open:before { content: '\e803'; }
.icon-up-open:before { content: '\e804'; }
.icon-location:before { content: '\e805'; }
.icon-phone:before { content: '\e806'; }
.icon-mobile:before { content: '\e807'; }
.icon-twitter:before { content: '\f099'; }
.icon-facebook:before { content: '\f09a'; }
.icon-youtube:before { content: '\f167'; }
.icon-instagram:before { content: '\f16d'; }
.icon-whatsapp:before { content: '\f232'; }
.icon-linkedin:before { content: '\f318'; }

/* Generated by fontello.com */

.logoContactText {
	background-color: #CCCCCC;
	background-color:rgba(153,153,153,0.5);
	color: #FFFFFF;
	text-shadow:1px 1px 1px rgba(0,0,0,0.5);
	font-weight: bold;
	vertical-align: super;
	border: 1px solid #8AAEBC;
	border-radius: 10px;
	padding: 11px;
}

li.logoContactDesktop, li.logoContactText {
	display: none;
}
/*---------------------------------------------------------------------------------------
end HEADER
---------------------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------------------
NAV
---------------------------------------------------------------------------------------*/

#nav {
	clear: both;
	padding-top: 0;
}

ul#nav {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0; 
	
	padding-bottom: 7px;
	text-align: right;
}

#nav li {
	display: inline;
}

#nav a {
	display:inline-block;
	width: auto;
	background-color: #0075EB;
	color: #FFFFFF;
	text-align:center;
	text-decoration:none;
	font-weight: bold;
	padding:5px 15px;
	margin-bottom:3px;
	border-radius: 0 0 15px 15px;
}

#nav a:hover, #nav a:focus, #nav a.selected {
	background-color:#99CCFF;
}

#nav {
	display: none;
}

/*---------------------------------------------------------------------------------------
end NAV
---------------------------------------------------------------------------------------*/

/*---------------------------------------------------------------------------------------
MAIN
---------------------------------------------------------------------------------------*/

#main {
	padding-top: 5px;
	text-align: center;
}

.article {
	margin-bottom:20px;
	overflow: hidden;
	color:#000000;
}

.article h1 {
	background-color: #99CCFF;
	color:#FFFFFF;
	padding:10px;
	text-align:center;
	border-radius:25px 25px 25px 25px;
	margin-bottom: 20px;
}

.article h2 {
	color: #0075EB;
	padding-bottom: 0;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
}

.article ul ul {
		padding-bottom: 0;
	}

.article p, .article li {
	text-align: left;
}

p.pageContactoText {
	text-align: center;
}

.article li {
	padding-top: 5px;
	padding-bottom: 5px;
}

p.presentation {
	text-align: center;
}

p.presentation a {
	color: #000000;
}

p.presentation b {
	color: #000000;
}

/* ul.servicios en index */
ul.servicios-index {
	padding-left: 0;
}

.servicios-index li{
	width: auto;
	list-style-type:none;
}

.servicios-index a{
	display:block;
	background-color:#99CCFF;
	color:white;
	font-weight:bold;
	text-align: center;
	text-decoration:none;
	padding:5px;
	border-radius:10px;
}
/* end ul.servicios en index */

/* ul.servicios en servicios y contacto */
.servicios{
	padding-left: 0;
}

.servicios li{
	width: auto;
	list-style-type:none;
	margin-bottom: 10px;
}

.servicios a{
	display: block;
	background-color:#99CCFF;
	color:white;
	font-weight:bold;
	text-align: center;
	text-decoration:none;
	padding:5px;
	border-radius:10px;
}
/* end ul.servicios en servicios y contacto */

/* ul en listado y curriculo */	
#main ol.curriculo { 
	padding-left: 1.4em;
}

#main ul.listado {
	padding-left: 0;
}

#main ul.listado li, #main ol.curriculo li{
	list-style-type:none;
	padding-bottom:5px;
}

#main ul.listado li a, #main ol.curriculo li a{
	display:block;
	padding:5px 20px;
	border:1px solid #EB7500;
	color:#EB7500;
	background-color:#FFCC99;
	text-align: center;
	text-decoration:none;
	border-radius:25px;
}

#main ul.listado li.listado-nolink {
	display:block;
	padding:5px 20px;
	margin-top: 5px;
	margin-bottom: 5px;
	border:1px solid #EB7500;
	color:#000000;
	background-color:#FFCC99;
	text-align: center;
	text-decoration:none;
	border-radius:25px;
}
/* end ul en listado y curriculo */	

/* reglas especificas para curriculo */	
#main ol.curriculo{
	margin-bottom:1000px;
}

#main ol.curriculo li{
	list-style-type:decimal;		
	color:#EB7500;
}
/* end reglas especificas para curriculo */	

.curriculo-section{
	margin-top: 1000px;
	margin-bottom: 1000px;
}

.table-container {
    width: 100%;
    overflow-y: auto;
    _overflow: auto;
    margin: 0 0 1em;
}

.table-implantes {
	margin:20px auto;
	border:1px solid black;
	font-size: 0.7em;
}

.table-implantes td,th{
	padding:5px;
	border:1px solid black;
}

tr.opciones {
	background-color: #CCCCCC;	
}

tr.comodidad {
	background-color: #FFFF99;	
}

tr.salud {
	background-color: #66CCFF;	
}

tr.masticacion {
	background-color: #9999FF;	
}

tr.movilidad {
	background-color: #FFFF33;
}

tr.relacion {
	background-color: #FFCCFF;
}

tr.fuerza {
	background-color: #CC9999;
}

tr.edad {
	background-color: #99FF66;
}

tr.mayores {
	background-color: #CCCC66;
}

tr.duracion {
	background-color: #33CC99;
}

tr.estetica {
	background-color: #FFCC99;
}

/*---------------------------------------------------------------------------------------
end MAIN
---------------------------------------------------------------------------------------*/
#nav-footer, .up, #footer {
	background-color:#EB7500;
}
/*---------------------------------------------------------------------------------------
NAV-FOOTER
---------------------------------------------------------------------------------------*/
#nav-footer ul {
	clear: both;
	list-style-type: none;
	margin: 0;
	margin-top: 400px;
	padding: 0;
	text-align: center;
}

#nav-footer a {
	display:inline-block;
	background-color: #666666;
	color: #FFFFFF;
	text-decoration:none;
	text-align: center;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8);
	font-weight: bold;
	width: 100%;
	padding:15px;
	border: 1px solid #000000;
}

#nav-footer a:hover, #nav-footer a:focus, #nav-footer a.selected {
	background-color: #999999;
	border-right: 1px solid #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
	color:#666666;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}
/*---------------------------------------------------------------------------------------
end NAV-FOOTER
---------------------------------------------------------------------------------------*/

p.up {
	clear: both;
	text-align: center;
	padding-top: 20px;
}

p.up a {
	text-decoration: none;
}

/*---------------------------------------------------------------------------------------
FOOTER
---------------------------------------------------------------------------------------*/

#footer {
	clear:both;
	color:#FFFFFF;
	text-align:center;	
	letter-spacing:2px;
	padding-bottom: 30px;
	border-radius: 0 0 50px 50px;
}

#footer h3 {
	padding-bottom: 10px;
}

#footer p{
	padding-bottom: 10px;
}

#footer a{
	color:#FFFFFF;
}

/*---------------------------------------------------------------------------------------
end FOOTER
---------------------------------------------------------------------------------------*/



/*---------------------------------------------------------------------------------------
ELEMENTOS INDIVIDUALES
---------------------------------------------------------------------------------------*/

a {
	color: #0075EB;
}

b, strong{
	color: #0075EB;
}

.button{
	clear:both;
	display:block;
	width:12em;
	background-color: #CCCCCC;
	color: #333333;
	text-align:center;
	text-decoration: none;
	border-top:1px solid #999999;
	border-right:1px solid #666666;
	border-bottom:1px solid #666666;
	border-left:1px solid #999999;
	border-radius:10px;
	padding:5px;
	margin-right:auto;
	margin-left:auto;
}

.article img, .aside img {
	max-width: 100%;
	display: block;
	margin: 0 auto 10px auto;
	padding: 5px;
	border-radius: 10px;
	border:1px solid #0075EB;
	border-radius:5px;
	box-shadow: 3px 3px 5px #999;
}

.clearBoth {
	clear: both;
}

/* IFRAME CON VIDEO */
/* original de Pedro Gutierrez en http://www.genbetadev.com/desarrollo-web/responsive-design-adaptar-imagenes-y-videos */
.delimitador {
	max-width: 640px; 
	margin: auto;	
}

.contenedor {
	height:0;
	width: 100%;
	padding-top: 75%; /* o 56.25% */
	position: relative;
}

.contenedor iframe {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}
/* end IFRAME CON VIDEO */

/* inline-block */

.inline-block {
	display:inline-block;
	vertical-align:top;
	margin-bottom: 10px;
}

.inline-block h3 {
	color: #FF0000;
	padding-bottom: 10px;
	text-align: center;
}

.inline-block p {
	padding: 10px;
}

/* end inline-block */

.caso{
	clear:both;
	margin:20px auto;
	padding:10px;
	border:1px solid #0075EB;
	border-radius:5px;
	box-shadow: 3px 3px 5px #999;
}

/* form */

form {
	padding: 10px;
	margin-bottom: 20px;
}

fieldset {
	border: 1px solid #BDD1D9;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
}

legend {
	border: 1px solid #BDD1D9;
	border-radius: 10px;
	padding: 5px;
	background-color: #BDD1D9;
	color: #FFFFFF;
	font-weight: bold;
}

input, textarea {
	width: 100%;
}

input[type=checkbox], input[type=radio] {
	width: auto;
}

input[type=submit] {
	width: auto;
	background-color: #BDD1D9;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 5px;
	padding: 5px;
	margin-bottom: 10px;
}

.granate {display: none;}

/* end form */

p.texto-derecha{
	text-align:right;
}

p.texto-derecha-peq{
	text-align:right;
	font-size:12px;
}

p.texto-derecha-peq a{
	color:#000000;
	text-decoration:none;
}

p.texto-derecha-peq a:hover{
	text-decoration:underline;
}

/*---------------------------------------------------------------------------------------
end ELEMENTOS INDIVIDUALES
---------------------------------------------------------------------------------------*/


@media screen and (min-width: 640px) {
	.article img.floatRight {
		max-width: 50%;
		float: right;
		margin: 0 0 10px 10px;
	}
	
	.article img.floatLeft {
		max-width: 50%;
		float: left;
		margin: 0 30px 10px 0;
	}
	
	/* ul.servicios en index */
	.servicios-index li{
		width: 50%;
		margin-right: auto;
		margin-left: auto;
	}
	
	.table-implantes {
		font-size: 1em;
	}
	
	#nav-footer a {
		width: 50%;
	}
}

@media screen and (min-width: 850px) {
	#header {
		background-image: url(../images/clinica-odontologica-ignacio-martinez-esteban-background.jpg);
		background-repeat: no-repeat;
		background-position: top center;
		background-size: cover;
	}
	
	.logo {
		float: none;
	}
	
	.logo img{
		max-width: 20%;
		height: auto;
	}
	
	.logoContact {
		position: absolute;
		top: 10px;
		right: 20px;
	}
	
	li.logoContactMobile {
		display: none;
	}
	
	li.logoContactDesktop, li.logoContactText {
		display: inline;
	}
	
	#nav {
		display: block;
	}
	
	#main {
		background-image:url(../images/fondo-paisaje.jpg);
		background-repeat:no-repeat;
		background-position: top right;
	}
	
	.article {
		background-color: #FFFFFF;
		background-color:rgba(255,255,255,0.5);
	}
	
	#pageIndex .article {
		background-color: #FFFFFF;
		background-color:rgba(255,255,255,0.0);
	}
	
	.article h2 {
		text-align: left;
	}
	
	.article h1, .article h2, .article p, .article ul, .article ol {
		margin-right: 100px;
		margin-left: 100px;
	}
	
	.article ul ul {
		margin-top: 10px;
		margin-bottom: 10px;
		margin-left: 20px;
	}
	
	p.pageContactoText {
		text-align: left;
	}
	
	.inline-block p {
		margin: 0;
	}
	
	.table-implantes {
		margin:20px 100px;
	}
	
	#pageContacto .servicios {
		margin-bottom: 230px;
	}
	
	/* curriculo */
	.curriculo-section{
		width:930px;
		margin:20px auto 1000px auto;
		padding: 0 10px 10px 20px;
		border:1px solid #0075EB;
		border-radius:5px;
		box-shadow: 3px 3px 5px #999;
	}
	
	.curriculo-section h2{
		margin-top:10px;
		margin-right:400px;
		background-color:#FFFFFF;
		padding:5px;
		padding-left:20px;
		border:1px solid #0075EB;
		border-radius:5px;
	}
	
	.curriculo-section ul li{
		list-style-type:square;
		padding-bottom:5px;
	}
	
	/* ul en noticias */
	#main ul.noticias {
		margin-bottom: 150px;
	}
			
	#nav-footer{
		display: none;
	}
	
	/* ul.servicios en index */
	ul.servicios-index {
		margin-top: 10px;
		margin-bottom: 200px;
		padding-left: 1.4em;
	}
	.servicios-index li {
		width: 200px;
		margin-right: 0;
		margin-left: 0;
	}
	.servicios-index a{
		text-align: left;
		border-radius:0 10px 10px 0;
	}	
	.servicios-index a:hover{
		box-shadow: 3px 3px 5px #999;
	}
	/* end ul.servicios en index */
	
	/* ul.servicios en servicios y contacto */
	.servicios li{
		display: inline-block;
		width: auto;
		margin-bottom: 0;
	}
	
	.servicios a{		
		border-radius:0;
	}
	
	.servicios a:hover{
		text-decoration:underline;
	}
	/* end ul.servicios en servicios y contacto */
	
	/* ul en listado y curriculo */		
	#main ol.curriculo { 
		padding-left: 2.4em;
	}
	
	#main ul.listado {
		padding-left: 0;
	}

	#main ul.listado li a, #main ol.curriculo li a{
		width:720px;
		text-align: left;
	}
	
	#main ul.listado li.listado-nolink {
		width:720px;
		text-align: left;
	}
	
	#main ul.listado li a:hover, #main ol.curriculo li a:hover{
		background-color:transparent;
		color:#0075EB;
	}
	/* end ul en listado y curriculo */	
	
	/* reglas especificas para curriculo */	
	#main ol.curriculo li a{
		width:400px;
	}
	/* end reglas especificas para curriculo */	
}

@media screen and (min-width: 910px) {
	
	.caso {
		margin-right: 100px;
		margin-left: 100px;
	}
		
}