﻿/*
 * Style tweaks
 */
@font-face {
    font-family: 'Roboto';
    src: url('../../fonts/roboto/roboto-regular.eot');
    src: url('../../fonts/roboto/roboto-regular.eot?#iefix') format('embedded-opentype'),
         url('../../fonts/roboto/roboto-regular.woff2') format('woff2'),
         url('../../fonts/roboto/roboto-regular.woff') format('woff'),
         url('../../fonts/roboto/roboto-regular.ttf') format('truetype'),
         url('../../fonts/roboto/roboto-regular.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../../fonts/jost/Jost-Regular.ttf');
    src: url('../../fonts/jost/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../../fonts/jost/Jost-SemiBold.ttf');
    src: url('../../fonts/jost/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../../fonts/jost/Jost-Bold.ttf');
    src: url('../../fonts/jost/Jost-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../../fonts/jost/Jost-ExtraBold.ttf');
    src: url('../../fonts/jost/Jost-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

*, *::after, *::before{
    box-sizing: border-box;
}

/* CSS Custom properties */
:root {
    --primary: #04628d;
    --secondary: #03a4dc;
    --asset: #70cad6;
    --amarant: rgb(222,48,119);
    --danger: #F44236;
    --clr-border: #ddd;
    --success: rgb(51,184,30);
}


/* Links menu */

/* Keyframe to show menu lists after its hidden using javascript to prevent "popping" effect when reloaded */

.navbar-brand {
    height: 61px;
    margin: 18px auto 20px;
}


.siteMap li ul {
    opacity: 0;
}

.siteMap li.active {
    color: var(--secondary)
}

.top-menu-links .siteMap{
     color: var(--secondary)
}


.top-menu-links .siteMap {
    list-style-type: none;
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}

.top-menu-links a{
    text-decoration: none;
}

.top-menu-links .siteMap li{
    font-weight: 600;
}

.top-menu-links .siteMap li.active > a{
    color: var(--secondary);
}

.top-menu-links li{
    position: relative;
    padding: 0 13px;
}

.top-menu-links .siteMap li a span {
    padding: 0 !important;
    font-size: 16px;
}
.top-menu-links .siteMap > li:not(:last-child) {
    /* border-right: 1px solid #bbb; */
    position: relative;
}
.top-menu-links .siteMap > li {
    font-size: 16px;
}
.top-menu-links .siteMap > li:not(:last-child, :nth-last-child(2))::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 15px;
    background-color: rgba(192, 190, 190, 0.5);

}

.top-menu-links li ul {
    position: absolute;
    top: 100%;
    min-width: 260px;
    z-index: 999999;
    background: #fff;
    box-shadow: 0px 0px 19px -11px #000000
}

.top-menu-links li ul li ul{
    min-width: unset;
}

.top-menu-links .siteMap li a {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: .3s ease;
}
.top-menu-links .siteMap li a:hover {
    color: var(--secondary);
}

.top-menu-links .siteMap > li > ul {
    padding: 10px;
}
.top-menu-links .siteMap > li > ul.collapse {
    pointer-events: none;
}
.top-menu-links .siteMap > li > ul.collapse.in {
    pointer-events: auto;
}

.top-menu-links .siteMap li ul li ul{
    padding-left: 0;
}

.top-menu-links .siteMap li ul {
    list-style-type: none;
    margin: 0;
}

.top-menu-links .siteMap li ul li{
    padding: 8px 0;
    font-weight: normal;
    font-size: 16px;
    width: 100%;
}
.top-menu-links .siteMap li ul li.active{
    color: var(--secondary);
    font-weight: 600;
}
.top-menu-links .siteMap li ul li a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.top-menu-links .siteMap li ul li a .fa{
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.top-menu-links .siteMap li ul li ul {
    position: static;
    border: none;
}

.top-menu-links .siteMap li ul li ul{
    box-shadow: none;
}
.top-menu-links .siteMap li ul li ul li {
    background: #ddd9d9;
    padding-left: 10px;
    margin: 0;
}


html,
body {
    font-family: 'Jost', "Roboto", Arial, Tahoma, sans-serif;
    min-width: 320px;
    overflow-x: hidden; /* Prevent scroll on narrow devices */
    overflow: visible;
    background-color: #f4f4f4;
}
legend {
    text-transform: capitalize;
    color: #222;
    font-size: 18px;
    margin-bottom: 0;
	padding-bottom: 10px;
    font-weight: bold;
    border: 0;
}
body.bg { 
    position: relative;
	background: url('../../images/bg_fullhd.png') no-repeat center center fixed; 
	background-size: cover;
    z-index: 1;
}

.login-logo {
    position: absolute;
    right: 40px;
    bottom: 50px;
    margin-left: 20px;
    height: 115px;
    width: 222px;
    background: url('../../images/b2b_logo.png') no-repeat;
    background-size: contain;
    z-index: -1;
}

@media screen and (max-width: 1024px) {
    .login-logo {
        bottom: 20px;
    }
}

@media screen and (max-width: 540px) {
    .login-logo {
        max-width: 65%;
    }
}

@media screen and (max-width: 1024px) {
    body.bg { 
        background: url('../../images/bg_hd.png') no-repeat center center fixed; 
        background-size: cover;
    }
}

.logo-br {
    position: absolute;
    bottom: 16px;
    right: 16px;
}
:focus {
	outline: 0 !important;
}
.copy {
	color: #FFFFFF;
}
.navbar-default {
	background-color: #233240;
}
.navbar-fixed-top {
	margin-left: 230px;
	min-width: 320px;
    z-index: 1001;
}
@media (max-width: 1200px) {
	.navbar-fixed-top {
		margin-left: 0;
	}
}
.container-body {
	padding: 15px 47px 0 47px;
}
.container-login {
	padding-top: 100px;
}
.panel-heading {
	font-size: 15px;
}
.required {
	color: #3c9adc;
}
.confirm .btn-group {
	margin-left: 10px;
    padding: 2px;
    background-color: var(--secondary);
    border-radius: 3px;
}
.confirm .btn-group .btn:nth-child(2) {
    color: var(--secondary);
    background-color: #fff;
}
.confirm .btn-group .btn:nth-child(2):hover {
    color: var(--secondary);
    background-color: #fff;
}
.tab-content {
    background-color: #fff;
}
.text-static {
	padding-top: 11px;
	padding-bottom: 11px;
	margin-bottom: 0;
}
/* Hide arrows for input number */
/* 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;
}

.row-margin {
	margin-top: 15px;
	margin-bottom: 15px;
	overflow: hidden;
}
.row-margin:first-child {
	margin-top: 0;
}
.row-margin:last-child {
	margin-bottom: 0;
}


.pull-left-xs { float: left; }
.pull-right-xs { float: right; }

@media (min-width: 768px) {
	.pull-left-sm { float: left; }
	.pull-right-sm { float: right; }
}
@media (min-width: 992px) {
	.pull-left-md { float: left; }
	.pull-right-md { float: right; }
}
@media (min-width: 1200px) {
	.pull-left-lg { float: left; }
	.pull-right-lg { float: right; }
}


/* DateTime Picker */
.bootstrap-datetimepicker-widget .btn:hover {
	color: inherit;
}
input[data-toggle="date"] + .input-group-addon,
input[data-toggle="datetime"] + .input-group-addon {
	cursor: pointer;
}
input[data-toggle="date"]{
    margin: 0 !important;
}

/* Sticky Footer */
html {
	position: relative;
	min-height: 100%;
}
.form-footer {
	bottom: 0;
	left: 225px;
	right: 0;
    margin: 0;
}
@media (min-width: 768px) {
	.form-footer-spacer {
		margin-bottom: 54px;
		padding-bottom: 15px;
	}
	.form-footer {
		position: absolute;
	}
}

/* pagination */
.pagination{
    display: inline-flex;
    list-style-type: none;
}
.pagination > li
{
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #fefefe;
    border: 1px solid #ddd;
    font-weight: bold;
}

.pagination > li.active{
    background-color: var(--secondary);
    border: 0;
    color: #fff;
}

.pagination li.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination > li i {
    font-size: 10px;
    color: #222 !important;
}
.pagination > li > a{
    color: rgb(106,106,106);
}
.pagination > li > a,
.pagination > li > span{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
    text-decoration: none;
    cursor: pointer;
}

/*
 * Buttons
 */
.btn-wide { width: 100%; }
.btn-w50 { width: 50px; }
.btn-w100 { width: 104px; }
.btn-w150 { width: 158px; }
.btn-w180 { width: 180px; padding-left: 5px; padding-right: 5px; }
.btn-w200 { width: 212px; }
.btn-group .btn-w50 { width: 50px; }
.btn-group .btn-w100 { width: 100px; }
.btn-group .btn-w150 { width: 150px; }
.btn-group .btn-w200 { width: 200px; }
.btn-warning{
    text-transform: uppercase;
    font-weight: bold;
}

.btn-label {
	left: -15px;
}

.form-group .btn { margin: 0px 2px; }
.form-group .btn:first-child { margin-left: 0; }

/*
 * Elementy blokowe
 */
.p1 { padding: 1px !important; }
.p2 { padding: 2px !important; }
.p3 { padding: 3px !important; }

.p0 { padding: 0px !important; }
.pt0 { padding-top: 0px !important; }
.pr0 { padding-right: 0px !important; }
.pb0 { padding-bottom: 0px !important; }
.pl0 { padding-left: 0px !important; }

.p5 { padding: 5px !important; }
.pt5 { padding-top: 5px !important; }
.pr5 { padding-right: 5px !important; }
.pb5 { padding-bottom: 5px !important; }
.pl5 { padding-left: 5px !important; }

.p10 { padding: 10px !important; }
.pt10 { padding-top: 10px !important; }
.pr10 { padding-right: 10px !important; }
.pb10 { padding-bottom: 10px !important; }
.pl10 { padding-left: 10px !important; }

.p15 {padding: 15px !important}
.pt15 { padding-top: 15px !important; }
.pr15 { padding-right: 15px !important; }
.pb15 { padding-bottom: 15px !important; }
.pl15 { padding-left: 15px !important; }

.p20 { padding: 20px !important; }
.pt20 { padding-top: 20px !important; }
.pr20 { padding-right: 20px !important; }
.pb20 { padding-bottom: 20px !important; }
.pl20 { padding-left: 20px !important; }

.m0 { margin: 0px !important; }
.mt0 { margin-top: 0px !important; }
.mr0 { margin-right: 0px !important; }
.mb0 { margin-bottom: 0px !important; }
.ml0 { margin-left: 0px !important; }

.m5 { margin: 5px !important; }
.mt5 { margin-top: 5px !important; }
.mr5 { margin-right: 5px !important; }
.mb5 { margin-bottom: 5px !important; }
.ml5 { margin-left: 5px !important; }

.m10 { margin: 10px !important; }
.mt10 { margin-top: 10px !important; }
.mr10 { margin-right: 10px !important; }
.mb10 { margin-bottom: 10px !important; }
.ml10 { margin-left: 10px !important; }

.m20 { margin: 20px !important; }
.mt20 { margin-top: 20px !important; }
.mr20 { margin-right: 20px !important; }
.mb20 { margin-bottom: 20px !important; }
.ml20 { margin-left: 20px !important; }

.mt-auto { margin-top: auto; }
.mx-auto { margin-left: auto; margin-right: auto;}
.ml-auto { margin-left: auto;}
.mr-auto { margin-right: auto;}

.pb25 { padding-bottom: 25px};

@media (min-width: 1200px) {
	.col-lg-p0 { padding: 0px !important; }
	.col-lg-pt0 { padding-top: 0px !important; }
	.col-lg-pr0 { padding-right: 0px !important; }
	.col-lg-pb0 { padding-bottom: 0px !important; }
	.col-lg-pl0 { padding-left: 0px !important; }
}

/*
 * Validation
 */
.field-validation-error {
    color: #b94a48;
}
.field-validation-valid {
    display: none;
}
input.input-validation-error {
    border: 1px solid #b94a48;
}
input[type="checkbox"].input-validation-error {
    border: 0 none;
}
.validation-summary-errors ul {
    margin-bottom: 0;
	padding-left: 0;
	list-style-type: none;
}
.validation-summary-errors ul li {
	padding: 10px 0px;
	border-top: 1px solid #ebccd1;
}
.validation-summary-errors ul li:first-child {
	padding-top: 0;
	border-top: none;
}
.validation-summary-errors ul li:last-child {
	padding-bottom: 0;
}
.validation-summary-valid {
    display: none;
}

/*
 * GridView
 */
.table-transparent > thead > tr > th, 
.table-transparent > tbody > tr > th, 
.table-transparent > tfoot > tr > th, 
.table-transparent > thead > tr > td, 
.table-transparent > tbody > tr > td, 
.table-transparent > tfoot > tr > td{
	border-top: none;
}
.table th {
	border-bottom-width: 1px !important;
}
.table th i{
    color: #aaa;
}
.table th i.active {
    color: #222;
}
thead th:not(:first-child),
tbody td:not(:first-child){
    border-left: 1px solid #ddd !important;
}
.table td{
    font-size: 13px;
}
.table th > a {
	display: flex;
    gap: 10px;
    align-items: center;
	text-decoration: none !important;
    font-size: 14px;
    font-weight: bold;
}
.table td > p:first-child {
	margin-top: 10px;
}
.table td > p:last-child {
	margin-bottom: 10px;
}
.table td:not(.buttons) > a {
	display: block;
	text-decoration: none;
	color: #2c3e50;
}
.table td:not(.buttons) > a:hover {
	text-decoration: underline;
}

.gridview .buttons {
	width: 120px;
}
.gridview .buttons .btn-group {
	white-space: nowrap;
}
.gridview .buttons .btn-group .btn {
	float: none;
    display: inline-block;
	white-space: nowrap;
}
.btn-group button{
    margin: 0;
}
.gridview .empty {
	padding: 15px;
	border: 1px solid #ddd;
	border-top: none;
}
.gridview .footer {
	overflow: hidden;
	text-align: right;
    padding: 0 23px 0 0px;
    margin-bottom: 10px;
}
.gridview .pagination {
	margin-top: 0;
}
.gridview .stats {
	padding: 12px 0px 13px 10px;
	float: left;
}
.gridview select.pagesize {
	width: 70px;
	margin: 6px 0px 7px 0px;
	float: left;
}
.gridview a.pagesize {
	display: none;
}

.panel .gridview .table {
	margin-bottom: 0;
	border-top: none;
}
.panel .gridview .table,
.panel .gridview .table th:first-child,
.panel .gridview .table td:first-child {
	border-left: none;
    padding-left: 15px;
}
.panel .gridview .table td{
    vertical-align: middle;
}
.panel .gridview .table,
.panel .gridview .table,
.panel .gridview .table{
	border-right: none;
    padding-right: 30px;
}
.gridview .table td.buttons{
    vertical-align: middle;
}

.panel .gridview .table-responsive {
	margin-bottom: 30px;
	border: none;
}
.panel .gridview .empty {
	border: none;
}
.panel .gridview .pagination {
	margin: 7px 7px 3px 10px;
}

/*
 * Off Canvas
 */
.offcanvas-sidebar {
	position: fixed;
	left: 0px;
	top: 67px;
	bottom: 36px;
	width: 80vw;
    z-index: 1000;
	overflow: auto;
	background: #fff;
    height: 100%;
    box-shadow: 10px 0px 17px -16px rgba(136, 136, 136, 1);
}
.offcanvas-sidebar .navbar-brand {
    display: none;
}
.offcanvas-sidebar .sidebar {
    padding-top: 20px;
}
@media screen and (max-width: 640px) {
    .offcanvas-sidebar {
        left: -80vw !important;
    }
}
@media screen and (min-width: 640px) {
    .offcanvas-sidebar {
        position: fixed;
        left: 0px;
        top: 0px;
        bottom: 36px;
        width: 250px;
        z-index: 1005;
        overflow: auto;
        background: #fff;
        height: 100%;
        box-shadow: 10px 0px 17px -16px rgba(136, 136, 136, 1);
    }
    .offcanvas-sidebar .navbar-brand {
        display: block;
    }
}

.offcanvas-content {
	margin-left: 250px;
}

@media screen and (max-width: 1200px) {
    .offcanvas-sidebar {
        left: -250px;
    }

    .canvas-active{
        left: 0 !important;
    }

	.offcanvas-wrap,
	.offcanvas-sidebar {
		-webkit-transition: all .25s ease-out;
	    -o-transition: all .25s ease-out;
	    transition: all .25s ease-out;
	}

	.offcanvas-content {
		position: static;
		margin-left: 0px;
        margin-right: 0px;
	}

	.offcanvas-wrap {
		position: relative;
		left: 0px;
        z-index: 600;
	}
	.offcanvas-wrap.active{
		left: 250px;
	}
}

/*
 * Sidebar
 */
.sidebar {
	display: block;
}
.sidebar-nav {
	background: #fff;
}
.sidebar-nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.sidebar-nav a,
.sidebar-nav a:hover,
.sidebar-nav a:focus,
.sidebar-nav a:active {
	outline: none;
}
.sidebar-nav ul li,
.sidebar-nav ul a {
	display: block;
}
.sidebar-nav ul a {
	padding: 10px 20px;
	color: #222;
    transition: 150ms all linear;
}
.sidebar-nav ul li.active > .sitemap-list-element a,
.sidebar-nav ul li.active > a,
.sidebar-nav ul a:hover,
.sidebar-nav ul a:focus,
.sidebar-nav ul a:active {
    color: #3c9adc;
    text-decoration: none;
}
.sidebar-nav ul li.active > .sitemap-list-element,
.sidebar-nav ul li.active > a {
    font-weight: 600;
}
.sidebar-nav ul ul a {
    padding: 10px 30px;
    background-color: #f4f4f4;
    border-right: 3px solid #fff;
}

.sidebar-nav > ul > li.active > ul > li.active > ul {
    padding-left: 10px;
}

.sidebar-nav ul li.active > ul::after {
    width: 2px;
    background-color: #03a4dc;
}
.sidebar-nav.hide-for-mobile ul li.active > ul > li.active > ul > li.active > ul > li > a {
    background-color: #f4f4f4 !important;
}
.sidebar-nav.hide-for-mobile ul li.active > ul > li.active > ul > li.active > ul {
    margin-left: -10px;
    padding-left: 20px !important;
    position: relative;
    background-color: #f4f4f4;
}
.sidebar-nav.hide-for-mobile ul li.active > ul > li.active > ul > li.active > ul .sidebar-nav-item {
    font-size: 13px;
}

.sidebar-nav.hide-for-mobile ul {
    position: relative;
}

.sidebar-nav.hide-for-mobile > ul > li > ul > li > ul > li.active > ul,
.sidebar-nav.hide-for-mobile > ul > li > ul > li > ul > li.active > ul a {
    background-color: #f4f4f4 !important;
}

.sidebar-nav.hide-for-mobile > ul > li > ul > li > ul > li.active > ul::before {
    position: absolute;
    left: 0;
    content: '';
    height: 100%;
    width: 4px;
    background-color: #03a4dc;
}

.sidebar-nav ul ul li.active > a,
.sidebar-nav ul ul a:hover,
.sidebar-nav ul ul a:focus,
.sidebar-nav ul ul a:active {
	
}
.sidebar-nav ul ul ul a {
	padding: 10px 40px;
    background-color: #ccc; 
}
.sidebar-nav-item {
	padding-left: 5px;
}
.sidebar-nav-item-icon {
	display: inline-block;
	text-align: center;
}

/*
 * Metis Menu
 */
.arrow {
	float: right;
	line-height: 1.42857;
}
.glyphicon.arrow:before {
	content: "\e079";
}
.active > a > .glyphicon.arrow:before {
	content: "\e114";
}
.fa.arrow:before {
	content: "\f104";
}
.active > a > .fa.arrow:before {
	content: "\f107";
}
.plus-times {
	float: right;
}
.fa.plus-times:before {
	content: "\f067";
}
.active > a > .fa.plus-times {
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
.plus-minus {
	float: right;
}
.fa.plus-minus:before {
	content: "\f067";
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 800;
    font-size: 10px;
    line-height: 12px;
}
.active > .sitemap-list-element > .fa.plus-minus:before,
.active > a > .fa.plus-minus:before {
    content: "-";
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    transform: translateY(-15%);
    color: #3c9adc;
}

/*
 * First inline checkbox margin-top fix
 */
.radio, .checkbox {
	margin-top: 0px;
}
/*
 * Article input for order
 */
.orderInput {
	width: 180px;
}

.orderInputNarrow {
	width: 120px;
}

.orderInputNarrow input{
	width: 80px !important;
}

/*
 * Accordion arrows
 */
.accordion-toggle:after {
    content: '\f067';
    display: block;
    margin-top: 5px;
    font-family: "FontAwesome";
    transition: 150ms all linear;
    float: right;
}
.panel-opened .accordion-toggle:after {
    content: '\f068'
}

.panel-group .panel-default .panel-heading {
    padding: 0;
}
.panel-group .panel-default .panel-heading a {
    display: block;
    padding: 10px 15px;
}

/*
 * Przycisk ulubiony na liście artykółów
 */
.btn-favourite {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  padding: 0;
  position: absolute;
  z-index: 1;
  margin-left: 18px;
}

/*
 * Profit margin input
 */
.profitMarginInput {
	width: 60px;
}

/*
 * Element katalogu artykułów.
 */
.article .article-quantity {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.article dt {
	max-width: 90px;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	white-space:normal;
}

.article dd{
	margin-left: 99px;
}

/*
 * Globalne ustawienie łamania wiersza w dt.
 */
dt {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	white-space:normal;
}

/* Logowanie */
.center-box{
    display: block;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
}
.center-box .panel-body{
    max-width: 377px;
    margin: 0 auto;
    width: 100%;
}
.center-box .center-images{
    margin: 12px 0 22px 0;
}
.panel h5, .panel .h5{
    margin: 2px 0 34px 0;
    color: #535353;
    font-weight: bold;
    text-align: center;
    font-size: 13px;
}
.panel .form-group{
    font-size: 12px;
    margin-bottom: 15px;
}
.form-group .form-control{
    height: 40px;
    margin: 0;
}

.form-group textarea.form-control {
    height: auto;
}

.panel .remember-me .form-group{
    padding-top: 7px;
    margin-bottom: 14px;
}
.panel .button-login .btn-primary{
    font-size: 11px;
    padding: 12px;
}
ul.right,ul.right li, .button-login{
    display: inline-block;
    vertical-align: middle;
}
.button-login{
    width: 103px;
}
ul.right{
    text-align: right;
    padding: 0;
    float: right;
    padding-top: 8px;
}
ul.right li{
    list-style: none;
    border-right: solid 1px #dfe2ea;
    padding-right: 6px;
    margin-right: 6px;
    margin-left: -2px;
}
ul.right li:last-child{
    border: none;
}
ul.right li a{
    color: #464646;
    font-size: 11px;
}

/*
 *  Nagłówek
*/
#main-header-panel {
    background-color: #fff;
    margin-top: 0;
    padding: 15px 0;
    box-shadow: 2px 5px 5px -6px grey;
}
@media screen and (min-width:640px) {
    #main-header-panel {
        background-color: #f4f4f4;
        margin-top: 34px;
        padding: 0;
        box-shadow: none;
    }
}
#main-header-panel .navbar-inline {
    margin: 0px 0px 16px 30px;
    display: flex;
    justify-content: flex-end;
}
.header-wrapper{
    margin-top: 18px;
}
.basket-section {
    display: none !important;
}
.hide-for-mobile{
    display: none !important;
}
.hide-form-mobile-flex{
    display: none !important;
}
/* mobile header  */
.desktop-tablet-header {
    display: none;
}
.mobile-header-container {
    position: relative;
    padding: 0 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.mobile-header-container .logo-mobile-wrap {
    position: relative;
}
.mobile-header-container .logo-img {
    width: 140px;
}
.mobile-header-container .menu-collapse {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 2.5rem;
    background-color: transparent;
    border: 0;
}
.mobile-header-container .logo-mobile-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    height: 100%;
    width: 100%;
    z-index: 2;
}
.user-mobile-menu {
    position: fixed;
    top: -8px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top .3s ease;
}
.user-mobile-menu.active {
    top: 66px;
}
.user-mobile-menu .user-mobile-collaps.navbar-inline {
    margin: 0;
    padding: 30px 30px 10px 30px;
    display: flex;
    justify-content: center;
    background-color: #fff;
}
.user-mobile-menu .user-mobile-collaps .header-notify > span {
    padding: 3px 0;
}
.user-mobile-menu .user-controls li {
    border-right: 1px solid rgb(214, 214, 194);
    padding: 0;
}
.chat-sidebar {
    top: 138px;
}
.shadow-effect.active-shadow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .4);
}
.mobile-header-container .open-user {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(4, 91, 141, .7);
    border-radius: 50%;
}
.mobile-header-container #mobile-user-photo.active .open-user {
    display: flex;
}
.mobile-header-container .profile-photo {
    background-color: transparent;
    border: none;
}
.mobile-log-out .log-off-icon {
    padding: 0 8px;
}
@media screen and (min-width: 380px) {
    .mobile-header-container .logo-img {
        width: auto;
    }
}
@media screen and (min-width: 640px) {
    .desktop-tablet-header {
        display: block;
    }
    .mobile-header-container {
        display: none !important;
    }
    .user-mobile-menu {
        display: none;
    }
    .chat-sidebar {
        top: 0px;
    }
}
@media screen and (min-width: 1200px)
{
    .hide-for-mobile{
        display: initial !important;
    }
    .hide-for-desktop {
        display: none !important;
    }
    .hide-form-mobile-flex {
        display: flex !important;
    }
    .basket-section {
        display: flex !important;
        align-items: center;
    }
}
.header-notify{
    position: relative;
}
.ui-pops{
    padding-right: 30px;
}
.header-notify > span {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -110%);
    color: #fff;
    width: 60%;
    display: block;
    padding: 6px 0;
    text-align: center;
}
.header-notify .message-info {
    background-color: #de3076;
}
.header-notify .basket-info {
    background-color: #34b81e;
}
.header-options{
    display: flex;
    align-items: center;
}
@media screen and (max-width: 1199px) {
    .header-options .header-options-menu {
        width: 70%;
    }
    .header-options .header-options-user {
        width: 30%;
    }
}

