@font-face {
    font-family: 'Glyphicons Halflings';
    src: url(../extras/fonts/7ad17c6085dee9a33787bac28fb23d46.eot);
    src: url(../extras/fonts/7ad17c6085dee9a33787bac28fb23d46.eot?#iefix) format('embedded-opentype'),
        url(../extras/fonts/68ed1dac06bf0409c18ae7bc62889170.woff) format('woff'),
        url(../extras/fonts/e49d52e74b7689a0727def99da31f3eb.ttf) format('truetype'),
        url(../extras/fonts/32941d6330044744c02493835b799e90.svg#glyphicons-halflingsregular) format('svg');
}

@font-face {
    font-family: 'FontAwesome';
    src: url(../extras/fonts/7149833697a959306ec3012a8588dcfa.eot);
    src: url(../extras/fonts/7149833697a959306ec3012a8588dcfa.eot?#iefix&v=4.0.3) format('embedded-opentype'),
        url(../extras/fonts/d95d6f5d5ab7cfefd09651800b69bd54.woff) format('woff'),
        url(../extras/fonts/c4668ed2440df82d3fd2f8be9d31d07d.ttf) format('truetype'),
        url(../extras/fonts/65bcbc899f379216109acd0b6c494618.svg#fontawesomeregular) format('svg');
    font-weight: normal;
    font-style: normal;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill:active,
select:-webkit-autofill:active {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 50px white inset;
    -webkit-text-fill-color: #333;
}

/*body { padding-bottom: 70px; }*/
/* Add padding to body to accomodate fixed header */
.first {
    margin-top: 77px;
}

/*  If using standard template, max sure the footer is vertically aligned at the absolute bottom  */
.bg-3.first {
    min-height: calc(100vh - 77px - 72px);
}

/* Add margin to first row/section on page to accomodate fixed header

/**
* Set size and location for search buttons in main nav
*/
#srch-term,
#srch-btn {
    height: 40px;
    font-size: 20px;
}

#srch-wrapper {
    margin-top: 10px;
}

#srch-wrapper .bootstrap-select .btn {
    border-radius: 0px;
    left: -1px;
    height: 40px;
}

#srch-btn {
    top: -5px;
}

.underline {
    text-decoration: underline;
}

/*****************************
 * ADVANCED SEARCH SECTION
 *****************************/

/** Ensure that the advanced search menu options always appear on top of everything else */
#as-menu {
    z-index: 2;
}

/* Positioning for the AS options panel when it gets "affixed" as user scrolls down */
#as-menu .affix {
    position: fixed;
    width: 165px;
    top: 100px;
}

/* Ensure that the AS menu appears correctly when we have a top header displayed */
.header-visible #as-menu .affix {
    top: 142px;
}

/* Positioning for AS options panel at bottom of page */
#as-menu .affix-bottom {
    position: relative;
    top: auto;
    bottom: 150px;
}

#as-slider-main {
    min-height: 600px;
}

#mp-no-results-section {
    display: none;
}

#combined-no-results-section {
    display: none;
}

#as-no-results-section {
    display: none;
}

.search-pagination {
    margin-bottom: 30px;
}

.as-no-results #as-no-results-section {
    display: block;
}

.as-no-results .as-hide-on-no-results {
    display: none;
}

.as-no-results #mp-no-results-section {
    display: block;
}

.as-no-results #combined-no-results-section {
    display: block;
}

/* Show the category dropdowns to the right of the AS menu */
#as-menu .tab-content .dropdown-menu {
    left: 100%;
}

/* Required to make affix-bottom not flicker */
body {
    position: relative;
}

/*****************************
 * SLIDER WIDGET
 *****************************/
.slider-widget-min-value {
    width: 60px;
    float: left;
    text-align: left;
    line-height: 18px;
    margin-top: 3px;
}

.slider-widget-max-value {
    width: 60px;
    float: right;
    text-align: right;
    line-height: 18px;
    margin-top: 3px;
}

/*****************************
 * Misc
 *****************************/

label.error {
    font-weight: bold;
    color: red;
}

/*****************************
 * STOCK ITEM GROUP WRAPPER
 *****************************/

.stock-item-group-wrapper .notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(89, 178, 229, 0.99);
    border-radius: 0;
    color: #ffffff;
    padding: 0 2px 2px 2px;
}

.stock-item-group-wrapper .stock-item.playing {
    background-color: #59b2e5;
}

@media (min-width: 1170px) {
    .stock-item-group-wrapper .stock-item .thumbnail:hover {
        border-color: #59b2e5;
    }
}

/** Make the title smaller on StockItemGroupWidget */

.item-subtext {
    padding: 4px;
}

.item-subtext small {
    font-size: 10px;
}

