/*
 * Copyright 2011 Abierto Networks, LLC.
 * All rights reserved.
 */

/**/
@font-face {
    font-family: 'BebasNeue-Regular';
    src: url('../fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Proxima-Nova-Condensed-Regular';
    src: url('../fonts/Proxima-Nova-Condensed-Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Proxima-Nova-Condensed-Extrabold';
    src: url('../fonts/Proxima-Nova-Condensed-Extrabold.otf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    line-height: normal;
    font-size: 11pt;
    font-family: 'Proxima-Nova-Condensed-Regular';
}

dt {
    font-weight: bold;
}

dd {
    padding-left: 20px;
}

img {
    border: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th div {
    color: #484848;
    font-family: 'Proxima-Nova-Condensed-Extrabold';
}

h1 {
    text-shadow: 0.1em 0.1em 0.25em rgba(0,0,0,0.55);
    color: white;
    font-family: 'BebasNeue-Regular';
}

/**/
html,
body {
    height: 100%;
}
#container {
    min-height: 100%;
    position: relative;
}
#header {
    background: no-repeat top left url('../images/Title_Banner_V1.png');
    margin-bottom: 10px;
    width: 100%;
}
#navigation {
    width: 100%;
    z-index: 999;
}
.fixed {
    top: 0;
    position: fixed;
}
.inline {
    display: inline-block;
}
.hidden {
    display: none;
}
#body {
    width: 100%;
    padding-bottom: 80px; /* footer height */
}
#footer {
    width: 100%;
    height: 80px; /* footer height */
    bottom: 0;
    background-color: #fff;
}

/* header */
#header-logo {
    display: inline-block;
    margin-top: 25px;
    height: 39px;
    width: 62px;
}
#header-username {
    right: 0;
    margin-top: 25px;
    float: right;
}

#header-content,
#body-content,
#footer-content {
    width: 80%;
    margin: 0 auto;
    position: relative;
}
#header-content {
    height: 100px;
}

/* footer */
#footer-content {
    margin-top: 4px;
    color: #000;
    font-size: 10pt;
    text-align: center;
    width: 87px;
}

#footer-content p {
    color: #484848;
    font-size: 9pt;
    font-family: 'Proxima-Nova-Condensed-Extrabold';
}

/* body */
#body-content {
    text-align: left;
}

/* navigation */
#navigation-top {
    background-color: white;
    width: 100%;
}
#navigation-top-menu {
    width: 1024px;
    margin: 0 auto;
    text-align: center;
}

#navigation-top-menu a {
    color: #484848;
    font-family: 'Proxima-Nova-Condensed-Extrabold';
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    margin: 1em;
}

.big-form {
    text-align: left;
}
.big-form label {
    display: block;
    float: left;
    width: 12em;
}

#loginform {
    margin-top: 10px;
}
#loginform div {
    clear: both;
    width: 400px;
    margin: 0 auto .3em;
}
#loginform label {
    width: 160px;
    text-align: right;
    margin-right: 10px;
}
#loginform .form-button {
    width: 60px;
    float: none;
}

#error {
    display: none;
    left: -99999px;
    position: absolute;
}
.error,
ul.errors {
    border-color: red;
    color: red;
    list-style-type: none;
}

.required::before {
    color: red;
    content: "*";
    margin-left: -8px;
}

fieldset {
    border: none;
}
fieldset legend {
    padding: .5em;
    margin-left: -1em;
    font-weight: bold;
}

a.preview {
    text-decoration: none;
}

button:focus,
a:focus {
    outline: none;
}

.content hr {
    margin: 10px 0;
    border-top: 1px solid #999;
    border-bottom: none;
}

.content label {
    cursor: default;
}

.home-background {
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-image: url("../images/Title_BG_V1.png");
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
}

#home-buttons {
    position: absolute;
    top: 407px;
    width: 100%;
    text-align: center;
}

.home-button {
    border: none;
    height: 60px;
    width: 222px;
    margin: 0 32px;
}

#home-upload {
    background: url('../images/Title_Upload_V1.png') no-repeat top left;
}

#home-manage {
    background: url('../images/Title_Manage_V1.png') no-repeat top left;
}

#home-open {
    display: block;
    margin: 0 auto;
    top: 126px;
    position: relative;
}

#errors-list {
    padding: 12px;
}
#errors-list > li {
    color: red;
    margin-bottom: 3px;
}
#errors-list > li > span {
    color: black;
}

/* Buttons */
#wizard,
input[type="search"],
.withselected,
label.new,
button.new {
    display: inline-block;
    padding: 0.3em 1.2em;
    margin: 0 0.1em 0.1em 0;
    background-color: #fff;
    border: 0.1em solid rgba(0,0,0,0.1);
    border-radius: .75em;
    box-sizing: border-box;
    box-shadow: inset 0.1em 0.1em .5em rgba(0,0,0,0.35);
    height: 26px;
    text-decoration: none;
    color: #333!important;
    font-weight: bold;
    text-shadow: 0 0.1em 0.1em rgba(0,0,0,0.35);
    text-align: center;
    text-transform: uppercase;
    position: relative;
}
#wizard:after,
input[type="search"]:after,
.withselected:after,
label.new:after,
button.new:after {
    content: '';
    box-shadow: 0.1em 0.3em 0.5em grey;
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: white;
    z-index: -1;
    border-radius: 1em;
}
.withselected:link {
    text-decoration: none;
}

