body {
    font-family: sans-serif;
}
.title-cont {
    height:32px;
    padding: 8px;
}
.window-buttons-wrapper > div {
    display: inline-table;
}
#main {
    z-index: 4;
}
#footer {
    height: 405px;
}
#footer legend {
    padding-right: 5px;
    color: #F90;
    font-size: 12px;
    margin-bottom: 0;
}
#tool_bar {
    position:relative;
    top:0;
    z-index:100;
    width: 898px;
}
#tool_bar.fixed {
    position:fixed;
}

body.flyin-on #tool_bar.fixed {
    top: 70px
}
#widget-tools {
    margin-top:10px;
}
#toolbar-widgets {
    margin-left: 10px;
}
#toolbar-widgets li{
    margin:2px 2px 2px 2px;
    float:left;
    text-align:center;
    width: 72px;
    font-size: 12px;
}
#reports-content{
    -moz-border-radius:0 0 10px 10px;
    -webkit-border-radius:0 0 10px 10px;
    border:none;
    background:#fff;
    /*margin-top: 68px;*/
    padding-top:0px;
    min-height:410px;
    position:relative;
    width: 100%;
}
.toolbar-set button{
    float:left;
}
#reports-content {
    display: inline-block;
    background: #999;
}

#report-stage {
    text-align: left;
    margin: 20px auto;
    min-height: 800px;
    max-width: 800px;
    min-width: 800px;
    width: 800px;
    border: 1px solid #ccc;
    background: #ffffff;
    -moz-box-shadow: 0px 5px 10px #222;
    -webkit-box-shadow: 0px 5px 10px #222;
    position: relative;
}

.drag {
    z-index: 1000000;
    margin: 2px;
    padding: 5px;
    border: 1px solid transparent;
    cursor: move;
}

.drag:hover {
    background: url(/assets/v3/images/drag-back.png);
    border: 1px solid #999;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.drag img {
    display:block;
    margin: 0 auto 5px auto;
}

.report-tools {
    -moz-box-shadow: 0px 2px 5px #999;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 0px 2px 5px #999;
    -webkit-border-radius: 10px;
    border: 1px solid #666666;
    left: 170px;
    position: absolute;
    top: 175px;
    width: 200px;
    z-index: 200000;
}

.report-tools-title {
    -moz-border-radius: 10px 10px 0 0;
    -webkit-border-top-left-radius:10px;
    -webkit-border-top-right-radius:10px;
    background: url(/assets/v3/images/title-bg.png) repeat scroll 0 0 #E19913;
    color: #FFFFFF;
    font-weight: bold;
    height: 20px;
    padding: 5px 5px 5px 11px;
    text-shadow: 0 -1px 0 #666666;
}

.report-tools-content {
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-bottom-left-radius:10px;
    -webkit-border-bottom-right-radius:10px;
    background: none repeat scroll 0 0 #F5F5F5;
    padding: 5px;
}

.report-tools-content ul {
    margin: 0px;
    padding: 0px;
    list-style: none outside;
}

.widget {
    background-color: #fff;
    border: 1px solid #fff;
    position: absolute;
}

.widget-content {
    overflow-x: auto;
    position:relative;
}

.widget[data-type='header'] hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #BBBBBB;
}

#report-stage.filtering .widget {
    display:none;
}

.widget:hover {
    border: 1px dashed #aaa;
}

.widget-selected:hover {
    border: 1px solid #666;
}
div.widget-header {
    margin: 10px 10px 1px 10px;
    padding: 0;
    text-align: center;
}

.edit-mode div.widget-header:hover {
    margin: 9px 8px 0;
    border: 1px dashed #8B8B8B;
}

.widget-title {
    visibility: hidden;
    background: url(/assets/v3/images/footer-bg.png) repeat scroll 0 -20px #fff;
    border: 1px solid #666;
    border-bottom: none;
    color: #FFFFFF;
    height: 22px;
    right: -1px;
    position: absolute;
    top: -30px;
    padding: 7px 0 0;
    text-shadow: 0 -1px 0 #666666;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-top-right-radius:5px;
}

.widget-title .vline {
    top: 0px;
    margin: 0;
    height: 14px;
}

.widget-selected {
    border: 1px solid #666;
    z-index: 9997;
}

.nicEdit-panelContain {
    position: absolute;
    top: -26px;
    left: -1px;
    border: 1px solid #999 !important;
}

.nicEdit-editContain {
    border: none !important;
}

.nicEdit-main {
    padding: 6px;
}

.widget-selected .widget-title {
    visibility: visible;
}

.menu-open {
    background: #DDDDDD;
}

