/*
Theme Name: Atesbg
Author: Martin Serbezov
Author URI: http://maxvizia.com
Description: HTML5 Responsive Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Atesbg
Tags:
This theme, like WordPress, is licensed under the GPL.
*/

/* ==========================================================================
   Reset
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Ubuntu:400,500,700&subset=cyrillic');

* { 
	margin: 0; 
	padding: 0; 
	}

html { 
	overflow-y: scroll;
	}

body { 
	position:relative;
	background-color: #fff; 
	width: 100%;
	font-size: 0.9em;
	color: #666; 
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	}

ol, ul { 
	margin: 0;
	}

h1, h2, h3, h4 { 
	margin-bottom: 10px; 
	color: #111111;
	}	

a, img { 
	outline: none; 
	border:none; 
	}

a {
	text-decoration: none;
	color: #1B75BB;
}

p { 
	margin: 0 0 10px 0; 
	line-height: 1.4em; 
	font-size: 1em;
	}

strong {
	font-weight: 500;
}

img { 
	display: block; 
	height: auto!important;
	max-width: 100%;
	}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
	}

/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

*:focus {
	outline:none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}










/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.wrapper {
	width: 96%;
	max-width: 1100px;
	margin: 0 auto;
}

header {
	float: left;
    	position: fixed;
    	width: 100%;
    	top: 0;
    	left: 0;
   	background-color: #fff;
    	padding: 10px 0;
    	box-shadow: 0 0 10px #666;
    	z-index: 5;
}

.logo {
	float: left;
	width: 180px;
}

.logo img {
	float: left;
	width: 100%;
}

#responsive-nav-btn {
	display: block;
	float: right;
	clear: right;
	width: 40px;
	height: 40px;
	margin-top: 12px;
	background-image: url("img/rev-nav-menu.png");
	background-size: 40px 40px;
	background-position: top left;
	outline: 0;
}	

#navigation {
	display: none;
}

header nav {
	float: left;
	width: 100%;
	margin-top: 15px;
}

header nav ul {
	list-style-type: none;
}

header nav li a {
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	font-size: 1.2em;
	text-decoration: none;
	font-weight: 500;  
	text-transform: uppercase;
	color: #444;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	}
		
header nav li a:hover, .active {
	color: #1B75BB;
	text-shadow: 0px 1px 0px #fff;
}

.slider, .banner {
	float: left;
	width: 100%;
	margin: 10px 0 30px 0;
}

.banner img {
	float: left;
	width: 100%;
	margin: 0;
}

/*Go To Product Category*/
.categories {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

.categories .wrapper {
	width: 80%;
}

.categories ul {
	list-style-type: none;
}

.categories li {
	display: block;
	width: 98%;
	padding: 1% 1% 2% 1%;
	text-align: center;
	-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.categories li:hover {
	-webkit-box-shadow: 0 0 10px #c0c0c0;
	-moz-box-shadow: 0 0 10px #c0c0c0;	
   	box-shadow: 0 0 10px #c0c0c0;
}

.categories li:hover h2 {
	color: #444;
}

.categories li img {
	float: left;
    	width: 80%;
    	margin-left: 10%;
}

.categories li span {
    text-align: center;
    color: #1B75BB;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
/*End Go To Product Category*/

.full {
	width: 100%!important;
}

.row {
	float: left;
	width: 100%;
}

#grebeni, #mreji, #drugi {
    padding-top: 100px;
    margin-top: -100px;
}

.main {
	float: left;
	width: 100%;
}

aside, #virtual-econt {
	float: left;
	width: 100%;
}

#map {
	float: left;
	width: 100%;
}

#map iframe {
	float: left;
	width: 100%;
	height: 300px;
	margin: 15px 0 25px 0;
	border: 0;
    	box-shadow: none;
}

#virtual-econt iframe {
	display: block;
	margin: auto;
	width: auto!important;
	height: 410px!important;
	/*width: 350;
	height: 410;*/
}

.main a:hover {
	text-decoration: underline;
}

.main a.button:hover {
	text-decoration: none;
}

.main h2 {
	font-weight: 500;
	text-transform: uppercase;
	color: #666;
	padding-top: 10px;
	margin-bottom: 0;
}

.main h3, .page-id-234 aside h3 {
    	font-weight: 500;
	font-size: 1.5em;
	padding-top: 10px;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: solid 1px #c0c0c0;
	color: #1B75BB;
	text-transform: none;
}

