@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic);

 body {
	padding: 10px 0 10px 0;
 	overflow-y: scroll;
 	font-family: Ubuntu, Helvetica, Arial, Verdana, sans-serif;
 	font-size: 13px;
 	background: #EEF3FB;
	background-image: url('../img/main_area_bg.png');

}

body.navbar-enabled {
 	padding-top: 60px;
}
body.statusbar-enabled {
 	padding-bottom: 40px;
}

body.white {
 	background-image: none;
	background: #ffffff;
}

th {
	font-family: Verdana, Tahoma, Arial, sans-serif;
	/*
	font-size: 12px;
	 */
}

h1, h2, h3, h4, h5, h6 {
	color: #666666;
	font-weight: 300;
	/*
	-webkit-text-stroke-width: .2px;
	-webkit-text-stroke-color: #111111;
	-webkit-font-smoothing: antialiased;
	*/
}

.condensed {
	font-family: 'Ubuntu Condensed', Arial, sans-serif;
}

.grey {
	color: #a0a0a0;
}
.primary {
	color: #428bca;
}
.success {
	color: #5cb85c;
}
.info {
	color: #5bc0de;
}
.warning {
	color: #f0ad4e;
}
.danger {
	color: #d9534f;
}

h1, .h1 {
    font-size: 30px;
}


h3, .h3 {
	font-size: 24px;
}

h4, .h4 {
	font-size: 20px;
}

a {
	-o-transition:.3s;
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	transition:.3s;
	color: #3498db;

}

a:hover {
	color: #67C8E0;
	text-decoration: none;
}

i[class*="fa-"],
i[class*="glyphicon-"] {
	opacity: 0.7;
	font-size: 14px;
	line-height: .75em;
	vertical-align: -5%;
	margin: 0 5px 0 0;
}

i[class*="fa-2x"] {
	font-size: 28px;
}

i[class*="glyphicon-"] {
	font-size: 14px;
}

.btn>i[class*="fa-"],
.btn>i[class*="glyphicon-"],
i[class*="fa-"].mrg-0,
i[class*="glyphicon-"].mrg-0  {
	margin: 0;
}





/*  ------------------------------------------------
	COMMON
 	------------------------------------------------ */

.row {
	margin-bottom: 10px;
}

.row-stacked {
	margin-top: -10px;
	margin-bottom: 0px;
}

.row-min-top {
	margin-top: -6px;
}

.row-stacked-top {
	margin-top: -10px;
}

.row-stacked-bottom {
	margin-bottom: 0px;
}

.row-hr {
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 10px;
}

.row-top-hr {
	border-top: 1px solid #e5e5e5;
	padding-top: 10px;
}

.b-r {
	border-right: 1px solid #e5e5e5;
}
.b-l {
	border-left: 1px solid #e5e5e5;
}


.btn-default {
	color: #333;
	background-color: #fff;
	border-color: #ddd;
}

.btn-toolbar {
	margin-bottom: 10px;
	font-size: 0;
}

.alert.start {
	opacity: 0;
}

label {
	padding: 4px 0px;
	font-size: 13px;
	font-weight: normal;
}

.label, .control-label {
	padding: 4px 15px;
	font-size: 13px;
	font-weight: normal;
}

.control-label.small {
	font-size: 85%;
}

.row .label,
.row .control-label {
	margin-top: 3px;
}

label.checkbox,
label.radio {
	cursor: pointer;
	font-weight: normal;

}

.label-line {
	max-height: 22px;
}

input.fw {
	width: 90%;
}

.input-sm {
	font-size: 13px;
}

.table thead {
	background-color: #FAFBFA;
}

.radio, .checkbox {
	margin-top: 7px;
	margin-bottom: 7px;
}

.table td.text-left,
.table th.text-left {
	text-align: left;
}

.table td.text-center,
.table th.text-center {
	text-align: center;
}
.table td.text-right,
.table th.text-right {
	text-align: right;
}

.table-hover tbody tr>td,
.table-hover tbody tr>th {
	-o-transition:.3s;
	-ms-transition:.3s;
	-moz-transition:.3s;
	-webkit-transition:.3s;
	transition:.3s;
}


