/*
/   name           Favourite
/   version        4.1
/   description    Responsive and customizable Joomla!3 template
/   demo           http://demo.favthemes.com/favourite
/   author         FavThemes
/   author URL     https://www.favthemes.com
/   copyright      Copyright (C) 2012-2017 FavThemes.com. All Rights Reserved.
/   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/
body {
 font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; /* default font */
  line-height:1.4em;
  background-repeat:no-repeat!important;
}
hr {
  border-top: 1px solid #aaa;
}
h1 {
    background-color: #FFF6DE;
    font-size:200%;
    line-height: 100%;
    color: #823a00;
    padding:0;
}
#fav-logo h1 {  /***** cerner et ombrer le texte  ***/
    background:none;
  /*text-shadow: -2px 2px 4px #0a0a0a;*/
  text-shadow:0 0 4px #C0FFC0, -1px 1px #E6FFE6, -2px 2px 5px #0a0a0a;
  /*text-shadow: 0 0 4px white, 0 -5px 4px #C0FFC0, 2px -10px 6px #2AA335, -2px -15px 11px #114011;*/
}
#fav-logo h1 a:hover{
  
}
#fav-logomobile h1 {  /*** pour portables **/
  background:none;
  margin-top:0;
  padding:0.4em 0 0 0;
  margin-bottom:-1em;
}
#fav-logomobile h1 a  {  /*** pour portables **/
  color:#86BA8D;
  margin-top:0.3em;
  margin-left:0.9em;
  font-size:1em;
  font-family:Caveat;
}
#fav-logomobile a  {  /*** pour portables **/
  color:#86BA8D;
  margin-top:0!important;
  margin-left:0.9em;
  font-size:1.5em;
  font-family:Caveat;
}
.auto-resizable-iframe iframe {
    width: 100%;
}
/************ pour les portables et PC******************/
@media screen and (min-width: 760px) {
  #fav-logo h1 a.text-logo { 
    visibility:hidden!important;
    display:none!important;   /* pas de texte sur PC*/
    height:0;
  }
  #fav-logo a.text-logo { 
    visibility:hidden;
    display:none!important;   /* pas de texte sur PC*/
    height:0;
  }
}
@media screen and (max-width: 760px) {
  #fav-logomobile h1 img {
    visibility:hidden;
    display:none;    /* pas d'image sur mobile*/
  }
  #fav-logomobile img {
    visibility:hidden;
    display:none;    /* pas d'image sur mobile*/
    height:0;
  }
    #fav-logomobile img a{
      height:0;
  }
  #fav-logomobile h1 a { 
    visibility:visible;
    margin-top:0;
  }  
}
/* ecrire plus gros pour ecrans moyens */
@media screen and (min-width: 450px) and (max-width: 750px) {  
#fav-logomobile h1 a { 
  margin-left:2.5em!important;
  margin-top:0!important;
  font-size:1.5em!important;
}
#fav-logomobile a { 
  margin-left:2.5em!important;
  margin-top:0!important;
  font-size:2em;
}
} 
H2 {
  /*color:#f8873c;*/
  color:#823a00;
  font-size:22px;
  font-weight: bold!important;
}
H3, .fav-container h3 {
  color:#823a00;
  font-size:18px;
 /* font-weight: bold!important;*/
  text-transform:none!important;
  margin: 15px 0 8px 0;
}

/************ pour les portables ******************/
@media screen and (max-width: 768px) {
  H1 { font-size:22px!important;}
  H2 { font-size:18px!important;}
  H3 { font-size:14px!important;} 
  .fav-container h3 { font-size:14px!important;}
  .blog h2 { font-size:18px!important;}
}
/************ pour les tablettes ******************/
@media screen and (max-width: 980px) and (min-width: 730px) {
  #fav-header {background-image:none!important;}
  .favnav ul.nav {margin-right:0!important;}
  #fav-user1 { margin-left:-10px!important;padding-left:0!important;top:95px!important;}
}  
#fav-header {
  background-image: url(../images/france_drome1.gif);
  background-repeat: no-repeat;
  background-position: top right;
 
}
#fav-logo {
  width:100%;
  padding: 2px 0;
}
#fav-logo h1 a {
    text-align: center;
}
#fav-logomobile {
    margin: 5px 0 0 10px;
}

