/*************
* GLOBAL
*/

/**
@font-face {
	font-family: 'LucidaGrande';
	src: url('./fonts/LucidaGrande.woff')  format('truetype');
}
**/

body.lang-lv {
	font-family: 'Open Sans', sans-serif;
}

body, td {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #333;
	min-height: 100%;
}

body {
	background-image: url('/template/images/background_left.png'), url('/template/images/background_right.png');
	background-position: left top, right top;
	background-repeat: no-repeat, no-repeat;
}

h1,
h2,
h3 {
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
	line-height: 1.2em;
	color: inherit;
}

h1 {
	font-size: 35px;
}
h2 {
	font-size: 30px;
	margin-bottom: 20px;
}
h3 {
	font-size: 27px;
}

h1#content-title {
	margin-top: 0px;
	margin-bottom: 20px;
}

a {
	color: #279588;
	transition: color 0.4s;
}
a:hover {
	color: #006B80;
	text-decoration: none;
}



.block-title {
	clear: both;

	font-weight: normal;
	margin: 30px 0px 20px 0px;
	color: #333;
}

/*************
* HEADER
*/

#header {
	position: relative;
	margin: 35px 0px 25px 0px;
	z-index: 4;
}

#header .row > div {
	padding: 0px 10px;
}

#header .logo {
	display: inline-block;
	width: 164px;
	height: 57px;
	max-width: 100%;
	background: url(../images/logo.png) center no-repeat;
	background-size: 100% auto;
}

div#nav {
	position: relative;
	background: #279588;
	z-index: 4;
}

#header .lang-select {
	margin-bottom: 10px;
}

#header .rounded-wrapper > a,
#header .rounded-wrapper i.fa {
	font-size: 21px;
	margin-right: 15px;
	color: #006B80;
}

#header .rounded-wrapper i.fa.fa-cart-plus {
	font-size: 25px;
	transition: color 0.5s, font-size 0.5s;
}

#header .rounded-wrapper > a:hover {
	text-decoration: none;
}

#header .rounded-wrapper i.fa:last-child {
	margin-right: 0px;
}

#header div#cart-box {
	position: relative;
	display: inline-block;
	margin-right: 15px;
}

#header .rounded-wrapper {
	position: relative;
	width: 100%;
	max-width: 230px;
	float: right;
	padding: 4px 8px;
	margin-top: 8px;
	text-align: center;
}

form.search_form.header {
	margin-top: 8px;
}

#lang-flags img {
	border: solid 1px #aaa;
}

#responsive-header {
	margin: 10px 0px;
	text-align: center;
}

#responsive-header .logo {
	display: inline-block;
	width: 164px;
	height: 57px;
	background: url(../images/logo.png) center no-repeat;
	background-size: 100% auto;
}

#cart-widget #text {
	font-weight: bold;
}

#cart-widget #text a {
	color: #d50023;
	text-decoration: underline;
}
#cart-widget #text a:hover {
	text-decoration: none;
}


/*************
* MENU
*/

#menu.normal {

}

#menu.normal ul.level-1 {
	width: 100%;
	display: table;
}

#menu.normal ul.level-1 > li {
	display: table-cell;
	float: none;
	text-align: center;
	vertical-align: middle;
}

#menu.normal ul.level-1 ul {
	background: #fff;
}


#menu.normal ul.level-1 > li:first-child {
	border: none;
}

#menu.normal ul.level-1 > li:hover > .item > a,
#menu.normal ul.level-1 > li.active > .item > a {
	color: #FFF;
	background: #006B81;
}

#menu.normal ul ul li:hover > .item > a,
#menu.normal ul ul li a:hover {
	background: #006B81;
}

#menu.normal ul ul li.active > .item > a {
	/* font-weight: bold; */
}

#menu.responsive {
	background: #FFF;
}

#menu.responsive .menu-bar {
	background: #279588;
	color: #fff;
	font-size: 15px;
	text-align: right;
}

#menu.responsive .menu-bar a {
	color: #fff;
}

#menu.responsive .menu-bar a .fa {

}

#menu.responsive .menu-bar a.cart-button span {
	color: #98AAB9;
}

#menu.responsive .menu-bar a.lang-button span {
	position: relative;
	right: -4px;
}
#menu.responsive .menu-bar a.lang-button .fa {
	font-size: 12px;
}

#menu.responsive ul.level-1 {
	border-bottom: solid 1px #eee;
	margin-bottom: 5px;
	box-shadow: #ccc 0px 5px 10px;
}



/*************
* SEARCH
*/

.search_form {
	position: relative;
	clear: both;
}

.search-box {
	position: relative;
	margin: 0px;
	text-align: left;
	padding: 0px;
}

.search-box input {
	margin: 0px;
	padding: 0px;
}

