#sb-site, .sb-site-container {
	height: 100%;
	position: static;
}
#contractorBoxCover {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	background: red;
	z-index: 1000;
}
.navbar-inverse.navbar-fixed-top .brand.pull-right.sb-toggle-right i, .navbar-inverse.navbar-fixed-top .brand.pull-right.sb-toggle-right i:after {
	display: none;
}
.navbar-inverse.navbar-fixed-top .brand.pull-right.sb-toggle-right:after {
	content: "";
	display: inline-block;
	height: 20px;
	width: 20px;

    mask-image: url(../img/menu.svg);
    -webkit-mask-image: url(../img/menu.svg);
    -o-mask-image: url(../img/menu.svg);
    -ms-mask-image: url(../img/menu.svg);

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    -o-mask-repeat: no-repeat;
    -ms-mask-repeat: no-repeat;

    mask-size: 23px auto;
    -webkit-mask-size: 23px auto;
    -o-mask-size: 23px auto;
    -ms-mask-size: 23px auto;

    mask-position: center center;
    -webkit-mask-position: center center;
    -o-mask-position: center center;
    -ms-mask-position: center center;

    background-color: #fff;
    content: '';
    position: absolute;
}
#saveModal {
    width: 20px;
    height: 28px;
    display: block;
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
#saveModal:after {
    mask-image: url(../img/ok.svg);
    -webkit-mask-image: url(../img/ok.svg);
    -o-mask-image: url(../img/ok.svg);
    -ms-mask-image: url(../img/ok.svg);
    mask-size: 20px auto;
    -webkit-mask-size: 20px auto;
    -o-mask-size: 20px auto;
    -ms-mask-size: 20px auto;
    background-color: #fff;
    content: "";
    display: block;
    height: 28px;
    width: 20px;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    -o-mask-repeat: no-repeat;
    -ms-mask-repeat: no-repeat;
    mask-position: center center;
    -webkit-mask-position: center center;
    -o-mask-position: center center;
    -ms-mask-position: center center;
    position: absolute;
}
/* body.model_documents .record-bigfooter > #quickFooter-buttons {
	left: 130px;
	z-index: 3000;
	overflow: visible;
} */
body.model_documents .record-bigfooter > #quickFooter-buttons {
    position: absolute;
    left: 130px;
    z-index: 1030;
    top: -55px;
    display: inline-block;
    width: auto;
}
body.model_documents .record-bigfooter.filtersOpen > #quickFooter-buttons {
    position: absolute;
    left: 410px;
    z-index: 1030;
    top: -55px;
    display: inline-block;
    width: auto;
}
.categoryFilter, #productsWrapper .controls {
	font-size: 14px;
}
@media screen and (max-width: 1500px) {
	body.model_documents .pagination .pageSizeCont {
        margin-right: 300px;
    }
    body.model_documents .documents-left-column-bottom-summary:not(.wrapped-column) + .grid-with-bigfooter .pagination .pageSizeCont {
        margin-right: 0;
    }
    body.model_documents .record-bigfooter.filtersOpen {
        padding-top: 50px;
        bottom: -70px;
    }
    body.model_documents .record-bigfooter.filtersOpen > #quickFooter-buttons {
        position: absolute;
        left: 300px;
        z-index: 1030;
        top: -48px;
        display: inline-block;
        width: auto;
    }
}
@media screen and (max-width: 1200px) {
	.modal.container {
		width: calc(100vw - 40px) !important;
		margin-left: 20px !important;
		left: 0 !important;
	}
	.modal-scrollable .form-horizontal .modal-body {
		background: #fff;
		overflow: auto !important;
	}
	body.model_documents .pagination .pageSizeCont {
		margin-right: 0;
	}
	body.model_documents .record-bigfooter {
		padding-top: 50px;
		bottom: -70px;
	}
	body.model_documents .record-bigfooter > #quickFooter-buttons {
		left: -5px;
		top: -50px;
	}
	body.model_documents {
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (max-width: 1100px) {
	body.model_documents .record-bigfooter.filtersOpen {
		bottom: -60px;
	}
	body.model_documents .record-bigfooter.filtersOpen > #quickFooter-buttons {
		top: -60px;
	}
	/*  */
}
@media screen and (max-width: 1030px) and (min-width: 980px) {
	body.model_documents .documents-left-column-bottom-summary:not(.wrapped-column) + .grid-with-bigfooter .pagination {
		display: flex;
		flex-wrap: wrap;
	}
	body.model_documents .documents-left-column-bottom-summary:not(.wrapped-column) + .grid-with-bigfooter .pagination ul {
		order: 1;
		margin: 0 auto 10px auto;
	}
	body.model_documents .documents-left-column-bottom-summary:not(.wrapped-column) + .grid-with-bigfooter .pagination .pageSizeCont {
		order: 2;
		margin-right: 30%;
	}
	body.model_documents .documents-left-column-bottom-summary:not(.wrapped-column) + .grid-with-bigfooter .pagination .summary {
		order: 3;
		margin-left: auto;
	}
	body.model_documents .record-bigfooter.filtersOpen > #quickFooter-buttons {
		top: -70px;
		left: 500px;
	}
}

@media screen and (min-width:980px) {

	/* jurek - grid - przypiete naglowki przy przewijaniu zawartosci */
	.grid-view:not(.static) .table-scroll-content {
		bottom: 0;
		left: 0;
		overflow: hidden;
		position: absolute;
		right: 0;
		top: 45px;
	}

	.grid-view:not(.static) .table-header {
		left: 0;
		overflow: hidden;
		position: absolute;
		right: 17px;
		top: 0;
		z-index: 1;
	}

	.grid-view:not(.static) .table-body {
		bottom: 0;
		left: 0;
		overflow: auto;
		padding-top: 23px;
		position: absolute;
		right: 0;
		top: 0;
	}
}