.batch-checkbox {
    margin: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

/** Ribbons **/
/* code largely based on http://unindented.org/articles/github-ribbon-using-css-transforms/ */

.stock-item .thumbnail .ribbon {
    background-color: #ff9900;
    border: 2px solid #84c255;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1;
    /* top left corner */
    position: absolute;
    right: -55px;
    top: 5px;
    width: 150px;
    /* 45 deg ccw rotation */
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    /* shadow */
    -webkit-box-shadow: 0 0 10px #888;
    -moz-box-shadow: 0 0 10px #888;
    box-shadow: 0 0 10px #888;
}

.stock-item .thumbnail .ribbon p {
    color: #fff;
    display: block;
    font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 1px 0;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    /* shadow */
    text-shadow: 0 0 5px #444;
}

.stock-item .thumbnail:hover .ribbon {
    display: none;
}

/**************************
 * HEADER                 *
 **************************/

.login-popup {
    padding: 20px;
    width: 400px;
}

/********************************
 * STAR RATING WIDGET
 ********************************/

.rating {
    unicode-bidi: bidi-override;
    direction: rtl;
    padding-right: 12px;
}

.rating > span {
    display: inline-block;
    position: relative;
    width: 1.1em;
}

.rating > span:hover:before,
.rating > span:hover ~ span:before {
    content: '\2605';
    position: absolute;
    color: #59b2e5;
}

.rating:hover {
    cursor: pointer;
}

.rating > span.filled {
    color: #84c225;
}

/*****************
 * Handy Classes *
 *****************/

/* useful for spacing if you have text left of a font-awesome or glyph icon */
.left-of-fa {
    margin-right: 10px;
}

/* extra large button! */
.btn-xl {
    padding: 18px 28px;
    font-size: 22px;
    border-radius: 8px;
}

.block-center {
    margin-left: auto;
    margin-right: auto;
}

.col-no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.col-no-padding-right {
    padding-right: 0 !important;
}

/***************
 * Error Pages *
 ***************/
.page-error .boilerplate {
    font-size: 18px;
}

/************
* Fix Spacing for Nav
************/

.wp-theme-1 .navbar-white .navbar-nav > li > a {
    padding: 28px 12px;
}

/************
* Fix Spacing for Nav
************/

.pricing-plans .plan-header small {
    font-size: 16px;
}

/* Override Bootstrap functionality that causes screen to bounce around when popups open */
body.modal-open {
    overflow: inherit !important;
}

/***************************
* Blocking div and spinner
****************************/
.loading-overlay {
    background: #fff;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999998;
}

.loader {
    display: none;
    left: 50%;
    margin: -40px 0 0 -40px;
    position: fixed;
    top: 50%;
    z-index: 999999;
}

.loading .loading-overlay,
.loading .loader {
    display: block;
}

/*
 * Common background classes borrowed from Boostrap version 3.1
 */

.bg-primary {
    color: #fff;
    background-color: #428bca;
}

a.bg-primary:hover {
    background-color: #3071a9;
}

.bg-success {
    background-color: #dff0d8;
}

a.bg-success:hover {
    background-color: #c1e2b3;
}

.bg-info {
    background-color: #d9edf7;
}

a.bg-info:hover {
    background-color: #afd9ee;
}

.bg-warning {
    background-color: #fcf8e3;
}

a.bg-warning:hover {
    background-color: #f7ecb5;
}

.bg-danger {
    background-color: #f2dede;
}

a.bg-danger:hover {
    background-color: #e4b9b9;
}

/**
 * top alert
 */
.top-alert {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

/***************************
* Blocking div and spinner
****************************/

.ui-autocomplete {
    z-index: 10000;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    font-size: 14px;
}

.ui-autocomplete .ui-menu-item a:hover,
.ui-autocomplete .ui-state-hover,
.ui-autocomplete .ui-widget-content .ui-state-hover,
.ui-autocomplete .ui-widget-header .ui-state-hover,
.ui-autocomplete .ui-state-focus,
.ui-autocomplete .ui-widget-content .ui-state-focus,
.ui-autocomplete .ui-widget-header .ui-state-focus {
    background-color: #eeeeee;
    font-weight: bold;
}

/**********************
 * Overriding default Bootstrap stuff
 **********************/

.control-label {
    text-align: left !important; /* Need important because (when I'm adding this) bootstrap.min.css loads afterwards */
}

/***********************
 * Top header widget links
 ***********************/
.top-alert a {
    color: #fff;
    font-weight: bold;
}

.top-alert a:hover {
    color: #fff;
    text-decoration: underline;
}

.top-alert .close {
    color: inherit;
    opacity: 1;
}

.top-alert .close:hover {
    opacity: 1;
}

/***************************
 * Minimize flickering b/w select elements & select picker on page load
 ***************************/

select.selectpicker {
    height: 34px;
    padding-left: 10px;
    border-radius: 0px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
}

select.selectpicker.has-icon {
    padding-left: 33px;
}

/********************************
 * SearchableStockItemGroupWidgetView
 ******************************/

#project-bins-datatable_paginate {
    margin-right: 40%;
}

#ssw-table_paginate {
    margin-right: 40%;
}

#batch-options-group .btn-group .btn {
    width: 48%;
    margin: 2px;
}

#batch-options-group {
    min-height: 38px;
}

#ssw-search-input {
    width: 100%;
}

