:root {
	--color-red: #c00;
	--color-green: #090;
	--color-blue: #369;
	--color-white: #fff;
	--color-black: #000;
	--color-gray: #ccc;
	--color-silver: #eee;
    --color-primary: #000;
}
*::before,
*::after {
	box-sizing: border-box;
}
html {
	font-size: 10px;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem; 
}
body {
	margin: 0;
	padding: 0 0 5rem 0;
	width: 100%;
	min-width: 360px;
	min-height: 100vh;
	background: var(--color-white);
	position: relative;
	font-family: Arial;
	font-size: 1.4rem;
    background-color: var(--color-blue);	
	background-image: url(../img/bg.jpg);
	background-size: cover;
	background-position: 0 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 0 10rem #036 inset;
}
body::-webkit-scrollbar {
    width: 2.5rem;
}
body::-webkit-scrollbar-track {
    background: var(--color-blue);
}
body::-webkit-scrollbar-thumb {
    background: var(--color-white);
    border: 0.rem solid var(--color-blue);
    border-radius: 100vw;
    cursor: ns-resize;
}
@supports (scrollbar-color: red blue) {
    body {
        scrollbar-color: var(--color-blue) var(--color-white);
        scrollbar-width: auto;
    }
}

/* bootstrap */
.col-xm-1, .col-hd-1, 
.col-xm-2, .col-hd-2,
.col-xm-3, .col-hd-3,
.col-xm-4, .col-hd-4,
.col-xm-5, .col-hd-5,
.col-xm-6, .col-hd-6,
.col-xm-7, .col-hd-7,
.col-xm-8, .col-hd-8,
.col-xm-9, .col-hd-9,
.col-xm-10, .col-hd-10,
.col-xm-11, .col-hd-11,
.col-xm-12, .col-hd-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
@media (min-width: 576px) {
    .col-xm-1, .col-xm-2, .col-xm-3, .col-xm-4, .col-xm-5, .col-xm-6, .col-xm-7, .col-xm-8, .col-xm-9, .col-xm-10, .col-xm-11, .col-xm-12 {
      float: left;
    }
    .col-xm-12 {
      width: 100%;
    }
    .col-xm-11 {
      width: 91.66666667%;
    }
    .col-xm-10 {
      width: 83.33333333%;
    }
    .col-xm-9 {
      width: 75%;
    }
    .col-xm-8 {
      width: 66.66666667%;
    }
    .col-xm-7 {
      width: 58.33333333%;
    }
    .col-xm-6 {
      width: 50%;
    }
    .col-xm-5 {
      width: 41.66666667%;
    }
    .col-xm-4 {
      width: 33.33333333%;
    }
    .col-xm-3 {
      width: 25%;
    }
    .col-xm-2 {
      width: 16.66666667%;
    }
    .col-xm-1 {
      width: 8.33333333%;
    }
    .col-xm-pull-12 {
      right: 100%;
    }
    .col-xm-pull-11 {
      right: 91.66666667%;
    }
    .col-xm-pull-10 {
      right: 83.33333333%;
    }
    .col-xm-pull-9 {
      right: 75%;
    }
    .col-xm-pull-8 {
      right: 66.66666667%;
    }
    .col-xm-pull-7 {
      right: 58.33333333%;
    }
    .col-xm-pull-6 {
      right: 50%;
    }
    .col-xm-pull-5 {
      right: 41.66666667%;
    }
    .col-xm-pull-4 {
      right: 33.33333333%;
    }
    .col-xm-pull-3 {
      right: 25%;
    }
    .col-xm-pull-2 {
      right: 16.66666667%;
    }
    .col-xm-pull-1 {
      right: 8.33333333%;
    }
    .col-xm-pull-0 {
      right: auto;
    }
    .col-xm-push-12 {
      left: 100%;
    }
    .col-xm-push-11 {
      left: 91.66666667%;
    }
    .col-xm-push-10 {
      left: 83.33333333%;
    }
    .col-xm-push-9 {
      left: 75%;
    }
    .col-xm-push-8 {
      left: 66.66666667%;
    }
    .col-xm-push-7 {
      left: 58.33333333%;
    }
    .col-xm-push-6 {
      left: 50%;
    }
    .col-xm-push-5 {
      left: 41.66666667%;
    }
    .col-xm-push-4 {
      left: 33.33333333%;
    }
    .col-xm-push-3 {
      left: 25%;
    }
    .col-xm-push-2 {
      left: 16.66666667%;
    }
    .col-xm-push-1 {
      left: 8.33333333%;
    }
    .col-xm-push-0 {
      left: auto;
    }
    .col-xm-offset-12 {
      margin-left: 100%;
    }
    .col-xm-offset-11 {
      margin-left: 91.66666667%;
    }
    .col-xm-offset-10 {
      margin-left: 83.33333333%;
    }
    .col-xm-offset-9 {
      margin-left: 75%;
    }
    .col-xm-offset-8 {
      margin-left: 66.66666667%;
    }
    .col-xm-offset-7 {
      margin-left: 58.33333333%;
    }
    .col-xm-offset-6 {
      margin-left: 50%;
    }
    .col-xm-offset-5 {
      margin-left: 41.66666667%;
    }
    .col-xm-offset-4 {
      margin-left: 33.33333333%;
    }
    .col-xm-offset-3 {
      margin-left: 25%;
    }
    .col-xm-offset-2 {
      margin-left: 16.66666667%;
    }
    .col-xm-offset-1 {
      margin-left: 8.33333333%;
    }
    .col-xm-offset-0 {
      margin-left: 0;
    }
}
.visible-xm,
.visible-hd {
    display: none !important;
}
.visible-xm-block,
.visible-xm-inline,
.visible-xm-inline-block,
.visible-hd-block,
.visible-hd-inline,
.visible-hd-inline-block {
    display: none !important;
}
@media (max-width: 767px) {
    .visible-xm {
      display: block !important;
    }
    table.visible-xm {
      display: table !important;
    }
    tr.visible-xm {
      display: table-row !important;
    }
    th.visible-xm,
    td.visible-xm {
      display: table-cell !important;
    }
    .visible-xm-block {
      display: block !important;
    }
    .visible-xm-inline {
      display: inline !important;
    }
    .visible-xm-inline-block {
      display: inline-block !important;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    .visible-xm {
      display: block !important;
    }
    table.visible-xm {
      display: table !important;
    }
    tr.visible-xm {
      display: table-row !important;
    }
    th.visible-xm,
    td.visible-xm {
      display: table-cell !important;
    }
    .visible-xm-block {
      display: block !important;
    }
    .visible-xm-inline {
      display: inline !important;
    }
    .visible-xm-inline-block {
      display: inline-block !important;
    }
    .hidden-xm {
      display: none !important;
    }
}
@media (min-width: 1440px) {
    .col-hd-1, .col-hd-2, .col-hd-3, .col-hd-4, .col-hd-5, .col-hd-6, .col-hd-7, .col-hd-8, .col-hd-9, .col-hd-10, .col-hd-11, .col-hd-12 {
      float: left;
    }
    .col-hd-12 {
      width: 100%;
    }
    .col-hd-11 {
      width: 91.66666667%;
    }
    .col-hd-10 {
      width: 83.33333333%;
    }
    .col-hd-9 {
      width: 75%;
    }
    .col-hd-8 {
      width: 66.66666667%;
    }
    .col-hd-7 {
      width: 58.33333333%;
    }
    .col-hd-6 {
      width: 50%;
    }
    .col-hd-5 {
      width: 41.66666667%;
    }
    .col-hd-4 {
      width: 33.33333333%;
    }
    .col-hd-3 {
      width: 25%;
    }
    .col-hd-2 {
      width: 16.66666667%;
    }
    .col-hd-1 {
      width: 8.33333333%;
    }
    .col-hd-pull-12 {
      right: 100%;
    }
    .col-hd-pull-11 {
      right: 91.66666667%;
    }
    .col-hd-pull-10 {
      right: 83.33333333%;
    }
    .col-hd-pull-9 {
      right: 75%;
    }
    .col-hd-pull-8 {
      right: 66.66666667%;
    }
    .col-hd-pull-7 {
      right: 58.33333333%;
    }
    .col-hd-pull-6 {
      right: 50%;
    }
    .col-hd-pull-5 {
      right: 41.66666667%;
    }
    .col-hd-pull-4 {
      right: 33.33333333%;
    }
    .col-hd-pull-3 {
      right: 25%;
    }
    .col-hd-pull-2 {
      right: 16.66666667%;
    }
    .col-hd-pull-1 {
      right: 8.33333333%;
    }
    .col-hd-pull-0 {
      right: auto;
    }
    .col-hd-push-12 {
      left: 100%;
    }
    .col-hd-push-11 {
      left: 91.66666667%;
    }
    .col-hd-push-10 {
      left: 83.33333333%;
    }
    .col-hd-push-9 {
      left: 75%;
    }
    .col-hd-push-8 {
      left: 66.66666667%;
    }
    .col-hd-push-7 {
      left: 58.33333333%;
    }
    .col-hd-push-6 {
      left: 50%;
    }
    .col-hd-push-5 {
      left: 41.66666667%;
    }
    .col-hd-push-4 {
      left: 33.33333333%;
    }
    .col-hd-push-3 {
      left: 25%;
    }
    .col-hd-push-2 {
      left: 16.66666667%;
    }
    .col-hd-push-1 {
      left: 8.33333333%;
    }
    .col-hd-push-0 {
      left: auto;
    }
    .col-hd-offset-12 {
      margin-left: 100%;
    }
    .col-hd-offset-11 {
      margin-left: 91.66666667%;
    }
    .col-hd-offset-10 {
      margin-left: 83.33333333%;
    }
    .col-hd-offset-9 {
      margin-left: 75%;
    }
    .col-hd-offset-8 {
      margin-left: 66.66666667%;
    }
    .col-hd-offset-7 {
      margin-left: 58.33333333%;
    }
    .col-hd-offset-6 {
      margin-left: 50%;
    }
    .col-hd-offset-5 {
      margin-left: 41.66666667%;
    }
    .col-hd-offset-4 {
      margin-left: 33.33333333%;
    }
    .col-hd-offset-3 {
      margin-left: 25%;
    }
    .col-hd-offset-2 {
      margin-left: 16.66666667%;
    }
    .col-hd-offset-1 {
      margin-left: 8.33333333%;
    }
    .col-hd-offset-0 {
      margin-left: 0;
    }
    .visible-hd {
      display: block !important;
    }
    table.visible-hd {
      display: table !important;
    }
    tr.visible-hd {
      display: table-row !important;
    }
    th.visible-hd,
    td.visible-hd {
      display: table-cell !important;
    }
    .visible-hd-block {
      display: block !important;
    }
    .visible-hd-inline {
      display: inline !important;
    }
    .visible-hd-inline-block {
      display: inline-block !important;
    }
  .container {
      width: 1410px;
  }
  .hidden-hd {
    display: none !important;
  }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .hidden-lg {
    display: none !important;
  }
}

/* login form */

#loginForm {
	position: fixed;
	inset: 0;
	margin: auto;
	padding: 1rem 2rem 2rem 2rem;
	width: 52rem;
	height: max-content; 
	border-radius: 1rem;
	background: rgba(240,240,240,0.9);
	outline: 0.5rem solid var(--color-silver);
	outline-offset: 0.5rem;
    box-shadow: 0 0 1rem var(--color-gray) inset,
				0 0 5rem var(--color-black);
	opacity: 0;
    
	-webkit-animation: loginForm 1s forwards;
    -moz-animation: loginForm 1s forwards;
    -ms-animation: loginForm 1s forwards;
    -o-animation: loginForm 1s forwards;
	animation: loginForm 1s forwards;
    
	-webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    -ms-animation-delay: 1s;
    -o-animation-delay: 1s;
	animation-delay: 1s;
}
@-webkit-keyframes loginForm { 100% { opacity: 1; } }
@-moz-keyframes loginForm { 100% { opacity: 1; } }
@-ms-keyframes loginForm { 100% { opacity: 1; } }
@-o-keyframes loginForm { 100% { opacity: 1; } }
@keyframes loginForm { 100% { opacity: 1; } }