@media screen and (max-width:979px) {
	#tagsToSetWrapper, #tagsToExcludeWrapper {
		margin-top: 0 !important;
	}
	.modal-header .modal-size-trigger, .modal-header .modal-fullsize, .modal-header .modal-normalsize {
		display: none !important;
	}
	.modal-body, .modal #horizontalForm {
	  max-height: calc(100vh - 200px) !important;
	}
	.modal-overflow.modal.fade.in {
	  max-height: calc(100vh - 60px) !important;
	}
	* {
		transition: none !important;
	}

	body {
		font-size: 16px;
		line-height: 24px;
		margin: 0;
		padding: 0;
	}


	i[class^="icon-"] {
		margin-bottom: 0 !important;
	}


	.navbar .nav,
	.main_submenu,
	/*.record-bigfooter*/ {
		display: none !important;
	}
	.record-bigfooter {
		z-index: 2000;
		position: relative;
		top: auto;
		margin-top: 10px;
	}
	.main_panel,
	.grid-view,
	.table-scroll-content,
	.pagination,
	#dashboard	{
		bottom: 0 !important;
		height: auto !important;
		left: 0 !important;
		margin: 0 !important;
		overflow: auto !important;
		padding: 0 !important;
		position: static !important;
		right: 0 !important;
		top: 0 !important;
		width: auto !important;
	}

	.pagination ul * {
		/*
		font-size: 18px !important;
		line-height: 40px !important;
		height: 40px !important;
		*/
	}

	.pagination li {
		display: none !important;
	}

	.pagination li.first,
	.pagination li.previous,
	.pagination li.next,
	.pagination li.last {
		display: inline !important;
		padding: 0 4px !important;
	}

	.pagination .first a,
	.pagination .previous a,
	.pagination .next a,
	.pagination .last a {
		padding: 0 4px;
	}


	#sb-site, .sb-site-container {
		position: relative;
	}

	.sb-scroll-lock.sb-active:not(.sb-static) body {
		overflow: hidden;
	}

	.sb-active .sb-site-overlay {
		background: #000;
		bottom: 0;
		left: 0;
		opacity: 0.5;
		position: absolute;
		right: 0;
		top: 0;
		z-index: 1;
	}

	.sb-menu {
		background: #13203d;
		float: left;
		height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
		transition: width 0.2s ease-in-out;
		width: 0;
	}

	.sb-menu.active {
		width: 100%;
	}

	.sb-menu a {
		border-top: 1px solid transparent	;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		color: rgba(255,255,255,0.8);
		display: block;
		font: 16px/27px 'open sans';
		padding: 5px 20px;
		text-decoration: none;
		width: 260px;
	}

	.sb-menu a:hover {
		background: #007ce8;
		color: #fff;
	}

	.sb-menu a i:before {
		display: none !important;
	}
	.sb-menu a i:after {
		content: "";
		display: inline-block;
		height: 26px;
		width: 26px;

	    mask-image: url(../img/dashboard/arrow.svg);
	    -webkit-mask-image: url(../img/dashboard/arrow.svg);
	    -o-mask-image: url(../img/dashboard/arrow.svg);
	    -ms-mask-image: url(../img/dashboard/arrow.svg);

	    mask-repeat: no-repeat;
	    -webkit-mask-repeat: no-repeat;
	    -o-mask-repeat: no-repeat;
	    -ms-mask-repeat: no-repeat;

	    mask-size: 26px auto;
	    -webkit-mask-size: 26px auto;
	    -o-mask-size: 26px auto;
	    -ms-mask-size: 26px auto;

	    mask-position: right center;
	    -webkit-mask-position: right center;
	    -o-mask-position: right center;
	    -ms-mask-position: right center;

	    background-color: #fff;
	    content: '';
	    position: absolute;
		transform: rotate(270deg);
	}
	.sb-menu a i {
		color: #D3D8DC;
		float: right;
		margin: 0 -10px 0 0;
		width: 26px;
		height: 26px;
	}
	.sb-menu a:first-child i {
		float: left;
		margin: 0 10px 0 -10px;
		transform: rotate(180deg);
	}
	/*



	.sb-menu a:hover i {
		color: #fff;
	} */


	.loginLogo {
		margin-top: 0 !important;
	}
	.loginBox {
		width: 300px !important;
	}
	.loginBoxContent {
		padding: 20px 10px !important;
	}
	.loginBoxLeft {
		margin-bottom: 20px;
		width: 0px !important;
	}
	.loginBoxRight {
		width: 280px !important;
	}
	.loginBoxForm .control-label {
		float: left !important;
		width: 60px !important;
	}
	.loginBoxForm .controls {
		margin-left: 80px !important;
		width: 196px !important;
	}
	.loginBoxFooter {
		padding: 15px 5px;
	}


	#dashboardQuick {
		display: none;
	}

	.dashboardQuickBox {
		margin: 0 0 15px 0 !important;
		padding: 0 15px !important;
		width: 33.3% !important;
	}

	.dashboardQuickBox:nth-child(3n+1) {
		clear: both;
	}

	.dashboardQuickBoxName,
	.dashboardQuickBox:hover .dashboardQuickBoxName {
		color: #007ce8;
		font: 24px/30px 'open sans';
	}

	.dashboardQuickBoxIcon {
		transition: none;
	}

	.dashboardQuickBox:hover .dashboardQuickBoxIcon {
		background-position: right 10px;
	}

	.dashboardQuickBoxLinks > div > a.link1,
	.dashboardQuickBoxLinks > div > a.link1:hover {
		border-top: 5px solid #E6E9EC;
		font: 18px/29px 'open sans';
		padding: 5px !important;
	}

	.dashboardQuickBox:hover .dashboardQuickBoxLinks > div > a.link1 {
		background-color: rgba(255,255,255,0.8);
		color: #223A50;
	}

	.dashboardQuickBoxLinks > div > a.link2 {
		right: 2px;
		top: 7px;
	}

	/*
	#dashboardWidget > div {
		float: none !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100%% !important;
	}
	*/

	#dashboardWidget {
		padding: 0 15px;
	}

	.dashboardWidgetBoxSelect > select {
		padding: 5px 4%;
		width: 25%;
	}
	/*
	.dashboardWidgetBoxSelect > select[data-filter-name="limit"] {
		display: none;
	}
	*/
	.dashboardWidgetBoxSelect > select[data-filter-name="type"] {
		display: block;
	}

	.dashboardWidgetBoxTabs {
		display: none;
	}

	.dashboardWidgetBoxSearch > div {
		left: -200px;
	}

	.dashboardWidgetBoxContent table th,
	#dashboardWidget table td {
		font-size: 13px !important;
		line-height: 1.4em !important;
		padding: 3px 5px !important;
	}

	#dashboardWidget .documents_statictics {
		float: none !important;
		margin: 0 !important;
	}

	#dashboardWidget .documents_statictics td {
		padding: 3px 0px !important;
	}

	#dashboardWidget .documents_hr {
		float: none !important;
		width: 100% !important;
	}


	.toggle-arrow {
		height: 32px;
		line-height: 34px;
		font-size: 20px;
		left: auto;
		right: 1px;
		text-align: center;
		top: 1px;
		width: 31px;
	}

	.toggle-arrow i {
		margin: 0;
		width: 32px;
		height: 32px;
	}
	.toggle-arrow i:after {
	    height: 32px;
	    width: 32px;

	    mask-size: 24px auto;
	    -webkit-mask-size: 18px auto;
	    -o-mask-size: 24px auto;
	    -ms-mask-size: 24px auto;
	}

	.documents-structures,
	.products-structures,
	.categories-tree {
		/* display: block !important; */
		margin: 0 !important;
		/*opacity: 0.9;*/
		top: 0;
		z-index: 100;
	}

	.documents-structures.wrapped-column,
	.products-structures.wrapped-column,
	.categories-tree.wrapped-column {
		/* display: none !important; */
	}

	/*
	.plus-minus-link {
		border: 1px solid #666;
		padding: 0 6px;
	}

	.plus-minus-link:after {
		padding: 0 !important;
		width: 15px !important;
	}
	*/


	.modal-header .close {
		padding: 0 !important;
	}

	.modal-body {
		margin: 0 !important;
		padding: 10px !important;
	}

	.modal .nav-tabs {
		background: #213A50 url(../img/modal-menu.svg) calc(100% - 10px) center no-repeat;
		padding-right: 50px;
		background-size: 20px auto;
	}

	.modal .nav-tabs > li {
		display: none;
	}

	.modal .nav-tabs > li:nth-child(1),
	.modal .nav-tabs > li:nth-child(2),
	.modal .nav-tabs > li.active  {
		display: block;
	}

	.modal .nav-tabs.active {
		/* background-image: url(../img/close.svg); */
		/* background-position: calc(100% - 10px) 10px; */
		background-image: none;
		position: relative;
	}
	.modal .nav-tabs.active:after {
		content: "";
	    display: block;
	    height: 18px;
	    width: 18px;

	    mask-image: url(../img/close.svg);
	    -webkit-mask-image: url(../img/close.svg);
	    -o-mask-image: url(../img/close.svg);
	    -ms-mask-image: url(../img/close.svg);

	    mask-repeat: no-repeat;
	    -webkit-mask-repeat: no-repeat;
	    -o-mask-repeat: no-repeat;
	    -ms-mask-repeat: no-repeat;

	    mask-size: 18px auto;
	    -webkit-mask-size: 18px auto;
	    -o-mask-size: 18px auto;
	    -ms-mask-size: 18px auto;

	    mask-position: right top;
	    -webkit-mask-position: right top;
	    -o-mask-position: right top;
	    -ms-mask-position: right top;

	    background-color: #fff;
	    content: '';
	    position: absolute;
		top: 10px;
		right: 11px;
	}
	.modal .nav-tabs.active > li  {
		display: block;
		float: none;
	}

	.modal .nav-tabs.active > li.hidden  {
		display: none;
	}

	.fieldset {
		border-width: 0 0 1px 0;
		margin: 0 0 10px 0;
		padding: 0;
	}

	.fieldset_title {
		background: none !important;
		border: 0 !important;
		color: #213a50 !important;
		font: 18px/24px 'open sans' !important;
		left: auto !important;
		margin: 0 0 10px 0 !important;
		top: auto !important;
		position: static !important;
		padding: 0 !important;
		text-transform: uppercase;
	}

	.home_table th {
		font: 16px/30px 'open sans' !important;
		padding: 5px 10px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	.home_table td {
		font: 13px/25px 'open sans' !important;
		padding: 5px 10px;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}

	/*
	.table-top > tbody > tr > td {
		display: none;
	}

	.table-top > tbody > tr > td:nth-last-child(2) {
		display: block;
		padding-right: 35px;
	}
	*/
	.grid-with-structures, .table-top {
		background: #f8fafd;
	}
	.table-top > tbody > tr > td {
		display: block !important;
		float: left !important;
		width: auto !important;
	}

	.table-top > tbody > tr > td:nth-last-child(2) {
	}

	.table-top > tbody > tr > td:last-child {
		display: none !important;
	}

	.table-top > tbody > tr > td > .btn-group {
		display: none !important;
	}
	.table-top#withCache > tbody > tr > td > .btn-group.add_action, .grid-view[modelid="products"] .table-top > tbody > tr > td > .btn-group {
		display: inline-block !important;
	}
	.preview-mob-image {
		max-height: 150px;
		width: auto;
		max-width: 100%;
	}
	.tab-content {
		overflow: auto;
	}
	#preview-mob-image {
		position:absolute;
		border:none;
		background:#fff;
		padding:0;
		display:block !important;
		color:#999;
		z-index: 10000;
		top: 20px;
		left: 10px;
		width: auto;
		max-width: calc(100% - 20px);
		height: auto;
		/* max-height: 150px; */
	}
	#preview-mob-image img {
		max-width: 100%;
		max-height: 100%;
		display: block;
	}
	.two-columns {
		margin-top: 1px;
	}

	.two-columns > tbody > tr > td {
		clear: both;
		display: block !important;
		padding: 0 !important;
		width: 100% !important;
	}

	.form-horizontal .controls {
		display: block;
		float: none;
		margin-left: 0;
		width: auto;
	}
	.form-horizontal .select-append {
		display: flex;
	}
	form[model="shipments"] #paneshipments1 .fieldset #documentsTypesSwitch {
		margin-left: 0 !important;
	}
	.form-horizontal .control-label {
		display: block;
		float: none;
		text-align: left;
		width: auto;
	}

	.form-horizontal .controls .input-prepend {
		display: block;
	}


	input.span2,
	select.span2,
	textarea.span2,
	.uneditable-input.span2 {
		display: block;
		width: 100%;
		min-height: 30px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}


	.table {
		/*
		padding-left: 62px !important;
		*/
	}

	.table .table-header-cell,
	.table .data-header-row,
	.table .table-row {
		height: 25px !important;
	}

	.table .button-column,
	.table .checkbox-column,
	.table .link-column,
	.table .table-cell {
		font: 14px/25px 'open sans' !important;
		height: 25px !important;
		padding: 0 5px !important;
	}

	.table .link-column {
		display: inline-block !important;
		text-align: center !important;
		width: 30px !important;
		padding: 0 !important;

		/*
		background: #EEE;
		border-bottom: 1px solid #DDD;
		position: absolute;
		left: 0;
		z-index: 1;
		*/
	}

	.table .link-column a {
		display: inline-block;
		font: 14px/25px 'open sans' !important;
		height: 25px !important;
		margin: 0 !important;
		text-align: center !important;
		width: 25px !important;
	}

	.table .checkbox-column {
		text-align: center !important;
		width: 20px !important;

		/*
		background: #EEE;
		border-bottom: 1px solid #DDD;
		position: absolute;
		left: 31px;
		z-index: 1;
		*/
	}

	.table .checkbox-column input {
		height: 20px !important;
		max-width: none !important;
		width: 20px !important;
	}

	#pricesGroupsTable {
		overflow-x: auto;
		overflow-y: hidden;
		width: 100%;
	}


	.modal-footer {
		text-align: left !important;
	}

	/* AM changes 8.05.2023 */
	/*.modal-footer > div {
		display: block !important;
		float: none !important;
		margin: 0 !important;
	}*/
	/* AM changes 8.05.2023 */
	.modal-footer input,
	.modal-footer select,
	.modal-footer .btn {
		display: block !important;
		margin: 0 0 10px 0 !important;
		width: 130px !important;
	}

	.modal-footer input,
	.modal-footer select {
		width: 142px !important;
	}

	.modal-footer button.btn {
		width: 156px !important;
	}

	.modal-footer > div.historyDetail,
	.modal-footer > div.prepayment {
		display: none !important;
	}

	/* AM zmiana 8.05.2023 */
	/* .modal-footer > div.languages-select-left {
		float: right !important;
	} */
	.modal-footer > div.languages-select-left {
		float: left !important;
	}
	.modal-footer > div, .modal-footer > a.btn, .modal-footer > button, .modal-footer .btn {
		display: inline-block !important;
		float: none !important;
		/* margin: 0 !important; */
	}
	.modal-footer > a.btn, .modal-footer > button, .modal-footer .btn, .modal-footer .btn-group {
		display: block !important;
		float: right !important;
		/* margin: 0 !important; */
	}
	.modal-footer .btn-success:not(.btn-save) {
		margin-right: 5px !important;
	}
	.modal-footer .btn-group {
		margin-left: 0;
	}
	.modal-footer .footer-left.docStats {
		float: left !important;
		height: auto;
		overflow: hidden;
		display: block !important;
		width: calc(100% - 180px);
	}

	.modal-footer .dropdown-toggle .caret {
		float: right;
	}

	/* .modal-footer .table_stats {
		float: right !important;
		position: static !important;
		width: 150px !important;
	} */
	.modal-footer .table_stats {
		/* float: right !important; */
		/* position: static !important; */
		/* width: 150px !important; */
		width: 100%;
	}

	.modal-footer .table_stats th,
	.modal-footer .table_stats td {
		display: block;
		margin: 0 0 10px 0;
		padding: 0;
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
	}
	.modal-footer .table_stats .no-padding-right {
		width: 100px;
		float: left;
	}
	.modal-footer .table_stats .no-padding-left {
		float: left;
		width: calc(100% - 102px);
	}
	.modal-footer .table_stats .border:not(.no-padding-left) {
		width: 100% !important;
		float: none !important;
	}
	.modal-footer .table_stats .border {
		border: 0;
	}