.withselected,
a#logout {
    margin-left: 5px;
}
.withselected.disabled,
.withselected.disabled:after {
    background-color: lightgray;
    color: darkgray;
}
input[type="search"] {
    height: 30px;
}
.edit,
.cancel,
.save,
#csv-up,
#items-up,
button.add,
button.additem,
button.addfavorite,
button#save,
button#cancel,
button#edit,
button[name="ok"],
button[name="yes"],
button[name="no"],
button[name="save"],
button[name="cancel"],
button[name="delete"],
button[name="close"],
button[name="export"],
button[name="print"]  {
    border-radius: 5px;
    border: none;
    background-color: #af1f2d;
    color: white;
    padding: 5px 10px;
    margin: 0px 10px;
}
button.disabled {
    color: #fff;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
}
button[name="delete"] {
    margin-left: 10px;
}
#newfolder {
    margin-top: -2px;
    margin-left: 7px;
}

form {
    text-align: left;
    position: relative;
}
.form-button {
    float: left;
    padding: 0 4px;
    margin: 0 4px 0 -5px;
}
.form-button input {
    padding: 2px 8px;
    cursor: pointer;
}
.form-button #login {
    padding: 2px 8px;
    cursor: pointer;
    width: 60px;
    border: 1px solid #aaa;
    border-radius: 2px;
}
.form-div label {
    display: inline-block;
    width: 12em;
}

#apps-edit-page {
    position: relative;
}
#appeditform {
    position: relative;
    margin-bottom: 24px;
    background-color: transparent;
}
#app-edit-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 40px;
}
#app-edit-middle {
    position: relative;
    width: 100%;
}
#app-edit-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 130px;
}

#apps-edit-page-3 .input.inline,
#apps-edit-page-3 .select.inline {
    margin-bottom: 20px;
}
#apps-edit-page-3 .inline label {
    display: inline;
    margin-right: 5px;
}
#apps-edit-page-3 .inline select {
    width: auto;
}
#apps-edit-page-3 .inline select,
#apps-edit-page-3 .inline input {
    border-color: #8d8d8d;
    border-radius: 0;
    height: 19px;
    padding: 0;
    margin-bottom: 0;
}

#label-location,
#label-upload,
#label-schedule {
    font-weight: bold;
}

/* Common to all apps with live preview */
/* JQH apps (4, 5, 6) have overrides for portrait orientation */
div[id^=preview] {
    position: absolute;
    top: 50px;
    right: 25px;
    width: 640px;
    max-height: 100%;
}
.wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}
iframe {
    overflow: hidden;
}
.iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    -moz-transform: scale(0.33);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.33);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.33);
    -webkit-transform-origin: 0 0;
    transform: scale(0.33);
    transform-origin: 0 0;
    z-index: 1;
}
.iframe.portrait {
    width: 1080px;
    height: 1920px;
}

.iframe-border {
    border: 2px solid gray;
    margin: 5px;
    position: relative;
    box-shadow: 0.1em 0.3em 0.5em grey;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: white;
    border-radius: 3px;
}

.iframe-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0);
}

.iframe-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 3; /* Above the transparent overlay */
    background-position: 0 0;
    background-repeat: repeat-x;
}
  
/* Number of parts you want to divide the inner div into */
:root {
    --screens-1x2: 2;
    --screens-1x3: 3;
    --screens-1x4: 4;
    --screens-1x5: 5;
    --screens-3x1: 3;
}

/* Calculation for divider placement */
.iframe-border-1x2::after {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent calc(100% / var(--screens-1x2) - 3px),
        gray calc(100% / var(--screens-1x2) - 3px),
        gray calc(100% / var(--screens-1x2))
    );
}

/* Calculation for divider placement */
.iframe-border-1x3::after {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent calc(100% / var(--screens-1x3) - 3px),
        gray calc(100% / var(--screens-1x3) - 3px),
        gray calc(100% / var(--screens-1x3))
    );
}

/* Calculation for divider placement */
.iframe-border-1x4::after {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent calc(100% / var(--screens-1x4) - 3px),
        gray calc(100% / var(--screens-1x4) - 3px),
        gray calc(100% / var(--screens-1x4))
    );
}

/* Calculation for divider placement */
.iframe-border-1x5::after {
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent calc(100% / var(--screens-1x5) - 3px),
        gray calc(100% / var(--screens-1x5) - 3px),
        gray calc(100% / var(--screens-1x5))
    );
}

/* Calculation for divider placement */
.iframe-border-3x1::after {
    background-image: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent calc(100% / var(--screens-3x1) - 3px),
        gray calc(100% / var(--screens-3x1) - 3px),
        gray calc(100% / var(--screens-3x1))
    );
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE10+ specific styles go here */
    .iframe {
        margin-left: -600px;
        margin-top: -338px;
    }
}

.iframe-1x2 {
    width: 2880px;
    height: 809px;
}
.wrap-1x2 {
    width: 960px!important;
}
.iframe-1x3 {
    width: 2880px;
    height: 539px;
}
.wrap-1x3 {
    width: 960px!important;
}
.iframe-1x4 {
    width: 2880px;
    height: 405px;
}
.wrap-1x4 {
    width: 960px!important;
}
.iframe-1x5 {
    width: 2880px;
    height: 324px;
}
.wrap-1x5 {
    width: 960px!important;
}
.iframe-3x1 {
    width: 640px;
}
.wrap-3x1 {
    width: 320px!important;
}

