@import 'setup';

.panel-grid {

    padding-top: 15px;
    
    .row-col {

        line-height: 17px;
        min-height: 45px;

        p {
            margin: 0;
        }

    }

    .error-correction-space {
        float: left;
        padding: 2px 5px 0 5px;

        label {
            display: table;
            margin-bottom: 5px;
        }

    }

    &.releasebasics-fields-grid {
        display: flex;
        flex-wrap: wrap;
        padding: 0;

        .row-col {
            border-top: 1px solid $mouse;
            padding: 10px 16px;
            position: relative;

            &:nth-child(odd) {
                border-right: 1px solid $mouse;
            }

            &.carveouts-grid {

                > div {
                    width: 100%;
                }

            }

        }

    }

}

.loader-contain-space {
    margin-top: 10px;
    margin-bottom: 15px;
}

.artwork-image-modal {
    z-index: 9999;
    
    .artwork-modal-container {
        background-color: $white;
        margin: 0 auto;
        position: relative;
        top: 20%;
        width: 362px; 
    }

}

// For Highlighting Error Correction/Rejection Fields
%error-correction-field {
    background: $fox;
    color: $white;
    display: inline-block;
    font-weight: $font-weight-bold;
    padding: 0;
}

%error-rejection-field {
    background: $parrot;
    color: $white;
    display: inline-block;
    font-weight: $font-weight-bold;
    padding: 0;
}
// Ends Here

.tracks-audio-table {

    .th-td-row-space {
        padding: 8px 20px;
        vertical-align: middle;
    }

    .error-correction-space {
        position: relative;
    }

    .tracks-audio-music {
        float: left;
        width: 75px;
    }

    .tracks-audio-player {
        padding-left: 5px;
    }

    .error-correction-field {

        &:before {
            left: -15px;
            top: 3px;
        }

        &.approval-field {

            > span {
                @extend %error-correction-field;
            }

        }

    }

    .error-rejection-field {

        &:before {
            left: -15px;
            top: 3px;
        }

        span {
            color: $parrot;
        }

        &.approval-field {

            > span {
                @extend %error-rejection-field;
            }

        }

    }

    .focus-track-info {
        &:before {
            left: 30px;
            top: 4px;
        }
    }

    .track-bar {
        top: 15px;
    }

}

%error-correction-style {
    background: url(../oa/images/icon-refresh.svg) no-repeat;
}

%error-rejection-style {
    background: url(../oa/images/alert-danger-icon.svg) no-repeat;
    background-size: 12px;
}

.full-error-rejection {
    background: $parrot-light;
    color: $parrot;

    .track-duration-error {
        @extend %error-rejection-style;
        background-position: 5px 17px;
    }
    
}

.error-correction-field {
    color: $fox;
    cursor: pointer;

    &:before {
        @extend %error-correction-style;
        content: "";
        height: 15px;
        left: 3px;
        position: absolute;
        width: 15px;
    }

    > label {
        color: $fox;
        cursor: pointer;
    }

    .approval-field {
        @extend %error-correction-field;
    }

}

.error-rejection-field {
    color: $parrot;
    cursor: pointer;

    &:before {
        @extend %error-rejection-style;
        content: "";
        height: 15px;
        left: 5px;
        position: absolute;
        width: 15px;
    }

    > label {
        color: $parrot;
        cursor: pointer;
    }

    .approval-field {
        @extend %error-rejection-field;
    }

}

.error-correction-space {

    ul.approval-multiple-fields {
        display: inline-block;
        margin-bottom: 4px;

        li {
            border-bottom: 2px solid $white;
            display: block !important;
            margin: 0;
        }

    }

    .error-correction-field  {

        + ul.approval-multiple-fields {

            li {
                @extend %error-correction-field;
            }

        }

    } 

    .error-rejection-field {

        + ul.approval-multiple-fields {

            li {
                @extend %error-rejection-field;
            }

        }

    }

}

%focus-track-info-style {
    background: url(../oa/images/icon_alertError.gif) no-repeat;
    background-size: 12px;
}

.focus-track-info {
    &:before {
        @extend %focus-track-info-style;
        content: "";
        height: 12px;
        left: 5px;
        position: absolute;
        width: 12px;
    }
}

#errorMessage,
#mixedRelease {

    ol {
        list-style: disc;
        padding-left: 15px;
    }

}

.errormsgForBlackList {
    color: $red-destroy;
    clear: both;
}

.blacklistedWord {
    background: $parrot-light;
    border: 1px solid $parrot;
    border-radius: 3px;
    font-weight: $font-weight-normal;
    clear: both;
    color: $parrot;
    padding: 2px 5px; 
}