@media(max-width: 767px) {
    #loginForm {
        width: 26rem;
    }
}

#loginForm h2 {
	margin: 2rem 0 1rem 0;
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.4rem;
    color: transparent;
    background-image: url(../img/view.jpg);
    
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -ms-background-clip: text;
    -o-background-clip: text;
    background-clip: text;
    
    background-size: cover;
    background-position: 50% 50%;
}
#loginForm .form-field {
	display: block;
	margin-bottom: 1rem;
	text-align: left;
}
#loginForm .form-field input {
	display: block;
	width: 100%;
	padding: 1rem;
	background: var(--color-white);
	border: 0;
	border-radius: 0.5rem;
	font-size: 1.5rem;
}
#loginForm .form-field input:hover,
#loginForm .form-field input:focus {
	box-shadow: 0 0 1rem var(--color-gray);
}
#loginForm .form-field label {
	display: block;
	font-size: 1.2rem;
	font-weight: normal;
	margin: 1rem;
	cursor: pointer;
}
#loginForm .form-field label input {
	display: inline-block;
	width: auto;
	accent-color: var(--color-black);
}
#loginForm button {
	padding: 1rem;
	background: var(--color-white);
	color: var(--color-black);
	font-size: 1.2rem;
	border: 0;
	border-radius: 0.5rem;
}
#loginForm button:hover,
#loginForm button:focus {
	outline: 0.2rem solid var(--color-silver);
	outline-offset: -0.5rem;
	cursor: pointer;
	box-shadow: 0 0 1rem var(--color-gray);	
}
#loginForm p {
    margin-top: 1rem;
    font-size: 1.4rem;
    text-align: center;
}