.search-box input[type="text"] {
	padding: 8px 10px 8px 10px;
	width: 100%;
	color: #444 !important;
	margin: 0px;
	font-size: 16px;
	float: right;
	max-width: 430px;
}

.search-box .searchsubmit {
	padding: 4px 10px;
	border: none;
	border-radius: 0px 5px 5px 0px;
	color: #006B80;
	background: #F5F5F5;
	position: absolute;
	right: 2px;
}

.search-box .searchsubmit i.fa {
	font-size: 19px;
}

.search-box .searchsubmit:hover {
	opacity: 0.9;
}

#responsive-search .search-box {
	margin: 20px 0px 0px 0px;
	position: relative;
	width: 100%;
	float: left;
}

#responsive-search .search {
	max-width: 100%;
	width: 330px;
	padding: 10px;
}
#responsive-search .searchsubmit {
	padding: 8px 12px;
}


/*************
* MAIN CONTENT
*/
.main {
	position: relative;
	padding: 0px;
	margin: 20px 0px 20px 0px;
	z-index: 4;
}

.main.with-background {
	background: url('../images/architecture_1.jpg') fixed;
}

.main.with-background .default-wrapper {
	padding: 20px;
	background: rgba(255,255,255,0.9);
	margin-top: 30px;
	margin-bottom: 30px;
	max-width: 800px;
}

.main.cart-and-invoices,
.main.favourite-products {
	margin: 0px;
	padding: 40px 0px;
}

body#page-FIRSTPAGE .main.favourite-products {
	display: none;
}

.main.cart-and-invoices {
	background: #F4F4F4;
	position: relative;
	z-index: 2;
}

.main .block-title {
	font-weight: 600;
	color: #005566;
	text-align: left;
	text-transform: uppercase;
}

#content-area {
	position: relative;
}

#content {
	padding-bottom: 20px;
	line-height: 1.8em;
}

#content table {
	width: 100% !important;
}


/*************
* SIDEBAR
*/

#sidebar {
	position: relative;
}

#sidebar .banner {
	text-align: center;
	margin-bottom: 20px;
}

.sidebar .menu-container {
	position: relative;
	margin: 0px 0px 10px 0px;
}

.sidebar .menu-container ul.level-1 > li:first-child {
	border: none !important;
}

.sidebar .menu-container ul li a {
	padding: 12px 10px;
}

.sidebar .menu-container ul li a:hover,
.sidebar .menu-container ul li.active a {

}

.sidebar .menu-container.vertical ul ul li a {
	padding: 5px 20px 5px 35px;
}

.sidebar .menu-container .submenu-button {
	height: 36px;
	line-height: 36px;
}

.sidebar .menu-container .submenu-button::before,
.sidebar .menu-container .submenu-button::after {
	margin-top: -7px;
	background: #55690D;
}



/*************
* FOOTER
*/


#footer {
	position: relative;
	padding: 20px 0px;
	border-top: solid 2px #B52733;
	min-height: 320px;
	margin-top: -320px;
	color: #2B2B2B;
	line-height: 160%;
	background-image: url('/template/images/background_footer_left.png'), url('/template/images/background_footer_right.png');
	background-position: left top, right top;
	background-repeat: no-repeat, no-repeat;
	background-color: #FFF;
	z-index: 1;
}

#footer a {
	color: #2B2B2B;
}

#footer .block-title {
	padding: 0px;
	margin: 0px 0px 20px 0px;
	text-align: left;
	background: none;
	color: #818181;
	font-weight: 600;
	font-size: 21px;
}

#footer ul {
	list-style: none;
	padding: 0px;
}

#footer #newsletter-widget .row > div {
	margin-bottom: 15px;
}





/*************
* GENERAL STYLES / default styles
*/

.lang-select#lang-codes {
	font-size: 0px;
}

.lang-select#lang-codes a {
	display: inline-block;
	font-size: 14px;
	line-height: 1em;
	padding: 0px 8px;
	border-left: solid 1px #ccc;
}

.lang-select#lang-codes a:first-child {
	padding-left: 0px;
	border: none;
}

.lang-select#lang-codes a:last-child {
	padding-right: 0px;
}


.lang-dropdown ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	position: relative;
	z-index: 100;
}

.lang-dropdown ul:hover {
	box-shadow: #ccc 0px 1px 5px;
}

.lang-dropdown ul li {
	display: none;
	text-transform: uppercase;
	background: #fff;
	border-top: solid 1px #eee;
}


.lang-dropdown ul:hover li,
.lang-dropdown ul li:first-child {
	display: block;
	position: relative;
}

.lang-dropdown ul li:first-child {
	background: none;
	border: none;
	padding: 10px;
}

