/*
http://www.red-team-design.com/css3-jquery-folder-tabs
http://www.red-team-design.com/css3-tabs-with-beveled-corners
*/
/* ------------------------------------------------------------------------------
		B L O G   P O S T
--------------------------------------------------------------------------------- */


.accueil {
	margin: 10px;
    	color: #000;
	z-index: 1 ;
}

.tab_content > div, .tab_content > article {
float: left;
vertical-align: top;
}

/* gestion des articles */
/* http://webcodebuilder.com/examples/responsive-html5css3-template/ */

.box_curl {
	position: relative;
	z-index: 1; /* prevent shadows falling behind containers with backgrounds */
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 25%;
}

article.post {
	background: url("http://4.bp.blogspot.com/_-ibrE31TAQc/TbZpgCv8bsI/AAAAAAAAAvU/6QSKqbg0CeI/s000/post-body_back.jpg") no-repeat;
	position: relative;
	/* float: left;
	width: 130px; */
	margin: 0 2.2em 0 0;
	height: 200px;
	padding: 15px;
	border: 1px solid #efefef;
	margin: 0 30px 30px 30px;
	background: #fff;
	-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
	-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
}

article.post:before, article.post:after {
  content:"";
   position:absolute;
   z-index:-1;
   bottom:15px;
   left:10px;
   width:50%;
   height:20%;
   max-width:300px;
   -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
   -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
   box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
   -webkit-transform:rotate(-3deg);
   -moz-transform:rotate(-3deg);
   -o-transform:rotate(-3deg);
   transform:rotate(-3deg);
}

article.post:after {
right:10px;
   left:auto;
   -webkit-transform:rotate(3deg);
   -moz-transform:rotate(3deg);
   -o-transform:rotate(3deg);
   transform:rotate(3deg);
}


/* http://jsfiddle.net/chasewoodford/t6Pns/ */

