

html , body {
		background-color: rgba(60,60,60,1);
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-size: 100% 100%;
		font-family: sans serif , Tahoma , Verdana , serif , Times New Roman , Calibri , Arial  ; /* Arial , Verdana , Calibri , Helvetica , sans-serif; ..... cursive ,  */
		/*font-size: 1vw;*/
		color: #fff;
		width: 100%;
		min-height: 100%;
		margin: 0;
		float:left;		
	}
	
	* {
     box-sizing: border-box;
	}

	body {
		overflow: auto;
		border: none;
		/* font-family : Times New Roman; */        
	}
	
	body {
		-ms-overflow-style: none; 
		scrollbar-width: none; 
		overflow-y: auto;
		display: block;
        border-radius:3px;		
	}
	
	body::-webkit-scrollbar {
		display: none; 
	}

	header {
		position: relative;
        display: flex;
        flex-direction: column;
		width: 100%;
		min-height: 5vh;/*87.5*/
	    float: left;
	}
	
	.menu {
		position: relative;
		width: 100%;
	    float: left;
		margin-top: 0.5%;
		margin-bottom: 0.5%;
	}
	
	.menu .img1 {
		display: none;
		float: left;
		max-width: 4%;
		margin: 0.5% 0 0.5% 3%;
	}
	
	.topnav {
		display: block;
		width: 100%;
		margin: 0;
		font-family : Arial Narrow;font-size: 80%;
	}
	
	.topnav button {
		float: left;
		display: block;
		font-size: 130%;/*1.2vw;*/
		/*font-weight: bold;*/
		text-align: center;
		min-width: 10;/*14.2857%*/
		margin: auto 0;
		padding: 15px;
		text-decoration: none;
		border: none;
		color: #fff;
		background-color: transparent; /*rgba(100,100,100,1);*/ 
	}
	
	#b7_2 {
		position: absolute;
		top: 0;
		right: 0;		
	}

	.topnav button:hover {
		background-color: rgba(252,252,252,1);
		color: #444;
	}

	.topnav button:active {
		color: rgba(122, 178, 38,1);
	}
	
	.dropdown {
		display: none;
		position: absolute;
		top: 0;
		left: 0;
		background-color: rgba(100,100,100,0.8);
		width: 100%;
		height: auto;
	    float: left;
		z-index: 2;		
	}
	
    .show {
		display: block;
	}
	
	#dropdown {		
		width: 40%;
		margin-left: 30%;
		background-color: rgba(100,100,100,1);
	}

	#dropdown button {
		display: block;
		background-color: rgba(100,100,100,1);
		opacity: 0.75;
		width: 100%;
		min-height: 60px;
		color: #fff;
		/*font-size: 3.5vw;*/
		/*font-weight: bold;*/
		text-align: center;
		padding: 10px 10px;
		font-size:  110%;/*1.1vw;*/
		text-decoration: none;
		border: none;		
	}

	#dropdown button:hover {
		color: black;
		background-color: rgba(158,158,158,1);
	}

	#dropdown button:active {
		color: rgba(122, 178, 38,100);
		font-weight: bold;
		background-color: rgba(228,228,228,1);
	}
	
	#container {
		display: none;
		position: relative;
		background-color: transparent;
		border: none;
		cursor: pointer;		
		margin: 1% 1%;
		padding: 15px 15px;
		float: right;
	}

	.bar1, .bar2, .bar3 {
		width: 35px;
		height: 5px;
		background-color: #333;
		margin: 6px 0;
		transition: 0.4s;
	}

	.change .bar1 {
		transform: translate(0, 11px) rotate(-45deg);
	}

	.change .bar2 {
		opacity: 0;
	}

	.change .bar3 {
		transform: translate(0, -11px) rotate(45deg);
	}
	