.breadcrumb {
    border-radius: 1rem;
}
.pageHead.breadcrumb {
    color: #eee;
    margin-bottom: 0;
}
.pageHead.breadcrumb a {
    color: #fff;
}
/* top */

#top {
    position: fixed;
    z-index: 990;
    top: 0;
    left: 15px;
    right: 15px;
    height: 4rem;
    background: rgba(255,255,255,0.9);
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1rem;
}
#top ul.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
#top ul.menu li {
	display: inline-block;
	padding: 0;
}
#top ul.menu li a {
	position: relative;
	display: block;
	font-size: 1.4rem;
	line-height: 2rem;
	color: var(--color-black);
	padding: 0 1rem;
}
#top ul.menu li a:hover,
#top ul.menu li a:focus {
	color: var(--color-blue);
	text-decoration: none;
}
#top ul.menu li a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1.1rem;
    width: 100%;
    height: 0.5rem;
	background: var(--color-blue);
	transform: scaleX(0);
    
	-webkit-transition: transform 0.5s easy-in;
    -moz-transition: transform 0.5s easy-in;
    -ms-transition: transform 0.5s easy-in;
    -o-transition: transform 0.5s easy-in;
	transition: transform 0.5s easy-in;
    
	-webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -ms-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
	transition-duration: 0.5s;
}
#top ul.menu li.active a::after {
	background: var(--color-red);
}
#top ul.menu li a:hover::after {
	transform: scaleX(0.7);
}

