.ngdialog-close {
  -webkit-appearance: none;
  background: none;
  border: none;
  width: 40px;
  height: 30px;
  z-index: 200;
}

.component-form-group {
  position: relative;
}

.component-btn-group {
  position: absolute;
  right: 0;
  z-index: 1000;
}

.component-form-group.component-type-hidden.form-builder-component,
.component-form-group.component-type-form.form-builder-component {
  height: 3em;
  border: 2px dashed #ddd;
}

.component-form-group.component-type-hidden.form-builder-component .form-group,
.component-form-group.component-type-form.form-builder-component .form-group {
  text-align: center;
  color: #aaa;
  padding-top: 0.5em;
}

.component-btn-group .component-settings-button {
  float: right;
  z-index: 1001;
  margin: 4px 4px 0 0;
}

.component-form-group.col-xs-6 {
  clear: right;
}

li .component-btn-group .component-settings-button {
  z-index: 1001;
  -webkit-box-shadow: 0px 0px 10px 1px rgba(48,113,169,0.6);
  -moz-box-shadow: 0px 0px 10px 1px rgba(48,113,169,0.6);
  box-shadow: 0px 0px 10px 1px rgba(48,113,169,0.6);
}

li:not(:hover) .component-btn-group .component-settings-button {
  display: none;
}

.formbuilder .nav-tabs {
  margin-bottom: 0;
}

.form-builder-panel .panel-body {
  padding: 5px;
}

.form-component-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.form-component-list li {
  margin-bottom: 10px;
}

.btn-xxs, .btn-group-xxs > .btn, .component-btn-group .component-settings-button {
  padding: 2px 2px;
  font-size: 10px;
  line-height: 1.2em;
  border-radius: 0;
  width: 18px;
  height: 18px;
}

.ngdialog.ngdialog-theme-default.component-settings .ngdialog-content {
  width: 65%;
}

#component-settings .tab-pane {
  padding: 10px;
}

#component-settings .nav-tabs {
  font-size: 12px;
}

.component-settings-key {
  margin: -1em 1em 1em 1em;
}

/***************************** Required styles *****************************/

/**
 * For the correct positioning of the placeholder element, the dnd-list and
 * it's children must have position: relative
 */
ul[dnd-list],
ul[dnd-list] > li {
  position: relative;
}

tr[dnd-list],
tr[dnd-list] > th {
  position: relative;
}

/***************************** Dropzone Styling *****************************/

/**
 * The dnd-list should always have a min-height,
 * otherwise you can't drop to it once it's empty
 */
ul.component-list {
  min-height: 42px;
  margin: 0px;
  padding-left: 0px;
}

/**
 * The dnd-lists's child elements currently MUST have
 * position: relative. Otherwise we can not determine
 * whether the mouse pointer is in the upper or lower
 * half of the element we are dragging over. In other
 * browsers we can use event.offsetY for this.
 */
ul.component-list li {
  display: block;
  padding: 0px;
}

.dropzone {
  min-height: 150px;
  min-width: 150px;
}

/**
 * Reduce opacity of elements during the drag operation. This allows the user
 * to see where he is dropping his element, even if the element is huge. The
 * .dndDragging class is automatically set during the drag operation.
 */
.dropzone .dndDragging {
  opacity: 0.7;
}

/**
 * The dndDraggingSource class will be applied to the source element of a drag
 * operation. It makes sense to hide it to give the user the feeling that he's
 * actually moving it. Note that the source element has also .dndDragging class.
 */
.dropzone .dndDraggingSource {
  display: none;
}

/**
 * An element with .dndPlaceholder class will be added as child of the dnd-list
 * while the user is dragging over it.
 */
.dropzone .dndPlaceholder {
  background-color: #ddd;
  min-height: 50px;
  min-width: 50px;
  position: relative;
}

/**
 * An overlay that is shown while dragging. This way, elements like iframes in
 * a content component do not interfere with dragging.
 */
.dropzone .dndOverlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  opacity: 0;
}

/***************************** Element Selection *****************************/

.dropzone .selected .item {
  color: #3c763d;
  background-color: #dff0d8;
}

.dropzone .selected .box {
  border-color: #d6e9c6;
}

.dropzone .selected .box > h3 {
  color: #3c763d;
  background-color: #dff0d8;
  background-image: linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);
  border-color: #d6e9c6;
}

/***************************** Element type specific styles *****************************/

.dropzone .item {
  padding: 20px;
}

.dropzone .container-element {
  margin: 10px;
}

.dropzone .container-element .column {
  float: left;
  width: 50%;
}

.dropzone .component-list {
  padding-bottom: 5px;
}

/***************************** Toolbox *****************************/

.toolbox ul {
  list-style: none;
  padding-left: 0px;
  cursor: move;
}

.toolbox button {
  margin: 5px;
  width: 123px;
  opacity: 1.0;
}

.toolbox .dndDragging {
  opacity: 0.5;
}

.toolbox .dndDraggingSource {
  opacity: 1.0;
}

/***************************** Trashcan *****************************/

.trashcan ul {
  list-style: none;
  padding-left: 0px;
}

.trashcan img {
  width: 100%;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  filter: grayscale(100%);
}