.table-hover tbody tr:hover>td,
.table-hover tbody tr:hover>th {
	background-color: rgba(222, 234, 246, 0.5);
}


.mod-pages-tabs {
	margin: -11px -15px 10px -15px;
	padding: 15px 0 0 0;
	background-color: rgba(2, 86, 169, 0.13);
}

.mod-pages-tabs.nav-tabs li a {
	margin: 0 -15px 0 15px;
	padding: 8px 15px 8px 15px;
	color: #2678AE;
	font-size: 16px;
	border-radius: 0;
}
.mod-pages-tabs.nav-tabs li a:hover {
	background: rgba(0,0,0,0.05);
	border-color: transparent transparent #ddd transparent;
}
.mod-pages-tabs.nav-tabs>li.active>a,
.mod-pages-tabs.nav-tabs>li.active>a:hover,
.mod-pages-tabs.nav-tabs>li.active>a:focus {
	color: #555;

	border: 1px solid transparent;
	cursor: default;

	background: #F2F7FF;

}





.fade {
	-webkit-transition: opacity .1s linear;
	transition: opacity .1s linear;
}




.slide-init {
	transition: all .9s ease-in-out;
	overflow: hidden;
}

.slide-hide {
	opacity: 1;
	height: 0px;
	margin-top: 0;
	margin-bottom: 0;
	overflow-y: hidden;
	overflow-x: hidden;
	transition: all .9s ease;

}




.margin-0 { margin: 0; }
.margin-top-0 { margin-top: 0; }
.margin-right-0 { margin-right: 0; }
.margin-bottom-0 { 	margin-bottom: 0; }
.margin-left-0 { margin-left: 0; }

.margin-5 { margin: 5px; }
.margin-top-5 { margin-top: 5px; }
.margin-right-5 { margin-right: 5px; }
.margin-bottom-5 { margin-bottom: 5px; }
.margin-left-5 { margin-left: 5px; }


.margin-10 { margin: 10px; }
.margin-top-10 { margin-top: 10px; }
.margin-right-10 { margin-right: 10px; }
.margin-bottom-10 { margin-bottom: 10px; }
.margin-left-10 { margin-left: 10px; }

.margin-20 { margin: 20px; }
.margin-top-20 { margin-top: 20px; }
.margin-right-20 { margin-right: 20px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-left-20 { margin-left: 20px; }

.margin-40 { margin: 40px; }
.margin-top-40 { margin-top: 40px; }
.margin-right-40 { margin-right: 40px; }
.margin-bottom-40 { margin-bottom: 40px; }
.margin-left-40 { margin-left: 40px; }


.pad-0 { padding: 0; }
.pad-top-0 { padding-top: 0; }
.pad-right-0 { padding-right: 0; }
.pad-bottom-0 { 	padding-bottom: 0; }
.pad-left-0 { padding-left: 0; }

.pad-10 { padding: 10px; }
.pad-top-10 { padding-top: 10px; }
.pad-right-10 { padding-right: 10px; }
.pad-bottom-10 { padding-bottom: 10px; }
.pad-left-10 { padding-left: 10px; }

.pad-30 { padding: 30px; }
.pad-top-30 { padding-top: 30px; }
.pad-right-30 { padding-right: 30px; }
.pad-bottom-30 { padding-bottom: 30px; }
.pad-left-30 { padding-left: 30px; }


.w10 { width: 10px; }
.w20 { width: 20px; }
.w50 { width: 50px; }
.w100 { width: 100px; }
.wfw { display: block;
 		width: 100%; }

.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.50; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }






.cursor-pointer {
	cursor: pointer !important;
}

.cursor-default {
	cursor: default !important;
}