.user-details{
    align-items: center;
    margin: 0 8px;
}
.user-name{
    margin-right: 10px;
    white-space: nowrap;
    font-weight: bold;
}
.user-photo{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #ddd;
}

.user-controls li:not(:last-child) {
    border-right: 1px solid rgba(192, 190, 190, 0.5);
    padding: 0;
}
.navbar-inline li{
    float: none;
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}
.links-wrapper{
    display: none;
}
.links-wrapper li{
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
}
.links-wrapper li a{
    font-size: 1.2rem;
}
@media (min-width: 1200px) {
    .links-wrapper {
        display: block;
    }
    .links-wrapper li a {
        font-size: 1.4rem;
    }
}
.links-wrapper li:not(:first-child) {
    border-left: 1px solid rgb(214, 214, 194);
}
.navbar-inline li a,.navbar-inline li a:focus,.navbar-inline li a:hover{
    background: none;
    color: #373737;
    padding: 0;
}
.btn-chat {
    background: transparent;
    color: #3c9adc;
    font-weight: bold;
    font-size: 15px;
    border: 0;
    padding: 0;
    margin: 0 8px;
}

.btn-chat:hover{
    background-color: #e0e0e0;
}

.btn-basket {
    background: transparent !important;
    color: #3c9adc;
    font-weight: bold;
    font-size: 15px;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.shopping-basket-container {
    position: relative;
    background: transparent !important;
    color: #3c9adc;
    font-weight: bold;
    font-size: 15px;
    border: 0;
    padding: 0;
    box-shadow: none;
    margin: 0 8px;
    width: 27px;
    height: 25px;
}

.shopping-basket-container .btn-basket,
.shopping-basket-container .shop-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shopping-basket-container .btn-basket {
    display: block;
    z-index: 2;
    width: 24px;
    height: 24px;
}

.shopping-basket-container .shop-icon {
    display: block;
    /* background: url('../../images/shop.png') no-repeat; */
    width: 27px;
    height: 25px;
}

.btn-chat span{
    padding-left: 4px;
}
.btn-chat > .btn-chat-img{
    display: block;
    /* background: url('../../images/chat.png') no-repeat; */
    width: 24px;
    height: 24px;
}
.menu-collapse button {
    border: 0;
    color: #3c9adc;
    margin: 0 8px;
    font-size: 2rem;
    background: transparent;

}
.log-off-icon {
    color: #3c9adc !important;
    padding-left: 8px !important;
    font-size: 1.5rem
}
.log-off-icon img {
    width: 22px;
    height: 22px;
}
@media (min-width: 1200px) {
    .menu-collapse{
        display: none !important;
    }
}
.btn-lang {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#efefef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
    color: #3c9adc;
    font-weight: bold;
    font-size: 15px;
    border: solid 1px #d9d9d9;
    padding: 4px 4px;
    width: 60px;
    height: 27px;
}
.btn-lang button {
    padding-left: 4px;
}
.btn-lang:before {
    content: '';
    display: inline-block;
    vertical-align: middle;

}
.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
    float: inherit;
    margin: 1px;
    font-size: 12px;
    color: #212529;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--secondary);
    border-top: none;
    border-radius: 0 !important;
}
.dropdown-item {
    display: block;
    width: 30px;
    padding: 2px;
    clear: both;
    font-weight: 200;
    color: #212529;
    vertical-align: central;
    white-space: normal;
    background-color: transparent;
    border: none;
    text-align: center;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}
