@keyframes opacity-animation {
	0%   { opacity: 0 }
	100% { opacity: 1 }
}
@keyframes height-animation {
	0%   { height: 0px }
	100% { height: 30px }
}

#app * {
	box-sizing: border-box;	
}

.animation {
	animation-name: opacity-animation;
	animation-duration: 1.5s;
/*	overflow: hidden;*/
}
.deksmart-link {
	float: left;
	margin: 0 20px 0 0px;
}
.kalk-title{
	padding: 2px 0px;
	font-size: 25px;
	font-weight: 500;
	float: left;
	margin: 0;
}
.logo-tisk {
	float: right;		
}
#hlavicka-tisk {
	display: none;
	margin-top: 10px;
	clear: both;
	font-size: 12px;	
}
#app {
	animation-name: opacity-animation;
	animation-duration: 1s;	
	position: relative;
}	
#app-disabled {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #FFF;
	opacity: 0.8;
	z-index: 1000;
	display: none;
}
fieldset {
	margin: 33px 0 0 0;
	border: solid 1px #D7D7D7 !important;
	padding: 5px 9px 20px;
	border-radius: 0px;
	position: relative;
}

fieldset legend .step {
	display: inline-block;
	line-height: 40px;
	height: 40px;
	width: 40px;
	margin-right: 10px;
	color: #FFF;
	text-align: center;
	font-weight: 600;
	background: #BC0016;
}	
.box-inner-left{
	width: 55%;
	float: left;

	display: flex;
	flex-wrap: wrap;

	display: -ms-flexbox;
	-ms-flex-wrap: wrap;	
}
.box-inner-right{
	width: 45%;
	float: right;
}	
.box-inner-right > div > div {
	animation-name: opacity-animation;
	animation-duration: 1s;	
}	

.element{
	display: flex;
	justify-content: baseline;
	align-items: center;
	flex-wrap: wrap;
	flex-basis: 100%;	
	
	display: -ms-flexbox;
	-ms-flex-wrap: wrap;
	-ms-flex-pack: baseline;
	-ms-flex-align: center;	

	height: 30px;
}
.has-hint {
	color: #BC0016;
	cursor: pointer;
}
.has-hint:hover {
	text-decoration: underline;
}	
.el-name{
	flex-basis: 180px;

	-ms-flex-preferred-size: 180px;

	padding-right: 10px;
}
.el-name i{
	margin-left: 10px;
}	
.el-value{
	flex-basis: 250px;
	width: 250px;

	-ms-flex-preferred-size: 250px;

	box-sizing: border-box;
}
.filter .el-value > div{
	font-weight: 600;
	padding-left: 9px;
}
.value .el-value{
	text-align: right;
	padding-right: 7px;
}
.value .el-value > div{
	font-weight: 600;
	padding-right: 2px;
}
.checkbox .el-value {
	flex-basis: 80px;
}
.checkbox .el-value > div{
	border: 1px solid;
	width: 60px;
	border-radius: 2px;
	text-align: center;
}
.checkbox .el-value > div > span {
	display: inline-block;
	width: 50%;
	box-sizing: border-box;
	height: 16px;
	line-height: 16px;
}
.checkbox .el-value span.yes {
	border-right: 1px solid #464646;
}
.checkbox .el-value span.yes.active {
	background: #22A500;
	color: #FFF;
	text-shadow: 0px 0px 5px #464646;
}
.checkbox .el-value span.no.active {
	background: #BC0016;
	color: #FFF;
    text-shadow: 0px 0px 5px #464646;
}
.el-unit{
	flex-basis: 35px;
	text-align:center;
}
.el-info{
	flex-basis: 18px;
	color: #BC0016;
	font-size: 20px;
	cursor: pointer;
}

@media ( max-width: 500px ) {

	.element {
		border-bottom: 1px solid #CCC;
	}
	.el-value > div{
		text-align: left;
	}		
	.el-name{
		flex-basis: 100%;
	}	

	.element {
		height: 50px;
	}		
}
button.btn{
	background: rgba(0, 0, 0, 0);
	border: none;
	padding: 0;
	margin: 0;		
}
.hint {
	display: flex;
	margin-bottom: 10px;
	border-bottom: 1px solid #D7D7D7;
	padding-bottom: 10px;			
}
.hint strong {
	display: block;
	margin-bottom: 5px;
}	
.hint > div {
	flex-basis: 100%;
}
.hint.col2 > div:nth-of-type(1) {
	flex-basis: 50px;
}