#ssw-table-title {
    color: #428bca !important;
}

.ssw-table-thumbnail {
    width: 100px;
}

#ssw-table tbody tr {
    background-color: white;
}

#ssw-table .sorting,
#ssw-table .sorting_asc,
#ssw-table .sorting_desc {
    background: none !important;
}

#ssw-table thead {
    background-color: grey;
    color: white;
    text-transform: uppercase;
}

.ssw-view-btn {
    border: 1px solid #cccccc !important;
}

#ssw-datatables-wrapper {
    padding: 0 15px;
}

#ssw-header {
    margin: 30px 0 0 0;
}

#ssw-header .navbar-form {
    margin-top: 0;
    margin-bottom: 0;
}

.ssw-stock-item-wrapper {
    margin-top: 15px;
    float: left;
    width: 100%;
}

.ssw-stock-item-wrapper .thumbnail {
    margin-bottom: 0;
}

.stock-item-group-wrapper .stock-item {
    margin-bottom: 25px;
}

#ssw-header .affix {
    top: 0;
}

#ssw-header #solicit-feedback {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 13px;
    line-height: 22px;
    font-weight: 300;
    color: #616161;
}

#ssw-header #solicit-feedback a {
    color: #428bca !important;
}

#ssw-header.navbar.navbar-default {
    background-color: #ffffff !important;
    border: none;
}

#ssw-table td:nth-child(5) {
    width: 85px;
}

#ssw-table .dropdown-menu {
    left: -120px;
    top: 0;
}

#ssw-table .dropdown-menu > li {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333;
    white-space: nowrap;
}

#ssw-table .dropdown-menu > li:hover {
    background-color: #428bca;
    color: #fff;
}

#ssw-table .awesome-checkbox label:before {
    margin-left: 0;
}

#ssw-table .awesome-checkbox label:after {
    margin-left: 0;
}

#ssw-table tr.selected {
    background-color: #e8f4fa;
}

.ssw-stock-item-wrapper .stock-item.selected .thumbnail {
    -webkit-box-shadow: 0px 0px 1px 9px #e8f4fa;
    -moz-box-shadow: 0px 0px 1px 9px #e8f4fa;
    box-shadow: 0px 0px 1px 9px #e8f4fa;
}

@media (max-width: 768px) {
    #ssw-header .label-left-align {
        float: none;
    }

    #ssw-table td:nth-child(3),
    #ssw-table th:nth-child(3),
    #ssw-table td #clip-type {
        display: none;
    }

    #ssw-table td:nth-child(1) {
        width: 70%;
    }

    #ssw-table td:nth-child(2) {
        width: 20%;
    }

    #ssw-table td:nth-child(4) {
        width: 10%;
    }

    #ssw-table td:nth-child(1) a {
        width: 50%;
        display: table-cell;
        vertical-align: middle;
        height: 100%;
    }

    #ssw-table td:nth-child(1) a:nth-child(1) {
        width: 100px;
    }

    #ssw-table td:nth-child(1) a:nth-child(2) {
        padding-left: 7px;
        width: calc(100% - 100px);
    }
}

@media (max-width: 480px) {
    #ssw-header .label-left-align {
        float: none;
    }

    #ssw-table td:nth-child(2),
    #ssw-table th:nth-child(2) {
        display: none;
    }
}

.unsubscribe {
    text-align: center;
    margin-bottom: 30px;
}

.unsubscribe h1 {
    font-size: 42px;
    text-align: center;
    padding-bottom: 10px;
}

.unsubscribe p {
    font-size: 20px;
    margin-bottom: 10px;
}

.unsubscribe a {
    color: #fff;
}

.center-align {
    margin: 0 auto;
}

.white-bg {
    background-color: #fff;
    border: 1px solid #cccccc;
    box-shadow: 0 0 2px #ccc;
    padding: 15px;
}

.white-bg form {
    margin: 15px 0;
}

#join-offer-image {
    padding-top: 15px;
    padding-bottom: 30px;
}

#join-offer-image img {
    width: 100%;
}

.modal-header.no-title {
    border-bottom: none !important;
}

.modal-body.no-title {
    padding: 0 20px 20px 20px !important;
}

.modal-body table {
    table-layout: fixed;
    width: 100% !important;
}

.modal-body table img {
    width: 100%;
}

.pagination-ellipsis-element a {
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    border-top: none !important;
    border-bottom: none !important;
}

/*.pagination-previous-page {*/
/*margin-right: 4px !important;*/
/*}*/

/*.pagination-next-page {*/
/*margin-left: 4px !important;*/
/*}*/

#global-unsub .dropdown-menu {
    width: 100%;
}

/*******************************
 * For A/B testing ListenLoop
 * We hide the popups by default
 * and then show them (via JS) if
 * they are not the "no-show" segment.
 * See the pixels for the JS.
 ******************************/
#fk-overlay {
    display: none !important;
}

#fk-container {
    display: none !important;
}

.nav-search > .input-group > .dropdown-menu {
    width: 89%;
    border-radius: 0em 0em 0em 0em;
}

