body {
    background-image: none !important;
}

.box.dataTables_wrapper {
    border-top: none;
    margin-bottom: none;
}

.grid-view .box.dataTables_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: auto;
}

.dataTable th.sorting {
    position: static;
}

.dataTable th.sorting > div {
    text-align: left;
    padding-right: 20px;
    padding-left: 10px;
    height: auto;
}

.dataTable th.sorting > div > a {
    display: block;
}

.dataTable .filters input, .dataTable .filters select {
    margin-bottom: 0;
}

.form-actions {
    margin-top: 0 !important;
}

.selector.block {
    display: block;
    width: auto;
}

.selector.inline-block {
    display: inline-block;
    width: auto;
}

.selector.block select, .selector.inline-block select {
    width: 100%;
}

.selector.slim {
    height: 18px;
    line-height: 18px;
}

.selector.slim:after {
    height: 10px;
    line-height: 10px;
}

.selector.slim span {
    height: 18px;
    line-height: 18px;
}

.selector.slim select {
    height: 18px;
    min-height: 18px;
    max-height: 18px;
}

.separate-sections > li:last-child, .separate-sections > div:last-child {
    margin-bottom: 0 !important;
}

.fill-up input[type=radio], .fill-up input[type=checkbox] {
    width: auto;
}

.alert-fix {
    box-shadow: none;
}

.alert-fix p {
    margin-bottom: 0;
}

.alert-fix ul {
    margin-bottom: 0;
    margin-left: 15px;
}

.alert-fix p:last-child {
    margin-bottom: 0;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: 5px;
}

.control-group {
    margin-bottom: 0;
}

.help-block {
    margin-bottom: 5px;
}

.brand-32 {
    padding: 7px 20px !important;
    /*margin-right: -20px !important;*/
}

a.underlined {
    text-decoration: underline;
}

.navbar-inverse .dropdown-menu a {
    padding: 3px 10px;
}

.control-group.error .selector {
    border-color: #B94A48;
    color: #B94A48;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.control-group.error .selector span {
    color: #B94A48;
}

.control-group.error .selector.focus {
    box-shadow: 0 0 6px #B94A48;
}

.alerts {
    margin-top: 20px;
}

.alerts + div {
    margin-top: 10px !important;
}

div.uploader span.filename {
    width: 240px;
}

