/* Start of CMSMS style sheet 'gt-medical : Top menu + 3 columns' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
html { 
	height: 100%;
}


* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
	height: 100%;
	text-align: left;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}

a:hover {
   text-decoration: underline;
   color: #385C72;
}

a#logo_link {
	background: transparent url(uploads/images/logos/logo_cabecera_doble.png) no-repeat 0 0;
	display: block;
	width: 335px;
	height: 100px;
}

a:hover#logo_link {
	background: transparent url(uploads/images/logos/logo_cabecera_doble.png) no-repeat 0 -100px;
}


/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #333;
   /* margin:1em;    gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
	position: relative;
	/* min-height: 100%; */
	width: 990px;
	/*  background: #fff url(uploads/images/fondos/header_bg.png) no-repeat;
	border-left: 1px solid #558a52;
	border-right: 1px solid #558a52; */
	margin: 0 auto;       /* this centers wrapper */
	background-color: #fff;;
	color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
	/* height: 140px; */
	height: 210px;
	background: #9bc393 url(uploads/images/header2.jpg) no-repeat;
	border-left: 1px solid #558a52;
	border-right: 1px solid #558a52;
}

div#header .enlaces {
	width: 100%;
	height: 30px;
}

div#header .logo {
	float: right;
	height: 120px;    /* adjust according your image size */
	width: 340px;
	padding-top: 20px;
	/* background: url(uploads/images/logos/logo.png) no-repeat; */
}

div#header .logo_seccion {
	float: left;
	width: 350px;
	height: 200px;    /* adjust according your image size */
	/* background: url(uploads/images/tornillos.png) no-repeat; */
}

div#header h1 a {
/* you can set your own image here */
   /* background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; */
   display: block;
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#search {
	float: right;
	width: 30em;    /* enough width for the search input box */
	margin-top: 1em;
	padding: 0.5em 0;
	text-align: right;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border: 1px dotted #558a52;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div.menu_principal {
	border-left: 1px solid #558a52;
	border-right: 1px solid #558a52;
	/* border-bottom: 2px solid #383838; */
	background-color: #006925;
	/* background: transparent url(uploads/images/fondos/menu_vert_bg.png) repeat-x; */
	padding-left: 2%;
}

div.menu_horizontal {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   /* margin: 0 0.5em; */
	border-left: 1px solid #558a52;
	border-right: 1px solid #558a52;
   border-bottom: 2px solid #383838;
   background: #c0bfc0 url(uploads/images/fondos/menu_vert_bg.png) repeat-x;
}

div#content {
	margin-top: 1em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	background: transparent url(uploads/images/fondos/content_bg.gif) no-repeat bottom left;
}

div#main {
	margin-left: 33.5%;
	margin-right: 33.5%;
	min-height: 350px;
        padding-left: 0.5em;
        padding-right: 0.5em;
}

div#main p {
	margin: 0 0.5em 0.5em 0.5em;
}

div#main_portada {
margin: 0;
padding: 0;
	width: 78.5%;
}

div#main_portada_2 {
margin: 0;
padding: 0;
	width: 78.5%;
	
}

div#sidebar {
	float: left;
	width: 33%;
	display: inline;  /* FIX ie doublemargin bug */
	border-right: 1px dotted #ccc;
	min-height: 200px;
        padding-right: 0.5em;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 23%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#sidebar_2 {
	padding-left: 0.5em;
	float: right;
	width: 33%;
	display: inline;  /* FIX ie doublemargin bug */
	border-left: 1px dotted #ccc;
	min-height: 200px;
}

div#sidebar_2 .enlaces  {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border: 1px solid #ccc;
	text-align: center;
}

div#sidebar_2 .enlaces h2 {
	background-color: #006925;
	color: #fff; 
	font-size: 1.2em; 
	text-align: center;
	border: 0;
/* and some air under the border */
	padding: 0;
        margin: 0 0 0.5em 0;
}

div#sidebar_2 .enlaces p {
	margin: 0;
	padding: 0;
	line-height: 1.2em;
	font-size: 0.9em;
	text-align: center;
}

div#sidebar_2 .search {
	padding: 0.5em;
	border: 1px solid #ccc;
	text-align: center;
}

div#sidebar_2 .w3c {
	padding: 0.5em;
	border: 1px solid #ccc;
	text-align: center;
}

div#separador {
	clear: both;
	height: 1em;
}

div#footer {
	width: 100%;
	min-height: 50px;
	margin: 1em 0 1em 0;
	clear: both;       /* keep footer below content and menu */
	border: 1px solid #ccc;
	background-color: #e5e5e5;
	color: #4c4c4c;
}

div#footer p {
	margin: 0;
	line-height: 1.7em;
	font-size: 0.9em;
	padding: 0.5em;
	text-align: center;  /* centered text */
}

div#footer a {
	color: #4c4c4c;
}

div#footer a:hover {
	text-decoration: underline;
}