#top ul.menu li img {
    display: inline-block;
    max-height: 2rem;
    margin-left: 0;
    margin-top: -0.4rem;
}
#top ul.menu li.active a,
#top ul.menu li.active a:hover,
#top ul.menu li.active a:focus {
	color: var(--color-red);
}
#top ul.menu li ul.dropdown-menu {
    background-color: rgba(255,255,255,0.9);
}
#top ul.menu li ul.dropdown-menu li {
    display: block;
    padding: 2px 0;
}
#top ul.menu li ul.dropdown-menu li a {
    padding: 3px 20px;
}
#top ul.menu li ul.dropdown-menu li.active a {
    color: var(--color-white);
}
#top .pl15 {
    padding-left: 15px;
}
#top ul.none-effect li a::after {
    transform: scaleX(0) !important;
    
	-webkit-transition: transform 0.5s easy-in !important;
    -moz-transition: transform 0.5s easy-in !important;
    -ms-transition: transform 0.5s easy-in !important;
    -o-transition: transform 0.5s easy-in !important;
	transition: transform 0.5s easy-in !important;
    
	-webkit-transition-duration: 0.5s !important;
    -moz-transition-duration: 0.5s !important;
    -ms-transition-duration: 0.5s !important;
    -o-transition-duration: 0.5s !important;
	transition-duration: 0.5s !important;
}
#top ul.none-effect li a {
  color: var(--color-black) !important;
}
#top ul.none-effect li.active a {
  color: var(--color-white) !important;
}
#userMenu {
    position: absolute;
    top: 0.5rem;
    right: 4rem;
}
#userMenu button#userSubMenu {
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}
#userMenu .dropdown-menu {
    min-width: 15rem;
    background-color: rgba(255,255,255,0.9);
}
#userMenu .dropdown-menu ul li a {
    font-size: 1.4rem;
}
#userLogout {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}
#userLogout a {
    position: relative;
    display: block;
    font-size: 1.4rem;
    line-height: 2rem;
    color: var(--color-red);
    padding: 6px;
}
#userLogout a:hover {
  color: var(--color-blue);
  text-decoration: none;
}

