/*********************** Edit controls common styles ***********************/
/*input[type='text'], input[type='textarea'], select {
    border:solid 1px #e4e5e7;
    padding: 3px 6px;
    box-shadow: none;
}*/

/*select {
    padding: 2px 6px;
}*/

.control-placeholder,
.txtEditable,
.txtReadOnly {
    /*display: block;
    width: 100%;*/
    height: 34px;
    padding: 6px 12px;
    height: 30px;
    padding: 4px 6px;
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 14px;
    line-height: 1.4285;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-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;
    outline: none; /* fixes issue with default black border in textboxes in Chrome */
}
.control-placeholder {
    border-color: transparent;
    background-color: transparent;
    box-shadow: none;
}
input[type=file].txtEditable {
    height: auto;
}

.txtReadOnly {
    background-color: #eee;
}

.promptTextBox {
    color: #ccc;
}

.txtAsLink
{
  color: #1a80ba;    
}

input.narrow.colorPicker {
    width: 6.5em;
}

SELECT {
    /* SG: fix to max-width ??? */
    width: 200px;
}

/* utility.css replaces it with autoWidth style */
/*SELECT.autoWidth
{
  width: auto;    
  max-width: none;
}*/

select.txtEditable,
select.txtReadOnly {
    /*padding: 5px 10px;*/
}

textarea.wide {
    width: 100%;
}

.NarrowCombo, .NarrowTextbox
{
  width: 14ex;
  height: auto;
}

.DayCombo, .DayTextbox
{
  width: 12ex;
  height: auto;
}

.TinyCombo, .TinyTextbox
{
  width: 9ex;
}

.timeView,
.timeInput
{
	width:auto;
	height:auto;
	display: none;
}

.timeControl input[type=text] {
    width: 6.5em !important;
}

.timeView
{
	display: block;
}

.timeInputControl.timeInputWoAMPM {
    width: 125px !important;
}

@media all and (max-width:768px) {
    .number.narrow {
        text-align: left;
    }
}

/*************** CHECK CONTROLS ********************/

input[type='radio'], input[type='checkbox'] {
    margin: 2px;
}

label.check-label,
input[type='radio'] + label, input[type='checkbox'] + label {
    margin-bottom: 0px;
    font-weight: normal;
    display: inline;
}

.radio, .checkbox {
    margin: 0px;
    display: inline-block;
}

.radio > input[type='radio'] + label, .checkbox > input[type='checkbox'] + label {
    display: inline-block;
}

.checkbox label::after,
.radio label::after {
    background-color: #1a80ba;
}

.checkbox label:empty,
.radio label:empty {
    padding-left: 0px !important;
}

/* Common radiobutton and checkbox lists styles */
.rbtOptions,
.chkOptions  
{ 
    margin-top: 0.5em; 
}

.rbtOptions .rbtOption, .rbtOptions .rbtSubOption,
.chkOptions .chkOption, .chkOptions .chkSubOption { 
  margin-bottom: 0.5em;    
}

.chk-control-left-indent,
.rbt-control-left-indent {
    padding-left: 2em !important;
}

/* fix for the check control with referenced control inside additional label on one row placed */
.radio label + label::before,
.checkbox label + label::before {
    display: none;
}

/* label height is 32 instead of 16 when only text is used */
.radio.label-with-control:not([disabled]) label::before,
.radio.label-with-control:not([disabled]) label::after,
.checkbox.label-with-control:not([disabled]) label::before,
.checkbox.label-with-control:not([disabled]) label::after {
    top: 8px;
}

.radio.label-with-control label::after {
    top: 11px !important;
}

@media all and (max-width:600px) {
    .radio.label-with-control label::before,
    .radio.label-with-control label::after,
    .checkbox.label-with-control label::before,
    .checkbox.label-with-control label::after {
        top: 12px !important;
    }

    .radio.label-with-control label::after {
        top: 15px !important;
    }   
}

@media all and (max-width:768px) {
    .rbtOptions .rbtOption:not(:first-child),
    .chkOptions .chkOption:not(:first-child) {  
        padding-top: 20px;
    }

    .rbtOptions .rbtOption.with-control-on-row:not(:first-child),
    .chkOptions .chkOption.with-control-on-row:not(:first-child) {
        padding-top: 10px;
    }

    /* second level of option tree */
    .rbtOptions .rbtSubOption:not(:first-child),
    .chkOptions .chkSubOption:not(:first-child)  {  
        padding-top: 10px;
    }

    .rbtOptions .rbtSubOption.with-control-on-row:not(:first-child),
    .chkOptions .chkSubOption.with-control-on-row:not(:first-child)  {  
        padding-top: 5px;
    }

    /* DS: subject to remove (after radio/check buttons conversion from <table> structure to 
        <div> structure will be completed) */
    tr + tr td.captionLabel.cell-as-block-768.rbt-top-row {
        padding-top: 5px;
    }

    .chk-control-narrow-indent,
    .rbt-control-narrow-indent {
        padding-left: 2em !important;
    }
}

