/* Start of CMSMS style sheet 'flowered' */
html {
background-image: url(uploads/images/latder.gif);
background-repeat: repeat-y;
background-position: top right;
}

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
background-image: url(uploads/images/latizq.gif);
background-repeat: repeat-y;
color: #000000;
}
#container {
	/*width: 800px;*/
	display: inline;
}
#main-title {
margin-bottom: 0;
margin-left: 109px;
margin-right: 109px;
font-size: .7em;
letter-spacing: 5px;
text-align: right;
margin-top: 0;
padding-bottom: 8px;
font-weight: bold;
padding-top: 8px;
padding-right: 50px;
background-color: #39bc39;  /*Verde */
color: #ffffff;  /*Color de las letras del titulo de arriba del todo */
border-top: 1px #000000 solid;
border-bottom: 1px #000000 solid;
}


#header-image {
background-color: #7faa96;     /*#4d80b9;*/  /*Azul */
background-image: url(uploads/images/logotipos/JuboTennisBanner.gif);
background-repeat: no-repeat;
background-position: center center;
height: 170px;  /* ALTURA DEL LOGO: MODIFICAR */
border-top: 0px #000000 solid;
border-bottom: 0px #000000 solid;
margin-left: 0px;   /*109px; */
margin-right: 0px;    /*109px;*/
}

#navbar {
margin-bottom: 0;
margin-left: 109px;
margin-right: 109px;
font-size: .65em;
text-align: center;
margin-top: 0;
padding-bottom: 8px;
font-weight: bold;
padding-top: 8px;
background-color: #333333;
color: #ffffff;  /* Color tatatattatatata */
word-spacing: 8px;
border-bottom: 2px #000000 solid;
}

#navbar a:link, #navbar a:visited {
color: #ffffff;
word-spacing: none;
}

#navbar a.current {
color: #000000;
}

#navbar a:hover {
color: #000000;
text-decoration: underline;
}


#headline {
font-size: .65em;
padding-top: 30px;    /*A ver si moviendo hacia abajo quito el blanco 30px def*/
/*padding-bottom: 30px;*/  /* ESTO LO HE PUESTO YO */
text-align: justify;
background-color: #F2F2F2;  /* Gris fondo */
padding-left: 100px;
padding-right: 100px;
margin-left: 109px;
margin-right: 109px;
margin-bottom: 0;
line-height: 1.5em;
}


p.byline {
text-align: right;
margin-bottom: 0;
}

h1 {
margin-left: 109px;
margin-right: 109px;
font-size: .8em;
padding-bottom: 3px;
padding-top: 23px;
padding-left: 50px;
padding-right: 0;
color: #000000;
border-bottom: 1px #ffffff solid;
letter-spacing: 5px;
font-weight: bold;
background-color: #F2F2F2;
margin-top: 0;
margin-bottom: 0;
}


#main-text {
margin-top: 0px;  /*Esto es para esconder el fondo principal debajo del menu */
margin-bottom: 0;
margin-left: 107px;
margin-right: 107px;
font-size: .9em;  /* Tamanyo de la fuente de texto principal */
line-height: 1.8em;
background-color: #e7e7e7;    /* Fondo del texto pagina */
}

#main-text p {
text-align: justify;
margin-left: 50px;
margin-right: 50px;
}

h2 {
padding-bottom: 3px;
padding-right: 0;
color: #000000;
border-bottom: 1px #000000 solid;
letter-spacing: 5px;
margin-left: 50px;
margin-right: 50px;
font-size: 1em;
margin-top: 0;
padding-top: 10px;
}

h3 {
color: #7faa96;  /*#87a487; */
margin-left: 20px;
font-size: 1.3em;
}

h4 {
color: #7faa96;  /*#87a487; */
margin-left: 30px;
font-size: 1em;
}

p, ul, ol {
margin-top: 0px;
padding-top: 17px;
margin-bottom: 0px;
}

/* Cambia el padding por margin  PARA QUE FUNCIONE EL OPENWINDOW*/
table {
margin:0;
padding:0;
/*margin-top: 17px; */
/*margin-bottom: 0px;*/
}

ol, ul {
margin-left: 75px;
margin-right: 75px;
}

a:link, a:visited {
text-decoration: none;
font-weight: bold;
color: #39bc39;
}

a:hover {
text-decoration: underline;
}

/* METIDAS POR MI */
img.img-border {   /* Para que imágenes insertadas tengan borde del mismo color que el fondo */
	border: 10px solid #e7e7e7;
}
/* FIN DE METIDAS POR MI */