.nowrap {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.nobr {
	white-space: nowrap;
}

.btn {
	transition: 0.3s;
}

.btn:hover {
	transition: 0.3s;
}


.btn-primary {
    background-color: #0174E7;
    border-color: #0166CB;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background-color: #015EBA;
    border-color: #0152A3;
}





.popover-title {
	font-size: 16px;
	color: #888888;
}

.popover-content {
	font-size: 13px;
}


.popover-static {
	position: relative;
	display: block;
	margin: 20px;
}


.loginform-flexbox {
	display: flex;
	justify-content: center;
	align-items: center;
}

.loginform-flexbox > div:nth-child(2) {
	width: 100px;
	text-align: center;
	margin-right: 10px;
}

/*
.loginform-flexbox > div {
	align-self: center;
}
*/
.popover-loginform {
	width: 250px !important;
}


.nav-pills>li>a {
	color: #333333;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
	color: #fff;
	background-color: #015EBA;

}

.nav>li>a:hover, .nav>li>a:focus {
	color: #333333;
	background-color: rgba(1, 94, 186, 0.13);
}


.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus {
	background-color: #015EBA;
	border-color: #015EBA;
}




.loading {
	width: 26px;
	min-width: 26px;
	min-height: 26px;
	background-color: transparent;
	background-image: url('../img/loading.gif');
	background-position: 50% 50%;
	background-repeat: no-repeat;
}


.inline-block {
	display: -moz-inline-stack;
    display: inline-block;
	zoom: 1;
	*display: inline;
	vertical-align: top;
}


/*  ------------------------------------------------
	FORMS
 	------------------------------------------------ */

label, button, select, textarea, input[type="text"], input[type="password"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"], .uneditable-input {
	font-size: 13px;
}

.form-control {
	padding: 6px 6px;
	line-height: 1;
	font-size: 13px;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
	cursor: default;
	background-color: #D5E5F5;
	border: 1px solid #BFD0E0;
	box-shadow: none;
}

.form-control[disabled] + span.input-group-addon,
.form-control[readonly] + span.input-group-addon,
span.input-group-addon.readonly {
	cursor: default;
	background-color: #BFD0E0;
	border: none;
}



legend {
	font-size: 16px;
}

.input-small {
	min-height: 26px !important;
	font-size: 12px !important;
}

form hr {
	margin: 20px 0 20px 0;
	border-top: 1px solid #ddd;
}

#LoginForm .form-horizontal .control-label {
	width: 100px;
}

#LoginForm .form-horizontal .controls {
	margin-left: 120px;
}


.form-horizontal .row-fluid .control-label.span6 {
	width: 48.9%;
}

.form-horizontal .control-group {

}

label.radio, label.checkbox, label.control-label {
	margin-top: 4px;
	color: #444444;
}

.select-label {
	margin-top: 4px;
}

label.require {
	opacity: 1;
	color: rgba(199, 110, 108, 1);
}

label.require:before1 {
	font-family: FontAwesome;
	content: "\f0c8";
	position: relative;
 	/* top: -0.3em; */
 	font-size: 13px;
	margin: 0 4px 0 0;
	color: rgba(199, 110, 108, 0.7);
}

.field-comment {

	margin-top: -10px;
	font-size: 12px;
	color: #888888;

}


.input-group-xs {
	margin-top: 4px;
	margin-bottom: 4px;
}

.input-group-xs>.form-control, .input-group-xs>.input-group-addon, .input-group-xs>.input-group-btn>.btn {
    height: 24px;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.3;
}


.input-group-addon:not(:first-child):not(:last-child),
.input-group-btn:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
	/* border-left: 0; */
}

.input-group-addon {
	padding: 6px;
}

.input-group-addon label {
	margin: 0;
	line-height: 12px;
}

.input-group.short,
.short-control {
	max-width: 90px;
}

.disabled {
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	/*border: 1px #f4f5f4 !important;*/
	border-color: transparent !important;
	background-color: transparent !important;
}

.select2-container-disabled .select2-choice {
	border: 1px #f4f5f4 !important;
	border-color: #f4f5f4 !important;
	background-color: #f4f5f4 !important;
	box-shadow: none !important;
}

.btn-primary.disabled {
	color: #fff !important;
	background-color: #428bca !important;
	border-color: #357ebd !important;
	opacity: 0.5 !important;
}


.has-warning .form-control {
    border-color: #DCB39B;
}