/* page */
#blank {
    width: 100%;
    height: 6rem;
}
.page {
    position: relative;
    width: calc( 100% - 30px );
    margin: 0 15px 0 15px;
    border-radius: 1rem;
    background: rgba(240,240,240,0.9);
    accent-color: var(--color-blue);
}
.page.page-transparent {
    background: transparent;
}
.page.page-white {
  background-color: #fff;
}
.page .pageHead {
    padding: 1rem 2rem;
    background: linear-gradient( 90deg, var(--color-blue), #337ab7 );
    border-radius: 1rem;
    font-size: 1.4rem;
    color: var(--color-white);
}
.page .pageHead span {
    margin-right: 1rem;
}
.page .pageBody {
    padding: 2rem;
    font-size: 1.4rem;
}
@media(max-width: 767px) {
  .page .pageBody {
    padding: 2rem 1rem;
  }
}
.page .pageWhite {
  background-color: rgba(255,255,255,0.9);
  border-radius: 1rem;
}
.page .alert {
    padding: 1rem 1.5rem 1rem 1.5rem;
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
}
.page .help-block { 
    font-size: 1.2rem;
}
.page fieldset {
    border: 0.1rem solid var(--color-blue);
    border-radius: 1rem;
    padding: 1rem 2rem;
}
.page fieldset legend {
    display: inline-block;
    background: linear-gradient( 90deg, var(--color-blue), #337ab7 );
    color: #fff;
    width: max-content;
    padding: 0.3rem 1.5rem;
    font-size: 1.2rem;
    margin: 0;
    border-radius: 0.5rem;
}
.page input[type=checkbox] {
    accent-color: var(--color-red);
    transform: scale(1.5);
    outline: 0.2rem solid var(--color-red);
    outline-offset: -0.2rem;
    cursor: pointer;
}
.page input[type=checkbox]:checked {
    accent-color: var(--color-green);
    outline: none;
}
.page .checkbox {
    margin: 1rem 0.5rem;
}
.page .checkbox::after {
    content: 'nie';
    font-size: 1.1rem;
    position: absolute;
    left: 2rem;
    color: var(--color-red);
}
.page .checkbox:checked::after {
    content: 'tak';
    color: var(--color-green);
}
.page .checkbox2 {
    margin: 0 0.5rem;
}
.page .checkbox2::after {
    content: attr(title);
    width: 100%;
}
.page .checkbox2:checked::after {
    content: attr(title);
    width: 100%;
}
.page .checkbox2bold::after {
    font-weight: bold;
    color: var(--color-black);
}
.page .checkbox2bold:checked::after {
    font-weight: bold;
    color: var(--color-black);
}
.page .checkblack {
    outline: 0.2rem solid var(--color-black) !important;
}
.page .checkblack:checked {
    outline: none !important;
}
.page label.simple {
    margin-left: 1rem;
    font-weight: normal;
    cursor: pointer;
}

.page .btn-box {
    width: 100%;
    height: max-content;
    border-radius: 1rem;
    background: rgba(255,255,255,0.8);
    color: var(--color-black);
    font-size: 18px;
    padding: 1rem 0.5rem;
    margin-bottom: 25px;
}
@media( min-width: 1200px ) and ( max-width: 1439px ) {
  .page .btn-box {
    font-size: 16px;
  }
}
@media( min-width: 992px ) and ( max-width: 1199px ) {
  .page .btn-box {
    font-size: 14px;
  }
}
@media( min-width: 768px ) and ( max-width: 991px ) {
  .page .btn-box {
    font-size: 16px;
  }
}
@media( min-width: 500px ) and ( max-width: 767px ) {
  .page .btn-box {
    font-size: 14px;
  }
}
@media( min-width: 420px ) and ( max-width: 499px ) {
  .page .btn-box {
    font-size: 12px;
  }
}
@media( max-width: 419px ) {
  .page .btn-box {
    font-size: 10px;
  }
}
.page .btn-box span {
    display: block;
    margin: 1rem auto;
    font-size: 4rem;
}
.page .btn-box:hover {
    color: var(--color-blue);
}

input:required,
select:required {
    background-image: url(../img/star.png);
    background-repeat: no-repeat;
    background-position: calc(100% - 0.5rem) 0.5rem;
}

.sticky thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 999;
}
.sticky40 thead {
    top: 40px;
}
.sticky-white thead {
    background: rgba(255,255,255,0.8);
}

.sort {
    display: inline-block;
    margin-left: 5px;
    vertical-align: top;
    color: #999;
    cursor: pointer;
}
.sort-rotate {
    transform: rotate(180deg);
}
.sort:hover {
    color: #369;
}
.sort-active {
    color: #000;
}

/* rest */

.success {
	display: block;
	color: var(--color-green);
	font-size: 1.25rem;
	padding: 0.5rem 1rem;
}
.error {
	display: block;
	color: var(--color-red);
	font-size: 1.25rem;
	padding: 0.5rem 1rem;
}
.max150 {
  max-width: 150px;
}
.mt1r {
    margin-top: 1rem;
}
.mt2r {
    margin-top: 2rem;
}
.mt55 {
    margin-top: 55px;
}
.mb1r {
    margin-bottom: 1rem;
}
.mb2r {
    margin-bottom: 2rem;
}
.fs12 {
    font-size: 1.2rem;
}
.mhauto {
  margin-left: auto;
  margin-right: auto;
}
input.manualRange {
    float: right;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 0.5rem;
    border: 0.1rem solid var(--color-gray);
}
.width25proc {
    display: inline-table;
    width: 23%;
    margin-right: 2%;
}
.width25proc:last-child {
    margin-right: 0;
}
.width30px {
  width: 30px;
  min-width: 30px;
}
.width50px {
    width: 50px;
    min-width: 50px;
}
.width80px {
  width: 80px;
  min-width: 80px;
}
.width90px {
  width: 90px;
  min-width: 90px;
}
.width100px {
    width: 100px;
    min-width: 100px;
}
.width120px {
  width: 120px;
  min-width: 120px;
}
.width150px {
    width: 150px;
    min-width: 150px;
}
.width200px {
    width: 200px;
    min-width: 200px;
}
.bg-red {
    background: var(--color-red);
    color: var(--color-white);
}
.bg-green {
    background: var(--color-green);
    color: var(--color-white);
}
.bg-blue {
    background: var(--color-blue);
    color: var(--color-white);
}
.toast-message {
    font-size: 1.4rem;
}
.page .pagination {
    margin: 0;
}
.alert-dismissable .close,
.alert-dismissible .close {
    right: -5px;
}
.pager {
    margin: 0;
}
#pager {
    margin: 0 0.5rem;
    padding: 0.2rem 0.5rem;
    border: 0.4rem solid var(--color-white);
    border-radius: 1.5rem;
    text-align: center;
    outline: 0.1rem solid var(--color-gray);
    cursor: pointer;
}
#limiter {
    margin: 0 0 0 1rem;
    padding: 0.2rem 0.5rem;
    border: 0.4rem solid var(--color-white);
    border-radius: 0.5rem;
    text-align: center;
    outline: 0.1rem solid var(--color-gray);
    cursor: pointer;
}
#filter {
    width: 300px;
    margin-bottom: 1rem;
    position: relative;
}
#filter input {
    border-radius: 2rem 0 0 2rem;
}
#filter button {
    border-radius: 0 2rem 2rem 0;
}
#filter .clear {
    position: absolute;
    z-index: 9;
    top: 5%;
    left: 65%;
    padding: 0.3rem;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--color-gray);
    cursor: pointer;
}
#filter .clear:hover {
    color: var(--color-black);
}
#only {
    float: right;
    width: 300px;
    text-align: right;
}
#filters {
    float: right;
    text-align: right;
}
#filters select {
    display: inline-block;
    margin-left: 1rem;
    width: max-content;
    padding: 0.3rem 1rem;
    border-radius: 1.5rem;
    text-align: left;
    outline: 0.1rem solid var(--color-gray);
    cursor: pointer;    
}
#filters input[type=date] {
    border-radius: 1.5rem;
    outline: 0.1rem solid var(--color-gray);
}
.zoom {
    position: relative;
}
.zoom img.mini {
    max-width: 100px;
}
.zoom img.over {
    position: absolute;
    display: none;
    z-index: 9;
    top: -25px;
    left: -5px;
    max-height: 300px;
}
.zoom:hover img.over {
    display: block;
}
img.preview {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}
.table-responsive-unset {
    overflow-x: unset;
}
.dropzone {
    min-height: 200px;
}
.img-preview {
    display: inline-block;
    width: 32%;
    margin: 5px 1% 0 0;
    background: #ccc;
    padding: 5px;
    border-radius: 5px;
}
.img-preview img {
    max-width: 100%;
    margin-bottom: 5px;
}
.img-preview .btn {
    float: right;
}
@media (max-width: 1199px) {
  .table thead th {
    font-size: 1.2rem;
  }
  .table tbody td a {
    display: inline-block;
    text-transform: lowercase;
  }
  .table tbody td a:first-letter, .table tbody td a::first-letter {
    text-transform: uppercase !important;
  }
}
@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
    }
    .zoom:hover img.over {
        display: none;                  
    }
}
.btn-default {
    --color-primary: #ccc;
}
.btn-primary {
    --color-primary: #2e6da4;
}
.btn-success {
    --color-primary: #4cae4c;
}
.btn-info {
    --color-primary: #46b8da;
}
.btn-warning {
    --color-primary: #eea236;
}
.btn-danger {
    --color-primary: #d43f3a;
}
.btn:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 1px;
    box-shadow: none;
}
input[type=date]:focus,
select:focus {
    outline: 3px solid var(--color-blue) !important;
    outline-offset: 1px !important;
}
input[type=checkbox]:focus {
    box-shadow: 0 0 0px 2px #000;
}
#carousel-preview {
    background: #fff;
    aspect-ratio: 1 / 0.75;
}
#carousel-preview a.carousel-control {
    background: none;
    text-shadow: none;
    color: #000;
    width: 10%;
}
#carousel-preview .carousel-caption {
    color: #000;
    padding: 5px 15px;
    background: rgba(255,255,255,0.75);
    width: max-content;
    bottom: 30px;
    margin: 0 auto;
    border: 1px solid #999;
    border-radius: 5px;
    text-shadow: none;
}
#carousel-preview .carousel-caption small {
    color: #999;
}
#carousel-preview .carousel-indicators {
    bottom: -8px;
}
#carousel-preview .carousel-indicators li {
    width: 13px;
    height: 13px;
    margin: 0px 5px;
    background-color: rgba(0,0,0,0.2);
    border: 1px solid #333;
    border-radius: 13px;
}
#carousel-preview .carousel-indicators .active {
    width: 13px;
    height: 13px;
    margin: 0 5px;
    background-color: rgba(0,0,0,0.8);
    border: 1px solid #000;
}
#carousel-preview .carousel-inner {
    height: 100%;
}
#carousel-preview .carousel-inner>.item {
    height: 100%;
}
#carousel-preview .carousel-inner>.item>a>img, 
#carousel-preview .carousel-inner>.item>img {
    margin: auto;
    outline: 0.1rem solid #ccc;
    outline-offset: -1px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}
