b {
	font-weight: bold;
}

.carousel-control {
	cursor: pointer;
	width: 8%;
}

.btn {
	cursor: pointer;

	display: flex;
	flex-wrap: wrap;
    justify-content: center;
	align-items: center;

	max-width: 100%;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0px;
	color: #ffffff;
	font-size: 14px;
	background: #111;
	padding: 10px 20px 10px 20px;
	text-decoration: none;
}

.btn.btn-grey {
	background: #444;
}

.filter-is-visible .btn {
	font-size: 10px;
}

.btn:hover {
	background: #000;
	text-decoration: none;
}

.btn.btn-grey:hover {
	background: #222;
}

.btn span {
	text-align: center;
    width: 100%;
}

.btn .btn-sub {
	font-size: 10px;
}

.btn.btn-clear-filters {
	font-size: 1.3rem;
}

.info-container .btn .btn-sub {
	font-size: 20px;
}

.cd-tab-filter li {
	display: none !important;
}
.cd-tab-filter::after {
	background: none;
}

.cd-filter > form {
	height: 100%;
	overflow-y: auto;
}

.cd-header {
	height: auto;
	padding: 8px;
}

.cd-header h1,
.cd-header div {
	line-height: normal;
	font-size: 15px;
	text-align: center;
}

.by-company img {
	max-width: 450px;
	max-width: 100%;
	max-height: 80px;
	width: auto;
	height: auto;
	position: relative;
    
}

#designs {
    display: flex;
    flex-wrap: wrap;
}

.design {
	position: relative;
}

.design .overlay {
	cursor: pointer;
	
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	box-shadow: 0px 0px 20px 10px #fff;
	text-align: center;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s;
}

.design:hover .overlay,
.design.taphover .overlay {
	pointer-events: all;
	opacity: 1;
	transition: opacity 0.2s;
}

.design .overlay .magnifying-glass {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	width: 100%;
	height: 100%;    
}

.design .overlay .magnifying-glass img {
	max-width: 40%;
	height: auto;
}

.design .overlay .btn {
	height: 25%;
}

.info-container .btn {
	height: 12.5%;
	font-size: 28px;
}

.design .overlay .btn-buy,
.info-container .btn-buy {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 45%;
}

.design .overlay .btn-customise,
.info-container .btn-customise {
	position: absolute;
	bottom: 0;
	left: 45%;
	width: 55%;
}

#carousel-generic-container,
#carousel-generic {
	width: 100%;
	height: 100%;
}

#carousel-generic .carousel-inner,
#carousel-generic .carousel-inner .item {
	height: 100%;
}

.carousel-indicators li {
	border: 1px solid #000;
	background-color: #fff;
}

.zoomable {
	display: flex;
    align-items: center;
	justify-content: center;
    width: 100%;
    height: 100%;
}

#details-popup {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
}

#details-popup .backdrop {
	height: 100%;
	width: 100%;
	background: transparent;
	cursor: pointer;
}

#details-popup .inner {
	width: 1150px;
	height: 632px;
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -40%);
	background: #fff;
}

.iPad #details-popup .inner {
	top: 240px;
}

.iPhone #details-popup .inner {
	top: 240px;
}

#details-popup .close-btn {
	cursor: pointer;
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background: transparent;
	color: #111;
	line-height: 40px;
    text-align: center;
}

#details-popup .inner .photo-container {
	overflow: hidden;
	width: 55%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	/*flex-wrap: wrap;*/
    justify-content: center;
    align-items: center;
    background-color: #e7e7e7;
}

#details-popup .inner .photo-container img {
	max-width: 100%;
	height: auto;
	max-height: 100%;
}

#details-popup .inner .info-container {
	width: 45%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 55%;
}

#details-popup .inner .info-container .header {
	height: 12.5%;
	padding: 5%;
}

#details-popup .inner .info-container .header .title-container {
	margin-bottom: 10px;
}

#details-popup .inner .info-container .header .title,
#details-popup .inner .info-container .header .price {
	font-size: 26px;
	margin-bottom: 10px;
}

#details-popup .inner .info-container .header .price {
	color: #777;
}

#details-popup .inner .info-container .body {
	position: relative;
	width: 100%;
	height: 75%;
	overflow-y: auto;
	padding: 5%;
	line-height: 18px;
	font-size: 14px;
}

#details-popup .inner .info-container .body .materials-details {
	margin-top: 10px;
}

#details-popup .inner .info-container .body .model-description {
	margin-top: 20px;
	max-height: 60%;
    overflow: auto;
}

#details-popup .inner .info-container .body p {
	margin-bottom: 10px;
}

#details-popup .inner .info-container .body .logo-company {
	position: absolute;
    bottom: 20px;
    right: 20px;
    max-width: 25%;
	max-height: 50px;
}

#details-popup .inner .info-container .body .direct-link-container {
	position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50%;
}

#details-popup .inner .info-container .body .direct-link-container p {
	margin-bottom: 0;
}

#details-popup .inner .info-container .body .direct-link-container input {
	width: 100%;
}

.modal-footer {
	display: flex;
}

.modal-footer > .btn {
	width: 100%;
}

@media (max-width: 1400px) {
	.btn {
		font-size: 10px;
	}

	.btn .btn-sub {
		font-size: 8px;
	}

	.info-container .btn {
		font-size: 20px;
	}

	.info-container .btn .btn-sub {
		font-size: 16px;
	}
}

