td .slika {
	display: none;
}
td.left_td {
	display: none;
}
td.right_td img {
	display: block;
}
@media only screen and (min-width: 321px) {
	#top_headings h1, .bold_heading {
		font-size: 30px;
	}
}
@media only screen and (min-width: 425px) {
	#top_headings h1, .bold_heading {
		font-size: 40px;
	}
}
@media only screen and (min-width: 768px) {
	td .slika {
		display: block;
	}
	td.left_td {
		display: table-cell;
	}
	td.right_td img {
		display: none;
	}
	.resp_slika {display: none;}
	#top_headings h1, .bold_heading {
		font-size: 50px;
	}
}
@media only screen and (max-width: 320px) {
	#top_headings h1, .bold_heading {
		font-size: 25px;
	}
	#top_headings p {
		text-align: center;
		margin-left: 2%;
		margin-right: 2%;
	}
}

body {
	overflow-x: hidden;
}

.wrapper {
  width:100%;
  height:100vh;
  overflow: hidden;
}
.wrapper video {
  /* object-fit: contain; */
  /* object-fit: fill;    */
  object-fit: cover;
  width:100%;
  height:100%;
}

.video-background {
  background: #000;
  1position: fixed;
  1top: 0; right: 0; bottom: 0; left: 0;
  1z-index: -99;
}
.video-foreground,
.video-background iframe {
  pointer-events: none;
}
#videobg {display: none; }
#welcome {1display: none; }

@media (min-aspect-ratio: 16/9) {
  .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
.vid-info { width: 50%; padding: .5rem; }
.vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
.vid-info .acronym { display: none; }
}


a {outline: 0; }
a:hover {text-decoration: none; }
#main_content p {font-size: 16px;}
header {
	background-color: rgba(0, 0, 0, 0.4);
}
header a {
	font-weight: bold;
	margin: 5px;
}
header .bg_image {
	background: url(images/bg.jpg) no-repeat center center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
#homepage #bg_index {background: transparent; }
header #bg_index,header #bg_index_en {background-image: url(images/bg_index.jpg); }
header #bg_za_nas,header #bg_za_nas_en {background-image: url(images/bg_za_nas.jpg); }
header #bg_media,header #bg_media_en {background-image: url(images/bg_media.jpg); }
header #bg_proizvoden_kapacitet,header #bg_proizvoden_kapacitet_en {background-image: url(images/bg_proizvoden_kapacitet.jpg); }
header #bg_proizvodi,header #bg_proizvodi_en {background-image: url(images/bg_proizvodi.jpg); }
header #bg_kontakt,header #bg_kontakt_en {background-image: url(images/bg_kontakt.jpg); }

#top-menu {
	z-index: 101;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	margin: 0;
	background-color: transparent;	
    transition: background-color 1s ease;
    padding: 10px;
}
#top-menu.transparent {
	background-color: rgba(0, 0, 0, 0.8);	
    transition: background-color 1s ease;
}

#menu_close {
	margin-bottom: 50px;
}
#menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	padding-top: 20px;
	color: white;
	z-index: 999;
}	
#menu ul {
	margin: 0;
	padding: 0;
}
#menu ul li{
	text-align: center;
	list-style: none;
	padding: 10px;
}
#menu ul li a{
	display: block;
	color: white;
	text-transform: uppercase;
}
#menu ul li a:hover, #menu ul li a:focus, #menu ul li a:active{
	text-decoration: none;
	color: #D01F26;
}

#top_container {
	position: relative;
	background-color: rgba(0, 0, 0, 1);
	height: 0;
}
#topelements {
	color:white;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	1background-color: rgba(0, 0, 0, 0.2);
}

#topelements #topelements_inner {
	padding: 30px 0;
	position: relative;
	1background-color: rgba(0, 0, 0, 0.2);
	height: 100%;
}
#scroll_down {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}
#topelements_inner .outer {
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

#topelements_inner .middle {
    display: table-cell;
    vertical-align: middle;
}
#top_headings h1 {
	font-family: "Conv_HypatiaSansPro-Black",Helvetica,Arial,sans-serif; 
	// color:#d71a21;
	margin: 30px;
	
}
h1.bold_heading {
	font-family: "Conv_HypatiaSansPro-Black",Helvetica,Arial,sans-serif; 
	color:#d71a21;
	margin: 30px;
	
}

