/* ---------------------------------------------------

						FONTS

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


/* ---------------------------------------------------

						STYLE

--------------------------------------------------- */
body {
	background-color: #B8D5E3;
  background-image: url('../images/background.jpg');
  background-size: 50%;
}

.tiny {
	font-size: 12px;
}

.bold {
	font-weight: bold;
}

.button {
  background-color: orange;
  border: none;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  color: white;
  opacity: 0.8;
  padding: 5px 10px;
  transition: all .15s ease-in-out;
}

.button:disabled {
  background-color: lightgrey;
}

.button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
}

.button:active {
	background-image: linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.15));
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#26000000, endColorstr=#26000000)";
	border-color: transparent;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.3);
	color: #fff;
}


.fa.fa-certificate {
    color: #E2E200;
	position: relative;
	font-size: 18px;
}

.fa.fa-certificate::after {
    content: 'new';
    position: absolute;
    top: 4px;
    left: 0px;
    color: #F8711F;
    font-size: 10px;
}

.fa {
	cursor: pointer;
}

.fa.disabled {
	cursor: default;
}

// Sortable
  #sortable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
  #sortable li { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; height: 1.5em; }
  html>body #sortable li { height: 22px; }
  .ui-state-highlight { height: 22px; }
  
  .ui-state-default {
    border: none;
    background: none;
    font-weight: normal;
    color: inherit;
    cursor: move;
  }


/* ------------------- HEADER ------------------- */
.header {
	padding: 0;
}

.header .entete {
  color: purple;
  float: left;
  font-family: 'Spicy Rice', cursive;
  font-size: 28px;
  font-weight: 100;
  margin: 0;
  text-align: center;
  width: 20%;
}

.header .title {
  color: orange;
  font-family: 'hippie movement';
  font-size: 100px;
	margin: 0;
  text-align: center;
	text-shadow: 3px 3px 0 #fff,
				 -1px -1px 0 #fff,  
				 1px -1px 0 #fff,
				 -1px 1px 0 #fff,
				 1px 1px 0 #fff;
}

@media screen and (max-width: 768px) {
  .header .title {
    font-size: 40px;
  }
}

.login-bar  {
  background-color: orange;
  border-bottom: 1px solid #F8711F;
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .52);
	height: 43px;
}

.login-bar form {
  float: left;
  font-size: 12px;
  height: 33px;
  margin: 0;
  width: 40%;
}

.navigation {
  float: left;
  width: 40%;
}

.navigation ul {
	float: left;
  height: 43px;
}

.navigation ul li {
	display: inline-block;
  position: relative;
}

.navigation ul li a {
	background-color: transparent;
  color: purple;
  font-weight: bold;
}

.navigation ul li a span.Icon {
  float: left;
  height: 23px;
  margin: 11px 0 0 10px;
  width: 23px;
}

.navigation ul li a .Icon.Icon--home::before {
	content: '°';
  font-family: 'hippie movement';
  font-size: 22px;
}

.navigation ul li a span.Icon .fa-comments {
  position: absolute;
  top: 14px;
}

.navigation ul li a span.Icon .fa-comments:before {
  font-size: 22px;
}

.navigation ul li a span.text {
	float: left;
  margin-left: 3px;
  margin-top: 17px;
  padding: 0;
}

.navigation ul li a span.count {
	background-color: #fff;
  border-radius: 8px;
  color: #F8711F;
  font-size: 11px;
  height: 20px;
  left: 21px;
  line-height: 17px;
  margin: 0;
  position: absolute;
  text-align: center;
  text-shadow: none;
  top: 6px;
  z-index: 100;
}

.navigation ul li a span.count[data-qtt="0"] {
  display: none;
}

.navigation ul li a span.count span.count-inner {
  border: 2px solid #F8711F;
  border-radius: 7px;
  display: block;
  background-color: white;
  line-height: 16px;
  width: 16px;
  height: 16px;
	box-sizing: content-box;
}
.login-bar form {
	padding-right: 28px;
}

.login-bar .js-div-connect {
	height: 43px;
	display: none;
}

.login-bar input[type="text"],
.login-bar input[type="password"] {
	display: block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 0;
	height: 32px;
	padding: 0;
	margin-top: 5px;
	margin-right: 15px;
	font-size: 12px;
	line-height: 1;
	color: #292f33;
	background-color: #f5f8fa;
	border: none;
	border-radius: 21px;
	transition: all .2s ease-in-out;
	float: right;
}

.login-bar input[type="text"] {
	display: none;
}

.login-bar input[type="password"]:focus {
	color: #292f33;
    text-shadow: none;
    background-color: #fff;
    box-shadow: none;
    opacity: 1;
    -ms-filter: "alpha(opacity=100)";
}

.login-bar input[type="password"] {
    width: 200px;
    padding: 5px 27px 6px 12px;
    border: 1px solid #e1e8ed;
}