.menu-content {
    position: absolute;
    top: -1px;
    right: -1px;
    border: 1px solid #777;
    background:#DDDDDD;
    color: #000;
    text-shadow: none;
    padding: 10px;
    z-index: 0;
    -moz-border-radius: 0 0 0 10px;
    -moz-box-shadow: -2px 2px 4px #aaa;
    -webkit-border-bottom-left-radius:10px;
    -webkit-box-shadow: -2px 2px 4px #aaa;
}

.menu-button:hover {
}

.finished-mode .widget {
    /* border: none !important; */
    border: 1px solid transparent !important;
}

.widget-menu-header {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.widget-menu-item {
    margin: 2px;
    width: auto;
    height: auto;
    white-space: nowrap;
}

.widget-menu-item input {
    margin-left: 10px;
}

.widget-menu-item input,
.widget-menu-item select {
    float:right;
    margin-left: 10px;
}

.widget-menu-item label,
.widget-menu-item > div {
    display: block;
    font-weight: normal;
    font-size: 12px;
    overflow:auto;
    padding: 3px 10px 3px 10px;
}

.widget-menu-item span {
    float: left;
}

.edit-header {
    border: none;
    font-size: 18px;
    font-style: italic;
    width: 100%;
    font-weight: bold;
}

.edit-title-active{
    border:1px dashed #ccc;
    display:inline-block;
}
.finished-mode .subheader-edit-message{
    display:none;
    content:""
}

.ta-toolbar {
    margin: 5px 0 2px 0;
    padding-left: 6px;
    display:inline-block;
}
.ta-list {
    border-top: 1px solid #ccc;
}

.ta-answer {
display:block;
position: relative;
padding: 6px;
background-color: #fff;
border-bottom: 1px solid #ccc;
word-wrap: break-word;
font-family: Arial;
font-weight:normal;
color: #000;
font-size: 13px;
}

.ta-answer-meta {
margin-top: 2px;
color: #888888;
font-size: 11px;
font-weight: normal;
}

.ta-column {
    float:left;
}

.toolbar-set .big-button {
min-width: 52px;
}

.edit-box {
position: absolute;
top: 0;
right: 0;
width: 280px;
height: auto;
display:none;
}

.edit-box.active {
display:block;
}

#styles-box {
right: 52px;
width: 200px;
height: auto;
z-index: 99999;
}

#styles-box #chart-colors {
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    width: 184px;
    padding-left: 5px;
}

#styles-box #chart-colors .item {
    float: left;
    padding-right:5px;
    min-width:38px;
}
#styles-box #chart-colors .item .fa-plus-circle {
    display:block;
    font-size: 16px;
    margin: 3px 5px;
    color: #0B8D00;
    cursor: pointer;
}

.edit-box {
    padding: 0 8px 8px;
}
.edit-box .section {
    margin-top: 6px;
}

.edit-box .section .title {
    font-weight:bold;
    padding-bottom:5px;
    border-bottom:1px solid #928B8B;
    font-size: 13px;
    margin-top: 8px;
}

.edit-box .section .item {
    overflow:auto;
    margin:5px 0;
}

#settings-box ul.filter-types {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    list-style: none;
    padding: 0;
    margin: -8px;
    cursor:pointer;
}

#settings-box ul.filter-types li {
    border-top: 1px solid #CCCCCC;
}

#settings-box ul.filter-types li:first-child {
    border-top: none;
}

#settings-box ul.filter-types li:first-child {
-webkit-border-top-right-radius: 3px;
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-moz-border-radius-topleft: 3px;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}

#settings-box ul.filter-types li:last-child {
-webkit-border-bottom-right-radius: 3px;
-webkit-border-bottom-left-radius: 3px;
-moz-border-radius-bottomleft: 3px;
-moz-border-radius-bottomright: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}

#settings-box ul.filter-types li {
    display: block;
    height: auto;
color: #F8F8F8;
font-weight: normal;
padding: 8px 9px;
font-size: 12px;
position: relative;
text-decoration: none;
margin: 0;
}

#settings-box ul.filter-types li:hover {
background: #E8F4F4;
color: #000;
}

