[data-container] {
	white-space: normal;
}

.inline-cancel, .inline-save {
	font-size:120%;
}

.inline-cancel:hover, .inline-save:hover {
	text-decoration: none;
}

.bs-middle {
	white-space: nowrap;
	margin: 0 20px;
	display: table;
}

.panel .bs-middle {
	margin: 0;
}

.modal-body .bs-middle {
	margin: 0;
}

.bs-middle.bs-middle-center {
	margin: auto;
}

.bs-left, .bs-center, .bs-right  {
	display: inline-block;
	vertical-align: top;
}

.bs-left > * {
	width: 270px;
	margin-right: 10px;
}

.bs-grid {
    display: table;
    width: 100%;
	margin:0;
}

@media (min-width: 768px) {
	.panel .bs-grid {
		width: auto;
	}
}

.panel-body table {
	background: transparent;
}
.bs-center {
	/*max-width: calc(100% - 300px);*/
}

.bs-topmiddle {
	width:100%;
}

.bs-center.bs-center.bs-center {
	width: auto;
}



@media (max-width: 767px) {
	.rnr-bs-dpreviewrow > .dpinline > div, 
	.bs-details.bs-details.bs-details {
		width: 100%;
	}
}

@media (min-width: 768px) {

	[data-container=grid] {
		display: table;
	}
	.bs-minwidth {
		display: inline-block;
	}
	.bs-grid.text-center, .bs-centered {
		margin: auto;
    }

	/* "bootstrap" style without left panel*/
    .bs-centered, .bs-centered > [data-hidden] + .bs-center > * > [data-brick=grid] {
        width:calc(720px);
    }
    /* "bootstrap" style + left panel */
    .bs-centered > .bs-left:not([data-hidden]) + .bs-center, .bs-centered > .bs-left:not([data-hidden]) + .bs-center > * > [data-brick=grid]{
        width:calc(440px);
    }


    .bs-grid /*, .bs-sidebar-screenbound */{
        width:calc(750px );
    }
    .bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width:calc(750px );
	}

    .bs-left:not([data-hidden]) + .bs-screenwidth > * > .bs-grid, .sidebar:not([data-hidden]) + * .bs-sidebar-screenbound > * > .bs-grid {
    	width:calc(460px );	
    }
    .bs-left + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width: 480px;
    }
}

@media (min-width: 992px) {

	/* "bootstrap" style without left panel*/
    .bs-centered, .bs-centered > [data-hidden] + .bs-center > * > [data-brick=grid] {
        width:calc(944px);
    }
    /* "bootstrap" style + left panel */
    .bs-centered > .bs-left:not([data-hidden]) + .bs-center, .bs-centered > .bs-left:not([data-hidden]) + .bs-center > * > [data-brick=grid]{
        width:calc(664px);
    }

	.bs-details.bs-details.bs-details  {
		width:970px;
	}

    .bs-grid /*, .bs-sidebar-screenbound */{
        width:calc(950px );
    }
	.bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width:calc(950px );
	}

    .bs-left:not([data-hidden]) + .bs-screenwidth > * > .bs-grid, .sidebar:not([data-hidden]) + * .bs-sidebar-screenbound > * > .bs-grid {
    	width:calc(670px );	
    }
    .bs-left + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width: 670px;
    }
	
}

@media (min-width: 1200px) {
  /* "bootstrap" style without left panel*/
    .bs-centered, .bs-centered > [data-hidden] + .bs-center > * > [data-brick=grid] {
        width:calc(1140px);
    }
    /* "bootstrap" style + left panel */
    .bs-centered > .bs-left:not([data-hidden]) + .bs-center, .bs-centered > .bs-left:not([data-hidden]) + .bs-center > * > [data-brick=grid]{
        width:calc(860px);
    }

	.bs-details.bs-details.bs-details  {
		width:1170px
	}
	
	.bs-grid /*, .bs-sidebar-screenbound */{
        width:calc(1140px );
    }
	.bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width:calc(1140px );
	}
    .bs-left:not([data-hidden]) + .bs-screenwidth > * > .bs-grid, .sidebar:not([data-hidden]) + * .bs-sidebar-screenbound > * > .bs-grid {
    	width:calc(860px );	
    }
    .bs-left + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width: 860px;
    }
}
@media (min-width: 1400px) {
    .bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * > .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width: 1400px;
    }
	.bs-left  + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width: 1070px;
	}
}

@media (min-width: 1600px) {
    .bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * > .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width:1600px;
    }
	.bs-left  + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width:1270px;
	}
}

@media (min-width: 1800px) {
    .bs-left[data-hidden] + .bs-screenwidth, .bs-topmiddle, .rnr-hiddenblock + * > .bs-sidebar-screenbound, [data-hidden] + * > .bs-sidebar-screenbound {
        max-width:1800px;
    }
	.bs-left  + .bs-screenwidth, .bs-sidebar-screenbound {
        max-width:1470px;
	}
	
}

/* start grid in popup */
.modal-body .bs-grid, .modal-body .bs-centered {
    width:calc(750px);
}

.modal-body .bs-centered > .bs-center > * > [data-brick="grid"] {
    width:calc(750px) !important;
}

.modal-body .bs-fixedheader {
	position: inherit;
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	.modal-body .bs-grid, .modal-body .bs-centered {
	    width: 100%;
	}
}
/* end grid in popup */

body > .bs-wrapper > .bs-underheader {
	margin-top: 67px;
}

.modal-body {
	overflow: auto;
}

.modal-body   .container {
	margin:0;
	width: auto;
}

 .modal-body  [data-container=fields] {
	width: 100%;
}
.modal-footer > * {
	margin: 0;
	width: auto;
}