.slogan {   /* slogan a cote du logo sur la meme ligne */
    display:block;
}
#fav-userwrap {
  background:transparent;
}
/****** pour le bouton j'aime **************************/
@media screen and (max-width: 760px) { /**** si portable **/
#fav-user1 {   /****** pour le bouton j'aime ***/
  position:absolute;
  top:40px!important;
  left:10px;
  width:150px;
  max-height:40px;
  }
}
@media screen and (min-width: 760px) { /**** si sur PC **/
#fav-user1 {   /****** pour le bouton j'aime ***/
  position:absolute;
  top:70px;
  }
}   /***************************************/
#fav-topbarwrap {
  background:transparent;
  border:none!important;
  margin-bottom:-20px;
}
#fav-maintopwrap {
  background:transparent;
  height:auto;
}
#fav-maintop {
  padding:0;
}
#fav-mainbottomwrap, #fav-footerwrap {
  background:transparent;
  height:auto;
}
#fav-mainwrap {
  background:transparent;
}
#fav-main {
 /* background-color:#e6e6e6;*/
  background-color:white;  /* actuel */
  /*
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-right: 1px solid #448969; */
  border:1px solid #448969; 
  border-radius: 10px;
  box-shadow: -2px 2px 10px gray;
}
/*****************************************/
/*   menu                           */
/*****************************************/
#fav-nav{
  clear:both;
  /*float:left!important;*/
  /*width:100%;*/
  float:right!important;
  width:auto;
  text-align:center;
} 
.favnav {
 /* float:left!important;*/
  float:right!important;
  padding-left:1px;
}
.favnav ul.nav li, .favnav ul.nav li li, .favnav ul.nav li li li, .favnav ul.nav li li li li {
    line-height: 1.2em;
    padding: 0 4px;
}
.favnav ul.nav {
  /*margin-top:5px; */
  float:right;
  margin-right:70px;
  display:table;
}
.favnav ul.nav > li > a {   /* hauteur du menu  */
 margin:0;
  line-height:1.6em;
  padding: 3px 0px 7px;
 /* background:#BFBEE1;*/
  background:#AEB3FF;
  border-right:1px solid black;
  border-left:1px solid black;
  border-top:1px solid black;
}
#fav-headerwrap {
  border-bottom:none;
}
#fav-headerwrap .favnav li a:hover {   /* au passage de la souris */
  color:white;
  background:#5041B1;
}
.favnav ul.nav ul.nav-child a{  /* sous menu  */
  color:black!important; 
  font-size:12px!important;
}
.favnav ul.nav-child {   /* sous menu  */
  color:black!important; 
/*  margin-top:5px!important;*/
}
ul.menufavth-arrow ul ul.nav-child a{   /* sous-sous-menu gauche pas en majuscule */
  text-transform:none;
}
#fav-headerwrap .favnav li.active a {  /* menu actif  */
  color:white!important;
  /*background:#BFC3FF;*/
  background:#DC0012;
  text-decoration:none;
}
#fav-headerwrap .favnav .nav-child li.active a {   /* sous menu actif */
  color:#eb6910!important; 