.btn-adjust {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#efefef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
    color: #3c9adc;
    font-weight: bold;
    font-size: 15px;
    border: solid 1px #d9d9d9;
    padding: 4px 23px;
}

.businessterms {
    background-color: #fff;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* naglowek */
.main-site-header{
    padding-bottom: 20px;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-border);
}
.main-site-header h3{
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}
.main-site-header .header-buttons{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.main-site-header .button-outline{
    min-height: 34px;
}
.main-site-header .filter-button {
    min-height: 34px;
}
@media (min-width: 1000px){
    .main-site-header{
        flex-direction: row;
        gap: 0;
    }
    .main-site-header .header-buttons {
        gap: 1rem;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
}
header.no-margin{
    margin-bottom: 0;
}
#stepContainer h2{
    font-size: 20px;
    color: #3d5498;
    text-transform: uppercase;
    margin: 0;
    padding: 6px 48px 15px;
    border-bottom: solid 1px #e5e5e5;
}
/* section */
.section{
    margin-bottom: 36px;
}
.section .name-section{
    border-bottom: solid 1px #e5e5e5;
    color: #535353;
    font-size: 20px;
    padding: 0 33px 17px 33px;
    margin-bottom: 40px;
}
.padding-right-18 {
    padding-right: 18px;
}
.padding-33 {
    padding: 0 33px;
}

.breadcrumb {
    padding: 10px 33px 17px 33px;
}

/* account-manage */

.table-row{
    display: table;
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
}
.table-row .button,.table-row .text{
    display: table-cell;
}
.table-row .text{
    padding-right: 30px;
}
.table-row .button .btn,.table-row .button{
    width: 180px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.panel-group .panel-default .panel-heading .accordion-toggle {
    display: block;
    font-size: 17px;
    text-transform: capitalize;
    padding: 10px;
    transition: 150ms all linear;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    background: #fff;
}
.panel-group .panel-default .panel-heading.panel-opened .accordion-toggle{
    border-bottom: none;
}
.panel-group .panel-default .panel-heading .accordion-toggle::after {
    font-weight: normal !important;
}
.panel-group .panel-default .panel-opened .accordion-toggle {
    color: var(--secondary);
    margin: 0;
}

.accordion-toggle.collapsed{
    border-bottom: 1px solid #ddd;
}

.panel-group .panel-default .panel-title a,.panel-group .panel-default .panel-title a:focus,.panel-group .panel-default .panel-title a:hover{
    text-decoration: none;
}

#investmentsAccordion{

}

/* grid-investments */
.table-bordered th a{
    font-weight: bold;
    color: #222;
    font-size: 14px;
}

.table-bordered th a i{
    font-size: 12px !important
}


/* Input checkbox */
.btn-checkbox{
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    border: solid 1px #d3d8e3;
    margin-right: 10px;
    cursor: pointer;
}
.btn-checkbox.active:after{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    position: absolute;
    background: url('../../images/icons/checked.png') center center no-repeat;
}
.btn-checkbox input[type="checkbox"]{
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 33;
}
.checkbox .btn-checkbox{
    margin-left: -20px;
}



/* Paddings */
.bottom-button,.padding-button{ margin: 10px 46px; }
.padding-button { padding: 0; }
.padding-body-15 .panel-body{ padding: 15px 0; }
.padding-body-15-all {padding: 15px; }
.padding-top-15 { padding-top: 15px; }
.search-botder-bottom { border-bottom: solid 1px #e5e5e5; margin-bottom: 30px;}

.wrap-panel-search .checkbox-input .form-group { height: auto; }
.btn-margin-top { margin-top: 21px; }

.no-float{ float: none; }


/* Tabs top */
.nav-tabs > li > a {
	font-size: 14px;
}

.modal-content .panel-default {
    padding-bottom: 20px;
}

/* Reklamacje */
.details .form-group{
    border-bottom: solid 1px #e5e5e5;
    margin-top: 17px;
    padding: 0px 46px 13px 46px;
}

/* Inputs */

/* Wyszukiwarka */

.wrap-panel-search{
    padding: 0 33px;
    max-width: 550px;
    margin: 0 auto;
}

.wrap-panel-orders{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.wrap-panel-filters{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.wrap-panel-filters .filter-buttons{
    grid-column: span 2;
}
@media (max-width: 570px) {
    .wrap-panel-filters .filter-buttons {
        grid-column: span 1;
    }
}
.wrap-panel-filters .buttons-wrapper{
    flex-wrap: nowrap;
}
.wrap-panel-filters.wrap-filter-discounts {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.wrap-panel-restricted {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 380px));
    gap: 1rem;
}
.wrap-panel-columns{
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
}
.flex-form{
    display: flex;
    flex-direction: column;
}
@media (min-width: 1200px){
    .wrap-panel-search{
        max-width: none;
        display: grid;
        gap: 0 0.7rem;
        grid-template-columns: repeat(5, 1fr);
    }
    .wrap-panel-columns{
        grid-auto-flow: column;
        gap: 1rem;
    }
    .flex-form{
        flex-direction: row;
        gap: 1rem
    }
}
.wrap-panel-search .buttons-wrapper {
    flex-wrap: nowrap;
}
.wrap-panel-search:after{
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}
.border-bottom-panel-search{
    border-bottom: solid 1px #e5e5e5;
}
.wrap-panel-search .form-group{
    margin: 15px 0;
}
.wrap-panel-search .wrap-item-form{
    margin: 0 -15px;
}
.wrap-panel-search .form-group input,.wrap-panel-search .form-group select,.wrap-panel-search .form-group .checkbox{
    display: inline-block;
    vertical-align: middle;
}
.wrap-panel-search .form-group label{
    padding-right: 15px;
}
.wrap-panel-search .form-group .checkbox{
    margin-bottom: 0;
}
.wrap-panel-search .form-group{
    height: auto;
    width: auto;
}

/* Comments */
#comments .btn-group{
    float: right;
}
#comments .wrap-panel-search{
    padding: 15px 33px;
}


#stepContainer .form-group{
    margin: 15px 48px;
}
#stepContainer .table tr td:first-child{
    padding-left: 48px;
}
#stepContainer .table tr td:last-child{
    padding-right: 48px;
}