.bs-sidebar-main, .bs-fixedsidebarmain {
	margin-left:0;
	padding-left: 15px;
}

@media (max-width: 767px){

	.bs-sidebar-main, .bs-fixedsidebarmain {
		padding-right: 15px;
	}
}



.rnr-hiddenblock + [data-offsetblock=true], [data-hidden] + [data-offsetblock=true] {
	margin-left: 0;
}



[data-hidden][data-hidden][data-hidden][data-hidden][data-hidden] {
	display: none;
}

[data-hidden-column] {
	display: none;
}

/* hidden columns for different devices */

.bs-hidden-column.bs-hidden-column.bs-hidden-column:not([data-forced-visible-column]) { 
	display: none; 
}

@media ( min-device-width: 1281px ), ( device-width:1280px ) and ( device-height:1024px ) {
	.bs-hidden-column1.bs-hidden-column1.bs-hidden-column1:not( [data-forced-visible-column] ) { display: none; }
}

@media (device-width: 768px) and (device-height: 1024px) , (min-device-width: 1025px) and (max-device-width: 1280px) and (max-device-height: 1023px) , (min-device-height: 1025px) and (max-device-height: 1280px) and (max-device-width: 1023px) {
	.bs-hidden-column2.bs-hidden-column2.bs-hidden-column2:not([data-forced-visible-column]) { display: none; }
}

@media 	(max-device-height: 800px) and (min-device-width: 421px) and (max-device-width: 1024px) , 
		not( (device-width: 768px) and (device-height: 1024px) ) and (min-device-height: 421px) and (min-device-width: 421px) and (max-device-height: 1024px) and (max-device-width: 800px) {
	.bs-hidden-column3.bs-hidden-column3.bs-hidden-column3:not([data-forced-visible-column]) { display: none; }
}

@media (orientation: landscape) and (max-device-height: 420px), (orientation: landscape) and (max-device-width: 420px) {
	.bs-hidden-column4.bs-hidden-column4.bs-hidden-column4:not([data-forced-visible-column]) { display: none; }
}

@media (orientation: portrait) and (max-device-height: 420px), (orientation: portrait) and (max-device-width: 420px) {
	.bs-hidden-column5.bs-hidden-column5.bs-hidden-column5:not([data-forced-visible-column]) { display: none; }
}


.searchpanel-options {
	float:right;
    text-transform: lowercase;
}

.searchpanel-options label {
    font-weight: 100;
}

.searchpanel-options a {
    cursor: pointer;
}

.searchpanel-options input[type="radio"] {
    display:none;
}

.searchpanel-options input[type="radio"] + label  {
    display:inline-block;   
    cursor:pointer;
}

.searchpanel-options input[type="radio"] + label span:before {
    content: "\00a0 ";
}

.searchpanel-options input[type="radio"]:checked + label span:before {
     content: "\e013";
}

.searchpanel-options li[style*="display: none"] + .divider {
   display: none;
}

.dropdown-left.dropdown-left {
	left: auto;
	right: 0;
}

.bs-margpanelelem {
	margin: 0.8em 1em;
}

.bs-printpanel {
    -moz-user-select: none;
    display: inline-block;
    position: relative;
}

.bs-printpanel label {
    font-weight: 100;
}

.bs-printpanel > .dropdown-menu {
    min-width: 220px;
}

.bs-fildhidepanel:not(.showHide) input[type=checkbox] {
    display: none;
}

.bs-fildhidepanel:not(.showHide) label {
	cursor: move;
}

.panel [data-brick=grid], .panel [data-brick=masterlistgrid]
{
	margin: -10px 0;
}

.bottom-margin {
	margin-bottom: 10px;
}
.bottom-margin-20 {
	margin-bottom: 20px;
}

.bs-details.bs-details.bs-details {
	margin: auto;
    display: table;
    min-width: 50%;
    float: none;
}

.bs-gridicons {
	white-space: nowrap;
}

.hidden-badge {
visibility: hidden;
}

.hidden-detcounter {
	display: none;
}

.details-badge.badge.badge.badge {
	position: relative;
	top: -1px;
	color: white;
}

.table-panel {
	display: table;
	width: 100%;
}

.panel.with-tabs  .panel-heading {
	padding: 5px 5px 0 5px;
	border-bottom: none;
}

.panel.with-tabs  .panel-body {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
}

[data-stepcontrol] 
{
	padding-bottom: 10px;
}

.bs-step {
	text-decoration: none;
	padding: 3px 5px;
}
.bs-step.active {

	border-bottom: #337ab7 solid 3px;
}

.form-tabs, .form-section {
	clear:both;
}

.bs-tabpage {
}

.bs-tabgrid {
	padding: 10px 15px;
	overflow-x: auto;
	overflow-y: visible;
}

/* The Search saving styles redefine*/
.rnr-saved-searches {
	position: relative;
	display: block;
	padding-left: 20px !important;
}

.bs-tabpageheader {
	padding: 0 20px;
}

.bs-tabpage {
	margin-bottom: 20px;
}

.form-section .container,
.form-tabs .container {
	margin:0;
	width: auto;
	padding:0;
}

.form-section .details-grid ,
.form-section .details-grid > .panel-heading,
.form-section .details-grid > .panel-body,
.form-tabs .details-grid ,
.form-tabs .details-grid > .panel-heading,
.form-tabs .details-grid > .panel-body
{
	background: none;
	border: none;
	color: inherit;
	box-shadow: none;
}
.form-section .details-grid > .panel-heading,
.form-tabs .details-grid > .panel-heading
{
	padding: 0 15px;
}
.form-section .details-grid > .panel-body,
.form-tabs .details-grid > .panel-body
{
	padding: 10px 15px;
}