.hint.col2 > div:nth-of-type(2) {
	flex-basis: 370px;
}		
.alert {
	color: #A94442;
	background-color: #F2DEDE;
	border-color: #EBCCD1;
	height: auto;
	padding: 10px
}
.alert.alert-success {
	color: #3C763D;
	background-color: #DFF0D8;
	border-color: #D6E9C6;
}
.alert-in-button {
	padding: 3px 0px;
	border-radius: 2px;
	margin-top: 2px;
	font-size: 12px;		
}		
.box-inner {
	display: flex;
}
.image-filter {
	display: flex;
	flex-wrap: wrap;
	flex-basis: 100%;

	display: -ms-flexbox;
	-ms-flex-wrap: wrap;
}
	
.image-filter .app-image-button-wrapper img,
.image-filter .app-button {
	box-shadow: 1px 1px 6px -1px #616161;
	border-radius: 3px;
}	

.image-filter .app-button {
	display: flex;
	align-items: stretch;
	justify-content: center;
	font-size: 13px;
}

.image-filter .app-image-button-wrapper img,
.image-filter .app-button {
	border: 4px solid #FFF;
}	
.image-filter .active .app-image-button-wrapper img,
.image-filter .active .app-button {
	border: 4px solid #BC0016;
}
.image-filter .app-button-inner {
	display: flex;
	align-items: center;
	padding: 3px;
	text-align: center;
	flex-basis: 100%;
}
.aditionalText {
	clear:both;
	overflow: hidden;
}
#bottomform select {
	width: 100%;
	white-space: nowrap;
}
#bottomform input {
	width: 40px;
	text-align: right;
	margin-left: 20px;
}
.compositions{
	margin-left: -9px;
	margin-right: -9px;		
}	
.com-head, .com-unit-info {
	display: flex;
	flex-wrap: wrap;
	min-height: 60px;
	align-items: center;
	justify-content: space-around;
	border-bottom: 1px solid #D0D0D0;
	position: relative;
}
.com-head > div {
	font-size: 9px;
	font-weight: bold;
	text-align: center;
	display: block;	
}
.com-unit:nth-of-type(2n) {
	background-color: #ECF0F2;		
}
.com-unit-removed {
	position: absolute;
	background: rgba(0, 0, 0, 0.7);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	line-height: 60px;
	color: #FFF;
	z-index: 1;
	text-shadow: 1px 1px #000;
}
.com-unit-removed span {
	background: #000;
	padding: 3px 10px;
	border-radius: 10px;
}
.com-unit-id {
	flex-basis: 110px;
	text-align: right;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
}
.com-unit-id > i {
	font-size: 18px;
	position: relative;
	top: 2px;
	flex-basis: 10%;
}	
.com-unit-id > span {
	flex-basis: 80%;
}
.com-unit-id > button {
	padding: 1px 11px;
	margin-top: 4px;
	flex-basis: 100%;
	background: #D4D4D4;
	color: #464646 !important;
	text-shadow: none;
	border: 1px solid #A09D9D;
}
.com-unit-id > .show-detail:hover {
	text-decoration: none;
}
.com-unit-name {
	flex-basis: 335px;	
}
.com-unit-name > div:nth-of-type(2) {
	padding-top: 6px;	
}
.com-unit-um {
	flex-basis: 152px;
}
.com-unit .com-unit-um {
	display: flex;	
}	
.com-unit .com-unit-um > div {
	padding-left: 20px;
	flex-basis: 50%;
}	
.com-unit-quatity {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-basis: 140px;		
}
.com-unit-quatity > div:first-child {
	flex-basis: 100%;
	text-align: center;	
}
.com-unit-quatity-icon {
	width: 20px;
	height: 20px;		
}
.nedostupne ~ .com-unit-quatity-icon {
	background: url("https://www.dek.cz/data/images/konfigurator/red-cross.png") no-repeat center center;
}	
.dostupne ~ .com-unit-quatity-icon {
	background: url("https://www.dek.cz/data/images/konfigurator/fajfka-checked.png") no-repeat center center;
}
.castecne_dostupne ~ .com-unit-quatity-icon {
	background: url("https://www.dek.cz/data/images/konfigurator/fajfka-check-oranz.png") no-repeat center center;
}			
.com-unit-price {
	flex-basis: 90px;
	text-align: center;
}
.com-unit-price-all{
	flex-basis: 90px;
	text-align: center;	
}
.skladba-doplnujici-obsah {
	padding: 8px;
	border-bottom: 1px solid #D0D0D0;
	position: relative;
}
.skladba-doplnujici-obsah > button.button-eshop.pure-button {
	padding: 2px 6px;
}
.product-detail-container {
	overflow: hidden;
	padding-right: 10px;
	animation-name: opacity-animation;
	animation-duration: 1s;
	position: relative;
}
.product-detail-container .detail-link {
	float: left;
	clear: both;
	width: 230px;
	margin: -1px 15px 5px 0;
	border: 1px solid #CCC;
	border-left: none;
	padding: 10px;	
}
.product-detail-container .detail-link:hover {
	text-decoration: none;
	background: #F0F0F0;
}
.product-detail-container .detail-name {
	padding: 10px 0;
}
.product-detail-container img {
	float: left;
	margin-right: 10px;
	border-right: 1px solid #CCC;
	padding: 10px;		
	width: 230px;
}
.product-detail-container i {
	position: absolute;
	top: 10px;
	right: 10px;
	clear: both;
	font-size: 16px;
}	
.product-detail-container .detail-techspec {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 15px;
	width: 50%;
}
.product-detail-container .detail-techspec span {
	flex-basis: 50%;
	border-top: 1px solid #CCC;
}
#price{
	margin: 30px 0px;
	overflow: hidden;
}
#price > div {
	width: 85%;
	text-align: right;
	padding: 3px 20px 3px 0;
	box-sizing: border-box;
	display: inline-block;
}	
#price > div:nth-of-type(2n) {
	width: 15%;
	text-align: left;
}
#price .highlight {
	background-color: #ECECEC;
	font-weight: bold;	
}
#price .discount {
	color: #ED1C24
}
#buttons {
	margin: 30px 0 30px 0;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#buttons button {
	margin-right: 10px
}
#clipboard {
	width: 100%;
	box-sizing: border-box;
	height: 200px;
}	
#clipboard-wrapper {
	position: absolute;
	left: -100000px;
	width: 100%;
}
#clipboard-wrapper.show {
	position: static;
}

