﻿.form-control.__checkbox .indeterminate ~ .check:after {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    top: 2px;
    background: #43b0e6;
    content: '';
}


.seat-configurator .list.__items {
    margin: 0;
}
.seat-configurator .list.__items .list-item:after {
    display: none;
}

.seat-configurator .list.__items .list-count {
    position: absolute;
    right: 5px;
    top: 10px;
    font-size: 12px;
}


.seatconfig-aircraft-view {
    width: 70%;
    overflow-y: auto;
}

.seatconfig-header {
    background-color: aqua;
    width: 100%;
    margin-left: 10px;
}

.seatconfig-position-input {
    width: 50px;
    margin-left: 10px;
}

.seatconfig-section-add {
    width: 50px;
    float: left;
    margin: 0px 10px 10px 10px;
    border-radius: 5px;
    background: url('../plus.png') no-repeat center;
    border: solid 2px black;
}

.seatconfig-section {
    width: 50px;
    float: left;
    margin: 0px 10px 10px 10px;
    border-radius: 5px;
    border: solid 2px black;
}

.seatconfig-property-select {
    width: 147px;
}

.seatconfig-item-seat {
    height: 50px;
}

.seatconfig-service-title {
    font-weight: bold;
    font-size: 16px;
}

.seatconfig-service-name-title {
    font-weight: bold;
    font-size: 14px;
}

.seatconfig-service-item {
    margin-left: 15px;
}

.seatconfig-service-list {
    margin-left: 15px;
}

.seatconfig-toolbox {
    bottom: 0;
    position: absolute;
    top: 0;
    width: 20%;
}

.seatconfig-toolbox {
    border-right-width: 1px;
    left: 0;
}

.seatconfig-toolbox .list-img img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.seatconfig-toolbox .list-img img.drag {
    pointer-events: initial;
}

.transport {
    border-color: #dee9f0;
    border-style: solid;
    border-width: 0 1px;
    bottom: 0;
    left: 20%;
    position: absolute;
    right: 8px;
    top: 0;
    text-align: center;
}

.seatconfig-toolbox,
.seatconfig-seat-sections {
    overflow-y: auto;
}

.img-drop {
    width: 100%;
    height: 100%;
    border: 3px dashed;
}

.img-drop.drag-over {
    background: green;
}

.img-preview {
    width: 100%;
    height: 100%;
}

.thumbnail {
    height: 100%;
    text-align: center;
    width: 100%;
    position: relative;
}

.thumbnail img {
    display: inline-block;
    vertical-align: top;
    pointer-events: none;
}

.plane-config__background {
    width: 100%;
}

.thumbnail .scroll {
    height: calc(100% - 56px);
    overflow-y: auto;
}

.seat-label {
    border-bottom: 1px solid #dee9f0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    padding: 20px 20px 10px;
}

.seat-label .count {
    font-weight: 300;
}

.seats,
.info-labels,
.grids {
    position: relative;
}

.seats__item,
.info-labels__item {
    position: absolute;
}

.info-labels__item:hover {
    border: 2px dashed #ccc;
}

.panel-collapse.collapse {
    overflow: hidden;
}

.panel-heading {
    padding: 10px 20px;
}

.panel-heading a {
    font-size: 16px;
}

.seat-configurator .draggable {
    /* HACK If opacity equals to 1 in Chrome while dragging inner content does not displaying */
    opacity: 0.9999999;
}

/* GRIDS */

.grids .grid {
    position: absolute;
}

.grids .grid-row {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.grids .grid-cell {
    /* because of wrapper */
    width: 100%;
    height: 100%;
}

.grids .grid-cnt {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    -webkit-justify-content: center;
    justify-content: center;
    /* overriding in attributes */
    width: 100%;
    height: 100%;
}

.grids .grid {
    border: 1px solid #dee9f0;
}

.grids .grid-row + .grid-row .grid-cell-wrapper {
    border-top: 1px solid #dee9f0;
}

.grids .grid-cell-wrapper + .grid-cell-wrapper {
    border-left: 1px solid #dee9f0;
}

.grids .grid-cell-wrapper.selected .grid-cnt {
    border: 2px dashed #ccc;
    background-color: rgba(98, 165, 220, 0.37);
    box-sizing: border-box;
}

.grids .grid-cell-wrapper.hovered .grid-cnt {
    border: 2px dashed red;
    box-sizing: border-box;
}

.grids .grid-ico {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.grids .grid-cell:hover .grid-cnt {
    background: #d9effa;
    transition: background 1s;
}


.grids .columns-header > div {
    display: inline-block;
}

.grids .columns-header {
    position: absolute;
    top: -23px;
}

.grids .rows-header {
    position: absolute;
    left: -31px;
    top: 0;
}

.grids .row-header {
    width: 30px;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding-right: 5px;
}

.grids .column-header,
.grids .row-header {
    cursor: pointer;
}

.grids .column-header.selected,
.grids .row-header.selected {
    background: #dee9f0;
}

.grids .columns-header,
.grids .rows-header {
    opacity: 0.4;
}

.grids .grid:hover .columns-header,
.grids .grid:hover .rows-header {
    opacity: 1;
}

/* BULK SEAT SERVICE EDITOR */

.bulk-service-editor .seats {
    margin-left: 20px;
}



.droppable {
    position: relative;
}


body.seat-configurator-drag-active {
    cursor: move !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}


/* SCALE PANEL */

.seat-configurator .scale-panel {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.4;
    width: 100px;
    height: 100px;
}
.seat-configurator .scale-panel:hover {
    opacity: 1;
}

.seat-configurator .scale-panel .panel-ico {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 25px;
}
.seat-configurator .scale-panel:hover .panel-ico {
    display: none;
}

.seat-configurator .scale-panel .panel-button {
    font-size: 25px;
    cursor: pointer;
    display: none;
}
.seat-configurator .scale-panel .panel-button.__disabled {
    cursor: initial;
    opacity: 0.5;
    color: initial;
}
.seat-configurator .scale-panel:hover .panel-button {
    display: block;
}
.seat-configurator .scale-panel .panel-button:hover {
    color: #43b0e6;
}

.seat-configurator .scale-panel .scale-line {
    position: absolute;
    right: 100px;
    top: 0;
}
.seat-configurator .scale-panel .scale-line-num {
    font-size: 10px;
}



.seat-configurator .directive-wrapper {
    width: 100%;
    height: 100%;
}

.seat-type-name {
    max-width: 70% !important;
}


.service-variations {
    margin-left: 20px;
}

.service-variation {
    margin-bottom: 10px;
}

span.arrow::after {
    content: '►';
    position: relative;
    top: -3px;
    left: 1px;
    margin-right: -12px;
    color: gray;
}