.form-section .details-grid > .panel-heading > h4,
.form-section .details-grid > .panel-heading > h4,
.form-tabs .details-grid > .panel-heading > h4,
.form-tabs .details-grid > .panel-heading > h4
{
	margin-top: 10px;
    margin-bottom: 10px;
	padding: 0;
	font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
	font-size: 18px;
}


/*.form-section > * > .panel-body,
.form-section > * > .panel-body,
.form-tabs  > .panel-body,
.form-tabs  > .panel-body
*/
.form-section .bs-gridintab-container,
.form-tabs .bs-gridintab-container
{
	overflow-x: auto;
	padding: 0 15px;
}

.form-section .bs-details.bs-details.bs-details ,
.form-tabs .bs-details.bs-details.bs-details
{
	width: auto;
	margin:0;
}

[data-stepcontrol] > li > a
{
	padding: 5px 15px;
}

.bs-horizontal-value {
	padding-top: 0px;
	margin-bottom:15px;
}


.bs-view-label {
	padding-left: 0;
	padding-right: 0;
}

.bs-invisible-button:not([data-visible]) {
    visibility: hidden;
}

.bs-2column .bs-details {
	padding-left: 30px;
	padding-right: 30px;
}


@media (min-width: 768px) {
	.bs-pagepanel {
		margin-top:50px;
	}
	
	.bs-pagepanel.bs-bigpanel {
		margin:auto;
		margin-top:50px;
		width:600px;
		display:table;
	}
}

.inner-addon { 
    position: relative; 
}

/* style icon */
.inner-addon .glyphicon {
  position: absolute;
  padding: 10px;
  pointer-events: none;
}

/* align icon */
.left-addon .glyphicon  { left:  0px;}
.right-addon .glyphicon { right: 0px;}

/* add padding  */
.left-addon input  { padding-left:  30px; }
.right-addon input { padding-right: 30px; }

.btn.btn-flat.btn-flat.btn-flat {
	background: none;
	color: inherit;
	padding: 0;
	cursor: pointer;
	box-shadow: none;
}

.input-group-addon > .glyphicon-calendar {
	cursor: pointer;
}

.input-group-addon > .glyphicon-time {
	cursor: pointer;
}

.modal-body .container {
	width: auto;
	padding:0;
}

.modal-body .bs-standalone-page {
	width: auto;
	margin:0;
	float: none;
	padding:0;
}

.modal-body .bs-pagepanel {
	margin:0;
	border: none;
	box-shadow: none;
}

.modal-header, .modal-footer {
	padding: 10px 15px;
}
.modal-header > * {
	display: inline-block;
	padding:0;
	font-size: 18px;
	margin: 0;
}




.modal-body .bs-pagepanel  .form-control {
	width:100%;
	display: block;
}

.bs-details-opened.bs-details-opened.bs-details-opened > td, 
td.bs-details-opened.bs-details-opened.bs-details-opened {
	border: none;
}

.rnr-bs-dpreviewrow .dpinline {
	text-align: left;
	vertical-align: top;
}

/*.rnr-bs-dpreviewrow .dpinline, .bs-details-opened.bs-details-opened.bs-details-opened {
	background: lightyellow;
}*/
	
.rnr-bs-dpreviewrow > .dpinline.dpinline.dpinline {
	padding-top:0;
	border-bottom: none;
	border-top: none;
}

.dpinline > div > ul > li > a[data-toggle=tab] {
	padding: 5px 10px;
}



.dpinline > div {
    background: white;
    border: solid #f0f0f0 1px;
    padding: 5px;
    border-radius: 4px;
	display: inline-block;
}

.dpinline .table {
	background: transparent;
}


.bs-proceed-icon {
	visibility: hidden;
}

.active > *:hover > .bs-proceed-link {
	color: darkblue;
	text-decoration: underline;
	cursor: pointer;
}

 .active > * > * > .bs-proceed-icon {
	visibility: visible;
}

.nav-tabs li a[data-toggle="tab"] {
	text-decoration: none;
}

.nav-tabs li.active a[data-toggle="tab"].bs-proceed-link {
	text-decoration: underline;
}

.dpinline .rnr-tabelemfooter, .dpinline .rnr-tabelemheader {
	height: auto;
}

.rnr-cs.rnr-cs {
	border-bottom: none;
	border-top: none;
	min-width: 20px;
}

.bs-welcome-item {
	border: solid #d8d8d8 1px;
	border-radius: 4px;
	background: white;
	margin-bottom: 30px;
	overflow: hidden;
}

.bs-welcome-content {
	height: 100px;
	padding: 10px;
}

.bs-welcome-header > a {
	font-size: 18px;
	padding: 10px 20px;
/*	font-weight: bolder;*/
	display: block;
	color: inherit;
	font-family: 'Helvetica Neue', Helvetica;
}

.bs-welcome-header {
/*	background-color: rgba(70,130,180, 0.3);*/
	background-color: steelblue;
	color: white;
}

.bs-welcome-group-comments {
	margin-bottom: 20px;
}


.bs-grid-vertical-cell { 
	margin-bottom:20px; 
}

