/*  
Theme Name: Viala
Theme URI: http://design.davidgarlitz.com
Description: A wide, clean theme in whites and pale greys, by <a href="http://davidgarlitz.com" title="Visit dave...">Dave Garlitz</a>. Posts are displayed in a newspaper-style format, with a a feature lead article excerpt and up to 4 excerpts "at the fold."    
Version: 1.3.1
Author: Dave
Author URI: http://davidgarlitz.com
Tags: white, light, four-columns, fixed-width, custom-header, theme-options, translation-ready
*/

/* ------------  RESET, TYPESET, VERTICAL RHYTHM -----------*/


/* THE BASICS (reset plus basic typesetting - based on Eric Meyer's reset - Tables removed (PSMA))  */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, strike, sub, sup, tt, var,
dl, dt, dd, ul, li,
fieldset, form, label, legend, caption {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	color: #000;
	font-family: "Comic Sans MS", sans-serif; /** ouch, I know **/
	font-size: 1em; /* 1em = 16px */
	letter-spacing: -.02em;
	line-height: 1.4;
}
ul {
	list-style: none;
}
ol {
	margin: 0;
	padding: 0 0 0 2em; /* makes a tight indent leaving room for double digits */
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 2;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
    border-bottom: 3px solid #b5b5b5;
    border-top: 3px solid #b5b5b5;
    color: #7b7b7b;
    margin-bottom: 1em;
    padding: 1em 1em 0 1em;
}
hr {
	display: none;
}
small {
	font-size: .75em;
}
em {
	font-style: italic;
}


/*** END OF THE RESET ***/

/*** WP Recommended handling of image floats ***/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
   margin: 14px;
}
div.alignleft { /* for quickly creating in-post floats */
    border: 1px solid;
    width: 47%;
    margin: 0 3% 3% 0;
    padding: 5px;
}

.alignright {
   float: right;
   margin: 7px;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

/*** TYPOGRAPHY ***/
h1 {
font-family: Georgia, Times, serif;
font-size: 2em;
font-weight: bold;
}
h1 a {
color: #660066;
text-decoration: none;
display: block;
margin: 12px 0 24px 0;
}
#desc {
display: none;
}
h2, h3 {
font-weight: bold;
}
h2 {
font-size: 1.3em;
text-align: center;
margin: 12px 0 32px 0;
}

h3 {
font-size: 1.1em;
text-align: center;
margin: 16px 0 12px 0;
}
.post {
font-size: .875em;
margin: 0 48px 48px 48px;
}
.post p, .post img {
margin-bottom: 12px;
}
.post table img {
margin-bottom: 0;
}
big {
font-size: 1.2em;
font-style: italic;
font-weight: bold;
}


/* to line up a picture and text like in a table, set <p> and <img> within a div class="valign" */
.valign {
display: table;
}
.valign p {
display: table-cell;
vertical-align: middle;
}


/*** MENU ***/

   /* begin required CSS Menu styles */

#menu ul {
 position: relative;
}

#menu li {
 background: #f69; 
 border: 1px solid #000;
 border-width: 1px 0 1px 1px;
 float:left;
 margin:0 0px 0 0;
 font-weight: bold;
 line-height: 2;
}
#menu li.page-item-19 {
border-width: 1px 1px 1px 1px;
}

#menu i { /* for a previous version, the homepage links were tagged in <i> tags - this rule keeps the <i> tags looking normal */
font-style: normal;
}
	
#menu li ul {
 margin: 0px 0 0 -1px;
 border-width: 1px solid #000; 
 display: none; 
 position:absolute; 
 background: #f69;
}

#menu li a {
 color: #fff;
 display:block; 
 font-size: .85em;
 padding:0px 12px 0px 12px; 
 text-decoration:none;
 height: 31px;
 overflow: hidden;
}

#menu li ul {
border: 1px solid #000;
border-width: 1px 0 0 0;
}

#menu li ul li {
 float: none;
 border-width: 0 1px 1px 1px;
}

#menu li ul li a {
 display:block;
 font-size: .9em;
 padding:0 8px 0 6px;
}

#menu li:hover ul {display:block;}

#menu li.page_item:hover a {background:#b39; color:#FFF;}

#menu li:hover ul li.page_item a {background:#f69; color:#FFF;}

#menu li:hover ul li.page_item:hover a {background:#b39; color:#FFF;}


/* end required CSS menu styles */

#langs ul {
height: 24px;
padding: 4px;
}

.language_item a img {
width: 24px;
margin-left: 14px;
padding: 4px;
}
.language_item a:hover img {
padding: 2px;
border: 2px solid #f69;
}

.language_item a span, .current_language_item {
display: none;
}




/*** BASIC PAGE LAYOUT ***/

body {
background: #8fbce9 url(http://preschoolmusicparis.com/images/page-bg.gif) repeat-x;
padding: 10px 0;
}


#border-1 {
/* width: 90%; 
min-width: 860px;  make the site fixed-width instead of fluid */
width: 860px;
margin: 0px auto;
padding: 0px;
border: 3px solid #ffccff;
}

#border-2 {
border: 1px solid #000;
background: #f7e257;
}

.wrap {
padding: 10px 10px 10px 0;
background: #f7e257;
clear: both;
}

/* Wait to implement sidebars until events are setup 
.post {
float: left;
width: 580px;
}
#sidebar {
float: left;
}
*/

#nav {
height: 120px;
}

#footer {
display: block;
}
#footer p {
display: none;
}

#wc-slideshow {
float: left;
margin: 0 0 0 10px;
}
.cycle-caption {display: none;}

#headwrap {
float: left;
margin-left: 7%;
position: relative;
width: 60%;
}
/*** HOME PAGE SPECIAL STUFF ***/
body#home {
background: #9afcc1 url(http://preschoolmusicparis.com/images/fond1.png) repeat-x;
}
body#home .wrap {
background: none transparent;
margin-left: 380px;
}
body#home #border-2 {
background: url(http://preschoolmusicparis.com/images/accueil.jpg) no-repeat 0 0;
min-height: 612px;
}
body#home #border-1 {
background: #8fbce9 url(http://preschoolmusicparis.com/images/accueil-stripe.gif) repeat-y 1px 0;
margin-bottom: 3px;
}

body#home h1 {
display: none;
}
body#home #nav {
height: 48px;
margin: 16px;
}
body#home #headwrap {
width: 420px;
}

/*** TEXT RULES SPECIFIC TO INDIVIDUAL PAGES ***/
/* text slightly bigger on contact page */
.post-19 .entry {
text-align: center;
font-size: 1.175em;
}

/* text-adjusments for "A Day at the School" */
.post-8, .post-11 { /* post-11 is "A word to parents" */
text-align: center;
}
.post-8 span {
display: inline-block;
margin-top: 16px;
}
.post-8 .valign span {
display: inline;
margin-top: 0;
}

/* Home page links */
.post-22 .entry a {
display: block;
text-align: center;
}

/* Tarifs & Fees table adjustments */
.post-15 table {
margin-bottom: 12px;
} 
.post-15 table td {
text-align: center;
}
/*** Adjust table margins for "Our Team" and "Calendar" pages ***/
tr.names td {
text-align: center;
}
tr.bios td, .post-17 td {
padding: 6px;
}
