* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	font-family: 'Lato', sans-serif;
}


html, body {
	color: #333333;
	padding: 0;
	height: 100%;
	width: 100%;
    min-width: 900px;
}

@font-face {
  font-family: 'typicons';
  src: url('../fonts/typicons/typicons.eot');
  src: url('../fonts/typicons/typicons.eot?#iefix') format('embedded-opentype'),
       url('../fonts/typicons/typicons.woff') format('woff'),
       url('../fonts/typicons/typicons.ttf') format('truetype'),
       url('../fonts/typicons/typicons.svg#typicons') format('svg');
  font-weight: normal;
  font-style: normal;
}

a {
	color: #333333;
}

i {
	font-size: 80%;
	opacity: .8;
}

.clearfix {
	clear: both;
}


/*
	================================
	HEADER
	================================
*/

header {
	height: 50px;
	width: 100%;
	background-color: #ffffff;
	color: #333333;
	line-height: 50px;
	box-shadow: 0 1px 5px rgba(0,0,0,.3);
	position: relative;
	z-index: 2;
}

.wondz_logo {
	font-size: 24px;
	width: 230px;
	text-align: center;
}

.wondz_logo span {
	color: #e53935;
}

.account_menu {
	position: absolute;
    height: 50px;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    opacity: .3;
}




/*
	================================
	SIDEBAR
	================================
*/

.sidebar {
	position: relative;
	z-index: 1;
	height: calc(100% - 50px);
	width: 230px;
	box-shadow: 1px 0 5px rgba(0,0,0,.3);
	float: left;
	background-color: white;
	background: -webkit-linear-gradient(to bottom, #FFFFFF , #ECE9E6);
	background: linear-gradient(to bottom, #FFFFFF , #ECE9E6);
	overflow: auto;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.sidebar li {
	display: block;
	height: 40px;
	line-height: 40px;
	padding: 15px 25px;
	text-decoration: none;
	font-size: 18px;
	position: relative;
    cursor: pointer;
    text-transform: capitalize;
}

	.sidebar li:hover {
		background-color: #f1f1f1;
		background: -webkit-linear-gradient(to right, #f1f1f1 , #FFFFFF);
		background: linear-gradient(to right, #f1f1f1 , #FFFFFF);
	}

.sidebar .typcn {
	margin-right: 15px;
}

.sidebar .current {
	background-color: #f1f1f1;
	background: -webkit-linear-gradient(to right, #f1f1f1 , #FFFFFF);
	background: linear-gradient(to right, #f1f1f1 , #FFFFFF);
}

.sidebar li::after {
	opacity: 0;
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	background-color: #5FB8E6;
	top: 0;
	right: 30px;
	bottom: 0;
	margin: auto;
	border-radius: 50%;
	border: 2px solid #FFFFFF;
	box-shadow: 0px 0px 1px rgba(0,0,0,.5);
	-webkit-transition: all .3s ease-in-out;
	        transition: all .3s ease-in-out;
	-webkit-transform: scale(.4);
	    -ms-transform: scale(.4);
	        transform: scale(.4);
}

.sidebar li.current::after {
	opacity: 1;
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}




/*
	================================
	CONTENT
	================================
*/

.content_wrapper {
	position: relative;
	height: calc(100% - 50px);
	width: calc(100% - 230px);
	float: left;
	box-sizing: border-box;
	padding: 50px;
	background: #517fa4;
	background: -webkit-linear-gradient(to right, #517fa4 , #296C8C); 
	background: 		linear-gradient(to right, #517fa4 , #296C8C); 
	overflow: auto;
}

.page {
	opacity: 0;
	position: absolute;
	width: calc(100% - 100px);
	/*height: calc(100% - 100px);*/
	height: auto;
	padding-bottom: 50px;
	-webkit-transition: all .4s ease-in-out;
	        transition: all .4s ease-in-out;
	-webkit-transform: translateX(-20%);
	    -ms-transform: translateX(-20%);
            transform: translateX(-20%);
}

.page.show {
    opacity: 1;
	-webkit-transform: none;
	    -ms-transform: none;
	        transform: none;
}

.flexbox {
	display: flex;
  	flex-direction: row;
  	flex-wrap: wrap;
}

h1, h1 i, h1 a {
	margin-top: 0;
	color: white;
    margin: 25px 0 15px 15px;
    text-decoration: none;
}

h1:first-child {
	margin-top: 0;
}

h2 {
	margin: 25px 0 5px 20px;
	color: white;
    padding-bottom: 5px;
    font-size: 20px;
    clear: both;
}

h2 a {
	color: white;
	text-decoration: none;
}

	h2 a:hover {
		text-decoration: underline;
	}

h3 {
	margin: 0 0 10px;
}

.group {
	flex-grow: 1;
	width: 0;
	flex-basis: 400px;
    margin: 10px;
    box-sizing: border-box;
    border-radius: 5px;
    padding-bottom: 20px;
    background-color: rgba(225,255,255,0.1);
}

.block {
	position: relative;
	min-height: 50px;
	margin: 15px 20px;
	box-sizing: border-box;
	background-color: #ECE9E6;
	box-shadow: 0 1px 2px rgba(0,0,0,.5);
	border-radius: 2px; 
	padding: 15px;
	text-decoration: none;
	-webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
	flex-basis: 400px;
	flex-grow: 1;
    display: flex;
    align-items: center;
}

	.block:hover {
		box-shadow: 0 1px 10px rgba(255,255,255,.6);
	}

.block i {
    margin-left: 10px;
}

.sublink {
    border: 1px solid grey;
    padding: 2px 8px 3px 8px;
    border-radius: 3px;
}

.sublink:hover {
    text-decoration: underline;
}

/* Permet au dernier item d'une flexbox de conserver la meme largeur que les autres blocs */
.flexbox div:empty {
	height: 0;
	flex-basis: 400px;
	flex-grow: 1;
	margin: 0 20px;
}

.group .block {
	margin: 10px 20px;
}

.disabled, .old {
	opacity: .8;
}

.new {
	box-shadow: 0 1px 10px rgba(255,255,255,.6);
}

.new::after {
	content: "New";
	position: absolute;
	top: -10px;
	right: -10px;
	margin: auto;
	height: 18px;
	width: 18px;
	line-height: 18px;
	font-size: 9px;
	background-color: #333333;
	color: white;
	padding: 5px;
	border-radius: 50%;
	text-align: center;
}

.private {
	background-color: #446886;
	color: #eeeeee;
}

.maj {
    float: right;
    padding-right: 1px;
    padding-top: 1px;
}