#popup-content, #fancybox-content {
    background: #fff;
}

#popup-content {
    padding-right: 24px;
}

#popup-wrapper {
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    overflow-y: auto;
}

#fancybox-close {
    right: -35px !important;
}

.messages {
    z-index: 100;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

.green {
    color: #0a0;
}

.header-comment {
    font-size: 16px;
    color: #666;
    padding: 2px 0px;
}

.tree {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
}

.tree li {
    list-style-type: none;
    margin: 0;
    padding: 10px 5px 0 5px;
    position: relative
}

.tree li::before, .tree li::after {
    content: '';
    left: -20px;
    position: absolute;
    right: auto
}

.tree li::before {
    border-left: 1px solid #999;
    bottom: 50px;
    height: 100%;
    top: 0;
    width: 1px
}

.tree li::after {
    border-top: 1px solid #999;
    height: 20px;
    top: 25px;
    width: 25px
}

.tree li span {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none
}

.tree li.parent_li > span {
    cursor: pointer
}

.tree > ul > li::before, .tree > ul > li::after {
    border: 0
}

.tree li:last-child::before {
    height: 30px
}

.tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
    background: #eee;
    border: 1px solid #94a0b4;
    color: #000
}

.tree li.inactive {
    opacity: 0.5; /* Real browsers */
    filter: alpha(opacity=60); /* MSIE */
}


.nowrap {
    white-space: nowrap;
}

.scroll-y {
    overflow-x: auto;
}

/* Progress bar */
.progressbar {
    height: 20px;
    border: 1px solid #aaa;
    margin: 4px 0px;
}

.progressbar .bar {
    height: 20px;
    background: green;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.progressbar.error .bar {
    background: red;
}

.errormsg {
    color: #f00;
    margin-bottom: 8px;
}

.table-bulletin .head {
    font-weight: bold;
    text-align: center;
}

.table-bulletin .row {
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-top: 4px;
}

.table-bulletin .row .file {
    text-align: left;
}

.table-bulletin .row .buttons .btn {
    padding-top: 2px;
    padding-bottom: 2px;
}

.table-bulletin .row .datetimepicker {
    padding-top: 6px;
}

.table-bulletin .row.header {
    padding-bottom: 4px;
    padding-top: 4px;
}

.table-bulletin .row:last-of-type {
    border-bottom: none;
    margin-bottom: 0px;
}

.table-bulletin .index span {
    display: inline-block;
    position: relative;
    top: -4px;
}

.table-bulletin .new-record {
    background: #eee;
}

.relative {
    position: relative;
}

.table-spinner {
    position: absolute;
    right: 8px;
    font-size: 22px;
    opacity: 0.6;
}

.selected-files {
    font-style: italic;
    padding: 8px;
}

.upload-errors ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.upload-errors .filename {
    font-style: italic;
}

.upload-errors ul li {
    margin-bottom: 8px;
}

.pagination {
    text-align: center;
}

.table-bulletin .check {
    display: none;
}

.action-row {
    padding: 8px 0px;
}

.table-row {
    display: table;
}

.table-row .cell {
    display: table-cell;
}

.table-row .file-cell {
    max-width: 200px;
    width: 200px;
}

.table-bulletin input[type=number] {
    width: 60px;
}

.table-bulletin .new-record input[type=number] {
    display: none;
}

.table-series .index span {
    display: none;
}

.table-bulletin .pending {
    background: #faa;
}

.table-bulletin audio {
}

/* Positioning adjustments for bulletin row to simulate vertical center */
.table-bulletin .links {
    position: relative;
    top: 2px;
}

.table-bulletin .input-group.date {
    top: -2px;
}

.table-bulletin .row .buttons {
    padding-top: 8px;
}

.table-bulletin .row .option {
    padding-top: 10px;
}

.container-fluid {
    max-width: 1920px;
}

.table th {
    padding: 4px;
}

.table .sortable {
    cursor: pointer;
}

.table .sortable:hover {
    background: #ddd;
}

.table .tableText {
    width: 100%;
    resize: none;
    border: none;
    background: none;
}

.table-limit-selector {
    float: right;
}

/* Navbar */
@media (max-width: 1199px) {
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-text {
        float: none;
        margin: 15px 0;
    }

    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Forms */
.align-center {
    text-align: center;
}

.form-group .control-label {
    /*display: inline-block;*/
    float: left;
    width: 130px;
    padding-top: 6px;
}

.form-group .checkbox > label {
    font-weight: bold;
    margin-left: 130px;
}

.form-group .checkbox {
    margin-top: 8px;
}

.form-group .checkbox > label input[type=checkbox] {
    margin-top: -1px;
}

.filter-container .form-group .control-label {
    text-align: right;
    width: 122px;
    margin-right: 8px;
}

.form-group .form-control {
    width: auto;
    display: inline-block;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group > .input-group {
    min-width: 50%;
}

.form-group > .input-group.date > input[type=text] {
    min-width: 160px;
}

.inline-form-row {
    display: flex;
    align-items: center;
}

.inline-form-row .form-group {
    margin-left: 8px;
    margin-right: 8px;
}

.inline-form-row .form-group .checkbox > label {
    /* margin: 0px; */
}

.col-lg-6 .form-group input[type=text],
.col-lg-6 .form-group input[type=email],
.col-md-8 .form-group input[type=text],
.col-md-8 .form-group input[type=email] {
    width: calc(100% - 130px);
}

.form-group .input-group input[type=text],
.form-group .input-group input[type=email] {
    width: 100%;
}

.form-group .input-group {
    width: calc(100% - 130px);
}

/* Small devices (tablets, 768px and up) */
@media (max-width: 991px) {
    .form-group .control-label {
        width: 25%;
    }

    .form-group input[type=text],
    .form-group input[type=email],
    .col-lg-6 .form-group input[type=text],
    .col-lg-6 .form-group input[type=email],
    .col-md-8 .form-group input[type=text],
    .col-md-8 .form-group input[type=email],
    .form-group .input-group {
        width: calc(100% - 25%);
    }

    .form-group .input-group input[type=text],
    .form-group .input-group input[type=email] {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .form-group .control-label {
        display: block;
        width: auto;
        float: none;
    }

    .form-group input[type=text],
    .form-group input[type=email],
    .form-group .input-group {
        width: 100% !important;
    }
}


/* Volume slider */
.jplayer {
    display: none;
}

.media-player {
    display: inline-block;
}

.media-player.full {
    background: #333;
    color: #fff;
    padding: 0px 8px 0px 2px;
    border-radius: 4px;
}

.media-player.full .btn {
    position: relative;
    top: -1px;
    margin: 0px;
    border: 0px;
}

.progress-slider-wrapper,
.volume-slider-wrapper {
    display: inline-block;
    padding: 8px;
}

.progress-slider-wrapper {
    padding-left: 16px;
}

.volume-slider-wrapper {
    border-radius: 0px 8px 8px 0px;
}

.volume-slider-wrapper i,
.volume-slider,
.progress-slider {
    display: inline-block;
}

.volume-slider-wrapper i {
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.volume-slider,
.progress-slider {
    width: 50px;
}

.inlined-player {
    display: flex;
    justify-content: center;
}

.inlined-player > div {
    margin: 0px 2px;
}

.inlined-player-progress {
    margin: auto;
    max-width: 320px;
}

fieldset legend {
    border-bottom: none;
}

fieldset legend .small {
    font-size: 14px;
    color: #666;
}

/* Member accounts */
.filter-legend {
    width: 80%;
}

#filter-form > .form-group {
    float: left;
    width: 20%;
}

@media (min-width: 1200px) {
    #filter-form.compact > .form-group {
        width: 10%;
        padding: 2px;
    }

    #filter-form.compact > .form-group input[type=text],
    #filter-form.compact > .form-group input[type=email],
    #filter-form.compact > .form-group .input-group {
        width: 100% !important;
    }
}

#filter-form.large-filter > .form-group {
    padding-left: 4px;
    padding-right: 4px;
    width: calc(50% - 2px);
}

#filter-form.c33-filter > .form-group {
    width: calc(33% - 2px);
}

