/*
Theme Name: DW Focus
Theme URI: http://www.designwall.com/wordpress/themes/dw-focus/
Author: DesignWall
Author URI: http://www.designwall.com
Description: Responsive News WordPress Theme
Version: 1.2.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dw-focus
Tags:
*/

/* background : couleurs / margin / padding */
#page {background: transparent none repeat scroll 0 0;}
#page .site-footer {background: transparent url("") repeat scroll center top; padding:0}
#content {padding:0}
#content .container {padding-top:30px}
footer {margin-bottom:20px}

h1, .h1, h2, .h2, h3, .h3 {
    margin-bottom: 20px;
    margin-top: 20px;
}
h4, .h4, h5, .h5, h6, .h6 {
    margin-bottom: 10px;
    margin-top: 20px;
}

.container {background-color:white; padding-top:20px}
.site-footer .container {background-color:black;padding-bottom:20px}
.navigation-wrap {margin-top: 30px; margin-bottom: 30px}

/* diaporama : */
.dw_focus_widget_news_slider .carousel-inner, 
.dw_focus_widget_news_slider .carousel-inner  img {height: 400px;width: 910px;overflow:hidden}
.dw_focus_widget_news_slider .carousel-entry .carousel-caption {bottom: 15px;}

.dw_focus_widget_news_slider .carousel-navigation, .widget_news-slider .carousel-navigation {width: 256px}

/*.dw_focus_widget_news_slider .carousel-inner, .widget_news-slider .carousel-inner {width: 910px;height: 400px}
.dw_focus_widget_news_slider .carousel-inner img, .widget_news-slider .carousel-inner img {width: 910px;height: auto}
.dw_focus_widget_news_slider .carousel-entry .carousel-caption, .widget_news-slider .carousel-entry .carousel-caption {bottom: 115px}*/

@media (max-width: 1180px) {
  .dw_focus_widget_news_slider .carousel-inner, .widget_news-slider .carousel-inner {width: 690px;height: 303px}
  .dw_focus_widget_news_slider .carousel-inner img, .widget_news-slider .carousel-inner img {width: auto;height: 303px}
  .dw_focus_widget_news_slider .carousel-entry .carousel-caption, .widget_news-slider .carousel-entry .carousel-caption {bottom: 10px}
}
@media (max-width: 991px) {
  .dw_focus_widget_news_slider .carousel-inner, .widget_news-slider .carousel-inner {width: 720px;height: 316px}
  .dw_focus_widget_news_slider .carousel-inner img, .widget_news-slider .carousel-inner img {width: auto;height: 316px}
  .dw_focus_widget_news_slider .carousel-entry .carousel-caption, .widget_news-slider .carousel-entry .carousel-caption {bottom: 10px}
}
@media (max-width: 767px) {
  .dw_focus_widget_news_slider .carousel-inner, .widget_news-slider .carousel-inner {width: auto;height: auto}
  .dw_focus_widget_news_slider .carousel-inner img, .widget_news-slider .carousel-inner img {width: 100%;height: auto}
  .dw_focus_widget_news_slider .carousel-entry .carousel-caption, .widget_news-slider .carousel-entry .carousel-caption {bottom: 10px}
}
.dw_focus_widget_news_slider .carousel-navigation, .widget_news-slider .carousel-navigation {background: #232F3C none repeat scroll 0 0}
.dw_focus_widget_news_slider .carousel-title-indicators li, .widget_news-slider .carousel-title-indicators li {color: #bbb}

/* widgets */
.widget {margin-bottom: 30px;}

.widget .widget-title {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #000;
    font-family: "Montserrat";
    font-size: 11px;
    font-weight: normal;
    line-height: 20px;
    padding: 9px 0;
    text-transform: uppercase;
}
.dw_focus_widget_news_list .post .entry-thumbnail img {
    max-width: 110px;
}

#secondary  #custom_post_widget-3 {background-color: Red;color: white;font-size: 16px;font-weight: bold;text-align: center;text-transform: uppercase;}
#secondary  #custom_post_widget-3 p {line-height: 3em;}
#secondary  #custom_post_widget-3 p a {color: white;text-decoration: none;}

#secondary .widget-title {
    background-color: black;
    color: white;
    text-align: center;
	font-size:13px
}
#secondary .widget-title a {color:white}
#secondary .widget_custom_post_widget ul {padding-left:15px}
#secondary .widget_custom_post_widget ul a {color:black}
#secondary .widget_custom_post_widget ul a:hover {text-decoration:underline}
#secondary .widget:last-child {margin-bottom: 30px;}

#secondary  #custom_post_widget-4 {
    background-color: #ededee;
    color: #8c8c8c;
    font-family: "Montserrat";
    font-size: 12px;
    padding: 20px 10px 10px;
}

