/******* Calendar *********/
.fc-toolbar .fc-left {
	width: 80%;
}
.fc-toolbar .fc-left > div {
	float: none;
}
#mj-contentarea .fc-toolbar .fc-left h2 {
	margin: 0;
	margin-left: .75em;
    padding: 0;
}
.fc-toolbar .fc-right {
	width: 20%;
}
.fc .fc-toolbar > * > * > * {
	display: inline-block;
	vertical-align: middle;
    margin-left: .75em;
}
.fc .fc-toolbar > * > * > :first-child {
    margin-left: 0;
}
.fc-event-container {
	user-select: none;
	touch-action: none;
	pointer-events: none;
}

.fc-content-skeleton strong {
    float: left;
    font-weight: bold;
}
.location .fc-unthemed td.plot {
    background-color: beige;
}
/******* Location *********/
.rmq {
	padding: 0.5em 1em;
	margin: 1em 0;
	background-color: gainsboro;
	text-align: center;
}
.rmq strong {
	font-weight: bold;
}
.etapes-location.nav-tabs.nav-justified > li > a {
	font-size: 0.9em;
	padding: 8px 0 8px 8px;
	border-radius: 0;
	border-color: transparent;
	
	color: white;
	background-color: #0A5BA2;
}
.etapes-location.nav-tabs.nav-justified > .active > a, .etapes-location.nav-tabs.nav-justified > .active > a:focus, .etapes-location.nav-tabs.nav-justified > .active > a:hover,
.etapes-location.nav-tabs.nav-justified > li > a:focus, .etapes-location.nav-tabs.nav-justified > li > a:hover {
	border-color: transparent;
	border-radius: 0;
	
	color: white;
	background-color: #367BBC;
}
.etapes-location .chiffre {
	font-size: 1.6em;
    vertical-align: sub;
	margin-right: 0.25em;
}

.location .fc-unthemed th, .location .fc-unthemed td, .location .fc-unthemed thead, .location .fc-unthemed tbody, .location .fc-unthemed .fc-divider, .location .fc-unthemed .fc-row, .location .fc-unthemed .fc-popover {
	border-color: white;
}
.location .fc-toolbar {
	background-color: #1697B6;
	margin: 0;
    padding: 0.75em 0;
    color: white;
}
.location .fc-state-default, .location .fc-state-hover, .location .fc-state-down, .location .fc-state-active, .location .fc-state-disabled {
	color: white;
	background: transparent;
	box-shadow: 0 0 0;
    text-shadow: 0 0 transparent;
    border: 0 none;
	border-radius: 0;
}
.location .fc-right .fc-state-default {
	border-bottom: 1px solid white;
}
.location .fc-right .fc-state-default.fc-state-disabled {
	border-bottom-color: transparent;
}
.location .fc-day-header {
	background-color: #1697B6;
	padding: 0.5em 0;
    color: white;
    font-size: 1.1em;
}
.location .fc-unthemed td, .location .fc-unthemed tbody, .location .fc-unthemed .fc-divider, .location .fc-unthemed .fc-row, .location .fc-unthemed .fc-popover {
	background-color: #DDDDDD;
}
.location .fc-day-number {
	color: #1697B6;
}
.location .fc-day-number.fc-other-month {
	opacity: 1;
	color: #999999;
}
.location .fc td.fc-today {
	opacity: 0.6;
}
.location .fc-event {
	border-radius: 0;
}
.location .fc-ltr .fc-h-event.fc-not-start, .location .fc-rtl .fc-h-event.fc-not-end, .location .fc-day-grid-event {
	margin-left: 0;
	margin-right: 0;
}

.recap-interieur {
	background-color: #1697B6;
	padding-bottom: 0.5em;
}
.recap-interieur h3 {
	background-color: #367BBC;
	color: white;
	border-bottom: 1px solid white;
	
	text-align: center;
	padding: 0.5em;
	margin-bottom: 0;
}
.recap-interieur p {
	padding: 0.5em;
	text-align: center;
	color: white;
}
.recap-interieur p span {
	font-size: 1.2em;
}

.location .btn {
	background: #367BBC;
    width: 100% !important;
    text-shadow: 0 0 transparent;
    border-radius: 0;
    box-shadow: 0 0 0;
    display: block;
    border: 0 none;
    padding: 1em;
	margin: 0.5em 0;
    text-align: center;
    font-size: 1.2em;
    line-height: 1;
}
.location .btn.btn-danger {
	background: #C11819
}

