/*
Theme Name: WP FanZone
Theme URI: http://hostmarks.com/fanzone-theme/
Author: Hostmarks
Author URI: http://hostmarks.com
Description: WP Fan Zone was designed orginally with sports fans and bloggers in mind, but it could easily be used for any type of blog or magazine style site that wants to feature images and content. It is fully responsive, comes with two main menus, and widget areas for all page types. It also has customization options for social media links, color scheme and author bios, plus a simple banner widget for putting ads in the header.
Version: 2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-fanzone
Tags: custom-menu, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.

WP FanZone is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.


*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Header
	1.1 Menus
2.0 Content
	2.1 Typography
	2.2 Elements
	2.3 Links
	2.4 Posts and Pages
	2.5 Comments
	2.6 form
3.0 Sidebar
	3.1 Calendar
	3.2 Search widget
4.0 Footer
5.0 Accessibility
6.0 Alignments
7.0 Clearings
8.0 Infinite scroll
9.0 Media
	9.1 Captions
	9.2 Galleries
10.0 Media Queries

--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Header
--------------------------------------------------------------*/
.top-bar{background:#252525; padding:0; border-top:5px solid #339390;}
.top-tittle h5{color: #ffffff; margin: 0; padding: 10px 20px; background: #339390; display: inline-block;}
.top-tittle:after{
	content:"";
    width:0;
    height:0;
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
    border-left:10px solid #339390;
	position: absolute;
	top:6px;
	}
#top-nav .navbar-default .navbar-nav > li > a{
	border:none;	
}
#top-nav{
	float: right;
}
#navbar-collapse ul{
	list-style:none;
	margin: 10px 0;
	display:block
}
#navbar-collapse ul li{
	display:inline-block;
	padding:0 10px;
}
#navbar-collapse ul li a{
	color: #fff !important;
	font-size: 14px;
}
.navbar-toggle{
	background-color:#eeeeee;
	z-index:99999;
}
.navbar-toggle .icon-bar{
	background-color: #339390;
}
#top-nav ul.nav-menu li, #top-nav .nav-menu ul{
	float:left;
	padding:0 10px;
	list-style:none;
}
#top-nav ul.nav-menu{
	margin-top:10px;
}
ul.top-menu li a{
	color:#FFFFFF;
}
ul.top-menu li a:hover{
	text-decoration:none;
}
.arrow-right {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid #339390;
	display: inline-block;
}
header{
	padding:0;
}
header .logo, header .logo h1{
	display:inline-block; 
	margin-right:15px;
}
#site-logo{
	display: inline-block;
	margin-right: 15px;
	float:left;
}
.site-info {
	color:#fff;
	padding:20px 0;
	background:#339390;
	}
.site-branding{
	padding:10px 0;
}
.nav_container{
	background:#2e2e2e; 
	margin-bottom:20px; 
	border-top:5px solid #339390;
}	
.fan-sociel-media{
	margin:7px 0;
}
.fan-sociel-media .btn-xs{
	min-width:24px;
}
.fa{font-size:14px;
}
#breadcrumbs{
    list-style:none;
    margin:10px 0;
    overflow:hidden;
	display: inline-block;
	float: right;
}
.breadcrumb-container{
	border-bottom:1px solid #ebebeb;
	margin-bottom:30px;
}
#breadcrumbs li{
    float:left;
    margin-right:15px;
}
#page-heading h1, h1.single-title{
	margin:0px 0 20px ;
}
.meta-info span{
	font-family:'Lato',Verdana, Geneva, sans-serif;
	font-size:12px;
	color:#707070;
}
.nav-links, .nav-previous{
	text-align:center;
	}
