*, *:before, *:after {
    box-sizing: border-box;
}
html {
    font-size: 16px;
}
.plane {
    margin: 20px auto;
    max-width: 500px;
    transform: rotate(90deg);
}
.cockpit {
    width: fit-content;
    text-align: center;
    transform: rotate(-90deg);
    position: relative;
    bottom: 10px;
    left: 10px;
    color: white;
}
.cockpit h1 {
    margin: 80px auto 80px auto;
}
.exit {
    position: relative;
    height: 50px;
}
.exit:before, .exit:after {
    content: "";
    font-size: 14px;
    line-height: 18px;
    padding: 0px 2px;
    font-family: "Arial Narrow", Arial, sans-serif;
    display: block;
    position: absolute;
    background: gray;
    color: white;
    top: 50%;
    transform: translate(0, -50%);
}
.exit:before {
    left: 0;
}
.exit:after {
    right: 0;
}
.fuselage {
    border-left: 5px solid #bf9e71;
}
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 14.2857142857%;
    padding: 10px;
    position: relative;
    transform: rotate(270deg);
}
.seat input[type=checkbox] {
    position: absolute;
    opacity: 0;
}
.seat input[type=checkbox]:active + label {
    background: #573302;
    color: white;
    -webkit-animation-name: rubberBand;
    animation-name: rubberBand;
    animation-duration: 300ms;
    animation-fill-mode: both;
}
.seat input[type=checkbox]:disabled + label {
    background: red;
    text-indent: -9999px;
    overflow: hidden;
}
.seat input[type=checkbox]:disabled + label:after {
    content: "X";
    text-indent: 0;
    color: white;
    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: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 4px 0;
    background: #bf9e71;
    border-radius: 5px;
    animation-duration: 300ms;
    animation-fill-mode: both;
}
.seat label:before {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    top: 1px;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(255, 255, 255, .4);
    border-radius: 3px;
}
.seat label:hover {
    cursor: pointer;
    box-shadow: 0 0 0px 2px #f6f6f6;
}
@-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;
}
#newTable {
    border: 11px solid #bf9e71;
    width: auto;
    margin: auto;
}
@media screen and (max-width: 800px) {
    #newTable {
        width: max-content;
        margin: auto;
   }
}
#newTable thead {
    background-color: #5a5858;
}
#newTable thead th {
    overflow-wrap: break-word;
    overflow-x: auto;
    border: 2px solid #bf9e71;
    font-Weight: bold;
    font-Size: 25px;
    color: white;
    text-align-last: center;
}
#newTable tbody td {
    overflow-Wrap: break-word;
    overflow-x: auto;
    border: 2px solid #bf9e71;
    color: white;
    font-Size: 19px;
}
#newTable tfoot th {
    border: 2px solid #bf9e71;
    overflow-Wrap: break-word;
    overflow-x: auto;
    color: white;
    font-Weight: bold;
    font-family: 'Lato';
    font-size: 35px;
    white-space: nowrap;
}
#back {
    background-color: #bf9e71;
    color: black;
    float: right;
    border: none;
}
#to {
    background-color: #bf9e71;
    color: black;
    float: right;
    border: none;
}
#edit {
    border: 1px solid #bf9e71;
    background-color: black;
    color: white;
    text-align: center;
}
#containerScroll {
    overflow: scroll;
}
#containerScroll::-webkit-scrollbar {
    display: none;
}
input#present:focus {
    background-color: #eec658 !important;
}
.place {
    color: white;
    position: absolute;
    font-style: oblique;
    font-family: cursive;
}
.list {
    display: none;
    background: #b94242;
    font-size: 17px;
    font-weight: bold;
    color: white;
}
