*, *:before, *:after {
/*  box-sizing: border-box;*/
}

html {
  font-size: 16px;
}

.plane {
  /*margin: 20px auto;
  max-width: 400px;*/
}

.cockpit {
  height: 35px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 5px solid #d8d8d8;
}
.cockpit:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  border-right: 5px solid #d8d8d8;
  border-left: 5px solid #d8d8d8;
  border-top: 5px solid #d8d8d8;
}
.cockpit h1 {
  width: 60%;
  margin: 0px auto 35px auto;
  font-size: 20px;
}

.exit {
  position: relative;
  height: 50px;
}
.exit:before, .exit:after {
  content: "EXIT";
  font-size: 14px;
  line-height: 18px;
  padding: 0px 2px;
  font-family: "Arial Narrow", Arial, sans-serif;
  display: block;
  position: absolute;
  background: green;
  color: white;
  top: 50%;
  transform: translate(0, -50%);
}
.exit:before {
  left: 0;
}
.exit:after {
  right: 0;
}

.exit--back:after {
  display: none;
}

.fuselage {
  border-right: 5px solid #d8d8d8;
  border-left: 5px solid #d8d8d8;
}

ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.seat {
  display: flex;
  /*flex: 0 0 10.28571428571429%;*/
  padding: 2px;
  position: relative;
}
.seat:nth-child(1) {
  margin-left: 4%;
}
.seat:nth-child(19) {
  margin-right: 4%;
}
.seat input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
.seat input[type=checkbox]:checked + label {
  background-image: url("/images/booking/Union_Films_Seat_Occ.png");
  background-repeat: no-repeat;
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
  animation-duration: 300ms;
  animation-fill-mode: both;
  color: black;
  text-indent: -9999px;
    box-shadow: 0 0 0px 2px red;
}
.seat input[type=checkbox]:disabled + label {
  background-image: url("/images/booking/Union_Films_Seat_Occ.png");
  background-repeat: no-repeat;
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
  animation-duration: 300ms;
  animation-fill-mode: both;
  color: black;
  text-indent: -9999px;
  overflow: hidden;
}
.seat input[type=checkbox]:disabled + label:after {
  content: "";
  text-indent: 0;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translate(-50%, 0%);
}
.seat input[type=checkbox]:disabled + label:hover {
  box-shadow: none;
  cursor: not-allowed;
}
.seat label {
  display: block;
  position: relative;
  width: 26px;/*100%;*/
  height: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5rem;
  padding: 0px 0;
  background-image: url("/images/booking/Union_Films_Seat.png");
  background-size: 26px 26px;
  background-repeat: no-repeat;
  border-radius: 5px;
  animation-duration: 300ms;
  animation-fill-mode: both;
}

@media only screen and (max-width: 1190px)  {

	.seat {
	  padding: 1px;
	}
}
@media only screen and (max-width: 1120px)  {
	.seat label {
		width: 20px;
		height: 100%;
		background-size: 100%;
		padding: 0;
		font-size: 10px;
	}
}
@media only screen and (max-width: 900px)  {
	.seat label {
		width: 17px;
		height: 100%;
		background-size: 100%;
		padding: 0;
		font-size: 8px;
	}
}
@media only screen and (max-width: 820px)  {
	.seat:nth-child(1) {
	  margin-left: 2%;
	}
}

@media only screen and (max-width: 769px)  {
	.seat:nth-child(19) {
		margin-right: 3%;
	}
}
@media only screen and (max-width: 580px)  {
	.seat-container {
		width: 565px;
	}
}
@media only screen and (max-width: 475px)  {
	.seat:nth-child(1) {
	  margin-left: 5.28571428571429%;
	}
	.seat:nth-child(19) {
	  margin-right: 5.28571428571429%;
	}
	.seat-container {
		width: 470px;
	}
}
@media only screen and (max-width: 450px)  {
	.seat label {
		width: 15px;
		height: 15px;
	}
	.seat input[type=checkbox] + label {
	  text-indent: -9999px;
	}
}
@media only screen and (max-width: 450px)  {
	.seat {
		 padding: 0px;
	}
	.seat:nth-child(1) {
	  margin-left: 4%;
	}
	.seat:nth-child(19) {
	  margin-right: 4%;
	}
}

.seat label:before {
  content: "";
  position: absolute;
  width: 75%;
  height: 75%;
  top: 1px;
  left: 50%;
  transform: translate(-50%, 0%);
  border-radius: 3px;
}
.seat label:hover {
  cursor: pointer;
  box-shadow: 0 0 0px 2px #5C6AFF;
}

@-webkit-keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d0e9c6;
    color: #3c763d;
}
.alert-info {
    background-color: #d9edf7;
    border-color: #bcdff1;
    color: #31708f;
}
.alert-warning {
    background-color: #fcf8e3;
    border-color: #faf2cc;
    color: #8a6d3b;
}
.alert-danger {
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
}
.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.cockpit h1 {
  line-height: 36px;
}

#sidebar h2, #steps h2, .boxoffice-text h2 {
  margin-bottom: 18px;
}