@media (min-width: 992px) {
	.bs-grid-vertical-row { margin-left: -15px; margin-right: -15px; clear: both;}
	.bs-grid-vertical-cell { float: left; margin:15px;}
	.bs-grid-vertical-cell.bs-columns-1 {	width: calc(100% - 30px); }
	.bs-grid-vertical-cell.bs-columns-2 {	width: calc(50% - 30px); }
	.bs-grid-vertical-cell.bs-columns-3 {	width: calc(33.33333% - 30px); }
	.bs-grid-vertical-cell.bs-columns-4 {	width: calc(25% - 30px); }
	.bs-grid-vertical-cell.bs-columns-5 {	width: calc(20% - 30px); }
	.bs-grid-vertical-cell.bs-columns-6 {	width: calc(16.66666% - 30px); }
	.bs-grid-vertical-cell.bs-columns-7 {	width: calc(14.28571% - 30px); }
	.bs-grid-vertical-cell.bs-columns-8 {	width: calc(12.5% - 30px); }

	.bs-fieldsgrid  { width: 100%; }
	
	.bs-cell-columns-1.bs-valuecell { width: 	calc( 100% / 1 / 1.5 ); }
	.bs-cell-columns-2.bs-valuecell { width: 	calc( 100% / 2 / 1.5 ); }
	.bs-cell-columns-3.bs-valuecell { width: 	calc( 100% / 3 / 1.5 ); }
	.bs-cell-columns-4.bs-valuecell { width: 	calc( 100% / 4 / 1.5 ); }
	.bs-cell-columns-5.bs-valuecell { width: 	calc( 100% / 5 / 1.5 ); }
	.bs-cell-columns-6.bs-valuecell { width: 	calc( 100% / 6 / 1.5 ); }
	.bs-cell-columns-7.bs-valuecell { width: 	calc( 100% / 7 / 1.5 ); }
	.bs-cell-columns-8.bs-valuecell { width: 	calc( 100% / 8 / 1.5 ); }
}

.bs-labelcell { 
	text-align: right; 
	vertical-align: top;
}

.bs-valuecell { 
	vertical-align: top;
}

.bs-viewform-group {
	clear: both;
}

.bs-viewcontrolgroup {
	margin-bottom: 10px;
}


.bs-togglebutton.bs-togglebutton.bs-togglebutton {
/*	margin-bottom: 10px;*/
}

@media (min-width: 768px) {
	.bs-togglebutton.bs-togglebutton.bs-togglebutton {
		display: none;
		margin-bottom: 10px;
	}
	.bs-navsection {
		margin: 0 3px;
	}
	.bs-hidden-desktop	{
		display: none;
	}

}

/* mobile screen view */
@media (max-width: 767px) {

    .bs-left {
        display: block;
    }
	.bs-middle, .bs-center.bs-center  {
		display: block;
	}
	.bs-hidden-xs	{
		display: none;
	}
	.navbar-form {
		margin-bottom:0;
		margin-top:0;
		border-bottom: none;
	}
	/*[id^=iEditLink], [id^=inlineAdd],*/ [data-brick=searchpanel], [data-brick=printpanel]  {
		display: none;
	}
	
	[id^=showOptPanel]  {
		display: none !important;	
	}

	.modal-dialog {
		margin:0;
	}
}


.modal-body .navbar {
	margin-left: 20px;
	margin-right: 20px;
}

.modal-body .navbar > * {
	display: block;
}


.bs-fullwidth-navbar.bs-fullwidth-navbar {
	border-radius: 0;
}

.form-inline-always.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.bs-navform.bs-navform.bs-navform {
	overflow-y: visible;
}

.form-inline.bs-date-control > .form-control{
	width: auto;
	display: inline-block;
}

.bs-gridcell .form-control {
	width: auto;
}

span.bs-date-control {
	display: inline-block;
	position: relative;
}

.bs-date-control > .hiddenPickerElement {
	border-left-width: 0;
    padding-left: 0;
    padding-right: 0;
    visibility: hidden;
    width: 1px !important;
}

.datepicker-years td, .datepicker-months td, .datepicker-decades td {
	white-space: normal;
}

.bs-welcome-header .glyphicon:before {
	margin-right: 10px;
}

.bs-labelcell {
	padding: 0 5px;
}

.bs-valuecell {
	padding: 0 5px 5px 5px;
}

@media (min-width: 768px) {

	.bs-gridicons, .bs-gridcheckbox {
		width: 30px;
	}
}

/* do not block inline
.chosen-container-multi .chosen-choices li {
    display: inline;
    float: none !important;
}
*/

