/* 
    Limorada Flowers Web site
    zoom@zoomdesign.bg
    Stanislav Evstatiev
*/

* { margin: 0; padding: 0; font-size: 1rem}

html, body {
	scroll-behavior: smooth;
	width: 100%;
	height: 100%;
	align: center;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-family: "Montserrat Alternates", sans-serif;
	font-weight: 400;
}

.clear { clear: both; }
.floatLeft { float: left; }
.floatRight { float: right; }


p {
	text-align: center;
	color: #206d73;
	font-size: 2.4em;
	font-family: "Amatic SC", sans-serif;
	font-weight: 700;
	font-family: Neucha, sans-serif;
	font-weight: 400;
}

a {	
	font-weight: 700;
	text-decoration: none;
	color: #175c62;
	font-size: 1.1em;
}


header {
	margin: 0px;
	width: 100%;
	position: relative;
	background-image:url("images/gallery/limorada-top.png");
	background-position: center 70%;
	background-size: cover;
	height: 250px;
}

.nosplit {
	white-space: nowrap; 
}
.videohost {
	width:100vw;
	height: 100vh;
	position: relative;
}

.videocontainer_full {
	width:100%;
	height:100%;
	overflow: hidden;
	position: absolute;
}

.video_full {
	 min-width: 100%; 
	 min-height: 100%; 
	 width: auto; 
	 height:auto; 
	 position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.videocontainer {
	width: 100%; 
	overflow: hidden;
}

.video-normal {
	width:100%;
	max-width: 100%;
}

#limorada-logo {
	position: fixed;
	top: 0.2vw;
	left: 1vw;
	width: 14vw;
	z-index: 111;
}

.greentop {
	background:#85a79d; 
	margin-top: -2em; 
	margin-bottom: -2em;
}

#limorada-logo img {
	width: 100%;
}

.backimage-onclick {
	position: absolute; 
	width:100%; 
	height:100%; 
	top: 0; 
	left: 0;
	background-size: cover;
}

 {
	margin-top: -10%;
}

.navbar {
		display: inline;
        overflow: hidden;
        /* background-color: #175c62; */
        position: fixed;
        top: 0;
		z-index: 10;
		width: 90%;
		margin-left:8%;
      }

nav a {	
	color: white;
	font-weight: 700;
	text-shadow: 0 0 3px black;
	text-decoration: none;
}

nav a:hover { color: light-green; }

/* Animation for the roller div */
@-webkit-keyframes rollerit {
	0% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	20% { background-position: 100%; }
	21% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	25% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	45% { background-position: 0%; }
	46% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	50% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	70% { background-position: 100%; }
	71% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	75% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	95% { background-position: 0%; }
	96% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	100% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
}
@-moz-keyframes rollerit {
	0% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	20% { background-position: 100%; }
	21% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	25% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	45% { background-position: 0%; }
	46% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	50% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	70% { background-position: 100%; }
	71% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	75% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	95% { background-position: 0%; }
	96% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	100% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
}
@keyframes rollerit {
	0% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	20% { background-position: 100%; }
	21% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
	25% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	45% { background-position: 0%; }
	46% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.02.jpg");}
	50% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	70% { background-position: 100%; }
	71% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.03.jpg");}
	75% { background-position: 100%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	95% { background-position: 0%; }
	96% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.04.jpg");}
	100% { background-position: 0%; background-image:url("images/panorama-inside/panorama.inside.01.jpg");}
}

#roller {
	width: 100%;
	min-height: 100px;
	height:80%;
	background-image:url("images/panorama-inside/panorama.inside.01.jpg");
	background-size: cover;
	background-position: 100%;
	-webkit-animation: rollerit 80s infinite linear;
	-moz-animation-name: rollerit 80s infinite linear;
	animation: rollerit 80s infinite linear;
}

#text-quote, #contact {
	width: 100%;
	min-width: 100%;
	/* text-shadow: 2px 2px 5px #cc9933; */
	bottom: 16px;
	right: 2em;
	text-align: center;
}

#text-quote p {
	margin: 2em 10% 2em 10%;
	text-align: center;
}

#showlarge{
	display:none; 
	position: fixed;
	align: center;
	z-index:20; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0,0,0,0.5); 
	top:0; 
	left:0;
}

#showlargeimage {
	width: 100%;
	height: 100%;
	object-fit: contain;
	margin-left: auto;
	margin-right: auto;

}

footer, nav {
	float:right;
	position:relative;
    left:-50%;
	text-align:left;
}

footer ul, nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	/* background-color: #175c62; */
    position:relative;
    left:50%;
}

#bottomline {
	width: 100%; 
	background-color: #175c62; 
	min-height: 3em;
}

footer ul li, nav ul li {
	margin-top: -4px;
	margin-bottom: -4px;
	float: left;
}

footer ul li a, nav ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

footer ul li a:hover:not(.active), nav ul li a:hover:not(.active) {
  background-color: rgba(50,180,70,0.5);
}

footer ul li a.active, nav ul li a.active  {
  text-color: #cc9933;
}

.xXx {
	position: fixed; 
	top: 10px; 
	right: 20px; 
	z-index: 21; 
	color:white; 
	cursor: pointer;
}


.floating-blocker {
	margin-top:-4px;
	float: left;
	width: 50%;
	display: block;
	overflow: hidden;
}