.lang-dropdown ul li:first-child::after {
	font-family: FontAwesome;
	content: "\f107";
	display: inline-block;
	color: #ff0000;
	margin-left: 4px;
}

.lang-dropdown ul li a {
	color: inherit;
	cursor: pointer;
	display: block;
	padding: 10px;
}


.lang-dropdown ul li a:hover {
	background: #ff0000;
	color: #fff;
}

.modal {
	overflow-x: hidden !important;
}

#modal-lang {
	text-align: center;
}

#modal-lang a {
	display: inline-block;
	margin: 5px;
	border: solid 1px #ccc;
	border-radius: 4px;
	padding: 10px 20px;
	background: #fff;
	box-shadow: inset #ccc 0px 0px 10px;
	text-align: center;
	text-decoration: none;
}

#modal-lang a img {
	border: solid 1px #ccc;
}

#modal-lang a span {
	display: block;
	margin-top: 2px;
}

.user-area {
	margin: 20px;
}

#login-box {

}

#login-box .links {
	margin: 0px 0px 20px 0px;
}

#login-box .links a {
	display: inline-block;
	margin-right: 10px;
	font-weight: bold;
}

#login-box .inputs #email,
#login-box .inputs #password {
	padding: 6px;
	border-radius: 5px;
	border: solid 1px #ddd;
	width: 100%;
}

#login-box .auto-login {
	text-align: left;
	margin: 10px 0px 0px 10px;
}

#login-box .auto-login label {
	font-weight: normal;
}

#login-box .btn {
	margin-top: 0px;
	color: #fff;
	height: 45px;
	font-size: 15px;
	padding-top: 8px;
	border-radius: 4px;
}

#login-box .btn i.fa {
	font-size: 23px;
	position: relative;
	top: 3px;
}

.btn {
	border-radius: 2px;
	text-decoration: none !important;
}

.btn-default {
	color: #FFF;
	background-color: #31708F;
	border: none;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
	color: #FFF;
	background-color: #2198d2;
	border: none;
	padding: 5px 10px;
	transition: background 0.4s;
}

.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
	background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
	background-color: #F5F5F5;
	border-color: #EDEDED;
}

.btn-default .badge {
	color: #F5F5F5;
	background-color: #3B3B3B;
}



.btn-success {
	color: #ffffff;
	background: #2198D2;
	border: none;
	min-width: 120px;
	text-align: center;
	transition: background 0.4s;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
	color: #ffffff;
	background-color: #31708F;

}

.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
	background-image: none;
}

.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
	background-color: #AFC0C9;
	border-color: #A7B8C2;
}

.btn-success .badge {
	color: #AFC0C9;
	background-color: #ffffff;
}

.default-wrapper {
	position: relative;
	width: 100%;
	float: left;
}

#cookie_warning {
	position: fixed;
	bottom: 0px;
	left: 0px;
	min-height: 70px;
	padding: 20px;
	width: 100%;
	color: #2a6500;
	background: #deffc6;
	z-index: 3;
}

#cookie_warning p {
	margin-top: 5px;
	margin-right: 20px;
}

#cookie_warning a {
	font-weight: bold;
}

#cookie_warning input[type=submit],
#cookie_warning p {
	float: left;
}

.cookie-agreement {
	position: relative;
	max-width: 960px;
	float: none;
	margin: 0 auto;
}

.footer-blocks {
	position: relative;
	width: 100%;
	float: left;
}

select#product_category {
	color: #006B81;
	position: absolute;
	top: 0px;
	left: 0px;
	max-width: 250px;
	height: 40px;
}

select#product_category {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url(/template/images/arrow_down.png);
	background-repeat: no-repeat;
	background-position-x: calc(100% - 10px);
	background-position-y: 15px;
}

#header .rounded-wrapper,
.search-box input[type="text"],
select#product_category {
	border-radius: 12px;
	border: 1px solid #C3C3C3;
	background-color: #F5F5F5;
}

body,
#header,
#nav,
.header-banner-wrapper,
#page,
.main,
#footer {
	position: relative;
	width: 100%;
	float: left;
}

div#page {
	min-height: 100%;
	padding-bottom: 320px;
}

.category-wrapper {
	text-align: center;
	min-height: 160px;
}

a.category-name {
	color: #A1A1A1;
	transition: color 0.4s;
}

a.category-name:hover {
	color: #006B80;
	text-decoration: none;
}

a.category-name h3 {
	font-weight: 600;
	font-size: 22px;
}

.block-text {
	position: absolute;
	top: 0px;
	left: 15px;
	color: #FFF;
	width: calc(100% - 30px);
	height: 100%;
	text-align: center;
}

.text-wrapper {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.list-categories,
.list-campaigns {
	margin-bottom: 40px;
}

#header .ajax-search-results {
	position: absolute;
}

