/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column ss2' */
/*****************
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: 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: 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: #93107c; 
}

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #93107c;
   color: #fff;
}


/*****************
basic layout 
*****************/
body {
   background-color: #fefecd;
   color: #333;
   margin:1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   border-top: none;
   margin: 0 auto;       /* this centers wrapper */
   width: 80em;
   background-color: #fff;
   color: black;
   padding-left:10px;
   }


/*** header ***

div#header {
   height: 100px;    /* adjust according your image size */
   background: #9c9ace;           
}

#banniere_us
{
   height: 107px;
   background: url(http://www.studio-scrap.com/uploads/images/banniere_Studio-Scrap-summer.jpg) no-repeat;
   margin-bottom: 10px;
   margin-left: -10px;
   position: relative; 
   top: 0; 
   left: 0; 
   z-index: 2;
}

div#bannierecmd, div#banniere-cmdus {
  float: right; 
  height: 79px;
  margin: 0 1em;
  position: static;
  right: 25px;
  width: 140px;
  }

div#bannierecmd a, div#banniere-cmdus a {
  display: block;
  height: 79px;
  margin: 0 1px 1px;
  width: 140px;
  z-index: 3;
  }

div#bannierecmd a#cmd {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/commander.jpg) no-repeat scroll 0 0;
  }

div#banniere-cmdus a {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/buy.jpg) no-repeat scroll 0 0;
  }

div#banniere-cmdkit, div#banniere-abnkit {
  float: right; 
  height: 109px;
  margin: 0 1em;
  position: static;
  right: 25px;
  width: 140px;
  }

div#banniere-cmdkit {
  height: 90px;
  }

div#banniere-cmdkit a, div#banniere-abnkit a {
  display: block;
  height: 109px;
  width: 140px;
  z-index: 3;
  }

div#banniere-cmdkit a {
  height: 90px;
  }

div#banniere-cmdkit a {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/kits-digitaux-commander.jpg) no-repeat scroll 0 -10px;
  }

div#banniere-abnkit a {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/kits-digitaux-abonnement.jpg) no-repeat scroll 0 -12px;
  }

div#banniere-cmdkit a.us {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/order-digital-kit.jpg) no-repeat scroll 0 -10px;
  }

div#banniere-abnkit a.us {
  background: transparent url(http://www.studio-scrap.com/uploads/images/boutons/subscription-digital-kit) no-repeat scroll 0 -12px;
  }


div#header h1 a {
/* you can set your own image here */
   background: #ffffff url(/uploads/images/ban.gif) no-repeat 0 ; 
   display: block;
   height: 100px;             /* 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 */
}

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

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-bottom: 1px dotted #000;
}

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

 div#content {
   margin: 0 auto 2em 0;   /* some air above and under menu and content */
   padding-top: 1.5em;
}


div#main {
   margin-left: 24%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 1%; /* and some air on the right */
}

div#drapeaux {
  margin: 0 0 0.5em 0.5em;
  }

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

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: black;
   background: url(http://www.studio-scrap.com/uploads/images/footer.jpg) no-repeat;
   margin-left: -10px;
   margin-bottom: -1px;
   height: 33px;
  border-bottom: 1px solid black;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.4em 0 0.5em; 
   text-align: center;
   margin: 0;
}

div#footer p, div#footer p a {
   color: white; 
}

div#footer p a:hover {
   color: #fff;
   background-color: transparent;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 2em;
   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: right;
  width: 49%;
  text-align: right;
}

.news_form {
  padding: 0.5em;
  }



/********************
CONTENT STYLING
*********************/
div#content {
}

/* HEADINGS */

div#content h1 {
   height: 27px; 
   display: inline;
   color: #b01d21; 
   font-size: 1.4em;
   font-weight: bold; 
   line-height: 2.35em;
   margin: 0 0 1em 0;
}