.new-kid-block {
	background-size: cover; 
	width:100%; 
	min-width: 100%; 
	border: solid 4px white;
	padding-bottom: 50%; 
	position:relative; 
	cursor:pointer; 
	overflow: hidden;
	background-repeat: no-repeat;
}

.floating-blocker-p {
	margin-top:-4px;
	float: left;
	width: 25%;
	display: block;
	overflow: hidden;
	aspect-ratio: 2/3;
}

.floating-blocker-p .new-kid-block {
	
	padding-bottom: 0px;
	height: 98.5%;
}

/* test for a new way to show text */

.text-quote {
	width: 100%;
	min-width: 100%;
	/* text-shadow: 2px 2px 5px #cc9933; */
	bottom: 16px;
	/* right: 2em; */
	text-align: center;
}

.text-quote p {
	margin: 1em 10% 1em 10%;
	text-align: center;
	color: #206d73;
}

.more-text {
  position: relative;
  margin-bottom: 2em;
}

.onelineimage {
	width: 2em;
	height: 2em;
}

summary {
	color: #6F9F9F;
	position: absolute;
	right: 10%;
	bottom: -1.5em;
	font-size: 1em;
}

[open] summary { bottom: -1.5em; }
summary::before { content: "Покажи повече"; }
[open] summary::before { content: "Покажи по-малко";}
details { display: inline; }

/* end of test for new text */


.hidden_text{
	background-color: rgba(0,0,0,0.5);
	width: 100%;
	position: absolute;
	top: 100%;
	transition:top 0.3s linear;
}

.floating-blocker-p .new-kid-block .hidden_text {
	top: 100%;
}

.hidden_text p {
	padding-left: 2em;
	padding-right: 2em;
	color: white;
	align: center;
}

.click_piece {
	position: absolute;
	top: -2.4em;
	right: 1em;
	z-index:4;
	color: white;
	background-color: rgba(0,0,0,0.5);
	border-radius: 10px 10px 0px 0px;
}

.click_piece:before {
	color: white;
	font-size: 2em;
	padding: .5em;
	content: "\25bc";
}

.flex-half p {padding: 2em;}
.flex-half img { width:100%; height:100%; object-fit: cover; }
/* .flex-half img {height: 100%; width: fit-content;} */

.back-image {
	padding-bottom:25%; 
	background-size:cover;
	margin-top: 2px;
	
}

#darkbox { width:100%; height:100%; position:fixed; background-color:rgba(0,0,0,0.85); overflow: hidden; text-align:center; top: 0; left: 0; visibility: visible;}
#darkbox {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
}
.darkboximg { position: relative; margin: 5%; width:90%; height: auto; max-width: 100%; max-height: 100%; }

 /* Style the navigation menu */
.topnav {
	display: none;
	overflow: hidden;
	background-color: #333;
	position: fixed;
	left: 3vw;
	top: 3vw;
	z-index: 110;
	margin-top: -0.8em;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
	
  color: white;
  padding: 14px 14px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

/* Style the hamburger menu */
.topnav a.icon {

  background: #333	;
  display: block;
  position: absolute;
  padding: 8px 8px;
  width: 1.2em;
  height: 1.2em;
  left: 0;
  top: 0;
  margin-bottom: 3px;
}

.topnav .fa {
	width: 120%;
	height: 120%;
}


/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active link (or home/logo) */
.topnav .active {
  background-color: #548A0A;
  color: white;
  height: 0.7em;
} 



/* Responsive design for different screens */
@media all and (max-width: 1440px) {
	.hidden_text p, .click-piece:before { font-size: 1.75em}
}

@media all and (max-width: 1024px) {
	.navbar { width: 80%; margin-left: 19%;}
	
	p {font-size: 1.5em;}
	header {height:200px;}
	.villa-rakovina-slogan {font-size: 1.4em;}
	.hidden_text p, .click-piece:before { font-size: 1.5em}
}

@media all and (max-width: 880px) {
	#bottomline { min-height: 6em;}
	.hidden_text p { font-size: 1.4em; }
	.click-piece { font-size: 1.4em; }
	.lower_position { right: 50%; margin-left: 2em;}
		#vila-rakovina-logo { right: 10%; width: 40%}
}

@media all and (max-width: 800px) {
	.navbar { display: none; }
	.topnav { display: block; }
	#limorada-logo {left: 14vw; width: 14vw;}
	.floating-blocker {float: none; width: 100%;}
	.floating-blocker-p {width: 50%;}
	.flex-half { flex: 100%; }
	.flex-half p {padding: .5em;}
	.back-image {padding-bottom: 50%; padding-right: 0px;}
	p, .hidden_text p, .click-piece:before { font-size: 1.1em}
	.greentop { margin-bottom: -1em;}
}

@media all and (max-width: 480px) {
	#limorada-logo {left: 16vw; width: 16vw;}
	p, .hidden_text p, .click-piece:before  { font-size: 0.9em}
	li a {font-size: 0.8em;}
	footer ul li a, nav ul li a { padding: 5px 5px;}
	footer ul li, nav ul li { margin-top: -2px; margin-bottom: -2px; }
}
	
@media all and (max-width: 320px) {
	#limorada-logo {left: 18vw; width: 18vw;}
	p { font-size: 1em}
	summary {font-size: 0.8em;}
	.hidden_text p, .click-piece:before { font-size: 0.8em}
	li a {font-size: 0.6em;}
}