#print > button {
	padding: 1px 8px;	
}
#print > button > span {
	margin-left: 5px;	
}	
#print > div {
	font-size: 10px;
}		
#print > input {
	margin: 3px 10px 0 0;
	width: 215px;
	text-align: left;
}
#print > input::-webkit-input-placeholder {
	color: #888;
}
.popover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1060;
	display: none;
	max-width: 276px;
	padding: 1px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: left;
	background-color: #ffffff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #cccccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	white-space: normal;
}
.popover.top {
	margin-top: -10px;
}
.popover.right {
	margin-left: 10px;
}
.popover.bottom {
	margin-top: 10px;
}
.popover.left {
	margin-left: -10px;
}
.popover-title {
	margin: 0;
	padding: 8px 14px;
	font-size: 14px;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ebebeb;
	border-radius: 5px 5px 0 0;
}
.popover-content {
	padding: 9px 14px;
}
.popover > .arrow,
.popover > .arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.popover > .arrow {
	border-width: 11px;
}
.popover > .arrow:after {
	border-width: 10px;
	content: "";
}
.popover.top > .arrow {
	left: 50%;
	margin-left: -11px;
	border-bottom-width: 0;
	border-top-color: #999999;
	border-top-color: rgba(0, 0, 0, 0.25);
	bottom: -11px;
}
.popover.top > .arrow:after {
	content: " ";
	bottom: 1px;
	margin-left: -10px;
	border-bottom-width: 0;
	border-top-color: #ffffff;
}
.popover.right > .arrow {
	top: 50%;
	left: -11px;
	margin-top: -11px;
	border-left-width: 0;
	border-right-color: #999999;
	border-right-color: rgba(0, 0, 0, 0.25);
}
.popover.right > .arrow:after {
	content: " ";
	left: 1px;
	bottom: -10px;
	border-left-width: 0;
	border-right-color: #ffffff;
}
.popover.bottom > .arrow {
	left: 50%;
	margin-left: -11px;
	border-top-width: 0;
	border-bottom-color: #999999;
	border-bottom-color: rgba(0, 0, 0, 0.25);
	top: -11px;
}
.popover.bottom > .arrow:after {
	content: " ";
	top: 1px;
	margin-left: -10px;
	border-top-width: 0;
	border-bottom-color: #ffffff;
}
.popover.left > .arrow {
	top: 50%;
	right: -11px;
	margin-top: -11px;
	border-right-width: 0;
	border-left-color: #999999;
	border-left-color: rgba(0, 0, 0, 0.25);
}
.popover.left > .arrow:after {
	content: " ";
	right: 1px;
	border-right-width: 0;
	border-left-color: #ffffff;
	bottom: -10px;
}	
.fade.in {
	opacity: 1;
}	
.fade {
	opacity: 0;
	-webkit-transition: opacity .15s linear;
	-o-transition: opacity .15s linear;
	transition: opacity .15s linear;
}	
.hover:hover {
	cursor: pointer;
	opacity: 0.7;
}