/* Common to all playlist apps */
.slides-table {
    margin: 0 auto;
    table-layout: fixed;
    width: 900px;
}
.slides-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.slide-delete {
    width: 60px !important;
}
.slide-delete a {
    text-decoration: underline;
}
.slide-preview {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    padding-right: .5em;
    width: 340px !important;
}
.slide-link {
    color: black;
    cursor: default;
    text-decoration: none;
}
.slide-time {
    width: 60px !important;
}
.slide-upload {
    width: 440px !important;
}
.duration {
    width: 40px;
    text-align: right;
}
.center {
    text-align: center;
}
.ui-tooltip {
    background-color: #ddd;
}
.delete,
.undelete {
    cursor: pointer;
    margin-left: 10px;
}
.buttons {
    margin-top: 20px;
}
.dates {
    display: none;
    margin-top: 20px;
}
label[for="start"],
label[for="end"] {
    display: inline-block;
    margin-right: 5px;
    margin-left: 20px;
}
span.duration {
    display: inline-block;
    width: 40px;
}
#warning {
    font-weight: bold;
    color: red;
    margin-bottom: 10px;
    margin-left: 20px;
    vertical-align: middle;
}

#content-header {
    position: relative;
    margin-bottom: 16px;
}
#content-body {
    position: relative;
    margin-bottom: 16px;
    min-height: 300px;
}
#content-footer {
    position: relative;
}

#scheduledate,
#scheduledateend {
    float: left;
    width: 100px;
    margin-right: 4px;
}
#scheduletime,
#scheduletimeend {
    clear: both;
    width: 70px;
}

.label-top {
    font-weight: bold;
}

select[name="location"] {
    width: 150px!important;
}

input.datepicker {
    width: 70px;
}
.dates .datepicker {
    display: inline-block;
    margin-bottom: 5px;
    width: 90px;
}
.datepicker.inline {
    margin-left: 20px;
}
.datepicker.inline input {
    width: 90px;
}

input.timepicker {
    display: inline-block;
    height: 18px!important;
    width: 70px!important;
}

.wrap-playlist {
    min-height: 200px;
}

.ui-widget-content a:hover,
.ui-widget-header a:hover {
    color: #193954;
}

.ui-widget-content a,
.ui-widget-header a {
    color: #2184be;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    border-radius: 0!important;
    font-family: 'Proxima-Nova-Condensed-Regular'!important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button, html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border-top: 1px solid #c5c5c5;
    border-bottom: 1px solid #c5c5c5;
    border-left: none;
    border-right: none;
}

ol.breadcrumb {
    margin: 0 0 10px!important;
    padding: 5px 15px!important;
}

.ui-widget-header a,
.breadcrumb-item a {
    color: #2184be;
}

.ui-widget-header a:hover,
.breadcrumb-item a:hover {
    color: #193954;
}

.ui-widget-header {
    background-color: #fefefe;
}

.ui-widget.ui-widget-content {
    border-color: #8d8d8d;
}

.ui-dialog {
    background-color: white;
}
.error-dialog .ui-dialog-titlebar {
    color: red;
}
.ui-dialog-titlebar-close {
    line-height: 10px;
}
.no-close .ui-dialog-titlebar-close {
    display: none;
}

/* load favorites dialog */
#lf-list {
    height: 180px;
    overflow-y: auto;
}
#lf-buttons .dialog-button {
    padding: 0 12px;
}

#edit-schedule {
    color: red;
    padding-right: 32px;
    text-align: right;
    vertical-align: bottom;
}

/* View/Edit Dialog */
.viewedit .part {
    float: left;
    min-height: auto;
    width: 375px;
}
.viewedit .content {
    min-height: 150px;
}
.viewedit div.checkbox {
    text-align: right;
}
.viewedit div.checkbox label {
    cursor: pointer;
    display: inline!important;
    font-size: 12px;
    font-family: "Lucida Console";
    position: relative;
}
.viewedit label {
    display: inline-block!important;
    margin-right: 0!important;
    text-align: left!important;
    vertical-align: top;
    width: 85px!important;
}
.viewedit label[for=playon],
.viewedit label[for=playto],
.viewedit label[for=notafter] {
    margin: 0 10px;
    vertical-align: top;
}
.viewedit label.checked {
    color: white;
}
.viewedit select {
    display: inline-block;
}
.viewedit select[name=playwhen],
.viewedit select[name=playon] {
    width: 70px;
}
.viewedit input {
    height: 30px;
    width: 220px;
}
.viewedit input[type=checkbox] {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    float: none;
    margin-left: 0;
    cursor: pointer;
    outline: none;
    position: relative;
    right: 12px;
    height: 16px;
    width: 16px;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    z-index: -100;
}
.viewedit input[type=checkbox]:checked {
    background-color: #1a73e8;
}
.viewedit input:read-only {
    background-color: #d9d9d9;
    line-height: normal;
}
.viewedit input[type="file"]:read-only {
    background-color: white;
}
.viewedit ul.ui-sortable {
    list-style-type: none;
    margin: 10px auto;
    width: 50%;
}
.viewedit ul.ui-sortable li {
    background-color: white;
    border-radius: 5px;
    margin: 5px 0;
    padding: 5px;
}
.viewedit p {
    margin: 10px 0;
}
.viewedit div.footer {
    bottom: 10px;
    clear: both;
    margin-top: 10px;
    position: absolute;
    text-align: center;
    width: 90%;
}
.viewedit div.footer button {
    padding: 5px 10px;
    margin: 0px 10px;
}
.viewedit div.footer button.dt-button {
    padding: .4em 1em;
    margin: 0 0 4px 0;
}
.viewedit.itemsdialog div.select label {
    line-height: 33px;
    margin-bottom: 0;
}
.ui-dialog .ui-dialog-content.scrollable {
    overflow: unset;
}
.viewedit.scrollable .content div {
    max-height: 110px;
    overflow-y: auto;
}

