/* Styles for yeswiki's template
 * Author: Anne-Line Colombo
 * under GNU General Public License
 */

@import url("https://fonts.googleapis.com/css?family=RobotoDraft:400,500,700,400italic");
body {
  font-family: 'Merriweather', serif;
  font-size: 15x;
  line-height: 1.42857143;
  color: #333333;
  background-color: #ffffff;
  padding-top: 100px;
}



a, a:hover, .btn-link, .btn-link:active, .btn-link:focus, .btn-link:hover {
  color: #79b51c;
}

.alert-info {
    color: #767676;
    background-color: #f9f9f9;
    border-color: #79b51c;
    margin-bottom: 10px !important;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background-color: #79b51c;
}

.nav-pills > li > a {
    border-radius: 3px;
    color: #fff;
    background-color: #79b51c;
    height: auto !important;
    padding: 5px 10px 5px 10px;
}

.btn-primary {
    color: #fff;
    background-color: #d0547b;
    border-color: #d0547b;
}

.btn-primary:hover {
    color: #fff;
    background-color: #be4269;
    border-color: #be4269;
}

.btn-default {
    color: #fff;
    background-color: #d0547b;
    border-color: #d0547b;
}

.btn-default:hover {
    color: #fff;
    background-color: #be4269;
    border-color: #be4269;
}

.btn-success {
    color: #fff;
    background-color: #79b51c;
    border-color: #79a534;
}

.btn-success:hover {
    color: #fff;
    background-color: #79a534;
    border-color: #79b51c;
}

.btn-group-xs > .btn, .btn-xs {
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}

.btn-warning {
  background-color: #c80f3a !important;
}

.btn-danger {
    color: #fff;
    background-color: #db0e3d;
    border-color: #db0e3d;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c80f3a;
    border-color: #c80f3a;
}

.btn-info {
    color: #fff;
    background-color: #d0547b;
    border-color: #d0547b;
}

.btn-info:hover {
    color: #fff;
    background-color: #d0547b;
    border-color: #d0547b;
}

.btn {
  margin: 0px 0px 2px 0px;
  border: 0px;
}

.btn-toolbar {
  margin-bottom:10px;
}

.btn-toolbar .btn-default {
  color: #fff;
  background-color: #d0547b;
  border-color: #d0547b;
}

.btn-toolbar .dropdown-menu {
  width: auto;
}

.search-btn {
  margin: 0px;
  border: 0px;
  padding: 4px 8px 3px 8px;
  font-size: 12px;
}

.navbar-btn {
  background-color: transparent;
}

.dropdown-toggle {
  background-color: transparent;
  color: #d0547b;
}

#rapidehaut .dropdown-toggle {
  background-color: #d0547b;
  padding: 2px 5px 2px 5px;
  color: #ffffff;
  margin-top: 8px;
}

.well, .jumbotron {
  background-color: #79b51c;
  box-shadow: none;
  border: none;
}

.form-actions .btn-primary {
    color: #fff;
    background-color: #79b51c;
    border-color: #79a534;
}

.form-actions .btn-primary:hover {
  color: #fff;
  background-color: #6faa13;
  border-color: #6faa13;
}

.aceditor-btn-save {
    color: #fff;
    background-color: #79b51c;
    border-color: #79a534;
}

.aceditor-btn-save:hover {
    color: #fff;
    background-color: #6faa13;
    border-color: #6faa13;
}

.form-actions .btn-default {
  color: #fff;
  background-color: #db0e3d;
  border-color: #d43f3a;
}

.form-actions .btn-default:hover {
  color: #fff;
  background-color: #c80f3a;
  border-color: #d43f3a;
}


/* Titres */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

h1 {
  font-size: 36px;
  color: #d0547b;
}

h2 {
  font-size: 30px;
  color: #79b51c;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 21px;
}

/* Champ de recherche */