.page-id-234 .main h3 {
	color: #666;
}

.main strong {
	font-size: 1.25em;
}

aside img {
	float: left;
	width: 100%;
}

aside h3 {
    	padding: 5px 10px;
    	text-transform: uppercase;
    	margin: 15px 0 20px 0;
    	background-image: url(img/bg.png);
   	background-color: rgba(0,0,0, 0.05);
   	-webkit-transition: all 0.4s;
    	-moz-transition: all 0.4s;
    	transition: all 0.4s;
	font-weight: 400;
	color: #666;
}

.page-id-234 aside h3 {
	color: #666; 
	font-size: 1.5em;
	padding-top: 10px;
	margin-top: 0;
	padding-bottom: 10px;
	background-image: none;
   	background-color: transparent;
}

aside a h3:hover {
	background-color: #1B75BB;
	color: #fff;
}

aside p {
	margin: 0 10px 0 10px;
}

aside p.info {
	padding: 20px 0 10px 0;
}


.ral {
	float: left;
	width: 100%;
	margin-bottom: 10px;
}

aside .ral tr {
float: left;
width: 48%;
margin: 0 1%  10px 1%;
}

aside .ral tr:nth-child(2n+1) {
	clear: left;
}

.main .ral {
	margin-top: 20px;
	margin-bottom: 0;
}

.main .ral tr {
float: left;
width: 31.333%;
margin: 0 1%  10px 1%;
}

.main .ral tr:nth-child(4) {
	clear: left;
}

.ral1015 {
float: left;
width: 100%;
height: 40px;
background-color: #E6D690;
}

.ral1013 {
float: left;
width: 100%;
height: 40px;
background-color: #EAE6CA;
}

.ral9006 {
float: left;
width: 100%;
height: 40px;
background-color: #A5A5A5;
}

.ral9003 {
float: left;
width: 100%;
height: 40px;
background-color: #F4F4F4;
}

.ral3012 {
float: left;
width: 100%;
height: 40px;
background-color: #C1876B;
}

.ral8017 {
float: left;
width: 100%;
height: 40px;
background-color: #45322E;
}

.sidebar-widget-1 {
	float: left;
	width: 100%;
}

.page-title {
    width: 100%;
    padding: 20px 0;
    margin: 80px 0 25px 0;
    background-image: url('img/bg.png');
    background-color: rgba(0,0,0, 0.05);
    border-bottom: solid 1px #ddd;
}

.page-title h1 {
	font-weight: 400;
	color: #666;
	margin-bottom: 0;
}

/*Wordpress Default Styles*/
/*
img.alignleft {
	float: left;
	margin-left: 0;
	margin-right: 20px;
}

img.alignright {
	float: right;
	margin-right: 0;
	margin-left: 20px;
}

img.size-medium {
	width: 45%;
}

img.size-full {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}
*/
.gallery {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

.gallery-columns-2 .gallery-item {
	float: left;
	width: 48%;
	margin-right: 2%;
}

.gallery-columns-3 .gallery-item {
	float: left;
	width: 31%;
	margin-right: 2%;
}

.gallery-columns-4 .gallery-item {
	float: left;
	width: 48%;
	margin-right: 2%;
}

.gallery div img {
	width: 100%;
	margin: 10px 0;
	box-shadow: 0 0 1px #111;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/*End Wordpress Default Styles*/

/*Products*/
.product, .news {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

.main.single ul,
.main.single ol {
	margin-left: 1em;
	margin-bottom: 10px;
}

.product-image {
	width: 100%;
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}

.product-image .attachment-post-thumbnail {
	float: left;
	width: 100%;
	box-shadow: 0 0 1px #111;
}

.product-info {
	float: left;
	width: 100%;
	margin-top: 20px;
}

.product-info span {
	font-size: 1.25em;
	font-weight: 500;
}

.product-info ul {
	margin: 10px 0 10px 25px;
}

.product-info ul li {
	margin-top: 5px;
}

.button {
	display: inline-block;
	width: auto;
	margin: 20px 0;
	padding: 5px 12px;
	box-shadow: 0 0 1px #111;
	color: #fff;
	background-color: #1B75BB;
	background-image: url('img/bg.png');
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
	text-decoration: none;
	font-weight: 500;
	}

.button:hover {
	background-color: #f0f0f0;
	color: #666;
}

.product-info .button {
	float: right;
	margin: 20px 20px 0 0;
}

/*Contact Page*/

.order-form {
	float: left;
	width: 100%;
	margin-bottom: 20px;
}

.order-form .row {
	float: left;
	width: 96%;
	padding: 5px 2%;
    	margin: 0 0 10px 0;
}

.order-form .row.new {
    	background-image: url('img/bg.png');
    	background-color: rgba(0,0,0, 0.05);
}

.order-form p {
    float: left;
    width: 100%;
}

.order-form p.last {
	float: right;
	margin-right: 0;
}

.order-form input, .order-form select {
	width: 96%;
	padding: 8px 2%;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
    color: #666;
    border: solid 1px #c0c0c0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
	background-color: #fff;
}

.order-form input:focus, .order-form select:focus {
	border-color: #1B75BB;
	-webkit-box-shadow: 0 0 10px #c0c0c0;
	-moz-box-shadow: 0 0 10px #c0c0c0;	
   	box-shadow: 0 0 10px #c0c0c0;
}

.order-form select {
	width: 100%;
}

.order-form input {
	width: 96%;
}

p.contact_qty input {
	width: 92%;
}

p.contact_button {
clear: left;
padding: 0;
}

.order-form .contact_button input {
    width: auto;
    cursor: pointer;
    margin: 0 0 0 1%;
   -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 7px 10px;
    color: #fff;
    background: #1B75BB;
    border: 1px solid #1B75BB;
    text-shadow: 0px 1px 0px #2C2C2C;
    border-bottom: 5px solid #365491;
    font-weight: 500;
}

#row2, #row3 {
	display: none;
}


#addRow {
	cursor: pointer;
	font-size: 1.2em;
	color: #1B75BB;
}

#addRow:hover {
cursor: pointer;
color: #444;
}	