#productList {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 3.2rem;
    z-index: 9998;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    max-height: 20rem;
    overflow-y: auto;
}
#productList span {
    display: block;
    padding: 0.3rem 1rem;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
}
#productList span:hover {
    color: #369;
    background-color: #f9f9f9;
}
.sortable-highlight {
    height: 10rem;
    background-color: #9cf;
}
button.position {
    cursor: move;
}
.grid {
    background-color: #fff;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 25px;
}
.grid td {
    background: rgba(255,255,255,0.7);
    text-align: center;
    vertical-align: center;
}
.grid.grid-h td {
    width: 60px;
    height: 45px;
}
.grid.grid-v td {
    width: 45px;
    height: 60px;
}
.grid td input {
    display: none;
}
.grid td label {
    display: block;
    margin: 0;
    background-image: url(../img/mark.png);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0;
}
.grid td label:hover {
    opacity: 0.2;
}
.grid.grid-h td label {
    width: 60px;
    height: 45px;
}
.grid.grid-v td label {
    width: 45px;
    height: 60px;
}
.grid td input:checked + label {
    opacity: 1;
}
.row.narrow {
  margin-right: -5px;
  margin-left: -5px;
}
.row.narrow .col {
  padding-right: 5px;
  padding-left: 5px;
}
.rows {
    background: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 25px;
}
.rows td {
    background: rgba(255,255,255,0.7);
    text-align: center;
}
.rows.rows-h td,
.rows.rows-h td label {
    width: 180px;
    height: 45px;
}
.rows.rows-v td,
.rows.rows-v td label {
    width: 60px;
    height: 135px;
}
.rows td input {
    display: none;
}
.rows td label {
    display: block;
    margin: 0;
    cursor: pointer;
    opacity: 0.2;
}
.rows td label span {
    color: #000;
    font-size: 24px;
}
.rows td label:hover {
    opacity: 0.5;
}
.rows td input:checked + label {
    opacity: 1;
}
.rows.rows-h.cols-v td,
.rows.rows-h.cols-v td label {
    width: 60px;
    height: 135px;
}
.rows.rows-h.cols-v td label span {
    line-height: 135px;
}
.rows.rows-v.cols-h td,
.rows.rows-v.cols-h td label {
    width: 180px;
    height: 45px;
}
.rows.rows-v.cols-h td label span {
    line-height: 45px
}