/*---------------1.1 Menus---------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul > li{
	border-right: 1px solid #222222;
	text-transform: uppercase;
}
.main-navigation ul > li:last-child{
	border-right:none;
}
.main-navigation li {
	float: left;
	position: relative;
}
.top-nav a{
	color:#ffffff;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 10px 15px;
	font-family: 'Oswald', sans-serif;
	font-size: 18px;
	color:#ffffff;
	border-left: 1px solid #383838;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 3.3em;
	left: -999em;
	z-index: 99999;
	background:#2e2e2e;	
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}
.main-navigation ul ul a {
	min-width: 250px;
	font-size: 16px;
	background:#339390;
	padding:10px 15px;
}

.main-navigation ul ul li {
	border:none;
}

.main-navigation li:hover > a {
	background:#339390;
}
.main-navigation ul ul.children >li > a, .main-navigation ul ul.sub-menu >li > a, .main-navigation li:first-child > a{
	border:none;
}
.main-navigation ul ul.children >li > a:hover, .main-navigation ul ul.sub-menu >li > a:hover {
	background:#ebebeb;
	color:#2e2e2e;
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	background:#339390;
}

/* Small menu */
.menu-toggle {
	display: none;
}


/*--------------------------------------------------------------
2.0 Content
--------------------------------------------------------------*/
/*------------2.1 Typography--------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}
h1.site-title{
	font-size:48px;
		}
h1.site-title span{
	color:#339390;
	}
h1.site-title a{
	color:#252525;
	}
h4.entry-title{
	font-weight:bold;
	margin:0px 0 15px;
}
h4.entry-title a{
	color:#212121;
}
h2.site-description{
	margin-top:0;
}	
p {
	margin: 0 0 10px;
	font-family: 'lato', sans-serif;
}
p.live-news{
	display: inline-block;
	color: #fff;
	margin-bottom: 0; 
	padding-top:7px;
}
b,
strong {
	font-weight: bold;
}
.btn a{
	color:#ffffff;
}
dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 1em 1.5em;
	font-family:'Lato',Verdana, Geneva, sans-serif;
	font-style:italic;
	color:#636363;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*----------------2.2 Elements--------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}
/*----------------2.3 Links----------------*/
a {

}

a:visited {

}

a:hover,
a:focus,
a:active {

}
.site-info a{
	color:#fff;
	}

/*--------------2.4 Posts and pages--------------*/

.page-header, h1.page-title, h1.entry-title{
	margin-top:0;
	border:none;
}
h1.page-title, h1.entry-title{
	margin-bottom:20px;
}
.page-header{
	margin-bottom:0;
}
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 30px;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	clear: both;
	display:block;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.pgwSlider p{
	font-size: 12px;
	}
.pgwSlider a span{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
	}
.pgwSlider a img:hover, .pgwSlider a span:hover{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;
}
.margin-bottom-separator{
	margin-bottom:20px;
	}
.content{
	margin-top:20px;
	}
.search #content{
	margin-top:20px;
	}
.post_box{
	background: #fff;
	-ms-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.75);
	-webkit-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.75);
	box-shadow:0px 0px 3px 0px rgba(50, 50, 50, 0.75);
	padding:15px 15px 35px;
	margin-bottom:30px;
	width:100%;
	}
.search .post_box, .archive .post_box{
	padding-bottom:15px;
	position:relative;
	}
.post_box img{
	width:100%;
	height:auto;
	margin-bottom:20px;
	}
.post_box img:hover{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
	}
.post_box .fa{
	margin-right:5px;
	}
.post_box a.read_more{
	position: absolute;
	right: 15px;
	bottom: 30px;
	}
.search .post_box a.read_more, .archive .post_box a.read_more{
	bottom:0;
	right: 0;
	}
.pagination {
	display: block;
	padding-left: 0;
	margin: 20px 0;
	border-radius: 4px;
	position: absolute;
	bottom: -45px;
	text-align: center;
	width: 100%;
	font-size:15px;
	}
.pagination .fa{
	background:#339390;
	color:#ffffff;
	padding:5px;
	margin: 0 5px;
	}
.pagination .fa:hover{
	background:#212121;
	}