.has-warning .input-group-addon {
    color: #DA8858;
    border-color: #DCB39B;
    background-color: #FFF5EF;
}

.text-warning {
    color: #DA5E13;
}


/*  ------------------------------------------------
	WATABLE
 	------------------------------------------------ */

.watable.table {
	margin-bottom: 0;
}

.watable * {
	font-size: 12px !important;
}

.watable tbody td {
	text-overflow: ellipsis;
	max-width: 100px;
	white-space: nowrap;
	overflow: hidden;
}

.watable.table {
	width: 100%;
    border-spacing: 0 0px;
	border: 0;

}



.watable.table thead tr th,
.watable.table tbody tr td {
	border: none;
	border-bottom: 1px solid #eee;
	padding: 8px 8px;
}

.watable.table thead tr.sort th {
	border: none;
}

.watable.table thead tr.filter th {
	border: none;
	border-bottom: 1px solid #eee;
	padding: 2px 4px 8px 4px;
}


.watable.table thead tr th:last-child,
.watable.table tbody tr td:last-child {
	/*
	border-right: 1px solid #dddddd;
	*/
}

.watable.table thead tr th:first-child,
.watable.table tbody tr td:first-child {
	/*
	border-left: 1px solid #f8f8f8;
	*/
}



.watable i[class*="fa-"],
.watable i[class*="glyphicon -"] {
	opacity: 0.8;
	font-size: 14px !important;
}

.watable .sort th i[class*="fa-"],
.watable .sort th i[class*="glyphicon -"] {
	margin: 1px 0 0 -16px;
	background-color: #FAFBFA;
	opacity: 1;
	padding: 2px 0 2px 4px;
}

.watable th a {

}


.watable .filter th {
	background-color: #fafbfa;
}



.watable .filter th:first-child {
	width: 10px;
}

.watable .sort th a {
	font-size: 11px !important;
	display: block;
	width: 100%;
}

.watable tbody tr td {
  cursor: pointer;
}


.watable tbody tr.row_canceled td {
  color: #dddddd;
  text-decoration: line-through;
}


.watable .filter input.filter {
	width: 16px;
	min-width: 100%;
	border: #eee solid 1px;
}

.watable .filter .date-wrap input.filter {
	float: left;
	width: 60px;
	min-width: 60px;
}

.watable .filter .add-on {
	cursor: pointer;
}

.watable tfoot>tr>td {
 	border-top: none;
 	background: #FAFBFA;
}

.watable tfoot .btn {
	height: 30px;
}

.watable .pagination a {
	line-height: 18px;
}

.watable tfoot .btn-toolbar {
	margin: 4px 0 0 0;
}
.watable tfoot .btn-group {
	margin: 0 5px 0 0;
}

.watable tfoot p {

}

.watable .order_status {
	margin: -4px -4px -4px -4px;
	padding: 4px;
}


.watable .show-flag-0 {
	display: none;
}

.watable .show-flag-1 {
	display: block;
}


.watable thead tr:first-child>:first-child {
	border-top-left-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
}
.watable thead tr:first-child>:last-child {
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
}

.watable tbody tr:last-child>:first-child {
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
}
.watable tbody tr:last-child>:last-child {
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
}



/*  ------------------------------------------------
	MODAL
 	------------------------------------------------ */

/*
.fade {
	opacity: 0;
	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	-o-transition: opacity .1s linear;
	transition: opacity .1s linear;
}

.modal.fade {
	top: 26px;
  -webkit-transition: opacity 0.1s linear;
     -moz-transition: opacity 0.1s linear;
       -o-transition: opacity 0.1s linear;
          transition: opacity 0.1s linear;
}

.modal.fade.in {
	top: 26px;
}


.modal-body {
	max-height: 530px;
}


*/

.modal {
	overflow-y: hidden;
}

.modal.fade .modal-dialog {
	transform: translate(0,0);
}

.modal-header, .modal-footer {
	background-color: #fafbfa;
	}

.modal-header h4 {
	margin: 0;
}
.modal-dialog {

}