div#footer .enlace-activo {
	font-weight: bold;
	color: #ccc;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted #558a52;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	color: #006925; 
	font-size: 1.5em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.0em;
	padding-bottom: 1px;
/* set borders around header */
	border-bottom: 1px none #006925; 
	border-left: 1.1em none #006925; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0.25em 0 0.5em 0.5em;
}

div#content h4.cad-cam {
   color: #008000; 
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#news h2 {
	color: #fff; 
	font-size: 1.5em; 
	text-align: left; 
/* set borders around header */
	border-bottom: 1px solid #383838; 
	border-left: 0;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}

h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

/* CSS para las tablas del contenido */

	div#main table.gt
	{
		width: 100%;
		border: #006925 solid 1px;
		border-spacing: 0;
		border-collapse: collapse;
		font-size: 8pt;
	}
	div#main caption
	{
		text-align: left;
		font-weight: bold;
		font-size: 11pt;
		color: #333;
		margin-bottom: 0.5em;
	}
	div#main tr
	{
		height: 18px;
	}
	div#main tr.titulo
	{
		background-color: #006925;
		color: #fff;
		font-weight: bold;
	}
	div#main tr.fnd_verde
	{
		background-color: #E2F0D6;
	}
	div#main tr.fnd_amarillo
	{
		background-color: #F6FFE0;
	}
	div#main td
	{
		text-align: center;
	}
	div#main td.Col1
	{
		width: 5em;
	}
	div#main td.Col2
	{
		width: 5em;
	}
	div#main td.Col3
	{
		width: 7em;
	}
	div#main td.Col4
	{
		width: 14em;
	}
	div#main td.Col5
	{
		width: 4em;
	}
	div#main td.Col6
	{
		 background-color: #FFF;
		 padding: 0.2em;
		 /* width: 5em; */
	}

/* Hasta aqui */
/* Tablas v. 2.0 */

	div#main .imagenes {
		float: right;
		width: 160px;
		/* border: 1px solid #ccc; */
		min-height: 150px;
		text-align: center;
	}

	div#main .imagenes a {
		text-decoration: none;
	}

	div#main .imagenes a:hover {
		border-bottom: 1px dotted #ccc;;
	}

	div#main .imagenes img {
		margin-bottom: 0.5em;
	}

	div#main .imagenes p {
		text-align: center;
	}

	div#main .imagenes p.ampliar {
		margin: 0;
		padding: 0;
		/* border: 1px solid #ccc; */
		text-align: right;
		vertical-align: middle;
	}

	div#main .imagenes p.ampliar img {
		margin: 0.2em 1em 0 0.5em;
		vertical-align: middle;
	}


	div#main .tablas {
		/* float: right;
		width: 25%; */
		margin-right: 165px;
		/* border: 1px solid #ccc; */
		min-height: 150px;
	}

	div#main table.limpia
	{
		width: 100%;
		margin-bottom: 1em;
		/* border: #006925 solid 1px; */
		border-spacing: 0;
		border-collapse: collapse;
		font-size: 8pt;
	}
	div#main table.limpia caption
	{
		text-align: left;
		font-weight: bold;
		font-size: 11pt;
		color: #333;
		margin-bottom: 0.5em;
	}
	div#main table.limpia tr
	{
		height: 20px;
		color: #666;
	}

	div#main table.limpia tr.titulo
	{
		background-color: #fff;
		color: #333;
		font-weight: bold;
		border-bottom: 1px dotted #ccc;
	}

	div#main table.limpia td
	{
		padding: 0 3px;
	}

/* Hasta aquí la v 2.0 */

div#main img.izquierda
{
	float: left;
	margin: 0 1em 0 0.5em;
	padding: 0.2em;
	border: 2px solid #ccc;
}

div#main img.centrada
{
	display: block;
	margin: 1em auto;
	padding: 0.2em;
	border: 2px solid #ccc;
}

div#main img.derecha
{
	float: right;
	margin: 0 0.5em 0 1em;
	padding: 0.2em;
	border: 2px solid #ccc;
}

div#main img.derecha_centro
{
	float: right;
	margin: 0.5em 0 0 1em;
	padding: 0.2em;
	border: 2px solid #ccc;
}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 0.8em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
	text-align: justify;
}

div#main p {
color: #4C5658;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;



}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
color: #4C5658;
padding-left: 1em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */

/* Datos de Contacto */
div#contacto {
	margin: 0 auto;
	border: 1px solid #006925;
}

div#contacto h2 {
	background-color: #006925;
	color: #fff; 
	font-size: 1em; 
	text-align: center;
	border: 0;
/* and some air under the border */
	padding: 0.4em;
	margin: 0;
}

div#contacto p {
	margin: 0.5em 0.3em;
	padding: 0;
	font-size: 0.9em; 
}


/* Final de Datos de Contacto */

/* End of 'gt-medical : Top menu + 3 columns' */