/* Tab dialog */
.tab-dialog .part {
    float: left;
}
.tab-dialog form {
    margin-top: 10px;
}
.tab-dialog .footer {
    bottom: 10px;
    clear: both;
    position: absolute;
    text-align: center;
    width: 90%;
}
.tab-dialog .footer button {
    padding: 5px 10px;
    margin: 0px 10px;
}
.tab-dialog label {
    display: inline-block!important;
    margin-right: 0!important;
    text-align: left!important;
    vertical-align: top;
    width: 85px!important;
}
.tab-dialog label.error {
    color: #8a1f11;
    display: inline-block!important;
    margin-left: 1em;
    width: auto!important;
}
.tab-dialog input[type="radio"] {
    margin: 0 3px 0 0;
}
.tab-dialog .action label {
    display: block!important;
    width: 200px!important;
}
.tab-dialog form {
    margin-top: 10px;
}
.tab-dialog .scrollable {
    overflow-y: auto;
    overflow-x: hidden;
}
.tab-dialog .scrollable p {
    margin: 10px 0;
}
.tab-dialog .scrollable p:first-child {
    margin-top: 0;
}

/* App dialog */
.app-dialog .part select[name="type"] {
    display: inline!important;
    width: 220px;
}
section div.apps {
    margin-bottom: 5px;
}
.app iframe {
    height: 735px;
    width: 1120px;
    overflow: hidden;
    border: none;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #fff;
    padding: 20px;
    margin: 10px 10px;
}

/* Daypart dialog */
.daypart-dialog div.select,
.daypart-dialog div.checkbox,
.daypart-dialog div.datepicker,
.daypart-dialog div.timepicker,
.daypart-dialog div.hidden {
    display: inline-block;
    width: 50%;
}
.daypart-dialog div.part {
    margin-top: 10px;
}
.daypart-dialog div.hidden {
    visibility: hidden;
}
.daypart-dialog input[type="checkbox"] {
    border-radius: 50%!important;
}
#add-daypart {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 10px;
}
/* Daypart Table */
table.dayparts {
    table-layout: fixed;
}
table.dayparts td {
    width: 50px;
}
table.dayparts td .delete {
    margin-left: 0;
}
table.dayparts td .undelete {
    margin-left: 0;
}

/* Device page and dialog */
.device-dialog label {
    width: 105px!important;
}
.device-dialog label {
    vertical-align: middle!important;
}
.device-dialog span.error {
    display: inline-block;
    line-height: 20px;
    margin-left: 10px;
    vertical-align: top;
}
.waitingroom {
    cursor: pointer;
    float: right;
    margin-top: 10px;
}

/* Manage App dialog */
#manage-app .tab3 div.input {
    float: left;
}
#manage-app .tab3 label {
    width: 120px!important;
}
#manage-app .tab2 .part,
#manage-app .tab3 .part,
#manage-app .tab2 .part {
    height: 240px;
    overflow-y: auto;
}
#manage-app .tab2 button {
    border-radius: 1em!important;
    margin-bottom: 15px;
}
#manage-app .tab4 .config {
    margin-bottom: 10px;
}
#manage-app .tab4 .config label.inline {
    font-weight: bold;
    width: 110px!important;
}
#manage-app .tab4 .config .input {
    margin-right: 35px;
}
#manage-app .tab4 .config .input label.error {
    line-height: 20px;
    width: 157px!important;
}
#manage-app .tab4 .config .input label {
    line-height: 20px;
    width: 57px!important;
}
#manage-app .tab4 .config select[name="miscitemsperpage"] {
    margin-left: 5px;
    margin-bottom: 0;
    width: 50px;
}
#manage-app .tab4 input[type="text"],
#manage-app .tab4 input[type="number"] {
    width: 100px;
}
#manage-app .tab4 input[name="tagsmin"] {
    margin-left: -32px;
}
#manage-app .tab4 input[name="tagsmax"] {
    margin-left: -28px;
}
#manage-app .tab4 input[name="minsizeheight"] {
    margin-left: -16px;
}
#manage-app .tab4 input[name="minsizewidth"] {
    margin-left: -20px;
}
.input input[type="checkbox"] {
    margin-right: 3px;
}

/* User dialog */
.user-dialog label {
    vertical-align: middle!important;
    width: 105px!important;
}
.tabpermissions label {
    width: 80px!important;
}
.user-dialog span.error {
    display: inline-block;
    line-height: 20px;
    margin-left: 10px;
    vertical-align: top;
}
#users-dialog .tabcontrol>.content {
    min-height: 300px;
}
.tabcontrol > .content > .body ul li {
    display: block!important;
}
.tabcontrol > .content > .body ul li a {
    padding: 1px 5px!important;
}
#users-dialog .tabpermissions {
    margin-top: 0;
    padding: 0;
}
#users-dialog .tabpermissions section {
    padding-top: 0;
}
.permission {
    display: inline-block;
    margin-right: 20px;
}
.permission label {
    margin-bottom: 0;
}
#users-dialog .selectedlist {
    margin-top: 30px;
}