.modal-content {
	/* overflow: hidden; */
	border-radius: 4px;
}

@media (min-width: 768px) {
	.modal-dialog {
		width: auto;
		margin: 10px;
	}
}
@media (min-width: 1024px) {
	.modal-dialog {
		width: 800px;
		margin: 30px auto;
	}
}

.modal-footer {
	margin-top: 0px;
}

.modal-body {
	overflow-y: auto;
	height: calc(100% - 123px);
	padding: 15px 15px 15px 15px;
	background-color: #fafbfa;
}

body.modal-open {
	overflow: hidden;
	overflow-y: scroll;
}

.modal-footer .modal-alert {
	width: 70%;
}

.modal-footer .modal-alert .alert {
	text-align: left;
	padding: 4px 8px 6px 8px;

}


/*  ------------------------------------------------
	DEBUG CONSOLE
 	------------------------------------------------ */


#debug_console {
	position: fixed;
	width: 100%;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	transition: 0.3s;
	z-index: 1000000;
}

#debug_console.opened {
	position: fixed;
	top: 100%;
	height: 250px;
	margin-top: -250px;
	left: 0;
	transition: 0.3s;
}

#debug_console #console_toolbar {
	display: block;
	position: relative;
	margin: -30px 0 0 0;
	left: 0px;

	background-color: #eeeeee;
	padding: 4px;

}

#debug_console #console_toolbar .row-fluid [class*="span"] {
	min-height: 22px;
}

#debug_console #console_display {
	overflow-y: scroll;
	overflow-x: auto;
	height: 100%;
}

#debug_console #console_display .row-fluid:first-child {
	margin-top: 10px;
}



/*  ------------------------------------------------
	NAVBAR
	------------------------------------------------ */

#navbar {

	/*
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 	0px 1px 2px 0px rgba(0,0,0,0.3);
	box-shadow: 	 	0px 1px 2px 0px rgba(0,0,0,0.3);
	*/
	border: 0;

}

.navbar-inverse {
	background-image: url("../img/top_nav_bg.png");
	background-color: #015EBA;
	border-color: #013F7C;
}

body.dev .navbar-inverse {
	background-image: none;
	background-color: #385571;
	border-color: #385571;
}

#navbar .logo {
	margin: -10px 0 -5px 0px;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
	color: #fff;
	background-color: rgba(0,0,0,0.1);
	background-image: none;
}

.navbar-inverse .navbar-nav>li>a {
	font-size: 14px;
	color: rgba(255,255,255,0.7);
    padding: 15px 10px;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
    background-color: rgba(0,0,0,0.1);
    color: #fff;
}


.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; // remove the gap so it doesn't close
}

/*  ------------------------------------------------
	popover
	------------------------------------------------ */


.popover {
	width: 400px;
	max-width: 400px;
	z-index: 1000000;
}

.popover-large {
	width: 600px;
	max-width: 600px;
}

#PAGE_popover_alert {
	width: 400px;
}


/*  ------------------------------------------------
	Select2
 	------------------------------------------------ */
.select2-search input {
	/* background: url('../js/select2/select2.png') no-repeat 100% -22px; */
}



/*  ------------------------------------------------
	File input
	.btn-file
	http://www.abeautifulsite.net/blog/2013/08/whipping-file-inputs-into-shape-with-bootstrap-3/
 	------------------------------------------------ */

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 999px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}



/*  ------------------------------------------------
	On-Off Switch

	http://proto.io/freebies/onoff/
 	------------------------------------------------ */

.onoffswitch {
    position: relative; width: 50px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
	text-align: left;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
	padding: 0;
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #FFFFFF; border-radius: 9px;
}
.onoffswitch-inner {
    width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    float: left; width: 50%; height: 19px; padding: 0; line-height: 19px;
    font-size: 11px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "On";
    padding-left: 8px;
    background-color: #37A81B; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "Off";
    padding-right: 8px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    width: 11px; margin: 6px;
    background: #FFFFFF;
    border: 2px solid #FFFFFF; border-radius: 9px;
    position: absolute; top: 0; bottom: 0; right: 27px;
    -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}


