/* Colums  START> */
.cf_column {
    min-height: 20px;
    margin-bottom: 0;
}

.full {
    float: left;
    width: 100%;
}

.half {
    float: left;
    width: 50%;
}

.third_left {
    float: left;
    width: 33%;
}

.third_center {
    display: inline-block;
    width: 34%;
}

.third_right {
    float: right;
    width: 33%;
}

.fourth {
    float: left;
    width: 25%;
}

.threefourth_right {
    float: right;
    width: 75%;
}

.threefourth_left {
    float: left;
    width: 75%;
}

.twothird {
    float: left;
    width: 67%;
}

/* Columns  END> */

/* Default Parameter Entry Field */
input[type="number"]::-webkit-inner-spin-button {
    opacity: 1; /* required for chromium 33+ beta */
    margin-left: 5px;
}

.clear-both {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

/* Standard GUI BOX */
.gui_box {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #FFFFFF;
    float: left;
    width: calc(100% - 2px);
    margin-bottom: 10px;
    font-family: 'open_sansregular', Arial, serif;
}

.gui_box_titlebar {
    background-color: #e4e4e4;
    border-radius: 3px 3px 0 0;
    font-size: 13px;
    width: 100%;
    height: 27px;
    padding-bottom: 0;
    float: left;
    margin-bottom: 7px;
    font-family: 'open_sanssemibold', Arial, serif;
}

/* Spacers */
.spacer {
    padding-left: 7px;
    padding-right: 7px;
    width: calc(100% - 14px);
    float: left;
}

.spacer_box {
    padding: 10px;
    margin-bottom: 3px;
}

.spacer_box_title {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    margin-bottom: 0;
    float: left;
}

.spacer_left {
    padding-left: 15px;
    float: left;
    width: calc(100% - 15px);
}

.spacer_right {
    padding-right: 15px;
    width: calc(100% - 15px);
    float: left;
}

.header-dialog .parameter td:first-child label {
    border-top-left-radius: 3px;
}

.header-dialog .parameter td:last-child label {
    border-top-right-radius: 3px;
}

.header-dialog .parameter label {
    background-color: #828885;
    padding: 4px;
    border-left: 0 solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: normal;
    color: white;
    text-align: left;
    width:100%;
}

.header-dialog .parameter th {
    background-color: #828885;
    padding: 4px;
    border-left: 0 solid #ccc;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    color: white;
    text-align: left;
}

.header-dialog .modal-dialog {
    width:75%;
    min-width:954px;
}

.header-dialog .cf tr {
    background-color: #DEDEDE;
}

.header-dialog .cf th {
    border-right: solid 1px silver;
    height: 19px;
    font-weight: normal;
}

.header-dialog .cf th:last-child {
    border-right: 0;
}

.header-dialog .cf td:first-child {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.header-dialog .cf td:last-child {
    border-bottom-right-radius: 3px;
    border-right: 0;
    border-top-right-radius: 3px;
}

.header-dialog .cf input {
    margin: 4px;
    width: calc(100% - 10px);
    border: 1px solid silver;
    border-radius: 3px;
}

.header-dialog .cf select {
    margin: 4px;
    width: calc(100% - 10px);
    border: 1px solid silver;
}

.header-dialog .parameter th:nth-child(2) {
    border-top-left-radius: 3px;
}

.header-dialog .parameter th:first-child {
    border-top-left-radius: 3px;
}

.header-dialog .parameter th:last-child {
    border-top-right-radius: 3px;
}

.header-dialog input[type="number"]::-webkit-inner-spin-button {
    border: 0;
}

.header-dialog table {
    float: left;
    margin: 0;
    border-collapse: collapse;
    width: calc(100% - 1px);
}

.header-dialog .gui_box {
    /*margin-bottom: 0;*/
}

.header-dialog .parameter td+input {
    padding: 1px;
    background-color:red;
    border-bottom: 0 solid #ccc;
}

.header-dialog table, .header-dialog table td {
    padding: 1px;
    border-bottom: 0 solid #ccc;
}

.header-dialog table th {
    padding: 0;
    border: 0;
    font-weight: normal;
}

.header-dialog .pid_titlebar th {
    padding: 5px;
    text-align: left;
    border-right: 1px solid #ccc;
    width: calc(100% - 1px);
}

.header-dialog .pid_titlebar th:first-child {
    text-align: left;
}

.header-dialog .pid_titlebar th:last-child {
    border-right: none;
}

.header-dialog table:not(.parameter) tr td:first-child {
    text-align: left;
    padding-left: 5px;
}

.header-dialog table tr td:last-child {
    border-right: 0 solid #ccc;
}

.header-dialog table td {
    padding: 1px;
    width: 25%;
    border-right: 1px solid #ccc;
}

.header-dialog table tr td {
    text-align: left;
    padding-left: 0;
}

.header-dialog table input {
    display: block;
    width: calc(100% - 4px);
    height: 20px;
    line-height: 20px;
    text-align: right;
    border: 0 solid #ccc;
    border-radius: 0;
}

.header-dialog .missing {
	background:rgba(255,0,0,0.2);
}

.header-dialog .static-features span {
    /* background-color:yellow; */
}

.header-dialog .static-features table {
    padding: 1px;
    border-right: 1px solid #ccc;
}

.header-dialog .controller {
    float: left;
    width: calc(100% - 10px);
    margin-left: 0;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.header-dialog .controller select {
    width: calc(100% - 10px);
    height: 20px;
    line-height: 20px;
}

.header-dialog .profile {
    float: left;
    width: calc(25% - 2px); /* - border*/
    border: 1px solid #ccc;
    border-radius: 3px;
}

.header-dialog .profile .head {
    display: block;
    text-align: left;
    line-height: 20px;
    border-bottom: 1px solid #ccc;
    background-color: #828885;
    color: white;
    height: 19px;
    font-weight: normal;
    padding: 2px 2px 3px 6px;
}

.header-dialog .profile select {
    width: 100%;
    padding-left: calc(100% - 35px);
    height: 20px;
    line-height: 20px;
}

.header-dialog .pid_tuning .name {
    width: 25%;
}

.header-dialog .proportional {
    width: 25%;
}

.header-dialog .integral {
    width: 25%;
}

.header-dialog .derivative {
    width: 25%;
}

.header-dialog .cbox {
    width: 5%;
}

.header-dialog .cbox-label {
    width: 20%;
}

.header-dialog .cbox-description {
    width: 80%;
}

.header-dialog .parameter {
    float: right;
    width: calc(100% - 2px);
    margin-top: 10px;
    /* padding-left: 0; */
}

/*
// This is not used anymore, now they're hide by controller/version in JS
html:not(.isCF) .cf-only,
html:not(.isBF) .bf-only {
    /*display:none;*/
    /*visibility:hidden;*/
    opacity:0.25;
}
*/
/*
html:not(.isBF28) .bf-only {
    display:none;
}
*/

.header-dialog .top-buttons {
    float: right;
}

.header-dialog .fixed_band {
    position: absolute;
    width: 100%;
    bottom: 0;
}

.header-dialog .spacer_box {
    padding-bottom: 10px;
    float: left;
    width: calc(100% - 5px);
}

.pid_mode {
    width: 100%;
    height: 25px;
    float: left;
    margin: 0;
    text-align: left;
    line-height: 13px;
    padding: 8px 0 0 5px;
    font-size: 12px;
    border-bottom: 1px solid #ccc;
    color: #828282;
    font-family: 'open_sans', Arial, serif;
    background: #D6D6D6 linear-gradient(315deg, rgba(255, 255, 255, .2) 10%, transparent 10%, transparent 20%,
    rgba(255, 255, 255, .2) 20%, rgba(255, 255, 255, .2) 30%, transparent 30%, transparent 40%,
    rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, .2) 50%, transparent 50%, transparent 60%,
    rgba(255, 255, 255, .2) 60%, rgba(255, 255, 255, .2) 70%, transparent 70%, transparent 80%,
    rgba(255, 255, 255, .2) 80%, rgba(255, 255, 255, .2) 90%, transparent 90%, transparent 100%,
    rgba(255, 255, 255, .2) 100%, transparent);
}