/* Wizard dialog */
.wizard-dialog form {
    margin-top: 10px;
}
.wizard-dialog label {
    display: inline-block;
    text-align: left;
}
.wizard-dialog .footer {
    bottom: 10px;
    clear: both;
    position: absolute;
    text-align: center;
    width: 90%;
}
.wizard-dialog .footer button {
    padding: 5px 10px;
    margin: 0px 10px;
}
.wizard-dialog .action {
    margin-top: 15px;
}
.wizard-dialog .action label,
.wizard-dialog .schedule label {
    display: block;
    width: 200px;
}
.wizard-dialog .schedule label {
    font-weight: bold;
}
.wizard-dialog .part div.input {
    height: auto;
}
.wizard-dialog .part div.select {
    height: auto;
    width: 220px;
}
.wizard-dialog label.error,
.wizard>.content>.body label.error {
    color: #8a1f11;
    display: inline-block;
    margin-left: 1.5em;
    width: auto;
}
.tabcontrol>.content>.body input,
.wizard>.content>.body input {
    display: inline;
}
.tabcontrol>.content>.body label
.wizard>.content>.body label {
    margin-bottom: 10px;
    vertical-align: middle;
}
.wizard>.content>.body label[for="start"],
.wizard>.content>.body label[for="end"] {
    margin-left: 0!important;
}
.wizard>.actions a,
.wizard>.actions a:hover,
.wizard>.actions a:active {
    background-color: #af1f2d;
}
.wizard .datepicker {
    width: 80px!important;
}
.tabcontrol>.content {
    background-color: #fff;
    border-top: none;
    height: 260px!important;
    padding-top: 0;
}
.tabcontrol>.content>.body {
    padding: 5%;
}

/* confirm dialog */
.confirmdialog ul {
    min-height: 100px;
    max-height: 150px;
    overflow: auto;
}
.confirmdialog ul li::before {
    content: "•";
    margin-right: 2px;
}
.confirmdialog ul span {
    margin-right: 10px;
}

/* save dialog */
.savedialog .content {
    min-height: auto;
}

/* all dialogs */
.selectedlist {
    float: right;
}
.tabcontrol > .content > .body ul.selectedlist li {
    display: list-item!important;
}

/* form .part class */
.part select {
    height: auto;
    padding: 0;
    width: 206px;
}
.part input {
    width: 220px;
}
.part input[type="radio"] {
    width: 20px;
}
.part select[name="type"] {
    display: block!important;
    width: 220px;
}
.part div.input {
    height: 33px;
}
.part div.select {
    height: 33px;
    margin-bottom: 12px;
}
.part div.sitetags {
    min-height: 33px;
}
.part div.sitetags p {
    display: inline-block;
    line-height: normal;
    max-width: 370px;
}

/* Applist class */
.applist {
    background-color: #fafafa;
    height: 265px;
    overflow-y: scroll;
}
.applist a {
    text-decoration: none;
}
.applist ul {
    margin: 0;
}
.applist li {
    align-items: center;
    display: flex;
    list-style: none;
    float: left;
    height: 125px;
    padding: .5em;
    justify-content: center;
    width: 25%;
}
.applist li a {
    text-align: center;
}
.applist li p {
    margin: 0;
}
.applist li a img {
    width: 80%;
}

/* Packagelist class */
.packagelist {
    height: 190px;
    width: 500px;
    overflow-y: auto;
}
.packagelist a {
    text-decoration: none;
}
.packagelist ul {
    margin: 0;
}
.packagelist li {
    align-items: center;
    display: flex;
    list-style: none;
    height: 25px;
    padding: .5em;
    justify-content: center;
    width: 100%;
}
.packagelist li p {
    display: inline;
    margin: 0 10px 0 0;
}
.daypartlist tr {
    cursor: pointer;
}
#displays-dialog .daypartlist,
#sites-dialog .daypartlist {
    width: 500px;
}
#displays-dialog .daypartlist td:first-child,
#sites-dialog .daypartlist td:first-child {
    width: 150px;
}
#displays-dialog .daypartlist td:nth-child(2),
#sites-dialog .daypartlist td:nth-child(2) {
    width: 250px;
}

.daypart-tab {
    min-height: 420px;
}
.daypart-tab.portrait {
    min-height: 700px;
}

/* Slidelist class */
.slidelist {
    list-style-type: none;
    margin: 20px 0 0 0;
    padding: 0;
    width: 300px;
}
.slidelist li {
    margin: 0 3px 3px 3px;
    padding: 0.4em;
    padding-left: 1.5em;
}
.slidelist li span.ui-icon {
    position: absolute;
    margin-left: -1.3em;
}
.slidelist .slide-wrap {
    display: inline-block;
    width: 170px;
}

/* fg-toolbar class */
.fg-toolbar {
    padding: 20px 0 5px!important;
}
.fg-toolbar:nth-of-type(1) label {
    display: block!important;
    font-family: 'Proxima-Nova-Condensed-Extrabold'!important;
    margin-bottom: 10px!important;
    text-transform: uppercase!important;
}
.fg-toolbar:nth-of-type(1) input {
    font-family: 'Proxima-Nova-Condensed-Regular'!important;
    text-transform: none;
}
.fg-toolbar:nth-of-type(2) {
    padding: 15px 0!important;
}