/*******************************************************************************************************************************************************************************************/	 

	#ri-el_index {
		position: relative;
		height: auto;
		display: flex;
        flex-direction: column;
		width: 100%;
		min-height: 75vh;
	    float: left;
	}

	#slideshow-container {
		position: relative;
		width: 100%;
		height: auto;
	    float: left;
	}
	
	.slideshow-container {
	  min-width: 100%;
	  max-width: 100%;
	  margin: 0;
	  padding: 0;
	}
		
	.mySlides {
		display: none;
		width: 100%;
	}
	
	.mySlides img {
		background-size: 100% 100%;
		width: 100%;
	}

	.fade {
	  animation-name: fade;
	  animation-duration: 4.2s;
	  animation-direction: alternate;
	  animation-timing-function: ease;
	}

	#slideshow-container_logo {
		position: absolute;
		top: 2.5%;
		left: 2.5%;
		max-width: 10%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	} 


/**********************************************************************************/

 #slideshow-container_logo {animation: 1s autoplay1_1 linear;animation-fill-mode: forwards; } 

 @keyframes autoplay1_1 {
  0% {transform:rotate3d(0.5,0.5,0.5,180deg);opacity: 0;}
  50% {transform:rotate3d(0.75,0.75,0.75,90deg);opacity: 0.5;}
  100% {transform:rotate3d(1,1,1,0deg);}
} 

/**********************************************************************************/

	
/*******************************************************************************************************************************************************************************************/

.flip-box {
    position: absolute;
	top: 10%;
	left: 50%;
	width: 52.5%;
	transform: translate(-50% , 0);
    perspective: 800px;
}
	
#presentation_titles_1 {    
	color: #fff;
	height: auto;
	float: left;
	width: 100%;
	text-align: center;
	transform-style: preserve-3d;
	justify-content:center;
	align-items:center;
	opacity: 0;
	background-color:  rgba(125,125,125,0.6);
	/* transition: transform 0.8s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;  */
	}

#presentation_titles_1_h1_1 {
	display: none;
}

/**********************************************************************************/

#presentation_titles_1 {animation: 1s autoplay1_2 linear;animation-fill-mode: forwards;animation-delay: 1s; } 

 @keyframes autoplay1_2 {
		0% {
			transform:scale(7);
			animation-timing-function:ease-in;
			opacity:0;
		}
		35% {
			transform:scale(1);
			animation-timing-function:ease-out;
			opacity:1;
		}
		55% {
			transform:scale(1.03);
			animation-timing-function:ease-in;
			opacity:1;
		}
		70% {
			transform:scale(1);
			animation-timing-function:ease-out;
			opacity:1;
		}
		/* 80% {
			transform:scale(1.04);
			animation-timing-function:ease-in;
		}
			opacity:1;
		90% {
			transform:scale(1);
			animation-timing-function:ease-out;
			opacity:1;
		}
		95% {
			transform:scale(1.04);
			animation-timing-function:ease-in;
			opacity:1;
		} */
		100% {
			transform:scale(1);
			animation-timing-function:ease-out;
			opacity:1;
		}
} 

/**********************************************************************************/
	
#presentation_titles_2 {
	display: block;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% ,  -50% );
	color: #fff;
	width: 52.5%;
	height: auto;
	float: left;
	text-align: center;
	overflow: hidden;
	}
	
#presentation_titles_2 h2 , #presentation_titles_2 h3 {
	width: auto;
	max-width: 100%;
	text-align: center;
	margin: 0 auto;
	padding-top: 1.25%;
	padding-bottom: 1.25%;	
	color: #fff;
	float: none;
	background-color:  rgba(125,125,125,0.6);
	transform:translateX(100%);
}

#h2_1 {display: none;}

#h2_1 {animation: 0.5s autoplay1_3 linear;animation-fill-mode: forwards;animation-delay: 0.25s;}

 @keyframes autoplay1_3 {
  0% {transform:translateX(100%);}
  90% {transform:translateX(-10%);}
  100% {transform:translateX(0%);}
} 