@media (max-width: 1300px) {
	#details-popup .inner {
		width: 1000px;
		height: 550px;
	}
	
	#details-popup .inner .info-container .body .model-description {
		max-height: 53%;
	}
}

@media (max-width: 1100px) {
	#details-popup .inner {
		width: 900px;
		height: 495px;
	}
	
	#details-popup .inner .info-container .body .model-description {
		max-height: 48%;
	}
}

@media (max-width: 769px) {
	#details-popup .inner .info-container .body .model-description {
		max-height: none;
	}
	
	#details-popup .inner {
		width: 100vw;
		height: 100vh;
		top: 0;
		left: 0;
		transform: none;
	}
	
	.iPad #details-popup .inner {
		top: 0;
	}

	.iPhone #details-popup .inner {
		top: 0;
	}

	#details-popup .inner .photo-container {
		width: 100%;
		height: 55%;
		top: 0;
		left: 0;
	}

	#details-popup .inner .photo-container img {
		max-width: none;
		max-height: 100%;
		height: 100%;
		width: auto;
	}

	#details-popup .inner .info-container {
		width: 100%;
		height: 45%;
		top: 55%;
		left: 0;
	}

	#details-popup .inner .info-container .header {
		height: 20%;
		padding: 1% 5%;
	}

	#details-popup .inner .info-container .header .title-container {
		max-width: 75%;
	}

	#details-popup .inner .info-container .header .title {
		font-size: 24px;
		margin-bottom: 5px;
	}

	#details-popup .inner .info-container .header .price {
		font-size: 100%;
	}

	#details-popup .inner .info-container .header .subtitle {
		font-size: 12px;
	}

	.info-container .btn {
		height: 20%;
	}

	#details-popup .inner .info-container .body {
		height: 59%;
	    margin-top: 1%;
	    padding-top: 0;
	}

	#details-popup .inner .info-container .body p {
		margin-bottom: 2px;
	}

	.info-container .btn .btn-sub {
		font-size: 10px;
	}

	#details-popup .inner .info-container .body .logo-company {
		position: fixed;
		bottom: initial;
    	top: 55%;
    	max-width: 15%;
	}

	#details-popup .inner .info-container .body .direct-link-container {
		position: static;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.design:hover .overlay,
	.design.taphover .overlay {
		opacity: 0;
	}

	#details-popup .inner .info-container .body .logo-company {
    	max-width: 25%;
		max-height: 40px;
	}

	#details-popup .inner .info-container .body .direct-link-container p {
		font-size: 12px;
	    line-height: 12px;
	    margin-top: 10px;
	}
}



/* link ecommerce */
.export-to-ecommerce-link {
	display: none;
	cursor: pointer;
	margin-top: 0.4em;
	color: #3070bb;
}

/* popup ecommerce */
#export-ecommerce-popup {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
}

#export-ecommerce-popup .backdrop {
	height: 100%;
	width: 100%;
	background: transparent;
	cursor: pointer;
}

#export-ecommerce-popup .inner {
	width: 80%;
	height: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 2em;
	display: grid;
	grid-template-rows: auto auto 1fr;
}

@media screen and (max-width: 768px) {
	#export-ecommerce-popup .inner {
		width: 100%;
		height: 100%;
	}
}

#export-ecommerce-popup .close-btn {
	cursor: pointer;
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background: transparent;
	color: #111;
	line-height: 40px;
	text-align: center;
}

#export-ecommerce-popup .body-content {
	height: 100%;
	display: grid;
	grid-template-rows: 1fr minmax(0, 180px);
	padding: 1em 0;
	gap: 1em;
	overflow-y: auto;
}

#export-ecommerce-popup .title {
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: 1em;
}

#export-ecommerce-popup .container-info {
	overflow: auto;
}

#export-ecommerce-popup a {
	color: #3070bb;
}

#export-ecommerce-popup .container-info .sub {
	margin: 2em 0 1em 0;
	font-weight: bold;
}

#export-ecommerce-popup .container-info > div {
	margin-bottom: 3em;
	word-break: break-word;
}

#export-ecommerce-popup .container-imgs-download {
	display: grid;
	gap: 1.5em;
}

#export-ecommerce-popup .img-container {
	display: flex;
	flex-wrap: wrap;
	overflow: auto;
}

#export-ecommerce-popup .container-imgs-download a {
	cursor: pointer;
	color: #3070bb;
}

#export-ecommerce-popup .img-container > div {
	display: grid;
	grid-template-rows: auto 1fr;
	justify-items: end;
	gap: 8px;
	margin-right: 0.5em;
	margin-top: 0.5em;
}

#export-ecommerce-popup .img-container > div > img {
	border: 1px solid rgb(5, 5, 5);
	max-width: 100px;
}

#export-ecommerce-popup .box-link {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: 1fr auto;
	align-items: center;
	width: 100%;
	background-color: lightgrey;
	padding: 1rem;
	border-radius: 4px;
	font-family: monospace;
}

#export-ecommerce-popup .copy-text {
	cursor: pointer;
	color: gray;
	padding: 0.8em;
}

#export-ecommerce-popup .preview {
	padding-left: 4em;
	color: gray;
}