.meta-info, .meta-info a{
	color:#bbbbbb;
	}
.meta-info a:hover{
	color:#339390;
	}
.post_box a.meta-comment{
	color:#bbbbbb;
	float:right;
	}
.post_box a.meta-comment:hover{
	color:#339390;
	}
.entry-meta span, .entry-meta span.comments-link a{
	color: #bbbbbb;	
	}
.entry-meta span.posted-on{
	color:#339390;
	}
.entry-meta span.comments-link a:hover{
	color:#339390;
	}
p.post_desc{
	font-family: 'Lato', sans-serif;
	margin-top:10px;
	}
a.btn-info {
 color:#FFFFFF !important;
	}
/*------------2.5 comments--------------*/
#respond {
	background-color: #fefefe;
	padding: 40px;
	margin: 0 30px 60px 0;
	margin: 0 3rem 6rem 0;
	border: 1px solid #e4e9ea;
	border-radius: 3px;
	}
#comments{
	margin-right:20px;
	}
#comments ol{
	list-style-type: none;
	padding: 0;
	}
#comments ul{
	list-style-type: none;
}
#comments  .reply{
	margin-left:55px;
}
#comments ol.children{
	margin-left:30px;
}
#comments-title h3{
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 15px;
	margin-bottom: 15px;
	}
.comment-list .comment-metadata {
	line-height: 24px;
	font-size: 12px;
	}
.comment article{
	margin-bottom:20px;
	}
.comment-list .comment-meta a {
	}
.comment-author img {
	margin: 0 10px 5px 0;
	width: auto;
	max-width: 100%;
	height: auto;
	float:left;
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 5px;
	}
.comment-list .vcard cite.fn {
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	}
.comment-content {
	margin-left: 55px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: 14px;
	font-size: 1.4rem;
	}
.comment-content p{
	margin-bottom:0;
	}
.comment-metadata time{
	color:#95a5a6;
	}

a.comment-reply-link{
	color:#339390;
}

ul li.recentcomments{
	color:#339390;
	}
.author-bio {
	padding: 40px;
	}
.author-info {
	overflow: hidden;
	font-size:14px;
	}
.author-thumb{
	float: left;
	margin-right: 30px;
	margin-right: 3rem;
	margin-bottom: 15px;
	margin-bottom: 1.5rem;
	margin-top: 5px;
	margin-top: 0.5rem;
	}
.author-thumb img{
	background: #ffffff;
	border: 1px solid #cccccc;
	padding: 5px;
	max-width: 100%;
	width: auto;
	max-height:100%;
	height:auto;
	}
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}
cite.fn, cite.fn a{
	color:#339390;
	}
span.required{
	color:#ed1c24;
	}
#respond label{
	display:block;
	margin-bottom:0;
	color:#685f54;
	}
#respond #submit,
.post-content form input[type=submit],
.post-content form input[type=button] {
	font-size: 90%;
	background-color: #339390;
	color: #fff;
	padding: 7px 20px;
	text-transform: uppercase;
	border: 0;
	margin:10px auto;
	}
#respond #submit:hover,
.post-content form input[type=submit]:hover,
.post-content form input[type=button]:hover{
	background-color:#212121;
	}
/*------------------2.6 form-------------------*/
form.searchform{
	background: #F8F8F8;
	max-width: 100%;
	border: 1px solid #D9D9D9;
	padding: 5px 10px;
	overflow: hidden;
	}
form.searchform #s { 
	background:#ffffff; 
	border:none; color:#777; 
	font-style:italic; 
	 width:90%; 
	 }
.search-form .search-field{
	background: none;
	border: none;
	color: #777;
	font-style: italic;
	float: left;
	width: 90%;
	}
form.searchform #s:focus { 
	outline:none; 
	}
input#search-button{ 
	width:16px; 
	height:16px; 
	float:right;
	margin-top: 5px; 
	}