/*  ------------------------------------------------
	GalleryModal
 	------------------------------------------------ */
.GalleryModal {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.85);
	z-index: 9999999;
}

.GalleryModal .close {
	cursor: pointer;
	position: absolute;
 	top: 10px;
	right: 5px;
	font-size: 20px;
	color: rgba(255,255,255,0.95);
	z-index: 9999999;
	background-color: rgba(0,0,0,0.5);
	padding: 10px;
	border-radius: 3px;
}

.GalleryModal .delete {
	cursor: pointer;
	position: absolute;
 	bottom: 80px;
	right: 5px;
	font-size: 18px;
	color: rgba(255,255,255,0.95);
	z-index: 9999999;
}

/*  ------------------------------------------------
	custom edit form elements
 	------------------------------------------------ */

.ef-picture {
	width: 100%;
	background-color: #f8f8f8;
	border: 1px solid #ffffff;
	-webkit-box-shadow: 0 0 1px 0 rgba(0,0,0,0.1);
	box-shadow: 0 0 1px 0 rgba(0,0,0,0.1);
	-webkit-border-radius: 4px;
	border-radius: 4px;
	margin: 0 0 10px 0;
}


.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.files .ef-files-item {
	margin: 0 0 5px 0;
}

.files .ef-files-item:last-child {
	margin: 0 0 10px 0;
}

.ef-files-item i {
	cursor: pointer;
}




/*

	Theme updates

*/

.bb-block-shadow {
	border: 1px solid #DFE0DE;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #fff;
	border-bottom-width: 2px;
}


/*  ------------------------------------------------
	watable cards view
 	------------------------------------------------ */

	table.table-cards * {
		font-size: 13px !important;
	}

	table.table-cards > thead {
		display: none;
	}



	table.table-cards > tfoot {
		width: 100%;
		display: block;
		position: fixed;

		z-index: 9;

		-webkit-box-shadow: 0px -2px 4px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px -2px 4px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px -2px 4px -4px rgba(0,0,0,0.3);

		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;

		border: 1px solid #dddddd;

		bottom: 0px;
		left: 0px;
	}

	table.table-cards > tfoot > tr {
		display: block;
	}

	table.table-cards > tfoot > tr > td {
		display: block;
	}



	table.table-cards > tbody {
		width: 100%;
		display: block;
		margin-bottom: 0px;
	}


	table.table-cards > tbody > tr {
		display: block;
		width: calc(25% - 6px);
		float: left;
		margin: 0 20px 20px 0;
		padding: 10px;

		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;

		background-color: #ffffff;

		-webkit-box-shadow: 0px 0px 8px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px 0px 8px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px 0px 8px -4px rgba(0,0,0,0.3);

		border: 1px solid #f2f4f1;

		transition: all .3s;

	}

	table.table-cards > tbody > tr:hover {
		background-color: #ffffff;
		border: 1px solid rgba(0,0,0,0.15);
		-webkit-box-shadow: 0px 0px 8px -2px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px 0px 8px -2px rgba(0,0,0,0.3);
		box-shadow: 	 	0px 0px 8px -2px rgba(0,0,0,0.3);
		transition: all .3s;
	}


	table.table-cards.cols-3 > tbody > tr {
		width: 33.33333333%;
	}



	table.table-cards.cols-4 > tbody > tr {
		width: calc(25% - 15px);
	}
	table.table-cards.cols-4 > tbody > tr:nth-child(4n+1) {
		clear: both;

	}
	table.table-cards.cols-4 > tbody > tr:nth-child(4n) {
		width: calc(25% - 15px);
		margin-right: 0;
		float: right;
	}





	table.table-cards.cols-5 > tbody > tr {
		width: 20%;
	}


	table.table-cards > tbody > tr > td {
		display: block;
		width: auto !important;
		max-width: initial;
	}

	table.table-cards > thead > tr:after,
	table.table-cards > tfoot > tr > td:after,
	table.table-cards > tbody:after,
	table.table-cards > tbody > tr > td:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}

	table.table-cards > tbody > tr > td .cardfield_title {
		float: left;
	}
	table.table-cards > tbody > tr > td .cardfield_value {
		float: right;
	}



