@import 'setup';

/* -------------------------- Search Releases Panel -------------------------- */

#search-releases {
    margin: 0 0 10px 0;
    
    > .search-button {
        border-radius: 0 5px 5px 0;
        height: 30px;
    }
 
}

#view_exarelease_form {

    #view-releases-filters {

        .filter-dropdown button {
            background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
            border: 1px solid $input-border;
            box-shadow: none;
            color: $headings-color;
            overflow: hidden;
            padding: 9px 12px;
            width: 160px;
            text-transform: capitalize;
        }

        .modFilter select {
            width: 170px;
            margin-top: 24px;
            height: 37px;
            font-size: $font-size-base;
        }

    }

}

/* -------------------------- Catalog Table -------------------------- */
#view_exarelease_form {

    table#view-ex-a {

        .viewReleasesPhoto img {
            background: $white;
            border: 1px solid $gray-light;
            border-radius: 3px;
            box-shadow: 0 1px 1px rgba(0,0,0,0.05);
            padding: 2px;
        }

    }

}

.filter-dropdown button + .dropdown__list {
    background: $white;
    border: 1px solid $dropdown-border;
    border-radius: 5px;
    color: $headings-color;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 0;
    position: absolute;
    width: 160px;
    z-index: 5;
}

.filter-dropdown button + .dropdown__list li {
    line-height: 17px;
    min-width: 120px;
    padding: 4px 12px;

    label {
        text-transform: capitalize;
        color: $headings-color;
    }

}

.filter-dropdown button + .dropdown__list li:hover {
    background: $blue-medium;
    color: $dropdown-link-hover-color;

    label {
        color: $dropdown-link-hover-color;
    }

}

/* -------------------------- SEARCH RELEASES INPUT BOX ---------------------- */
#search-releases {

    #search_release_inputbox {
        height: 29px;

        &::placeholder {

            font-style: normal;

        }

    }

    .home-search-btn {

        padding-right: 6px; 
        z-index: 9; 
        bottom: 22px; 
        float: right; 
        position: relative;

    }
}

/* -------------------------- CREATE RELEASE MODEL --------------------------- */

span#displayedAs,
span.displayedAs {
    font-weight: 800;
    line-height: 14px;
    padding: 0 5px;
    width: 245px;
    word-wrap: break-word;
}

/*---------------- WESTERN UNION -----------------*/

.western-union {
    background-color: $mouse;
    border-radius: 3px;
    padding: 10px;

    .pull-left {
        width:32%;
    }

    img {
        max-width:100%;
    }

    .pull-left:first-child {
        margin-right:5px;
        width:66%;
    }

    .pull-left:first-child a:first-child {
        display:block;
        margin-bottom:6px;
    }

}

/* -------------------------- YOUR TOP 10 ------------------------------------ */

div#top10Toggles-FilmTV {
    left: 15px;
    margin-bottom: 14px;
    position: relative;
    top: 0px;
    width: 260px;
}

#top10Toggles {
    margin-bottom: 14px;
    position: relative;
    top: 0px;
    width: 260px;
}

.topHolder {

    .art-top-ten-right-space {
        margin: 0 10px 15px 10px;
    }

    .numberCount > {
        
        span {
            font-size: 10px;
            color: $timberwolf;
        }

    }

}

.top-ten-art {

   max-height: 30px;
   max-width: 30px;

}

.top-ten {

    .panel-body {

        .modSmallTop {
            margin-top: 0;
        }

    }

}

.top-ten,
.orchard-news {

    .table {
        margin-bottom: 0;
    }

}

.viewAll {
    font-weight: $font-weight-bold;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 10px;
    text-align: right;
    text-transform: uppercase;
}

/* --------------------- VIEWEXARELEASES MODAL LOADER -------------------------- */

#loading_image {
    
    .modalLoading {
        position: relative;
        margin-top: 250px;
    }
    
}

/* --------------------- IN-CATALOG, IN_PROGRESS TABLE INDEX -------------------------- */