#footer {
text-align: center;
margin-bottom: 0;
padding-top: 8px;
padding-bottom: 8px;
font-size: 11px;
margin-top: 0px;  /*quito 20px que dejan un hueco del fondo*/
padding-right: 50px;
background-color: #39bc39;  /* #4d80b9; Este es el azul por defecto */
color: #ffffff; 
font-weight: bold;
border-top: 1px #000000 solid;
border-left: 1px #000000 solid;
border-right: 1px #000000 solid;
border-bottom: 0px #000000 solid;  /*1px quitado */
margin-left: 50px;   /*109px; */
margin-right: 50px;    /*109px;*/
}

#footer a:link, #footer a:visited {
color: #ffffff;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
color: #ffffff;
}
.right {
float: right;
text-align: right;
width: 50%;
}
.left {
float: left;
text-align: left;
padding-left: 50px;
}
.right h3 {
margin-top: 0px;
font-size: 90%;
}

.stretch,
	.clear {
		clear:both;
		height:1px;
		margin:0;
		padding:0;
		font-size: .7em;
		line-height: 1px;
	}
	.clearfix:after {
		content: ".";
		display: block;
		height: 0;
		clear: both;
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block;
		width: 100%;
	}

	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */


/* replace */
	.replace {
		display:block;

		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	/* tidy these up */
	.replace * {
		text-indent: -10000px;
		display:block;

		background-repeat: no-repeat;
		background-position: left top;
		background-color:transparent;
	}
	.replace a {
		text-indent:0;
	}
	.replace a span {
		text-indent:-10000px;
	}
/* end replace */


/* accessibility */
     span.accesskey {
     	text-decoration:none;
     }
     .accessibility {
     	position: absolute;
     	top: -999em;
     	left: -999em;
     }
dfn {
  position: absolute;
  left: -1000px;
  top: -1000px;
  width: 0;
  height: 0;
  overflow: hidden;
  display: inline;
}

div.left49 {
  float: left;
  width: 49%;
  }

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
  }/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

#menuwrapper {
        overflow: hidden;
        background-color: #39bc39;
        border-top: 1px #000000 solid; 
        border-bottom: 1px #000000 solid; 
        border-left: 1px #000000 solid;            /* Le pongo borde a la izq y der */
        border-right: 1px #000000 solid;
/*        width: 728px;*/
        margin-left: 50px; /*109px;*/
        margin-right: 50px; /*109px;*/
 /*       height: 23px;  La ostia */
        font-size: .9em; /*font-size: .65em; Lo he cambiado*/
        color: white;
        }

/* Cada elemento del menu de un tamanyo fijo */
/* Lo quiero de tamanyo auto
#primary-nav li {
        width: 105px;
       }
*/

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li {
        width: 200px;
       }


/* Unless you know what you do, do not touch this */

#primary-nav, #primary-nav ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
#primary-nav ul {
	position: absolute;
	top: auto;
	display: none;
	}
#primary-nav ul ul {
	margin-top: 1px;
 	margin-left: -1px;
	left: 100%;
	top: 0px;
	}

#primary-nav li {
	margin-left: -1px;
	float: left;
	}
#primary-nav li li {
	margin-left: 0px;
	margin-top: -1px;
	float: none;
	position: relative;
	}

/* Styling the basic apperance of the menu elements */

#primary-nav a {
	display: block;
	margin: 0px;
	padding: 5px 10px;
	text-decoration: none;
        color : white;
        border-bottom: 1px #000000 solid;
	}
#primary-nav li a {
	border-right: 1px #000000 solid;
	border-left: 1px #000000 solid;
        color : white;
	}
#primary-nav li li a {
	border: 1px #000000 solid;
	}
#primary-nav li, #primary-nav li.menuparent {
	background-color: #39bc39;
        color : white;
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive {
	background-color: #87a487;  /* Verde oscuro de elemento activo */
        color: #000000;
	}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav ul li.menuparent, #primary-nav ul li.menuparent:hover, #primary-nav ul li.menuparenth {
	background-image: url(modules/MenuManager/images/arrow.gif);
	background-position: center right;
	background-repeat: no-repeat;
          color: #000000;
	}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh {
	background-color: #87a487;
        color : #000000;
	}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul {
	display: none;
          color: #000000;
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul {
	display: block;
	}


/* IE Hacks */
#primary-nav li li {
	float: left;
	clear: both;
	}
#primary-nav li li a {
	height: 1%;
	}
/* End of 'flowered' */

