/* Start of CMSMS style sheet 'Fab_CSS' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 74.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: underline;
/* 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: #ac3900; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #ac3900;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background: #ccc url(images/cms/fondo_azul.png) repeat;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 1em;       /* this centers wrapper */
   max-width: 1024px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 800px;
   background-color: #f8b500;
   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: 160px;    /* adjust according your image size */
   background-color: #f8b500;
   overflow: hidden;         
}

.imghd {
   margin-top: 7px;
   margin-left: 4%;
   }


div.header-album {
   float: left;
   margin-top: 8px;
   margin-left: 3%;
   /*width: 200px;*/
   height: 160px;
   }

.logo {
   margin: 0;
   padding: 7px 0 0 2px;
   float: left;

   }


.topleft {float:left; margin: 0; border: none;}
.topright {float:right; margin: 0; border: none;}


/* position for the search box */
div#search {
   float: right;
   width: 20em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 7px 0 0 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-bottom: 1px dotted #000; */
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

  a.home {
   margin: 0 1em 0 2em;
   }

 div#content {
   margin: 0.4em auto 1em 0;   /* some air above and under menu and content */

}

div#main {
   margin-right: 1em; /* and some air on the right */
   margin-left: 245px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding: 0;
   background-color: #fff;
   border-left: #ffd35c solid 3px;
   border-top: #ffd35c solid 3px;
   border-right: #ffd35c solid 3px;
   border-bottom: #ffd35c solid 3px;
}

div#page {
   margin: 0;
   padding: 1em 2em;
}



div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 235px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background-color: #5892cd; /* same bg color as in header */
   margin: 0.4em 0 0 0;
   padding: 0.51em;
   text-align: center;
   border-top: 1px solid #fff;
}

div#footer p {
   padding: 0.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0.5em;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* 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 black;
   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: left;
  width: 49%;
  text-align: left;
}


/****************************
     CONTENT  BLOCKS
****************************/
.block_toright {
   float: right;
   margin: 0.2em;
   padding: 0.2em;
   width: 250px;
}

.block_right {
   float: right;
   margin: 0 1em;
   padding: 1em;
   width: 50%;
}

.block_left {
   float: left;
   margin: 0 1em;
   padding: 1em;
   width: 50%;
}

div.registration {
  float: right;
  border: 1px solid white;
  margin: 0;
  padding: 0 1em 0.5em 1em;
  background-color: #b8b742;
}

a.registration {
  color: white;
}

div.glossary {
font-size: 90%;
}

div.glossary a {
line-height:3em; color: #506b07;
}


.clear {
   clear: both;
}


/****************************
IMAGES STYLING
****************************/
.image_right  {
   float: right;
   padding: 0.2em;
   margin: 1em;
}

.image_right_nb {
   float: right;
   padding: 0;
   margin: 0;
}

.image_center, .image_left, .image_right, .image_border {
   border: 1px solid #d43c00; padding: 0.2em;
   margin: 0.6em;
}

.image_left, .image_left_nb {
   float: left;
   padding: 0.2em;
   margin: 1em;
}

.image_center, .image_center_nb {
   text-align: center;
   display: block;
   padding: 0.2em;
   margin: 1em auto;
}

.image_right_nb, .image_left_nb, .image_center_nb {
   border: none;
}

/*******************
    IMAGE STYLING
********************/
.img-right {
   float: right;
   margin: 1em;
   border: 1px solid #d43c00;
   padding: 2px;
   }

/**********************
TABLE STYLING
**********************/

