.logotype {
	width: 150px;
	height: 150px;
}
.logotype  img {
height: auto;
width: auto;
max-height: 100%;
max-width: 100%;
}
img.preloading { opacity: 0; } .proj-img img, .proj-img1 img { visibility: unset; } .project { margin: -10px; padding: 10px;  background: rgba(255,255,255,0.7); }
img.preloading:before { width:100%; height: 100%; position:absolute; content: "..."; line-height: 100%; text-align:center; display: block; z-index: -1; }
.inside-icon { margin: 10px; height: 95%; }
.inside-operable { height: 20px; margin-top: -20px; z-index: 3; }

.buy-panel { position: absolute; bottom: -40px; left: 0; padding: 0; width: 100%; height: 40px; z-index: 5; }
.buy-panel span { display: inline-block;
	background-color: white; color: black;
	font-weight: bold; border: solid 2px black;
	border-radius: 5px; padding: 0 5px;
	font-size: 18px; margin-left: 45px; width: 75%; }
.cart-btn { border: none;
	width: 40px; height: 40px; margin: 0;
	background-image: url(../img/cart-add.jpg);
	background-size: contain; background-repeat: no-repeat;
	border-radius: 3px; cursor: pointer; z-index: 9; position: relative;
	position: absolute;
}
.cart-btn.added { background-image: url(../img/cart-full.jpg); }
.img-100px-auto { max-width: 100px; max-height: 100px; width:auto; height: auto; }
.img-40px-auto { max-width: 40px; max-height: 40px; width:auto; height: auto; }

.bg-wheat { background-color: burlywood; }
.border-brown { border-color: #b58f24; }
.border-medium { border-width: 3px; }
.cart-label:not([data-total="0"]):before{ content: attr(data-total); font-size: 0.8em; bottom: 40%;
	font-weight: bold; position: absolute; color: red; left: 5px; }
.cart-label { position: relative; }

.cart-icon{
	z-index: 9;position: fixed;
	bottom: 55px; right: 60px;
	width: 70px; height: 70px;
	background-image:url(../img/cart-add.jpg);
	background-size: contain;
	background-repeat: no-repeat;  }
.portfolio-warp { position: relative; }

.fit-max { max-width: 96%; max-height: 100%; width:auto; height: auto; margin: 0 2%;  }
.fit-half { max-width: 42%; max-height: 100%; width:auto; height: auto; margin: 0 2%; }
.cta-section .cta-image-box, .testimonials-section .testimonials-image-box { background-image: url("../img/dream.jpg"); }
.projects-slider .single-project {   background-size: contain; }
.projects-slider .single-project:hover .project-content { display: none; }


  @media (min-width: 1800px) {
.container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1600px; }
}

  @media (min-width: 2800px) {
.container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 2600px; }
}

#runningManford { width: 100%; overflow: hidden; white-space: nowrap; background: wheat; border: solid 3px brown; z-index: 99; position: relative; }
#runningManford > * { display: inline-block; width:auto; padding: 5px; }

.nav-menu ul li { position: relative; display: inline-block; }
.nav-menu ul li ul { display: none }
.nav-menu ul li:hover ul { display: block; position:absolute; top:100%; width:180%; background: rgba(241, 235, 182, 0.7); }
.nav-menu ul li ul li a { 	padding: 5px 10px; }

.nav-menu li.active { background-color: blanchedalmond; color: olive; }
.nav-menu li.active a { color: olivedrab; }
.nav-menu ul.submenu li.active { background-color: olivedrab; color: black; }
.nav-menu ul.submenu li.active a { color: black; }

.set-bg { background-size: contain; background-position: center; }

/* .debug */ .grid-item.debug { background-color: darkviolet; }

.portfolio-warp .grid-bottom { width: 100%; height: 35px;padding: 5px; text-align: center; line-height: 18px; font-size: 20px; display: block; top: 100%; position: absolute; }