.has-error .chosen-container-active .chosen-choices {
	border-color: #a94442;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

/* flexible grid */

.bs-flexgrid .bs-gridcell:before, .bs-gridcell.bs-gridcell:before {
	display: none;
}
	
@media (max-width: 767px) {
	.bs-flexgrid,
	.bs-flexgrid  > tbody,
	.bs-flexgrid  > tfoot,
	.bs-flexgrid   .bs-gridrow:not(.rnr-hiddenelem),
	.bs-flexgrid   .bs-gridcell:not([data-hidden-column])
	{
		display: block;
		border: none;
	}

	.bs-flexgrid  > * > * > .bs-gridicons {
		height: 38px;
	}

	.bs-flexgrid  > * > * > .bs-gridicons,
	.bs-flexgrid  > * > * > .bs-gridcheckbox,
	.bs-flexgrid   > * > * > .bs-griddetails
	{
		display: inline-block;
		border: none;
		margin-bottom: 10px;
	}

	/* show details in single line */
	.bs-flexgrid   > * > * > .bs-griddetails > span > br {
		display: none;
	}
	.bs-flexgrid   > * > * > .bs-griddetails > span {
		margin-left:10px;
	}
	
	
	
	.bs-flexgrid  > thead {
		display: none;
	}
	.bs-flexgrid   .bs-gridcell {
		text-align: left;
		padding-left: 15px;
	}
	
	.bs-flexgrid   .bs-gridcell:first-child {
		margin-top: 40px
	}
	
	.bs-flexgrid   .bs-gridcell:before {
		display: block;
		font-weight: bold;
		margin-left: -15px;
	}
	
	.bs-flexgrid  > * > .bs-gridrow.bs-gridrow {
		border: solid rgb(221, 221, 221) 1px;
		border-radius: 10px;
		margin-bottom: 20px;
		padding: 5px 10px;
	}

	.bs-flexgrid   .bs-gridrow:not(.rnr-hiddenelem) {
		background: transparent;
		background-image: linear-gradient( to bottom, #f5f5f5 0,#e8e8e8 42px , rgb(221, 221, 221) 43px, transparent 44px );	
	}
	
	.bs-flexgrid  .rnr-bs-dpreviewrow, 
	.bs-flexgrid  .rnr-bs-dpreviewrow > .dpinline {
		display: block;
	}
	
	.bs-flexgrid.bs-flexgrid.bs-flexgrid  .rnr-bs-dpreviewrow > .dpinline {
		padding: 5px;
		border: solid rgb(221, 221, 221) 1px;
		border-radius: 10px;
		margin-bottom: 20px;
		margin-top: -10px;	
	}

	.bs-flexgrid .bs-gridcell .form-control {
		width: 100%;
	}

	.bs-flexgrid .bs-gridcell  .bs-date-control .form-control {
		width: auto;
	}
}

@media (min-width: 768px)
{
	.bs-desktop-right {
		text-align: right;
	}
}

.bs-smallpopup  .col-md-6,
.bs-smallpopup  .col-md-8,
.bs-smallpopup  .col-md-4,
.bs-smallpopup  .col-md-3,
.bs-smallpopup  .col-md-2,
.bs-smallpopup  .col-md-offset-2,
.bs-smallpopup  .col-md-offset-3,
.bs-smallpopup  .col-md-offset-4,
.bs-smallpopup  .col-md-offset-6
{
	width:auto;
	float: none;
	margin:0;
}
.bs-smallpopup .bs-desktop-right {
	text-align: inherit;
}

.bs-popup .bs-details.bs-details.bs-details {
	margin: auto;
	width: auto;
    display: table;
    min-width: 50%;
    float: none;
}

.bs-smallpopup .bs-details.bs-details.bs-details {
	width:100%;
}


.bs-popup .bs-left, .bs-popup .bs-center, .bs-popup .bs-right {
	display:block;
}

.bs-popup  .modal-body > .rnr-pagewrapper:after {
    clear: both;
    content: "";
    display: block;
}

.form-horizontal .form:not(.form-horizontal) .form-group {
	margin-left: 0;
	margin-right: 0;
}

.rnr-details-popup.rnr-details-popup {
	border-radius: 5px;
	border-color: #aaa;
	display: inline-block;
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
	padding: 10px 20px;
}

.rnr-details-popup > * > .table, .rnr-details-popup > .table.bs-grid {
	width: auto;
	min-width: 400px;
}


/* sidebar page layout */

@media (min-width: 768px){

	.bs-sidebarlogo:after {
		display:table;
		content:' ';
		clear: both;
	}
	
	.bs-sidebarlogo > .navbar-brand {
		font-size:22px;
	}

	.bs-sidebar-main, .bs-fixedsidebarmain {
		display: table;
		width: auto;
	}

	.sidebar {
		width:300px;
		left: 0;
		top:0;
		z-index: 100;
		display: block;
		padding: 0px;
		background-color: #fcfcfc;
		border-right: 1px solid #a0a0a0;
		overflow: hidden;
		position: absolute;
		min-height:100%;
		
	}

	.bs-sidebar-main {
		margin-left: 300px;
	}
	.sidebar  .panel.panel {
		border-radius:0;
		border-left: none;
		border-right: none;
		margin-left: 0;
		margin-right: 0;
		margin:0;
		border-bottom: none;
	}
	.sidebar  .panel.panel > .panel-heading {
		border-radius: 0;
	}
	.sidebar  .panel.panel > .panel-body {
		padding-bottom:10px;
	}
	.sidebar  .panel.panel > .panel-footer {
		border-top: none;
		background: transparent;
		padding-top: 0;
	}
	
	.sidebar .list-group-item {
		padding: 8px 15px;
	}
	.sidebar .form-group {
		margin-bottom:10px;
	}

	.sidebar.bs-fixed {
		overflow-x: hidden;
		position: fixed;
		height:100%;
	}
	.sidebar.bs-fixed > .sidebar-contents{
		width: 316px;
		overflow-y: scroll;
		height:100%;
	}


	.bs-fixedheader {
		position: fixed;
		width: 100%;
		top: 0;
		z-index: 2;
		
		/* header if present needs this style */
		background: white;
	}
}

@media (max-width: 767px){
	.bs-wrapper .navbar {
		padding: 0;
		margin: 0;
		background: none;
		box-shadow: none;
		border: none;	
	}
	.bs-wrapper .breadcrumb {
		margin-bottom: 0;
		margin-left: 15px;
		margin-right: 15px;
	}

	.bs-wrapper > .bs-fixedheader {
		width: 100%;
	}
	
	.sidebar-container {
		margin-left: 15px;
		margin-right: 15px;
	}
	
}


.bs-fixedheader.bs-fixedheader > * {
	margin-bottom: 0;
}


.bs-fixedsidebar {
	top:0;
}

@media (min-width: 768px) {


	:not([data-hidden]) + .bs-wrapper > .bs-fixedheader {
		width: calc(100% - 300px);
	}

	:not([data-hidden]) + .bs-wrapper  {
		margin-left: 300px;
	}

	.navbar .breadcrumb {
		background: transparent;
		margin:0;
	}
}

/* sidebar menu */

.sidebar-menu.sidebar-menu {
	padding:0;
}

@media (min-width: 768px)   {


	.sidebar-menu.sidebar-menu > * > li, .sidebar-menu.sidebar-menu > ul {
		float: none;
	}
	
	.sidebar-menu .dropdown-menu {
	    right: 0;
		left: auto;
	}
	.sidebar-menu .dropdown-menu > li {
		min-width: 250px;
	}
	
	.sidebar-menu  > .nav>li>a {
		padding: 8px 15px;
	}
}

.sidebar-menu   li.active.active.active.active.active > a {
	//background: #337ab7;
	color: white;
}


.menu-treelike  li > a {
	cursor: pointer;
}
.menu-treelike  li  ul[data-menulevel] > li > a {
	padding: 3px 15px;
}

//.menu-treelike.menu-treelike ul[data-menulevel]:not([data-menulevel="1"]) > li > a {
//	background-color: #f4f4f4;
//}

//.menu-treelike.menu-treelike li > a[aria-expanded="true"] {
//	background-color: #ececec;
//}

.menu-treelike.menu-treelike ul[data-menulevel="2"] > li > a {
	padding-left: 35px;
}
.menu-treelike.menu-treelike ul[data-menulevel="3"] > li > a {
	padding-left: 55px;
}
.menu-treelike.menu-treelike ul[data-menulevel="4"] > li > a {
	padding-left: 75px;
}
.menu-treelike.menu-treelike ul[data-menulevel="5"] > li > a {
	padding-left: 95px;
}
.menu-treelike.menu-treelike ul[data-menulevel="6"] > li > a {
	padding-left: 105px;
}

.menu-icon {
	margin-right: 5px;
}

.menu-triangle {
	float:right;
}

.just-added.just-added:not(.r-record-body), .just-added:not(.r-record-body) > .panel > .panel-body {
	background: rgba(160, 220, 160, .4);
}

.recently-added.recently-added:not(.r-record-body) {
	transition: background-color 1s ease;
	background: rgba(160, 220, 160, .2);
}

.recently-added:not(.r-record-body) > .panel > .panel-body {
	transition: background-color 1s ease;
	background: rgba(160, 220, 160, .1);
}

.delimiter-box{
	width: 20px;
}

/* dashboard styles */

.bs-dbelement {
	vertical-align: top;
	min-width: 50px;
	min-height: 30px;
	padding: 4px 5px;
}

.bs-dbelement > * > * > .panel-body {
	overflow:auto;
}

.bs-dbelement.bs-dbelement.bs-dbelement .bs-details {
	width: auto;
}

@media (max-width: 767px) {
	.bs-dbelement, 
	.bs-dashboard,
	.bs-dashboard > tbody,
	.bs-dashboard > * > tr
	{
		display: block;
		width: 100%;
	}
	
	 {
	}
	.db-dashboard {
		margin-right: 15px;
	}

}

.bs-dbelement > div {
/*	display: inline-block;*/
}

.bs-dbelement .container {
	width: auto;
}

.bs-dbelement > * > * > ul.nav-tabs > li > a {
	padding: 5px 10px;
}

.bs-dbelement > * > * > ul.nav-tabs {
	margin: 0 5px;
}

.rnr-dbebrick {
	display: inline-block;
}
.rnr-dbebrick.rnr-dberight {
	float: right;
}

.rnr-dbefiller {
	display: none;
}

.panel-footer .pagination {
	margin:0;
}

.rnr-dbebrick {
	margin: 0 3px;
}

.rnr-dbebrick .bs-invisible-button:not([data-visible]){
	display: none;
}

.panel-heading > h2 {
	display: inline-block;
	padding: 0;
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
	color: inherit;
}


.rnr-dbselectedrow {
	background-color: lightyellow;
}

@media (max-width: 767px) {

	.rnr-dbselectedrow.bs-gridicons {
		background-color: transparent;
	}
	.rnr-dbselectedrow {
		background-color: rgba( 255,255,224, 0.5);
	}

}

.panel.rnr-dbselectedrow {
	background-color: rgba( 255,255,224, 0.5);
}

.rnr-search-highlight {
	color:red;
	font-weight: bold;
}

/* file upload control */

.rnr-dragndrop-area {
	width: 100%;
	height: 80px;
	border: #aaa dashed 2px;
	display: table;
}

.bs-grid .rnr-dragndrop-area {
	padding: inherit;
}

.rnr-dragtext {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #aaa;
}

.btn.btn.btn > a {
	color:inherit;
	text-decoration: none;
}

[data-brick=morebutton] > button.hideMoreButton {
	display: none;
}


/* admin area pages */

.rnr-linkselect-list  {
	padding:0;
	border: none;
	top: -13px;
}

.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified.rights-modified {
	background: lightyellow;
}


.rightscell:not(:first-child),
.bs-admin-header > th:not(:first-child), 
.bs-admin-header > td:not(:first-child) {
	text-align: center;
}

.rnr-linkselect-display {
	font-weight: bold;
}

[data-brick="bsugrightsgroups"] {
	font-weight: bold;
}

.bs-adminheader > th, .bs-adminheader > td {
	text-align: center;
}

.bs-admin-header:first-child > th {
	border-top: none;
	background-color: #f8f8f8;
	color: black;
}

.groupcontrols {
	border-top: none;
}

.nav-tabs[data-brick="bsugrightsgroups"] > li.active > a {
	background-color: #f8f8f8;
	color: black;
}

.groupCopyLink {
	font-size: 16px;
	line-height: inherit;
}

/* nested dropdowns */
.dropdown-menu .dropdown > .dropdown-menu {
	top:0;
	left:150px;
}

/* error message styles */
.rnr-error-message.rnr-error-message >  .removelink {
	color: salmon;
}

.rnr-error-indicator.rnr-error-indicator > .expandlink {
	color: silver;
}

.inline-button {
	padding-left:0;
	padding-right:0;
}

.bs-gridrow .bs-inlinerequired {
	padding-right: 10px;
	position:relative;
}



.bs-gridrow .bs-inlinerequired:after {
	content: '*';
	position: absolute;
	right:-2px;
	top:5px;
	line-height: normal;
	color:red;
	font-size:20px;
}

.bs-gridrow > td.bs-gridcell > .glyphicon {
	float: left;
	margin-top: 5px;
}

.bs-dashmap.bs-dashmap.bs-dashmap {
	overflow: visible;
	padding:0;
	
}

.bs-dbelement .bs-chart {
	min-width: 700px;
}

@media (max-width: 767px) {
	.bs-chart {
		height: 600px;
	}
}

.page-list_bootstrap3 .mCustomScrollBox {
	overflow: inherit;
}

.bs-print-details-clear {
	clear: both;
} 

/* Vertical grid Reordering */
.ui-sortable-handle {
	overflow: auto;
}
.ui-sortable-handle, .ui-sortable-handle > .bs-view-label, .ui-sortable-handle > .bs-view-labe {
	cursor: move;
} 



/* Hoizontal grid Reordering */
.dragtable-sortable { 
    list-style-type: none; margin: 0; padding: 0; -moz-user-select: none;
}
.dragtable-sortable li {
    margin: 0; padding: 0; float: left; font-size: 1em; background: white; 
}
.dragtable-sortable table {
	margin-bottom: 0px;
}
.dragtable-sortable th, .dragtable-sortable td{
    border-left: 0px;
}
.dragtable-sortable li:first-child th, .dragtable-sortable li:first-child td {
    border-left: 1px solid #CCC; 
}
.ui-sortable-helper {
    opacity: 0.7;filter: alpha(opacity=70);
}

.ui-sortable-placeholder { 
    -moz-box-shadow: 4px 5px 4px #C6C6C6 inset;
    -webkit-box-shadow: 4px 5px 4px #C6C6C6 inset;
    box-shadow: 4px 5px 4px #C6C6C6 inset;
    border-bottom: 1px solid #CCCCCC;
    border-top: 1px solid #CCCCCC;
    visibility: visible !important;
    background: #EFEFEF !important; 
    visibility: visible !important;
}
.ui-sortable-placeholder * { 
    opacity: 0.0; visibility: hidden; 
}

.bs-popup .ui-resizable-sw {
	width: 16px;
	height: 16px;
	left: 1px;
	bottom: 1px;
}


/* RTL languages overrides - begin */

.mCustomScrollBox.mCustomScrollBox {
	direction: inherit;
}
.rnr-field-text {
	text-align:left;
}

.navbar-brand {
    float: left;
}

.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0
}

.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0
}



