
:root {
  /* --color1: rgb(3, 149, 63); */
  --color1: rgb(0, 115, 66);
  --color2: rgb(0, 116, 69);
  /* --color3: #f5af24; */
  --color3: rgb(249,177,1);
  --color4: #ee3434;
}

.site-name img { height: 50px; }

.icon { border: 1px solid var(--color1); width: 32px; height: 32px; border-radius: 6px; text-align: center; background-color: #fff; display: inline-block; }
.icon img { margin: 0 auto; /* width: calc(100% - 8px); height: calc(100% - 8px); */ }
.icon-circle { border-radius: 50%; }
.p-desc .icon { transform: scale(.75); margin: 0 8px 0 0; }

p { line-height: 1.5em; }

.categories .topic > a { font-weight: 500; }

.basic-description .icon { display: inline-block; }

.breadcrumbs { /*background: rgba(249, 177, 1, .2);*/ }
.breadcrumbs > span > a,
.breadcrumbs > span > span { font-size: 12px; min-height: 0; padding: 6px 20px; }
.breadcrumbs > span > a:before { content: ">"; background: none; top: initial; transform: none; }
.breadcrumbs > span > a:after { background: none; }

#relatedFiles { list-style-type: none; }
#relatedFiles img { display: none; }
#relatedFiles li a { padding: 10px 15px; margin-bottom:15px; display: inline-block; background: var(--color-primary); color: #fff; text-transform: uppercase; }

.flag.flag-action { background: #F9A825; }

.custom-footer > div { padding: 20px; }

.btn.btn-default { color: #222222!important; font-weight: 500; }

.btn.add-to-cart-button:before,
.btn.btn-cart:before,
.btn.express-checkout-button:before,
a.btn.add-to-cart-button:before,
a.btn.btn-cart:before,
a.btn.express-checkout-button:before { content: "\276F"; font-size: inherit; }

.homepage-box { padding: 0; border: none; }
.next-to-carousel-banners { /*background: #6b75801a;*/ margin: 15px 0 0 0; }
.banner-custom {
  /*background: #6b75801a;*/
  border-radius: 9px;
  padding: 10px 30px;
}

#dkLabNoteMainWrapper textarea { width: 350px; height: 2.75em; border-radius: 0; margin-bottom: 15px; }
#dkLabNoteMainWrapper { display: none; }
.dkLabCartNoteDetailHeader { line-height: 1.25em;}
.extended-banner-link {
	background: var(--color-primary);
  color: #fff;
  top: 59%;
  left: 47.5%;
  right: auto;
  text-transform: uppercase;
  padding: 5px 15px;
  height: auto;
  line-height:24px;
  z-index: 999;
  }
.extended-banner-link:hover { background: var(--color-primary-hover); }
.extended-banner-link:before {
    content: "\276F";
    font-size: 16px;
    margin-right: 7px;
}

.shp-tabs-holder { background: #eee;}
.shp-tab-link { background: rgba(0,0,0,.05); }

.h4, .h5, .h6, h4, h5, h6, .bb-yellow {
	border-bottom: 2px solid var(--color3);
	padding-bottom: .25em;
}

.content-inner h3,
.basic-description h3,
.extended-description h3 {
	border-bottom: 2px solid var(--color3);
	padding-bottom: .15px;
}

.flag { border-radius: 3px; padding: 4px 10px; border-radius: 3px; font-weight: 600;}
.flag.flag-discount { background: #0078d7; }
.flag.flag-action { color: #222; background-color: var(--color-tertiary);}

.price-measure > span { padding: .25em; background: var(--colors-surface-tertiary); }

table.ceny thead th { padding: 4px 8px; border-bottom: 1px solid var(--color-primary); text-align: left; }
table.ceny tbody td { padding: 4px 8px; }

.detail-parameters td, .detail-parameters th { padding-bottom: 10px; }

/* alerts */
.alert { /*margin: 2em 0 0 0; box-shadow: 0 0 4px 0 rgba(0,0,0,.09); */ border: 2px solid var(--color1); position: relative; border-radius: 0; padding: 15px 3em; margin-bottom: 19px; }
.alert:before { position: absolute; font-size: 1.5em; content: ""; left: 0; top: 0; width: 1.65em; border-radius: 0; background: #fff; text-align: center; padding: .1em;}

/* .alert a { color: inherit; } */

.alert-primary {
  border-left: 5px solid #2e79b9;
  background: #fff;
  color: inherit;
}

.alert-info {
  border-color: #31a3c4;
  /* border-left: 5px solid #31a3c4; */
  background: #fff;
  color: inherit;
}
.alert-info:before { content: "\1F6C8"; background: #31a3c4; color: #fff; }

.alert-success {
  border-color: var(--color1);
  background: #fff;
  color: inherit;
}
.alert-success:before { content: "\f058"; background:var(--color1); color: #fff; }

.alert-warning {
  border-color: #f5af27;
  background: #fff;
  color: inherit;
}
.alert-warning:before { content: "\0021"; background: #f5af27; color: #fff; }

.alert-danger {
  border-color: #c53734;
  background: #fff;
  color: inherit;
}
.alert-danger:before { content: "\26A0"; background: #c53734; color:#fff; }

.d-in-block { display: inline-block; }
.d-block { display: block; }

.fill {
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

ul.fancy { padding: 0; position: relative; }
ul.fancy li { list-style-type: none; padding-left: 15px; margin-bottom: 5px; }
ul.fancy li:before {
	content:"❯";
	color: var(--color1);
	left: 0px;
  padding-right: 1em;
  font-size: .75em;
}

.odstin { padding: 1em; text-align: center;}
.odstin img { width: 100%; margin-bottom: 1em; }

@media (min-width: 768px) {
    .products-block.products > div {
        padding: 30px;
    }
}
@media (max-width: 767px) {
  .top-navigation-bar { box-shadow: 0 0 8px 3px #ccc; }
  .site-name img { height: 40px; }
}

.p-code { font-size: .75em; }

.footer-banners { border-top: 1px solid var(--colors-foregrounds-borders-secondary);}

/* MODAL */
/* Modal styling */
.modal-container {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(6,6,6,.3);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.modal-wrap {
	background-color: var(--colors-surface-primary);
	padding: 0px;
	border-radius: 5px;
	width: fit-content;
	/*max-width: 80%;*/
	max-height: 80%;
	overflow: auto;
	position: absolute;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
	/* Initial centered position */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Image modal styling */
.modal-content.image-mode {
	padding: 10px;
	background-color: transparent;
	box-shadow: none;
	overflow: visible;
}

.modal-content.image-mode .modal-body {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: transparent;
  height: fit-content;
}

.modal-content.image-mode .modal-header {
	position: absolute;
	top: -40px;
	left: 0;
	right: 0;
	border-bottom: none;
	color: white;
}

.modal-content.image-mode .close-modal {
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	top: -15px;
	right: -15px;
}

.modal-content.image-mode .gallery-nav {
	position: absolute;
	bottom: -50px;
	left: 0;
	right: 0;
}

.modal-content.image-mode .gallery-counter {
	background-color: var(--shadow);
	color: white;
	padding: 5px 10px;
	border-radius: 3px;
}

.modal-image {
	max-width: 100%;
	max-height: 75vh;
	display: block;
	margin: 0 auto;
	box-shadow: 0 2px 3px var(--shadow);
}

.modal-header {
	padding: 17px 35px 18px 20px;
	cursor: move;
	user-select: none;
	border-bottom: 1px solid var(--color-primary);
	padding-right: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--color-primary);
  color: #fff;
}

.modal-header h3 img { margin-right: 10px; width: 32px; height: 32px; }
.modal-header h3 {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	/*max-width: calc(100% - 6em);*/
}

.modal-body { padding: 20px; }

.close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
	background: var(--color-primary);
  color: #fff;
	border: none;
	padding: 0;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
}

.modal-loader {
	color: var(--text-secondary);
	text-align: center;
	padding: 55px;
}

/* Gallery navigation */
.gallery-nav {
	display: none;
	justify-content: space-between;
	/*margin-top: 5px;*/
}

.gallery-nav.active {
	display: flex;
}

.gallery-nav-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.gallery-counter, .modal-title {
	font-weight: 500;
	display: block;
	text-align: center;
	margin: 0 15px;
	align-self: center;
	margin: 4px 0;
}
.gallery-counter { font-size: .75em; font-weight: 400; opacity: .6;}

.modal-footer {
	padding: 20px;
	border-top: 1px solid var(--brdr);
	background: var(--colors-surface-primary);
	display: flex;
	align-items: center;
}


.d-flex { display: flex; }
.align-items-center { align-items: center; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 20px; padding-right: 20px; }
.px-3 { padding-left: 30px; padding-right: 30px; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }