/* FIX & RESET *************************************************************************/
:-moz-any-link:focus { outline: none; }

.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; /* Image does not overflow the content area */ padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto;	margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px;	margin: 0; padding: 0 4px 5px; }

/* bootstrap + ie7, les images sont petites */
/*.ie7 #contenu img{ max-width: none !important; } */


/* TEXTE & LIEN *************************************************************************/
body{
	/*font-family: 'Open Sans', Arial, sans-serif;*/
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;

	/* fix pour font trop bold sur mac (requis firefox25 pour le moz-osx-font-smoothing) */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #68696b;
		background-color: white;
    color: #68696b;
}

.link_fff
{
	color:#FFF;
}

.bold{
	font-weight: bold;
}

/* pour les liens google map */
#content small a{ color:#579AD7 !important; }

h1{
	font-size: 26px;
	color: #bf313f;
	text-transform: uppercase;
}

.lieu_competition h1{
	color: #58a3c8;
	border-bottom: 1px dotted #68696b;
	margin-bottom: 15px;
}

h3 {
	font-size: 18px;
	text-transform: uppercase;
}

p{
	font-size: 14px;
}

a {
	color: #cb2726;
}

a:hover, a:focus, a:visited {
	color: #b71c1c;
}

/* FONT-SIZE *************************************************************************/
.fs_14,
#nav_top ul li a
{
	font-size:14px;
}


/* BACKGROUND *************************************************************************/
.bg_000000
{
	background-color:#000;
}


/* BORDER *************************************************************************/
.border_1px_ffffff
{
	border-bottom:1px solid #ffffff;
}


/* MENU TOP *************************************************************************/
#menu_top .container{
	background-color: #68696b;
}

#nav_top{
	display:inline-block !important;
	float:right;
}

#nav_top ul{ list-style: none; }
#nav_top ul li{ margin-top: 5px; }
#nav_top ul li a{ padding:0 0 0 11px; }
li.menu-item-has-children{
	position:relative;
}

li.menu-item-has-children ul.sub-menu{
	display:none;
	position:absolute;
	background-color:#b0b0b0;
	width:147px;
	margin:0;
	padding:0;
	z-index: 1;
}
li.menu-item-has-children ul.sub-menu li{
	margin:0;
	list-style:none;
	padding: 5px 20px;
}

li.menu-item-has-children ul.sub-menu li:hover{
	background-color:#286b86;
}
li.menu-item-has-children ul.sub-menu li:hover a{
	text-decoration: none;
}
li.menu-item-has-children:hover ul.sub-menu{
	display: block;
}
li.menu-item-has-children ul.sub-menu li a{
	display:block;
}




/* MENU PRINCIPAL *************************************************************************/
#access {
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
}
#access ul,
#nav_top ul {
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}
#access li,
#nav_top ul li {
	float: left;
	position: relative;
}
#access a {
	color: #000000;
	display: block;
	line-height: 3.333em;
	padding: 0 1.2125em;
	text-decoration: none;
}
#access ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
}
#access li:hover > a,
#access a:focus {
	color: #373737;
}
#access ul li:hover > ul { display: block; }

#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a
{
	font-weight: bold;
}

.navbar { margin-bottom: 0; }
.navbar > .container {
	padding: 0;
}

.navbar-inverse {
	background-color: #cb2726;
	border: none;
	border-radius: 0;
}

.navbar-inverse .navbar-nav > li > a {
	line-height: 30px;
	color: white;
}

.navbar-inverse .navbar-nav > li.current-menu-item > a,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
	background-color: #b71c1c;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
	background-color: #b71c1c;
	border-color: #b71c1c;
}

@media (max-width: 768px) {
	.navbar-nav, .container > .navbar-header {
		margin-left: 0px;
		margin-right: 0px;
	}
}


/* Menu affix (sous-menu) */
.navbar-sections {
	box-shadow: 0px 10px 40px 10px white;
}
.navbar-sections ul {
	text-align: center;
}

.navbar-sections ul li {
	float: none;
	display: inline-block;
}

.navbar-sections ul {
	background-color: white;
	border: none;
}

.navbar-sections ul a {
	color: darkgray;
	border: none;
	border-bottom: solid 2px transparent;
	padding: 5px 15px;
}

.navbar-sections li:hover a,
.navbar-sections li.active a {
	border: none;
	background-color: transparent;
	color: #333;
}

