/*
Theme Name: Ravoire
Theme URI: https://www.aceituna.fr/
Author: Aceituna
Author URI: https://www.aceituna.fr/
Description: Manèges Ravoire
Version: 1.0
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}

*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }
 
input
{
	outline: none;
}

a
{
	text-decoration: none;
}

p:not(:last-child)
{
	padding-bottom: 20px;
}

@font-face {
    font-family: 'montserratsemibold';
    src: url('fonts/montserrat-semibold-webfont.eot');
    src: url('fonts/montserrat-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-semibold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-semibold-webfont.woff') format('woff'),
         url('fonts/montserrat-semibold-webfont.ttf') format('truetype'),
         url('fonts/montserrat-semibold-webfont.svg#montserratsemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratlight';
    src: url('fonts/montserrat-light-webfont.eot');
    src: url('fonts/montserrat-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('fonts/montserrat-light-webfont.woff') format('woff'),
         url('fonts/montserrat-light-webfont.ttf') format('truetype'),
         url('fonts/montserrat-light-webfont.svg#montserratlight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratbold';
    src: url('fonts/montserrat-bold-webfont.eot');
    src: url('fonts/montserrat-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-bold-webfont.woff2') format('woff2'),
         url('fonts/montserrat-bold-webfont.woff') format('woff'),
         url('fonts/montserrat-bold-webfont.ttf') format('truetype'),
         url('fonts/montserrat-bold-webfont.svg#montserratbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'montserratregular';
    src: url('fonts/montserrat-regular-webfont.eot');
    src: url('fonts/montserrat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/montserrat-regular-webfont.woff2') format('woff2'),
         url('fonts/montserrat-regular-webfont.woff') format('woff'),
         url('fonts/montserrat-regular-webfont.ttf') format('truetype'),
         url('fonts/montserrat-regular-webfont.svg#montserratregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



.row:after
{
	clear: both;
	content: '';
	display: table;
}

img
{
	max-width: 100%;
	height: auto;
}

@media(min-width: 600px)
{
	html, body, #site
	{
		height: 100vh
	}
}

body
{
	background: url(images/bg.jpg) no-repeat center top / cover;
}

#user_switching_switch_on a
{
	color: #fff;
}

body, a
{
	 font-size: 15px;
	 color: #000;
	 font-family: 'montserratregular';
}

h1
{
	background: rgba(255, 255, 255, 0.9);
	padding: 18px 59px;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
	text-transform: uppercase;
}

#push
{
	position: absolute;
	right: 20px;
	top: 50px;
	width: 32px;
	height: 32px;
	background: url(images/bell_ringing_fill.svg) no-repeat center center / 100%;
	cursor: pointer;
	display: block;
	z-index: 999999;
}



.wrap
{
	width: 625px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
	position: relative;
}

.wrap.desktop
{
	width: 1000px;
}

.wrap.max
{
	width: 100%;
}

.page-template-planning .wrap.desktop
{
	width: 1480px;
}

#site
{
	display: flex;
	flex-flow: column;
	justify-content: space-between;
}

#login
{
	margin: 25px 0;
}

#main
{
	flex: 1;
}


.groupe_liste {
	margin-bottom: 60px;
}


.form .inner.flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.admin.page-template-form-fermeture .wrap {
	width: 1024px;
}

.admin.page-template-form-fermeture .form .inner {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.admin.page-template-form-fermeture .form .inner .row {
	flex: 0 0 calc(20% - 20px);
}

.admin.page-template-form-fermeture .form .inner .row.half {
	flex: 0 0 calc(50% - 20px);
}

.admin.page-template-form-fermeture .form .inner .row label {
	text-align: center;
}

.admin.page-template-form-fermeture .form .inner .row label span {
	display: block;	
}

.admin.page-template-form-fermeture .form .inner .row {
	display: flex;
	flex-flow: column;
}

.admin.page-template-form-fermeture .form .inner .row .value {
	flex: 1;
	text-align: center;
}

.video {
	text-align: center;
}


.video .wait {
	border: 1px solid #ddd;
	border-radius: 10px;
	height: 100px;
	margin-bottom: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f8f8f8;
}

.form
{
	border-radius: 10px;
	background-color: #fff;
}

.form .error {
	padding: 10px;
	color: red;
	text-align: center;
}

.form .inner
{
	padding: 22px;
}

.form .inner .content ul {
	list-style-type: disc;
	padding-left: 20px;
	margin-bottom: 20px;
}

.form .inner .content li {
	margin-bottom: 20px;
}

.form .inner .content ol {
	list-style-type: decimal;
	padding-left: 20px;
	margin-bottom: 20px;
}

.form .inner .content p {
	padding-bottom: 20px;	
}

.form .header
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f8f8f8;
	padding: 23px 30px 23px 21px;
	border-radius: 10px 10px 0px 0px;
	gap: 20px;
	font-weight: bold;
	font-size: 20px;
}

.form label:not(.real)
{
	display: block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.14px;
	margin-bottom: 8px;
}

.form input[type=text], .form input[type=number], .form input[type=email], .form input[type=password], .form textarea
{
	width: 100%;
	height: 50px;
	padding: 0 10px;
	border-radius: 5px;
	border: solid 1px #ddd;
	background-color: #f8f8f8;
	font-size: 16px;
}

.form .radios
{
	display: flex;
	gap: 20px;
	padding-left: 20px;
	align-items: center;
}

.subvalues
{
	padding-left: 30px;
	padding-top: 10px;
}

.subvalues .value
{
	display: inline-block;
	margin-bottom: 10px;
}

.form .radios {
	flex-wrap: wrap;
}

.form .choices .radios {
	gap: 0;	
	margin: 10px 0;
}

.form .choices .radios label {
	margin-right: 20px;
}

.form .choices .raison {
	margin: 10px 0;
}

.form .subradio {
	flex: 0 0 100px;;
}

.form .radios label
{
	flex: 0 0 auto;
}

.form textarea
{
	height: 106px;
	padding: 10px;
	resize: none;
}

.form input[type=submit], .btn
{
	border: 0;
	cursor: pointer;
	border-radius: 25px;
	background-color: #0c3282;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	width: 290px;
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
	font-weight: 600;
	font-size: 14px;
}

.btn.inline {
	display: inline-flex;
}

.btn.small {
	height: 35px;
	width: auto;
	padding: 0 15px;
	display: inline-flex;
}

.btn.prev, .btn.next {
	width: auto;
	position: relative;
	font-weight: normal;
	max-width: none;
}

.btn.disabled {
	opacity: 0.2;
	cursor: default;
}

.btn.prev {
	padding-left: 50px;
	padding-right: 20px;
}

.btn.next {
	padding-left: 20px;
	padding-right: 50px;
}

.btn.prev:before {
	background: #0c3282 url(images/arrow-left.svg) no-repeat left center;
	content: '';
	position: absolute;
	left: 15px;
	top: calc(50% - 12px);
	height: 24px;
	width: 24px;
}

.btn.next:before {
	background: #0c3282 url(images/arrow.svg) no-repeat left center;
	content: '';
	position: absolute;
	right: 15px;
	top: calc(50% - 12px);
	height: 24px;
	width: 24px;
}


#back
{
	background: #0c3282 url(images/arrow-left.svg) no-repeat 10px center;
	content: '';
	position: fixed;
	left: calc(50% - 55px);
	top: calc(100vh - 50px);
	color: #fff;
	padding: 10px 15px 10px 40px;
	border-radius: 15px;
	width: 110px;
	display: none;
}

body.back #back
{
	display: block;
}

.form input[type=submit].arrow
{
	background: #0c3282 url(images/arrow.svg) no-repeat 10px center;
}

.form .values
{
	display: flex;
	gap: 10px;
}

.form .values.center
{
	align-items: center;
}

.form .value.flex
{
	display: flex;
	gap: 20px;
}

.form .exif
{
	flex: 0 0 auto;
	font-size: 12px;
}

.form .black
{
	color: #000;
}

.form .value
{
	position: relative;
}

.form .value.blank
{
	padding-right: 30px;
}

.form .value.blank:after
{
	content: '';
	position: absolute;
	right: 10px;
	top: 0;
	height: 100%;
	background: url(images/link.svg) no-repeat center center / 100%;
	width: 15px;
	height: 100%;
}

.form .value.ok
{
	background: #41a62a;
	color: #fff;
}
.form .value.ko
{
	background: #dd2b3a;
	color: #fff;
}

.form .value.gris
{
	background: #ccc;
	color: #fff;
}
.form .value.orange
{
	background: orange;
	color: #fff;
}

.form .value.block
{
	display: block;
	width: 100%;
}

.label.gris
{
	border-radius: 25px;
	background-color: #f8f8f8;
	padding: 10px 10px;
	color: #888;
}

.form .value, label.bg, .form .desc
{
	border-radius: 25px;
	background-color: #f8f8f8;
	padding: 10px 10px;
	color: #888;
}


.form .value.nobg
{
	background: none;	
}

.form .value2
{
	background: none;
	color: #000;
	padding-left: 20px;
}

.form .desc {
	padding-left:  20px;
	margin-bottom: 10px;
}

.form .value .img
{
	display: inline-flex;
	border-radius: 10px;
	overflow: hidden;
}

.form .row
{
	margin-bottom: 30px;
}

.form .row.smb
{
	margin-bottom: 10px;
}

.form .row.flex
{
	display: flex;
}

.form .row.small
{
	margin-bottom: 15px;
}

.selectcontainer > span
{
	display: block;
	width: 100%;
}

.selectcontainer:after
{
	clear: both;
	content: '';
	display: table;
}

.selectcontainer
{
	width: 100%;
	height: 50px;
	line-height: 50px;
	position: relative;
	overflow: hidden;
}

.selectcontainer select
{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 46px;
	appearance: none;
}


.selectcontainer span.select
{
	left: 0px;
	top: 0px;
	width: 100%;
	line-height: 50px;	
	height: 50px;
	background: #fff url(images/select.png) no-repeat right center / auto 10px;
	position: absolute;
	padding-right: 44px;
	padding-left: 15px;
	text-align: left;
	text-overflow: ellipsis;
    white-space: nowrap;
    color:#909090; 
    font-family: 'montserratregular', serif;
    font-size: 14px; 
    border-radius: 50px;
    border-radius: 5px;
	border: solid 1px #ddd;
	background-color: #f8f8f8;
}

#header
{
	height: 150px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	flex: 0 0 auto;
}

#header #toggle {
	width: 30px;
	height: 20px;
	background: url(images/burger.svg) no-repeat center center;
	position: absolute;
	left: 20px;
	top: 20px;
	cursor: pointer;
}

#nav
{
	display: none;
	width: 100%;
	height: calc(100vh - 150px);
	position: absolute;
	left: 0;
	top: 150px;
	z-index: 11;
	background: #000;
	padding-top: 20px;
}

body.nav #nav
{
	display: block;
}

#nav a
{
	display: block;
	color: #fff;
	padding: 10px 10px;
	font-size: 18px;
}

body.home .info-block
{
	padding: 10px 24px;
	border-radius: 20.5px;
	background-color: #fff;
	text-align: center;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

body.home .info-block label
{
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	flex: 0 0 65%;
}

body.home .info-block div
{
	text-align: center;
	color: #777;
	font-size: 15px;
	font-weight: 500;
	flex: 0 0 35%;
}

.blocks
{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 10px;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	align-items: flex-end;
}

.blocks a
{
	width: 187px;
	height: 140px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	border-radius: 10px;
	padding: 20px 10px 0 10px;
	text-align: center;
	line-height: 1.2;
	text-align: center;
	max-width: calc(50% - 10px);
}

.blocks a .ico
{
	font-size: 50px;
}

.blocks a .pastille
{
	display: flex;
	width: 20px;
	height: 20px;
	border-radius: 15px;
	background: red;
	position: absolute;
	right : 5px;
	top: 5px;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
}

.blocks a .pastille.green
{
	background: green;
}

.blocks a:last-child
{
	flex: 1;
	max-width: 100%;
}

.page-template-videos .emoji
{
	width: 50px!important;
	height: 50px!important;
	margin-bottom: 15px!important;
}

i.picto
{
	display: block;
	width: 50px;
	height: 50px;
	background: url(images/aluminium.png) no-repeat center center / 100%;
	position: relative;
}

i.picto:after
{
	content: '';
	position: absolute;
	display: block;
	width: 50px;
	height: 50px;
	left: calc(50% - 25px);
	top: 0px;
	z-index: 2px;
}

.blocks a i.picto
{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 14px;
}

body.page-template-planning table
{
	border-collapse: collapse;
	margin-top: 30px;
	margin-bottom: 30px;
}

body.page-template-planning table td
{
	vertical-align: middle;
	position: relative;
	padding-left: 26px!important;
	padding-right: 26px!important;
}

body.page-template-planning table td .heure
{
	position: absolute;
	font-size: 11px;
	left: 0px;
	bottom: 0px;
	width: 100%;
	display: flex;
}

body.page-template-planning table td .heure span
{
	flex: 0 0 50%;
}

body.page-template-planning table td .heure:not(.double) span
{
	text-align: center!important;
	flex: 0 0 100%;
	
}

body.page-template-planning table td .heure span:first-child
{
	text-align: right;
	padding-right: 8px;
}

body.page-template-planning table td .heure span:last-child
{
	text-align: left;
	padding-left: 8px;
}

body.page-template-planning table td, body.page-template-planning table th
{
	padding: 10px;
	border: 1px solid #eee;
}

body.page-template-planning table tr.even td
{
	background: #f8f8f8;
}

body.page-template-planning table tr.separ
{
	height: 43px;
}

body.page-template-planning table tr.separ td
{
	background: #fff!important;
	border: 0;
}

body.page-template-planning table th
{
	background: #edeaea;
	position: sticky;
	top: 0;
	z-index: 3;
}

body.page-template-planning table th.ferie
{
	background: orange;
	position: relative;
}

body.page-template-planning table th.ferie .small {
	font-size: 11px;
	position: absolute;
	left: 0;
	bottom: -20px;
	width: 100%;
	color: orange;
}

body.page-template-planning table td.center, body.page-template-planning table th.center
{
	text-align: center;
}

body.page-template-planning .days
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

body.page-template-planning select.double
{
	margin-top: 5px;
}

body.page-template-planning td .pastille
{
	display: flex;
	width: 10px;
	height: 10px;
	border-radius: 15px;
	background: red;
	position: absolute;
	left : 5px;
	top: 5px;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
}

body.page-template-planning td .pastille.right
{
	left: auto;
	right: 5px;
}

body.page-template-planning .plus
{
	position: absolute;
	right: 2px;
	top: 2px;
	cursor: pointer;
}

body.page-template-planning .days .titre
{
	font-weight: bold;
	font-size: 20px;
	text-align: center;
	flex: 1;
}

#map
{
	width: 100%;
	height: calc(100vh - 341px); 
	border: 2px solid #ccc;
}

@media(max-height: 400px)
{
	#map {
		height: 400px;
	}	
}

#map .infowindow .nom
{
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 15px;
	margin-top: 10px;
}

#map .infowindow .actions
{
	display: flex;
	justify-content: center;
	margin-top: 15px;
}


#map .infowindow .actions a
{
	display: inline-block;
	border-radius: 25px;
	background-color: #0c3282;
	color: #fff;
	padding: 10px 15px;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
}

#markers
{
	display: none;
}

.messages .message
{
	border-radius: 10px;
	background-color: #f8f8f8;
	margin-bottom: 20px;
	padding: 13px 20px 5px 20px;
	width: calc(100% - 70px);
	position: relative;
}

.messages .message a
{
	text-decoration: underline;
}

.messages .message .remove
{
	position: absolute;
	right: 5px;
	top: 5px;
	cursor: pointer;
}

.messages .message .txt
{
	line-height: 24px;
}

.messages .message .date
{
	font-size: 12px;
	color: #b5b5b5;
	text-align: right;
	padding-top: 10px;
}

.messages .message.monthly
{
	background: #49b6fa;
	color: #fff;
}

.messages .message:nth-child(2n)
{
	margin-left: auto;
}

.messages .message.monthly .date
{
	color: #fff;
}

i.picto.check:after
{
	background: url(images/p_check.svg) no-repeat center center;
}
i.picto.cadenas:after
{
	background: url(images/p_cadenas.svg) no-repeat center center;
	background-size: 19px;
}
i.picto.calendar:after
{
	background: url(images/p_calendar.svg) no-repeat center center;
	background-size: 25px;
}
i.picto.info:after
{
	background: url(images/p_info.svg) no-repeat center center;
}
i.picto.marker:after
{
	background: url(images/p_marker.svg) no-repeat center center;
	background-size: 21px;
}
i.picto.play:after
{
	background: url(images/p_play.svg) no-repeat center center;
}
i.picto.tools:after
{
	background: url(images/p_tools.svg) no-repeat center center;
}
i.picto.warning:after
{
	background: url(images/p_warning.svg) no-repeat center center;
}
i.picto.watch:after
{
	background: url(images/p_watch.svg) no-repeat center center;
}
i.picto.users:after
{
	background: url(images/p_users.svg) no-repeat center center;
}


body.page-template-listing-data .form .header .days
{
	display: flex;
	margin-top: 20px;
	gap: 10px;
}

#footer
{
	background-color: #000;
	display: flex;
	flex-flow: column;
	align-items: center;
	font-size: 13px;
	font-weight: 600;
	color: #989898;
	text-align: center;
	padding: 25px;
	margin-top: 20px;
}

body.page-template-map h1
{
	margin-bottom: 0;
}

body.page-template-map #footer
{
	margin-top: 0;
}

body.page-template-users .form .fields {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

body.page-template-users .form .row {
	flex: 0 0 calc(50% - 10px);	
}

body.page-template-users .value {
	display: flex;
}

body.page-template-users .push{
	width: 20px;
	height: 20px;
	background: url(images/bell_ringing_fill.svg) no-repeat center center / 100%;
	display: block;
	z-index: 999999;
	margin-left: 10px;
}

@media(max-width: 700px)
{
	
	.form .radios .raison {
		flex: 0 0 100%;
	}
	
	body.page-template-planning .days {
		flex-flow: column;
		gap: 20px;
	}
	
	.btn {
		height: 32px;
		font-size: 12px;
		line-height: 1;
	}
	
	body.page-template-users .form .fields {
		flex-flow: column;
	}
}


.rt { width: 100%;  border-collapse: collapse; border-spacing: 0; }

.rt th,
.rt td { margin: 0;}
.rt th { text-align: left;  }


@media only screen and (max-width: 40em) { /*640*/

	#rt1 { display: block; position: relative; width: 100%; }
	#rt1 thead { display: block; float: left; }
	#rt1 tbody { display: block; width: auto; position: relative; overflow-x: auto; white-space: nowrap; }
	#rt1 thead tr { display: block; }
	#rt1 th { display: block; }
	#rt1 tbody tr { display: inline-block; vertical-align: top; }
	#rt1 td { display: block; min-height: 1.25em; }

	#rt2 { display: block; position: relative; width: 100%; }
	#rt2 thead { display: block; float: left; }
	#rt2 tbody { display: -webkit-box; overflow-x: auto; }
	#rt2 th,
	#rt2 tr,
	#rt2 td { display: block; }

	/* sort out borders */

	.rt th { border-bottom: 0; }
	.rt td { border-left: 0; border-right: 0; border-bottom: 0; }
	.rt tbody tr { border-right: 1px solid #babcbf; }
	.rt th:last-child,
	.rt td:last-child { border-bottom: 1px solid #babcbf; }

}

@media only print {
	body.page-template-planning #header, body.page-template-planning h1, body.page-template-planning .form .header, body.page-template-planning .btn, body.page-template-planning #footer {
		display: none;
	}
	
	body.page-template-planning {
		background: none;
	}
	
	body.page-template-planning #header {
		display: none;
	}
}