.wrap-panel-search .btn-group{
    display: table;
    width: 100%;
    margin-top: 36px;
}
/* .wrap-panel-search .btn-group .btn{
    display: table-cell;
    padding-left: 0;
    padding-right: 0;
    width: 33.33%;
    margin: 0;
} */
/* .wrap-panel-search .btn-group .filter-button {
    padding: 0 35px;
} */

label.room{
    padding: 15px 15px;
    display: block;
    width: 100%;
    border-bottom: solid 1px #e8e8e8;
    border-top: solid 1px #e8e8e8;
}

.wrap-panel-search  label + select.form-control + .btn-group{
    margin-top: 0;
}
.form-button{
    padding: 0 30px;
}

/* Login */
.container-login .h5{
    margin-top: 33px;
}
.container-login .alert-danger{
    color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 30px 0;
    text-align: center;
}

.container-login .alert-success {
    margin: 30px 0;
    border-radius: 4px;
}

.checkboxes .form-group{
    display: table;
    width: 100%;
    margin-left: 6px;
}

.wrap-panel-search .form-group .checkbox{
    display: table-row;
    vertical-align: middle;
    text-align: left;
    padding-bottom: 10px;
}

/* flot js */
#placeholder{
    margin: 0 30px;
}
#legendholder{
    margin-top: 25px;
    background: #f9f9f9;
    padding: 13px 50px;
    display: block;
    width: 100%;
    font-size: 11px;
}
#legendholder tr{
    display: inline-block;
}
#legendholder tr .legendColorBox > div{
    border: 0 !important;
}
#legendholder tr .legendColorBox > div > div{
    border-width: 10px !important;
}
.legendLabel{
    padding-left: 8px;
    font-size: 11px;
}
#legendholder tr + tr{
    padding-left: 21px;
}

