/*****************************************************
	Custom CSS
/*****************************************************
/*****************************************************
/*****************************************************/



.hidden { display:none; }


/*****************************************************
	HOME
/*****************************************************/
.bloc-accueil .bloc a[href=#] { cursor:default; }


#plemx-root { float:right; margin-top:-25px; margin-right:-10px; }

/*****************************************************
	FORMS
/*****************************************************/
.contenu input,
.contenu textarea { border:1px solid #DBD1BC; }

/* Concours sherif */
#form_sherif div.c6:not(.phone) input[type="text"] { width:100%; }
#form_sherif #submit { border:none; }
#form_sherif input[type="checkbox"] { margin-right:5px; }

p.errors { padding:15px; font-size:15px !important; font-weight:700; border:2px solid #EA1B2E; }


#cmdRecherche_Entete { font-size:13px !important; line-height:1; }
div.contenu .main-content ul.acces-routiers .liste-contenu form div:nth-child(2) { margin:0 !important; }


/*****************************************************
	Spectacles
/*****************************************************/
#spectacles { margin-top:-15px; margin-bottom:35px; }
#spectacles article,
#events article { background-color:#dbd1bc; margin-bottom:15px; position:relative; }
#spectacles article:after,
#events article:after {
	content: " "; /* Older browser do not support empty content */
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}
#spectacles article figure { width:180px; float:left; margin-right:15px; }
#spectacles.single figure { width:35%; margin-right:0; }

#spectacles article h1 { font-size:20px; margin:10px 0 5px; }
#spectacles article h2 { font-size:18px; margin:0; text-transform:uppercase; }
#spectacles article h2 span { font-size:16px; color:#3C3C3C; }

#spectacles .infos { display:inline-block; float:left; max-width:665px; }
#spectacles.single .infos { width:65%; padding-left:15px; padding-right:15px; }

#spectacles .descriptif {
	position:absolute; bottom:0; left:180px; right:0; margin:0;
	padding:10px; background-color:#2D231B;
	color:#FFF;
	 
}

#spectacles .prix { margin-bottom:10px; color:#3c3c3c; font-weight:bold; line-height:1.2;font-size:16px; }

/* Button custom */
#spectacles .more,
#events .more,
.like-more,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.main-content button,
html .main-content  input[type="button"],
.main-content input[type="reset"],
.main-content input[type="submit"] { display:inline-block; text-transform:uppercase; padding:0 15px; line-height:2;
	background-color: #ed1b2e !important;
    box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.75);
    color: #fff;
    font-family: "Old Standard TT",serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
	text-decoration:none;
	-webkit-transition:all 0.7s;
    transition:all 0.7s;
}
.woocommerce-cart table.cart input
{
	line-height:inherit;
}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals
{
	width:100%;
	float:none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button
{
	display:inline-block;
}
.like-more { margin-bottom:15px; }
#spectacles .list-show .more {
	position:absolute;
	top:45px;
	left:425px;
}
#spectacles .more:hover,
#events .more:hover,
.like-more:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background-color:#a51320 !important; color:#FFF; text-decoration:none; }

.woocommerce-tabs { display:none; }

#spectacles .more
{
	position:absolute;
	top:45px;
	left:465px;
}
#spectacles.single .more
{
	position:inherit;
}
/*****************************************************
	Billeterie
/*****************************************************/
#events { margin-bottom:35px; padding-top:1px; }
#events .date { 
	display:inline-block;
	color: #ed1b2e;
    font-family: "Ultra",serif;
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
	padding:0 10px 15px;
	position:relative;
}
#events .date span { font-size:15px !important; position:absolute; bottom:5px; left:17%; }

#events .infos,
#events .date { display:inline-block; float:left; }
#events .infos h1 { font-size:24px; margin-top:10px; }
#events .infos h2 { margin:0; font-size:18px; color:#ed1b2e; }
#events .infos h2 span { color:#3C3C3C; font-size:13px; display:inline-block; width:650px; vertical-align:top; margin-left:5px;}
#events .infos .more { display:block; position:absolute; top:20px; right:10px; }

#events .details { clear:both; padding:10px 20px; }
#events .details p:last-child { margin-bottom:0; }

/* Selectors */
#selectors { padding-bottom:5px; }
#selectors a { display:inline-block; margin-right:4px; margin-bottom:4px; padding:2px 8px; color:#FFF; background-color:#2D231B; text-decoration:none;-webkit-transition:all 0.5s;
    transition:all 0.5s; }
#selectors a:hover { opacity:0.7; }
#selectors a.selected{background-color:#ed1b2e;}