#responsive-search .ajax-search-results {
	margin-top: 10px;
	float: left;
}

.ajax-search-results {
	right: 10px;
	top: 48px;
	background: #FFF;
	z-index: 6;
}

.ajax-search-results .result {
	padding: 5px 0px;
	min-height: 45px;
	background: #FFF;
}

.ajax-search-results .result:hover a,
.ajax-search-results .result:hover span,
.ajax-search-results .result:hover i.fa,
.ajax-search-results .result:hover,
.ajax-search-results .result.active a,
.ajax-search-results .result.active span,
.ajax-search-results .result.active {
	color: #FFF;
	background: #006B81;
}

a.search-result-link {
	color: #279588;
	font-size: 17px;
}

span.category-name {
	position: relative;
	width: 100%;
	float: left;
	font-size: 12px;
	color: #777;
	font-style: italic;
}

input[name="cart_name"] {
	max-width: 320px;
	float: left;
	margin-right: 15px;
	padding: 4px 8px;
	width: 100%;
}

.cart-name,
.cart-sum,
.cart-date,
.cart-link,
.cart-delete,
.cart-data .title,
.purchase-nr,
.order-nr {
	float: left;
	min-height: 24px;
}

.purchase-nr {
	width: 60px;
}

.order-nr {
	width: 100px;
}

.order-sum {
	width: 14%;
}

.carts-wrapper.narrow {
	width: calc(100% - 240px);
}

.cart-name,
.cart-sum {
	font-weight: 600;
}

.cart-sum {
	position: relative;
	min-width: 85px;
	min-height: 24px;
}

.cart-name {
	width: 210px;
}

.cart-sum,
.cart-link {
	width: 85px;
}

.cart-date {
	width: 75px;
	font-size: 14px;
}

.cart-delete {
	width: 40px;
	text-align: right;
	cursor: pointer;
}

.cart-delete a,
.cart-sum {
	color: #B0343F;
}

.client-firstname,
.client-lastname {
	width: 120px;
	float: left;
}

.client-code {
	width: 80px;
	float: left;
	min-height: 24px;
}

.cart-link {
	text-align: right;
	cursor: pointer;
	width: 50px;
	min-height: 24px;
}

.title.invoice-status.text-right {
	min-width: 70px;
}

.cart-link a {
	color: #444;
}

.cart-data {
	padding: 8px 12px;
	margin-bottom: 2px;
	font-size: 14px;
	background: #FFF;
}

.order-quick-view,
.cart-quick-view,
.add-to-multiple-carts {
	position: fixed;
	top: calc(50% - 250px);
	height: 500px;
	padding: 30px;
	box-shadow: 0px 0px 30px #000;
	max-height: calc(100% - 100px);
	overflow-y: scroll;
	background: #FFF;
	z-index: 6;
}

.order-quick-view {
	width: 1040px;
	left: calc(50% - 520px);
}

.assignment_popup::-webkit-scrollbar,
.product-quick-view::-webkit-scrollbar,
.order-quick-view::-webkit-scrollbar,
.cart-quick-view::-webkit-scrollbar,
.add-to-carts::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.assignment_popup,
.product-quick-view,
.order-quick-view,
.cart-quick-view {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.product-data .name,
.product-data .amount,
.product-data .price,
.product-data .price-total {
	float: left;
}

table.product-data .price {
	color: #B0343F;
	font-size: 27px;
	font-weight: 600;
}

.product-data .name {
	width: 55%;
	font-weight: 600;
}

.product-data .name a {
	color: #000;
}

.product-data .amount,
.product-data .price,
.product-data .price-total {
	width: 15%;
}

span.date {
	float: left;
	margin-bottom: 10px;
	color: #777;
	font-size: 15px;
	font-style: italic;
}

span.company-code {
	position: relative;
	display: inline-block;
	font-size: 15px;
	font-style: italic;
	color: #777;
}

.product-data {
	line-height: 175%;
}

span.total-sum {
	font-size: 27px;
	font-weight: 600;
	color: #B0343F;
}

a.activate-cart {
	float: right;
	text-transform: uppercase;
	background: #279588;
	border: 0px;
}

a.activate-cart:hover {
	background: #1a6c62;
}

div#close_order,
div#close_cart {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 23px;
	cursor: pointer;
}

#message a {
	color: #B0343F;
	text-decoration: underline;
}

ul.nav-tabs > li a {
	border-radius: 12px 12px 0px 0px;
	border: 1px solid #F4F4F4;
}

ul.nav-tabs > li:hover > a,
ul.nav-tabs > li.active > a {
	background: #F4F4F4 !important;
	border-color: #F4F4F4;
}

.nav-tabs {
	border-bottom: 0px;
}

