.gallery .control-button {
  color: #ccc;
  color: rgba(255, 255, 255, 0.4);
}

.gallery .control-button:hover {
  color: white;
  color: rgba(255, 255, 255, 0.8);
}

/*
	Theme controls how everything looks in Gallery CSS.
*/
.gallery {
  position: relative;
}
.gallery .item {
  height: 400px;
  overflow: hidden;
  text-align: center;
  background: #5F9EA0;
/*  background: white;*/
    -moz-box-shadow:    inset 0px 0px 50px rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0px 0px 50px rgba(0,0,0,0.2);
    box-shadow:         inset 0px 0px 50px rgba(0,0,0,0.2);
 }
.gallery .controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.gallery .control-button {
  display: inline-block;
  margin: 0 .02em;
  font-size: 5em;
  line-height: 1em;
  text-align: center;
  text-decoration: none;
  transition: color .1s;
}
#bgvideo {
	padding: 0;
	overflow: hidden;
	height: 100%;
	width: 100%;
}
#video {
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	position: absolute;
	z-index: -1;
	object-fit: cover;
}

.videotext {
	width: 80%;
	position: absolute;
	top:55%; 
    left:50%;
    transform:translate(-50%, -50%);
}
.mob {
	width: 85% !important;
}

#bg1 {
	background-image: url(../images1/banner01.jpg);
	background-position: center;
	background-size: cover;
	padding: 16em 8em 4em 8em;
}
#bg2 {
	background-image: url(../images/banner02.jpg);
	background-position: center;
	background-size: cover;
	padding: 15em 8em 4em 8em;
}
#bg3 {
	/*background: white;
	background-image: url(../images2/konzultacije0.jpg);
	background-position: center;
	background-size: cover;
    transition: background-image 0.7s ease-in-out;
    background-repeat: no-repeat;*/
	
	padding: 12em 8em 6em 8em;
    -webkit-transition: background-image 0.7s ease-in-out;
    -moz-transition: background-image 0.7s ease-in-out;
    -ms-transition: background-image 0.7s ease-in-out;
    -o-transition: background-image 0.7s ease-in-out;

}
#bg4 {
	background: white;
	background-image: url(../images2/seminar.jpg);
	background-position: center;
	background-size: cover;	
	padding: 8em 6em 4em 6em;
    -webkit-transition: background-image 0.7s ease-in-out;
    -moz-transition: background-image 0.7s ease-in-out;
    -ms-transition: background-image 0.7s ease-in-out;
    -o-transition: background-image 0.7s ease-in-out;
    transition: background-image 0.7s ease-in-out;
    background-repeat: no-repeat;
}
#bg5 {
	background: white;
	background-image: url(../images2/terapija0.jpg);
	background-position: center;
	background-size: cover;	
	padding: 12em 8em 6em 8em;
    -webkit-transition: background-image 0.7s ease-in-out;
    -moz-transition: background-image 0.7s ease-in-out;
    -ms-transition: background-image 0.7s ease-in-out;
    -o-transition: background-image 0.7s ease-in-out;
    transition: background-image 0.7s ease-in-out;
    background-repeat: no-repeat;
}
#bg6 {
	background: white;
	background-image: url(../images2/terapija0.jpg);
	background-position: center;
	background-size: cover;	
	padding: 7em 5em 5em 5em;
    -webkit-transition: background-image 0.7s ease-in-out;
    -moz-transition: background-image 0.7s ease-in-out;
    -ms-transition: background-image 0.7s ease-in-out;
    -o-transition: background-image 0.7s ease-in-out;
    transition: background-image 0.7s ease-in-out;
    background-repeat: no-repeat;
}
#baner h1 {
	color: white;
	text-shadow: 2px 2px 1px rgba(0,0,0,0.1), 2px 2px 15px rgba(0,0,0,1);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 4.6em;
	line-height: 1.5;
}

#baner h2 {
	color: white;
	font-weight: 400;	
	text-shadow: 2px 2px 0px rgba(0,0,0,0.4), 3px 3px 10px rgba(0,0,0,0.6);
	font-size: 2em;
	line-height: 1.7;
}
#baner h3 {
	color: white;
	font-weight: 400;	
	text-shadow: 2px 2px 0px rgba(0,0,0,0.4), 3px 3px 10px rgba(0,0,0,0.6);
	font-size: 3.3em;
	line-height: 1.5;
}
mark {
	background-color: #5F9EA0;
	color: white;
}

.button.senka  {
	-webkit-box-shadow: 0 8px 6px -6px black;
	   -moz-box-shadow: 0 8px 6px -6px black;
	        box-shadow: 0 8px 6px -6px black;
			background-color: orange;
			color: #2F4F4F !important;
			letter-spacing: 0.05em;			
}
.control-button.senka1{
	text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

@media screen and (max-width: 480px) and (orientation: portrait) {
	#bg1, #bg2, #bg3, #bg4, #bg5, #bg6 {
		padding: 5em 2em 3em 2em;
		text-align: center;
	}
	#baner h1 {
		font-size: 3em;
		line-height: 1.1;
	}
	#baner h2 {
		font-size: 1.5em;
	}
	#baner h3 {
		font-size: 2em;
	}	
	#video {
		height: 100%;
		width: auto;				
		transform:translate(-20%, 0);		
	}
}
@media screen and (max-width: 736px) and (orientation: landscape) {
	#bg1, #bg2, #bg3, #bg4, #bg5, #bg6 {
		padding: 5em 2em 3em 2em;
		text-align: center;
	}
	#baner h1 {
		font-size: 3em;
		line-height: 1.1;
	}
	
	#baner h2 {
		font-size: 1.5em;
	}
	#baner h3 {
		font-size: 2em;
	}	
	#video {
		height: 110%;
		width: auto;				
		transform:translate(0, 0);		
	}	
	.mob {
		width: 70% !important;
	}
}
@media screen and (max-device-width: 800px) and (orientation: portrait) { 
	/* hm da? ovo funkcionira i za samsung a40 i tablet 10.1 - portrait*/
	#video {
		height: 100%;
		width: auto;
		transform:translate(-20%, 0);	
	}
	.mob {
		width: 85% !important;
	}
}

@media screen and (max-device-width: 1242px) and (orientation: portrait) { 
	/* hm da? ovo funkcionira na iphone 6+,7+,8+ - portrait*/
	#video {
		height: 100%;
		width: auto;
		transform:translate(-20%, 0);	
	}
	.mob {
		width: 85% !important;
	}	
}