/*****************************************************
	Boutique
/*****************************************************/
.contenu .woocommerce { marign-bottom:35px; }

.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-tabs .tabs { display:none; }

.woocommerce ul.products { margin-left:-9px !important; margin-right:-9px !important; }
.woocommerce div#content ul.products li.product,
.woocommerce-page div#content ul.products li.product {
	width:33.3%;
	margin-right:0;
	margin-bottom:18px;
	padding:0 9px;
	position:relative;
	float:left;
}

.woocommerce div#content .related ul.products li.product,
.woocommerce-page div#content .related ul.products li.product { width:25%; }

.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first { clear:none !important; }

.woocommerce ul.products li.product a img { margin-bottom:0; }
.woocommerce ul.products li.product h3,
.woocommerce-page ul.products li.product h3 {
	position:absolute;
	bottom:0; left:9px; right:9px;
	background-color:rgba(45, 35, 27, 0.8);
	
	font-family: 'Old Standard TT', serif;
	text-align:center; font-size:18px; text-transform:uppercase;
	color:#FFF; font-weight:700;
	
	-webkit-transition: all 0.7s;
    transition:all 0.7s;
}
.woocommerce ul.products li.product h3 { padding:0.8em 0; }
.woocommerce ul.products li.product h3 .count { display:none; }

.woocommerce ul.products li.product .price { font-family: 'Old Standard TT', serif;
	text-align:center; font-size:18px; text-transform:uppercase; color:#FFF; margin-bottom:0; font-weight:700; }

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: 'Old Standard TT', serif; color:#2D231B;
}

.woocommerce-page ul.products li.product a:hover h3 {
	background-color:rgba(237, 27, 46, 0.8);
}

.woocommerce-checkout #payment div.payment_box::after { border-color:transparent transparent #fff; margin-top:-13px; }
.woocommerce-checkout #payment div.payment_box { background-color:#FFF; }


/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	font-family: 'Lato', sans-serif; font-size:18px; font-weight:900;
	background-color:#fff;
	
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { background-color:transparent; color:#2d231b; border-left:2px solid #ed1b2e; }

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { color:#ed1b2e; }

.woocommerce nav.woocommerce-pagination ul { border:none; }
.woocommerce nav.woocommerce-pagination ul li:last-child { border-right:none; }

.woocommerce nav.woocommerce-pagination ul li .prev { border-left:none !important; }

/* Single product */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;	
}

.woocommerce .product .sku_wrapper { display:none; }

/* checkout */
.woocommerce-checkout #payment { margin-bottom:50px; background-color:#DBD1BC; }
.woocommerce-checkout #payment ul.payment_methods { border-color:#2D231B; }
#order_review_heading { margin-top:30px; }


div.contenu .main-content .woocommerce .order_details { margin-bottom:15px; }
#PaymentRequest #bouton { border:none; }
#payment > h3:first-child { display:none; }


/* Sidebar Shop */
#side-shop { background-color:#dbd1bc; }

#passez-caisse { display:block; text-align:center; line-height:2.7; }

.side-cart { display:block; text-align:right; font-size:18px; padding-right:15px; margin-bottom:10px; -webkit-transition: all 0.7s; transition:all 0.7s; }
.side-cart:hover { color:#FFF; text-decoration:none; opacity:0.8; }

.side-cart:before{
    background: url("../images/cart.png") no-repeat scroll center center / 70% auto rgb(237, 27, 46);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 60px;
	border-right: 3px solid #000;
}

#side-shop .widget {
	padding:0 0 10px;
	border-left:14px solid #dbd1bc;
	border-right:14px solid #dbd1bc;
	background-color:#FFF;
	margin-bottom:0;
}
#side-shop .widget:last-child { border-bottom:14px solid #dbd1bc; }

#side-shop .widget-title {
	font-family: 'Lato', sans-serif; color:#FFF; font-weight:900; font-style:normal; background-color:#2d231b;
	line-height:30px; padding-left:15px; text-transform:uppercase;
	-webkit-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 3px 2px 0px rgba(0,0,0,0.75);
}
#side-shop .widget ul { padding-left:15px; }
.widget li {
	font-family: 'Lato', sans-serif; font-size:18px;
	padding:3px 0;
}
.widget li a {
	color:#2d231b;
}
.widget li a:hover {
	color:#ed1b2e; text-decoration:none;
}


