/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
.container_wrap {border: none!important;}

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500');

#main, #header{
	font-family: 'Roboto', sans-serif;
}

.avia-menu-text {
	text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
}

#top .logo, #top .logo a{
	overflow: inherit!important;
	max-height: 130px!important;
}

#top .header-scrolled .logo,#top .header-scrolled .logo a{
	overflow: inherit!important;
	max-height: 75px!important;
}

#top .logo img {
	max-height: 130px!important;
	transition: all 0.5s;
}

#top .header-scrolled .logo img {
	max-height: 75px!important;
	transition: all 0.5s;
}

#top .header-scrolled {
	border-bottom: 5px solid #14b1ff;
}

.top_banner .avia-image-container-inner {
	width: 100%;
}

.top_banner .avia-image-container-inner img {
	width: 100%;
}

.rdec_trak {
	min-height: 60px;
}

#top .rdec_trak .slika {
	display: inline-block;
	margin-top: 9px;
}

#top .rdec_trak .slika:first-child {
	margin-right: 9px;
}

.rdec_trak .napis {
	text-transform: uppercase;
	font-size: 30px;
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 60px;
}

.rdec_trak p {
	margin: 0;
}

.novice_front {
	border-top: 5px solid #14b1ff;
	border-bottom: 5px solid #14b1ff;
}

.novice_front .naslov{
	color: #840404;
	font-size: 20px;
	font-weight: bold;
}

.novice_front .novica {
	width: 32%;
	display: table-cell;
    vertical-align: top;
    background-color: #fff;
    border-left: 20px solid;
    border-color: #bfbfbf!important;
}

.novica .vsebina{
    padding: 15px;
    text-align: left;
}

.novice_front .novica:first-child {
    border: none;
    width: 30.4%;
}

#top .novica h4{
	text-align: center;
}

.novica a,
.novica a:hover,
.novica a:active,
.novica a:visited{
    text-decoration: none;
}

#top .novica p:nth-child(3){
	margin: 0;
}

#top .novica .slika{
	background-size: cover!important;
}

.bottom_banner {
	padding-bottom: 24%;
}

#main .naslov_vozila h1,
#main .kategorija_novice h1 {
	font-size: 32px;
	color: #9c0000;
}

#main .naslov_vozila .content {
	padding-top: 65px;
	padding-bottom: 30px;
}

.vozilo h2 {
	font-size: 28px;
}

.vozilo h3 {
	font-size: 20px;
	text-transform: uppercase;
}

#top .vozilo table {
	margin: 15px 0;
}

#top .vozilo tbody tr {
	background-color: #e9e9e9;
}

#top .vozilo tbody th {
	text-align: left;
	font-size: 15px;
	padding: 5px 0px;
	border: none;
}

.vozilo tbody td {
	width: 70%;
	font-size: 15px;
	padding: 5px 0px;
	border: none;
}

.vozilo .slika_bg {
	background-size: contain;
}

.vozilo.avia-builder-el-last.vozilo {
	margin-bottom: 60px;
}

#top .naslov_vozila.zgoraj .content {
	padding-bottom: 0;
}

#top .vozilo.spodaj .content {
	padding-top: 14px;
}

#top .vozilo.spodaj {
	border-top: 5px solid #14b1ff!important;
}

#top .vozilo.spodaj h2 {
	font-size: 24px;
}

.opis_objave p {
	margin-top: 0;
}

.opis .av-equal-height-column-flextable{
	min-height: 412px;
}

.avia-mozilla .opis .av-equal-height-column-flextable{
	height: 412px;
}

.galerija .main_color {
	border: none;
}

#main .kategorija_novice h1 {
	margin-bottom: 50px;
	text-align: left;

}

.kategorija_novice {
	text-align: center;
}

.kategorija_novice .novica {
	display: none;
	float: left;
	width: 48%;
	margin-left: 4%;
	background-color: #e9e9e9;
	min-height: 460px;
	margin-bottom: 40px;
}