/*  margin-top:5px!important;*/
}
#fav-headerwrap .favnav .nav-child li a {   /* sous menu inactif */
  color:black!important; 
}
#fav-navbar-collapse ul ul{
  /*display:block!important;  gene le menu iphone */
}
#fav-topwrap {   /***** pour le menu elevage place artificiellement dans la page***/
  background:transparent;
  margin-bottom:30px;
}
#fav-top1{  
  padding:0;
  text-align:center;
  margin:0 0 -6em 15em;
}
#fav-maincontent {
  min-width:80%;
  border-left:2px solid green;
  padding-top:5px;
}
/************ readmore *************/
p.readmore a.btn {
/* background:#ff9900;*/
/* background:gray;
  color:#ff9900;*/
  padding:5px 24px;
  font-size:14px;
}
/**********************************/
/* images et listes */
p img, .item-image img {
  padding:0;
  background:none;
}
ul, ol {
  padding:0;
  margin:0 0 9px 25px;
  list-style-type:disc;
}
/**********titre des modules affiches a gauche *************/
div.moduletable_cat-title, .moduletable_cat-title h3, .moduletable_cat-title h2 {
   /* background: url(../images/onglet_mauve.gif) no-repeat;*/
    font-size: 1.1em;
    font-weight: normal;
    color: black;
}
.moduletable_cat-title h3, .moduletable_cat-title h2 {
  background-image:linear-gradient(#D3D0E9,#eeedf9);
   font-size: 1.2em;
}
ul.category-module_cat-title {
    /*padding-left: 20px !important;*/
    list-style-image: url(../images/arrow.png);
}
.category-module_cat-title a:link{
text-decoration: none;
}
div.category-list h2, .blog h2 {
    background: #FFF6DE;
    padding: 2px 5px;
  font-size:170%;
}
/*************** slides *******/
#fav-slidewrap {
    padding-top: 0px;
    padding-bottom: 0px;
   /* background-color: #E2ECE7!important;*/
  background:transparent;
}
#fav-slide {
  margin:0 -15px;  /* on triche en debordant pour cadrer le slide..*/ 
}
.moduletable_defilant {  /*** bandeau defilanr **/
  padding:0!important;
  margin:0 -15px;  /* on triche en debordant pour cadrer le slide..*/
  /*min-height:300px;*/
}
/************ nivo pour les portables **********/
@media screen and (max-width: 630px) { /**** si portable **/
.nivo-slider-wrapper {
  min-height:140px;
  }
.nivo-caption {
  display:none!important;
  max-height:22px;
  padding: 2px 10px;
  font-size:11px;
  }
}


/*********** ajouté pour menu elevage avec superfish ****/
.jt-menu {
margin: 10px 0 0 1px !important;
border:1px solid black;
}
.jt-menu li {
background : #c0ffc0 !important;
height:28px;
font-weight:normal !important;
border-top: 1px solid #AEB3FF;
  width:99%;
}
.jt-menu li a{
font-size: 14px !important;
font-weight:normal !important;
height:28px !important;
  padding:0.1em 1em;
  color:black;
}
.jt-menu li li{
border: none;
/*width:auto;*/
width:130%;
  z-index:100;
}
.jt-menu li li a{
font-size: 12px !important;
font-weight:bold !important;
color: black !important;
/*width:125%;
padding: 0 5px !important;*/
}
.jt-menu li.current li a {
  color: black !important;
}
.jt-menu ul ul{
border:1px solid black !important;
}
.jt-menu li.current, .jt-menu li.active{
  background : green !important;
  }
.jt-menu li.current a {
  color: white !important;
}
.jt-menu li li a {
 border-top: 1px solid #AEB3FF;
}
/****************************************/
/*  les sidebars                        */
/****************************************/
#fav-sidebar1 {
  width:20%;
}
@media screen and (max-width: 760px) {
#fav-sidebar1 {  /* rendre invisible */
  visibility:hidden;
  display:none;
  height:0;
   }
}
/************ isa pour les portables **********/
@media (max-width: 979px) {
body {
    background-image: url(../images/isa_mm.gif)!important;
  }
}
/************ pour les portables **********/
@media screen and (max-width: 760px) {
.saufmobiles {  /* rendre invisible */
  visibility:hidden;
  display:none;
  height:0;
   }
.bigmobiles { /* occupe toute la ligne */
  width:100%;
   }
img.bigmobiles { /* centrer */
  float:none!important;
  clear:both!important;
  display: block;
  margin:0 auto!important;
  padding: 5px 0!important;
   }
.moduletable_saufmobiles {  /* rendre invisible */
  visibility:hidden;
  display:none;
  height:0;
   }
 .moduletable_pcseuls div{  /*rendre invisible si pas sur mobile */
  visibility:hidden;
  display:none;
  height:0;
   }
 .mobileseul {
    max-width:200px;
  }
}
@media screen and (min-width: 760px) {
.mobileseul {  /*rendre module invisible sauf sur mobile */
  visibility:hidden;
  display:none;
  height:0; padding:0;
   }
}
/***************** special tablettes *********/
@media screen and (min-width: 760px) and (max-width:1000px) {
 .moduletable_tablettes div{  /*cadrer plus a gauche sur tablettes */
  margin-left:-14px;
   }
}

/********************************************************/