div#content h2 {
  	color: #b01d21; 
	font-size: 1em; 
	text-align: left; 
	padding: 0 0 3px 0.5em;
	border-bottom: 1px solid #feaa44; 
	border-left: 1em solid #feaa44; 
        line-height: 0.7em;
        margin: 2.5em 0 1.5em;
}

div#etiquette {
  height: 45px;
  margin: 1em 0;
  }

#etiquette_gauche {
  background: url("http://www.studio-scrap.com/uploads/images/bouttons/etiquette_debut.png") no-repeat 0 0;
  float: left;
  width: 22px;
  height: 45px;
  }

#etiquette_centre {
  background: url("http://www.studio-scrap.com/uploads/images/bouttons/etiquette_milieu.png") repeat-x 0 0;
  height: 45px;
  float: left;
  }

#etiquette_droite {
  background: url("http://www.studio-scrap.com/uploads/images/bouttons/etiquette_fin.png") no-repeat 0 0;
  float: left;
  width: 24px;
  height: 45px;
  }


div#content div#affiche h3 {
   margin: 0 0 0.5em 0;
}

div#content h3, div#content span.h3 {
   color: #b01d21; 
   font-size: 1em;
   line-height: 0.3em;
   padding: 0.2em 0 0 0.5em;
   border-left: 0.5em solid #feaa44;
   margin: 1.5em 0 1em 1em;
}

div#content h4 {
  	color: #b01d21; 
	font-size: 1.2em; 
	text-align: left; 
	padding: 0 0 2px 0.5em;
	border-bottom: 1px solid #feaa44; 
	border-left: 1.3em solid #feaa44; 
        line-height: 1.1em;
        margin: 0 0 0.5em 0;
}

div#content h5 {
   color: #b01d21; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #b01d21; 
   font-size: 10px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 3px solid #ddd;
   margin-left: 10px;
   padding-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;
}

/* 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 */


/* FORMULAIRE CONTACT */

form#contact {
	width: auto;
}

form#contact p {
	margin: 0 0 0 2em;
	padding: 0 0 0.5em;
}

form#contact label {
	float: left;
	display: block;
	margin-right: 1em;
	text-align: right;
	width: 18%;
}

form#contact input {
	width: 25%;
}

form#contact input#envoyer {
	width: auto;
}

/* END FORMULAIRE CONTACT */

.tableau1 {
  float: left;
  width: 70%;
}
.tableau2 {
  margin-left: 48%;
}
.tableau_modele {
  float: left;
  width: 20%;
}
.tableau_modele2 {
  margin-left: 1%;
}
.tableau {
width: 70%;
}.
image {
float: right;
}
.titre {
   background-image: url("http://www.studio-scrap.com/uploads/images/bouttons/bouton_etiquette.jpg");
   background-repeat: no-repeat;
height: 27px; 
width: 201px;
	color: #3f1517; 
	font-size: 1.2em;
   font-weight: bold; 
	text-align: center; 
        line-height: 1.2em;
/* some air around the text */
	padding-left: 0em;
	padding-top: 4px;
}
div.float {
 	float: left;
 }

div.float p {
 	text-align: center;
  }

div.yann_1 {
   background-image: url("http://www.studio-scrap.com/uploads/images/bouttons/bouton_etiquette-gauche.jpg");
   background-repeat: no-repeat;
height: 27px; 
width: 19px;
float: left;
	}
div.yann_2 {
   background-image: url("http://www.studio-scrap.com/uploads/images/bouttons/bouton_etiquette-milieu.jpg");
   background-repeat: repeat-x;
height: 27px; 
	color: #3f1517; 
	font-size: 1.2em;
   font-weight: bold; 
	text-align: center; 
/* some air around the text */
	padding-left: 0em;
	padding-top: 4px;

}
div.yann_3 {
   background-image: url("http://www.studio-scrap.com/uploads/images/bouttons/bouton_etiquette-droite.jpg");
   background-repeat: no-repeat;
height: 27px; 
width: 23px;
float: right;
}