/* Report page and dialog styles */
#reportarea {
    height: 500px;
    overflow-y: auto;
}
#reportarea table {
    margin-bottom: 20px;
    width: 920px;
}
.print #reportarea {
    overflow-y: visible;
}
.report .property {
    height: 20px;
    margin-bottom: 10px;
}
.report input[name="name"] {
    height: 30px!important;
}
.report .property .name {
    display: inline-block;
    width: 30%;
}
.report h3,
.report h4 {
    display: inline-block;
}
.report h3 {
    margin-right: 10px;
}
.report h5 {
    margin-top: 0;
}
.report td span {
    font-weight: bold;
}
.report .dataTable thead th {
    padding: 8px 10px;
}
.report .dt-button-collection {
    left: 305px!important;
}
#reports-wizard .content {
    overflow-y: auto;
}

/* DataTable styles */
.dataTable {
    border-bottom: none!important;
    border-top: 3px solid #eee!important;
    border-right: 3px solid #eee!important;
    border-left: 3px solid #eee!important;
    box-shadow: 0.3em 0.3em 1em grey!important;
    table-layout: fixed;
}
.dataTable th {
    border-top: 3px solid #eee!important;
    text-transform: uppercase;
    padding: 8px 20px 8px 10px!important;
}
.dataTable th,
.dataTable td {
    background-color: #fff!important;
    border-bottom: 3px solid #eee!important;
    border-top: none!important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dataTable td:not(:first-child) {
    cursor: pointer;
}
.notroot .dataTable td {
    cursor: default;
}
.dataTable.no-footer {
    border-bottom: none;
}
.dataTables_wrapper .ui-widget-header {
    background: transparent;
    border: none;
}
.dataTables_filter label {
    font-size: 20px;
    font-weight: bold!important;
}
.dataTables_filter label input {
    font-weight: normal!important;
}
.dataTable .select-checkbox {
    padding: 8px 10px 8px 15px!important;
    width: 15px;
}
.dataTable .narrow-column {
    width: 35px;
}
.dataTable .wide-column {
    width: 420px;
}
.dataTable .centered-column {
    text-align: center;
    width: 15px;
}
.dataTable .displays-column {
    width: 22%;
}
.dataTable .status-column {
    width: 60px;
}
.dataTable .numeric-column {
    width: 60px;
}
.dataTable .category-column {
    width: 100px;
}
.dataTable .item-column {
    width: 350px;
}

#favorites-dialog .dataTables_filter label {
    font-size: 15px;
}

#favorites-dialog .dataTables_filter input[type="search"] {
    height: 15px;
    width: 180px;
    margin-bottom: 5px;
}

/* bootstrap select overrides */
#slides select,
.form-div select {
    border-radius: 0!important;
    height: 19px!important;
    padding: 0px!important;
    margin-bottom: 0px!important;
}
#location,
#scheduledate,
#scheduledateend,
#scheduletime,
#scheduletimeend,
.cal,
.dayparttimes,
.duration,
.name,
.price  {
    border-radius: 0!important;
    height: 19px!important;
    padding: 0px!important;
    margin-bottom: 0px!important;
}
table .browse,
#uploadPrices,
#tabs #store-data .data,
#tabs #videos .video {
    border: none!important;
    border-radius: 0!important;
    height: 25px!important;
    line-height: 17px!important;
    padding: 0px!important;
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
    bottom: auto!important;
}

.tooltip-inner {
    border-top: solid 5px black;
    overflow: hidden!important;
    padding: 0!important;
    border-left: solid 5px black;
    border-right: solid 5px black;
    border-bottom: solid 5px black;
}

.tooltip-y50 {
    transform: translateY(50%);
}

.tooltip-overlay {
    position: absolute;
    width: 192px;
    z-index: 1000;
}

.tooltip-overlay:after {
    bottom: 0;
    content: "";
    position: absolute;
    top: 0;
    z-index: -1;
}

.tooltip-1x1.tooltip-portrait {
    height: 192px!important;
    width: 108px!important;
}

.tooltip-1x1 {
    height: 108px!important;
    width: 192px!important;
}

.tooltip-1x2 {
    height: 108px!important;
    width: 384px!important;
}

.tooltip-1x3 {
    height: 108px!important;
    width: 576px!important;
}

.tooltip-1x4 {
    height: 108px!important;
    width: 768px!important;
}

.tooltip-1x5 {
    height: 108px!important;
    width: 960px!important;
}

.tooltip-2x1 {
    height: 216px!important;
    width: 192px!important;
}

.tooltip-2x2 {
    height: 216px!important;
    width: 384px!important;
}

.tooltip-3x1 {
    height: 324px!important;
    width: 192px!important;
}

.tooltip-grid1x2 {
    border-right: 2px solid black;
    height: 108px;
    width: 192px;
}

.tooltip-grid1x3 {
    border-right: 2px solid black;
    height: 108px;
    width: 192px;
}

.tooltip-grid1x3-2 {
    border-right: 2px solid black;
    height: 108px;
    width: 384px;
}

.tooltip-grid1x4 {
    border-right: 2px solid black;
    height: 108px;
    width: 192px;
}

.tooltip-grid1x4-2 {
    border-right: 2px solid black;
    height: 108px;
    width: 384px;
}

.tooltip-grid1x4-3 {
    border-right: 2px solid black;
    height: 108px;
    width: 576px;
}

