/*

Theme Name: MJC Reignier Default

Theme URI: http://wordpress.org/

Description: Th&egrave;me par d&eacute;faut du site de la MJC de Reignier-Esery en Haute-Savoie France.

Version: 1.0

Author: Jannick Gauthier

Author URI: http://www.avecdubleu.com/

Tags: green, pink, custom header, fixed width, two columns, widgets 



This theme was designed and built by Jannick Gauthier,

whose website you will find at http://www.avecdubleu.com/



The CSS, XHTML and design is released under GPL:

http://www.opensource.org/licenses/gpl-license.php



*/



@import url("tools.css");

@import url("typo.css");

@import url("forms.css");

@import url("layout-navtop-localleft.css");





/* 

A CSS Framework by Mike Stenhouse of Content with Style 

-------------------------------------------------------



Copyright (c) 2005, Mike Stenhouse of Content with Style



All rights reserved.



Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:



    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

    * Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.



THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS

"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT

LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR

A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR

CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR

PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF

LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING

NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

*/



/* SITE SPECIFIC LAYOUT */

    body {

        margin: 0;

        padding: 0;

        text-align: center;        

        background: white url(images/bodybackground.png) repeat-x 0 195px;

    }

small {

color: #ccc;



}

    div#page {

        width: 981px;

        margin:  0 auto;

        padding: 0;

        border-right:1px solid #e20163;

        border-left:1px solid #e20163;

        text-align: center;

        background: transparent url(images/navbackground.png) repeat-y 5px 0;

    }

    

    /* HEADER */

        div#header {

            margin: 0 0 0 0;

            /*padding: 80px 0 0 0;*/

            height:135px;

            color: white;

            background: url(images/header.jpg) no-repeat top left;

            text-align: left;

        }

        div#branding {

            float: left;

            width: 40%;

            

            margin: 0;

            padding: 10px 0 10px 20px;

            

            text-align: left;

        }

        div#search {

            float: right;

            width: 49%;

            

            margin: 0;

            padding: 16px 20px 0 0;

            

            text-align: right;

        }

    /* END HEADER */

    

    

    /* CONTENT */

        div#content {

            background:transparent;

			

        }

        

        /* MAIN */

            div#main {

                background:transparent;

				margin-top: 4.95em;

            }

        /* END MAIN */

        

		div#submain  {

			margin: 2em;

			padding: 16px 20px 10px;

			

		}



        /* SUB */

            div#sub {

                

            }

        /* END SUB */

        

    /* END CONTENT */

    

    

    /* FOOTER */

        div#footer {

            color: #E20163;

            background-color: #E2D9E9;

        }

        div#footer p {

            margin: 0;

            padding: 2px;

            

            font-size: 0.8em;

        }

    /* END FOOTER */

/* END LAYOUT */





/* UL.SUBNAV */

    ul.subnav {

        margin: 0;

        padding: 0;

        

        font-size: 0.8em;

        list-style: none;

    }

    ul.subnav li {

        margin: 0 0 1em 0;

        padding: 0;

        

        list-style: none;

    }

    ul.subnav li a,

    ul.subnav li a:link,

    ul.subnav li a:visited,

    ul.subnav li a:active {

        text-decoration: none;

        font-weight: bold;

        

        color: black;

    }

    ul.subnav li a:hover {

        text-decoration: underline;

    }

    ul.subnav li strong {

        padding: 0 0 0 12px;

        

        background: url("../i/subnav-highlight.gif") left top no-repeat transparent;

    }

    ul.subnav li strong a,

    ul.subnav li strong a:link,

    ul.subnav li strong a:visited,

    ul.subnav li strong a:active {

        color: white;

        background-color: black;

    }

/* END UL.SUBNAV */



/* SUB LOCAL */

/*div#sublocal {

	margin: 0 0 50px 0;	

	height: 41px;

	padding: 20px 0 0 0 !important;

	background: transparent url(images/sublocalbackground.png) repeat-y 2px 0;

}

div#sublocal ul {


    width: 100%;

	padding: 0;

	line-height: 1em;

    list-style: none;

	margin-left: 6px;

}





div#sublocal  li {

	float: left;

	display: block;

	width:122px;

	margin: 0;

	padding: 0;

	list-style: none;

	line-height: 1em;

}*/



div#sublocal {

	margin: 0 0 50px 0 !important;	

	margin: 0 4px 50px -4px;	

	z-index:-10;

	height: 41px !important;

	height: 20px;

	padding: 20px 0 0 0 !important;

	padding: 20px 0 -30px -4px ;

	background: transparent url(images/sublocalbackground.png) repeat-y 2px 0;

	width:100%;



}



div#sublocal ul {

	width: auto !important;

    width: 244px;	

	height:20px;

	padding: 0;

	line-height: 1em;

    list-style: none;

	margin: 0 0 0 6px !important;

	/*background: #E20162;*/

}



div#sublocal  li {

	float: left;

	display: block;

	width:122px;

	margin: 0 0 -10px 0;

	padding: 0;

	list-style: none;

	line-height: 1em;

	height:40px !important;

	height:20px;

}



div#sublocal a,

    div#sublocal a:link,

    div#sublocal a:active,

    div#sublocal a:visited {

        display: block;

        /* hide from ie/mac \*/

        display: block;

        /* end hide */

        

        margin: 0;

        padding: 23px 0px 16px 20px;

        font-size: 0.8em;

        font-weight: bold;

        text-decoration: none;

        

        color: #fff;

        background: url(images/sublocalbuttons.png) no-repeat;

    }
   div#sublocal a:hover {
		background: url(images/sublocalbuttons2.png) no-repeat;
    }


/* END SUB LOCAL */



/* SUBLOCAL2 */

div#sublocal2 {

	margin: 0 10px 0 0;

}

div#sublocal2 ul.top {

	margin: auto;

	padding: 60px 0 20px 0;

	width:234px;

	background: #e2d9e9 url(images/localbackground.png) no-repeat;

}

div#sublocal2 p {

	margin:auto;

	background: #e2d9e9;

	width:234px;

	text-align:center;

}

div#sublocal2 p img {

border: none;

}

/* END SUBLOCAL2 */





/* SUBPAGES LINKS */

ul.subpageslinks {

    width: 100%;

	padding: 0;

	line-height: 1em;

    list-style: none;

	margin:0 0 0 6px;

	border-bottom: 1px solid #CCB5DF;

	height:41px;

}



ul.subpageslinks  li {

	float: left;

	display: block;

	width:80px;

	margin: 0;

	padding: 0;

	list-style: none;

}



div#main ul.subpageslinks li a {

	display: block;

	/* hide from ie/mac \*/

	display: block;

	/* end hide */

	margin: 1px;

	padding: 2px 2px 2px 2px;

	font-size: 0.8em;

	font-weight: bold;

	text-decoration: none;

	color: #FFF;

	background: #552482;

}

div#main ul.subpageslinks li a:hover {

	display: block;

	/* hide from ie/mac \*/

	display: block;

	/* end hide */

	margin: 1px;

	padding: 2px 2px 2px 2px;

	font-size: 0.8em;

	font-weight: bold;

	text-decoration: none;

	color: #ffc7f1;

	background: #e84579;
    }

/* END SUB LOCAL */



/* MISC */

h2.pageh2 {

	margin-right: 2em;

}



.pageentry {

	clear:both;

	margin: 0;

	padding-top: 10px;

}



.alignleft { float: left;  margin-right:4px}

.alignright { float: right; margin-left:4px}



.textleft { text-align: left; }

.textright { text-align: right; }