/*****************************************************
	PLACE DE LA FAMILLE
/*****************************************************/
#place-famille { margin-top:0; padding-right:0; padding-bottom:220px; background-image:url(../images/famille/maneges.png); background-position:center bottom 25px; background-repeat:repeat-x; font-family: 'Raleway', sans-serif; }
#place-famille header { padding-top:85px; position:relative; background-color:#ee1b2e; }
#place-famille header:before { content:" "; display:block;
	background-position:top center; height:142px; left:0; right:0;
	background-image:url(../images/famille/toit.png); position:absolute; top:0;
	z-index:10;
}

#place-famille > header > .c12 { position:relative; }
#logo-place { position:absolute; z-index:999999; top:-60px; left:17px; }

#place-famille p { font-family: 'Raleway', sans-serif; font-weight:700; font-size:12px; }

#place-famille nav li { display:inline-block; padding:50px 0px 5px; }
#place-famille nav li:hover,
#place-famille nav li.active { background-color:#a32829; }
#place-famille nav a {
	color:#fff; font-family: 'Raleway', sans-serif; font-size:20px; font-weight:700;
	position:relative; z-index:20;
	padding:0 10px 5px;
}
#place-famille nav a:hover { text-decoration:none; }

#place-famille .js-pages { padding:20px 50px 0; }
#place-famille .js-pages div {
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/*#place-famille .js-pages section { display:none; }*/



/* GameOver */
#popup-gameover { position:fixed; top:0; left:0; right:0; bottom:0; display:none; z-index:9999999999; background-color:rgba(0,0,0, 0.4); }
#popup-gameover * { text-align:center !important; }
#popup-gameover > div { position:absolute; background-color:#fff; display:block; padding:30px;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}


/* Landing */
#place-famille .bloc { width:24%; text-align:center; height:auto; }
#place-famille .bloc p { font-family: "Ultra",serif; font-size:21px; font-weight:400; }
#place-famille .bloc img { height:auto; width:100%; min-height:0; }


/* Jeu Erreurs */
#place-famille #erreurs {  }
.erreur-game-container { position:relative; }
map area { cursor:default; }


/* Jeu Mémoire */
#place-famille #memoire #cards { margin:0 -15px; }
#place-famille #memoire #cards > .c3 { width:20%; padding:0 15px; margin-bottom:30px; }
#place-famille #memoire .card {
	cursor:pointer;
	height:300px;
	position: relative;
	/*perspective: 800px;
	-webkit-perspective: 800px;*/
}
#place-famille #memoire .card > div {
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	
	transition: transform 0.7s;
	-webkit-transition:transform 0.7s;
}


#place-famille #memoire .card figure {
	display: block;
	position: absolute; left:0; right:0;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	
	transition: all 0.7s;
	-webkit-transition:all 0.7s;
	/*transform: perspective(800px) rotateY( 0deg ) ;
	-webkit-transform: perspective(800px) rotateY( 0deg );*/
}
#place-famille .card figure img { width:100%; height:auto;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
    transform: perspective(800px) rotateX(0deg);
	-webkit-transform: perspective(800px) rotateY( 0deg );
}

.card .back {
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: perspective(800px) rotateY( 180deg ) ;
	-webkit-transform: perspective(800px) rotateY( 180deg );
}



/* Remove Selectable */
#place-famille #memoire #cards,
#place-famille #memoire .card {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


/* States */
.card .flipped {
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform: perspective(800px) rotateY( 180deg );
	-webkit-transform: perspective(800px) rotateY( 180deg );
}
/*.card .flipped figure {
	transform: perspective(800px) rotateY( 0deg );
	-webkit-transform: perspective(800px) rotateY( 0deg );
}*/
/*.card .flipped figure.back {
	transform: perspective(800px) rotateY( 180deg );
	-webkit-transform: perspective(800px) rotateY( 180deg );
}*/




#place-famille #memoire .card.tmp,
#place-famille #memoire .card.locked { cursor:default; }





/* Écrire à Galop */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
textarea { width:100%; resize:none; }

.wpcf7 input[type=submit] { border:none;
	-webkit-transition:all 1s;
	transition:all 1s;
}
.wpcf7 input[type=submit]:hover { background-color:#a51320 !important; }



/* Photos */
#place-famille .jssora21l,
#place-famille .jssora21r { width:24px; }


/* Cowboys */
#place-famille .cowboy { margin-bottom:30px; padding-right:20px; }
#place-famille .cowboy figure { margin-bottom:15px; }


/* Activites */
#place-famille #events article .infos { padding-left:15px; padding-bottom:15px; }
#place-famille #events article .infos h1 { width:auto; }

#place-famille #events article .infos h2 span { display:inline; width:auto; margin:0; font-weight:400; position:relative; top:4px; }
#place-famille #events article .infos h2 span:first-of-type { margin-right:10px; }