.connect-button {
	float: right;
	position: relative;
	display: block;
	height: 32px;
	padding: 0 7px 0 8px;
	margin-top: 5px;
	margin-right: 0;
	
	background-repeat: no-repeat;
	border: 1px solid transparent;
	border-radius: 4px;
	opacity: 1;
	-ms-filter: "alpha(opacity=100)";
	
	color: #fff;
	line-height: 1;
	font-size: 14px;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	
	cursor: pointer;
	
	transition: all .15s ease-in-out;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

@media screen and (min-width: 1236px) {
	.connect-button {
		padding: 0 13px 0 14px;
	}
}

.connect-button,
.connect-button:focus {
	background-color: #F8711F;
	background: rgba(248,113,21,.8);
}

.connect-button:hover,
.connect-button:active {
	background-color: #F8711F;
}
	
.connect-button .text {
	position: absolute;
	overflow: hidden;
	width: 1px;
	height: 1px;
	padding: 0;
	border: 0;
	clip: rect(1px,1px,1px,1px);
}

@media screen and (min-width: 1236px) {
	.connect-button .text {
		float: left;
		margin-left: 3px;
		margin-top: 5px;
		position: static;
		overflow: visible;
		width: auto;
		height: auto;
		clip: auto;
	}
}

.connect-button .Icon {
	float: left;
	margin: 0;
	width: 23px;
	height: 23px;
	font-size: 24px;
	left: 0;
	opacity: 1;
	-ms-filter: "alpha(opacity=100)";
	position: relative;
	top: -2px;
}

.connect-button .Icon:before {
	content: '°';
	font-size: 22px;
	font-family: 'hippie movement';
	-webkit-font-smoothing: antialiased;
	display: block;
}


/* ------------------- STRUCTURE ------------------- */
.container {
    max-width: 1014px;
    margin: auto;
    min-width: 768px;
}

.aside {
    width: 200px;
    padding-top: 0;
    padding-bottom: 0;
}

/* ------------------- MEMBRES ------------------- */
nav {
	border-color: orange;
    border-width: 5px;
    border-style: solid;
    border-radius: 10px;
    background-color: white;
}

ul.member > li {
    color: purple;
    font-weight: bold;
	margin-bottom: 10px;
}

.famille {
    padding-left: 5px;
}

.famille li {
    color: black;
    font-weight: normal;
}

[data-niveau="2"], [data-niveau="3"] {
    position: relative;
}
[data-niveau="2"] {
    padding-left: 10px;
}
[data-niveau="3"] {
    padding-left: 20px;
}
[data-niveau="2"]::before, [data-niveau="3"]::before {
    content: " ";
    width: 0;
    height: 21px;
    position: absolute;
    left: 4px;
    opacity: 0.8;
    border-left: 1px solid orange;
    top: -2px;
}
[data-niveau="3"]::after {
    content: " ";
    width: 0;
    height: 21px;
    position: absolute;
    left: 14px;
    opacity: 0.8;
    border-left: 1px solid orange;
    top: -2px;
}

.famille li i {
	color: orange;
	width: 11px;
}

.famille li a {
    margin-left: 5px;
    text-decoration: none;
}

.famille li a.active {
	color: orange;
}

.famille li img {
	cursor: pointer;
	width: 12px;
}

#main {
  border-color: orange;
  border-width: 5px;
  border-style: solid;
  border-radius: 10px;
  background-color: white;
}

.footer {
  min-width: 768px;
  max-width: 1014px;
  margin: auto;
  padding-right: 0;
}

.footer p {
	background-color: orange;
  color: white;
  border-radius: 5px;
}

.footer a {
  color: white;
}


/* ------------------- ACCUEIL  ------------------- */

.accueil {
	text-align: center;
    font-size: 22px;
    margin-bottom: 15px;
    color: #F8711F;
    font-family: 'Spicy Rice', cursive;
}

/* ------------------- FICHE ------------------- */

.fiche,
.fiche input{
  color: #484848;
}

.fiche .gestion {
	margin-bottom: 20px;
}

.fiche .gestion .gestion {
	margin-top: 20px;
	display: none;
}

.fiche .gestion .gestion label {
  margin: 0;
}

.fiche .gestion .gestion .info {
  color: darkblue;
  font-weight: bold;
}

.fiche .gestion p {
  color: #f8711f;
  font-weight: bold;
}

.fiche .gestion textarea {
  width: calc(100% - 95px);
  border: 1px solid orange;
  border-radius: 5px;
  margin-top: 0;
  padding: 5px;
}

.fiche .gestion .cadeau_input {
  width: calc(100% - 90px);
  display: inline-block;
}

.fiche .gestion .cadeau_input.commun {
  width: 100%;
}

.fiche .gestion input[type=text],
.fiche .gestion input[type=password]{
  border: 1px solid orange;
  border-radius: 5px;
  padding: 5px;
  width: 100%;
  margin-bottom: 15px;
}

.fiche .gestion .cadeau_select {
  display: inline-block;
  width: 85px;
  vertical-align: top;
}

.fiche .gestion select {
  border: 1px solid orange;
  border-radius: 5px;
  height: 175px;
}