.trashcan .dndDragover img {
  width: 100%;
  -webkit-filter: none;
  -moz-filter: none;
  filter: none;
}

.trashcan .dndPlaceholder {
  display: none;
}

.ui-select-toggle.btn {
  text-align: left;
}

/***************************** Layout Styling *****************************/

.form-builder-component .form-field-type-fieldset fieldset,
.form-builder-component .form-field-type-container fieldset {
  padding: 5px;
  margin-left: -5px;
  margin-right: -5px;
  border: dotted 2px #e8e8e8;
}

.form-builder-component .form-field-type-columns .formio-column {
  padding: 10px;
  border: dotted 2px #e8e8e8;
}

/****************************** Data Grid Styling *************************/

.datagrid-dnd {
  padding: 5px;
  border: dotted 2px #e8e8e8;
  min-height: inherit;
}

/***************************** Form Component Buttons *********************/

.formcomponents .formcomponentcontainer {
  margin: 0 2px 2px 0;
  height: 25px;
}

.formcomponents .formcomponent {
  text-align: left;
  padding-left: 15px;
}

.form-horizontal .radio {
   
    padding-top: 0px!important;
}

.form-horizontal .radio-inline
{
      padding-top: 0px!important;
}

.hr-line-dashed {
    border-top: 1px dashed #e7eaec;
    color: #fff;
    background-color: #fff;
    height: 1px;
    margin: 15px 0;
}

.form-group {
     margin-bottom: 0px!important; 
}

.formio-data-grid-row .hr-line-dashed 
{
  display: none;
}

.formio-data-columns-row .hr-line-dashed 
{
  display: none;
}

.datetime-picker-dropdown .btn-default {
        border: 0;
    color: #000!important;
}

.layoutTop
{
  padding-left: 10px;
  padding-right: 20px;
}
.layoutTop label 
{
  padding-bottom: 10px;
}

/* add mod Style */
.input-group-btn {
  width: 40px!important;
}
/* .form-field-type-datetime .input-group-btn {
  
}

.formio-data-grid .form-control
{
  width: 80%!important;
  margin-left: 10%!important;
}
 */
.form-field-type-datagrid .input-group {
  margin-left: 5px;
  margin-right: 5px;
  width:  100%;
}
.form-field-type-datagrid .form-field-type-datetime .input-group
{
  width: calc(100% - 10px);
}

.uib-timepicker
{
  width:300px;
}
.form-field-type-datagrid .input-group-addon, .input-group-btn, .input-group .form-control {
  display: table-cell;
}
.form-group .input-group .form-control
{
  padding-right: 0px!important;
}

.form-field-type-datagrid  .input-group .form-control .input-group-addon, .input-group-btn>.btn, .input-group-btn>.btn-group>.btn, .input-group-btn>.dropdown-toggle, .input-group-btn {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.ngdialog-content label
{
  line-height: 100%;
}

.select-boxes  .radio,  .checkbox, .radio-inline, .checkbox-inline
{
  padding-top:0px!important;
}
/* .form-field-type-datagrid .dropdown-menu
{
  width: 300px!important;
}
.form-field-type-datagrid tr td{
  min-width: 180px;
} */

.select-boxes .control-label
{
  /* line-height: 20px; */
}

.select-boxes .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"]
{
  margin-top:0px!important;
}

.ui-select-container
{
  width:100% !important;
}

.default-left
{
  text-align: left!important;
  line-height: 30px;
}

.form-group .input-group[class*="col-"] {
  float: none;
  padding-left: 15px;
  padding-right: 15px;
  padding-top:0px!important;
}





.rtable {
  /*!
  // IE needs inline-block to position scrolling shadows otherwise use:
  // display: block;
  // max-width: min-content;
  */
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  
  overflow-x: auto;
  
  /* // optional - looks better for small cell values */
  white-space: nowrap;

  border-collapse: collapse;
  border-spacing: 0;
}

.rtable,
.rtable--flip tbody {
  /* // optional - enable iOS momentum scrolling */
  -webkit-overflow-scrolling: touch;
  
  /* // scrolling shadows */
  background: radial-gradient(left, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 0 center,
              radial-gradient(right, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

/* // change these gradients from white to your background colour if it differs
// gradient on the first cells to hide the left shadow */
.rtable td:first-child,
.rtable--flip tbody tr:first-child {
  background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

/* // gradient on the last cells to hide the right shadow */
.rtable td:last-child,
.rtable--flip tbody tr:last-child {
  background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}


.rtable--flip {
  display: flex;
  overflow: hidden;
  background: none;
}

.rtable--flip thead {
  display: flex;
  flex-shrink: 0;
  min-width: min-content;
}

.rtable--flip tbody {
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
}

.rtable--flip tr {
  display: flex;
  flex-direction: column;
  min-width: min-content;
  flex-shrink: 0;
}

.rtable--flip td,
.rtable--flip th {
  display: block;
}

.rtable--flip td {
  background-image: none !important;
  border-left: 0;
}

/* border-collapse is no longer active */
.rtable--flip th:not(:last-child),
.rtable--flip td:not(:last-child) {
  border-bottom: 0;
}