.rbtOptions.repeatHorizontally,
.chkOptions.repeatHorizontally {
    margin-top: 0.2em;
}

.rbtOptions.repeatHorizontally .rbtOption,
.chkOptions.repeatHorizontally .chkOption {
     padding-top: 0px;

     display: inline-block;
}

.rbtOptions.repeatHorizontally .rbtOption:not(:last-child),
.chkOptions.repeatHorizontally .chkOption:not(:last-child) {
    margin-right: 0.5em;
}

@media all and (max-width:768px) {
    .rbtOptions.repeatHorizontally .rbtOption:not(:last-child),
    .chkOptions.repeatHorizontally .chkOption:not(:last-child) {
        margin-right: 1em;
    }

    .rbtOptions.repeatHorizontally.repeatVerticallyNarrowOnly .rbtOption,
    .chkOptions.repeatHorizontally.repeatVerticallyNarrowOnly .chkOption {
        margin-right: 0px;
        display: block;
    }

    .rbtOptions.repeatHorizontally.repeatVerticallyNarrowOnly .rbtOption:not(:first-child),
    .chkOptions.repeatHorizontally.repeatVerticallyNarrowOnly .chkOption:not(:first-child) {  
        padding-top: 20px;
    }
}

.radio input[type='radio']:disabled + label + label,
.radio input[type='radio']:disabled + label + label + label {
    opacity: 0.65;
}

/****************************************** CAPTION LABEL ******************************************/
.captionLabel:not([class^=col-]).date {
    width: 7em;
}

TD.captionLabel,
.captionLabel:not([class^=col-])
{
    width:1%;
    white-space:nowrap;
    min-width: 80px;
    /*white-space: normal;*/
}

TD.captionLabel select,
TD.captionLabel input {
    font-weight: normal;
}

table.captionLabelAutoWidth .captionLabel {
    width: auto;
}

table.captionLabelWrap .captionLabel {
    white-space: normal;
}

@media all and (max-width: 768px) {
    table.captionLabel-wrap-narrow .captionLabel {
       white-space: normal !important;
    }
}


td.captionLabelWrap {
    white-space: normal !important;
}

table.captionLabelNormal .captionLabel {
    font-weight: normal;
}

@media all and (max-width:600px) {
    .captionLabel.text-wrap-phone {
        white-space: normal !important;
    }
}

.page-responsive .filterPanel td.captionLabel {
    font-weight: bold;
}

TD.captionLabel.top
{
    padding-top: 0.5em;
}

/*************** GRID STYLES ********************/

.topActions
{
  text-align: right;
  margin-bottom: 5px;
}

TD.onTop,
TD.top
{
  vertical-align: top;    
}

TD.right
{
    text-align: right;
}


td.chk {
    text-align: center;
    width: 2em;
}

td.date {
    white-space: nowrap;
}

.Grid td.dateLong
{
	max-width: 11em;
}

.Grid .day_of_week {
    width: 7em;
    text-align: center;
}

.id-field {
    width: 4em;
    text-align: center;
}

td.id-field {
    white-space: nowrap;
}

.table-cell-for-chk {
    cursor: hand;
    cursor: pointer;
}


.fa.fa-check.info {
    font-size: 120%;
}

.fa.fa-check-circle-o.info {
    font-size: 140%;
}

.fa.fa-close.red,
.fa.fa-times.red {
    font-size: 120%;
    color: #e74c3c;
}

.fa.red {
    font-size: 110%;
    color: #e74c3c;
}

.Grid
{
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  border-right: none;
  border-bottom: none;

  border-collapse: collapse;
  
  margin-top: 2px;
  
  /*color: #6a6c6f;*/
  
  width: 100%;
}

.innerSorting
{
  width: 100% !important;    
}

.Grid .emptyRow TD
{
  padding-top: 10px;    
}

.Grid.grid-with-current-row tr + tr.emptyRow TD
{
  padding: 10px;    
  border-top: solid 1px #ddd;
  border-right: solid 1px #f1f1f1;
}


.Grid .GridHeader A,
.Grid .GridHeader A:link,
.Grid .GridHeader A:hover,
.Grid .GridHeader A:visited,
.Grid .GridHeader A:active,
.Grid .GridHeader TH
{
  text-decoration: none;
  color:#6a6c6f;
}

.Grid .GridHeader A:hover
{
  color:#6a6c6f;
  text-decoration: none;
}

.Grid TD,
.Grid TH
{
  border-bottom: solid 1px #ddd;
  border-right: solid 1px #ddd;

  padding:5px 4px 5px 4px;
}

@media all and (max-width:480px) {
    .Grid TD,
    .Grid TH {
        padding: 5px 4px 5px 4px;
    }
}

.Grid .GridHeader
{
   background-color: #fff;
   font-weight: bold;
   color: #6a6c6f;
   text-align:center;
}

.Grid .GridHeader .sortTable,
.Grid .GridHeader .sortTable TR TD
{
  padding: 0px !important;    
  margin: 0px !important;
  cursor:hand;
  cursor: pointer;
}