#h2_2 {animation: 0.5s autoplay1_4 linear;animation-fill-mode: forwards;animation-delay: 2s; }

 @keyframes autoplay1_4 {
  0% {transform:translateX(100%);}
  90% {transform:translateX(-10%);}
  100% {transform:translateX(0%);}
}

#h2_3 {animation: 0.5s autoplay1_5 linear;animation-fill-mode: forwards;animation-delay: 2.5s; }

 @keyframes autoplay1_5 {
  0% {transform:translateX(100%);}
  90% {transform:translateX(-10%);}
  100% {transform:translateX(0%);}
} 

#h2_4 {animation: 0.5s autoplay1_6 linear;animation-fill-mode: forwards;animation-delay: 3s; }

 @keyframes autoplay1_6 {
  0% {transform:translateX(100%);}
  90% {transform:translateX(-10%);}
  100% {transform:translateX(0%);}
} 

#h2_5 {animation: 0.5s autoplay1_7 linear;animation-fill-mode: forwards;animation-delay: 3.5s; }

 @keyframes autoplay1_7 {
  0% {transform:translateX(100%);}
  90% {transform:translateX(-10%);}
  100% {transform:translateX(0%);}
} 

/*******************************************************************************************************************************************************************************************/

	footer {
		position: relative;
        display: flex;
        flex-direction: column;
		width: 100%;
		min-height: 5vh;
		background-color: transparent;
		color: #fff;
		text-indent: 0;
		text-align: center;
		margin: 0;
		float: left;
	}
	
	footer p {
		width: 100%;
		/*margin-bottom: 1%;*/
		margin-left: auto;
		margin-right: auto;
		padding: 0;
		text-align: center;
		float: left;
	}
	
	.copyright {
		margin: 30px auto;
		font-size: 80%;
	}
	

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */	
    @media (max-width: 1100px) , screen and (orientation: portrait) {
		/*#ri-el_index {height: auto;}*/
	
		/*max-width: 1099px*/
		.menu .img1 {display: block;max-width: 40px;height: 51px;margin-top: 2.5%;} /*малкото лого е видимо*/
		.menu {background-color: rgba(100,100,100,0.5);}
		.topnav {display: none;} /*редът на менюто е невидим*/
		#container {display: block; z-index: 2;} /*бутонът за падащото меню е видим*/
		#slideshow-container {margin: 0 0 5% 0;} /*отстояния на блокът с изображения*/
		#slideshow-container_logo {display: none;} /*въртящото се лого в блока с изображения е невидимо*/
		#contacts , .myMap {width: 100%;} /*участват в страница за контакти*/
		#contacts {margin: 0 0 3% 0;} /*участват в страница за контакти*/
		#myIframe {width: 80%;margin: 0 10%;} /*участват в страница за контакти*/		
        
				
		#b7_2 {position: relative;} /*за последователно позициониране на бутон за контакти в падащо меню*/
		
		.flip-box {width: 80%;top: 50%; left: 50%; transform: translate(-50% , -50%);} /*блок с текст върху изображенията*/
		
		#presentation_titles_1_h1_1 {display: block;}
		
		#presentation_titles_1_h1_2 {display: none;}
		
		#presentation_titles_2 {display: block; position: relative; left: 50%; transform: translate(-50% , 0 );	color: #fff; width: 80%; height: auto; float: left; text-align: center; overflow: hidden;}
		
		#presentation_titles_2 h2 , #presentation_titles_2 h3 {margin: 3% auto; background-color: transparent;} /*отделните заглавия в блока с текст под изображенията*/
		
		#h2_1 {display: block;} /*първото заглавие в блока с текст под изображенията*/
		
		.copyright {font-size: 90%;} /*крайното лого*/
	}

	@media (min-width: 1399px) {
		.menu {margin-bottom: 2%;}		
		header , #ri-el_index , footer {width: 85%;margin: 0 7.5%;}
	}

	@media (min-width: 1699px) {
		.menu {margin-bottom: 2%;}		
		header , #ri-el_index , footer {width: 70%;margin: 0 15%;}
	}


