/* Body */
.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

/*FLEX FOOTER*/
.body-innerwrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#sp-main-body, #sp-slider {
  flex: 1;
} 

/*HEADER*/
#sp-header {
  height:127px !important;
}
/*LOGO*/
.logo img.sp-default-logo {
  min-width: 180px; 
  height : 127px;
}
#sp-title {
  /*position: absolute;
  left: 200px;*/
}
/*TOP3*/
#sp-top3 {
  /*float: right;*/
}

/* TEL*/
.sp-contact-info {
  float: right;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-contact-info li {
  display: inline-block;
  margin: 52px 30px 0 10px;
  font-size: 20px;
}
.sp-contact-info li a {
  color: #333;
}

/*MENU HOME ICON*/
li.sp-menu-item.current-item.active a i.fa.fa-home,
li.sp-menu-item a i.fa.fa-home {
    font-size: 18px !important;
}

/*MENU HEADER*/
#sp-menu {
  min-height: 50px;
 
}
.sp-megamenu-parent >li >a,
.sp-megamenu-parent >li >span {
  display: inline-block;
  padding: 0 12px;
  line-height: 50px;
  letter-spacing: 1px;
}
.sp-megamenu-parent >li >a:hover, li.sp-menu-item.sp-has-child.active a, .sp-megamenu-parent li.sp-menu-item.sp-has-child:hover, .sp-megamenu-parent li.sp-menu-item.current-item.active a {
background-color: #444444;
color : #333
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
  display: block;
  padding: 0;
  margin:0;
  position: relative;
  border-bottom: 1px solid #777;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:first-child {
  display: block;
  padding-top: 0px;
  margin:0;
  position: relative;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:last-child {
  display: block;
  padding-bottom: 5px;
  margin:0;
  position: relative;
  border-bottom: none;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background-color: #444444;
  box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
  padding: 0px;
  font-size : 14px;
  /*width :max-content;*/
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span {
  display: block;
  padding: 8px 15px;
  color: #eee !important;
  cursor: pointer;
  line-height: 1.4rem;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a.sp-group-title,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span.sp-group-title {
  text-transform: uppercase;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a:hover {
  color: #666;

}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a:hover {
  color: #666;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item >a:hover, .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active a {
  background-color: #111111;
  color: #ffffff !important;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a {
  color: #fff;
}

/*BREADCRUMBS HOME OFF*/
sp-breadcrumbs {
display: none;
}

/*MENU OFFCANVAS*/
.slide-top-menu .offcanvas-menu {
  background-color: #111111;
}
#offcanvas-toggler >i {
  color: #111111;
  padding-top: 22px;
}
#offcanvas-toggler >i:hover {
  color: #444444;
}
.offcanvas-menu .offcanvas-inner .sp-module:first-child {
  margin-top: 0;
  padding: 30px 15px;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li {
  border-bottom: 1px solid #666;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li ul {
  background-color: #444444;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li:hover {
  background-color: #111111;
}
p.menutexttoggle {
  font-family: arial, sans-serif;
  color: #111111;
  margin: 0;
  padding : 0;
}

/*HOME CUSTOM*/
section#sp-main-body.homecustom {
  padding: 0;
  margin-bottom: -1px;
}

/*MEDIA QUIERIES*/
@media screen and (max-width: 993px) {
    #sp-header-max-1395px, a#offcanvas-toggler.visible-sm.visible-xs {
    visibility: visible !important;
    display: block !important;
    text-align: center;
  }
  #sp-menu-desktop, #sp-top3, #sp-menu.sp-megamenu-wrapper, #sp-header-desktop, #sp-header-max-1395px .sp-megamenu-parent, #sp-header-menu-devices {
    display:none !important;
}
  #sp-header-max-1395px #sp-logo.hidden-md, #sp-header-max-1395px #sp-title.hidden-md, #sp-header-max-1395px #sp-menu.hidden-md  {
    visibility: visible !important;
    display: block !important;
  }
  #sp-header-menu-devices #sp-menu.visible-sm.visible-xs {
  visibility: visible !important;
    display: block !important;
  }
  #sp-header-max-1395px #sp-menu {
    float: right;
  }
  #offcanvas-toggler {
  font-size: 40px;
  line-height: 20px;
}
p.menutexttoggle {
  font-size: 12px;
  }
}

@media screen and (min-width: 992px) {
/*#sp-bottom {
   padding: 50px 0 140px 0px !important;
}*/
#sp-main-body {
   padding: 20px 20px 30px 20px;
}
#sp-search-devices {
  display: none;
}
#sp-main-body .search {
    padding-bottom: 100px;
}
}