#responsive-search select#product_category {
	position: relative;
	max-width: 100%;
	min-height: 44px;
	width: 330px;
	float: left;
	margin: 25px 0px 15px 0px;
}

ul.nav-tabs > li,
a.activate-cart,
a.btn.btn-success.copy-cart-link {
	transition: background 0.4s;
}

a.btn.btn-success.copy-cart-link {
	text-transform: uppercase;
	background: #006B81;
}

a.btn.btn-success.copy-cart-link:hover {
	background: #0095b4;
}

a#items_count {
	color: #FFF;
	background: #B72633;
	font-size: 12px;
	position: absolute;
	top: -20px;
	left: 0px;
	z-index: 3;
	padding: 2px;
	border-radius: 50%;
	min-width: 23px;
	height: 23px;
}

.dataTables_length,
.dataTables_filter {
	margin-top: 10px;
}

.dataTables_length,
.dataTables_length label,
.dataTables_filter,
.dataTables_filter label {
	position: relative;
	max-width: 100%;
	width: 330px;
	float: left;
	text-align: left;
}

.dataTables_length input,
.dataTables_length select,
.dataTables_filter input,
.dataTables_filter select {
	width: 100%;
	margin-left: 0px !important;
}

div#products_menu {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	background: #FFF;
	z-index: 3;
	padding: 10px;
}

#products_menu input[type="text"] {
	float: left;
	max-width: calc(100% - 45px);
	height: 45px;
}

.open-menu {
	position: relative;
	float: left;
	width: 35px;
	margin-top: 3px;
	margin-left: 10px;
	font-size: 40px;
	line-height: 1;
}

.sort-by-wrapper.active {
	position: relative;
	width: 100%;
	float: left;
	margin-top: 80px;
	line-height: 160%;
	padding-left: 15px;
	font-weight: 600;
	font-size: 18px;
}

.sort-by-wrapper i.fa.fa-sort,
.sort-by-wrapper i.fa.fa-sort-asc,
.sort-by-wrapper i.fa.fa-sort-desc {
	position: relative;
	float: left;
	font-size: 15px;
	margin-right: 10px;
	margin-top: 5px;
	color: #777;
}

.sort-by-wrapper .sort-by {
	color: #000;
	cursor: pointer;
}

#products_menu i.fa.fa-search {
	position: absolute;
	top: 20px;
	right: 65px;
	font-size: 23px;
	color: #AAA;
}

.sort-by.active,
.sort-by.sort-asc i.fa.fa-sort-asc,
.sort-by.sort-desc i.fa.fa-sort-desc {
	color: #B82736 !important;
}

.sort-by.sort-asc i.fa,
.sort-by.sort-desc i.fa {
	position: relative;
	font-size: 18px;
}

.sort-by.sort-asc i.fa {
	top: 3px;
}

.sort-by.sort-desc i.fa {
	top: -6px;
}

div#header.sticky,
div#nav.sticky {
	position: fixed;
	left: 0px;
	margin: 0px;
	padding: 5px 0px;
}

div#header.sticky {
	z-index: 5;
}

div#nav.sticky {
	z-index: 5;
}

div#header.sticky {
	top: 0px;
	background: #FFF;
}

div#nav.sticky {
	top: 72px;
	padding: 0px;
	background: #279588;
}

div#nav.sticky #menu.normal ul > li > .item > a {
	padding: 10px 15px;
}

#menu ul.level-2 li .item a {
	color: #006B81;
}

#menu ul.level-2 li.active > .item a,
#menu ul.level-2 li:hover > .item a {
	color: #FFF;
	background: #006B81;
}

.client-name {
	position: absolute;
	bottom: -15px;
	width: 100%;
	text-align: center;
	color: #006B81;
	font-size: 14px;
	font-weight: 600;
}

#header.sticky .client-name {
	display: none;
}

#header input[name="search"] {
	height: 40px;
}

input.regular-input, input.password-input {
	max-width: 250px;
	margin-right: 20px;
}

input[name="save_and_empty"] {
	max-width: 300px;
	height: 45px;
	margin-right: 10px;
	float: left;
	padding: 8px 8px;
	font-size: 15px;
	text-transform: uppercase;
}

.active-cart-name {
	position: fixed;
	bottom: 10px;
	right: 10px;
	background: #279588;
	color: #FFF;
	padding: 8px 16px;
	border-radius: 4px;
	z-index: 3;
}

div#products_paginate {
	float: inherit !important;
	display: inline-block;
}

.product-caregories,
.product-caregories a {
	font-size: 13px;
	text-transform: lowercase;
	color: #444;
}

.product-quick-view .product-caregories,
.product-quick-view .product-caregories a {
	font-size: 15px;
	text-transform: none;
}

