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

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/

#fav-container {
  margin-top: 0px;
  margin-bottom: 0px;
}
/*#fav-navbarwrap.container-fluid {
  display: none;
}*/

/* Liens */
a.pathway, p a, p a:hover, p a:focus, span a, span a:hover, span a:focus {
  text-decoration: underline;
}
p.readmore a {
  text-decoration: none;
}
/* Topbar */
#fav-topbar1 > div{
  float: left;
  padding-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}
#fav-topbar6 > div{
  float: right;
  padding-left: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.search > form {
  margin: 0 0 0px;
}
input#mod-search-searchword93 {
  width: 72%;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 18px;
  border: 0px;
}
div.search > form > input.button {
  background-color: #f6f7f9;
  height: 18px;
}
input#modlgn-username, input#modlgn-passwd {
--  width: 80%;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  -webkit-border-top-right-radius: 4px;
  -webkit-border-bottom-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -moz-border-radius-bottomright: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  height: 18px;
  border: 0px;
}
#form-login-username, #form-login-password, #form-login-remember, #form-login-submit, .login-greeting, .logout-button {
  float: left;
  margin-left: 5px;
  margin-bottom: 0px;
}
#form-login-remember {
  margin-top: 0px;
  display: none;
}
#form-login-remember label.control-label {
  margin-left: 5px;
  color: #FFFFFF;
}
#form-login-remember #modlgn-remember {
  margin-top: 6px;
}
.userdata > ul {
  display: none;
}
#form-login-username > div > div > span, #form-login-password > div > div > span{
  padding: 4px 6px;
  height: 18px;
  border: 0;
}
#form-login-submit .btn-primary, div.logout-button input.btn {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 2px 12px;
}
div.logout-button {
  margin-top: 0px;
}
#form-login-submit button.btn-primary , div.logout-button input.btn-primary {
    color: #333333;
    background-color: #fff;
}
#form-login-submit button.btn-primary:hover, #form-login-submit button.btn-primary:focus, div.logout-button input.btn-primary:hover, div.logout-button input.btn-primary:focus {
    color: #333333 !important;
    background-color: #fff;
}
.login-greeting{
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .login-greeting, #form-login-username, #form-login-password {
    display: none;
  }
  #mod-search-searchword93 {
    display: none;
  }
  div.search > form > input.button {
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-left: 0px;
  }
}

/* Bandeau */
#fav-headerwrap, #fav-copyrightwrap {
  background-color: #F4F6F7;
}
.default-logo, .media-logo {
  margin-top: 0;
}
.default-logo img, .media-logo img {
  max-height: 80px;
  margin-right: 10px;
  float: left;
}
@media (max-width: 768px) {
  .default-logo img, .media-logo img {
    max-height: 50px;
  }
  #fav-logomobile > h1 {
    line-height: 20px;
  }
}
@media (min-width: 1200px) {
  #fav-logo h1 {
    float: left;
  }
  .text-logo {
    padding-top: 8px;
  }
}

/* Menu */
.navigation > div:nth-child(1) > ul:nth-child(1) > li:nth-child(1) {
  display: none;
}
.moduletable h3, .page-header h2, h2.item-title, .componentheading, #member-profile legend, div.tag-category ul h3, div.contact-category h2, div.newsfeed h2, div.newsfeed-category h2 {
  margin-bottom: 5px;
  margin-top: 5px;
}

/* Read more */
p.readmore a.btn {
  margin: 0px;
  padding: 4px 12px;
}

/* Copyright */
#fav-copyright1 {
  float: left;
}
#fav-copyright1 > div > ul > li {
  border-left: 2px solid rgb(221, 221, 221);
  padding-left: 5px;
  padding-right: 5px;
}
#fav-copyright1 > div > ul.menuhorizontal li a {
    margin-right: 0px;
}
#fav-copyright2 {
  float: right;
}
#fav-copyright2 > div {
  margin-bottom: 0px;
}
#fav-copyright > p {
  text-align: center;
  margin-top: 10px;
}

/* Featured (Accueil) */
.blog-featured .item .item-image .icons .btn-group {
  z-index: 115;
}
.blog-featured .item .item-image p {
  line-height: 20px;
  margin: 0;
}

/* Box */
.well {
  background-color: #F4F6F7;
}
.well ul {
  margin-bottom: 0px;
}
.page-header {
    margin: 0px 0 10px;
}
.page-header h3 {
  margin: 0px 0;
  line-height: normal;
}
.jaune {
  background-color: #FFFF99 !important;
}

.gris {
  background-color: #F4F6F7 !important;
}

/* Titre articles */
div.leading-0 div.page-header, div.item div.page-header, div.item-page div.page-header {
  background-color: #F4F6F7;
}

