/* 
 *  Copyright 2017 Complice WEB.
 * 
 *  Logiciel sous la licence Complice Web, Version 1.0;
 *  vous ne pouvez pas utiliser ce fichier sauf en conformité avec la licence.
 *  Vous pouvez obtenir une copie de la licence à
 * 
 *       http://www.compliceweb.com/licenses/LICENSE-1.0
 * 
 *  Sauf si requis par la loi applicable ou accepté par écrit, un logiciel
 *  distribué sous cette licence est distribué "TEL QUEL",
 *  SANS GARANTIE OU CONDITION DE QUELQUE SORTE, expresse ou implicite.
 */

/* 
 *  @author Denis JARDIN <dj@kdrezo.net>
 */
.seating-plan {
	position: relative;
}

/**
 * Legende
 */
.seating-plan .seating-plan-toolbar {
	height: auto;
	display: block;
	position: relative;
	box-sizing: border-box;
	margin: 12px 0 25px;
    margin-bottom: 25px;
	padding: 10px;
	width: 100%;
    border: 1px solid #c3c4c7;
    font-size: 13px;
}


.seating-plan .seating-plan-toolbar .legend-list {
	margin-top: 10px;
}
.seating-plan .seating-plan-toolbar .legend-list .legend {
	margin-top: 5px;
	margin-right:10px;
	display: inline-block;
	padding: 0 5px; 
	border: solid 1px lightgray;
	min-width: 5em;
	line-height: 2em;
	text-align: center;
}

/**
 *	lock unlock
 */
.seating-plan .bus-lock {
	position: absolute;
	font-size: 2em;
}
.seating-plan .bus-lock.lock {
	color: red;
}
.seating-plan .bus-lock.unlock {
	color: green;
}

/**
 *	Plan de bus
 */
.seating-plan .table-location {
	position: absolute;
	text-align: center;
}

.seating-plan .table-location.table-free {
	background-color: white;
}

.seating-plan .table-location.table-with-order {
	border: solid 1px black;
	background-color: blanchedalmond;
}

.seating-plan .table-error {
	background-color: red !important;
	/*
	border: solid 3px red !important;
	*/
}
.seating-plan .table-text-error {
	color: red !important;
}

.seating-plan .no-table-booking,
.table-info-popup .no-table-booking,
.seating-plan .table-location {
}

/**
 * Tool bar
 */
.seating-plan .seating-plan-toolbar .table-with-order {
	background-color: blanchedalmond;
}

.seating-plan .seating-plan-toolbar .table-booking,
.table-info-popup .table-booking,
.seating-plan .table-location.table-with-order.table-booking {
	background-color: cyan;
}

.seating-plan .table-location.table-with-order.table-big-order,
.seating-plan .seating-plan-toolbar .table-big-order,
.seating-plan .table-big-order {
	background-color: aquamarine;
}

.seating-plan .table-location .table-container {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

/**
 *
 */
.seating-plan .table-size-2 {
	width: 4%;
	height: 9.9%;
}
.seating-plan .table-size-4 {
	width: 4%;
	height: 23%;
}
.seating-plan .table-size-6 {
	width: 4%;
	height: 34%;
}
.seating-plan .table-size-8 {
	width: 4%;
	height: 59.47%;
}

/**
 *
 */
.seating-plan .table-location-1 {
	top: 19.75%;
	left: 8.72%;
}

.seating-plan .table-location-2 {
	top: 19.75%;
	left: 46.51%;
}

.seating-plan .table-location-3 {
	top: 19.75%;
	left: 60.5%;
}

.seating-plan .table-location-4 {
	top: 19.75%;
	left: 74.5%;
}

.seating-plan .table-location-5 {
	top: 19.75%;
	left: 88.48%;
}

.seating-plan .table-location-6 {
	top: 69.5%;
	left: 88.48%;
}

.seating-plan .table-location-7 {
	top: 69.5%;
	left: 75.2%;
}

.seating-plan .table-location-8 {
	top: 69.5%;
	left: 61.9%;
}

.seating-plan .table-location-9 {
	top: 69.5%;
	left: 48.67%;
}

.seating-plan .table-location-10 {
	top: 69.5%;
	left: 35.45%;
}

.seating-plan .table-location-11 {
	top: 69.5%;
	left: 22.10%;
}

.seating-plan .table-location-12 {
	top: 69.5%;
	left: 8.83%;
}

.seating-plan .table-location-65 {
	top: 19.75%;
	left: 88.48%;
}

.seating-plan .table-location-121 {
	top: 19.75%;
	left: 8.72%;
}


.seating-plan .table-location .table-no {
    background-color:#fff;
    border:1px solid black;    
    height:2em;
    min-width:2em;
	line-height: 2em;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
	text-align: center;
	
	position: absolute;
	left: 50%;
	margin-left: -1em;	
}

.seating-plan .table-size-8 .table-no {
	bottom: 107%;	
}
.seating-plan .table-size-6 .table-no {
	bottom: 112%;
}
.seating-plan .table-size-4 .table-no {
	bottom: 119%;	
}

.seating-plan .table-size-2 .table-no {
	top: 137%;
}

