/**
 * This file is part of the Trucks package.
 *
 * (c) Ondřej Záruba <info@zaruba-ondrej.cz>
 *
 * For the full copyright and license information, please view the license.md
 * file that was distributed with this source code.
 */

.trucks-container {
    margin-top: 50px;
}

.trucks-boxes {
    display: inline-block;
    margin: 0 100px 25px 0;
}

.trucks-boxes .trucks-box-wrapper {
    margin-right: 2px;
}

.trucks-box,
.trucks-box-wrapper {
    width: 41px;
    height: 63px;
}

.trucks-box-wrapper {
    display: inline-block;
    position: relative;
    background: url(./images/empty.png);
}

.trucks-box {
    text-align: center;
    line-height: 63px;
    font-weight: bolder;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0
}

.trucks-box-0 {
    background: url(./images/box_a.png);
}

.trucks-box-1 {
    background: url(./images/box_b.png);
}

.trucks-truck-container {
    display: inline-block;
    width: 250px;
    margin-right: 100px;
}

.trucks-truck-wrapper {
    width: 100%;
    height: 105px;
    background: url(./images/truck.png);
    position: relative;
}

.trucks-droppable-0, .trucks-droppable-1, .trucks-droppable-2, .trucks-droppable-3 {
    background: url(./images/empty.png);
    width: 41px;
    height: 63px;
    position: absolute;
}

.trucks-droppable-0 {
    left: 72px;
}

.trucks-droppable-1 {
    left: 114px;
}

.trucks-droppable-2 {
    left: 156px;
}

.trucks-droppable-3 {
    left: 198px;
}

.trucks-truck-info {
    margin-top: 25px;
    background-color: #000000;
    color: #ffffff;
    font-weight: 900;
    width: 100%;
    height: 35px;
    line-height: 35px;
    border-radius: 20px;
    padding: 0 10px;
}

.trucks-truck-info .trucks-left {
    float: left;
}

.trucks-truck-info .trucks-right{
    float: right;
}

.trucks-truck-error .trucks-truck-info {
    background-color: red;
}

.trucks-truck-error .trucks-truck-wrapper {
    background: url(./images/truck_red.png);
}