/* .form-group .form-control */
.navbar-form .input-group > .form-control {
    display: block;
    width: 100%;
    height: 24px;
    padding: 6px 12px;
    font-size: 10px;
    line-height: 1.42857143;
    color: #ffffff;
    background-color: #f3f3f3;
    background-image: none;
    border: 0px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    background-color: #79b51c;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

/* Menu vertival */

.vertical-dropdown-menu li {
    list-style-type: none;
}

.vertical-dropdown-menu ul {
    padding-left: 0px;
}

.vertical-dropdown-menu li a {
    color: #ffffff;
    background-color: #79b51c;
    padding: 10px 20px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.vertical-dropdown-menu li a:hover {
    color: #ffffff;
    background-color: #d0547b;
    text-decoration: none;
}


/* Conteneur principal de la page Wiki */

#yw-container {
  background-color: #ffffff;
  color: #212121;
}

.container {
  max-width: 1100px;
  position: relative;
}

.navbar-default-first .container {
  position: relative;
}

#yw-container.yw-fixed, #yw-container.yw-responsive {
  margin-top: 15px;
  margin-bottom: 15px;
  -moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26);
}

/* on limite la taille des conteneurs pour les squelettes fixed */
@media (min-width: 980px) {
  .yw-fixed, .yw-fixed .container {
    max-width: 980px;
  }
}

/* Logo */

#logoHaut {
  position: absolute;
  top: 0px;
  left: -10px;
  max-width: 500px;
  z-index: 500;
}

#logoHaut img {
  max-width: 500px;
  height: auto;
  z-index: 500;
}

#logoHaut a:hover {
  background-color: transparent;
}


/* Menus */

#yw-header {
  background-color: #ffffff;
}

#navbar-default-first {
  background-color: #ffffff;
  border: 0px;
  padding: 0px;
  margin: 0px;
}

#navbar-default-second {
  background-color: #79b51c;
  border: 0px;
  padding: 0px;
  margin: 0px;
}

.enligne {
  margin-top: -30px;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #79b51c !important;
}

.navbar-nav > li > a {
  padding-top: 0px;
  padding-bottom: 0px;
}

.nav > li > a:focus, .nav > li > a:hover {
  background-color: #d0547b;
  color: #fff;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus {
    color: #ffffff;
    background-color: #79a534;
}

.navbar-default .navbar-nav > .open > a:hover {
    color: #555;
    background-color: #d0547b;
}

#yw-topnav .navbar-nav > .open > a:hover, #yw-topnav .dropdown-menu > li > a {
    color: #ffffff;
    background-color: #79b51c;

}

#yw-topnav .dropdown-menu > li:last-child > a {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#rapidehaut .dropdown-menu {
  background-color: #ffffff;
  margin-top: -1px;
  min-width: 160px;
}

#rapidehaut .dropdown-menu > li > a {
    color: #2d2d2d;
    background-color: #ffffff;
    font-size: 13px;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-nav > li {
    float: left;
    max-width: 130px;
    text-align: center;
}

#rapidehaut .enligne:first-child li, #rapidehaut .enligne:first-child ul, #rapidehaut .enligne:first-child
{
  display : inline-block;
}

#rapidehaut ul:first-child li, #rapidehaut ul:first-child
{
  display : inline-block;
}

#rapidehaut .enligne li
{
  margin-right: 20px;
}
#rapidehaut
{
  text-transform : uppercase;
  color:#79b51c;
  background-color: transparent;
}
#rapidehaut a
{
  color:#79b51c;
  font-size: 14px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

#rapidehaut a:first-child
{
  padding: 11px 5px 11px 5px;
  margin-bottom: -5px;
}

#rapidehaut .enligne li
{
  margin-right: 20px;
}

.navbar-default .navbar-nav>li>a {
  text-transform: uppercase;
  color: #FFF !important;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: 0px;
}

.nav > li > a {
  height: 70px;
  vertical-align:middle;
  display: table-cell;
  line-height: 1.25;
}

#yw-topnav {
  margin: 0 0 0px;
  -webkit-border-radius: 0;
  border-radius: 0;
  border: 0;
/*  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.26); */
  background-color: #79b51c;
}