/* override user-agent padding-start:40px */
.list-group, .nav {
	padding-left: 0;
}

@media (min-width: 768px) {
	.navbar-header {
		float: left;
	}

    .col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12 {
        float:left;
    }
    
	.navbar-nav {
		float:left;
	}
	.navbar-left {
        float:left !important;
    }

    .navbar-right {
        float:right !important;
    }

    .navbar-right .dropdown-menu {
        left:auto;
        right: 0
    }

    .navbar-right .dropdown-menu-left {
        left: 0;
        right: auto
    }
	.navbar-nav>li {
		float: left;
	}	
}

.dropdown-menu {
    left: 0;
	text-align: left;
}

.pull-right {
    float: right !important;
}

.dropdown-menu.pull-right {
    right: 0;
    left: auto;
}

.nav-tabs>li {
    float: left;
}
.close {
   float: right;
}

.modal-footer {
    padding: 20px;
    text-align: right;
}

.btn-group>.btn {
	float: left;
}

.glyphicon-chevron-left:before {
    content: "\e079"
}

.glyphicon-chevron-right:before {
    content: "\e080"
}

.glyphicon-triangle-right:before {
    content: "\e250"
}

.glyphicon-triangle-left:before {
    content: "\e251"
}

.checkbox input[type="checkbox"] {
	margin-left: -20px;
}