.box_curl article:hover {
	border: 1px solid rgba(0, 127, 255, 0.15);
	-webkit-box-shadow: 0 2px 8px rgba(0, 127, 255, 0.27), 0 0 40px rgba(0, 127, 255, 0.27) inset;
	-moz-box-shadow: 0 2px 8px rgba(0, 127, 255, 0.27), 0 0 40px rgba(0, 127, 255, 0.27) inset;
	box-shadow: 0 2px 8px rgba(0, 127, 255, 0.27), 0 0 40px rgba(0, 127, 255, 0.27) inset;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* Nom de la voie http://www.prothemer.com/blog/experiments/no-presentational-markup-css3-infobox/*/

.post h3{
position:relative;
color:#fff;
padding:10px 0;
margin:0 -26px;
left:0;
z-index:100;
-webkit-box-shadow:0 0 3px rgba(0,0,0,0.55);
-moz-box-shadow:0 0 3px rgba(0,0,0,0.55);
box-shadow:0 0 3px rgba(0,0,0,0.55);
background:#3198dd;
background:-webkit-gradient(linear, left top, left bottom, from(#33acfc), to(#3198dd));
background:-moz-linear-gradient(top,#33acfc,#3198dd);
font-size:60%;
text-align:center;
text-shadow:#2187c8 0 -1px 1px;
font-weight:bold;
}
/* left shadow */
.post h3:before {
content:"\00a0";
display:block; /* reduce the damage in FF3.0 */
position:absolute;
/*top:49px; /* value = - border-top-width - border-bottom-width */
   bottom: -19px;
left:0px; /* controls horizontal position */
width:0;
height:0;
border-width:10px 0 10px 10px; /* vary these values to change the angle of the vertex */
border-style:solid;
border-color:#2083c2 transparent transparent;
z-index:0;
}
/* right shadow */
.post h3:after {
content:"\00a0";
display:block; /* reduce the damage in FF3.0 */
position:absolute;
/*top:49px; /* value = - border-top-width - border-bottom-width */
   bottom: -19px;
right:0px; /* controls horizontal position */
width:0;
height:0;
border-width:10px 10px 10px 0; /* vary these values to change the angle of the vertex */
border-style:solid;
border-color:#2083c2 transparent transparent;
z-index:0;
}


article.post header {
font-size: 1.714em;
line-height: 2.583em;
text-align: center;
margin: 0 0 0.83em;
border-top: 1px solid #909EB2;
border-bottom: 1px solid #545B65;
background: #5D6A7C;
background-image: linear-gradient(bottom, #5D6A7C 0%, #7E8999 100%);
background-image: -o-linear-gradient(bottom, #5D6A7C 0%, #7E8999 100%);
background-image: -moz-linear-gradient(bottom, #5D6A7C 0%, #7E8999 100%);
background-image: -webkit-linear-gradient(bottom, #5D6A7C 0%, #7E8999 100%);
background-image: -ms-linear-gradient(bottom, #5D6A7C 0%, #7E8999 100%);
background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #5D6A7C), color-stop(1, #7E8999) );
}

.inactive {
	opacity: 0.5;
}

/* Gestion des onglets de tabulation */

ul.tabs
{
  overflow: auto;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.tabs li
{
    margin: 0;
    padding: 0;
    float: left;
}

ul.tabs a
{
    -moz-box-shadow: -4px 0 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: -4px 0 0 rgba(0, 0, 0, .2);
    box-shadow: -4px 0 0 rgba(0, 0, 0, .2);
    background: #ad1c1c;
    background:    -moz-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background:    -webkit-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background:     -ms-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background:      -o-linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    background:         linear-gradient(220deg, transparent 10px, #ad1c1c 10px);
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    color: #fff;
    float: left;
    font: bold 12px/35px 'Lucida sans', Arial, Helvetica;
    height: 35px;
    padding: 0 30px;
    text-decoration: none;
}

ul.tabs a:hover
{
    background: #c93434;
    background:    -moz-linear-gradient(220deg, transparent 10px, #c93434 10px);
    background:    -webkit-linear-gradient(220deg, transparent 10px, #c93434 10px);
    background:     -ms-linear-gradient(220deg, transparent 10px, #c93434 10px);
    background:      -o-linear-gradient(220deg, transparent 10px, #c93434 10px);
    background:         linear-gradient(220deg, transparent 10px, #c93434 10px);
}

ul.tabs a:focus
{
    outline: 0;
}

ul.tabs li.active a
{
    background: #fff;
    background:    -moz-linear-gradient(220deg, transparent 10px, #fff 10px);
    background:    -webkit-linear-gradient(220deg, transparent 10px, #fff 10px);
    background:     -ms-linear-gradient(220deg, transparent 10px, #fff 10px);
    background:      -o-linear-gradient(220deg, transparent 10px, #fff 10px);
    background:         linear-gradient(220deg, transparent 10px, #fff 10px);
    text-shadow: none;
    color: #333;
}

.tab_container {
	-moz-border-radius: 0 2px 2px 2px;
	-webkit-border-radius: -2 2px 2px 2px;
	border-radius: 0 2px 2px 2px;
	-moz-box-shadow: 0 2px 2px #000, 0 -1px 0 #fff inset;
	-webkit-box-shadow: 0 2px 2px #000, 0 -1px 0 #fff inset;
	box-shadow: 1px 3px 2px #000, 0 -1px 0 #fff inset;
	padding: 30px;
	position: relative;
	z-index:1;
	overflow:hidden; /*if you want to crop the image*/
    background: #fff;
}

.tab_container:before{
    z-index:-1;
    position:absolute;
    left:0;
    top:0;
    bottom: 0;
    right:0;
    content: "";
    /* http://creativefan.com/grunge-background/ */
    /* http://silviahartmann.com/background-tile-art/5-fabric-background-1.php/ */
    /* background: url("images/229313.png") top left repeat; */
    /*
    background: url("ubuntu-9-04-has-a-brand-new-wallpaper-4.png") no-repeat center fixed; 
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
   */
    opacity:0.5;
}

.tab_content {
	padding: 20px;
	font-size: 1.2em;
}