#yw-topnav .dropdown-menu a {
  color: #ffffff;
  text-transform: uppercase;
  font-family: "Oswald";
  font-size: 15px;
}

.yw-fixed #yw-topnav, .yw-responsive #yw-topnav {
  margin: 0 -15px 15px; /*marge negative pour compenser le conteneur principal*/
}

#yw-topnav .navbar-nav > .open > a, #yw-topnav .navbar-nav > .open > a:focus, #yw-topnav .dropdown-menu > li > a:focus, {
    color: #ffffff;
    background-color: #79b51c;
}

#yw-topnav .navbar-nav > .open > a:hover, #yw-topnav .dropdown-menu > li > a:hover {
    color: #ffffff;
    background-color: #d0547b;
}

.navbar-default .navbar-nav > .open > a:hover {
    color: #555;
    background-color: #79a534;
}

#yw-topnav .active-parent-link, #yw-topnav .active-link, #yw-topnav .active a {
  background: #79a534 !important;
  color:#ffffff;
}

#yw-topnav a:hover {
  background-color: #79b51c;
  color:#ffffff;
  text-decoration: none;
}

#yw-topnav .dropdown-menu > li > a {
  padding-left: 10px;
  padding-right: 10px;
  white-space: normal;
}

.dropdown-menu {
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  margin: 0px 0 0;
  font-size: 15px;
  text-align: left;
  list-style: none;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  border-top: 1px;
  min-width: 130px;
  width: 100%;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #79b51c;
    text-decoration: none;
    outline: 0;
    background-color: #ffffff;
}


/* le menu devient fixe qunad on scrolle plus bas dans la page */
.yw-responsive #yw-topnav.affix, .yw-fixed #yw-topnav.affix {
  right: auto;
  left: auto;
  z-index: 3;
}

/* on decalle le contenu vers le bas pour eviter un saut */
#yw-topnav.affix + #yw-main {
  margin-top: 65px;
}

/* Partie centrale de la page Wiki */
#yw-main {
  position: relative;
  min-height: 400px;
  padding-top: 50px;
}

/* Barre de rédaction */
.footer {
  font-size: 0.9em;
  margin: 15px 0;
  padding: 0;
  text-align: center;
}
.footer a {
  color: #212121;
  padding: 5px 10px;
  text-decoration: none;
  display: inline-block;
  margin: 0;
}
.footer a:hover {
  text-decoration: none;
}

/* Pied de page */
#yw-footer {
  background-color: #f4f4f4;
  color: #212121;
  padding: 30px 0px 0px 0px;
}
#yw-footer a, #yw-footer a:hover {
  color: #212121;
  font-weight: bold;
}
.yw-fixed #yw-footer, .yw-responsive #yw-footer {
  margin: 0 -15px; /*marge negative pour compenser le conteneur principal*/
}

.footer-default-first {
  width: 100%;
  background-color: #79b51c;
  height: 45px;
  text-align: center;
  padding-top: 15px;
  font-family: 'Open Sans';
  text-transform: uppercase;
  font-size: 10px;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-default-second {
  width: 100%;
  background-color: #ffffff;
  color: #878789;
  text-transform: uppercase;
  font-size: 9px;
  text-align: center;
  padding-top: 10px;
  height: 55px;
}

.yw-footer .container {
  position: relative;
}

#logoAmma {
  position: absolute;
  margin-left: 0px;
}


/* Couleurs pour FontAwsome */

.pink {
  color: #d0547b;
}

.well {
  color: #fff;
}

.well a {
  color: #fff;
  text-decoration: underline;
}

.sansespace {
  margin-top:-60px;
}

/* Accordéons */

.accordion-group .panel-title::after {
    margin-top: 0.2em !important;
    color: #79b51c;
}