#legendholder .legend,
#legendholder span.name-legend{
    display: inline-block;
    vertical-align: middle;
}
#legendholder span.name-legend{
    padding-right: 20px;
}
.flot-y1-axis .flot-tick-label{
    padding-left: 15px;
}
.flot-y2-axis .flot-tick-label{
    padding-right: 15px;
}


#deparmentsAccordion .buttons .btn-group .btn{
    height: 40px;
    width: 40px;
}
#deparmentsAccordion .buttons .btn-group .btn .glyphicon{
    top: 8px;
}

.btn-40{
    width: 40px;
    height: 40px;
    border-radius: 0;
    margin: 0;
}

@media (max-width: 1199px){
    .image-upload-box{ text-align: center; }
     .table-row, .table-row .text, .table-row .text-static { display: block; width:100%; text-align: center; }
     .table-row .button { display: inline-block; }

    .center-mobile { text-align: center; }
    .center-mobile .btn { display: inline-block; }
    .wrap-panel-search { padding-bottom: 30px; }
}

@media (max-width: 768px){
    header.main-site-header h2, #stepContainer h2,
    .panel-group .panel-default .panel-heading .accordion-toggle{ padding-left: 24px; padding-right: 24px; }
    .breadcrumb, .section .name-section{ padding-left: 10px; padding-right: 10px;  }
    .wrap-panel-search { padding-left: 0px; padding-right: 0px; }
    .wrap-panel-search .btn-group{ margin-top: 0; }
    .gridview .footer{ text-align: center; padding: 0 10px; }
    .bottom-button, .padding-button { margin-left: 15px; margin-right: 15px; }
    .panel .gridview .table, .panel .gridview .table th:first-child, .panel .gridview .table td:first-child{
        padding-left: 15px;
    }
    .panel .gridview .table, .panel .gridview .table th:last-child, .panel .gridview .table td:last-child{
        padding-right: 15px;
    }
    .center-box .panel-body{ padding: 0 10px; }
    .container-login img{ display: block; max-width: 100%; }
}


/* Indicators */
ul.legend {
    list-style: none;
    display: inline-block;
    padding-left: 1%;
}

    ul.legend li {
        float: left;
        margin-right: 10px;
    }

    ul.legend span, div.state-indicator {
        border: 1px solid #ccc;
        float: left;
        width: 12px;
        height: 12px;
        margin-left: 3px;
        margin-top: 5px;
        margin-right: 5px;
    }

    ul.legend .legend-success, div.state-indicator-success {
        background-color: #5cb85c;
        border-color: #5cb85c;
    }

    ul.legend .legend-warning, div.state-indicator-warning {
        background-color: #f0ad4e;
        border-color: #f0ad4e;
    }

    ul.legend .legend-danger, div.state-indicator-danger {
        background-color: #d9534f;
        border-color: #d9534f;
    }

    ul.legend .legend-info, div.state-indicator-info {
        background-color: #5bc0de;
        border-color: #5bc0de;
    }

    ul.legend .legend-primary, div.state-indicator-primary {
        background-color: #5b636f;
        border-color: #5b636f;
    }