input:not([type]),
input[type="color"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="text"],
textarea{
	border:1px solid #e2e2e2;
	}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}
/*--------------------------------------------------------------
3.0 Sidebar
--------------------------------------------------------------*/
/* ----------3.1 Calendar--------------- */
.widget_calendar table {
	line-height: 2;
	margin: 0;
	width:100%;
}
.widget_calendar caption {
	color: #000;
	font-weight: 700;
	line-height: 1.7142857142;
	margin-bottom: 18px;
	text-align: left;
	text-transform: uppercase;
}
.widget_calendar thead th {
	background-color: rgba(255, 255, 255, 0.1);
}
.widget_calendar tbody td,
.widget_calendar thead th {
	text-align: center;
	padding:1px;
}
.widget_calendar tbody a {
	color: #fff;
	display: block;
}
.widget_calendar tbody a:hover {
}

.widget_calendar tbody a:hover {
}
.widget_calendar #prev {
	padding-left: 5px;
}

.widget_calendar #next {
	padding-right: 5px;
	text-align: right;
	}
.widget {
	margin: 0 0 1.5em;
}
/* Make sure select elements fit in widgets */
.widget select {
	width: 100%;
}

/*--------------3.2 Search widget---------------*/
.widget_search .search-submit {
	display: none;
}
#sidebar aside{
	margin-bottom:20px;
	padding-bottom: 10px;
}
.widget-title{
	background:#212121;
	margin:-15px -15px 15px -15px ;
}
section.not-found .widget-title{
	background:none;
	margin:0 0 10px;
}
.widget-title h4{
	background:#339390;
	color:#ffffff;
	padding:8px 15px;
	margin: 0;
	display: inline-block;
}
#sidebar aside{
	background:#ebebeb;
	padding:15px;
}

aside ul, footer ul{
	padding-left:0px;
}
aside ul.children, aside ul.sub-menu{
	padding-left:10px;
}
aside ul li, footer ul li{
	list-style:none;
	margin-bottom: 10px;
	margin-right: 10px;
}
aside ul li a{
	color:#339390;
	}
aside ul li a:hover{
	color:#212121;
}
.widget_wp_fanzone_recent_posts ul li img{
	background:#ffffff;
	border: 1px solid #cccccc;
	padding: 5px;
	margin: 0 10px 0 0;
}
.widget_wp_fanzone_recent_posts ul li h5{
	margin-bottom:5px;
	display:inline;
	}

.widget_wp_fanzone_recent_posts ul li img:hover{
	background:#cccccc;
	border: 1px solid #ffffff;
}
#widget aside{
	background:#ebebeb;
	padding:15px;
}
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}
	
/*--------------------------------------------------------------
4.0 Footer
--------------------------------------------------------------*/
footer#colophon{
	margin-top:40px;
	background:#212121;
	padding-top:20px;
	border-top:8px solid #339390;
}
footer .widget-title {
	color:#fff;
	background:none;
}

footer ul.children, footer ul.sub-menu{
	padding-left:10px;
}
footer ul li a{
	color:#fff;
}
footer ul li a:hover{
	color:#339390;
}
footer .meta-info span, footer .meta-info a, span.post-date{
	color:#339390;
}
footer .textwidget{
	color:#fff;
}
footer .widget{
	margin-bottom:15px;
}
footer .widget_calendar caption {
	color:#fff;
}
footer .widget_calendar thead tr{
	background:#339390;
}
footer .widget_calendar tbody td, footer .widget_calendar thead th{
	color:#fff;
}
footer h3{
	padding:20px 0 5px;
	text-transform:uppercase;
	margin-left:15px;
	margin-right:15px;
}