.pid_titlebar {
    color: #fff;
    background-color: #828885;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    height: 20px;
}

.pid_titlebar td:first-child {
    text-align: left;
}

.show {
    width:110px;
    float:right;
    margin-right:3px;
}

.show a {
    margin-left: 10px;
    width: calc(100% - 10px);
}

.header-dialog .helpicon {
    margin-top: -1px;
}

.header-dialog .number .helpicon {
    margin-top: 3px;
    margin-right: 0;
}

.header-dialog .gui_box_titlebar .helpicon {
    margin-top: 5px;
    margin-right: 5px;
}

.header-dialog .numberspacer {
    float: left;
    width: 65px;
    height: 21px;
}

.header-dialog .number {
    margin-bottom: 5px;
    clear: left;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    width: 100%;
    float: left;
}

.header-dialog .number:last-child {
    padding-bottom: 5px;
    border-bottom: 0;
}

.header-dialog .number input {
    width: 50px;
    padding-left: 3px;
    height: 20px;
    line-height: 20px;
    text-align: left;
    border: 1px solid silver;
    border-radius: 3px;
    margin-right: 11px;
    font-weight: normal;
}

.header-dialog .other  table td,
.header-dialog .rxMode table td,
.header-dialog .misc   table td
 {
    padding: 1px;
    border: 0 solid #ccc;
}

.header-dialog .noline td {
    border: 0 solid #ccc;
}

.header-dialog .features label,
.header-dialog .static-features label{
    /* width: 70px; */
    /* padding-left: 3px; */
    height: 20px;
    line-height: 20px;
    text-align: left;
    border: 0 solid silver;
    border-radius: 3px;
    margin-right: 11px;
    font-weight: normal;
    font-size: 13px;
    width:90%;
}

.header-dialog .features span,
.header-dialog .static-features span {
    padding-right: 3px;
    height: 20px;
    line-height: 20px;
    text-align: left;
    border: 0 solid silver;
    border-radius: 3px;
    margin-right: 11px;
    font-weight: normal;
    font-size: 11px;
}

.header-dialog .gui_box span {
    font-style: normal;
    font-family: 'open_sansregular', Arial, sans-serif;
    line-height: 19px;
    color: #7d7d7d;
    font-size: 11px;
}

.noline {
	border:0;
}

.header-dialog .resetbt {
    width: 140px;
    float: right;
}

.header-dialog .right {
    float: right;
}

.header-dialog .pids {
    float: left;
    width: 25%;
}

.header-dialog .leftzero {
    padding-left: 0;
}

.header-dialog .tpa-breakpoint {
    border-top-left-radius: 0;
}

.header-dialog .roll {
    border-bottom-left-radius: 3px;
}

.header-dialog .pidTuningLevel {
    float: left;
}

.header-dialog .borderleft {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.header-dialog .textleft {
    width: 25%;
    float: left;
    text-align: left;
}

.header-dialog .topspacer {
    margin-top:15px;
}