.navbar-branded .navbar-inner {
    background-color: #ad7c32;
    background-image: linear-gradient(to bottom, #ad7c32, #ad7c32);
    border-color: #ae7d29;
}

.navbar-branded .nav > li > a {
    color: #ccc;
}

.navbar-branded .nav > li > a:focus, .navbar-branded .nav > li > a:hover {
    background: rgba(0, 0, 0, 0.5);
}

.btn.btn-black-m2b {
    border: 1px solid #3d3a35;
    background: #3d3a35;

    box-shadow: inset 0 1px 2px #3d3a35;
    -webkit-box-shadow: inset 0 1px 2px #3d3a35;
    -moz-box-shadow: inset 0 1px 2px #3d3a35;

    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #4A4742), color-stop(100%, #302D28));
    background-image: -webkit-linear-gradient(top, #4A4742, #302D28);
    background-image: -moz-linear-gradient(top, #4A4742, #302D28);
    background-image: -o-linear-gradient(top, #4A4742, #302D28);
    background-image: linear-gradient(top, #4A4742, #302D28);
}

.registration-form .control-group .selector.fixedWidth {
    margin-bottom: 5px;
}

.registration-form .alert-success,
.registration-sidebar .alert-success {
    border: 1px solid #A1701C;
    color: #fff;
    text-shadow: none;
    background: #BB8A36;

    background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #BB8A36), color-stop(100%, #A1701C));
    background-image: -webkit-linear-gradient(top, #BB8A36, #A1701C);
    background-image: -moz-linear-gradient(top, #BB8A36, #A1701C);
    background-image: -o-linear-gradient(top, #BB8A36, #A1701C);
    background-image: linear-gradient(top, #BB8A36, #A1701C);

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

a.pdf-download:hover {
    text-decoration: underline;
}

a.pdf-download:before {
    font-family: FontAwesome;
    content: "\f01a";
    display: inline-block;
    margin-right: 5px;
}

.table.DetailView th {
    width: 35%;
}

.table.DetailView td {
    width: 65%;
}

.tab-content.channels .action-nav-button {
    position: relative;
    overflow: hidden;
}

.tab-content.channels .action-nav-button .new {
    width: 120px;
    height: 28px;
    position: absolute;
    top: -14px;
    right: -60px;
    -webkit-transform: rotate(30deg) translateY(35px) translateX(-11px);
    -ms-transform: rotate(30deg) translateY(35px) translateX(-11px);
    transform: rotate(30deg) translateY(35px) translateX(-11px);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    text-align: center;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    user-select: none;
    pointer-events: none;
}

.tab-content.channels .action-nav-button .new span {
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    color: #fff;
    background-color: #8fae53;
    line-height: 20px;
    font-size: 14px;
    padding: 0 5px;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .7);
    box-shadow: 0 0 2px rgba(0, 0, 0, .7);
    border: 1px solid #fff;
}

.listen-page {
    background: url('./backgrounds/guitar.jpg') center no-repeat !important;
    background-size: cover !important;
}

.listen-page .span6 textarea {
    box-sizing: border-box;
}

.listen-page iframe, .listen-page .text-center {
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.listen-page iframe {
    background: #32353e;
}

.listen-page .text-center {
    background-color: white;
    padding: 24px 24px 14px 24px;
}

.manual-download {
    outline: none;
    display: inline-block;
    width: 85px;
    height: 85px;
    border: 2px solid #cbcbcb;
    background: url('./images/custom/manual_download.png') center/cover no-repeat;
}

.nav li.helpButton a {
    color: #29ad7d;
}

.nav li.helpButton a:hover, .nav li.helpButton a:focus {
    color: #29ad7d;
}

.theme_settings .container > div.box-white {
    background-color: #F9F7F1;
    opacity: 1;
}

.box .content-area {
    border: 1px solid #CCCBC7;
    border-radius: 5px;
    padding: 10px;
    margin: 0 auto 20px auto;
}

.box .content-area-borderless {
    border: none;
}

.box .content-area-n-b-m {
    border: none;
    margin: 0 auto;
}

.content-area-n-b-m .content-heading {
    font-size: 18px;
}

.box .content-area:last-of-type {
    margin: 0 auto;
}

.box .content-area-heading {
    background: #F7CD50;
    color: #050D23;
    width: 360px;
    text-align: center;
    font-size: 16px;
}

.box .content-area-centered {
    text-align: center;
}

.box .content-area-button {
    margin: 0 auto;
    border-radius: 5px;
    font-size: 12px;
    font-weight: normal;
    text-shadow: none;
    border: none;
    background: #3EC7A7;
    padding: 3px 65px;
}

.box .content-area-button:disabled {
    background: #AD7B32;
    color: #fff;
    opacity: 1;
}

.box .content-area-button-dark {
    background: #AD7B32;
    color: #fff;
    opacity: 1;
}

.content-area-row-single {
    width: 100%;
}

.content-area-row-input {
    width: calc(25% - 10px);
    display: inline-block;
}

.content-area-row-textarea {
    margin: 15px 0 10px 0;
}

.content-area-row-input-textarea {
    width: calc(100% - 10px);
}

.content-area-row-input-textarea textarea {
    width: 100%;
    height: 80px;
}

.content-area-row button[type="submit"] {
    margin-right: 2px;
}

.content-area-row:last-of-type {
    text-align: right;
}

@media (max-width: 1200px) {
    .content-area-row-input {
        width: 25%;
    }
}

@media (max-width: 979px) {
    .content-area-row-input {
        width: 100%;
        display: block;
    }

    .content-area-row-input input {
        width: 100%;
        max-width: 210px;
    }

    .content-area-row-input-textarea {
        width: 100%;
    }

    .nav li.helpButton a {
        color: #29ad7d !important;
    }

    .nav li.helpButton a:hover, .nav li.helpButton a:focus {
        color: #29ad7d !important;
    }

    .box .content-area-heading {
        width: inherit;
    }
}

.alerts .alert { margin-bottom: 0; }
.alerts .alert+alert { margin-top: 20px; }

.grecaptcha-badge {
    visibility: hidden;
    display: none !important;
}

.recaptcha-alert {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row nowrap;
}

.recaptcha-alert p {
    margin: 0;
}

.recaptcha-alert .icon {
    margin-right: 5px;
    margin-top: 3px;
}

.accordion-body.in.collapse {
    overflow: visible;
}

.select2-container-multi .select2-choices .select2-search-field input {
    height: auto; padding: 0 5px;
}

.tags-list .label {
    margin-bottom: 3px;
}
.theme_subscriptions .trial-box {
    background-color: rgba(245, 245, 245, 0.8);
}

.api-key-actions form {
    display: inline;
}

.api-key-actions form button {
    margin: 2px 0 2px 0;
}
.swagger-ui .info .title small pre {
    background-color: unset;
    border: unset;
}

/* Customer authentication: scoped to login, password reminder and registration cards. */
.m2b-auth {
    max-width: 460px;
    margin: 80px auto 48px;
    color: #1c1e54;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.m2b-auth, .m2b-auth * { box-sizing: border-box; }
.m2b-auth .m2b-auth-card {
    padding: 36px;
    background: #fff;
    border: 1px solid rgba(28, 30, 84, 0.12);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(28, 30, 84, 0.06);
}
.m2b-auth .m2b-auth-title {
    margin: 0 0 26px;
    color: #1c1e54;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: none;
}
.m2b-auth .m2b-auth-form { display: grid; gap: 18px; margin: 0; }
.m2b-auth .m2b-auth-field { display: grid; gap: 8px; }
.m2b-auth .m2b-auth-field label {
    margin: 0;
    color: #1c1e54;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}
.m2b-auth .m2b-auth-field input[type="text"],
.m2b-auth .m2b-auth-field input[type="password"],
.m2b-auth .m2b-auth-field select {
    width: 100%;
    height: auto;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    color: #1c1e54;
    background: #fff;
    border: 1px solid rgba(28, 30, 84, 0.12);
    border-radius: 8px;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}
.m2b-auth .m2b-auth-field input[type="text"]:focus,
.m2b-auth .m2b-auth-field input[type="password"]:focus,
.m2b-auth .m2b-auth-field select:focus {
    outline: none;
    border-color: #533afd;
    box-shadow: 0 0 0 3px rgba(83, 58, 253, 0.12);
}
.m2b-auth .m2b-auth-field input.error { border-color: #ea2261; }
.m2b-auth .m2b-auth-button {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 14px 28px;
    border: 0;
    border-radius: 9999px;
    background: #533afd;
    color: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-shadow: none;
    cursor: pointer;
    transition: background-color 160ms ease;
}
.m2b-auth .m2b-auth-button:hover,
.m2b-auth .m2b-auth-button:focus { background: #4a33e6; color: #fff; }
.m2b-auth .m2b-auth-button:focus-visible,
.m2b-auth .m2b-auth-links a:focus-visible { outline: 2px solid #533afd; outline-offset: 3px; }
.m2b-auth .m2b-auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 22px;
    color: rgba(28, 30, 84, 0.76);
    text-align: center;
}
.m2b-auth .m2b-auth-links a { color: #533afd; font-weight: 600; }
.m2b-auth .m2b-auth-links a:hover { color: #4a33e6; }
.m2b-auth .m2b-auth-errors { margin-bottom: 20px; }
@media (max-width: 767px) {
    .m2b-auth { margin: 40px auto 32px; }
    .m2b-auth .m2b-auth-card { padding: 24px 20px; }
}

.m2b-auth .m2b-auth-description {
    margin: 0 0 24px;
    color: rgba(28, 30, 84, 0.72);
    font-size: 15px;
    line-height: 24px;
}
.m2b-auth .m2b-auth-field-error {
    color: #ea2261;
    font-size: 14px;
    line-height: 20px;
}

/* Registration uses the shared auth card with a wider form layout. */
.m2b-auth.m2b-auth-registration {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 1100px;
    margin: 40px auto 48px;
}
.m2b-auth-registration > .m2b-auth-card { min-width: 0; }
.m2b-auth-registration .form-vertical { margin: 0; }
.m2b-auth-registration .form-vertical > .row-fluid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}
.m2b-auth-registration .form-vertical > .row-fluid::before,
.m2b-auth-registration .form-vertical > .row-fluid::after { content: none; }
.m2b-auth-registration .row-fluid > .control-group {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    align-content: start;
}
.m2b-auth-registration .row-fluid > .span4 { grid-column: span 2; }
.m2b-auth-registration .row-fluid > .span6 { grid-column: span 3; }
.m2b-auth-registration .row-fluid > .span12,
.m2b-auth-registration .row-fluid > .note,
.m2b-auth-registration .row-fluid > .recaptcha-alert { grid-column: 1 / -1; }
.m2b-auth-registration .m2b-auth-field .controls { margin: 0; }
.m2b-auth-registration .m2b-auth-field .help-block {
    margin: 8px 0 0;
    color: #ea2261;
    font-size: 14px;
    line-height: 20px;
}
.m2b-auth-registration .m2b-auth-field.error input[type="text"],
.m2b-auth-registration .m2b-auth-field.error input[type="password"],
.m2b-auth-registration .m2b-auth-field.error select { border-color: #ea2261; }
.m2b-auth-registration .m2b-auth-field .radio,
.m2b-auth-registration .m2b-auth-field .checkbox {
    margin: 0 0 10px;
    padding-left: 24px;
    font-weight: 400;
    line-height: 24px;
}
.m2b-auth-registration input[type="radio"],
.m2b-auth-registration input[type="checkbox"] { accent-color: #533afd; }
.m2b-auth-registration .note { color: rgba(28, 30, 84, 0.72); font-size: 13px; line-height: 21px; }
.m2b-auth-registration hr { margin: 24px 0; border: 0; border-top: 1px solid rgba(28, 30, 84, 0.12); }
.m2b-auth-registration a { color: #533afd; }
.m2b-auth-registration .registration-sidebar { font-size: 14px; line-height: 23px; }
.m2b-auth-registration .registration-sidebar h5 { color: #1c1e54; font-family: inherit; line-height: 23px; }
.m2b-auth-registration .alert-success {
    background: rgba(83, 58, 253, 0.06);
    border-color: rgba(83, 58, 253, 0.12);
    color: #1c1e54;
    border-radius: 8px;
    text-shadow: none;
}
.m2b-auth-registration .alert-success li { margin-bottom: 10px; }
.m2b-auth-registration .alert-success li:last-child { margin-bottom: 0; }
.m2b-auth-registration .icon-ok { color: #533afd; }
@media (max-width: 979px) {
    .m2b-auth.m2b-auth-registration { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}
@media (max-width: 767px) {
    .m2b-auth.m2b-auth-registration { margin: 24px auto 32px; }
    .m2b-auth-registration .form-vertical > .row-fluid { grid-template-columns: minmax(0, 1fr); }
    .m2b-auth-registration .row-fluid > .control-group { grid-column: 1 / -1; }
}