@media screen and (max-width: 991px) {
 #sp-header-max-1395px {
    display: none !important;
}
  #sp-header-menu-devices {
    display: block !important;
}
.offcanvas .offcanvas-menu:active {
  visibility: visible;
  z-index: 9999;
}
#sp-main-body {
  padding: 0px 10px 10px 10px;
}
.entry-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 3.2rem;
}
.page-header {
   margin: 0px 0 15px 0;
   border-bottom:1px solid #ddd;
}
.page-header h1 {
  margin: 0;
}
.flexslider .slides img {
  width: 100% !important;
  display: block;
 margin: 0 auto !important;
}
#sp-slider .container {
  width: 100% !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
#offcanvas-toggler {
  font-size: 30px;
  line-height: 20px;
}
p.menutexttoggle {
  font-size: 11px;
  }
}

/* FLEXSLIDER */
.ps_class_search_search,
.ps_class_search_spinner,
.ps_class_search_clear {
    top: 39px !important;
    right: 0px !important;
  color : #555555;
}
.flexslider .slides img {
  width: auto !important;
  display: block;
 margin: 0 auto;
}
.sp-module ul.slides >li {
  border-bottom: none !important;
}

/* ARTICLES*/
.article-info {
  font-size: 14px;
  margin: 10px 0px 5px -8px;
}
dd.published {
  color: #888888;
}
.entry-header {
  position: relative;
  margin-bottom: 10px;
}
.entry-header h2 {
  margin: 8px 0 0;
  font-size: 29px;
  line-height: 2.6rem;
}
.entry-header h2 a {
  color: #333;
}
.page-header {
    padding-bottom: 9px;
    border-bottom:1px solid #ddd;
}
.page-header h1 {
  color :#397ff0;
}

/* ARTICLES D'UNE CATEGORIE*/
h3.sp-module-title {
  text-transform: none;
  font-weight: 300 !important;
  font-size: 20px !important;
  color: #111111;
  line-height: 2.5rem !important;
}
ul.category-module.mod-list li {
  border-bottom: 1px solid #ccc !important;
}

/*READMORE*/
.readmore {
  padding-top: 9px;
}
.readmore a.btn.btn-default {
    background-color: #dedede;
}
.readmore a.btn.btn-default:hover {
    color: #111111;
    background-color: #bdbdbd;
    border-color: #aaa;
}

/*SEARCH RESULT PAGE*/
.result-title a {
  font-size: 22px;
}
.result-category span.small {
  font-size: 100%;
}
div.search form#searchForm {
  margin-top: 50px;
}
input#search-searchword {
  margin-bottom: 0px;
}
div.btn-group.pull-left label.element-invisible, fieldset.phrases, fieldset .phrases-box {
  display: none !important;
}
.searchintro {
  margin-bottom: 30px;
}
select#limit {
  display: inline-block;
}
fieldset.phrases {
  margin-top: 50px;
}
fieldset.phrases legend {
  font-size: 17px;
}
legend {
  margin-bottom: 0px;
}
p.counter {
    margin: 30px 0 10px;
}
.ordering {
  font-size: 21px;
  font-weight: 800;
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* SHACKSEARCH*/
#sp-right {
  padding-top: 3px;
}
table.ps_results {
  width: 400px !important;
}
.shacksearch_popup .ps_row_0_head .ps_row_0_catlink,
.shacksearch_popup .ps_row_1_head .ps_row_1_catlink,
.ps_link_prev, .ps_link_next {
    font-size: 14px !important;
}
.shacksearch_popup .ps_row_0_innerbody,
.shacksearch_popup .ps_row_1_innerbody,.ps_row_0_readmore, .ps_row_1_readmore {
  padding-bottom: 3px;
  font-size: 14px;
  line-height: 20px;
}
a.ps_row_0_readmore, a.ps_row_1_readmore {
  border: 1px solid #aaa;
  padding: 3px 6px;
}
.ps_row_0_subhead, .ps_row_1_subhead {
  font-weight : 600;
}
.result-created {
  font-style : italic;
  color: #888888;
}
.shacksearch_popup .ps_footer_links {
  background-color: #397ff0;
  padding: 3px 5px !important;
}
.shacksearch_popup .ps_viewall {
   background-color: #333333 !important;
}
.shacksearch_popup .ps_footer_links:hover a, .shacksearch_popup .ps_footer_links a, .shacksearch_popup .ps_viewall a, .shacksearch_popup .ps_viewall a:hover {
   color:	#fff;
  font-size: 14px;
}

/* BLOG*/
article.item {
  margin-bottom: 60px;
}
.sp-module ul >li >a.mod-articles-category-title {
  line-height: 23px;
  padding-bottom: 10px;
}
#sp-left {
  margin-top : 50px;
}
h2 span.subheading-category {
    color : #397ff0;
  font-weight: 300;
}

/* FOOTER */
#sp-footer {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.3rem;
}