.bloc-personne {
	margin-bottom: 1.5em;
	height: 14em;
	clear: both;
}
.bloc-personne:before, .bloc-personne:after {
	display: table;
	content: " ";
}
.bloc-personne:after {
	clear: both;
}
.bloc-personne .infos, .bloc-personne .materiel {
	float: left;
	vertical-align: top;
	width: 30%;
	box-sizing: border-box;
}
.bloc-personne .infos {
	background-color: #1697B6;
	color: white;
	height: 100%;
}
.bloc-personne .infos .actions {
	float: right;
	margin-top: 0.5em;
    margin-right: 0.5em;
	font-size: 1.2em;
}
.bloc-personne .infos .actions div {
	display: inline-block;
	vertical-align: top;
}

.bloc-personne .infos .personne:before, .bloc-personne .infos .personne:after,
.bloc-personne .infos .mensurations:before, .bloc-personne .infos .mensurations:after {
	display: table;
	content: " ";
}
.bloc-personne .infos .personne:after,
.bloc-personne .infos .mensurations:after {
	clear: both;
}

.bloc-personne .infos .personne {
	border-bottom: 1px solid white;
	height: 10em;
	padding: 1em 0.5em;
}
.bloc-personne .infos .personne .genre {
	height: 8em;
	width: 8em;
	float: left;
}
.bloc-personne .infos .personne .genre.hom {
	background: url(../../images/theme/homme.png) center center no-repeat;
	background-size: contain;
}
.bloc-personne .infos .personne .genre.fem {
	background: url(../../images/theme/femme.png) center center no-repeat;
	background-size: contain;
}
.bloc-personne .infos .personne small {
	display: block;
}
.bloc-personne .infos .mensurations {
	height: 4em;
}
.bloc-personne .infos .mensurations div {
	float: left;
	width: 33.3333%;
	height: 100%;
	border-right: 1px solid white;
	box-sizing: border-box;
	
	background-repeat: no-repeat;
	background-position: 0.25em center;
	padding-right: 0.25em;
	text-align: right;
    line-height: 4em;
}
.bloc-personne .infos .mensurations .maTaille {
	background-color: #0A5BA2;
	background-image: url(../../images/theme/picto-taille.png);
}
.bloc-personne .infos .mensurations .monPoids {
	background-color: #367BBC;
	background-image: url(../../images/theme/picto-poids.png);
}
.bloc-personne .infos .mensurations .maPointure {
	background-color: #1697B6;
	background-image: url(../../images/theme/picto-pointure.png);
	border-right: 0 none;
	padding-right: 1.5em;
}
.bloc-personne .materiel {
	width: 70%;
	height: 100%;
}
.bloc-personne .materiel > * {
	float: left;
	width: 25%;	
	height: 100%;
	border-left: 2px solid white;
	box-sizing: border-box;
}
.bloc-personne .materiel .inside-materiel {
	background-color: #BBBBBB;
	color: white;
	text-align: center;
	padding: 1em 0.25em;
}
.bloc-personne .materiel > ul {
	width: 75%;
	padding: 1em;
}
.bloc-personne .materiel .inside-materiel {
	cursor: pointer;
}
.bloc-personne .materiel .inside-materiel strong {
    display: block;
    font-weight: bold;
}
.bloc-personne .materiel .inside-materiel p {
	margin-top: 4em;
}

.bloc-personne .materiel.recap > ul {
	height: 90%;
}
.bloc-personne .materiel.recap .supprimer {
	display: none;
}
.bloc-personne .materiel.recap .assurance {
	height: 10%;
	width: 75%;
}
.bloc-personne .materiel.recap .assurance input[type=checkbox] {
	margin: 0 5px;
}
.bloc-personne .materiel.recap .assurance label {
	width: auto;
	margin: 0;
}

.bloc-personne.loca-reducto {
	height: 4em;
	width: 30%;
	float: left;
	margin-right: 1.5%;
	margin-bottom: 1.5%;
	clear: none;
	cursor: pointer;
}
.bloc-personne.loca-reducto .infos {
	width: 100%;
}
.bloc-personne.loca-reducto .actions, .bloc-personne.loca-reducto .mensurations, .bloc-personne.loca-reducto .materiel {
	display: none;
}
.bloc-personne.loca-reducto .personne {
	height: 4em;
	padding: 0.5em;
}
.bloc-personne.loca-reducto .infos .personne .genre {
    height: 3em;
    width: 3em;
	margin-right: 1em;
}

.clear_location {
	clear: both;
}
.rond-etape {
	border: 1px solid white;
    border-radius: 1em;
    height: 1em;
    width: 1em;
    display: inline-block;
    font-size: 2em;
    line-height: 1;
}
.editer, .supprimer {
	cursor: pointer;
}

.bloc-personne .materiel ul .supprimer {
	float: left;
    margin-right: 0.5em;
    margin-top: 0;
}