/* Page présentation des kits - V4 */

div.blockit {
  width: 320px;
  height: 375px;
  margin: 1.5em 2.5em 0 0;
  float: left;
  text-align: center;
  }

div#content div.blockit h2 {
  border: none;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 0;
  }

div.blockit a.visuel {
  display: block;
  width: 320px;
  height: 305px;
  }

div.blockit a.visuel img.kit {
  position: relative; 
  z-index: 1;
  width: 300px;
  }

div.blockit a.visuel img.kit:hover {
    outline: 2px solid #b01d21;
  }


div.blockit a.visuel img.ombre {
  position: relative; 
  bottom: 311px; 
  z-index: 0;
  }


div.blockitplanche {
  width: 212px;
  height: 245px;
  margin: 0 1em 1.5em;
  float: left;
  text-align: center;
  }

div.blockitplanche a {
  display: block;
  width: 212px;
  height: 212px;
  background: url(http://www.studio-scrap.com/uploads/images/Kit/ombre-planche.png) 0 0 no-repeat;
  }

div.blockitplanche a img {
  position: relative;
  top: 6px;
  }

div.blockitplanche a img:hover {
    outline: 2px solid #b01d21;
  }



div.blockitcompo {
  width: 186px;
  height: 186px;
  margin: 0 2em 1.5em;
  float: left;
  text-align: center;
  }

div.blockitcompo a.carre, div.blockitcompo a.portrait, div.blockitcompo a.paysage, div.blockitcompo a.carte {
  display: block;
  width: 186px;
  height: 186px;
  }

div.blockitcompo a.carre {
  background: url(http://www.studio-scrap.com/uploads/images/Kit/ombre-compo-carre.png) 0 0 no-repeat;
  }

div.blockitcompo a.portrait {
  background: url(http://www.studio-scrap.com/uploads/images/Kit/ombre-compo-portrait.png) 0 0 no-repeat;
  }

div.blockitcompo a.paysage {
  background: url(http://www.studio-scrap.com/uploads/images/Kit/ombre-compo-paysage.png) 0 0 no-repeat;
  }

div.blockitcompo a.carte {
  background: url(http://www.studio-scrap.com/uploads/images/Kit/ombre-compo-carte.png) 0 0 no-repeat;
  }

div.blockitcompo a img {
  position: relative;
  top: 5px;
  }

div.blockitcompo a.paysage img {
  top: 31px;
  }

div.blockitcompo a.carte img {
  top: 35px;
  }

div.blockitcompo a img:hover {
    outline: 2px solid #b01d21;
  }



table.intro {
  width: 700px;
  }


table.tableau_kit, table.tableau_kit_sketche {
  width: 700px;
  text-align: center;
  margin-bottom: 1em;
  }

table.tableau_kit_sketche td {
  height: 200px;
  }

  
/* BACKLINK */  

table#backlink {
  width: 100%;
  margin-top: 3em;
  }
  
table#backlink tr {
  vertical-align: middle;
  }

table#backlink th {
  text-align: left;
  vertical-align: top;
  height: 2em;
  font-size: 1.2em;
  }  
  
table#backlink td {
  padding-bottom: 2em;
  }  
  
table#backlink td.image {
  width: 250px;
  } 
  
table#backlink td.code textarea {
  background-color: #FFFBF2;
  border: 1px dashed black;
  color: #b01d21;
  overflow: hidden;
  padding: 1em;
  width: 405px;
  font-size: 9px;
  height: 60px;
  } 

table#backlink td.code textarea.petit {
  position: relative;
  top: 1em;
  } 

  
/* footer top-site */

div#top-links {
  margin: 0 auto;
  text-align: center;
  padding: 1em 0;
}

div#top-links a {
  margin-left: 1em;
}

div#top-links a:hover {
  background-color: transparent;
}
/* End of 'Layout: Left sidebar + 1 column ss2' */