div.serv {
    display: inline-block;
    margin-left: 0.5rem;
}
div.serv label {
    margin: 0 1rem 0 0.5rem;
    font-weight: normal;
    cursor: pointer;
}
.table-stats {
    max-height: 50rem;
    overflow-y: auto;
}
.table-stats th,
.table-stats td {
    font-size: 1.2rem;
}
.btn-black {
    background: #000;
    border-color: #000;
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
.btn-black:hover {
    background: #333;
}
hr {
    border-top: 1px solid #ccc;
}
@keyframes blink-animation {
    to {
      visibility: hidden;
    }
}
@-webkit-keyframes blink-animation {
    to {
      visibility: hidden;
    }
}
.news-list {
    font-size: 1.4rem;
}

.same-height { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; flex-wrap: wrap; }
.same-height .col { display: flex; flex-direction: column; }
.same-height .col .prod { height: 100%; }

.box { height: calc( 100% - 20px ); margin-bottom: 2rem; padding-top: 5px; padding-bottom: 1rem; border-radius: 1rem; background-color: #f9f9f9; outline: 1px solid #ccc; }
.box:hover { outline: 1px solid #369; }
.box .label { position: absolute; z-index: 2; top: 5px; left: 20px; font-size: 1.4rem; max-width: calc(100% - 40px); display: inline-block; white-space: normal; text-align: left;}
.box .label-success { position: absolute; z-index: 2; top: 5px; left: unset; right: 20px; font-size: 1.4rem; }
.box .label-discount { top: 184px; left: unset; right: 20px; }
.box img { display: block; max-width: 100%; height: 150px; object-fit: cover; margin: 0 auto; border-radius: 1rem; }
.box img:hover { opacity: 0.8; }
.box p { display: block; margin: 0; padding: 5px 10px 0 10px; }
.box .price { display: inline-block; padding: 5px 10px 0 10px; }
.box .inputs { padding: 5px 10px 0 10px; }
.box ul.units li { padding: 5px 10px; font-size: 12px; cursor: pointer; }
.box ul.units li:hover { color: #369; }
.box ul.units li.active { font-weight: bold; }
.box ul.units li.divider { padding: 0; margin: 2px 0; }

.tr ul.units li { padding: 5px 10px; font-size: 12px; cursor: pointer; }
.tr ul.units li:hover { color: #369; }
.tr ul.units li.active { font-weight: bold; }
.tr ul.units li.divider { padding: 0; margin: 2px 0; }
.tr td { vertical-align: middle !important; }

.searchResults {
  position: absolute;
  z-index: 9;
  top: 33px;
  left: 0;
  width: 100%;
  text-align: left;
  border: 1px solid #ccc;
  background-color: #fff;
}
.searchResult {
  padding: 3px 5px;
  font-size: 13px;
}
.searchResult:hover {
  background-color: #eee;
  color: #036;
  cursor: pointer;
}

.table-vertical-middle td {
  vertical-align: middle !important;
}
label.only {
  font-size: 13px;
  font-weight: normal;
}
label.only input[type=checkbox].filter {
  accent-color: auto !important;
  outline: none !important;
  transform: scale(1);
}
.filterRight {
  position: absolute;
  z-index: 9;
  top: 4px;
  right: 5px;
}
.filterRight button {
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.filterRight button:hover, .filterRight button:active, .filterRight button:focus {
  color: #eee !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.filterRight .dropdown-menu {
  min-width: 15rem;
  background-color: #fff;
}
.filterRight ul.dropdown-menu li {
  color: #000;
  padding: 3px 10px;
  font-size: 14px;
  cursor: pointer;
}
.filterRight ul.dropdown-menu li:hover {
  background-color: #eee;
  color: #036;
}
.filterRight ul.dropdown-menu li.active {
  font-weight: bold;
}
.breadcrumb>.active {
  color: #fff;
}
.rangeGroup, .rangeCategory, .rangeTemplate {
  margin-left: 20px;
}
.rangeGroup label, .rangeCategory label, .rangeTemplate label {
  text-transform: lowercase;
}
.rangeGroup label:first-letter, .rangeGroup label::first-letter, 
.rangeCategory label:first-letter, .rangeCategory label::first-letter, 
.rangeTemplate label:first-letter, .rangeTemplate label::first-letter {
  text-transform: uppercase;
}
.line12 {
  line-height: 12px !important;
}
tr.odd {
  background-color: #f9f9f9;
}
ul.products_results {
  position: absolute;
  z-index: 9;
  background: #fff;
  border: 1px solid #ccc;
  top: 29px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.products_results li {
  display: block;
  padding: 3px 10px;
  font-size: 12px;
  color: #333;
}
ul.products_results li:hover {
  background: #eee;
  color: #000;
  cursor: pointer;
}