.tooltip-grid1x5 {
    border-right: 2px solid black;
    height: 108px;
    width: 192px;
}

.tooltip-grid1x5-2 {
    border-right: 2px solid black;
    height: 108px;
    width: 384px;
}

.tooltip-grid1x5-3 {
    border-right: 2px solid black;
    height: 108px;
    width: 576px;
}

.tooltip-grid1x5-4 {
    border-right: 2px solid black;
    height: 108px;
    width: 768px;
}

.tooltip-grid2x1,
.tooltip-grid3x1 {
    border-bottom: 2px solid black;
    height: 108px;
}

.tooltip-grid3x1-2 {
    border-bottom: 2px solid black;
    height: 216px;
}

.tooltip-grid2x2 {
    border-right: 2px solid black;
    height: 216px;
    width: 192px;
}

.tooltip-grid2x2-2 {
    border-bottom: 2px solid black;
    height: 108px;
    width: 384px;
}

/* processing paragraph text */
#processing p {
    font-size: 20px;
    font-weight: bold;
    margin: 30px 0 10px;
    text-align: center;
}

/* processing spinner */
.spinner {
    background: rgba( 255, 255, 255, .8 ) url(../images/loading.gif) 50% 50% no-repeat;
    height: 200px;
    width: 100%;
}

/* Playlist New LED tooltip scaling */
.ledscale {
    transform: scale(9) translate(50%, 44%);
    left: -50%;
    position: relative;
}


#data-files-button {
    float: right;
    cursor: pointer;
}
#favorites-button {
    float: right;
    cursor: pointer;
    margin-right: 10px;
}
#data-items-dialog {
    width: 1130px;
}
#data-items-dialog .input {
    margin-right: 20px;
    width: 170px;
}
#data-items-dialog .input input {
    width: 170px;
}
#data-items-dialog .row {
    margin-left: 0px;
}
#data-items-dialog label {
    display: inline!important;
}
#data-items-dialog .row {
    height: 30px;
}
.confirmdialog div.itemsfooter {
    clear: both;
    margin-top: 10px;
    text-align: center;
    width: 90%;
}
.itemsdialog form {
    height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}
.itemsdialog .content {
    height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
}
.itemsdialog #addoption {
    border: none;
    background-color: #af1f2d;
    color: white;
    padding: 2px 3px;
    margin-bottom: 10px;
}

.schedule {
    margin-top: 20px;
}
.schedule .input.datepicker {
    margin-left: 10px;
}

#apps-edit-page-header-left {
    width: 35%;
}
#apps-edit-page-header-center {
    width: 40%;
}
#apps-edit-page-header-right {
    width: 25%;
}
#infobox {
    color: red;
    text-align: center;
    margin-bottom: 1rem;
}

#customer-logo {
    margin-top: 100px;
    text-align: center;
}
#customer-logo img {
    height: 120px;
}

#manage-app .tabcontrol > .content {
    height: 360px!important;
}

/* APPUI CSS */
.ui-tabs .ui-tabs-panel {
    padding: 10px;
}
#appeditform .ui-tabs .ui-tabs-panel {
    min-height: 400px;
    padding: 10px;
}
#appeditform .tab-content {
    min-height: 400px;
}
#appeditform:not(.appid58):not(.appid70):not(.appid73) .tab-content div.select,
#appeditform:not(.appid58):not(.appid70):not(.appid73) .tab-content div.input {
    display: block;
    height: 23px!important;
    margin-bottom: 3px!important;
}
#appeditform .tab-content div.input.checkbox {
    margin-bottom: 5px!important;
}
#appeditform .tab-content div.select.input.inline,
#appeditform .tab-content div.input.inline:not(.bootstrap-select) {
    display: inline-block;
    margin-bottom: 0px!important;
}
#appeditform .tab-content div.input.inline input {
    border-color: #ccc;
}
#appeditform .label:empty {
    display: block;
}
#appeditform .tab-content div.dropdown.input {
    display: inline-block;
    margin-bottom: 0px!important;
}
#appeditform:not(.appid58):not(.appid70):not(.appid73) .tab-content div.select:not(.onlyinput) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    margin-bottom: 0px;
    width: 90px;
}
#appeditform .tab-content div.select.label:not(.onlyinput) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    margin-bottom: 0px;
    width: 180px;
}
#appeditform:not(.appid58):not(.appid70):not(.appid73) .tab-content div.select:not(.onlyinput) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) button {
    padding: 2px 5px;
}

#appeditform .tab-content div.input label,
#appeditform .tab-content div.select label {
    display: inline-block;
    width: 190px;
}
#appeditform .tab-content div.input label.combo {
    font-weight: normal;
}
#appeditform .tab-content div.select label {
    margin-bottom: 0px;
}
#appeditform .tab-content div.input.label {
    margin-bottom: 10px;
    margin-right: 10px;
    width: 140px!important;
}
#appeditform .tab-content div.select.label .input {
    display: inline-block;
}
#appeditform .tab-content div.select.label .input.pair {
    display: inline-block;
    margin-bottom: 0px!important;
    width: 40px;
}
#appeditform .tab-content div.input.title label {
    margin-bottom: 10px!important;
    width: 40px;
}
#appeditform .tab-content div.input.title input {
    margin-bottom: 0px!important;
    width: 180px;
}
#appeditform .tab-content div.input.header label {
    margin-bottom: 10px!important;
    width: 110px;
}
#appeditform .tab-content div.input.header input {
    margin-bottom: 0px!important;
    margin-left: 10px;
    width: 100px;
}