#settings-box .btn {
padding: 6px 13px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
text-shadow: 0 1px 0 #fff;
cursor: pointer;
font-size: 13px;
font-weight: bold;
white-space: nowrap;
text-decoration: none !important;
color: #333;
display: inline-block;
border: solid 1px #bbb;
background-color: #f0f0ea;
background: -webkit-gradient(linear, left top, left bottom, from(#f0f0ea), to(#d5d7ce));
background: -webkit-linear-gradient(top, #f0f0ea, #d5d7ce);
background: -moz-linear-gradient(top, #f0f0ea, #d5d7ce);
background: -ms-linear-gradient(top, #f0f0ea, #d5d7ce);
background: -o-linear-gradient(top, #f0f0ea, #d5d7ce);
position: relative;
}

#settings-box .btn-small {
font-size: 11px;
padding: 4px 9px;
margin: 0 auto;
display: table;
position: relative;
min-width: 10px;
}

#settings-box .btn:hover {
z-index: 1;
text-decoration: none;
border-color: #999;
background-color: #f5f5ee;
background: -webkit-gradient(linear, left top, left bottom, from(#f5f5ee), to(#dcded5));
background: -webkit-linear-gradient(top, #f5f5ee, #dcded5);
background: -moz-linear-gradient(top, #f5f5ee, #dcded5);
background: -ms-linear-gradient(top, #f5f5ee, #dcded5);
background: -o-linear-gradient(top, #f5f5ee, #dcded5);
}

#filters-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#filters-list li {
    font-weight: normal;
    position: relative;
    margin: 4px 0 0 0;
    display: block;
    height:auto;
    border-bottom: 1px solid transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    min-height: 15px;
    cursor: pointer;
    color: #666;
    text-shadow: 0 1px 0 #fff;
    font-size: 12px;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;
    -ms-transition: background-color 0.2s linear;
    -o-transition: background-color 0.2s linear;
    -webkit-transition: border-color 0.2s linear;
    -moz-transition: border-color 0.2s linear;
    -ms-transition: border-color 0.2s linear;
    -o-transition: border-color 0.2s linear;
    background: #fff;
    padding: 8px 29px 8px 8px;
}

#filters-list li:first-child {
  margin-top:0;
}

#filters-list li > div {
    display:table-row;
}

#filters-list li .status {
    border-radius: 3px;
    display:table-cell;
    vertical-align: middle;
    width:23px;
}

#filters-list li .status span {
    background: #86a33b;
    width: 18px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 18px;
    display: block;
}

#filters-list li.disabled .status span {
    background: #E03A3A;
}

#filters-list li .handle {
    /*z-index: 3;*/
    position: absolute;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    right: 4px;
    top: 6px;
    padding-left: 4px;
    padding-right: 4px;
}

#filters-list li .handle:hover {
/*z-index: 1;*/
text-decoration: none;
border: 1px solid #999;
background-color: #f5f5ee;
background: -webkit-gradient(linear, left top, left bottom, from(#f5f5ee), to(#dcded5));
background: -webkit-linear-gradient(top, #f5f5ee, #dcded5);
background: -moz-linear-gradient(top, #f5f5ee, #dcded5);
background: -ms-linear-gradient(top, #f5f5ee, #dcded5);
background: -o-linear-gradient(top, #f5f5ee, #dcded5);
}

#filters-list li .rule-name {
    height: 100%;
    word-break: break-word;
    white-space: normal;
    margin-left: 3px;
    display: table-cell;
    vertical-align: middle;
    color:#000000;
}

#filters-list li .rule-name .name {
    font-weight: bold;
}

#all-filters {
    margin:4px 0;
    padding: 10px;
    background: #7A7A7A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#no-filters {
    font-family: Arial,Helvetica,sans-serif;
    background: #fff;
    font-size: 12px;
    color: #333333;
    text-shadow: 0 1px 0 #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 1px 5px;
}

#no-filters h2 {
    margin: 10px 0;
    text-align: center;
}

.widget-menu-item .table {
    display: table;
    width:100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom:0;
}

.widget-menu-item .table .head {
    font-weight: bold;
}

.widget-menu-item .table .input, .widget-menu-item .table .head {
    text-align:center;
}

.widget-menu-item .table .row {
    display: table-row;
    border-bottom: solid transparent 8px;
}

.widget-menu-item .table .row .cell {
    display: table-cell;
}

.widget-menu-item .table input {
    margin:0;
}

#filter-actions {
    position : absolute;
    z-index: 40000000;
    top: -70px;
    right: -65px;
    border: 1px solid #8B8B8B;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#filter-actions.uneditable {
    top: -45px;
}

#filter-actions ul li {
    margin:0;
    border-top: 1px solid #ccc;
    font-weight:normal;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding:4px 8px;
}

#filter-actions ul li:first-child {
    border-top: none;
}

#filter-actions ul li:hover {
background: #cccccc;
color: #131212;
}

#filter-actions ul {
    margin: 0;
    font-weight: normal;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#settings-box .btn.inline {
    display:inline-block;
    margin-right:5px;
}

#settings-box #buttons {
    text-align:center;
    padding-top:8px;
}

#settings-box #create-filter {
    background: #7A7A7A;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #F8F8F8;
    overflow: hidden;
    height: auto;
    padding: 8px;
}