.nav-menu ul li a:hover::after {
	display: none;
}
/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
	.hero-slider .hero-slide-item {
		padding: 50px 0;
	}
	.page-header-section {
		padding-top: 50px;
		height: auto;
		//background-size: cover;
		min-height: 200px;
	}
	.slide-content h2 {
		font-size: 40px;
	}
	.spad {
		padding: 10px 0;
	}
	.page-header-section .header-title { font-size: 35px; }
}
.page-header-section {
	height: auto; padding-top: 0;   position: relative;
}
.page-header-section .container {
	position:absolute;
	z-index:9;
	top:0; left:0; width: 100%; height: 100%;
}
.page-header-section .header-title {
vertical-align: middle;
display: inline-block;
margin-top: 10%;
margin-left: 15%;
width: 80%;
}
.nav-menu {
	background-color: rgba(18, 18, 18, 0.95);
}
body {
	background-color: #fbebb9;
	background-image:none;
}
.content {
	position: relative;
	z-index: 0;
	background: unset;
}
.content__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: 100% auto;
	background-repeat: repeat-y;
	pointer-events: none;
	z-index: -1;
}


.page-section.spad {
	background-size:contain ;
	background-repeat: repeat;
}
.page-section.spad._pivobeers {
	background-image: url('/uploads/images/bg/bg_1.png');
}
.page-section.spad._3d-panels {
	background-image: url('/uploads/images/bg/new_bg-8.png'); 
}

.page-section.spad._souvegnirs {
	background-image: url('/uploads/images/bg/bg_4.png');
}

.page-section.spad._decorative {
	background-image: url('/uploads/images/bg/bg_2.png'); 
}

.page-section.spad._bustes {
	background-image: url('/uploads/images/bg/bg_9.png');
}

.page-section.spad._parts {
	background-image: url('/uploads/images/bg/bg_15.jpg');
}

.page-section.spad._pivobeers h1, .page-section.spad._pivobeers h2 {
	color: white;
}


.page-section.spad._decorative h2 {
	margin-left: 10%;
}

.page-section.spad._3d-panels h1, .page-section.spad._3d-panels h2 {
	color: white;
}

.page-section.spad._bustes h1, .page-section.spad._bustes h2 {
	text-align: left !important;
}
.page-section.spad._bustes h1 {
	margin-left: 20%;
}
.warning {
	border: solid 6px yellow;
	color: yellow;
	font-size: 24px;
	background-color: #ee2f0f;
	padding: 20px;
}

.btn.show_more {
	background-color: #a52a2aa6;
	color: yellow;
	border-color: silver;
	border-radius: 20px;
	padding: 15px 30px;
	font-size: 27px;
}

div.to-pricelist {
	background-color: #a52a2aa6;
	color: yellow;
	border-color: silver;
	border-radius: 15px;
	padding: 5px 30px;
	font-size: 27px;
	right: 0;
	top: 100%;
	position: absolute;
	z-index: 9;
}

/* div.to-pricelist { float: right; }*/
.container {
	position: relative;
}

div.to-pricelist a {
	color: white;
}
@media (max-width:800px) {
	.warning { margin-top: 50px; z-index: 11 }
	.cart-icon { right: 15px; bottom: 15px; width: 30px; height: 30px;}
}

@media only screen and (max-width: 600px) {
	.logo-area { padding: 5px; display: none; }
	.nav-switch { top: 40px; }
	.header-area { /*padding-top: 40px;*/ }
	.page-section { /*margin-top: 40px;*/ }
}

@media only screen and (max-width: 479px) {
	.logo-area { padding: 5px; }
	.nav-switch { top: 40px; }
	.header-area { /*padding-top: 40px;*/ }
	.page-section { /*margin-top: 40px;*/ }
}

.fantasies {
	border: solid 4px maroon;
	background-color: aqua;
	text-align:center;
}

.fantasies  p, .fantasies  p a {
	font-size: 30px;
	color: black;
	font-weight: bold;
	letter-spacing: 6px;
}
.fantasies  p a { text-decoration: underline; }

.aligned-photo {
	//display: none;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}