.k-multiselect-wrap {
    overflow: auto;
    max-height: 40px;
    padding-right: 15px;
}
.k-multiselect{
    border-radius: 0px !important;
    position: relative;
}
    .k-multiselect::after {
        font-family: 'FontAwesome';
        content: '\f078 ';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.k-dropdown {
    width: 100% !important;
}

.cart-icon{
    color: green;
}

.sticky-top{
    position: sticky !important;
    top: 0;
}


.form-control.k-widget .k-dropdown-wrap {
    height: 40px;
    border-radius: 0;
}

.form-control.k-widget {
    border: 0;
}

.form-control.k-widget .k-dropdown-wrap .k-input {
    line-height: 40px;
}

.text-white-force {
    color: #fff !important;
}

.help-block{
    margin-top: 0 !important;
}

.widget{
    padding: 15px 10px;
    color: #fff;
    min-height: 290px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Kolory kafelków*/
.tile{
    background-color: #fff;
    color: #000;
}
.tile-products {
    display: none;
}
@media screen and (min-width: 640px) {
    .tile-products {
        display: block;
    }
}
.tile-products {
    background-color: #f8f6f9;
    background-image: url("../../images/products.jpg");
    background-size: cover;
    background-position: center;
}
.tile-products .widget{
    padding: 0;
}
.tile-products .widget .content{
    padding: 0;
}
.tile-products .widget .dark-header{
    padding: calc(15px + 0.33em) calc(10px + 0.33em);
}
.tile-primary {
    background-color: var(--primary);
}
.start-tile {
    grid-column: span 2;

}
.tile-orders {
    background-color: var(--secondary);
}
.tile-orders-time {
    background-color: var(--asset);
}
.tile-count .content h3 {
    min-height: 53px;
}

    .widget .header .title {
        font-size: 1.8rem;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    @media only screen and (max-width: 1666px) {
        .widget .header .title {
            font-size: 1.4rem;
        }
    }

    .widget .header .options {
        margin-left: auto;
    }

.widget .content {
    display: flex;
    flex-direction: column;
    padding: .4em;
    flex-grow: 1;
}

.x2 .widget {
    min-height: 357px;
}

.equal {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

.cart-quantity {
    width: 100px;
    float: left;
    background-color: #f4f4f4;
}

.cart-summary {
    background-color: #f4f4f4;
}
.cart-summary th {
    padding: 18px 8px !important;
}

.sitebar-bottom {
    bottom: 0px;
    top: auto;
    height: 36px;
    overflow: hidden;
}

/* Style dla contentu poszczególnych kafelków */

.base-info-links{
    margin-top: auto;
}
.base-info-links ul {
    flex-direction: row;
}
@media screen and (min-width: 640px) {
    .base-info-links ul {
        flex-direction: column;
    }
}
.base-info-links li{
    display: flex;
    align-items: center;
}
.base-info-links li{
    /* border-left: 1px solid #eee; */
    position: relative;
}
.base-info-links li {
}
.base-info-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.26);

}
.base-info-links a{
    color: #fff;
}
.dark-header{
    color: #000;
    font-weight: bold;
    font-size: 17px;
}
.products-image{
    flex-grow: 1;
}
@media (min-width: 600px) {
    .base-info-links ul {
        flex-direction: row;
    }

    .base-info-links li:first-child::before {
        display: none;
    }

    .base-info-links li:first-child a {
        padding-left: 0;
    }
}
.news{
    height: 100%;
}
.news-wrapper {
   display: grid;
   grid-template-columns: 1fr;
   gap: 15px;
   min-height: 200px;
}
@media (min-width: 600px) {
    .news-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}
.news-content{
    color: #222;
    display: flex;
    flex-direction: column;
}
.news-content:not(:last-child){
    margin-right: 20px;
}

.news-title{
    font-weight: bold;
}
.order-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.order-details .btn-default {
    background-color: transparent !important;
    color: #fff !important;
}
.order-details .btn-default:hover i {
    transform: translateX(10px);
    transition: .3s ease;
}
.qty-indicator{
    font-size: 7rem;
    font-weight: bold;
}
.order-info{
    font-size: 1.7rem;
    text-align: center;
}

/* style dla obrazków z użytkownikami */
.photo-wrapper {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.text-wrapper-front-tile {
    width: 100%;
}
@media screen and (min-width: 640px) {
    .photo-wrapper {
        display: flex;
    }
    .text-wrapper-front-tile {
        width: 58.33333333%;
    }
}
.man-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #216f92;
    object-fit: cover;
}
/* Dashboard grid layout*/
 .first-row{
     display: grid;
     grid-template-columns: 1fr;
     gap: 20px;
 }
.second-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.second-row .second-right-column{
    overflow: auto;
}
.first-left-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.second-left-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1100px){
    .second-left-column {
        grid-template-columns: repeat(3, 1fr);
    }
    .first-left-column {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px){
    .top-products{
       height: 100%;
    }
}

@media (min-width: 1600px) {
    .first-row {
        grid-template-columns: 1.4fr 1fr;
    }
    .first-left-column{
        grid-template-columns: repeat(3, 1fr);
    }
    .second-left-column {
        grid-template-columns: repeat(3, 1fr);
    }
   .second-row{
       grid-template-columns: 1.4fr 1fr;
   }
}
/* Dashboard tiles buttons styles */
.tile-orders .button-transparent, .tile-orders-time .button-transparent{
    font-weight: 600;
}
.fa-long-arrow-right{
    margin-left: 10px;
}
.fa-long-arrow-left{
    margin-right: 10px;
}
.outline-secondary .fa-times{
    margin-left: 10px;
}
.primary {
    color: var(--primary);
}
.blue-color{
    color: var(--secondary);
}
.white-color{
    color: white;
}
.technical-links a{
    padding: 8px 0;
}
.technical-links a .fa-long-arrow-right {
    margin-left: 0;
}
.tile-technical{
    padding: 20.6px;
}
.technical-links .glyphicon{
    margin-right: 10px;
}

.button-transparent {
    background: transparent;
    text-transform: uppercase;
    width: 100%;
    box-shadow: none;
    font-weight: bold;
    display: inline-block;
    margin-top: auto;
}

/* Slider styles and overrides */
.slider-wrapper{
    flex-grow: 1;
    overflow: hidden;
    margin-top: 8px;
}
.owl-stage-outer{
    position: absolute !important;
}
.owl-carousel {
    height: 100%;
    position: relative;
}
.owl-next,.owl-prev{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem !important;
    color: var(--secondary) !important;
    background: transparent;
    border: 0;
    z-index: 10;
}
.second-left-column .owl-next,
.second-left-column .owl-prev {
    top: 25%;
}
.owl-prev {
    left: 1px;
}
.owl-next{
    right: 1px;
}
.slider-item-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #222;
}

.warden-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.warden-name {
    font-size: 16px;
    color: #222;
    font-weight: bold;
    display: block;
    margin: 10px 0 3px 0;
    text-align: center;
}

.warden-email {
    font-size: 15px;
    color: var(--primary);
    text-align: center;
}
/* style do avatarów w warunkach handlowych  i pozycjonowanie*/
.warden-avatar, .discount-avatar{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #ddd;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.discount-avatar{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.discount-item, .warden-item{
    margin: 10px 25px;
    width: 160px;
}
#discount-wrapper .discount-item:nth-child(3n+1) > .discount-avatar {
    background-color: var(--secondary);
}

#discount-wrapper .discount-item:nth-child(3n+2) > .discount-avatar {
    background-color: var(--primary);
}

#discount-wrapper .discount-item:nth-child(3n) > .discount-avatar {
    background-color: var(--asset);
}

@media (max-width: 1159px){
    .center-on-mobile {
        justify-content: center;
    }
}

/* Chart styles */

.legend-container{
    padding: 0;
}

.canvas-container {
    position: relative;
}

#myChart {
    height:100%;
    width: 100%;
    object-fit: contain;
}

