//*****************************************************************************
//*****************************************************************************
// Jobs List Job Card #2 Record Styles
//*****************************************************************************
//*****************************************************************************

//=============================================================================
// Job Card Record Styles
//=============================================================================
&.job-card2 {

    background: rgb(246, 246, 246);
    &:nth-child(even) {
        background: rgb(234, 234, 234);
    }
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 3px rgb(229, 225, 225);
    cursor: pointer;

    //=====================================================================
    // Row #1
    //=====================================================================
    .row1 {
        display: flex;

        & > div {
            width: 33%;
        }

        .aircraft {
            .tail {
                cursor: pointer;
                font-weight: 900;
                color: #0c75f0;
            }
            .model {
                font-size: 13px;
                line-height: 1.0;
            }
        }
        .airport {
            .airport_code {
                color: #223864;
                font-weight: bold;
                text-align: center;
            }
            .fbo {
                line-height: 1.0;
                text-align: center;
                font-size: 13px;
            }
        }
        .job-info {
            .job-id {
                cursor: pointer;
                color: #2b6179;
                text-align: right;
                font-weight: bold;

                .fa {
                    font-size: 12px;
                    padding-bottom: 2px;
                }
            }
            .job-date {
                text-align: right;
                font-size: 13px;
                line-height: 1.0;
            }
        }
    }

    //=====================================================================
    // Row #2
    //=====================================================================
    .row2 {
        display: flex;
        margin-top: 10px;
        & > div {
            width: 50%;
            //display: flex;
        }

        .customer-info {
            font-size: 13px;
            text-transform: uppercase;
            .customer-name {
                min-height: 23px;
            }
            .job-status-wrapper {}
        }
        .vendor-info {
            text-align: right;
            font-size: 13px;
            text-transform: uppercase;
            .vendor-name {
                min-height: 23px;
            }
            .vendor-job-status-wrapper {
                float: right;
                .vendor-job-status {
                    margin-right: 0;
                }
            }
        }
    }

    //=====================================================================
    // Row #3
    //=====================================================================
    .row3 {
        display: flex;
        margin-top: 10px;
        margin-bottom: 10px;
        & > div {
            width: 50%;
            font-size: 12px;
        }
        .eta {
            color: #7a7a7a;
            font-size: 12px;
        }
        .etd {
            text-align: right;
            color: #7a7a7a;
            font-size: 12px;
        }
    }

    //=====================================================================
    // Actions Row
    //=====================================================================
    .actions-row {
        margin-top: 10px;
        margin-bottom: 5px;
        .q-btn {
            margin-right: 8px;
            color: $primary;
        }
        :last-child.q-btn {
            margin-right: 0;
        }
    }

    //=====================================================================
    // Active Card
    //=====================================================================
    &.active {
        .actions-row {
            .q-btn {
                background: $tertiary;
                color: #eeeeee;
            }
        }
    }

    //=====================================================================
    // Expandable Row
    //=====================================================================
    .expandable-row {
        margin-top: 10px;

        .expanded-icon {
            background: #eeeeee;
            border-radius: 5px;
            text-align: center;
        }

        .expanded-content {
            padding: 5px 0;

            .expanded-row {
                margin-top: 5px;
                .expanded-label,
                .expanded-value {
                    font-size: 12px;
                    vertical-align: top;
                }
                .expanded-label {
                    color: #8d8c8c;
                }
                .split {
                    .expanded-label,
                    .expanded-value {
                        display: inline-block;
                        width: 50%;
                    }
                    .expanded-label {
                        border-bottom: 1px #c8c8c8 solid;
                    }
                }

                //-------------------------------------------------------------
                // Job Items
                //-------------------------------------------------------------
                &.job-items {

                }
            }
        }
    }
}
