#orchard-catalog-search {
    padding-bottom: 0 !important;

    .turf {
        border-top: 1px solid rgba(255, 255, 255, .15);
        margin-top: -1px;
        padding-left: 0;
    }

    .catalog-search-body {
        > .box {
            margin-bottom: 30px;
        }
    }

    .search-heading {
        margin-bottom: 15px;

        h2 {
            margin: 0;
            margin-top: 3px;
        }
    }

    .films-scroller {
        margin: 0;
        padding-left: 15px;

        .thumb {
            margin-right: 17px;
            margin-bottom: 17px;

            &.noMargin {
                margin-right: 0;
            }
        }
    }

    .search-results-heading {
        margin-bottom: 15px;
    }

    .row > .col-md-6 {
        margin-bottom: 15px;
    }

    #title.form-group {
        margin-bottom: 0;
    }

    $colcount: 8;
    .col-headings .col-xs-1{
        line-height: 27px;
    }
    .mp-col.col-headings .col-xs-1, .mp-col .video-cols .col-xs-1 {
        width: (100%-(6+11+8+8+8))/(3);
        width: calc(calc(100% - 480px) / 3);
        &.marketing-priority{
            width: 6%;
            width: calc(70px);
        }
    }
    .resultCount{
        line-height: 34px;
        color: #fff;
        font-size: 14px;
    }
    $marketing-priority: 80px;
    $rights: 83px;
    $release-date:150px;
    $run-time:125px;
    $language: 110px;
    $subtitles: 110px;
    $copyright: 180px;


    .mp-col.rights-preview.col-headings .col-xs-1, .mp-col.rights-preview .video-cols .col-xs-1 {
        width: (100%-(11+8+8+8))/(3);
        $calculated-width : ($rights + $release-date + $run-time + $language + $copyright +$subtitles);
        width: calc( calc(100% - #{$calculated-width} ) / 2);
    }
    .col-headings .col-xs-1, .video-cols .col-xs-1 {
        width: (100%-(6+11+8+8+8))/(3);
        $calculated-width : ($marketing-priority + $release-date + $run-time + $language + $copyright +$subtitles);
        width: calc( calc(100% - #{$calculated-width} ) / 2);
        &.rights{
            width: 6%;
            width: calc(#{$rights});
        }
        &.marketing-priority{
            width: 6%;
            width: calc(#{$marketing-priority});
        }
        &.release-date{
            width: 11%;
            width: calc(#{$release-date});
        }
        &.run-time{
            width: 8%;
            width: calc(#{$run-time});
        }
        &.language{

            width: 8%;
            width: calc(#{$language});
        }
        &.subtitles{

            width: calc(#{$subtitles});
        }
        &.copyright{
            width: 8%;
            width: calc(#{$copyright});
        }
    }
    .rights-preview.col-headings .col-xs-1, .rights-preview .video-cols .col-xs-1 {
        width: (100%-(6+6+11+8+8+8))/(3);
        $calculated-width : ($rights + $marketing-priority + $release-date + $run-time + $language + $copyright + $subtitles);
        width: calc( calc(100% - #{$calculated-width} ) / 2);
        &.rights{
            width: 6%;
            width: calc(#{$rights});
        }
        &.marketing-priority{
            width: 6%;
            width: calc(#{$marketing-priority});
        }
        &.release-date{
            width: 11%;
            width: calc(#{$release-date});
        }
        &.run-time{
            width: 8%;
            width: calc(#{$run-time});
        }
        &.subtitles{
            width: calc(#{$subtitles});
        }
        &.language{

            width: 8%;
            width: calc(#{$language});
        }
        &.copyright{
            width: 8%;
            width: calc(#{$copyright});
        }
    }

    .video-cols {
        color: white;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.2;

        .thumb {
            float: left;
            .img-thumbnail {
                width: 40px;
                padding: 0;
                border: 0;
                border-radius: 0;
            }
        }
        .title {
            a {
                color: $white;
                font-weight: 400;
            }
        }
    }
    form {
        clear: left;
        padding-top: 1px;
        ::-webkit-input-placeholder{
            font-size: 14px;
            color: #797979;
            opacity: 1
        }
        ::-moz-placeholder{
            font-size: 14px;
            color: #797979;
            opacity: 1
        }
        :-ms-input-placeholder{
            font-size: 14px;
            color: #797979;
            opacity: 1
        }
        :-moz-placeholder { /* Firefox 18- */
            font-size: 14px;
            color: #797979;
            opacity: 1
        }
        .chosen-container input,
        .search-field input {
            font-size: 14px;
            color: #797979;
        }
        a.chosen-default > span {
            font-size: 14px;
            font-weight: 300;
            color: #797979;
            opacity: 1
        }

        input,
        select.form-control + .chosen-container .chosen-results li:not(.result-selected),
        select.form-control + .chosen-container .chosen-results li.active-result:not(.result-selected),
        .chosen-single.chosen-single-with-deselect:not(.chosen-default) {
            font-size: 14px;
            font-family: 'Rubik';
            color: #282828;
        }

        .active-result.highlighted {
            background-color: $film-genre-color;
        }

        select.form-control + .chosen-container-multi .chosen-choices {
            padding: 2px 10px 1px 10px;
        }

        select.form-control + .chosen-container-multi .chosen-choices li.search-choice {
            background-color: $rhino;
            border: none;
            border-radius: 1px;
            font-size: 12px;
            margin: 2px 3px 3px 0;

            span {
                color: $white;
            }

            .search-choice-close {
                top: 5px;
                background: url('/img/icons_v1/icon-x_tag.svg') center center no-repeat !important;
                height: 12px;
                width: 12px;
            }
        }

        .chosen-container-single .chosen-single abbr {
            top: 11px;
            right: 15px;
        }

        select.form-control + .chosen-container.chosen-container-single .chosen-single div {
            top: 9px;
        }

    }

    .table-view > div > .row {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .show-preview {
        display: none;
    }
    input:checked ~ .row .show-preview {
        display: block;
    }

    .preview-link {
        .toggle-on {
            background-image: url('/img/icons_v1/icon-view.svg');
            background-repeat: no-repeat;
            background-position: center right;
            display: block;
        }

        .toggle-off {
            background-image: url('/img/icons_v1/icon-hide.svg');
            background-repeat: no-repeat;
            background-position: center right;
            display: none;
        }

        label {
            color: $film-genre-color;
            cursor: pointer;
        }
    }
    input:checked + .row .preview-link {
        .toggle-on {
            display: none;
        }
        .toggle-off {
            display: block;
        }
    }
    .required-fields-info,
    .box-txt {
        color: $gorilla;
        margin-bottom: 15px;
    }
    .preview-area {
        color: white;
        margin-top: 15px;
        position: relative;
        overflow: hidden;
        font-size: 14px;
        line-height: 2.4;
        $scroller-width: 6px;
        .scroller {
            width: $scroller-width;
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            border-radius: $scroller-width/2;
            background: #575757;
            display: none;

            &.show:not(.no-scroll) {
                display: block;
            }
            .scroller-thumb {
                min-height: 20px;
                max-height: 100%;
                width: $scroller-width;
                border-radius: $scroller-width/2;
                top: 0;
                left: 0;
                right: 0;
                background: lightgrey;
                position: absolute;
            }
        }
        .thumb .img-thumbnail {
            width: 100%;
            border: none;

            img {
                width: 100%;
            }
        }
        .scroll-area {
            overflow-y: scroll;
            height: 210px;
        }
        &:hover {
            .scroller:not(.no-scroll) {
                display: block;
            }
        }
        .right.row {
            .row {
                border-bottom: 1px solid rgba(255, 255, 255, .15);
            }
        }

        .default-poster{
            position: relative;
            .caption{
                position: absolute;
                bottom: 5px;
                width: 100%;
            }
        }
    }
    .chosen-single {
        span {
            font-weight: 300;
        }
    }
    .viewSwitcher {
        margin-right: 0px;
        cursor: pointer;
    }
    .search-url {
        display: block;
        width: 35%;
    }
    .results-buttons {
        > * {
            margin-left: 15px;
        }
    }
    .col-headings,
    .table-head {
        padding: 3px 0;
        border-top: 1px solid rgba(255, 255, 255, .5);
        border-bottom: 1px solid rgba(255, 255, 255, .5);
        font-weight: 500;
        font-size: 12px;
        color: #a2afbc;
        text-transform: uppercase;
    }
    .film-title {
        margin-left: 50px;
    }
    .chosen-container {
        min-width: 100%;
    }
    .preview-link label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .video-cols .col-xs-1{
        max-height: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    input:checked ~ .row .video-cols{
        max-height: initial;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-spacer{
        width: 160px;
    }
    .loadingTicker{
        display: inline-block;
        bottom: 10px;
        z-index: 10;
        position: absolute;
        left: 50%;
        margin-left: -15px;
        @include spinner(30px, #272c38, #a2afbc, 5px);
    }
    .loading-positioner {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 30px;
        z-index: 100;
    }
    .arrows-holder {
        height: 20px;
        display: inline-block;
        position: relative;
        top: 3px;
        width: 8px;
    }
    .sort-arrows {
        cursor: pointer;
        position: absolute;
        top: 9px;
        left: 4px;
        width: 9px;
        height: 7px;

        &.up-arrow {
            background: url('/img/icons_v1/icon-sort-up.svg') center center no-repeat;

            &.selected {
                background: url('/img/icons_v1/icon-sort-up-selected.svg') center center no-repeat;
            }
        }

        &.down-arrow {
            background: url('/img/icons_v1/icon-sort-down.svg') center center no-repeat;

            &.selected {
                background: url('/img/icons_v1/icon-sort-down-selected.svg') center center no-repeat;
            }
        }
    }

    .note {
        font-weight: normal;
    }

    .loadingShade {
        position: absolute;
        height: 100px;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(rgba(39,44,56,0), rgba(39,44,56,1));
        pointer-events: none;
    }


    .progress-bar {
        -webkit-transition: width 3s ease;
        -o-transition: width 3s ease;
        transition: width 3s ease;
    }
}