/* end AM zmiana 8.05.2023 */
	.modal-footer .table_stats .td_right {
		float: left;
		padding: 0 5px 0 0;
	}

	.modal-footer .table_stats.release span {
		float: none;
		padding: 0 0 0 5px;
	}
	.navbar-fixed-top .navbar .nav {
		display: none;
	}
	#dashboard:before {
		top: 200px;
		bottom: 200px;
	}
	.contextmenu.dropdown-menu {
		left: 0 !important;
		right: 0 !important;
		margin-left: auto;
		margin-right: auto;
		max-width: 300px;
		padding-top: 0;
	}
	.contextmenu.dropdown-menu .divider {
		margin: 0;
	}
	.contextmenu.dropdown-menu .contextmenuHeader {
		height: 30px;
		background: #13203d;
		border-radius: 6px 6px 0 0;
	}
	.contextmenu .dropdown-submenu .dropdown-menu {
		position: relative;
		top: auto;
		left: auto;
		margin: 0;
		margin-bottom: -3px;
		float: none;
		width: 100%;
		border: 0;
		border-top: 1px solid #e5e5e5;
		background: #f8f8f8;
		padding-left: 30px;
		box-sizing: border-box;
		border-radius: 0;
		display: none !important;
	}
	.contextmenu .dropdown-submenu.open .dropdown-menu {
		display: block !important;
		border-bottom: 1px solid #e5e5e5;
	}
	.contextmenu .dropdown-submenu a:focus {
		background: none !important;
		color: #333 !important;
	}
	.contextmenu .dropdown-submenu > a::after, .contextmenu .dropdown-submenu.open > a::after {
		border-color: transparent;
		border-top-color: #cccccc;
		border-style: solid;
		border-width: 5px 5px 0 5px;
		margin-top: 9px;
	}
	.contextmenu .dropdown-submenu.open > a {
		background: #007ce8 !important;
		color: #fff !important;
	}
	.contextmenu .dropdown-submenu.open > a i {
		color: #fff;
	}
	.contextmenu .dropdown-menu a {
		white-space: normal;
	}
	.docNameContextHeader {
		padding: 5px 0 0 20px;
	    color: #fff;
	    display: inline-block;
	    font-size: 15px;
	}
	.contextmenuClose {
		position: absolute;
		top: 0;
		right: 0;
		width: 30px;
		height: 30px;
		display: block;

		mask-image: url(../img/close.svg);
	    -webkit-mask-image: url(../img/close.svg);
	    -o-mask-image: url(../img/close.svg);
	    -ms-mask-image: url(../img/close.svg);

	    mask-repeat: no-repeat;
	    -webkit-mask-repeat: no-repeat;
	    -o-mask-repeat: no-repeat;
	    -ms-mask-repeat: no-repeat;

	    mask-size: 20px auto;
	    -webkit-mask-size: 20px auto;
	    -o-mask-size: 20px auto;
	    -ms-mask-size: 20px auto;

	    mask-position: center center;
	    -webkit-mask-position: center center;
	    -o-mask-position: center center;
	    -ms-mask-position: center center;

	    background-color: #fff;
		cursor: pointer;
	}
	.main_panel > .categories-tree {
		opacity: 0;
	}
	.main_panel > .categories-tree.wrapped-column {
		width: 0;
	}
	.main_panel > .categories-tree.loaded {
		opacity: 1;
	}
	.modal-body .table-top {
		max-width: 100%;
		display: block;
		overflow-x: auto;
		padding-bottom: 5px;
	    scrollbar-color: #999 #e6e6e6;
	    scrollbar-width: thin;
	}
	.modal-body .table-top::-webkit-scrollbar {
	    width: 5px;
	    height: 5px;
	}
	.modal-body .table-top::-webkit-scrollbar-track {
	    -webkit-box-shadow: none;
	    border-radius: 3px;
	    background: #e6e6e6;
	}
	.modal-body .table-top::-webkit-scrollbar-thumb {
	    border-radius: 3px;
	    -webkit-box-shadow: none;
	    background: #999;
	}
	/* a, button, .dropdown-menu li a {
		cursor: pointer;
		position: relative;
	} */
	.features-cont {
		width: 50%;
	}
	.features-values-pane .featuresQuerySearch-cont .controls {
		width: 100%;
	}
	
	.features-cont .controls .input-append {
		width: calc(100% - 20px);
		padding-right: 20px;
	}
	.features-cont .controls .input-append input, .features-cont .controls select {
		width: calc(100% - 42px) !important;
	}
	.features-values-pane .featuresQuerySearch-cont .input-prepend input {
		width: calc(100% - 60px) !important;
	}
	.features-cont .controls .input-append {
		width: 100%;
		padding-right: 0;
	}
	.grid-view:not(.static) .table-body {
  		overflow: visible;
	}
	.categories-tree.products-structures .products-structure-div .productsAmountFilter span {
		width: 130px;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="discountCoupons"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="bannersGroups"] .table-top > tbody > tr > td:first-child .btn-group.add_action,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group,
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group {
		display: inline-block !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr,
	div[modelid="shipments_inpost"] .table-top > tbody > tr,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr,
	div[modelid="autoMailing"] .table-top > tbody > tr {
		padding-left: 3px !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr,
	div[modelid="shipments_inpost"] .table-top > tbody > tr,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr,
	div[modelid="autoMailing"] .table-top > tbody > tr {
		display: flex !important;
		flex-wrap: wrap !important;
		position: relative !important;
		padding-right: 2px !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child,
	div[modelid="bannersGroups"] .table-top > tbody > tr > td:not(:nth-child(3)),
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child,
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child {
		width: 100% !important;
		margin-bottom: 5px !important;
		display: flex !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td.progressbarTd {
		display: flex !important;
	}
	 div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 250px) !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a {
		margin-right: 5px !important;
		margin-left: auto !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child a.btn-primary,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child a.btn-primary {
		margin-left: 0 !important;
	}
	div[modelid="shipments_apaczka"] .table-top tbody > tr > td:first-child select.switchLocalization,
	div[modelid="shipments_inpost"] .table-top tbody > tr > td:first-child select.switchLocalization {
		margin-right: 5px !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="autoMailing"] .table-top > tbody > tr > td:nth-child(2) {
		width: 100% !important;
		padding-right: 5px !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .gridChange {
		width: 170px;
		margin-right: 5px;
	}
	[model="pages"] #pane4 .controls {
    	width: 100%;
	}
	[modelid="discountCampaigns"] .table-top .btn-group.add_action {
		display: inline-block !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td:first-child {
		display: flex !important;
		flex-wrap: wrap;
	}
	/* [modelid="discountCampaigns"] .table-top tbody > tr {
		position: relative;
	} */
	[modelid="discountCampaigns"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 500px) !important;
		position: absolute;
		/* top: 0; */
		right: 0px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td,
	div[modelid="bannersGroups"] .table-top > tbody > tr > td {
		padding-left: 5px;
		padding-right: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td > div, [modelid="discountCampaigns"] .table-top > tbody > tr > td > select,
	div[modelid="bannersGroups"] .table-top > tbody > tr > td {
		box-sizing: border-box;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td > select {
		height: 34px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(1) {
		order: 1;
		width: 120px;
		margin-bottom: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action a, [modelid="discountCampaigns"] .table-top tbody > tr > td .add_action button {
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .gridChange.switch-select:nth-child(2) {
		order: 2;
		width: 120px;
		max-width: 20%;
		margin-bottom: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(3) {
		order: 3;
		width: 120px;
		margin-bottom: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(8) {
		order: 4;
		width: 120px;
		margin-right: calc(100% - 500px) !important;
		margin-bottom: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(4) {
		order: 5;
		width: calc(25% - 5px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(5) {
		order: 6;
		width: calc(25% - 5px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(6) {
		order: 7;
		width: calc(25% - 5px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(7) {
		order: 8;
		width: 25% !important;
		margin-right: 0;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td:first-child {
		padding-left: 5px;
		display: flex !important;
		justify-content: flex-start;
		padding-right: 5px;
		width: 310px;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td:first-child *,
	[modelid="bannersGroups"] .table-top > tbody > tr > td .gridChange.switch-select,
	[modelid="bannersGroups"] .table-top > tbody > tr > td .switchLocalization.switch-select {
		box-sizing: border-box;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 310px) !important;
		display: flex !important;
		box-sizing: border-box;
		padding-right: 5px;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td:nth-child(2) > .input,
	[modelid="bannersGroups"] .table-top > tbody > tr > td:nth-child(2) > .input {
		width: 100%;
		box-sizing: border-box;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td .gridChange.switch-select,
	[modelid="bannersGroups"] .table-top > tbody > tr > td .gridChange.switch-select {
		width: 160px;
		margin-right: 5px;
		height: 34px;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .switchLocalization.switch-select {
		margin-right: 5px;
		height: 34px;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .btn-group.add_action:nth-child(5) .dropdown-menu.b2bFiltr {
		right: 0;
		left: auto;
	}
	div[modelid="newsletterSettings"] .table-top > tbody > tr > td:first-child {
		width: 130px !important;
		box-sizing: border-box;
		padding-left: 5px;
	}
	div[modelid="newsletterSettings"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 130px) !important;
		box-sizing: border-box;
		padding-right: 5px;
	}
	[model="products"].form-horizontal .modal-body {
		max-height: calc(100vh - 180px) !important;
    	height: calc(100vh - 180px) !important;
	}
	[model="products"].form-horizontal .modal-footer .saveProduct {
		margin-left: 5px;
	}
	body.model_documents .record-bigfooter {
		padding-top: 0px;
		bottom: -40px;
	}
	body.model_documents .record-bigfooter > #quickFooter-buttons {
		top: -55px !important;
		left: auto !important;
		right: 150px !important;
	}
	body.model_documents .record-bigfooter {
		bottom: 0 !important;
		padding-top: 0 !important;
	}
	body.model_documents .documents-left-column-bottom-summary + .grid-with-bigfooter .pagination {
		padding: 5px !important;
	}
	body.model_documents .documents-left-column-bottom-summary + .grid-with-bigfooter .pagination .summary {
		margin-left: 300px !important;
	}
}
@media screen and (max-width: 850px) {
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child {
		flex-wrap: wrap;
		order: 1;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child > div:nth-child(4) {
		margin-right: 20% !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr {
		width: auto;
		margin-top: 5px;
		margin-left: 0;
		margin-right: 5px;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td.progressbarTd {
		width: 200px !important;
		order: 2;
		position: absolute;
		right: 5px;
		margin-top: 45px;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:nth-child(2) {
		order: 3;
		width: 100% !important;
	}
}
@media screen and (max-width: 780px) {
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child {
		flex-wrap: wrap !important;
		/* order: 1 !important; */
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(2) {
		/* order: 1 !important; */
		width: 100% !important
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(3) .switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(3) .switchLocalization {
		width: 162px !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(3),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(3) {
		width: 175px !important;
		position: absolute;
		right: 5px;
		top: 0;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a {
		width: calc(50% - 120px) !important;
		order: 2 !important;
		margin-right: 20% !important;
		margin-bottom: 5px !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a {
		width: calc(25% - 5px) !important;
		margin-right: 5px !important;
		box-sizing: border-box !important;
		height: 34px;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a:not(.btn-primary),
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a:not(.btn-primary) {
		margin-left: 0 !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 165px) !important;
		box-sizing: border-box !important;
		position: absolute;
		bottom: 7px;
		right: 0;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > a.btn-primary,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > a.btn-primary {
		order: 1 !important;
		margin-left: 0 !important;
		margin-right: 5px !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .add_action,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .add_action,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .switchLocalization {
		order: 3 !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .add_action.btn-group,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .add_action.btn-group,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization {
		order: 4 !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .add_action,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .switchLocalization,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .add_action {
		order: 5 !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .add_action.btn-group,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .add_action.btn-group {
		order: 6 !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top tbody > tr > td:first-child select.switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top tbody > tr > td:first-child select.switchLocalization {
		width: calc(50% - 100px) !important;
	}
	div[modelid="shipments_apaczka"] .table-top tbody > tr > td:first-child select.switchLocalization,
	div[modelid="shipments_inpost"] .table-top tbody > tr > td:first-child select.switchLocalization {
		width: calc(25% - 5px) !important;
		box-sizing: border-box;
		height: 34px;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization {
		margin-right: 0 !important;
		width: calc(25% - 5px) !important;
		box-sizing: border-box;
		height: 34px;
	}
}
@media screen and (max-width: 950px) {
	.charts-header {
		flex-wrap: wrap;
	}
	/*
	.charts-header .chart_filters {
		width: 100%;
	} */
}
@media screen and (max-width: 768px) {
	.cboxPhoto {
		margin-top: 0 !important;
	}
	/* #cboxLoadedContent, #cboxContent {
		height: auto !important;
	}
	#cboxMiddleLeft, #cboxMiddleRight {
		height: 100% !important;
	} */
	.products-feature {
		width: 100%;
		display: flex;
		align-items: center;
	}
	.products-feature label {
		position: relative;
		left: auto;
		top: auto;
		display: inline-block;
		width: calc(100% - 30px);
		padding-left: 10px;
		margin-bottom: 0;
	}
	.products-feature-line {
		padding-left: 0;
	}
	.products-feature input {
		position: relative;
		left: auto;
		top: auto;
	}
	.checkBoxListFeaturesOptions {
		float: none;
		display: flex;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		padding-left: 25px;
		margin-top: 10px;
	}
	.checkBoxListFeaturesOptions label {
		width: auto;
		margin-right: 15px;
		/* font-size: 11px; */
		/* width: 140px; */
		/* margin-left: calc(100% - 150px); */
	}
	/* .checkBoxListFeaturesOptions label:nth-child(1) {
		width: 120px;
	}
	.checkBoxListFeaturesOptions label:nth-child(2) {
		width: 100px;
	}
	.checkBoxListFeaturesOptions label:nth-child(3) {
		width: 110px;
	} */
	.checkBoxListFeatures, .products-feature-line {
		display: flex;
		flex-wrap: wrap;
		width:100%;
	}
	.checkBoxListFeaturesOptions-scroll {
		display: flex;
		flex-wrap: wrap;
		width: auto;
	}
	.checkBoxListFeaturesOptions {
		order: 1;
		width: 100%;
		overflow-x: auto;
	}
	.productsForm-addNewFeature-scroll {
		order: 2;
		width: 100%;
		padding-left: 25px;
	}
	.checkAll-cont {
		order: 3;
		width: 100%;
		padding-left: 25px;
	}
	.productsForm-addNewFeature {
		order: 4;
		width: 100%;
		padding-left: 25px;
	}
	.chartPie {
		max-width: 100%;
	}
	.chart svg g text {
		font-size: 11px !important;
	}
	.grid-view[modelid="products"] .table-top > tbody > tr > td:nth-child(2) {
		clear: left;
	}
	.grid-view[modelid="products"] .table-top > tbody > tr > td:nth-child(2), .grid-view[modelid="products"] .table-top > tbody > tr > td:nth-child(3) {
		width: calc(50% - 2px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td:nth-child(2) {
		width: 100% !important;
		position: relative;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .switchLocalization.switch-select {
		max-width: calc(100% - 390px);
	}
	[modelid="bannersGroups"] .table-top, [modelid="bannersGroups"] .table-top > tbody, 
	[modelid="bannersGroups"] .table-top > tbody > tr, 
	[modelid="bannersGroups"] .table-top > tbody > tr > td:not(:nth-child(3)) {
		box-sizing: border-box;
		display: flex;
		width: 100%;
	}
	[modelid="bannersGroups"] .table-top tbody tr {
		flex-wrap: wrap;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td:nth-child(1) .btn-group:nth-child(5)  {
		margin-right: 0;
	}
	[modelid="autoMailing"] .table-top > tbody > tr > td:nth-child(1) .btn-group.add_action .dropdown-menu.b2bFiltr {
		left: auto;
		right: 0;
	}
	[model="products"].form-horizontal .modal-footer {
		display: flex !important;
		align-items: flex-start !important;
	}
	[model="products"].form-horizontal .modal-footer .saveProduct,
	[model="products"].form-horizontal .modal-footer .btn-group, [model="products"].form-horizontal .modal-footer > a.btn, 
	[model="products"].form-horizontal .modal-footer > button.btn, [model="products"].form-horizontal .modal-footer .btn-group a {
	    display: block !important;
	    box-sizing: border-box;
		width: auto !important;
		margin-bottom: 0 !important;
		max-width: calc(25% - 4px) !important;
	}
	[model="products"].form-horizontal .modal-footer .btn-group a {
		max-width: 100% !important;
		width: 100% !important;
	}
	[model="products"].form-horizontal .modal-footer .historyDetail {
		display: none !important;
	}
	[model="products"].form-horizontal .modal-footer .modal_close {
		margin-right: 5px !important;
		margin-left: auto !important;
	}
	[model="products"].form-horizontal .modal-footer select[name="saveProduct"] {
		margin-bottom: 0px !important;
	}
	[model="products"].form-horizontal .modal-body {
		max-height: calc(100vh - 170px) !important;
		height: calc(100vh - 170px) !important;
	}
	body.model_documents .main_panel > .categories-tree:not(.wrapped-column) {
		z-index: 2001;
	}
	/* [modelid="bannersGroups"] .table-top tbody tr */
}
@media (max-width: 767px) {

	.dashboardQuickBox {
		width: 100% !important;
	}
	.record-bigfooter #quickFoot .contractorBox, .record-bigfooter #quickFoot .positionBox {
		width: 100%;
		margin-bottom: 5px;
	}
	#quickFoot .positionBox th {
		border-top: 1px solid #ddd;
	}
	#quickFoot > .positionBox, #quickFoot .contractorBox, #quickFoot, .record-bigfooter, #quickFoot .quickFooterStatuses, #quickFoot .quickFooterStatuses.quickFooterStatuses-overide {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
		height: auto;
	}
	.contractorBox .table {
		margin-bottom: 0;
	}
}
@media screen and (max-width: 730px) {
	body.model_documents .record-bigfooter {
		margin-top: 40px;
	}
	body.model_documents .record-bigfooter > #quickFooter-buttons {
		top: -50px !important;
		left: auto !important;
		right: auto !important;
	}
	body.model_documents .documents-left-column-bottom-summary + .grid-with-bigfooter .pagination .summary {
		margin-left: 0 !important;
	}
}
@media screen and (max-width: 700px) {
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group.add_action .dropdown-menu.b2bFiltr {
		left: auto;
		right: 0;
	}
}
@media screen and (max-width: 650px) {
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child > div:nth-child(4) {
		margin-right: 0 !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 105px) !important;
		margin-left: 105px;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) {
		width: 100px;
		position: absolute;
		left: 0;
		top: 43px;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child {
		flex-wrap: wrap;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		margin-right: 10% !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group.add_action .dropdown-menu.b2bFiltr {
		left: 0;
		right: auto;
	}
}
@media screen and (max-width: 627px) {
	.tab-pane table.two-columns {
		box-sizing: border-box;
		overflow: hidden;
		table-layout: fixed;
	}
	.tab-pane table.two-columns .fieldset {
		max-width: 100%;
		overflow-x: auto;
		box-sizing: border-box;
	}
	.tab-pane .input-append {
		max-width: 100%;
		box-sizing: border-box;
		width: 100%;
	}
	.tab-pane input:not([type=checkbox]), .tab-pane select, .tab-pane textarea {
		max-width: calc(100% - 14px) !important;
	}
	.tab-pane .input-append input:not([type="checkbox"]), .tab-pane .input-append textarea, .tab-pane .input-append select {
		width: calc(100% - 68px) !important;
	}
	.tab-pane .input-prepend textarea, .tab-pane .input-prepend input:not([type="checkbox"]), .tab-pane .input-prepend select {
		width: calc(100% - 60px) !important;
	}
	.tab-pane .input-append.input-prepend input:not([type="checkbox"]), .tab-pane .input-append.input-prepend textarea, .tab-pane .input-append.input-prepend select {
		width: calc(100% - 128px) !important;
	}
	.tab-pane .table-inline td select {
		width: 100% !important;
		max-width: 100% !important;
	}
	.tab-pane table.two-columns .table-inline:not(.tableMobileScroll) {
		table-layout: fixed;
	}
	.tab-pane table.two-columns .table-inline:not(.tableMobileScroll) select {
		max-width: calc(100% - 14px) !important;
	}
	.tab-pane .input-prepend input.money {
		width: 80px !important;
	}
	.features-cont .controls .input-append input, .features-cont .controls select {
		width: calc(100% - 42px) !important;
	}
	#colorbox {
		width: calc(100vw - 10px) !important;
		left: 5px !important;
		right: 5px !important;
		align-items: center;
		height: auto !important;
		max-height: 100vh !important;
		height: 100vh !important;
		position: fixed !important;
		top: 0 !important;
		/* top: 5px;
		bottom: 5px; */
	}
	/* #cboxWrapper {
		display: flex !important;
		
	} */
	#cboxWrapper, #cboxLoadedContent, #cboxWrapper > div:nth-child(2) {
		width: 100% !important;
		height: auto !important;
		position: relative;
	}
	#cboxWrapper {
		/* max-height: calc(100% - 50px) !important; */
		max-height: 100% !important;
	}
	#cboxWrapper > div:nth-child(2) {
		max-height: calc(100% - 50px);
	}
	#cboxContent, #cboxTopCenter, #cboxBottomCenter {
		width: calc(100% - 50px) !important;
	}
	#cboxContent {
		height: auto !important;
		margin-left: 25px;
	}
	#cboxMiddleLeft, #cboxMiddleRight {
		height: 100% !important;
		position:absolute;
		left: 0;
	}
	#cboxMiddleRight {
		left: auto;
		right: 0;
	}
	.cboxPhoto {
		max-width: 100%;
		max-height: calc(100% - 40px);
		width: auto !important;
		height: auto !important;
		margin: auto !important;
		display: inline-block;
	}
	#cboxLoadedContent, #cboxWrapper > div:nth-child(2) {
		display: flex;
	}
	#cboxWrapper > div:nth-child(2) {
		height: auto !important;
		position: relative;
	}
	#cboxPrevious {
		left: 0 !important;
	}
	#cboxNext {
		right: 0 !important;
	}
	#cboxLoadedContent {
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 20px;
		padding-bottom: 20px;
		box-sizing: border-box;
		display: flex;
		align-items: center;
	}
}
@media screen and (max-width: 600px) {
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(1) {
		position: absolute;
		top: 161px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td:nth-child(2) {
	    width: calc(100% - 125px) !important;
	    margin-left: 125px;
	    position: relative;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(8) {
		margin-right: 5px !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(4) {
		width: 25% !important;
		margin-right: 0;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .gridChange.switch-select:nth-child(2),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(3),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(8) {
		width: calc(25% - 5px) !important;
		max-width: 25%;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(4) .dropdown-menu.b2bFiltr {
		left: auto;
		right: 0;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(5),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(6) {
		width: calc(33.33% - 5px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(7) {
		width: 33.33% !important;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .gridChange.switch-select {
		max-width: 100px;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .switchLocalization.switch-select {
		max-width: calc(100% - 340px);
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		margin-right: 0 !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .add_action:first-child {
		width: 125px;
		margin-right: 5px !important;
		box-sizing: border-box;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .gridChange,
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		box-sizing: border-box;
		height: 34px;
		width: calc(50% - 70px) !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) .dropdown-toggle {
		width: 100%;
		text-align: left;
		text-overflow: ellipsis;
		padding-right: 12px;
		box-sizing: border-box;
		white-space: nowrap;
		overflow: hidden;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) .dropdown-toggle .caret {
		position: absolute;
		right: 5px;
		top: 50%;
		margin-top: 0;
	}
}
@media screen and (max-width: 550px) {
	.chart-filters-column {
		width: 33.33%;
		padding-left: 5px;
		padding-right: 5px;
	}
	.chart-filters-column, .chart-filters-column .chart-filter-months  {
		flex-wrap: wrap;
		justify-content: flex-start;
		display: flex;
	}
	.chart-filters-column .chart-filter-label {
	    width: 100%;
		margin: 0;
		text-align: left;
	}
	.chart-filters-column.interval-cont {
		padding-left: 0;
	}
	.chart-filters-column.month-cont {
		padding-right: 0;
	}
	.chart_filters {
		width: 100%;
		padding-left: 5px;
		padding-right: 5px;
	}
	.chart-filter-months.chart-filter-months-hide {
		display: none;
	}
	.modal-footer .btn-group, .modal-footer > a.btn, .modal-footer > button.btn, .modal-footer .btn-group a {
		width: 100% !important;
	    display: block !important;
	    box-sizing: border-box;
	    float: none !important;
	    clear: both !important;
	}
	[model="products"].form-horizontal .modal-footer .saveProduct,
	[model="products"].form-horizontal .modal-footer .btn-group, [model="products"].form-horizontal .modal-footer > a.btn, 
	[model="products"].form-horizontal .modal-footer > button.btn {
		width: calc(25% - 4px) !important;
		margin-bottom: 0 !important;
		max-width: calc(25% - 4px) !important;
	}
	[model="products"].form-horizontal .modal-footer .btn-group, [model="products"].form-horizontal .modal-footer > a.btn, 
	[model="products"].form-horizontal .modal-footer > button.btn,
	[model="products"].form-horizontal .modal-footer .btn-group.languages-select-left a.btn {
		padding: 5px !important;
    	font-size: 12px;
		margin-bottom: 0 !important;
	}
	[model="products"].form-horizontal .modal-footer .btn-group.languages-select-left {
		padding: 0 !important;
	}
	[model="products"].form-horizontal .modal-footer select[name="saveProduct"] {
		font-size: 12px;
		padding-bottom: 5px !important;
		padding-top: 5px;
		max-width: 100%;
		box-sizing: border-box;
		height: 30px;
	}
	[model="products"].form-horizontal .modal-footer .btn-group.languages-select-left a.btn {
		padding-left: 10px !important;
	}
	[model="products"].form-horizontal .modal-footer .btn-group.languages-select-left a.btn .caret {
		margin-top: 6px !important;
	}
	[model="products"].form-horizontal .modal-footer #ajaxSubmit {
		margin-right: 0 !important;
	}
	
	.form-horizontal .modal-body, .form-horizontal #horizontalForm {
		max-height: calc(100vh - 250px) !important;
		height: calc(100vh - 250px) !important;
	}
	.modal-overflow.modal.fade.in {
	  max-height: calc(100vh - 60px) !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > a.btn-primary,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > a.btn-primary {
		width: calc(50% - 32px) !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .add_action.btn-group,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .add_action.btn-group {
		order: 3 !important;
		margin-right: 0 !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .add_action.btn-group ul.dropdown-menu,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .add_action.btn-group ul.dropdown-menu {
		right: 0;
	}
	div[modelid="shipments_apaczka"] .table-top tbody > tr > td:first-child select.switchLocalization,
	div[modelid="shipments_inpost"] .table-top tbody > tr > td:first-child select.switchLocalization {
		order: 4 !important;
		width: calc(50% - 3px) !important;
		margin-bottom: 5px !important;
	}
	div[modelid="shipments_apaczka"] .table-top tbody > tr > td:first-child select.switchLocalization ~ select.switchLocalization,
	div[modelid="shipments_inpost"] .table-top tbody > tr > td:first-child select.switchLocalization ~ select.switchLocalization {
		order: 5 !important;
		width: calc(50% - 5px) !important;
		margin-right: 0 !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:first-child > .add_action,
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:first-child > .add_action {
		order: 6 !important;
	}
	div[modelid="shipments_apaczka"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="shipments_inpost"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 107px) !important;
	}
	[modelid="discountCoupons"] .table-top > tbody > tr > td:nth-child(1),
	[modelid="discountCoupons"] .table-top > tbody > tr > td:nth-child(2) {
		width: 100% !important;
		padding-left: 5px;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		margin-right:15%;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) {
		margin-top: 5px !important;
		margin-right: 50% !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) {
		width: calc(50% - 3px);
	}
	
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr:nth-child(6) {
		margin-right: 0 !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr .dropdown-toggle,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) .dropdown-toggle {
		width: 100%;
		box-sizing: border-box;
		text-align: left;
		padding-right: 10px;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr .dropdown-toggle .caret,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) .dropdown-toggle .caret,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) .dropdown-toggle .caret {
		position: absolute;
		right: 5px;
		top: 50%;
		margin-top: 0;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group.add_action .dropdown-menu.b2bFiltr {
		left: 0;
		right: auto;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group.add_action:nth-child(1),
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .gridChange {
		width: 130px !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		width: calc(100% - 282px) !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		margin-right: 0px !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) .dropdown-toggle {
		width: 100%;
		text-align: left;
	}
	.shipmentPackage .control-group .controls {
		width: calc(100% - 20px);
	}
}

@media screen and (max-width: 500px) {
	.features-container {
		flex-wrap: wrap;
	}
	.features-cont {
		width: 100%;
	}
	.features-cont:first-child {
		margin-bottom: 10px;
	}
	.features-cont .controls select {
		width: calc(100% - 12px) !important;
	}
	.preview-mob-image {
		display: block;
	}
	#preview-mob-image {
		right: 10px;
	}
	#preview-mob-image img {
		margin-left: auto;
		margin-right: auto;
	}
	.grid-view[modelid="products"] .table-top > tbody > tr > td > .btn-group.open {
		/* position: static; */
	}
	.grid-view[modelid="products"] .table-top > tbody > tr > td > .btn-group.open .dropdown-menu {
		position: absolute;
		left: -109px;
		width: calc(100vw - 4px);
	}
}
@media screen and (max-width: 460px) {
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr {
		box-sizing: border-box !important; 
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > a,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > a {
		width: calc(50% - 34px) !important;
		box-sizing: border-box !important; 
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > a:not(.btn-primary),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > a:not(.btn-primary) {
		margin-right: 5px !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(3),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(3) {
		/* position: relative !important;
		top: auto;
		right: auto;  */
		width: 30% !important;
		top: 39px;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .add_action:not(.btn-group),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .add_action:not(.btn-group) {
		order: 6 !important;
		width: 100px !important;
		box-sizing: border-box !important;
		margin-top: 5px;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .add_action:not(.btn-group) .btn-small,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .add_action:not(.btn-group) .btn-small {
		box-sizing: border-box !important;
		width: 100% !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .add_action.btn-group,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .add_action.btn-group {
		order: 3 !important;
		margin-right: 0 !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child select.switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child select.switchLocalization {
		order: 4 !important;
		width: calc(33% - 1px) !important;
		box-sizing: border-box !important;
		height: 34px !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:first-child > .switchLocalization ~ .switchLocalization {
		order: 5 !important;
		margin-right: 33% !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(3) .switchLocalization,
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(3) .switchLocalization {
		width: 100% !important;
		box-sizing: border-box !important;
		height: 34px !important;
	}
	div[modelid="shipments_local_apaczka"] .table-top > tbody > tr > td:nth-child(2),
	div[modelid="shipments_inpost_local"] .table-top > tbody > tr > td:nth-child(2) {
		position: absolute !important;
		bottom: 5px !important;
		width: calc(100% - 103px) !important;
		box-sizing: border-box !important;
		right: 0 !important;
		padding-left: 5px !important;
	}
}
@media screen and (max-width: 450px) {
	.modal-footer .footer-left.docStats {
		width: 100%;
		float: none !important;
		margin-bottom: 10px;
	}
	.modal-footer .btn-group, .modal-footer > a.btn, .modal-footer > button.btn, .modal-footer .btn-group a {
		width: 100% !important;
		display: block !important;
		box-sizing: border-box;
		float: none !important;
		clear: both !important;
	}
	.modal.container {
		width: calc(100vw - 20px) !important;
		margin-left: 10px !important;
		left: 0 !important;
	}
	.chart_filters .chart-filter-label {
		margin-left: 0;
		margin-bottom: 0;
	}
	.grid-view[modelid="products"] .table-top > tbody > tr > td:nth-child(2), .grid-view[modelid="products"] .table-top > tbody > tr > td:nth-child(3) {
		width: 100% !important;
		float: none;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td .switchLocalization.switch-select {
		position: absolute;
		width: 105px !important;
		max-width: 105px !important;
		top: 120px;
		box-sizing: border-box;
		margin-top: 2px;
	}
	div[modelid="bannersGroups"] .table-top > tbody > tr > td:nth-child(2) {
		width: calc(100% - 110px) !important;
		margin-left: 110px;
		margin-bottom: 0 !important;
	}
	div[modelid="bannersGroups"] .table-top > tbody > tr > td:nth-child(2) > .input {
		padding-top: 0;
		padding-bottom: 0;
		height: 34px;
	}
	div[modelid="bannersGroups"] .table-top > tbody > tr > td:nth-child(2) > .input .myfilters {
		margin-top: 2px;
	}
	div[modelid="newsletterSettings"] .table-top > tbody > tr > td:nth-child(1) {
		margin-bottom: 3px;
	}
	div[modelid="newsletterSettings"] .table-top > tbody > tr > td:nth-child(1),
	div[modelid="newsletterSettings"] .table-top > tbody > tr > td:nth-child(2) {
		width: 100% !important;
		box-sizing: border-box;
		padding-right: 5px;
		padding-left: 5px;
		float: none !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .gridChange {
		width: 60px !important;
		margin-top: 0 !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
	    width: calc(100% - 212px) !important;
	}
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) .dropdown-toggle,
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .dateGridFiltr .dropdown-toggle, 
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) .dropdown-toggle {
		text-overflow: ellipsis;
		padding-right: 12px;
		box-sizing: border-box;
		white-space: nowrap;
		overflow: hidden;
	}
	[model="products"].form-horizontal .modal-body {
		max-height: calc(100vh - 190px) !important;
		height: calc(100vh - 190px) !important;
	}
}
@media screen and (max-width: 400px) {
	.table-top {
		max-width: 100vw;
	}
	.gridChange.switch-select {
		width: calc(100% - 15px);
		display:block;
		margin-top: 2px;
	}
	.table-top > tbody > tr > td {
		width: calc(100% - 2px) !important;
		float: none !important;
	}
	.productsForm-addNewFeature-scroll, .checkAll-cont, .productsForm-addNewFeature, .checkBoxListFeaturesOptions {
		padding-left: 3px;
	}
	.chart_filters {
		flex-wrap: wrap;
		justify-content: flex-start;
		text-align: left;
	}
	.chart_filters .chart-filter-label {
		width: 100%;
	}
	/* [modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(1) {
		position: relative;
		top: auto;
		margin-top: 2px;
	} */
	/* [modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(8) {
		position: absolute;
		top: 190px;
	} */
	/* [modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(1) {
		width: calc(50% - 5px) !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .gridChange.switch-select:nth-child(2) {
		width: 50% !important;
		max-width: 50% !important;
		margin-right: 0;
	} */
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(1) {
		top: 200px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(4),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(5),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(6),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(7) {
		width: calc(50% - 5px) !important;
		max-width: calc(50% - 5px) !important;
		margin-right: 5px;
		margin-top: 5px;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .gridChange.switch-select:nth-child(2) {
		width: calc(34% - 5px) !important;
		max-width: 34% !important;
		margin-top: 0;
		margin-bottom: 0 !important;
	}
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(3),
	[modelid="discountCampaigns"] .table-top > tbody > tr > td .add_action:nth-child(8) {
		width: calc(33% - 5px) !important;
		max-width: calc(33% - 5px) !important;
		margin-bottom: 0 !important;
	}
	[modelid="discountCampaigns"] .table-top .btn-group.add_action:nth-child(7) .dropdown-menu.b2bFiltr {
		width: 300px;
	}
	[modelid="discountCampaigns"] .table-top .btn-group.add_action:nth-child(5) .dropdown-menu.b2bFiltr,
	[modelid="discountCoupons"] .table-top .btn-group.add_action .dropdown-menu.b2bFiltr {
		right: 0;
		left: auto;
	}
	[modelid="discountCampaigns"] .table-top .btn-group.add_action:nth-child(4) .dropdown-menu.b2bFiltr {
		right: auto;
		left: 0;
	}
	[modelid="bannersGroups"] .table-top > tbody > tr > td > .gridChange.switch-select,
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .gridChange {
		margin-top: 0;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .add_action:first-child {
		order: 1;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .gridChange {
		width: calc(100% - 133px) !important;
		margin-right: 2px !important;
		margin-bottom: 5px !important;
		order: 2;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .add_action:first-child {
		margin-bottom: 5px !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) {
		width: 125px !important;
		order: 3;
		position: relative;
		top: auto;
		left: auto;
		margin-left: 0;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) .dropdown-toggle {
		width: 100%;
		text-align: left;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(4) .dropdown-toggle .caret {
		position: absolute;
		right: 5px;
		top: 50%;
		margin-top: 0;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child .btn-group:nth-child(3) {
		width: calc(100% - 133px) !important;
		order: 4;
		margin-right: 2px !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:nth-child(2) {
		width: 100% !important;
		margin-left: 0px !important;
	}
	div[modelid="autoMailing"] .table-top > tbody > tr > td:first-child {
		margin-bottom: 3px !important;
		padding-right: 3px !important;
	}
	[model="products"].form-horizontal .modal-footer .btn-group.languages-select-left a.btn {
		padding-left: 5px !important;
	}
}
@media screen and (max-width: 380px) {
	div[modelid="autoMailingQueue"] .table-top > tbody > tr > td.progressbarTd {
		width: calc(50% - 3px) !important;
	}
}