#member-accounts-table .row_0 .errormsg {
    display: none;
}

#member-accounts-table .fa-check {
    color: #0a0;
}

#member-accounts-table .fa-times {
    color: #a00;
}

#member-accounts-table .inactive {
    background: #ccc;
}

#member-accounts-table .billed {
    font-weight: bold;
}

#member-list .file-links, #member-list .cell,
#member-accounts-table .file-links, #member-accounts-table .cell {
    display: inline-block;
}

.data-table .paginationRow {
    text-align: center;
}

.data-table .paginationRow div {
    display: inline-block;
    padding: 0px 20px;
}

.data-table .paginationRow .page-selector {
    float: right;
    margin-top: 14px;
}

#member-accounts-table .even {
    background: #fff;
}

#member-accounts-table .odd {
    background: #f9f9f9;
}

#member-accounts-table .row_1 td {
    border-top: 0px;
    padding-top: 0px;
}

#member-accounts-table .tableText {
    min-height: 0px;
}

.bootstrap-list {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.bootstrap-list input[type=text] {
    min-width: 0px;
    width: 100%;
}

/* .bootstrap-list li { clear: both; } */
.bootstrap-list .new-record {
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px #ccc solid;
}

.bootstrap-list li {
    padding: 2px 0px;
}

.bootstrap-list .clear {
    clear: both;
}

.bootstrap-list .btn {
    padding: 4px 8px;
}

.spinner-container {
    box-sizing: border-box;
}

.spinner-container i {
    font-size: 20px;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
}

.red-link, .red-link a {
    color: #f00;
}

.import-container {
    border: 1px solid #aaa;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.import-container h3 {
    font-size: 20px;
    margin: 0px;
    padding: 0px;
}

.import-container .form-group {
    padding: 4px;
}

.cc-api-widget-label-overrides {
    width: auto !important;
    margin-right: 10px !important;
}

.cc-api-widget-fields-overrides {
    width: auto !important;
    margin-right: 20px !important;
}

.display-inline-block {
    display: inline-block !important;
}


audio.inline-player {
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    max-width: 300px;
}

@-moz-document url-prefix() {
      audio.inline-player {
        max-width: 200px;
      }
}