/*End Products*/

/*Category -> Single Post*/

.category .attachment-post-thumbnail, .single .attachment-post-thumbnail {
	float: left;
	width: 35%;
	box-shadow: 0 0 1px #111;
	margin: 5px 20px 20px 0;
}

/*End Category -> Single Post*/

footer {
	float: left;
    	width: 100%;
    	margin-top: 40px;
    	padding: 25px 0 50px 0;
    	background-color: #333;
    	border-top: solid 2px #ddd;
	text-align: center;
}

footer p, footer a {
    color: #999;
    text-align: center;
}

footer a:hover {
	color: #fff;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
	
	.categories li {
		float: left;
		width: 31.333%;
		padding: 1% 1% 2% 1%;
	}
	/*
	.main {
		width: 65%;
	}

	aside, #virtual-econt {
		float: right;
		width: 32%;
	}
*/
	.home aside {
		margin-top: 4.2em;
	}
	
	.page-id-21 aside {
		margin-top: 6.8em;
	}

	.category-10 aside {
		margin-top: 3.2em;
	}

}
	
@media only screen and (min-width: 768px) {

#responsive-nav-btn {
	display: none;
}	
	
#navigation {
	display: block;
}


header nav {
	float: right;
	width: auto;
}

header nav li {
	float: left;
	display: inline-block;
}

header nav li a {
	float: left;
	padding: 10px;
	font-size: 1em;
	}

.main {
		width: 65%;
	}

	aside, #virtual-econt {
		float: right;
		width: 32%;
	}

#virtual-econt img {
	float:left;
	width: 100%;
	box-shadow: none;
	}

.home aside {
	margin-top: 2.2em;
	}

.page-id-21 aside {
	margin-top: 4.8em;
	}

.category-10 aside {
	margin-top: 3.2em;
	}

img.size-medium {
	width: 35%;
}

.gallery-columns-4 .gallery-item {
	width: 23%;
	margin-right: 2%;
}

.product-image {
	float: left;
	width: 35%;
}

.product-info {
	float: right;
	width: 60%;
	margin-top: 0;
}

.order-form p {
    width: 49%;
	margin-right: 2%;
}

p.contact_ral, p.contact_qty {
width: 23%;
}

.product-info .button {
	margin: 20px 0 0 25px;
	float: left;
}

}

@media only screen and (min-width: 1024px) {
	
	body {
		font-size: 1em;
	}

	.logo {
		width: 200px;
	}
	
	.page-title {
		padding: 30px 0;
		margin: 90px 0 25px 0;
	}

.main {
	width: 70%;
}

aside, #virtual-econt {
	width: 27%;
}
	
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}