#settings-box form .form-header {
    font-size: 14px;
    font-weight: bold;
    color: #F8F8F8;
    margin: 0 0 8px 0;
    text-shadow: 0 1px 0 #000;
}

#settings-box form .form-content {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding-top: 15px;
}

#settings-box form label {
    font-size:12px;
    font-weight:normal;
    margin-right: 5px;
    width:23%;
}

#settings-box .input-sm {
    height: 25px;
    line-height: 25px;
    padding: 0 8px;
}

#settings-box form input {
display : inline-block;
padding: 6px 12px;
line-height: 1.42857143;
color: #000;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#settings-box form .ui-datepicker-trigger {
    vertical-align: text-bottom;
    margin-left: -22px;
    cursor:pointer;
}

#settings-box #create-filter {
    margin-bottom:10px;
}

#settings-box {
    z-index: 100000;
}

#settings-box form .error {
    background-color : #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 5px;
    margin-top: 5px;
    border-radius: 4px;
    font-size:12px;
}

#settings-box form #buttons .error {
    margin-top: 0;
    margin-bottom:8px;
}

#filters-counter {
    position: absolute;
    right: 12px;
    top: 4px;
    color: #ffffff;
    padding: 0 4px;
    width: auto;
    height: auto;
    text-align: center;
    min-width: 8px;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    background: #d60000;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fd7c7e), color-stop(100%, #d60000)) !important;
    background-image: -webkit-linear-gradient(top, #fd7c7e, #d60000) !important;
    background-image: -moz-linear-gradient(top, #fd7c7e, #d60000);
    background-image: -ms-linear-gradient(top, #fd7c7e, #d60000);
    background-image: -o-linear-gradient(top, #fd7c7e, #d60000);
    background-image: linear, top, #fd7c7e, #d60000;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
    line-height: 14px;
    border: 2px solid white;
}

#filters-match {
    border-bottom: 1px solid #414141;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#filters-match > span {
    font-weight: bold;
    color: #1D1D1D;
    text-shadow: 0 1px 0 #ADAAAA;
}

#match-text {
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

#filters-match-switch {
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    position:relative;
    top:3px;
    margin-left:39px;
}

.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;
    width:12px;
    height:11px;
}

#filters-match-switch.switch-left .switch-button-button {
    left: -1px;
}

#filters-match-switch.switch-right .switch-button-button {
    left: 12px;
}
.switch-button-background {
    float: left;
    position: relative;
    background: #ccc;
    border: 1px solid #aaa;
    margin: 1px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    width:25px;
    height:11px;
}

.switch-button-label {
    font-weight: bold;
    font-size: 13px;
    float: left;
    cursor: pointer;
}

#filters-match-switch.switch-left .right {
    color: #363636;
    text-shadow: 0 1px 0 #A0A0A0;
}

#filters-match-switch.switch-left .left {
    color: #fff;
    text-shadow: 0 1px 0 #000000;
}

#filters-match-switch.switch-right .right {
    color: #fff;
    text-shadow: 0 1px 0 #000000;
}

#filters-match-switch.switch-right .left {
    color: #363636;
    text-shadow: 0 1px 0 #A0A0A0;
}

.no-data {
    margin: 10px auto 0;
    color: #444444;
    font-size: 24px;
    text-align: center;
}

input.color-input {
    display: none;
}

input.title-color-input {
    display: none;
}

.label-color-inline {
    border: none;
}

.sp-replacer {
    background: transparent;
}

.sp-preview {
    width: 14px;
    height: 12px;
}

.sp-dd {
    line-height: 8px;
}

.label-color-container {
    border: 1px solid #777;
}

.label-color-container .sp-input-container {
    width:50%;
    float:left;
}

table.grid {
    margin-bottom: 0;
}

table.grid th {
    font-size: 13px;
}

table.grid tbody {
    font-size: 12px;
}

table td.matrix th{
    font-size: 11px;
    font-weight: normal;
}

#settings-box .checkbox {
    border-top: 1px solid #5E5E5E;
    padding-top: 5px;
    margin-top:  5px;
    margin-bottom:5px;
}

#settings-box .checkbox:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

#settings-box .checkbox label {
    float:none;
    padding-left: 25px;
    padding-top: 0;
    text-align: left;
    line-height: 20px;
    width: 90%;
}

#settings-box .form-control {
    color: #333333;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        padding-top:7px;
    }
}

.radio-label {
    display: inline-block;
    padding-left: 5px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
}

#filter-answers {
    max-height: 300px;
    overflow-y: auto;
}

#filter-answers .checkbox {
    cursor: pointer;
}

#header header.jfHeader {
    width: 100%;
}