.product-quick-view {
	position: fixed;
	top: 150px;
	width: 400px;
	left: calc(50% - 200px);
	overflow-y: scroll;
	padding: 40px 20px;
	background: #FFF;
	z-index: 6;
	box-shadow: 0px 0px 25px #000;
}

table.product-data {
	width: 100%;
	margin-bottom: 30px;
}

table.product-data tr td:nth-child(1) {
	font-weight: 600;
}

.add-to-cart {
	margin-bottom: 30px;
}

i.close-quick-view {
	position: absolute;
	top: 8px;
	right: 10px;
	font-size: 27px;
	cursor: pointer;
}

a.add-selected-amounts {
	font-size: 15px !important;
	float: right;
}

a.add-selected-amounts i.fa {
	font-size: 23px;
}

table.product-data tr td:nth-child(1) {
	width: 40%;
}

table.product-data tr td:nth-child(2) {
	width: 60%;
}

a.add-selected-amounts.btn.btn-success.cart {
	padding-bottom: 9px;
}

div#products_length {
	display: none;
}

table.client-agreements {
	margin: 20px 0px;
}

table.client-agreements tr th,
table.client-agreements tr td {
	padding: 5px 10px;
}

table.client-agreements tr td a {
	color: #444;
}

/**
#sidebar span.submenu-button {
display: none;
}
*/

table#products tr td:nth-child(4),
table#products tr td:nth-child(5),
table#products tr td:nth-child(6),
table#products tr td:nth-child(7),
table#products tr td.availability {
	text-align: center;
}

table#products tr td.price {
	width: 85px;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
	border: 0px;
}

.order-content,
.cart-content {
	position: relative;
	width: 100%;
	float: left;
	height: 100%;
}

/**
.order-content {
-ms-overflow-style: none;
scrollbar-width: none;
}
.order-content::-webkit-scrollbar {
display: none;
}
**/

.order-items,
.cart-items {
	position: relative;
	float: left;
	overflow-y: scroll;
}

.order-items {
	height: calc(100% - 120px);
}

.cart-items {
	height: calc(100% - 200px);
}

.order-items {
	width: 100%;
	padding-right: 0px;
}

.cart-items {
	width: 100%;
}

.order-items::-webkit-scrollbar,
.cart-items::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.order-items,
.cart-items {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting {
	background-position: calc(100% - 10px) 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
}

.cart-content h3.block-title {
	font-size: 24px;
	max-width: 90%;
}

a#confirm_order {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: 400;
	min-height: 45px;
	padding-top: 11px;
	min-width: 200px;
	background: #B72633;
	transition: background 0.4s;
}

a#confirm_order:hover {
	background: #881b25;
}

.main.orders-and-carts {
	background: #f8f8f8;
	padding: 40px 0px;
}

a.view-all {
	color: #FFF;
	padding: 5px 15px;
	text-transform: uppercase;
	margin-top: 15px;
	float: right;
	background: #006B81;
	transition: background 0.4s;
}

a.view-all:hover {
	text-decoration: none;
	background: #004351;
}

.duration.default-wrapper {
	font-style: italic;
	color: #777;
}

.description.default-wrapper {
	margin: 15px 0px;
}

.discount-percent {
	font-size: 17px;
	font-weight: 600;
}

span.discount-percent {
	font-size: 23px;
	color: #B82736;
}

.campaign-wrapper {
	position: relative;
	width: 100%;
	float: left;
	padding: 15px;
	background: #FAFAFA;
	margin-bottom: 20px;
}

.campaign-wrapper h3.block-title {
	margin-top: 0px;
}

.assignment_popup {
	position: fixed;
	top: calc(50% - 240px);
	left: calc(50% - 190px);
	width: 380px;
	height: 480px;
	padding: 40px 20px 20px 20px;
	text-align: left;
	overflow-y: scroll;
	background: #FFF;
	z-index: 999999;
	box-shadow: 0px 0px 20px #000;
}

i.fa.fa-times {
	position: absolute;
	top: 10px;
	right: 12px;
	font-size: 23px;
	cursor: pointer;
}

select[name="active_unit"] {
	position: relative;
	top: 8px;
	height: 40px;
	width: calc(100% - -5px);
	max-width: 320px;
	float: left;
	padding: 2px;
	background: #F5F5F5;
	border-radius: 12px !important;
	border: 1px solid #C3C3C3;
}

p.active-unit-label {
	position: absolute;
	top: -24px;
	right: 52%;
	color: #006B81;
	font-weight: 600;
}

i.next-arrival {
	color: #777;
	font-size: 13px;
	position: relative;
	width: 100%;
	float: left;
	margin-top: -5px;
}