.button-eshop span {
	font-family: 'Open Sans', sans-serif;		
}

/*Tooltip*/
.dek-popoper {
	position: relative;
	display: inline-block;		
}
/* reset for FF*/
.dek-popoper button::-moz-focus-inner,
.dek-popoper input::-moz-focus-inner {
	border: 0;
	padding: 0;
}		
.dek-popoper button  {
	background: linear-gradient(#FAFAFA 0%, #E0E0E0 100%);
	padding: 1px;
	height: 20px;
	width: 20px;
	border: 1px solid #BBB;
	border-radius: 2px;
	color: #BC0016;
	display: flex;
	align-items: center;		
}		
/* reset for Chrome*/
.dek-popoper button:focus{
	outline: none;	
}
.dek-popoper button:hover{
	cursor: pointer;
	opacity: 0.8;
}		
.dek-popoper i  {
	font-size: 16px;
	height: 17px;
	width: 18px;
}
.dek-popoper-arrow-top  {
	border-right: 6px solid rgba(0, 0, 0, 0.93);
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	position: absolute;
	top: 5px;
	left: 21px;
	z-index: 2;
}
.dek-popoper-arrow-bottom  {
	border-right: 6px solid #bbb;
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	position: absolute;
	top: 5px;
	left: 20px;
}
.dek-popoper-content {
	background: rgba(0, 0, 0, 0.93);
	border: 1px solid #bbb;	
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	padding: 10px;
	position: absolute;
	top: -7px;
	left: 26px;
	width: 200px;
	color: #bbb;
	z-index: 1;	   
}

@media print {

	body {
		font-family: arial;
	}

	body #wrap #main > div,
	.box-inner-right,
	.aditionlText,
	#buttons {
		display: none
	}
	body  #wrap #main #content-wrapper,
	#hlavicka-tisk {
		display: block;
	}
	#content-wrapper, #menuh-wrapper {
		width: 660px;
	}	
	.deksmart-link {
		width: 110px;
	}
	.deksmart-link img {
		width: 100%;
	}	
	.kalk-title{
		font-size: 22px;
		line-height: 22px;
		padding: 0		
	}
	.logo-tisk {
		width: 50px;	
	}
	#app {
		font-size: 12px;
	}
	
	.box-inner-left {
		width: 100% !important;
		float: none;
	}
	.box-inner-left .element {
		display: block;
	}
	.box-inner-left .element > * {
		display: inline-block;
	}
	.box-inner-left .element .el-name {
		width: 45%;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;			
	}
	.box-inner-left .element .el-value {
		width: 45%;
		margin-right: 5px;
	}
	.box-inner-left .element button {
		display: none;
	}
	.com-unit * {
		font-size: 11px !important;
	}			
	.com-unit-um,
	.com-unit-quatity > div:nth-of-type(1) {
		display: none !important;
	}	
	.com-unit-id {
		text-align: center;
		flex-basis: 80px;
	}
	.com-unit-id > i,
	.com-unit-id > button {
		display: none;
	}
	.com-unit-name {
		flex-basis: 250px;
	}	
	#price > div {
		width: 70%;
		flex-basis: 70%;
	}
	#price > div:nth-of-type(2n) {
		width: 30%;
		flex-basis: 30%;
	}					
}