/* Boutons d'action */
div.icons {
  margin-top: 14px;
}
ul.dropdown-menu li {
  float: left;
}
ul.dropdown-menu li.details {
  clear: left;
}
.dropdown-menu .details {
  padding: 0px 6px;
}
dl.article-info dd {
  padding: 2px 6px;
  display: block;
}

/* Images articles */
div.items-row > div > div.item > div.pull-left.item-image {
    float: left;
}
@media (max-width: 600px) {
  div.blog > div.items-leading > div.leading-0 > div.pull-left.item-image {
      float: left;
  }
}
.leading-0 .item-image a img, .items-row .item-image a img, .leading-0 .item-image img, .items-row .item-image img {
  max-height: 100px;
}
.img-polaroid, .item-image img, .fav-tags-img {
  padding: 0px;
  border: 0px;
}

/* Evénements */
td.mod_events_latest_first, td.mod_events_latest {
  color: #333333;
}
#fav-note3 div div.mod_events_latest_callink a {
  color: #eeeeee;  
}

/* Web links */
.weblink-category .cat-list-row0, .weblink-category .cat-list-row1 {
    clear: none;
    min-height: 150px;
    width: 300px;
    float: left;
    margin: 0px 10px 10px 0px;
	padding: 4px 5px;
    border: 1px solid #e3e3e3;
    background-color: #F4F6F7;
}
.weblink-category .cat-list-row0 .list-edit, .weblink-category .cat-list-row1 .list-edit {
  float: right;
}
.weblink-category .cat-list-row0 .list-title, .weblink-category .cat-list-row1 .list-title {
font-weight: 500;
min-height: 28px;
}
.weblink-category .img-intro-right {
  float: left;
}
.weblink-category .img-intro-right > img{
  max-height: 100px;
  max-width: 100%;
  margin-right: 5px;
  margin-bottom: 5px;
}


/* Documents */
#overDiv .pd-fdesc, #phoca-dl-category-box .pd-fdesc, #phoca-dl-file-box .pd-fdesc, #phoca-dl-download-box .pd-fdesc {
  clear: left;
}
.pd-button-details a.btn, .pd-button-download a.btn {
  padding: 2px 12px;
}

/* Sidebar */
#fav-sidebar2 div.moduletable {
--  background-color: #F4F6F7;
--  margin-top: 24px;
  margin-bottom: 24px;
} 

/* Agenda */
#fav-note1 div.moduletable div.mod_events_latest_callink a, #fav-note2 div.moduletable div.mod_events_latest_callink a {
  color: #eee;
}

/* Quinzaine */
div.newsflash div.item-image {
  margin: 0px 0px 0px 0px;
}

/* Quinzaine */
#fav-sidebar2 div.moduletable .newsflash .newsflash-title, #fav-note1 div.moduletable .newsflash .newsflash-title, #fav-note2 div.moduletable .newsflash .newsflash-title, #fav-note3 div.moduletable .newsflash .newsflash-title, #fav-note4 div.moduletable .newsflash .newsflash-title {
  padding: 0px 0 0px;
  margin: 5px 0;
}
#fav-note2 div.moduletable .newsflash .newsflash-title a, #fav-note3 div.moduletable .newsflash .newsflash-title a, #fav-note4 div.moduletable .newsflash .newsflash-title a {
  color: #eee;
}

#fav-note4 div.moduletable ul li a{
  color: #eee;
}

/* Contact */
div.contact .dl-horizontal::after {
  clear: left;
}
div.contact span.contact-fax::before, div span.contact-fax::before {
    content:url(/images/pictos/picto_fpf.png)
}

/* Trombinoscope */
div.contact-category form ul.category.row-striped {
    list-style-type: none;
    margin-left: 0;
}
div.contact-category form ul.category li {
  margin-left: 0px;
  padding: 8px;
  float: left;
  clear: none;
  height: 150px;
  width: 295px;
  border: 1px solid #DDD;
}
div.contact-category form ul.category li.row-fluid div a img {
  width: 60px;
}
.category .cat16 {
    background-color: #CCEEFF;
}
.category .cat17 {
    background-color: #CCCCFF;
}
.category .cat18 {
    background-color: #FFCCEE;
}
.category .cat53 {
    background-color: #FFFFCC;
}
ul.category > li .position, dl.contact-position  dd.position {
    color: green;
}

/* Images aléatoires */
div.random-image img {
    max-height: 350px;
}

/* iframe images projetées */
#blockrandom {
    margin-bottom: 0px;
    border: 0px;
}

/* Mobile */
@media (max-width: 768px) {
  h1, h2, h3, .text-logo {
    font-size: 20px !important;
  }
}