.m30 {
	margin: 30px;
}
#top_headings h1 {
	text-align: center;
	margin-left: 2%;
	margin-right: 2%;
}
#top_headings p {
	text-align: center;
	margin-left: 20%;
	margin-right: 20%;
}
#topelements_inner p:last-child {
	1margin-bottom: 60px;
}

h1.boldfont {
	font-family: "Conv_HypatiaSansPro-Black",Helvetica,Arial,sans-serif;
	color: #D01F26; 
	margin-top: 50px;
	margin-bottom: 30px;
	
}

footer {
	background-color: #D01F26; 
	color:#fff;
	padding: 10px;
	margin-top: 10px;
}
footer p {
	margin: 5px 0;
	font-size: 11px;
}


a.circlebg {
  background-color: white;
  width: 28px;
  height: 28px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 14px;
}

.center_object {
	max-width: 550px;
	text-align: center;
	margin: 0 auto;
	padding: 20px 0;
}
.crveno {
	background-color: #D01F26;	
	color: white;
}
.cycle-slideshow {
	margin-left: 20px;
}
#adv-custom-pager img {
	margin-left: 10px;
	margin-top: 5px;
}
#adv-custom-pager,
#adv-custom-pager2,
#adv-custom-pager3 {
	text-align: center;
	max-width: 600px;
}

#next, #next2, #next3 {
	margin-left: 15px;
}
.slider-img {
	/* max-width: 511px; */
	width: 600px;	
}
.tekst_levo_na_crveno {
	padding: 30px;
}

#custom-pager a {
	background-color: #aaa;
	color: white;
	display: block;
	margin: 5px 20px;
	width: 18px;
	height: 18px;
	padding: 3px 0;
	border-radius: 9px;
    border: 5px solid #fff;
}

#custom-pager a:hover {
	background-color: #D01F26;
}

#custom-pager a.cycle-pager-active {
	background-color: #fff;
    border: 2px solid #f00;
    border-radius: 9px;
    height: 18px;
    1margin-left:14px;
    width: 18px;
}

.element2 {
	background-color: white;
	background-image: url('images/pattern.png');
	text-align: center;
    color: #939597;
    padding: 20px;
    margin: 0;
}

.element { 
    position: relative;  /* optional */
    color: #939597;
    padding-top: 20px;
    margin: 0;
    width: 100%;
    1height: 100px;
    background-color: white;
    z-index:2;
    text-align: center;
}

.element::after {
    content: "";
    width: 50%;
    left:50%;
    
    height: 50px;
    background-color: white;
    
  -webkit-transform: skew(0deg, -3deg);
  -moz-transform: skew(0deg, -3deg);
  -ms-transform: skew(0deg, -3deg);
  -o-transform: skew(0deg, -3deg);
  transform: skew(0deg, -3deg);    

    position: absolute;
    top:50%;
    z-index: -1;
}
.element::before {
    content: "";
    width: 50%;
    left:0;
    top:50%;
    height: 50px;
    background-color: white;
    
  -webkit-transform: skew(0deg, 3deg);
  -moz-transform: skew(0deg, 3deg);
  -ms-transform: skew(0deg, 3deg);
  -o-transform: skew(0deg, 3deg);
  transform: skew(0deg, 3deg);    

    position: absolute;
    z-index: -1;
}
.tekst {
	padding: 20px;
}
.sl70 {
	width: 70%;
}
.media_tekst {
	padding: 0 20px;
	max-width: 600px;
}
.media_tekst h4 {
	color: #FFF100;
}
.media_tekst a {
	color: #FFF100;
}

.contact_h1 {
	border-bottom: 1px solid #fff;

}
a.yellow_link {
	color: #FCE27A;
}
a.yellow_link:hover {
	text-decoration: underline;
}

input, textarea {
	margin: 5px 0;
}
p.p16 {
	font-size: 16px;
}
.footer_wrapper {
	background-color: white;
	padding-top: 1px;
}
.resp_slika {
	padding: 0 10px;
}
.resp_slika img{
	width: 100%;
}