.table {
    &#in-progress,
    &#in-catalog {
        border-bottom: none;

        td {
            vertical-align: middle;

            &:first-child {
                padding: 8px 5px;
                width: 7%;
            }

            .releaseInfo {
                word-wrap: break-word;
            }

            .release-status {
                width: 153px;
            }

        }

    }

    &#in-progress + a.read_btn,
    &#in-catalog + a.read_btn {
        margin-bottom: 10px;
    }

}

.modSmallBot {

    .modActStatement {

        .current-period-title {
            margin-top: 0px;
        }

    }
    
}

/* --------------------- Recent Project Table ------------------- */
.RecentProjectsList {

    .table {
        margin-bottom: 0;
    }

    .RecentProjectsList-button-row {
        padding: 0;
    }

}

/* --------------------- TOP TEN TABLE -------------------------- */
.table.top-ten-items-container {

    border-top: 1px solid $koala;

    tr {
        height: auto;

        td {
            vertical-align: middle;
        }

    }

    > tbody + tbody {
        border-top: none;
    }

}


/*-------------------------For Catalog Table Sorting--------------------------*/

table {

    .table_header th {

        a {
            padding-right: 18px;
            text-decoration: none;
        }

        .catalogSortArrowUp {
            background: url($cdn-base + '/images/up-arrow.png') no-repeat right 0 top 50%;
        }

        .catalogSortArrowDown {
            background: url($cdn-base + '/images/down-arrow.png') no-repeat right 0 top 50%;
        }

    }

}

/*------------------------- Panel Footer --------------------------*/
div.panel-footer {
    
    .view-more {
        font-size: 11px;
        letter-spacing: 0.5px;
        font-weight: 700;
        text-transform: uppercase
    }
}

/*------------------------- CATALOG - Product Status --------------------------*/
.status-label {

    &.in-progress {
        background: $in-progress-bg;
        color: $white;
    }

    &.physical-delivered {
        background: $physical-delivered-bg;
        color: $white;     
    }

}

/*------------------------ HOME PAGE ACCOUNTING SNAPSHOT AND TOP TEN ------------------------------------*/
    
.accounting-snapshot-loader {

    display: block;
    font-weight: bold;
    text-align: center;
    padding: 20px 0px 20px 0px;
    width: 100%;

}

.populate-top-ten-loader {

    width: 100px;
    padding-left: 100px;
    padding-top: 200px;
    height: 300px

}

/*----- TOOLTIP BG STYLE -----*/

#tooltipForRelease {
    
    &.tooltip {
        background-color: $gorilla;
    }

}

.tooltip_wrapper {
    
    .tooltip {
        background-color: $gorilla;
    }

}

.recent-revenue-display {

    .RecentRevenueList-item {
        min-width: 24%;
    }

}

div#contentLeft {

    &.no-margin-top { 
        margin-top: 0px;
    }

}

.gowatchit-widget {

    .tagline {
        
        font-size: 12px;
        padding: 15px 0;
    
    }

    .availabilities {

        padding-bottom: 15px;

        a,
        span {

            background-image: url(/images/icons/elipses.png);
            background-repeat: no-repeat;
            background-position: left center;
            color: $gorilla;
            display: inline-block;
            font-size: 16px;
            font-weight: $font-weight-bold;
            height: 27px;
            line-height: 27px;
            margin: 0 0 10px 15px;
            padding-left: 35px;
            text-decoration: none;

        }

        a {
            background-image: url(/images/icons/complete.png);
        }

        p {
             font-weight: $font-weight-bold;
             padding: 0 20px;
        }

    }

}

div.ConflictManagerWidget {
    background-color: $white;
    border: 1px solid $koala;
    border-radius: 3px;
    float: none;
    margin: 20px 0 0;
    padding: 20px;
    width: 100%;
}

.modular-section {

    h3 {
        margin: 0;
        padding: 0 0 5px;
    }

}

#conflict_manager_widget_app .LoadingIndicator {
    display: none;
}