#secondary  #custom_post_widget-4 p span.big {
    background: rgba(0, 0, 0, 0) url("images/phone.png") no-repeat scroll 0 0;
    font-size: 22px;
    line-height: 20px;
    padding-left: 40px;
}

table.contacts {border-collapse: separate; border-spacing: 0}
table.contacts tr {margin:10px 0}
table.contacts td {vertical-align:top; padding:5px 3px}
table.contacts tr td:first-child {font-weight:bold}
table.contacts .separateur {background-color:#E5E5E5}

.page-header h1 {
    border-bottom: none;
    border-top: none;
    font-family: "Montserrat";
    font-size: 36px;
    font-weight: normal;
    line-height: 36px;
    text-transform: none;
	margin:0 0 20px;
}
body.home #main h2.widget-title {
    margin: 0;
}
body.home #main .dw_focus_widget_news_grid h3.widget-title {
	border-top:none;
	font-size:13px;
	line-height:15px
}
body.home #main .dw_focus_widget_news_grid h3.entry-title {
	font-size:15px;
	line-height:17px
}
h2.widget-title:first-child {
    font-size: 18px;
	border-top:none;
}
body.home #main aside.widget:last-child {
    margin-bottom: 30px;
}
body.home #main aside#text-4 {
    margin-bottom: 10px;
}

/* widgets du footer */
#footer-widgets .col-lg-3:last-child aside::after {width: 0}
#footer-widgets .widget_nav_menu {width: 90%}
#footer-widgets .widget_nav_menu:first-child::after {right: -21px}

@media (max-width: 1180px) {
	#footer-widgets .col-sm-2, #footer-widgets .col-md-4 {width: 25%}
	#footer-widgets .col-md-offset-2 {margin-left: 0}
	#footer-widgets .col-lg-3:last-child aside::after {width: 0}
}
@media (max-width: 800px) {
	#footer-widgets .col-sm-2, #footer-widgets .col-md-4 {width: 99%}
}
#main .post-navigation .nav-links .nav-previous:before {
  content: "Article précédent";
}
#main .post-navigation .nav-links .nav-next:before {
  content: "Article précédent";
  content: "Article suivant";
}
@media (max-width: 991px) {
	body.home .hentry {padding-bottom:5px;border-bottom:1px solid #ddd;}
}
@media (max-width: 760px) {
	body.home #main .dw_focus_widget_news_grid div > h3.widget-title {border-bottom:none;font-size:18px;line-height:18px;margin-top:30px}
	body.home #main .dw_focus_widget_news_grid div > h3.entry-title {font-size:15px;line-height:15px}
}
@media only screen and (max-device-width: 480px) {
	.caret {
	 float: right;
	}

	.navbar-nav > li > .dropdown-menu {
	  margin-top: -20px;
	  right: 0;
	  left: inherit;
	  }
}
/*
.dw_focus_widget_news_slider .carousel-entry .cat-links, .widget_news-slider .carousel-entry .cat-links, 
.dw_focus_widget_news_slider .carousel-entry .carousel-caption {display:none;}
.dw_focus_widget_news_slider .carousel-entry::after, .widget_news-slider .carousel-entry::after {background-image:none;}
*/

body.page-id-1660 .page-header h1 {margin-bottom:0;}
body.page-id-1660 .page-content h4 {margin:0 0 20px}
@media (min-width: 991px) {
	body.page-id-1660 #public {margin-right:20px;}
	body.page-id-1660 #public, body.page-id-1660 #objectifs {max-width:380px;}
}
body.page-id-1660 #public {margin-bottom:20px;}
body.page-id-1660 #objectifs h4, 
body.page-id-1660 #public h4 {color:#C2504D;text-transform:uppercase}
body.page-id-1660 #objectifs, 
body.page-id-1660 #public {float:left;padding:10px;border:1px solid #cccccc;}

/* article Pour les vacances 2017 */
.vacances2017 ul {margin-top:20px;margin-bottom:40px;}

.list-group-item:first-child {
    display: none;
}