/*  ------------------------------------------------
	watable hcards view
 	------------------------------------------------ */

	table.table-hcards * {
		font-size: 13px !important;
	}

	table.table-hcards > thead {
		width: calc(100% - 30px);
		display: block;
		position: fixed;
		z-index: 8;

		-webkit-box-shadow: 0px 2px 4px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px 2px 4px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px 2px 4px -4px rgba(0,0,0,0.3);

		-webkit-border-top-left-radius: 4px;
		-webkit-border-top-right-radius: 4px;
		-moz-border-radius-topleft: 4px;
		-moz-border-radius-topright: 4px;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;

		border: 1px solid #dddddd;

		margin-top: -2px;

	}

	table.table-hcards > thead > tr {
		display: block;
	}
	table.table-hcards > thead > tr > th {
		display: block;
		float: left;
		border: none !important;
		white-space: normal !important;
	}

	table.table-hcards > thead > tr > th * {
		white-space: normal !important;
	}
	table.table-hcards > tfoot {
		width: 100%;
		display: block;
		position: fixed;

		z-index: 9;

		-webkit-box-shadow: 0px -2px 4px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px -2px 4px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px -2px 4px -4px rgba(0,0,0,0.3);

		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;

		border: 1px solid #dddddd;

		bottom: 0px;
		left: 0px;
	}

	table.table-hcards > tfoot > tr {
		display: block;
	}

	table.table-hcards > tfoot > tr > td {
		display: block;
	}

	table.table-hcards > tfoot > tr > td > div {
		float: left;
	}

	table.table-hcards > tfoot > tr > td > p {
		float: left;
		margin: 10px;
	}

	table.table-hcards > tbody {
		width: 100%;
		display: block;
		margin-top: 84px;
		margin-bottom: 0px;
	}

	table.table-hcards > tbody > tr {
		margin: 10px 0 10px 0;
		display: block;
		background-color: #ffffff;

		-webkit-box-shadow: 0px 0px 8px -4px rgba(0,0,0,0.1);
		-moz-box-shadow: 	0px 0px 8px -4px rgba(0,0,0,0.1);
		box-shadow: 	 	0px 0px 8px -4px rgba(0,0,0,0.1);

		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;

		border: 1px solid #f2f4f1;
		transition: all .3s;

		height: 64px;
		overflow: hidden;
	}

	table.table-hcards > tbody > tr:hover {

		background-color: #E8F2EC;
		border: 1px solid rgba(0,0,0,0.05);
		-webkit-box-shadow: 0px 0px 8px -4px rgba(0,0,0,0.2);
		-moz-box-shadow: 	0px 0px 8px -4px rgba(0,0,0,0.2);
		box-shadow: 	 	0px 0px 8px -4px rgba(0,0,0,0.2);
		transition: all .3s;
	}

	table.table-hcards > thead > tr:after,
	table.table-hcards > tfoot > tr > td:after,
	table.table-hcards > tbody > tr:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}


	table.table-hcards > tbody > tr > td {
		display: block;
		float: left;
		border: none !important;
		max-width: none;
		padding: 8px 8px 6px 8px !important;
	}

	table.table-hcards > tbody > tr > td .cardfield_title {

		font-size: 12px !important;
		color: #aaaaaa;
		margin: 0 0 4px 0;
		height: 24px;
		line-height: 12px;
	}
	table.table-hcards > tbody > tr > td .cardfield_value {

		font-size: 14px !important;
	}