.tabprice td {padding: 0.2em; margin: 0.5em;}
table.tabprice {padding: 0.4em; }
.tabtd1 td { color: white;}
.tabtd2 td {background-color: #ffecb8;}
.tabtd3 td { font-weight: bold; color: black; font-size: 1em; line-height: 1.2em;padding: 0.7em;}

table {width: 98%; padding: 0.3em; margin: 0 auto;}
table td, table tr   {margin: 0; text-align: center; padding: 0.7em; font-size:1em; line-height: 1.8em;}

.tabcourse{width: 96%; clear: right; padding: 0.7em 0; margin: 0 auto; font-size: 1em;}
.tabcourse td, .tabcourse tr {padding: 0.8em 0.5em 1em 0.5em; text-align: left; width: 50%;}
.tabcourse p {padding: 2px 0 0 0; text-indent: 0; font-size: 1.1em;}

table.horario {border: 1px solid #fff;}
table.horario td {width: 32%; text-align: center; padding: 0.4em 0.7em;}

table.cuatro td {width: 24%; text-align: center; border: 2px solid #fff7e1;}

table.cinco td {width: 19%; text-align: center; border: 2px solid #fff7e1;}}
table p {margin-bottom: 0.2em;}

table.styletab {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    }

table.styletab td {
    padding: 0.2em 0.8em;
    border: solid 1px #000;
    }


/********************
COLOR STYLING
********************/
.white3 {background-color: #fff6de;}
.red1 {background-color: #e56837; color: #fff; text-align: center;}
.red2 {background-color: #d06565;}
.orange1 {background-color: #ffe0bc;}
.orange2 {background-color: #ffb761;}
.orange3 {background-color: #d4b62a;}
.yellow1 {background-color: #ffd461;}
.white6 {background-color: #fff7e1;}
.white7 {background-color: #ffdd80;}
.white1 {background-color: rgb(237, 237, 141);}
.white2 {background-color: rgb(249, 249, 149);}
.green1 {background-color: #b6d209;}
.green2 {background-color: #d0f00a;}
.green3 {background-color: #c2d065;}


/***********************
BORDER STYLING
**********************/
.basic, .basic_blue, .basic_orange1, .basic_red7, div#basic_booking {padding: 0 0.6em; margin: 1em 0; overflow: hidden; width:96%;}


.basic, div#basic_booking {
   border: 3px solid #fff8e5; background-color:  #fffbf1; /*url(images/cms/fondo_cuadro_texto.jpg) repeat;*/ 
}

.basic_site_map a {
   line-height: 1.3em; color: white;font-size: 1.1em;   text-decoration: none;   text-align: left;
}

.basic_site_map {display:block;text-align: center;}

div.site_map {float: left; width: 30%; margin: 0.5%; padding: 0.8em;background-color: #679dd5;height: 125px; border: 2px solid #7cacde;}

div#basic_booking {
    margin-top: 1em;
}

div#basic_booking h2 {
    color: #000f;
}

.basic_blue strong {
   color: #003e77;
}

.basic_red7 {
   border: 1px solid #f8bfa2; background-color: #ffeae0;
}

.basic_orange1 {
   border: 2px solid #f1a0a0;
}

.basic_nb {
   overflow: hidden; width:96%;
}

.basic_fee { padding: 0.8em; margin: 1em auto; border: 2px solid #fffcf4; background: #ffdd80;}

.bdr {border-right: 1px solid #de5c29;}

/********************
CONTENT STYLING
*********************/


/* HEADINGS */
div#content h1 {
   font-size: 1.6em; /* font size for h1 */
   line-height: 1.2em;
   text-align: center;
   color: #d43c00;
   border-bottom: 1px solid #f6ca54;
   font-weight: 600;
   margin: 0.1em 0.1em 0.6em 0.1em;
   padding: 0 0 0.4em 0;
}
div#content h2 {
	color: #d43c00; 
	font-size: 1.4em; 
	text-align: left; 
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 2px;
/* set borders around header */
	border-bottom: 1px solid white; 
/*	border-left: 1.1em solid #e7ab0b; */
        line-height: 1.5em;
/* and some air under the border */
        margin: 0.6em 0 0 0;
}
div#content h3 {
   color: #000; 
   font-size: 1.2em;
   line-height: 1.4em;
   margin: 0.3em 0 0.3em 0;
}
div#content h4 {
   color: #093b6d; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0.2em 0 0.3em 0;
}
div#content h5 {
   color: #000; 
   font-size: 1.1em;
   line-height: 1.4em;
   margin: 0.2em 0 0.3em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1.1em;
   margin: 0 0 0.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
   text-indent: 20px;
}

p:first-letter {font-weight: 600;}

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.12em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0.1em 0 0.25em 2em;
}

/* 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 */
/* End of 'Fab_CSS' */