.kategorija_novice .novica:nth-child(even) {
    margin-left: 0;
}

.av-masonry-image-container {
	opacity: 1!important;
}

#load_more {
	display: none;
	clear: both;
	padding-top: 30px;
}

.mfp-title {
	display: none;
}

#top .tekmovanje_levo {
	border-right: none!important;
}

.tekmovanje_levo img{
	vertical-align: middle;
}

#top .tekmovanje_desno {
	border-left: none!important;
}

#top .tekmovanje_desno .avia-button {
	border-radius: 0px;
    padding: 10px;
    font-size: 17px;
    border-width: 2px!important;
    border-color: #1b1717!important; 
    border-style: solid!important;
    font-weight: bold;
    text-align: center;
    max-width: 100%;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.max800 .container {
	max-width: 800px;
}

#top .pdf:before {
	content: url(images/pdf.svg);
	position: relative;
	top: 10px;
    margin-right: 20px;
    display: inline-block;

}

#top .pdf p {
	display: inline-block;
	width: calc(100% - 48px);
	vertical-align: middle;
	color: #14b1ff;
}

#top .pdf p a{
	color: #14b1ff;
}

#footer {
	border-top: 5px solid #14b1ff;
}

#footer .flex_column:first-child .textwidget {
	padding-left: 180px;
}

#footer .flex_column:first-child img{
	position: absolute;
	left: 0;
}

#footer .flex_column:nth-child(2) .textwidget {
	text-align: right;
}

#footer .flex_column:nth-child(2) .textwidget img{
	margin: 0 25px;
}

#socket {
	border-top: none;
}

@media only screen and (max-width: 1000px)
{
	#top .vozilo tbody th {
		width: 120px;
	}
}

@media only screen and (max-width: 945px)
{
	.bottom_banner .napis h2{
		font-size: 50px;
	}
}

@media only screen and (max-width: 767px)
{
	.novice_front .novica,
	.novice_front .novica:first-child {
		display: block;
		width: 100%;
		max-width: 500px;
		border: none;
		margin: 0 auto 20px auto;
	}
	.kategorija_novice .novica,
	.kategorija_novice .novica:nth-child(even) {
		max-width: 500px;
		width: 100%;
		margin: 0 auto 40px auto;
		float: none;
	}
	.bottom_banner .bottom_slika {
		display: none;
	}
	.responsive #top .header_bg {
		background-color: #cf0000;
	}
	.responsive #top .vozilo table{
		border: none;
	}
	#top .vozilo tbody {
		display: table-row-group;
	}
	#top .vozilo tbody tr{
		display: table-row;
	}
	#top .vozilo tbody th {
		display: table-cell;
		text-align: left;
	}
	#top .vozilo tbody td {
		display: table-cell!important;
		text-align: left;
	}
	#top .vozilo tbody td:before {
		display: none;
	}
	.slika_bg {
		padding-bottom: 65%;
	}
	.responsive #top .vozilo .vsebina {
		margin-bottom: 0!important;
	}
	.naslov_vozila.zgoraj .flex_column {
		margin-bottom: 0!important;
	}
	#top .vozilo tbody th {
	    width: 140px;
	}
	.podpis {
		width: 50%!important;
	}
	#top .tekmovanje_levo {
		border-right: 2px solid #14b1ff!important;
		border-bottom: none!important;
		margin-bottom: 0!important;
	}

	#top .tekmovanje_desno {
		border-left: 2px solid #14b1ff!important;
		border-top: 0!important;
		padding-top: 29%;
	}
	.opis .slika_bg {background-size: cover;}
	.opis .vsebina {padding: 0!important;}
	.opis .av-equal-height-column-flextable {min-height: 0;}
}
@media only screen and (max-width: 400px)
{
	#footer .flex_column:nth-child(2) .textwidget img {
		margin: 0 15px;
	}
	#footer .flex_column:first-child .textwidget {
	    padding-left: 110px;
	}
	#top .vozilo tbody th {
	    width: 120px;
	}
}