.Grid .CuteEditorToolbar TD,
.Grid .CuteEditorGroupMenuCell TD,
.Grid .CuteEditorGroupMenu  
{
    padding: 0px;
}

.Grid .DataRow
{
  background-color: #fff;
  border-color: #ddd;
  border-width: 1px;
}

.Grid .GridHeader,
.Grid .AltDataRow 
{
  background-color: #f9f9f9;
}

.Grid .inlineEditContainer
{
  background-color: #FFFFFF;    
}

.DataRow span,
.AltDataRow span
{
}

.Grid tr.GridPager > td {
    border: none;
}

div.GridPager TABLE,
.Grid .GridPager TABLE {
    margin: 0px auto;
}

div.GridPager table td,
.Grid tr.GridPager table td {
    padding: 0px;
}

div.GridPager table td a,
div.GridPager table td span,
.Grid tr.GridPager table td a,
.Grid tr.GridPager table td span {
    display: block;
    padding: 6px 12px;
}

div.GridPager table td span,
.Grid tr.GridPager table td span {
    color: #FFF;
    background-color: #1a80ba;
}

    div.GridPager table td a,
    .Grid tr.GridPager table td a {
        background-color: #FFF;
    }

div.GridPager table {
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  border-right: none;
  border-bottom: none;

  border-collapse: collapse;
}

    div.GridPager table tr td {
        border-right: solid 1px #ddd !important;
        border-bottom: solid 1px #ddd !important;
    }

table.sticky-header {
    border-collapse: separate !important;
    border-spacing: 0px;
    border-top: none !important;
}