/*  ------------------------------------------------
	watable hscards view
 	------------------------------------------------ */

	.watable.table-hscards {
		width: calc(100% - 0px);
	}

	table.table-hscards * {
		font-size: 13px !important;
	}

	table.table-hscards > thead {
		width: calc(100% - 30px);
		display: block;
		position: fixed;
		z-index: 8;

		-webkit-box-shadow: 0px 2px 4px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px 2px 4px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px 2px 4px -4px rgba(0,0,0,0.3);

		-webkit-border-top-left-radius: 4px;
		-webkit-border-top-right-radius: 4px;
		-moz-border-radius-topleft: 4px;
		-moz-border-radius-topright: 4px;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;

		border: 1px solid #dddddd;

		margin-top: -2px;

	}

	table.table-hscards > thead > tr {
		display: block;
	}
	table.table-hscards > thead > tr > th {
		display: block;
		float: left;
		border: none !important;
		white-space: normal !important;
	}

	table.table-hscards > thead > tr > th * {
		white-space: nowrap !important;
	}
	table.table-hscards > tfoot {
		width: 100%;
		display: block;
		position: fixed;

		z-index: 9;

		-webkit-box-shadow: 0px -2px 4px -4px rgba(0,0,0,0.3);
		-moz-box-shadow: 	0px -2px 4px -4px rgba(0,0,0,0.3);
		box-shadow: 	 	0px -2px 4px -4px rgba(0,0,0,0.3);

		-webkit-border-bottom-right-radius: 4px;
		-webkit-border-bottom-left-radius: 4px;
		-moz-border-radius-bottomright: 4px;
		-moz-border-radius-bottomleft: 4px;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;

		border: 1px solid #dddddd;

		bottom: 0px;
		left: 0px;
	}

	table.table-hscards > tfoot > tr {
		display: block;
	}

	table.table-hscards > tfoot > tr > td {
		display: block;
		padding: 0px 15px;
		overflow: visible;
	}

	table.table-hscards > tfoot > tr > td > div {
		float: left;

	}

	table.table-hscards > tfoot > tr > td > div .pagination {
		height: auto;
	}
	table.table-hscards > tfoot > tr > td > p {
		float: left;
		margin: 10px;
	}

	table.table-hscards > tbody {
		width: 100%;
		display: block;
		margin-top: 64px;
		margin-bottom: 0px;
	}

	table.table-hscards > tbody > tr {
		margin: 0 0 -1px 0;
		display: block;
		background-color: #ffffff;



		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;

		border: 1px solid #f2f4f1;
		transition: all .3s;

		height: 34px;
		overflow: hidden;
	}

	table.table-hscards > tbody > tr:hover {

		background-color: #E7F4F9;
		border: 1px solid rgba(0,0,0,0.05);
		transition: all .3s;
	}

	table.table-hscards > thead > tr:after,
	table.table-hscards > tfoot > tr > td:after,
	table.table-hscards > tbody > tr:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}


	table.table-hscards > tbody > tr > td {
		display: block;
		float: left;
		/*border: none !important;*/
		max-width: none;
    min-height: 35px;
		padding: 8px 4px !important;
	}

	table.table-hscards > tbody > tr > td .cardfield_title {

		font-size: 12px !important;
		color: #aaaaaa;
		margin: 0 0 4px 0;
		height: 24px;
		line-height: 12px;
	}
	table.table-hscards > tbody > tr > td .cardfield_value {

		font-size: 14px !important;
	}










.gpanel {
	overflow: hidden;
}

.gpanel > .row {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

.gpanel [class^='col-md-'] {
	padding-left: 0;
	padding-right: 0;
}

.gpanel-heading {
	font-size: 14px;
	font-weight: 600;
	background-color: #f5f5f5;
	padding: 10px;
	color: #555;
}

.brd-left {
	border-left: 1px solid #dddddd;
}

.brd-right {
	border-right: 1px solid #dddddd;
}

.brd-top {
	border-top: 1px solid #dddddd;
}

#vfrow_order_data [class^='col-md-'] {
	min-height: 155px;
}

table.gpanel-data {
	width: 100%;

}

table.gpanel-data td {
	padding: 5px 10px;
	vertical-align: top;
}

.gpanel-label {
	color: #888888;
}

.gpanel-value {
	color: #111111;
}



.prod_tbl {

}

.prod_num {
	width: 30px;
	text-align: right;
}

.prod_name {
}

.prod_quant {
	width: 30px;
	text-align: right;
}



html, body {
	height: 100%;
}




.full-height {
    height: 100%;
}