.legend-container li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.legend-container li span{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.legend-container li p{
    font-weight: bold;
    display: flex;
    flex-direction: column;
}
.chart-wrapper{
    height: 100%;
}
@media (min-width: 1400px){
    .canvas-container{
        display: flex;
        align-items: center;
    }
    .legend-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    .chart-wrapper {
        display: grid;
        grid-template-columns: minmax(auto, 250px) 1fr;
        gap: 30px;
    }
}

/* list sections styles */
.section-header{
    color: #222;
    font-weight: bold;
    font-size: 20px;
}
.section-header-smaller {
    color: #222;
    font-weight: bold;
    font-size: 17px;
}
.section-blue-header{
    color: var(--secondary);
    font-size: 17px;
    margin-top: 20px;
    font-weight: bold;
}
.group-name {
    font-weight: bold;
    font-size: 16px;
    padding: 10px
}
.section-wrapper{
    border-bottom: 1px solid var(--clr-border);
}

.edit-rating{
    background: #fff;
    padding: 15px;
}
.buttons-wrapper{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

.export-button{
    height: 100%;
    padding: 0 40px !important;
    min-height: 35px;
    position: relative;
    margin: 0 !important;
}

.export-button::after {
    content: '\f078';
    position: absolute;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 5px;
    top: 50%;
    font-size: 10px;
    transform: translateY(-50%);
    font-family: 'FontAwesome';
}

.filters-section-button{
    height: 40px;
}
.filter-button{
    background-color: var(--secondary);
    color: #fff;
    text-transform: uppercase;
    min-height: 40px;
    border: 0;
    padding: 0 35px;
    margin: 0;
    font-weight: 700;
}

.filter-button:hover,
.filter-button:focus {
    background-color: #188cae !important;
    color: #fff !important;
    text-decoration: none;
}

.button-outline {
    background: transparent;
    border: 2px solid;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0;
    margin: 0;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.header-outline{
    min-height: 34px !important;
}

.btn-success i {
    margin-right: 10px;
}

.button-outline.disabled{
    background: #f4f4f4;
}

.button-outline:hover {
    text-decoration: none;
}

.list-outline {
    background: transparent;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary) !important;
}

.outline-secondary:hover {
    background-color: var(--secondary) !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.outline-amarant{
    color: var(--amarant) !important;
    border-color: var(--amarant);
}
.outline-amarant:hover {
    color: #fff !important;
    background-color: var(--amarant);
}

.outline-success{
    color: var(--success);
    border-color: var(--success) !important;
}

.outline-success:hover {
    background-color: var(--success) !important;
    color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.btn-padding-x{
    padding: 0 18px;
}
.btn-padding-xl{
    padding: 0 30px;
}

.icon-button {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
}

.icon-button .fa,
.icon-button .glyphicon {
    font-size: 19px;
}

.contrast-button{
    background: #ddd;
    color: #222;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
    cursor: pointer;
    height: 40px;
    border: 0;
}

.contrast-button:hover,
.contrast-button:focus {
    background: #bbb;
    color: #222;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.contrast-button .fa {
    color: var(--primary) !important;
}

.quantity-group{
    display: flex;
    height: 30px !important;
    justify-content: flex-end;
}
.name-column {
    font-size: 13px !important;
    vertical-align: middle !important;
}
.image-column{
    width:30%
}
.img-column {
    width: 5%
}
.quantity-column {
    width: 20px;
    vertical-align: middle !important;
}

.price-column{
    width: 10%;
}
.available-column{
    width: 220px;
}
.synch-column{
    color: var(--primary);
    font-size: 16px !important;
}
.quantity-button {
    width: 30px;
    text-align: center;
    color: #fff;
    border: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.btn-add-to-basket{
    background-color: var(--primary);
}

.decrement-quantity{
    background-color: var(--secondary);
}

.increment-quantity {
    background-color: var(--asset);
}

.dropdown-wrapper{
    position: relative;
    height: 40px;
}

.filters-controls{
    padding: 10px;
}

@media (min-width: 1000px){
    .edit-rating > div{
        width: 50%;
    }
}

@media (min-width: 1600px){
    /* #filter-form {
        display:grid;
        grid-template-columns: 65% 1fr;
        gap: 0 1rem;
    } */
    .filters-controls {
        padding: 0 0 15px 0;
        display: flex;
        justify-content: flex-end;
    }
}

.filter-discounts {
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 15px;
}

.wrap-panel-search select,
.wrap-panel-search input,
.wrap-panel-search .k-multiselect{
    max-height: 40px;
}

.btn-list-icon {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 8px !important;
    color: gray;
    font-size: 15px !important;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
}

.btn-list-icon-delete {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 8px !important;
    color: red;
    font-size: 15px;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
}

.btn-list-icon-primary {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 8px !important;
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
}

.btn-list-icon-primary.invoice-check-btn {
    color: gray;
}
.btn-list-icon-primary.invoice-check-btn:disabled,
.btn-list-icon-primary.invoice-check-btn[disabled] {
    color: var(--secondary);
    opacity: 1;
}

.btn-list-icon-primary:hover {
    background: transparent;
    color: var(--secondary);
}

.btn-list-icon:hover {
    color: var(--secondary);
    background: transparent;
}

.btn-list-icon-delete:hover {
    color: var(--amarant);
    background: transparent;
}

/* Progress bar */
.progress-bar-well{
    width: 100%;
    background-color: #ddd;
    height: 10px;
}
.progress-success {
    background-color: rgb(44,183,18);
    height: 100%;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.progress-warning {
    background-color: var(--primary);
    height: 100%;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.progress-danger {
    background-color: var(--danger);
    height: 100%;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.progress-empty {
    background-color: rgb(237,42,121);
    height: 100%;
}

/* style podglądu produktu/zamówien */
.data-group{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 6px;
}
.return{
    width: 150px;
    height: 40px;
}
.return a{
   height: 100%;
}
.articles-list{
    table-layout: fixed;
}
.article-image{
    width: 100%;
    height: 120px;
}
.article-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (min-width: 1000px){
    .data-group {
        grid-template-columns: 30% 1fr;
        gap: 2rem;
    }
    .data-group-label {
        text-align: right;
        padding-left: 40px;
    }
}

/* file input */
.btn-file .button-outline {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.fileinput {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    place-items: center;
}

.fileinput .fileinput-exists{
    display: flex;
    align-items: center;
    cursor: pointer;
}
input[type="file"]{
    cursor: pointer;
}
.user-image-section {
    max-width: 450px;
    margin: 0 auto;
}
.image-controls a,
.image-controls span {
    margin-right: 0;
    margin-left: 0;
    cursor: pointer;
}

.image-controls a i {
    margin-left: 10px;
    font-size: 1.8rem;
}

.thumbnail {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 10px solid var(--clr-border);
    overflow: hidden;
}

.thumbnail > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.paper-clip {
    padding: 5px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-left: 0;
    border-radius: 0 !important;
    cursor: pointer;
}

.paper-clip i {
    font-weight: bold;
    font-size: 2rem;
    transform: rotate(-134deg);
}

.wrapping label{
    text-align: left !important;
    padding-left: 0 !important;
}
.inputs-wrapper .wrapping {
    width: 100%;
    max-width: 450px;
}

.files-table td{
    padding-top: 8px !important;
    padding-bottom: 5px !important;
}
@media (min-width: 900px){
    .inputs-wrapper .wrapping {
        width: 260px;
    }
}

/* product groups list */
.group-children {
    background: rgb(244,244,244);
}

.group-child {
    /* border-bottom: 1px solid #e5e5e5; */
    display: grid;
    grid-template-columns: 1fr auto;
}

.group-children,
.group-child {
    position: relative;
    box-sizing: border-box;
}

.group-child::after,
.group-children::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -150vw;
    height: 1px;
    width: 300vw;
    border-top: 1px solid #e5e5e5;;
}

.group-child .product-name{
    /* padding-left: 6rem; */
    font-size: 13px;
}

.group-parent + .group-children {
    padding-left: 6rem;
    overflow-x: hidden;
}

.group-child + .group-children {
    padding-left: 4rem;
}

.group-children td:not(.buttons) {
    padding-left: 40px !important;
}

.group-parent {
    display: grid;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid #e5e5e5;
}

.group-parent:hover {
    background-color: rgb(244,244,244);
}

.group-parent > .product-name{
    font-size: 13px;
}

.group-opened {
    background: rgb(244,244,244);
}
.group-opened .product-name {
    color: var(--secondary);
}
.group-collapsed {
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
}

.pointer{
    cursor: pointer;
}

.product-name{
    border-right: 1px solid #e5e5e5;
}

/* Invoices */

.reminder-settings{
    display: flex;
    max-width: 600px;
    flex-direction: column;
}

@media (min-width: 1400px){
    .reminder-settings{
        max-width: none;
        flex-direction: row;
        gap: 1rem;
        align-items: flex-end;
    }
    .reminder-settings .form-group{
        margin-bottom: 0;
    }
    .reminder-settings .checkbox{
        margin-bottom: 0;
    }
    .reminder-settings .filteer-button{
        margin-left: auto;
    }
}

.invoice-crucials{
    border: 1px solid gray;
}
.invoice-header {
    background-color: #f4f4f4;
    font-weight: bold;
    text-align: center;
}
.invoice-header-text{
    border-bottom: 1px solid #989494;
}

.invoice-crucial-data{
    display: grid;
    grid-template-columns: 1fr;
}

.invoice-crucial-data-group {
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.invoice-crucial-data .invoice-first-row{
    border-bottom: 1px solid #d4d4d4;
}
.invoice-crucial-data .invoice-second-row .invoice-crucial-data-group {
    border-bottom: 1px solid #d4d4d4;
}

.invoice-crucial-data .invoice-first-row,
.invoice-crucial-data .invoice-second-row {
    display: grid;
    grid-template-columns: 1fr;
}

.invoice-addresses {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoice-addresses .seller span,
.invoice-addresses .buyer span{
    font-weight: bold;
}

.invoice-positions .table tr{
    border-bottom: 1px solid #ddd;
}

.invoice-positions .table td,
.prices-table .table td {
    padding-top: 4px;
    padding-bottom: 4px;
}

.prices-table .table td:not(:last-child){
    border-left: 1px solid #ddd;
}

.prices-table .table {
    background-color: #f4f4f4;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.prices-table .table tr {
    border-bottom: 1px solid #ddd;
}
    .prices-table .table th,
    .prices-table .table td {
        text-align: center;
    }

.table tr {
    cursor: pointer;
}

@media (min-width: 1000px) {
    .invoice-crucial-data {
        grid-template-columns: 1fr 1fr;
    }
    .invoice-crucial-data-group{
        justify-content: space-between;
        gap: unset
    }
    .invoice-crucial-data .invoice-second-row .invoice-crucial-data-group {
        border-bottom: none;
    }
    .invoice-crucial-data .invoice-first-row,
    .invoice-crucial-data .invoice-second-row {
        grid-column: 1/3;
        grid-template-columns: 1fr 1fr;
    }
    .invoice-crucial-data .invoice-second-row {
        grid-row-start: 2;
    }
    .invoice-addresses{
        flex-direction: row;
        justify-content: space-between;
    }
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.news-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-card-title{
    font-size: 15px;
    font-weight: bold;
}

.news-card-details{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-info{
    font-size: 13px;
    color: #535353;
}

.news-card-img img {
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.tile.news .button-transparent {
    font-size: 11px !important;
    margin-bottom: -6px;
}

.tile.news {
    display: block;
}
.tiles-with-scroll-mobile {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    padding-bottom: 20px;
    overflow: auto;
}
.disable-tile-for-mobile {
    display: none;
}
.mobile-tile-width {
    min-width: 220px;
}
@media screen and (min-width: 640px) {
    .tile.news, .disable-tile-for-mobile {
        display: block;
    }
    .tiles-with-scroll-mobile  {
        display: none;
    }
}
.tile.news .widget .content .news-wrapper {
    margin-top: auto;
}

@media (min-width: 1000px){
    .news-grid{
        grid-template-columns: 1fr 1fr;
    }
    .news-card {
        grid-template-columns: 0.7fr 1fr;
    }
}

/* color utils */
.primary-color{
    color: var(--primary) !important;
}

/* Products select */
.hidden{
    display: none;
}

.clipped-select {
    max-width: 350px;
    position: relative;
}

.clipped-select:after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: '\f078';
    font-family: 'FontAwesome'
}

.products-select{
    position: relative;
}

.products-list {
    position: absolute;
    width: 100%;
    max-width: 350px;
    top: 100%;
}

.products-list,
.products-list ul {
    list-style-type: none;
    padding: 0;
    background: #fff;
    box-shadow: 0px 0px 19px -11px #000000
}

.products-list ul li a{
    padding: 10px;
    display: block;
    height: 100%;
}

.products-list ul li a:hover {
    text-decoration: none;
    color: var(--secondary);
}

.sidebar .hide-for-mobile ul ul a{
    background: #fff !important;
}

#sidebar{
    direction: rtl;
}

.sidebar{
    direction: ltr;
}

/* nav-tabs */
.nav-tabs {
    background: rgba(255,255,255,0.6);
}

.nav-tabs > li > a{
    text-decoration: none;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
    text-decoration: none;
}

/* tables */

#grid-questions .table > tbody > tr > td{
    padding: 0.5rem 1rem;
}
#grid-reviews .table > tbody > tr > td {
    padding: 0.5rem 1rem;
}
#grid-articles .table > tbody > tr:nth-child(even) {
    background-color: rgba(240,240,240, 0.4);
}
#grid-articles .table > tbody > tr > td{
    /* padding: 2px 8px !important; */
}
#grid-orders .table > tbody > tr > td.buttons{
    text-align: right;
}
.content-width {
    width: 155px;
}

.longer-content {
    min-width: 178px;
    width: 178px;
}

.min-width {
    width: 8%;
    min-width: 50px;
}

.products-menu ul li ul li .sitemap-list-element {
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.products-menu ul li ul li .sitemap-list-element a {
    flex: 1;
}
.products-menu ul li ul li .sitemap-list-element .submenu-toggle:hover {
    color: #3c9adc;
    cursor: pointer;
}
.products-menu ul li ul li .sitemap-list-element .submenu-toggle{
    padding-left: 5px;
}

.products-menu ul li ul li .sitemap-list-element a {
    transition: all .3s ease;
    padding: 0;
    border: 0;
}

/* scrollbar */
.secondary-theme-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.secondary-theme-scrollbar::-webkit-scrollbar-track {
    background: #d1d1d1;
}
.secondary-theme-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 0px;
    border: 0px solid #ffffff;
}

/* mobile news carousel  */

.mobile-news-carousel .slider-item-wrapper {
    align-items: flex-start;
}
.mobile-news-carousel .owl-stage-outer,
.mobile-news-carousel .owl-stage,
.mobile-news-carousel .owl-item,
.mobile-news-carousel .slider-item-wrapper {
    height: 100%;
}
.mobile-news-carousel .slider-item-wrapper .button-transparent {
    margin-bottom: 0;
}
.tile.news {
    position: relative;
}
.news-mob-nav {
    position: absolute;
    top: 30px;
    right: 15px;
}
.news-mob-nav .fa {
    margin: 0;
}
.news-mob-nav .owl-next,
.news-mob-nav .owl-prev {
    position: static;
}
.news-desktop-on {
    display: none;
}
@media screen and (min-width: 640px) {
    .news-mobile-off {
        display: none;
    }
    .news-desktop-on {
        display: grid;
    }
}

@media screen and (max-width: 640px) {
    .mobile-table-view {

    }
    .mobile-table-view .table-responsive {
        overflow: hidden;
    }
    .mobile-tables {
        width: calc(100vw - 83px);
        display: flex;
        flex-direction: column;
    }

    .mobile-tables td,
    .mobile-table-view #grid-articles .table > tbody > tr > td,
    .mobile-table-view #grid-invoices .table > tbody > tr > td {
        padding: 10px !important;
        border: 1px solid #e5e5e5;
        max-width: 100% !important;
    }

    .mobile-tables {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .mobile-tables .img-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* .quantity-group */
    .mobile-tables .controls {
        display: flex;
    }
    .mobile-tables .content .name span {
        display: block;
    }
    .mobile-tables .content .name {
        margin-bottom: 15px;
    }
    .mobile-tables .content .prices {
        display: block;
    }
    .mobile-tables .button-link a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: var(--secondary);
        color: #fff;
    }
    .mobile-tables .button-link {
        width: 100%;
    }

    .mobile-tables .controls .confirm,
    .mobile-tables .controls .details {
        width: 50%;
    }

    .mobile-tables .controls .confirm a {
        width: 100%;
    }

    .mobile-tables .controls .details a {
        border-radius: 3px;
    }

    /* #grid-articles table {
        border-collapse:separate; 
        border-spacing: 0 10px;
    } */

    .invoice-mobile-container {
        width: 100%;
        border: 1px solid #e5e5e5;
    }
    .invoice-mobile-wrap {
        padding: 10px;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .invoice-mobile-table .img-wrap {
        margin-bottom: 15px;
    }
    .invoice-mobile-table .content {
        margin-bottom: 15px;
    }
    .invoice-mobile-table .img-wrap {
        width: 100%;
    }
    .invoice-mobile-table img {
        object-fit: contain;
        max-width: 100%;
    }

    .invoice-mobile-container .total-amount {
        padding: 10px 0;
        width: 100%;
        border-top: 1px solid #e5e5e5;
        text-align: center;
    }
    /* .invoice-mobile-table {
        width: 100%;
    } */

    .popover {
        left: 60px !important;
    }
    .popover .arrow {
        display: none;
    }
}

.select2 {
    width: 100% !important;
}

.select2-container {
    z-index: 548;
}

    .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        padding-top: 4px !important;
        padding-left: 8px !important;
        height: 40px !important;
        border: 1px solid #ccd0d2 !important;
        border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
        transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s !important;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-select: none;
    }

        .select2-container .select2-selection--single .select2-selection__rendered {
            text-overflow: unset !important;
            white-space: unset !important;
        }

    .select2-container .select2-selection--multiple {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        padding-top: 4px !important;
        height: 50px;
        border: 1px solid #ccd0d2 !important;
        border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
        transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s !important;
        -ms-user-select: none;
        user-select: none;
        -webkit-user-select: none;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        border-right: 1px solid #fff !important;
        color: #fff !important;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
        background-color: #017ea8 !important;
    }

        .select2-container .select2-selection--multiple .select2-selection__rendered {
            display: flex;
            overflow-x: auto;
            /* height: 40px; */
        }

            .select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
                /* height: 40px; */
                margin-top: 0;
                border-radius: 3px;
                border-color: var(--secondary);
                background-color: var(--secondary);
                color: #fff;
            }

    .select2-container .select2-search__field {
        width: 100% !important;
        height: 40px;
    }

        .select2-container .select2-search__field:-ms-input-placeholder {
            color: #b1b7ba;
        }

        .select2-container .select2-search__field::placeholder {
            color: #b1b7ba;
        }

    .select2-container .select2-results__option {
        border-bottom: 1px solid black;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .select2-container .select2-selection__clear {
        position: absolute;
        top: 50%;
        right: 5px;
        transform: translateY(-50%);
        min-width: 28px;
        background-color: #e4e4e4;
        border: 1px solid #aaa;
        padding: 0 !important;
        margin: 0 !important;
        margin-right: 5px !important;
        text-align: center;
        color: #999;
        line-height: 24px;
        height: 35px;
    }

.container-fluid .alert {
    margin-top: 15px;
}

.newsletter-confirm-buttons {
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buttons-group-wrapper button {
    width: 32%;
}

@media screen and (max-width: 700px) {
    .buttons-group-wrapper button {
        width: auto !important;
    }
}

/* SiteMapProductGroups*/

.group-children-sitemap {
    background: rgb(244,244,244);
}

.group-child-sitemap {
    display: grid;
    grid-template-columns: 12fr auto;
}

.group-children-sitemap,
.group-child-sitemap {
    position: relative;
    box-sizing: border-box;
}

.group-child-sitemap::after,
.group-children-sitemap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -150vw;
    height: 1px;
    width: 300vw;
}

.group-child-sitemap .product-name-sitemap {
    font-size: 15px;
}

.group-parent-sitemap + .group-children-sitemap {
    padding-left: 3rem;
    overflow-x: hidden;
}

.group-child-sitemap + .group-children-sitemap {
    padding-left: 2rem;
}

.group-children-sitemap td:not(.buttons) {
    padding-left: 40px !important;
}

.group-parent-sitemap {
    display: grid;
    grid-template-columns:12fr auto;
}


.group-parent-sitemap > .product-name-sitemap {
    font-size: 13px;
}

.group-opened-sitemap {
    background: rgb(244,244,244);
}

.group-opened-sitemap {
    color: var(--secondary);
}

.group-collapsed-sitemap {
    max-height: 0px;
    overflow: hidden;
    transition: all 300ms ease;
}

.pointer-sitemap {
    cursor: pointer;
} 