table.sticky-header thead.sticky-header {
    position: sticky;
    top: 112px;
    z-index: 9999;
}

    table.sticky-header thead tr.GridHeader td,
    table.sticky-header thead tr.GridHeader th {
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    table.sticky-header tbody tr:first-child td {
        border-top: none !important;
    }

SPAN.colorsSample
{
  display: block;
  width: 4em;
  text-align: center; 
  padding: 0.5em;
  margin: 0px auto;
  border: solid 1px black;
}

.innerGrid
{
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  color: #6a6c6f;
  width: 100%;
  margin-top: 10px;
}

.innerGrid .innerGridHeader A,
.innerGrid .innerGridHeader A:link,
.innerGrid .innerGridHeader A:hover,
.innerGrid .innerGridHeader,
.innerGrid .innerGridHeader:hover
{
  color: #6a6c6f;
  text-align: center;
  font-weight: bold;
}

.innerGrid .innerGridHeader A,
.innerGrid .innerGridHeader A:visited,
.innerGrid .innerGridHeader A:active
{
    text-decoration: underline;
}

.innerGrid .innerGridHeader A:hover
{
    text-decoration: none;    
    color: #85CE2F;
}

TABLE.Grid TR TD .innerGrid TD,
TABLE.Grid TR TD .innerGrid TH
{
  border-bottom: solid 1px #507AB2 !important;
  border-right: solid 1px #507AB2 !important;
}

.innerGrid .innerGridHeader
{
  background-color: #BCD2ED;
  font-size: 90%;
  height:27px;
  cursor:hand;
}

.innerGrid .innerDataRow
{
  background-color: #FFFFFF;
}

.innerGrid .innerAltDataRow
{
  background-color: #FFFFFF;
}

.recordsNotFound
{
  color: #297429;
}

.bottomGridControls
{
  padding-top: 10px;    
}

TH.sortNote,
TD.sortNote
{
  width: 1em;    
  text-align: center;
}

/*
  Inline Grid Styles
*/

.inlineGrid .Grid
{
	margin-top: 0px;
}

.inlineGrid .bottomActions
{
  margin-top: 3px;	
}

.inlineGrid .inlineActions
{
  width: auto !important;	
}

.inlineGrid .inlineGridItemActions TD {
    padding: 2px ;
}

.inlineGrid .buttonsSeparator
{
  width: 10px;	
}

.inlineGrid .editPanel
{
  width: auto;	
  padding: 5px;
}

.inlineGrid .editPanel .header
{
  display: block; 
  
  font-size: 110%;
  font-weight: bold;
  
  margin-bottom: 10px;
}

.inlineGrid .editPanel TABLE.controls
{
  width: 100%;	
}

.inlineGrid .editPanel TABLE.controls TD.captionLabel
{
  width: 1%;	
  white-space: nowrap;
}

.inlineGrid .inlineEditContainer TD
{
  /*background-color: #ffffff;*/
}

.woBorders,
.woBorders TR TD,
.woBorders TR TH
{
  border: none !important;
}

TD.actions
{
  width: 2em;  
  min-width: 2em;
  text-align: center;
}

TD.actionsWN {
    width: 5.5em;
    min-width: 5.5em;
}

TD.actionsMUD
{
    width: 9em;  
    white-space:nowrap;
}

TD.actionsWP
{
  width: 10em;    
}

TD.yesNo
{
  text-align: center;    
  width: 7em;    
}

/*TH.yesNo
{
    white-space: nowrap;
}*/

TD.center
{
    text-align: center;  
}

.Grid tr.current-row,
.Grid tr.DataRowSelected {
    background-color: rgb(241, 243, 246);
}

.GridViewPageSizeControl {
    float: right;
}

.GridViewRowsInfoControl {
    display: block;
    float: right;
    padding: 5px;
    padding-top: 13px;
    padding-right: 0px;
    text-align: left !important;
}

.GridViewRowsInfoControl
{
  white-space: nowrap;    
}

.GridViewRowsInfoControl .start,
.GridViewRowsInfoControl .end,
.GridViewRowsInfoControl .total
{
  font-weight: bold;      
}

.GridViewPageSizeControl 
{
  text-align:right;
  color:#000;
  white-space:nowrap;
  padding-left:10px;
}

.Grid.grid-with-current-row {
    /*table-layout: fixed;*/
}

.Grid.grid-with-current-row,
.Grid.grid-with-current-row th,
.Grid.grid-with-current-row td {
    border: none;
    /*word-wrap: break-word;*/
}

.Grid.grid-with-current-row .inlineEditContainer .editControls {
    border: solid 1px #1a80ba;

    background-color: #f2f2f2;
}

.Grid.grid-with-current-row {
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    border-left: solid 1px #f1f1f1;
}
.Grid.grid-with-current-row.emptyGrid {
    border: none;
}

.Grid.grid-with-current-row .GridHeader > td,
.Grid.grid-with-current-row .GridHeader > th,
.Grid.grid-with-current-row .DataRow > td,
.Grid.grid-with-current-row .AltDataRow > td,
.Grid.grid-with-current-row .GridFooter > td,
.Grid .footable-row-detail > td.footable-row-detail-cell
 {
    border-top: solid 1px #ddd;
    border-right: solid 1px #f1f1f1;
    /*border-bottom: solid 1px #ddd;*/
}

.currency .footable-toggle {
    float: left;
}

.Grid .actions .visible-on-current-row {
    visibility: hidden;
}

.Grid tr.current-row .actions .visible-on-current-row  {
    visibility: visible;
}

.Grid .actions a.btn [class^="pe-7s-"],
.Grid .actions a.btn [class*=" pe-7s-"] {
    font-size: 24px;
    line-height: 20px;
}

.Grid .actions > a.btn {
    padding: 1px;
    margin-left: 5px;
}

.Grid div.actions {
    width: auto !important;
    padding: 3px;
}

/* 
    Use bootstrap XS limit here <= 767px
    as iPad portrait mode has enought space to display these data
*/
@media all and (max-width:767px) {
    div.GridPager {
        float: none;
        clear: both;
        padding-top: 10px;
    }
}

.Grid TR.sortablePlaceholder TD
{
    background-color: #f9f9f9;
    border-top: solid 1px #ddd;  
    border-bottom: solid 1px #ddd;
}

.Grid TR.sortablePlaceholder TD:last-child {
    border-right: solid 1px #f1f1f1;
}

.Grid tbody.inSortingTBODY,
.Grid tbody.inSortingTBODY2,
.Grid TR.inSortingTR {
    z-index: 999999 !important;
}

.Grid TR.inSortingTR TD
{
    border: solid 1px #ddd;  
    background-color: White; 
}

.Grid TR.inSortingTRIE7 TD
{
    background-color: White;
    
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.Grid TR.inSortingTR TD TABLE TR TD,
.Grid TR.inSortingTRIE7 TD TABLE TR TD
{
   border: none;    
}

.Grid TBODY.inSortingTBODY TR TD
{
    border: solid 1px #ddd;
    background-color: White;
}

.Grid TBODY.inSortingTBODY2
{
    display:none;
}

.Grid .sortable TD.sortNote
{
    width: 25px !important;
    min-width: 25px;
    cursor: crosshair;
}

.Grid .sortable TD.sortNote IMG
{
    cursor: crosshair;
}

.Grid .roundedPanel TABLE,
.Grid .roundedPanel TABLE TR TD.rpTD,
.Grid TABLE.roundedPanel,
.Grid TABLE.roundedPanel TR TD.rpTD
{
  border: none !important;    
  padding: 0px !important;    
}

.Grid .roundedPanel TR TD.rpTD .message
{
  border-style: solid;
  border-width: 1px;
}

.Grid TH.autoCollect,
.Grid TD.autoCollect,  
.Grid TH.isRecurring,
.Grid TD.isRecurring,
.Grid TH.inINP,
.Grid TD.inINP,
.Grid TH.inPMB,
.Grid TD.inPMB
{
  width:      8em;
  text-align: center;    
}

.email
{
   color: #8986BB;
}

.inlineEditContainer .footable-toggle {
    display: none !important;
}

.footable-row-detail-inner .footable-row-detail-row > div {
    padding: 4px 2px;
}

.TableWithBorders, .TableWithBorders TD, TD.TableWithBorders {
  border-color: #507AB2;
  color:#777777;
}

TD.imageSampleCell
{
  padding: 15px 5px 0px 5px;
}

/*************************** Form actions styles *****************************/

.customFinanceActions {
    display: block;
    float: left;
    margin-right: 5px;
}

.topActions .customFinanceActions {
    float: left;
    margin: 0px;
    margin-bottom: 5px;
}

.editPanel .customFinanceActions {
    float: right;
}

.editPanel .customFinanceActions .dropdown-menu {
    right: 0px;
    left: auto;
}

.editPanel .customFinanceActions {
    margin-right: 0px;
}

/* 
    Use bootstrap XS limit here <= 767px
    as iPad portrait mode has enought space to display these data
*/
@media all and (max-width:767px) {
    .customFinanceActions select {
        max-width: 135px;
    }
}

td.more-actions-container {
    vertical-align: bottom;
}

.editPanel .customFinanceActions .btn.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    margin-bottom: 2px !important;
}

/*
a.btn-add,
a.btn-add:hover,
a.btn-add:visited {
    display: block;
    float: left;
    margin-right: 5px;

    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;

    background-color: #1a80ba;
    border-color:  #1a80ba;

    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-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;

    padding: 9px 12px;

    color: #fff !important;
    text-decoration: none;

    font-size: 14px;
    line-height: 100%;
}

a.btn-add:hover {
    background-color: #53a0cb !important;
}*/


a.btn-add,
a.btn-add:hover,
a.btn-add:visited
{
    display: block;
    float: left;
    margin-right: 5px;
}

.dropdown-add-select {
    float: left;
}

.dropdown-add-select .btn-add {
    float: none;
}

.topActions a.btn-add,
.topActions a.btn-add:hover,
.topActions a.btn-add:visited,
.topActions .section-header
{
    float: left;
    margin-left: 0px;
    margin-bottom: 5px;
}

.topActions .section-header {
    padding-top: 5px;
}

.bottomActions {
    margin-top: 10px !important;
}

.bottomActions .backButtonContainer {
    padding: 0px 5px;
    float: left;
}

.actions-on-right .dropdown-add-select {
    float: right;
}

.actions-on-right .dropdown-add-select .dropdown-menu {
    right: 0px;
    left: auto;
}

.filter-menu {
    margin-bottom: 5px;
    min-height: 30px;
}

@media (min-width: 768px) {
    .filter-menu {
        float: right;
    }

    .filter-menu.wide-absolute {
        position: absolute;
        right: 10px;

        z-index: 1;
    }
}

/*.mobile-menu-toggle {
    border: solid 1px #1a80ba;
    border-radius: 4px;
}*/

/*.mobile-menu-toggle,*/
.filter-menu .dropdown-toggle,
td.actions .dropdown-toggle,
.Grid .actions .dropdown-toggle {
    border: solid 1px #1a80ba;
    border-radius: 4px;

    background-color: #1a80ba;
    border-color:  #1a80ba;
    color: #FFF;
}

td.actions .dropdown-toggle,
.Grid .actions .dropdown-toggle {
    display: inline-block;
    padding: 0px 3px;
}

.filter-menu .dropdown-toggle {
    padding: 3px 5px;
    text-decoration: none;
}

.filter-menu .dropdown-menu,
td.actions .dropdown-menu,
.Grid .actions .dropdown-menu {
    right: 0px;
    left: auto;
    min-width: 80px;
}

.accountOtherActions .customFinanceActions .dropdown-menu {
    min-width: 90px;
}

.dropdown-menu a.active:before {
    content: '\2713';
    font-weight: bold;
    display: inline-block;
    color: #1a80ba;
    padding: 0 3px 0 0;
    margin-left: -12px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100% !important;
    right: auto !important;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropup .dropdown-submenu > .dropdown-menu {
    bottom: auto;
}

.dropdown-submenu > .dropdown-menu > li {
    display: block;
}

.dropdown-submenu > a:before {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    border-right-color: #1a80ba;
    margin-top: 5px;
    margin-left: -10px;
}

.dropdown-submenu.pull-right > a:before {
    display: block;
    content: " ";
    float: left;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #1a80ba;
    margin-top: 5px;
    margin-left: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left,
.dropdown-submenu.pull-right {
    float: none !important;
}

div.dropdown .dropdown-submenu > .dropdown-menu {
    /*left: -160% !important;
    margin-left: 10px;*/
    left: auto !important;
    right: 100% !important;
    margin-right: -4px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

div.dropdown .dropdown-submenu.pull-right > .dropdown-menu {
    left: 100% !important;
    right: auto !important;
    margin-left: -4px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

div.dropdown .dropdown-submenu > .dropdown-menu.open {
    display: block;
}

@media (max-width: 767px) {
    .filter-menu .dropdown-menu {
        left: 0px;
        right: auto;
    }
}

@media (max-width: 480px) {
    div.dropdown .dropdown-submenu > .dropdown-menu.open {
        left: auto !important;
        right: 0 !important;
        top: 100% !important;
        margin-top: 0px;
    }

    div.dropdown .dropdown-submenu.pull-right > .dropdown-menu.open {
        left: 0 !important;
        right: auto !important;
        top: 100% !important;
        margin-top: 0px;
    }

    .dropdown-submenu > a:before {
        border-width: 5px 5px 0px 5px !important;
        border-top-color: #1a80ba !important;
        border-left-color: transparent !important;
        border-right-color: transparent !important;
        margin-top: 7px !important;
        position: relative;
        left: -2px;
    }
}

.addButtonContainer
{
  margin-top: 5px;
}

.backButtonContainer
{
  padding: 20px 0px 0px 10px;    
}

.editPanel .previewButton
{
    width: 80px;    
}

/* nested actions */
.inlineActions .inlineActions
{
  margin-top: 0px;	
}

/* 'Note' styles */
.note,
.notes,
.editPanel div.note,
.controlNote,
.control-note {
  font-size: 90%;
  color: #333;
}

.grid-bottom-note.note {
    padding-left: 0px;
    padding-bottom: 5px;
}

.controlsGroupNote {
  padding: 5px;
  margin: 5px 0px;
  
  background-color: #FFFFEE;     
  border: solid 1px Green;
  color: red;

  display: inline-block;
}

/*************************** END Form actions styles *****************************/

/**************************************** HELP CONTROLS ****************************************/
.smart-search-help-icon {
    font-size: 120%;
    line-height: 100%;
}

.content .pe-7s-help1 {
    color: #1a80ba;
    font-weight: bold;
}

.help-link .pe-7s-help1 {
    font-size: 130%;
    line-height: 1.35em;
}

@media all and (max-width:768px) {
    .help-icon-cell {
        font-size: 130%;
        margin-top: -5px;         
    }
}

/* SG: workaround to place checkbox/radiobutton and helpicon on one row on the narrow screen */
@media all and (max-width: 550px) {
    .help-icon-holder .checkbox,
    .help-icon-holder .radio {
        float: left;
        width: 90%;
    }
}

/********************************* M I S C ***********************************/
.udfFields  > tbody > tr > td,
.include-controls  > tbody > tr > td,
.table-td-padding-4-6 > tbody > tr > td {/*Common Style?*/
    padding: 4px 6px;
}

.previewLinks {
    float: right;
    padding-top: 12px;
}

@media all and (max-width:768px) {
    .previewLinks {
        padding: 0px;
        padding-bottom: 3px;
    }
}

.filterCriteriaItem {
    margin-top: 5px;
}

.filterCriteriaItem:first-child {
    margin-top: 0px;
}

table.type-subtype-controls .captionLabel:not(:first-child) {
    width: auto;
    min-width: 0;
}

@media all and (max-width:768px) {
    table.type-subtype-controls .captionLabel:not(:first-child) {
        padding-top: 5px;
    }
}

/*************** HTML CONTENT EDITOR ********************/
textarea.cke_source {
    white-space: pre-wrap;
}

.content-editor {
  min-height: 265px;
}

.content-editor.classic {
  min-height: 200px;
}

div.cke_dialog_ui_input_select {
    width: 100%;
}

.cke_dialog div.ImagePreviewBox {
    overflow: scroll;
    height: 330px;
    width: auto;
}

.cke_dialog div.ImagePreviewBox > table {
    width: 100%;
    table-layout: fixed;
}

.cke_dialog div.cke_dialog_ui_html {
    width: 100% !important;
}

.cke_dialog_ui_hbox td.cke_dialog_ui_hbox_first,
.cke_dialog_ui_hbox td.cke_dialog_ui_hbox_last {
    width: auto !important;
}

.cke_button_icon.cke_button__switchtoolbarmf_icon {
    display: none;
}

.cke_button_label.cke_button__switchtoolbarmf_label {
    display: inline;
}

.cke_toolbar {
    min-height: 33px;
}

span.cke_combo_text {
    width: 47px;
}

div.cke_combopanel {
    width: 180px;
}

div.upgrade-classic {
    padding-top: 5px;
    padding-bottom: 5px;
}

/********************************* SELECTIZE ********************************************/
.selectize-control.txtEditable {
    padding: 0px;
    height: auto;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    line-height: 100%;
}
.selectize-control.txtEditable .selectize-input {
    min-height: 30px;
    padding: 6px 12px;
    padding: 4px 6px;
    margin-top: 1px;
    margin-bottom: 1px;
    font-size: 14px;
    line-height: 1.4285;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-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;
}
.selectize-control.txtEditable .selectize-input.input-active {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.selectize-dropdown .active {
  background-color: #1e90ff; 
  color: #fff; 
}

.selectize-dropdown-100-height .selectize-dropdown-content {
    height: 100px;
}

.selectize-dropdown-130-height .selectize-dropdown-content {
    height: 130px;
}

.selectize-control.txtEditable .selectize-input div.item {
    display: inline;
}

.selectize-control.fontAwesomeAlignment,
.selectize-control.fontAwesomeAlignment .selectize-input {
    font-family: 'FontAwesome';
    font-size: 19px !important;
    margin: auto;
}

input.txtReadOnly.fontAwesomeAlignment {
    font-family: 'FontAwesome';
    font-size: 19px;
    max-width: 33px !important;
    display: block;
    margin: auto;
}

/******************************** DateControl date picker styles override ***************/
/* Framework styles override for the new MsCms design */
.calendarControl INPUT.narrow {
    width: 6em;
}
.calendarControl input.narrow {
    width: 7em !important;
}
.calendarControl .popupLink {
    display: inline-block;
    font: normal normal normal 16px/1 FontAwesome;
    /*font-size: inherit;*/
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;

    /*border: solid 1px #e4e5e7;*/
    padding: 9px 8px;
}
.calendarControl .popupLink img {
    display: none;
}
.calendarControl .popupLink:before {
    content: "\f073";
}
.calendarControl a.popupLink {
    color: #1a80ba;
}
.calendarControl a.popupLink:hover {
    color: #000;
}
.calendarControl .cpBorder .mainTD,
.calendarControl .cpOtherMonthDate {
    background-color: #FFF !important;
}
.calendarControl .hiddenDatePopup {
    width: 255px;
}
.calendarControl .hiddenDatePopup > table {
    width: 100% !important;
}
.calendarControl .calendarTable,
.calendarControl .calendarTable tr td,
.calendarControl .cpBorder TR TD .calendarTable TR TD {
    border: none !important;
}
.calendarControl .cpMonthNavigation select {
    width: 110px !important;
}
.calendarControl .cpBorder TR TD .calendarTable TR TD {
    padding: 1px 2px !important;
}
.calendarControl .cpBorder TR TD .calendarTable TR TD.cpDayColumnHeader {
    padding: 3px 2px !important;
}
.calendarControl .cpBorder TR TD .calendarTable TR TD a {
    display: block;
    padding: 2px 4px;
    margin: 0px auto;
    text-align: center;
}
.calendarControl .cpBorder .mainTD > center > table {
    width: 100% !important;
}
.calendarControl .cpCurrentDate a {
    color: #fff !important;
    background-color: #3276b1;
    border-color: #285e8e;
    border-radius: 3px;
}
.calendarControl .cpOtherMonthDate a:hover,
.calendarControl .cpCurrentMonthDate a:hover {
    background-color: #eee !important;
    border-color: #6a6c6f !important;
    border-radius: 3px !important;
    color: #000000 !important;
}
.calendarControl .cpMonthNavigation SELECT,
.calendarControl .cpYearNavigation SELECT,
.calendarControl .calendarTable TD.cpDayColumnHeader {
    background-color: #FFF !important;
    color: #6a6c6f !important;
    font-weight: bold !important;
}
.calendarControl .cpDayColumnHeader, 
.calendarControl .cpYearNavigation, 
.calendarControl .cpMonthNavigation, 
.calendarControl .cpCurrentMonthDate, 
.calendarControl .cpCurrentMonthDateDisabled, 
.calendarControl .cpOtherMonthDate, 
.calendarControl .cpOtherMonthDateDisabled, 
.calendarControl .cpCurrentDate, 
.calendarControl .cpCurrentDateDisabled, 
.calendarControl .cpTodayText, 
.calendarControl .cpTodayTextDisabled, 
.calendarControl .cpText {
    font-family: inherit !important;
    font-size: inherit !important;
}
.calendarControl .cpTodayText br {
    display: none;
}
.calendarControl .cpTodayText {
    height: 28px;
}
.calendarControl .cpMonthNavigation SELECT,
.calendarControl .cpYearNavigation SELECT {
    padding: 3px 4px !important;
    border: solid 1px #ddd;
    box-shadow: none;
}
.calendarControl .cpBorder .mainTD > center > table td.cpMonthNavigation {
    text-align: left;
    padding: 0px !important;
}
.calendarControl .cpBorder .mainTD > center > table td.cpYearNavigation {
    text-align: right;
    padding: 0px !important;
}
span.calendarControl .cpCurrentMonthDate {
   background-color: #FFF !important;
}
.calendarControl .hiddenDatePopup {
    border: 1px solid #ccc !important;
    border: 1px solid rgba(0, 0, 0, .15) !important;
    border-radius: 3px !important;
    padding: 3px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175) !important;
    box-shadow: 0px 6px 12px rgba(0,0,0,0.175) !important;
}
.calendarControl .cpBorder {
    border: none !important;
}
.calendarControl .cpBorder .mainTD {
    padding: 0px !important;
}

/* timeinput control */
.timeControl 
{
  white-space:nowrap;
}
.timeControl INPUT.narrow
{
  width: 6em;    
}
.timeInputControl
{
  width: 100% !important;
  max-width:193px;
  z-index: 100;
  position:absolute;
  display: none;
  background-color:#fff !important;
  border: solid 1px #ddd;
}
.timeInputControl tr td
{
	padding:5px !important;
    background-color:#fff !important;
}
.timeInputControl .timeInputCombo
{
  font-size: 14px; 
  color: #6a6c6f; 
  background-color: #fff;
  width:50px !important;  

  padding: 3px 4px !important;
  border: solid 1px #ddd;
  box-shadow: none;
}
.timeInputControl .short
{
  width:60px !important;  
}
.timeControl .popupLink {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font: normal normal normal 20px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    padding: 7px 8px;
}
.timeControl a.popupLink {
    color: #1a80ba;
}
.timeControl a.popupLink:hover {
    color: #000;
}
.timeControl .popupLink:before {
    content: "\f017";
}
.timeControl .popupLink img {
    display: none;
}

/************************************** end date control picker override *********************************/

/************************ MOVER CONTROL *********************/
.mover.moverControl input.btn {
    margin-top: 3px;
    width: 3em;
}
.mover.moverControl > table {
    width: 100%;
    max-width: 600px;
}
.mover.moverControl > table td.available,
.mover.moverControl > table td.selected {
    width: 48%;
}
.mover.moverControl > table td.buttons {
    width: 1%;
}
.mover.moverControl select.availableValues,
.mover.moverControl select.selectedValues {
    width: 100% !important;
    max-width: 300px;
    min-width: 100px;
    height: 200px !important;
}
.moverControl TD.buttons
{
  padding: 5px;      
}
.moverControl .itemHeader
{
  padding-bottom: 0.5em;    
}

/************************************** End of MOVER CONTROL *********************************/

/********************************* SCHEDULED CALENDAR ***********************************/
.dhx_cal_container,
.dhx_cal_container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.dhx_cal_container .dhx_cal_event .dhx_title {
    height: auto;
    font-size: 11px;
}

.dhx_cal_container td,
.dhx_cal_container th {
    padding: 0px;
}



/***************************************************************************************
                               possible obsolete and not needed content 
****************************************************************************************/

/*********************************** Fly Over popup ************************************/
.visibleGroup
{
  Z-INDEX: 1; display: block; POSITION: absolute;    
  background-color: #FFFFCC;
  border: solid 1px #000000;
  color: #000 !important;
  padding: 3px;
  text-align:left;
  font-size: 11px;
  font-weight: normal !important;
  
  width: 25em;
  white-space: normal !important;
}

.hiddenGroup
{
  visibility: hidden;
  Z-INDEX: -999; display: none; POSITION: absolute;  
  width: 25em;
}

/*.res-column-content .captionLabel {
    white-space: normal !important;
}

.res-column-content .actions {
    text-align: right;
}

.locations .res-column-content .captionLabel {
    width: 120px !important;
}*/


/*
 * CKEditor jQuery Spellchecker - v0.2.4
 */
.spellchecker-suggestbox {
  position: absolute;
  display: none;
  z-index: 9999;
  overflow: none;
  font: normal 13px arial;
  box-shadow: 0 0 4px #aaa;
  background: #fff;
  border: 1px solid #bbb;
}

.spellchecker-suggestbox .loading {
  padding: 3px 6px;
  font-style: italic;
}

.spellchecker-suggestbox a {
  outline: none;
  cursor: pointer;
  color: #333;
  padding: 3px 6px;
  display: block;
  text-decoration: none;
}

.spellchecker-suggestbox a:hover {
  color: #000;
  background: #ddd;
}

.spellchecker-suggestbox .footer-spell {
  border-top: 1px solid #ddd;
}

.spellchecker-suggestbox .footer-spell .ignore-all,
.spellchecker-suggestbox .footer-spell .ignore-forever {
  display: none;
}

/*
 * Dropzone file uploader
 */
.dropzone-container {
    max-width: 560px;
    margin: 0px auto;
}

.dropzone-container .dropzone-buttons {
    margin: 0px auto;
    padding-top: 0.5em;
    padding-bottom: 1em;
}

.dropzone-container .dropzone {
    border: solid 1px #205f8a;
    border-radius: 5px;
}

.dropzone-container .dropzone .dz-default.dz-message {
    margin: 2em 0px;
    font-size: 150%;
}

.dropzone-container .dropzone .dz-preview .dz-image,
.dropzone-container .dropzone .dz-file-preview.dz-preview .dz-image {
    border: solid 1px #bbd9ed;
    background-color: #bbd9ed;
    background: linear-gradient(to bottom, #bbd9ed, #dcebf6);
}

.dropzone-container .dropzone .dz-preview .dz-progress .dz-upload {
    background-color: #205f8a;
    background: linear-gradient(to bottom, #205f8a, #bbd9ed);
}

.dropzone-container .dropzone .dz-preview .dz-details .dz-size {
    margin-bottom: 2em;
}

/* DropDownListInformative */

.ddlInformative {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.ddlInformative img {
    margin-left: 0.5em;
}

.ddlInformative select {
    width: 100% !important;
}

.prevAndNextActions {
    padding: 3px;
}

span.btn.disabledLink,
A.btn.disabledLink, A.btn.disabledLink:visited, A.btn.disabledLink:hover, A.btn.disabledLink:active {
    background-color: #eee !important;
    border-color: #ccc !important;
}

.udf_combo.main {
    margin-right: 10px;
}

@media all and (max-width: 768px) {
    .udf_combo.main {
        margin-bottom: 10px;
    }
}