/* RTL languages overrides - end */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     .bs-updselbox.bs-updselbox.bs-updselbox.bs-updselbox {
		 position: static;
		 margin-right: 10px;
	}
}


.bs-list-lookup:hover > input:not([data-required]) {
	background-image:  url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABLUlEQVQ4T62TMU7DMBSG35+kaqHd2NKKRlZASNBeAbFwgTKzsLJzCSTOgMReIQ5AT9BMYUAOiiLPTAjUiPghRwQlxR2q1uOz3+ff/+8H2nBhw37aLiAcDq8YOIfnXUopF3V1QRB0PMYDg5+SNL2v9hoKxEAcwNUzIkRouZMKEoZhm/P8UQPHLebT1yx7swJMUQhxiEI/VxBT48X3VDs8cgrvLFGJrCuzelCHEDM0eGxrNqCVJoqBGMHVUXmI9Vhm2YstMSugfPOvbBBAoPlOt3sRx3G+DPkHqDcb2aUHbjFziKN2rzdZhjQAJiowTYn4pP7mKh0Qz5chzRj3gxsGX9sM+4OAbmWa3llj9H1/13GcjlLq3WbYUb+/9wF8KqW+Vv6DdWdju7Ow7u3m/A/V/4cRYL9ZkwAAAABJRU5ErkJggg==);
	background-position: right 10px center;
	background-repeat: no-repeat;
}