.fiche .gestion .cadeau_radio {
  display: inline-block;
  width: calc(50% - 95px);
}

.fiche .gestion .cadeau_radio p {
  display: inline-block;
}

.fiche .gestion_password form {
  text-align: right;
}

.fiche .gestion_password .error {
  font-weight: normal;
  color: red;
  margin: -15px 0 15px;
  text-align: right;
  font-size: 12px;
}

.fiche .gestion_password #check_new_mdp {
  display: none;
}

.fiche .menu {
	text-align: center;
}

.fiche .menu button {
	background-color: #F8711F;
	text-align: center;
}

.fiche .menu button i {
	color: white;
	margin: 0;
}

.fiche .maj {
    margin-bottom: 10px;
    font-size: 12px;
}

.fiche .maj.warning {
    color: orange;
}

.fiche .note {
	border: 1px solid orange;
	border-radius: 5px;
	text-align: center;
}

.fiche h1 {
	color: #F8711F;
	font-family: 'Spicy Rice', cursive;
	margin: 0;
	text-align: center;
}

.fiche h2 {
	color: #F8711F;
	font-family: 'Spicy Rice', cursive;
	font-size: 24px;
	font-weight: normal;
	margin: 0;
	text-align: center;
}

.fiche h3 {
	color: #F8711F;
	font-size: 18px;
	margin: 0;
	font-family: hippie movement;
	font-weight: normal;
}

.fiche ul {
	margin: 0 0 10px 0;
	padding-left: 15px;
}

.fiche li {
	list-style: none;
}

.fiche li:hover {
    color: orange;
}

.fiche .btn_icon {
  display: inline-block;
  width: 13px;
}

.fiche label {
  margin: 0;
}

.fiche i {
	margin-right: 5px;
	color: orange;
	position: relative;
	width: 13px;
}

.fiche li span.quantity {
    color: orange;
    margin-right: 5px;
}

.fiche i.fa.fa-circle-thin:before {
    font-size: 14px;
}

.fiche span {
  cursor: pointer;
}

img.tooltip {
  max-width: 250px;
  max-height: 500px;
}

.fiche .edit_present,
.fiche .edit_presentc {
  display: none;
  border: 1px solid orange;
  padding: 15px;
  border-radius: 5px;
  margin-top: 0;
}

.fiche li:hover .text_comment,
.fiche li:hover textarea {
    color: #484848;
}

.fiche .text_comment_wrapper {
	margin-left: 15px;
	display: none;
}

.fiche .text_comment_autor {
    font-size: 12px;
}

.fiche .text_comment_content {
    padding: 5px;
    border: 1px solid orange;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
}

.fiche .text_comment {
	text-align: right;
}

.fiche .text_comment textarea {
	border: 1px solid orange;
    border-radius: 5px;
    display: block;
    margin: 0 0 0 15px;
    width: calc(100% - 15px);
}

.fiche .text_comment_autor,
.fiche .text_comment_content {
	text-align: left;
}

.fiche .text_comment button {
    margin-top: 15px;
}

.fiche .strike span.libelle {
	text-decoration: line-through;
}

.fiche .orange span.libelle {
	color: orange;
}

.fiche .strike.unique,
.fiche .disabled,
.fiche .disabled i {
	color: lightgrey;
}


/*

FORUM

*/

.discussion {
  color: #484848;
}

.discussion h1 {
  color: #F8711F;
  font-family: 'Spicy Rice', cursive;
  font-weight: normal;
  text-align: center;
}

.new_subject_wrapper {
  margin-top: 10px;
  display: none;
}

.discussion .message {
  height: 50px;
  resize: vertical;
}

.discussion .title,
.discussion .message {
  width: 100%;
  border: 1px solid orange;
  border-radius: 5px;
  padding: 5px;
}

.button:hover {
  opacity: 1;
}

.discussion .button {
  background-color: orange;
}

.new .fa {
  margin-right: 5px;
}

.subject_list_wrapper {
  margin-top: 30px;
}

.subject_wrapper {
  cursor: pointer;
}

.subject {
  background-color: #B8D5E3;
  border: 1px solid #85B7D0;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 5px;
}

.subject_title {
  display: inline-block;
  width: 100%;
  font-weight: bold;
  color: #F8711F;
}

.subject_title .fa-eye-slash {
    float: right;
}

.subject_title .fa-certificate {
    margin-right: 5px;
}

.subject_autor, .subject_date, .subject_answer {
  font-size: 12px;
}

.answer_wrapper,
.comment {
	display: none;
}
.answer {
	margin-left: -6px;
	margin-right: -6px;
	padding: 5px;
}

.answer:first-child p {
	display: none;
}

.answer p {
	font-size: 12px;
	margin-bottom: 5px;
}

.answer div {
	margin-left: 10px;
	background-color: white;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid orange;
}

.comment {
    margin-top: 20px;
    text-align: right;
}

.comment textarea {
	border: 1px solid orange;
	border-radius: 5px;
	height: 26px;
	margin: 0 5px 0 0;
	padding: 5px;
	width: calc(100% - 95px);
}