#produits_locations {
	border: 2px solid #C11819;
}
#produits_locations:before, #produits_locations:after {
	display: table;
	content: " ";
}
#produits_locations:after {
	clear: both;
}
#produits_locations > .btn {
	margin-top: 0;
}
#produits_locations > h3 {
	text-align: center;
	color: #1697B6;
}
#produits_locations .nominem {
	font-style: italic;
}

#isotope_label { 
	height:50px;
	margin-bottom:5px;
	padding-top:6px;
	font-size:1.3em;
	color:white;
	text-align: center;
}
#isotope_label.deploye {
	font-size:1em;
	height: auto;
}

.label_matos, .label_sub_matos { 
	display: inline-block;
	vertical-align: top;
	padding: 14px 10px 14px 10px;
	margin: 0 1em;
	cursor:pointer;
	background-color: #1697B6;
}
.label_matos .ctn_img { 
	display:none; 
}
.label_matos:hover, .label_matos.actif { 
	background-color:#367BBC;
}
.label_matos.actif:after {
	content: " ";
    height: 25px;
    width: 25px;
    background: url(../../images/theme/fleche-bas.png) center center no-repeat;
	background-size: contain;
    display: block;
    float: right;
    margin-left: 0.5em;
}
.label_matos.nope:hover { 
	cursor:not-allowed;
}

.deploye .label_magasin {
	width: 48%;
	background: #1697B6;
	margin: 1%;
	padding: 0;
	height: auto;
	padding-top: 1em;
	font-size: 1.4em;
}
.deploye .label_magasin:hover { 
	background: #62D0EC;
}
.deploye .label_magasin .ctn_img { 
	display: block;
}
.ctn_txt {
	background: #167FA3;
	padding: 0.5em;
	margin-top: 1em;
	border-top: 1px solid white;
	font-size: 0.9em;
	height: 8em;
	display: none;
}
.deploye .label_magasin .ctn_txt {
	display: block; 
}

.isotope_sub_label {
	display: none;
	margin-top: 10px;
	text-align: center;
}
.isotope_sub_label.deploye {

}
.label_sub_matos {
    box-sizing: border-box;
	padding: 0;
	margin: 0.25em;
    
	background: white;
    text-align: center;
}
.label_sub_matos:hover h4, .label_sub_matos.actif h4 {
	background: #367BBC;
	color: white;
}
.label_sub_matos h4 {
	margin: 0;
	padding: 0.5em 1em;
	background: #ddd;
}

.deploye .label_sub_matos {
	width: 240px;
	margin: 12px;
	
	border: 1px solid #D9D9D9;
    border-bottom: 3px solid #A91414;
    border-radius: 5px 5px 0px 0px;
}
.deploye .label_sub_matos h4 {
	background: transparent;
	padding: 1em 0.5em;
}
.deploye .label_sub_matos:hover h4, .deploye .label_sub_matos.actif h4 {
	background: #ddd;
	color: black;
}

.label_sub_matos .ctn_img {
	height: 178px;
	width: 240px;
	text-align: center;
	display: none;
	vertical-align: middle;
}
.deploye .label_sub_matos .ctn_img { 
	display: table-cell;
}
.label_sub_matos img { 
	max-height:100%; 
	max-width: 100%; 
}

#isotope_loca {
	text-align: center;
}
.a_location {
	width: 240px;
	height: 275px;
	margin: 12px;
	border: 1px solid #D9D9D9;
	box-sizing: border-box;
}
.a_location .product_image {
	width: 240px;
	height: 180px;
	display: table-cell;
	text-align: center;
    vertical-align: middle;
}
.a_location .product_image img {
	max-height: 100%;
	max-width: 100%;
}
.a_location .product_title {
	text-align: center;
	height: 40px;
}
.a_location .product_price {
	background-color: #F7F7F7;
	border-top: 3px solid #A91414;
	height: 20px;
	font-size:1.1em;
	margin: 0;
    padding: 1em 0.5em;
}

.fancybox-wrap strong {
	font-weight: bold;
}
#fiche_titre {
	padding: 0.5em;
}
#fiche_prix_location {
    float: right;
    padding: 0.5em;
    background: #C11819;
    color: white;
    box-sizing: border-box;
    margin-top: -0.5em;
}
#fiche_dimension .choose_me {
    margin: 5px 0;
    padding: 8px;
    background: #1697B6;
    color: white;
    text-align: left;
    cursor: pointer;
}
#fiche_dimension .choose_me:active, #fiche_dimension .choose_me:hover {
	background: #45C8E9;
}
.select_me {
	float: right;
    border: 2px solid white;
    padding: 0.5em;
    margin: -10px;
    font-size: 1.2em;
    background: #C11819;
}
#fiche_dimension .choose_me .titre_choose {
    display: block;
    font-weight: bold;
    font-size: 1.5em;
    padding: 5px 0;
}
.desc_opt {
    font-size: 0.6em;
    line-height: 1;
}