/*--------------------------------------------------------------
5.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
6.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
7.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
8.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
9.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------9.1 Captions-------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*-----------------9.2 Galleries------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
10.0 Media Queries
--------------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 1018px) {
  .widget_calendar td,
  .widget_calendar td {
	   padding: 5px;
	  }
}

@media screen and (min-width: 992px) {	
	
	
	
}
@media screen and (max-width: 992px) {
	.item {
		position: static ! important;
		-webkit-transform: translate(0px, 0px) ! important;
		-moz-transform: translate(0px, 0px) ! important;
		transform: translate(0px, 0px) ! important;
		}
	#posts{
		display:inline;
		}
	.pagination{
		margin-top:5px;
		}
	#sidebar{margin-top:60px;}



}
@media screen and (min-width: 768px) {
	#top-widget{
		/*float:right;*/
		margin-top:20px;
		/*display:block;*/
		}
	#site-navigation ul.nav-menu > li.menu-item-has-children > a:after, #site-navigation ul.nav-menu > li.page_item_has_children > a:after{
		content:"";
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: 5px;
		vertical-align: middle;
		border-top: 4px solid;
		border-right: 4px solid transparent;
		border-left: 4px solid transparent;
	}
	.navbar .children:before, .navbar .sub-menu:before {
		border-bottom: 7px solid transparent;
		border-left: none;
		border-right: 7px solid rgba(0, 0, 0, 0.2);
		border-top: 7px solid transparent;
		left: -7px;
		top: 10px;
		}
	.navbar .children:after, .navbar .sub-menu:after {
		border-top: 6px solid transparent;
		border-left: none;
		border-right: 6px solid #fff;
		border-bottom: 6px solid transparent;
		left: 10px;
		top: 11px;
		left: -6px;
		}
		
	.fan-sociel-media .btn{
		margin-right:5px;
		float:
		right;
		}
	nav.container-fluid, nav .navbar-collapse{
		padding:0;
		}
	.pgwSlider .ps-current{		
		width:74.4%;
		}
		
		
	
}

@media screen and (max-width: 767px) {
	h1 {
		font-size: 20px;
		}	
	h2 {
		font-size: 18px;
		}	
	h3 {
		font-size: 16px;
		}	
	h4 {
		font-size: 15px;
		}	
	h5 {
		font-size: 14px;
		}
	
	h6 {
		font-size: 13px;
		}
	#top-nav{
		float: none;
	}
	.main-navigation ul, .top-nav ul {
		display: none;
	}
	.menu-toggle,
	.main-navigation.toggled .nav-menu, .top-nav.toggled .nav-menu {
		display: block;
	}
	.top-nav.toggled ul.nav-menu{
		clear:both;
	}
	.navbar-default .navbar-nav > li, .navbar-default .navbar-nav > li > a {
		border:0;
		}
	.navbar-default .navbar-nav > li{
		background:#464646;
		}
	.ps-current span h1{
		margin:10px 0;
		}
	.ps-current span p{
		display:none; 
		}
	ul.pgwSlider > li span, .pgwSlider > ul > li span{
		display:none;
		}
	ul ul.children, ul ul ul.children, ul ul.sub-menu, ul ul ul.sub-menu{
		float:none;
		position:initial;
		display:block;
		margin:0;
		box-shadow:none;
	}
	ul.children > li, ul.sub-menu > li{
		padding-left:10px;
	}
	.main-navigation ul ul.children >li > a, .main-navigation ul ul.sub-menu >li > a {
		background:#2e2e2e;
		color:#ffffff;
	}
	.main-navigation ul > li, .main-navigation ul ul.children >li > a, .main-navigation ul ul.sub-menu >li > a{
		border:none;
		background:#464646;
	}
	.navbar-nav{
		overflow:hidden;
		}
	.main-navigation li{
		float:none;
	}
	
}


@media screen and (min-width: 480px){
	.r_margin{
		margin-right:4%;
		height:100px;
		}
}
@media screen and (max-width: 480px){
	ul.pgwSlider, .pgwSlider > ul{
		padding:0;
		}
	.btn-default{
	margin-bottom:5px !important;
	}

	
}