.tilted-title {
	position: absolute;
	width: 160px;
	font-size: 13px;
	z-index: 20;
	margin-left: -7px;
}

.left-a1 {
	left: 59%;
}
.left-a2 {
	left: 67.33%;
}
.left-a3 {
	left: 75.66%;
}
.left-a4 {
	left: 83.99%;
}
.left-a5 {
	left: 92.32%;
}

.left-b1 {
	left: 58.33%;
}
.left-b2 {
	left: 66.66%;
}
.left-b3 {
	left: 83.32%;
}

.order-items {
	margin-top: 10px;
	padding-top: 30px;
}

.order-items div {
	line-height: 170%;
}

#dark_overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 6;
}

a.initials {
	font-weight: bold;
	cursor: pointer;
}

.client-info.active {
	position: absolute;
	display: block !important;
	top: 85px;
	left: 25px;
	width: calc(100% - 25px);
	min-height: 40px;
}

ul.level-2.next.position-1 {
	position: absolute;
	top: 48px;
	left: 235px;
}

ul.level-3.next.position-1,
ul.level-3.next.position-1 {
	position: absolute;
	top: 0px;
	left: 235px;
}

#menu li:has(> ul.next) {
	width: 470px;
}

table#products td {
	font-size: 14px;
}

table.client-agreements tr td,
table.client-agreements tr th {
	text-align: right;
}

table.dataTable tr th {
	background-color: #279588;
	color: #FFF;
	font-size: 12px;
	font-weight: normal;
	padding-left: 5px;
}

.order-items i.fa.fa-calendar.next-arrival {
	position: absolute;
	top: 8px;
	float: right;
	z-index: 35;
	width: 18px;
	height: 18px;
	font-size: 18px;
	display: block;
	right: -50px !important;
	left: unset;
	cursor: pointer;
}

span.product_code {
	font-style: italic;
	font-size: 13px;
	color: #777;
}

.default-wrapper.cart-buttons {
	float: right;
	width: 100%;
	max-width: 330px;
	text-align: right;
	margin-top: 0px !important;
}

table#products tr th:nth-child(4),
table#products tr th:nth-child(5),
table#products tr th:nth-child(6),
table#products tr th:nth-child(7),
table#products tr th:nth-child(8),
table#products tr th:nth-child(9),
table#products tr th:nth-child(9) {
	text-align: center;
}

.order-items .row > div {
	padding-left: 8px;
	padding-right: 8px;
}

.order-items .row {
	margin-left: -8px;
	margin-right: -8px;
}

#products tr td:nth-child(8),
#products tr td:nth-child(9) {
	text-align: center;
}

a.btn.btn-success.carts {
	background: #006B80;
	font-size: 20px;
	min-width: 45px !important;
}

.add-to-multiple-carts {
	width: 450px;
	max-width: 100%;
	left: calc(50% - 225px);
	overflow-y: auto;
}

.add-to-carts {
	height: 440px;
	overflow-y: scroll;
	scrollbar-width: none;
}

.cart-parameter.name {
	font-size: 17px;
	font-weight: 600;
}

.carts .cart {
	position: relative;
	width: 100%;
	float: left;
	padding: 8px;
}

.carts .cart:nth-child(odd) {
	background: #EDEDED;
}

.cart-parameter.created, .cart-parameter.sum {
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: #777;
	display: inline-block;
	float: left;
	margin-right: 20px;
}

a.submit-reclamation {
	position: absolute;
	top: 1px;
	right: 5px;
	font-size: 21px;
	cursor: pointer;
}

span.placeholder {
	position: absolute;
	right: 20px;
	bottom: 11px;
	font-size: 13px;
	font-style: italic;
	color: #006B81;
}

.invoice-status i.fa-check,
.invoice-status i.fa-square-o {
	position: absolute;
	top: 12px;
	right: 30px;
	font-size: 20px;
}

.invoice-status i.fa-check {
	color: green;
}

.invoice-status i.fa-square-o {
	color: darkred;
}

.row.default-wrapper {
	padding-left: 5px;
}

.row.default-wrapper.line1 {
	background: #F8F8F8;
}

table.users {
	position: relative;
	width: 100%;
	float: left;
	margin-top: 15px;
}

table.users tr th:nth-child(6),
table.users tr th:nth-child(7),
table.users tr th:nth-child(8) {
	text-align: center;
}

.order-nr a {
	font-size: 14px;
}

.campaign-info h3.block-title {
	margin-top: 0px;
}

p.campaign-period {
	font-size: 21px;
	font-weight: 600;
	color: #006B81;
}

p.percent {
	font-size: 32px;
	color: #c10101;
}

.campaign-info .description {
	margin-bottom: 20px;
}

.news-box ul {
	padding-left: 15px;
}