.navbar-sections li.active a {
	border-bottom: solid 2px #333;
}

#navbar-sections-affix {
	position: absolute;
}

#navbar-sections-affix ul {
	display: none;
}

#navbar-sections-affix.affix {
	width: 100%;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 1;
}

#navbar-sections-affix.affix ul {
	display: block;
}


img.logo-discipline {
	max-width: 30%;
	height: auto;
}

/* STYLES GÉNÉRALES & COMMUN *************************************************************************/
.nav a{	color: #fff; }

.mg_top_20px{ margin-top: 20px; }

/* STYLES GÉNÉRALES & COMMUN - Zone photo/texte ************************************************/

@media (min-width: 769px) {
	.alignleft.img-responsive,
	.alignright.img-responsive {
		max-width: 48%;
	}
}

/* CONTENU *************************************************************************************/
.text_intro,
.lieu_competition,
.wrap_partenaires{
	margin-top: 55px;
}

.lieu_competition .info div{ margin-top: 5px; }
.lieu_competition .info div:first-child{ margin-top: 0; }
.lieu_competition .info p{ margin-bottom: 0; }

.partenaires{
	margin: 40px 0;
}
.partenaires table td:first-child{ border-right: 1px dotted #68696b;}

.partenaires ul{
	list-style: none;
	display: table;
	margin: 0;
	/*display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-flex-flow: row wrap;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;*/
}
.partenaires ul li{
	/*flex: 1;*/
	display: table-cell;
}

.partenaires ul li a{
	text-decoration: none;
	display: block;
	padding: 1em;
	text-align: center;
}

#partenaire_principale{ margin-right: 15px; }
#partenaire_secondaire{ margin-left: 15px; }

/* HOME *************************************************************************************/

/* ACCORDION *************************************************************************/


/* FORMULAIRES **************************************************************************/
#content .gform_wrapper input, #content .gform_wrapper textarea{ padding:6px; }
#content .gform_wrapper select { padding-top:7px; height:34px; line-height:34px; }
#content .gform_wrapper input[type="submit"] { border:none; }
#content .gform_wrapper #field_3_12.gfield_html_formatted,
#content .gform_wrapper #field_3_11.gfield_html_formatted,
#content .gform_wrapper #field_6_12.gfield_html_formatted,
#content .gform_wrapper #field_6_11.gfield_html_formatted
{
	margin-top:40px;
	margin-bottom:15px;
}


/* HEADER ******************************************************/
#header {
	background-color: white;
}

#header > .container-fluid > .row {
}

#header > .container-fluid {
	margin-bottom: 1em;
	box-shadow: 0px 3px 5px 3px #db2726
}

#header .header-img-container {
	width: 1250px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header .header-img-container .header-actions {
	position:absolute;
	right: 15px;
	bottom: 0px;
}

#header .header-img-container .header-actions > a {
	display: block;
	text-align: right;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
	#header .header-img-container .header-actions {
		left: 15px;
		right: initial;
	}
}


/* Dojo 360 */

#dojo360Modal .modal-dialog {
	height: 100%;
	height: calc(100% - 120px);
}

#dojo360Modal .modal-content {
	height: 100%;
}

#dojo360Modal iframe {
	width: 100%;
	height: 100%;
}

.preview-wrapper {
	text-align: center;
}

.preview-wrapper .modal-preview {
	position: relative;
	display: inline-block;
}

.preview-wrapper span {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
  height: 100%;
	background: rgba(0, 0, 0, 0.15) url("/wp-content/themes/cjhr/dojo-360/eye-gray.png") no-repeat;
	background-position: 50% 50%;
}

.preview-wrapper span:hover {
	background: url("/wp-content/themes/cjhr/dojo-360/eye-white.png") no-repeat;
	background-position: 50% 50%;
}

/* Crédits Megavolt & Copyrights *************************************************************************/
#footer { background-color: #cb2726; } /* #d32f27; } /* #5ba3c8; } */
#copyrights_container{ margin-top:5px; padding: 5px 20px; }
#copyright{ line-height:30px; padding:0; color: #fff; }
#credit_mxo {
	line-height:30px;
	text-decoration:none;
	text-align: right;
}
#credit_mxo a {
	color: #fff;
}

@media (max-width: 768px) {

	#copyrights_container #copyright,
	#copyrights_container #credit_mxo {
		text-align: center;
		float: none!important;
	}
}