#recap_info_loca {
	padding: 1em 1.5em;
    text-align: right;
    font-size: 1.3em;
    background: #D8D8D8;
    margin: 2em auto;
}
#recap_prix_loca { 
	font-weight:bold;
	margin-top:1em;
}

#cocher_cgv {
	border: 1px solid transparent;
}
#cocher_cgv label {
	width: 100%;
}
#cocher_cgv label input {
	margin-right: 0.5em;
}

.fancybox-overlay {
	z-index: 10010;
}
.fancybox-wrap {
	z-index: 10020;
}
.fancybox-opened {
	z-index: 10030;
}
.fancybox-close {
	z-index: 10040;
}

/*http://stackoverflow.com/questions/32675849/screen-zooms-in-when-a-bootstrap-modal-is-opened-on-ios-9-safari*/
body.modal-open {
	padding-right: 0px !important;
	overflow-y: auto;
}
/********* Responsive **************/
@media only screen and (min-width:301px) and (max-width:450px) {
	#mj-contentarea .fc-toolbar .fc-left h2, .fc .fc-toolbar > * > * > * {
		margin-left: 0;
	}
	#mj-maincontent .location table td {
		float: none;
	}
	.location .fc-day-header {
		overflow: hidden;
	}
	
	.bloc-personne {
		height: auto;
	}
	.bloc-personne.loca-reducto {
		width: 45%;
	}
	.bloc-personne .infos, .bloc-personne .materiel, .bloc-personne .materiel > * {
		width: 100%;
	}
	.bloc-personne .infos .mensurations .maPointure {
		padding-right: 0.25em;
	}
	.bloc-personne .materiel > * {
		border: 0 none;
		height: auto;
	}
	.bloc-personne .materiel > ul {
		width: 100%;
		padding: 0.5em;
		background-color: #eee;
	}
	.bloc-personne .materiel .inside-materiel p {
		margin-top: 1em;
	}
	
	.modal label {
		width: 100%;
		margin-bottom: 0;
	}
	.modal input[type="checkbox"], .modal input[type="radio"] {
		width: 18%;
	}
	.modal input[type="checkbox"] + label, .modal input[type="radio"] + label {
		width: 80%;
	}
	
	.deploye .label_magasin {
	    padding-top: 0.5em;
	}
	.ctn_txt {
		font-size: 0.45em;
		height: 12em;
	}
	#isotope_label {
		height: auto;
	}
	.label_matos {
		margin-bottom: 0.5em;
	}
	
	#fiche_prix_location {
		margin-top: 0.5em;
		float: none;
		display: block;
	}
	#fiche_image, #fiche_infos {
		width: 100%;
		margin-left: 0;
	}
}
@media only screen and (min-width:451px) and (max-width:600px) {
	.bloc-personne.loca-reducto {
		width: 45%;
	}
	.bloc-personne .infos, .bloc-personne .materiel {
		width: 45%;
	}
	.bloc-personne .materiel {
		width: 55%;
	}
	.bloc-personne .materiel .inside-materiel {
		width: 35%;
	}
	.bloc-personne .materiel > ul {
		width: 65%;
		padding: 0.5em;
	}
	.bloc-personne .materiel .inside-materiel p {
		margin-top: 1em;
	}
	.bloc-personne .materiel.recap .assurance {
		width: 65%;
		font-size: 0.7em;
	}
	
	.deploye .label_magasin {
	    padding-top: 0.5em;
	}
	.ctn_txt {
		font-size: 0.6em;
		height: 12em;
	}
	#isotope_label {
		height: auto;
	}
	.label_matos {
		margin-bottom: 0.5em;
	}
	
	#fiche_prix_location {
		margin-top: 0.5em;
		float: none;
		display: block;
	}
}
@media only screen and (max-width: 1200px) and (min-width: 601px) {
	.bloc-personne .materiel .inside-materiel p {
		margin-top: 2.5em;
	}	
	.ctn_txt {
		font-size: 0.8em;
		height: 12em;
	}
}
@media only screen and (max-width: 900px) and (min-width: 701px) {
	.mj-grid8, .mj-grid16, .mj-grid24, .mj-grid32, .mj-grid40, .mj-grid48,
	.mj-grid56, .mj-grid64, .mj-grid72, .mj-grid80, .mj-grid88, .mj-grid96 {
		float:left;
		margin-left: 0px;
		margin-right: 0px;
		width: 100%;
	}
}