#appeditform .tab-content div.select.inline {
    display: inline-block;
    margin-right: 10px;
}
#appeditform .tab-content div.input.inline {
    display: inline-block;
}

#appeditform .tab-content div.input input.price {
    height: 23px!important;
    width: 41px;
    margin-right: 2px;
}
#appeditform .tab-content div.input input.label {
    font-weight: normal;
    height: 23px;
    width: 140px;
}
#appeditform .tab-content div.input input.label.inline {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
}
#appeditform .tab-content div.input.label input {
    width: 140px;
}
#appeditform .tab-content div.select.label input.price {
    width: 40px;
}

.appid2 div.price:nth-child(3n+1) input.price {
    width: 82px!important;
}

.appid4 div[id^=preview] {
    right: -200px;
}
.appid4 .tab-content {
    height: 620px;
}
.appid4 .wrap {
    height: 900px;
}
.appid4 .iframe {
    height: 1920px;
    width: 1080px;
}
.appid4 div.price:nth-child(odd) input.price {
    width: 82px!important;
}

.appid5 div[id^=preview] {
    right: -200px;
}
.appid5 .tab-content {
    height: 620px;
}
.appid5 .wrap {
    height: 900px;
}
.appid5 .iframe {
    height: 1920px;
    width: 1080px;
}
.appid5 div.price:nth-child(odd) input.price {
    width: 82px!important;
}

.appid6 div[id^=preview] {
    right: -200px;
}
.appid6 .tab-content {
    height: 620px;
}
.appid6 .wrap {
    height: 900px;
}
.appid6 .iframe {
    height: 1920px;
    width: 1080px;
}

#appeditform.appid28 .tab-content div.input label, #appeditform .tab-content div.select label {
    width: 240px;
}

#appeditform.appid58 .tab-content div.input label {
    display: inline-block;
    width: 110px;
    white-space: nowrap;
}
#appeditform.appid58 .tab-content div.input input {
    margin-bottom: 5px;
    width: 110px;
}
.appid58 .price {
    width: 40px;
    left: 170px;
    margin-left: 1em;
    text-align: right;
}
.appid58 .cancel,
.appid58 .save {
    border: none;
    background-color: #af1f2d;
    color: white;
    padding: 5px 10px;
    margin: 0px 10px;
}
.appid58 .tab-content {
    margin-bottom: 30px;
}
.appid58 div[id^="preview"] {
    right: 10px;
    top: 55px;
    width: 640px;
}
.appid58 .screen2 {
    top: 480px!important;
}
.appid58 .iframe {
    top: 15px;
}
.appid58 .previewtitle {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.appid58 .topleveltab {
    font-weight: bold;
    text-transform: uppercase;
}
.appid58 .savedialog .content {
    min-height: 50px;
}

/* Friendship */
.appid70 .form-div label {
    display: inline-block;
    width: 11em;
    white-space: nowrap;
}
.appid70 .price {
    width: 40px;
    left: 170px;
    margin-left: 1em;
    text-align: right;
}
.appid70 .cancel,
.appid70 .save {
    border: none;
    background-color: #af1f2d;
    color: white;
    padding: 5px 10px;
    margin: 0px 10px;
}
.appid70 .tab-content {
    margin-bottom: 30px;
}
.appid70 div[id^="preview"] {
    right: 10px;
    top: 55px;
    width: 640px;
}
.appid70 .screen2 {
    top: 480px!important;
}
.appid70 .iframe {
    top: 15px;
}
.appid70 .previewtitle {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.appid70 .topleveltab {
    font-weight: bold;
    text-transform: uppercase;
}
.appid70 .savedialog .content {
    min-height: 50px;
}
.appid70 [id$="-1"] .tab-content .input:not([class$="day"]) {
    width: 220px;
}
.appid70 .tab-content .input input[type="checkbox"] {
    float: right;
}

/* Elmer */
.appid73 .form-div label {
    display: inline-block;
    width: 11em;
    white-space: nowrap;
}
.appid73 div.price label,
.appid73 div.price input {
    display: inline-block;
}

.appid73 .cancel,
.appid73 .save {
    border: none;
    background-color: #af1f2d;
    color: white;
    padding: 5px 10px;
    margin: 0px 10px;
}
.appid73 .tab-content {
    margin-bottom: 30px;
    overflow: hidden;
}
.appid73 .tab-content:not(:first-child) {
    min-height: 805px!important;
    height: 805px!important;
}
.appid73 .daypart-tab {
    overflow: hidden!important;
    height: 1370px!important;
    min-height: 1370px!important;
}
.appid73 div[id^="preview"] {
    right: 10px;
    top: 55px;
    width: 640px;
}
.appid73 .screen2 {
    top: 480px!important;
}
.appid73 .iframe {
    top: 15px;
}
.appid73 .previewtitle {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.appid73 .topleveltab {
    font-weight: bold;
    text-transform: uppercase;
}
.appid73 .savedialog .content {
    min-height: 50px;
}
.appid73 [id$="-1"] .tab-content .input:not([class$="day"]) {
    width: 273px;
}
.appid73 .tab-content .input input[type="checkbox"] {
    float: right;
}
.appid73 [id$="-1"] .tab-content label {
    width: 230px!important;
}