.artwork-panel {
    position: relative;

    .artwork-enlarge-view {
        bottom: 0px;
        position: absolute;
        right: 0px;
    
        a {
            background: url(../oa/images/magnifying.png) no-repeat 0 0;
            display: block;
            height: 45px;
            text-indent: -9999px;
            width: 45px;
        }
    
    }

}

#artwork {

    .artwork-icon {
        display: none;
        padding: 18px;
    }

    &.artwork-error {

        &-correction,
        &-rejection {

            .artwork-icon {
                background-position: 10px center;
                display: block;
            }

        }

        &-correction {

            .artwork-img {
                border: 2px solid $fox;
            }

            .artwork-icon {
                @extend %error-correction-style;

                background-color: rgba(255, 137, 62, 0.14);
            }

        }

        &-rejection {

            .artwork-img {
                border: 2px solid $red-destroy;
            }

            .artwork-icon {
                @extend %error-rejection-style;

                background-color: rgba(255, 28, 0, 0.12);
            }

        }

    }

}

.multiple-form {

    &.multiple-select {
        height: 175px;
    }

}

#txtareaOther {

    &.rejection-textarea {
        height: 50px;
        width: 550px;
    }

}

.release-label-tooltip {
    border: 1px solid $koala;
    box-shadow: 0px 1px 7px 0px $koala;

    &.track-tool-title {
        margin-left: -44px;
        margin-top: -12px;
        min-width: 70px;
    }

    &.release-tool-title {
        margin-left: -40px;
        margin-top: -14px;
        min-width: 70px;
    }

    &.tooltip {
        background-color: $white;
        color: $gorilla;
        font-size: 13px;
        padding: 15px;

        &.top-arrow:after, 
        &.top-arrow:before {
            border: solid transparent;
            content: " ";
            height: 0;
            left: 35px;
            position: absolute;
            pointer-events: none;
            top: 100%;
            width: 0;
        }

        &.top-arrow:after {
            border-color: rgba(136, 183, 213, 0);
            border-top-color: $white;
            border-width: 12px;
            margin-left: -12px;
        }

        &.top-arrow:before {
            border-color: rgba(194, 225, 245, 0);
            border-top-color: $koala;
            border-width: 14px;
            margin-left: -14px;
        }

    }
    
}

.track-lyrics-warning {
    background: url(../oa/images/alert-warning-orange-icon.svg) no-repeat;
    background-size: 15px 15px;
    float: left;
    height: 17px;
    margin-right: 6px;
    width: 15px;        
}

.track-tool-list {
    margin-left: -50px;
    margin-top: -12px;
    min-width: 70px;
}

// Supply Data Section (Add Territory Fields)
.supply-data-container {

    &.column-1 {
        padding-left: 15%;
    }

    &.column-2 {
        padding-left: 60%;
    }

    .supply-data-section {
        border: 1px solid $gray-lighter;
        border-radius: 5px;
        max-width: 350px;
        margin-bottom: 10px;
        padding: 10px;

        .territory-section {
            margin-bottom: 5px;

            select {
                min-width: 120px;
            }

        }

        .territory-section,
        .date-section {
            display: inline-block;

            label {
                min-width: 110px;
                text-align: right;
                text-transform: capitalize;
            }

        }

        .date-section {

            img.ui-datepicker-trigger {
                left: 2px;
                top: 2px;
            }

        }

        .delete-supply-section {
            float: right;
            margin-top: -18px;
        }

    }

}

//Timed Release Popup Form
.timed-release-section {

    .section {
        border-bottom: 1px solid $gray-light;
        padding: 20px 0;

        .release-time-txt {
            width: 100px;
        }

        .timed-release-success-msg {
            color: $green-update;
            font-style: italic;
            margin-top: 15px;
        }

    }

    .checkbox {
        display: inline-block;
        margin: 10px 10px 10px 0;
        vertical-align: middle;
        width: calc(100% / 3 - 20px);
    }

}

.asset-type-note {
    color: $grey;
}

.supply-chain-info {
    line-height: 25px;

    > .row {
        border-bottom: 1px solid $koala;
        padding: 20px 0;

        &:last-child {
            border-bottom: none;
        }

    }

}

select[multiple].dms-for-exclusivity {
    height: 200px;
}

//For Blacklist Manager
#blacklist-manager {
    float: left;
    width: 100%;
}

.time-zone-label {
    text-transform: none;
    color: #4A4A4A;
}

#grasregistration_content .form.wide{
    width: 65%;
    margin: 15px auto 5px;
    margin-right: 35%;
}

#grasregistration_note {
    font-weight: 500;
    width: 65%;
    margin: 10px 20px;
    display: inline-block;
    color: #000;
}

#popUpDiv {

    &.popUpResize {
            height: 375px;
            left: 0;
            margin: auto;
            max-width: 1200px;
            right: 0;
            width: 88%;
    }	

}