html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

div { 
    position:relative;
}

@font-face {
    font-family: Avenir;
    src: url("fonts/AvenirLTStd-Book.otf");
}

.old-UI-font {
    font-family: helvetica, arial, sans-serif;
}

.new-UI-font {
    font-family: Avenir;
}

/* OPS-1201 Vitally bug is allowing our CSS to bleed through */
body > div.Vitally--Nps.Vitally--reset div {
    position: static;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

body {
  color: #999999;
  height: auto;
  font-size: 100%;
}

h1, h2, h3, h4, h5, b, strong {
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #3399ff;
}

p {
  font-size: 1.125em;
  line-height: 1.277777778em;
}

label {
  font-size: 13px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
    font-size: 13px;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    background: url(../Content/images/icon-alert-orange.png) no-repeat 5px 7px;
    font-weight: bold;
    color: #ff6600;
    padding: 10px 5px 10px 60px;
    background-color: #ffefe5;
    -moz-box-shadow: 0 0 5px #ff6600;
    -webkit-box-shadow: 0 0 5px #ff6600;
    box-shadow: 0 0 5px #ff6600;
    margin-top: 10px;
    margin-bottom: 20px;
      
}

.validation-summary-errors ul
{
    list-style-type: disc; 
    *list-style-image: url(../Content/images/arrow-right-orange.png);
    list-style-position: outside; 
}

.validation-summary-errors li
{
   padding-bottom: 2px;
}

.validation-summary-success
{
    background: url(../Content/images/icon-checkmark.png) no-repeat 5px 50%;
    font-weight: bold;
    color: #85B000;
    padding: 10px 5px 10px 40px;
    background-color: #ECFFB3;
    -moz-box-shadow: 0 0 5px #85B000;
    -webkit-box-shadow: 0 0 5px #85B000;
    box-shadow: 0 0 5px #85B000;
    margin-top: 10px;
    margin-bottom: 20px;
}
.validation-summary-valid
{
    /*display: none;*/
    color:Green;
}
.edit-data input[type='text'], .edit-data input[type='datetime'] {
    width: 125px;
    margin-right: 3px;
}

.switch-button-label {
    float: left;

    font-size: 10pt;
    cursor: pointer;
}

.switch-button-label.off {
    color: #adadad;
}

.switch-button-label.on {
    color: #0088CC;
}

.switch-button-background {
    float: left;
    position: relative;

    background: #ccc;
    border: 1px solid #aaa;

    margin: 1px 3px;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    cursor: pointer;
}

.switch-button-button {
    position: absolute;

    left: -1px;
    top : -1px;

    background: #FAFAFA;
    border: 1px solid #aaa;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.switch-wrapper {
  display: inline-block;
  position: relative;
  top: 3px;
}

/*
    Markup for preview filter view.
*/
.preview-button {
    background: #FFF;
    border: 1px solid #3399FF;
    color: #3399FF;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px !important;
    padding: 0.3em 1em 0.25em 1em;
    border-radius: 4px;
}

.preview-button:hover {
    background: #FAFAFA;
}

.preview-overlay {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255, 0.8);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.preview-overlay p {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.ui-dialog .ui-widget-header.preview-filter-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.ui-dialog .ui-widget-header.preview-filter-header .back-to-filters {
    cursor: pointer;
    font-size: 16px;
    color: #3399FF;
    font-weight: 600;
    width: 40%;
}

.ui-dialog .ui-widget-header.preview-filter-header .preview-title {
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    width: 50%;
}

.ui-dialog .filters .smalllink {
    font-size: 14px;
    padding: 0.8em 0 1em 0;
    display: block;
}

.preview-count-lbl, .preview-filter-lbl {
    font-size: 14px;
    font-weight: 700;
    margin-top: 1.2em;
}

#filterMergeDialog label {
    font-size: 14px;
    padding: 10px 0;
}

.filters-applied {
    font-size: 14px;
    font-weight: 400;
}

.preview-count-lbl span {
    font-weight: 400;
    margin-left: 1em;
}

#filter-table {
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: rgba(173, 175, 178, 0.4);
    width: 100%;
    background: #fff;
    margin: 1em 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: .28571429rem;
    text-align: left;
    color: rgba(0,0,0,.87);
    border-collapse: separate;
    border-spacing: 0;
    /* Rectangle */
    box-shadow: 2px 0px 4px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.15);
}

#filter-table th {
    font-size: 12px;
    font-weight: 600;
    padding: 1em;
    background: #F6F8FA;
    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: rgba(173, 175, 178, 0.4);
}

#filter-table th:first-child {
    border-radius: 5px 0 0 0;
}

#filter-table th:last-child {
    border-radius: 0 5px 0 0;
}

#filter-table td {
    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: rgba(173, 175, 178, 0.4);
    text-align: left;
    font-size: 12px;
    padding-left: 10px;
}

.preview-info {
    font-size: 12px;
    font-style: italic;
    padding: 0 0 1em 0;
}

.preview-no-data {
    color: #333;
    font-size: 16px;
    text-align: center;
    padding: 1em 0;
    font-weight: 600;
}

.preview-data-error {
    background: #ffe8e6;
    color: #db2828;
    font-size: 14px;
    padding: 1em;
    box-shadow: 0 0 0 1px #db2828 inset, 0 0 0 0 transparent;
    border-radius: 3px;
    margin: 0 10px;
}

.preview-data-error-title {
    font-weight: 600;
    margin-bottom: 8px;
}

/* CSS Spinner */
.sk-fading-circle {
    width: 20px;
    height: 20px;
    position: relative;
    margin-right: 0.5em;
}

.sk-fading-circle .sk-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-fading-circle .sk-circle:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
    animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}

.sk-fading-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
    -ms-transform: rotate(210deg);
    transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
    -ms-transform: rotate(240deg);
    transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
    -ms-transform: rotate(300deg);
    transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
    -ms-transform: rotate(330deg);
    transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

@keyframes sk-circleFadeDelay {
    0%, 39%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.portablyweb-version-info {
    display: inline-block;
    padding: 3px 0px 0 5px;
}

.portablyweb-version-info li {
    display: inline-block;
    font-size: 12px;
    padding: 3px 0 0 5px;
}

/* Styles for RevOptics Settings (Edit Workspace) */
.revoptics-settings {
    border: 1px solid #EEE;
    margin: 2em 0;
    padding: 1em;
    border-radius: 5px;
}

.revoptics-label {
    font-size: 14px;
    position: relative;
    bottom: 1px;
    left: 4px;
    font-weight: 600;
}

.altGridRow .edit {
    font-size: 12px;
}

.revopt-config-textarea {
    height: auto;
    width: 50%;
}

.revoptics-config {
    margin-top: 1em;
}

.revoptics-config-label {
    font-size: 14px;
    margin-bottom: 0.5em;
}