.bs-list-lookup:hover > input:not([data-required]).onX {
	cursor: pointer;
}

.bs-list-lookup > input::-ms-clear {
	display: none;
}

.bs-clickable {
	cursor: pointer;
}


@media (min-width: 768px) {
	
	/* no higlighting needed on touchescreen devices */
	td.bs-clickable:hover:not(.bs-labelcell), /* columns, horizontal - field click */
	.bs-clickable:hover > td, 	/* horizontal - row click */
	div.bs-clickable[data-field]:hover > *:not(.bs-view-label) /* vertical - field click */
	{
		background: rgba(0,0,255,0.07);
	}

	div.bs-clickable.panel:hover > .panel-body /* columns, vertical - row click */
	{
		background: rgba(0,0,255,0.07);
	}
}

[data-brick=details_found] .bs-number {
	font-weight: bold;
}

.panel-body .sortby-ctrl {
	margin-bottom: 15px;
	float: right;
}

.sortby-ctrl {
	display: inline;
}

[data-brick=importfields], .rnr-dragndrop-area {
	height:120px;
}

.rnr-import-textarea {
	width: 100%;
	height: 200px;
}

.greyed-input{
	background: #E5E5E5;
}


/* crosstab styles begin */
@media (min-width: 768px) {
	.bs-crosstab {
		width: auto;
	}

}

.bs-cross-xsel > .form-control {
	width: auto;
}

.bs-crosstab .form-control.like-text {
	border-color: transparent;
}

.bs-cross-datasel.bs-cross-datasel, .bs-crosstab > * > tr > *:first-child {
	border-right: solid 3px #dddddd;
}

.bs-crosstab > tbody > tr > td:first-child {
	padding-right:20px;
	padding-left:20px;
	font-weight: bold;
}

.bs-crosstab > * > tr:not(:first-child) > *:nth-child(2),
.bs-detachedcolumn > thead > tr:nth-child(2) > th:nth-child(3),
.bs-crosstab > tbody > tr > td:nth-child(2) {
	padding-left:20px;
}



.bs-crosstab.bs-crosstab th:not(:first-child) {
	border-top: none;
}

.bs-crosstab.bs-crosstab th[colspan]:not(:first-child) {
	border-bottom: none;
}
 
.bs-cross-colheaders.bs-cross-colheaders > th {
	vertical-align: baseline;
}


.bs-cross-datasel {
	white-space: nowrap;
}

.bs-cross-ddgroup.bs-cross-ddgroup.bs-cross-ddgroup {
	width: 90px;
}

.bs-cross-ddvalue.bs-cross-ddvalue.bs-cross-ddvalue {
	min-width: calc( 100% - 95px );
/*	float: right;*/
}

.bs-cross-ddx.bs-cross-ddx.bs-cross-ddx, 
.bs-cross-ddy.bs-cross-ddy.bs-cross-ddy {
	min-width: 200px;
	
}

.bs-cross-colheaders.bs-cross-colheaders > th {
	border-bottom-width: 1px;
}

.bs-cross-datasel.bs-cross-datasel, .bs-cross-colheaders.bs-cross-colheaders > th:first-child {
	min-width: 220px;
	width:220px;
}


.bs-cross-rowsummary, .bs-cross-colsummary {
	/*background-color: rgba( 0,0,255,0.02);*/
}

.bs-cross-rowsummary {
/*	border-left: solid 1px #dddddd; */
}

/* crosstab highlighting begin */
.bs-crosstab.bs-cross-highligtrowheaders .bs-cross-rowheadercell,
.bs-crosstab.bs-cross-highligtcolheaders .bs-cross-colheadercell,
.bs-crosstab.bs-cross-highligtdata > tbody > tr > td:not(.bs-cross-rowheadercell) {
	background: rgba( 255,255, 0, 0.3);
}

.bs-cross-colsummary .bs-cross-rowheadercell.bs-cross-totalsname, 
.bs-cross-colheaders .bs-cross-colheadercell.bs-cross-totalsname {
	font-weight: normal;
}

.bs-cross-colsummary .bs-cross-colsummary, 
.bs-cross-rowsummary,
.bs-cross-totalsummary {
	font-weight: bold;
}

.highlightColor {
	display: none;
}

.bs-crosstab > tbody > tr:hover > td, .highlightColor /* highlightColor need for column highlighting */
{
	background: rgba( 168,168, 48, 0.2);
}

.bs-detachedcolumn > tbody > tr > td:first-child {
	z-index: 2;
}

.bs-detachedcolumn > tbody > tr > td.backDummy {    
    position: fixed;
    left: 0px;
    z-index: 1;
}
/*crosstab styles end */




.bs-dbimage {
	display: block;
	width:100%;
	
}

@media (min-width: 768px) {

	td > * > .bs-dbimage,
	td > * > * > .bs-dbimage,
	td > * > * > * > .bs-dbimage
	{
		width:auto;
	}
	
}

.bs-facebook.btn-link {
	padding-left:0;
	padding-right:0;
}

.bs-srchoption {
	min-width: 160px;
}

.panel .bs-minwidth {
	display:table;	
}

@media print
{    
    .pdflink
    {
        display: none;
    }
}