.product-data .name span {
	color: #c2c1c1;
	font-size: 13px;
	font-style: italic;
}

div#DataTables_Table_0_paginate {
	float: left;
}

.normal.vertical li .item a:hover,
.normal.vertical li.active > .item > a {
	/* color: #279588; */
	text-decoration: underline;
}

a.menu-link {
	cursor: pointer;
}

.invoice-status {
	font-size: 14px;
	float: right;
	position: relative;
}

.companies-list {
	position: absolute;
	background: #FFF;
	padding: 10px;
	z-index: 2;
	border-radius: 4px;
	top: 45px;
}

.companies-list ul {
	line-height: 150%;
	list-style: none;
	padding-left: 10px;
}

.companies-list ul li {
	cursor: pointer;
}

.companies-list ul li a.active,
.companies-list ul li:hover {
	font-weight: 600;
	color: #006B81;
}

.client-info select[name="order_receiver_id"],
.client-info input[type="text"] {
	max-width: calc(50% - 10px);
	float: left;
}

.client-info select[name="order_receiver_id"] {
	float: right;
}

a.toggle-menu {
	position: absolute;
	top: -5px;
	left: 25px;
	font-size: 23px;
	color: #B72633;
	z-index: 3;
	cursor: pointer;
}

table.products-table thead {
	inset-block-start: 0;
	top: 111px !important;
	z-index: 2;
}

table.products-table thead,
table.products-table tfoot {
	position: sticky;
}

#header.sticky input[name="company_name"],
#header.sticky select[name="active_unit"] {
	display: none;
}

#header.sticky select[name="order_receiver_id"] {
	float: left;
	margin-top: 9px;
}

#header.sticky .rounded-wrapper {
	margin-top: 11px;
}

#header.sticky a.logo {
	margin-top: 2px;
}

span.items-count {
	font-size: 11px;
	color: #000;
}

table.cart-products thead th {
	text-align: center;
	color: #BBB;
	font-weight: normal;
}

table.cart-products .amount {
	max-width: 75px;
}

table.cart-products tbody td:nth-child(1) {
	text-align: left;
}

table.cart-products tbody td {
	text-align: center;
}

table.cart-products tbody tr {
	border-bottom: 1px solid #CCC;
}

table.cart-products tbody tr td {
	padding-bottom: 10px; 
	padding-top: 10px;
}

table.cart-products tr.heading td {
	color: #BBB;
}

table.order-rows tr td {
	padding: 3px 5px;
}

table.order-rows tr td:nth-child(1) {
	width: 400px;
	text-align: left;
}

table.order-rows tr td:nth-child(2),
table.order-rows tr td:nth-child(3),
table.order-rows tr td:nth-child(4) {
	width: 150px;
	text-align: right;
}

table.order-rows tr.line1 {
	background: #FFF;
}

table.order-rows tr.line2 {
	background: #FAFAFA;
}

table.order-rows tr.heading {
	background: #006B81;
}

table.order-rows tr.heading td {
	color: #FFF;
}

#content table.order-rows {
	width: unset !important;
}

table.cart-products th.stock {
	width: 100px;
}

table.backorder-rows a.submit-reclamation {
	position: relative;
	margin-left: 10px;
}

table.backorder-rows tbody tr td:nth-child(7) {
	text-align: center;
}

.input-group input[type="checkbox"] {
	position: relative;
	top: 2px;
	width: 18px;
	height: 18px;
	margin-right: 5px;
}

table.table tbody tr:hover {
	background: #EFEFEF;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
	top: 85px !important;
}

table.monthly-purchases tr td,
table.period-purchases tr td {
	border: 1px solid #FFF;
	background: #F4F4F4;
}

.dataTables_wrapper .paginate_button.previous {
    margin-left: 0px;
}

.dataTables_wrapper .paginate_button.next {
    margin-right: 0px;
}

tr.replacement-row {
    display: none;
}

tr.replacement-row.active {
    display: table-row;
}

tr.replacement-row.replacement-row td {
    background: #ffffea !important;
}

span.tp-hdn {
    display: none;
}

a.replacement-items-link {
    position: relative;
    float: left;
    display: inline-block;
    cursor: pointer;
}

.owl-buttons .owl-prev,
.owl-buttons .owl-next {
	font-size: 15px !important;
	padding: 4px 12px !important;
	color: #FFF !important;
	background: #006b81 !important;
	opacity: 1 !important;
	border-radius: 7px !important;
	transition: background-color 0.4s !important;
}

.owl-buttons .owl-prev:hover,
.owl-buttons .owl-next:hover {
	background-color: #279588 !important;
	text-decoration: none !important;
}

.transport-option {
	cursor: pointer;
	font-weight: normal;
}

.transport-option.active {
	font-weight: bold;
}