@charset "utf-8";
/* CSS Document */

/* 
1. CSS Reset 
2. General Settings
3. Header
4. Content
5. Footer
6. Miscellaneous
7. Responsive
8. Semafor
9. Joomla and jReviews fixes
10. Izračun indeksa telesne mase
*/

/* -------------------------
1. CSS RESET
------------------------- */

/** * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/) * Richard Clark (http://richclarkdesign.com) * http://cssreset.com */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;}
body {line-height:1;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;}
nav ul {list-style:none;}
blockquote, q {quotes:none;}
blockquote:before, blockquote:after, q:before, q:after {content:'';content:none;}
a {margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent;}/* change colours to suit your needs */
ins {background-color:#ff9; color:#000; text-decoration:none;}/* change colours to suit your needs */
mark {background-color:#ff9; color:#000; font-style:italic; font-weight:bold;}
del {text-decoration: line-through;}
abbr[title], dfn[title] {border-bottom:1px dotted; cursor:help;}
table {border-collapse:collapse; border-spacing:0;}/* change border colour to suit your needs */
hr {display:block; height:1px; border:0; border-top:1px solid #cccccc; margin:1em 0; padding:0;}
input, select {vertical-align:middle;}


/* -------------------------
2. GENERAL SETTINGS
------------------------- */

body {
    color: #555555;
    background: #EFE9D1;
    font: 1em 'Ubuntu',Verdana,Arial,Sans-Serif;
    text-decoration: none;
    color: #555;
}
.wrapper {
    margin: 1.5em auto;
    width: 60.5em; /*968px*/
    border: 0.625em solid #FAF8F0; /*10px*/
    background: #FFF;
}
h1, h2, h3 {
    font-weight: 300;
    line-height: 120%;
}
h1 {
    font-size: 1.7em;
    /*font-size: 2.125em;*/
    margin-bottom: 0.4em;
}
h2 {
    font-size: 1.4em;
    /*font-size: 1.75em;*/
}
h3 {
    font-size: 1.1em;
    /*font-size: 1.375em;*/
    font-weight: 400;
}
p {
    font-weight: 300;
    font-size: 0.96em;
    /*font-size: 1.2em;*/
    line-height: 140%;
    margin-bottom: 0.375em;
}
a:link, a:visited {
    font-weight: 300;    
	color: #85B200;
    text-decoration: none;
}
a:hover, a:active {
    font-weight: 300;
    color: #9FD500;
    text-decoration: none;
}
table {
    font-weight: 300;
    font-size: 0.96em;
    /*font-size: 1.2em;*/
}
.link-small {
    font-size: 0.85em;
    /*font-size: 0.9em;*/

}


/* -------------------------
3. HEADER
------------------------- */

header {
    position: relative;
    bottom: 0;
    height: 20.5em;
    width: 100%;
    background: url('../images/header-photo-01.jpg') no-repeat center;
}
.nav-container {
    position: absolute;
    bottom: 3.5em;
    width: 100%;
    background: url('../images/menu-background.png');
}
.logo {
    position: absolute;
    width: 15em;
    height: 5.56em;
    background: #85B200 url('../images/sprites.png') 0 0;
}


/* -----------------------------
3.1 MAIN MENU IN VES TA STUFF
----------------------------- */

.menu-section {
    left: 15em;
    display: block;
    position:relative;
}
.nav {
    display: inline-block;
    padding: 0 0 0 1em;
}
.nav ul {
    position: absolute;
    white-space: nowrap;
    z-index: 1;
    left: -99999em;
    height: 5.5em;
    list-style-type: none;
    margin: 0;
}
.nav li a {
    display: block;
    font: 1.625em 'Ubuntu',Verdana,Arial,Sans-Serif;
    font-weight: 300;
    text-decoration: none; color: #555;
    padding: 1.5em 0.5em 0.725em;
    position: relative;
}
.nav ul li {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url('../images/menu-background.png');
    margin-right: 10px;
}
.nav > li {
    float:left;
}
.nav > li:hover , .nav > li:hover >a, .nav li a:hover, .nav > li.current, .nav > li.current >a, .nav li a.current, .nav > li.active, .nav > li.active >a, .nav li a.active {
    color: #FFF;
    background: #85B200;
}


/* --------------------------------------
3.2 SUBMENU IN VES UN STUFF
-------------------------------------- */

.nav > li:hover > ul {
    left: auto;
    /* padding-top: 5px; */
    min-width: 100%;
}

.nav > li li:hover > ul {
    margin-left: 0px;
    left: 100%;
    top: 0;
    /* padding-left: 2px; */
}

.nav li > ul li a {
    font-size: 0.96em;
    /*font-size: 1.2em;*/
    padding: 0.5em;
}

.nav-child {
    display: inline-block;
    left: -7px;
    position: absolute;
    top: 9px;
    top:5.5em;
}

.nav-child > ul {
    top:0;
}

/*.parent:hover .nav-child {*/
    /*display: block;*/
/*}*/


/* -------------------------------------------
3.3 MEDIA SIZES - nisem spreminjal (zaenkrat)
------------------------------------------- */

@media screen and (min-width: 30em){
    .multi-level-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .multi-level-nav li {
        position: relative;
    }
    .multi-level-nav ul ul {
        display: block;
        position: absolute;
        z-index:100;
    }
}


/* -------------------------
4. CONTENT
------------------------- */
.content-full {
    width: 57.25em;
    margin: 1em auto 1em;
}
.content-half {
    width: 27em;
    margin: 0;
}
.columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.column-half {
    margin-bottom: 1em;
    flex: 0 1 27em;
}
.column-quarter {
    display: flex;
    flex: 0 1 12.75em;
}
.box {
    padding: 1em;
    font-size: inherit;
}
.background-yellow {
    background-color: #FFC822;
    color: #402000;
}
.background-green {
    background-color: #85B200;
    margin-bottom: 1em;
}
.background-green h2 {
    color: #FFF;
}
.background-gray {
    background-color: #FAFAF0;
}
.app-android {
    margin-top: 0.5em;
    width: 7.5em;
    height: 2.625em;
    background: url('../images/sprites.png') 0 -100px;
}
.app-ios {
    margin-top: 0.5em;
    width: 7.5em;
    height: 2.625em;
    background: url('../images/sprites.png') 0 -150px;
}
.button {
    font-size: 1.4em;
    /*font-size: 1.75em;*/
    font-weight: 300;
    text-align: center;
    display: inline-block;
    padding: 0.3em 1em 0.3em 0.75em;
    margin-top: 0.5em;
    color: #FFF;
}
a.button {
    color: #FFF;
}
.button-green {
    background-color: #638400;
    border-left: 0.25em solid #496200;
}
a.button-green:hover {
    background: #496200;
}
.button-orange {
    background-color: #F87508;
    border-left: 0.25em solid #D76507;
}
a.button-orange:hover {
    background: #D76507;
}
.product-img {
    float: left;
}
.product-img-border {
    border: 0.625em solid #FAFAF0;
}
.product-description {
    margin-left: 1em;
}
/*Custom style for radio buttons*/
[type="radio"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/* One radio button per line */
label {
    display: inline-block;
    cursor: pointer;
    line-height: 2.5;
    font-size: 0.96em;
    /*font-size: 1.2em;*/
    font-weight: 300;
}
[type="radio"] + span {
    display: block;
    margin-right: 1.5em;
}
/* the basic, unchecked style */
[type="radio"] + span:before {
    content: '';
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    background: #FFF;
    vertical-align: -0.25em;
    border: 0.25em solid #fff;
    box-shadow: 0 0 0 0.0625em #888;
    margin-right: 0.75em;
}
/* the checked style using the :checked pseudo class */
[type="radio"]:checked + span:before {
    background: #85B200;
}

/*Custom style for input and textarea*/
input {
    width: 100%;
    display: block;
    padding: 0.125em 0.125em;
    font: 1.2em 'Ubuntu',Verdana,Arial,Sans-Serif;
    font-weight: 300;
    text-align: center;
    color: #555;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0.0625 solid #888;
}


.traffic-light-green {
    width: 20px;
    height: 20px;
    margin-bottom: 0.625em;
    background: url('../images/sprites.png') -130px -150px;
}
.traffic-light-yellow {
    width: 20px;
    height: 20px;
    margin-bottom: 0.625em;
    background: url('../images/sprites.png') -150px -150px;
}
.traffic-light-red {
    width: 20px;
    height: 20px;
    margin-bottom: 0.625em;
    background: url('../images/sprites.png') -170px -150px;
}
.traffic-light-gray {
    width: 20px;
    height: 20px;
    margin-bottom: 0.625em;
    background: #888;
}


.food-table {
    font-weight: 300;
    font-size: 0.96em;
    /*font-size: 1em;*/
    line-height: 160%;
}
.img-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.color-white-bg-green {
    color: #FFF;
    background: #85B200;
}

.color-white-bg-red {
    color: #FFF;
    background: #D90000;
}

.color-white-bg-yellow {
    color: #555;
    background: #FFC822;
    text-align: center;
}


/*Joomla specific*/
ul.breadcrumb {
    font-size: 0.9em;
    /*font-size: 0.9em;*/
    margin-bottom: 0.75em;
    list-style-type: none;
}

.breadcrumb li {
    display: inline;
}

/* -------------------------
5. FOOTER
------------------------- */

footer {
    background: #FAF8F0;
    font-size: 100%;
    font-weight: 300;
}
.footer-content {
    position: relative;
    padding: 1em 1.75em;
    width: 57em;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-column {
    flex: 0 1 27%;
    align-content: space-between;
}


.footer-column .nav {
    all:initial;
}

.footer-column .nav a:link, .footer-column .nav a:visited {
    font-weight: 300;
    color: #9FD500;
    text-decoration: none;
    background: none;
}
.footer-column .nav a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.footer-column .nav > li:hover , .footer-column .nav > li:hover >a, .footer-column .nav li a:hover, .footer-column .nav li.active {
    color: #85b200;
    background: none;
}

.footer-column li {
    float:none;
    list-style: none;
    font-size:0.96em;
    /*font-size: 1.2em;*/
}
.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 1em 0 0 1em;
}
.facebook {
    width: 2.5em;
    height: 2.5em;
    background: url('../images/sprites.png') -130px -100px;
    z-index: 100;
}
.twitter{
    margin-left: 0.75em;
    width: 3.0625em;
    height: 2.5em;
    background: url('../images/sprites.png') -180px -100px;
    z-index: 100;
}
.instagram {
	margin-left: 0.65em;
    width: 2.6em;
    height: 2.5em;
    background: url('../images/sprites.png') -235px -100px;
    z-index: 100;
}
.impressum {
    position: relative;
    width: 100%;
    text-align: right;
    font-size: 0.8em;
    /*font-size: 0.85em;*/

}
div#logo-mz img, div#logo-dts img {
	border: 1px #ccc solid;
}


/* -------------------------
6. MISCELLANEOUS
------------------------- */

.float-left {
    float: left;
}
.float-right {
    float: right;
}
.clear {
    clear: both;
}
.margin-0 {
    margin: 0;
}
.margin-1 {
    margin: 1em;
}
.margin-right-1 {
    margin-right: 1em;
}
.margin-right-bottom-075 {
    margin: 0 0.75em 0.75em 0;
}
.margin-top-15 {
    margin-top: 1.5em;
}
.margin-top-1 {
    margin-top: 1em;
}
.margin-top-05 {
    margin-top: 0.5em;
}
.margin-top-bottom-1 {
    margin: 1em 0;
}
.margin-top-bottom-2 {
    margin: 2em 0;
}
.margin-bottom-075 {
    margin-bottom: 0.75em;
}
.margin-bottom-05 {
    margin-bottom: 0.5em;
}
.margin-bottom-1 {
    margin-bottom: 1em;
}
.margin-bottom-175 {
    margin-bottom: 1.75em;
}
.margin-bottom-2 {
    margin-bottom: 2em;
}
.padding-0 {
    padding: 0;
}
.padding-1 {
    padding: 1em;
}
.padding-top-1 {
    padding-top: 1em;
}
.padding-top-bottom-1 {
    padding: 1em 0;
}
.hotpink {
    background: hotpink;
}


/* -------------------------
7. WEB RESPONSIVE
------------------------- */

@media only screen and (max-width: 989px) {
    .wrapper {
        margin: 0 auto;
        width: calc( 100% - 1.25em );
        border: 0.625em solid #FAF8F0; /*10px*/
    }
    .content-full {
        width: 90%;
        margin: 5% auto 5%;
    }
    .content-half {
        width: 100%;
        margin: 0;
    }
    .column-half {
        margin-bottom: 1em;
        flex: 0 1 100%;
    }
    .column-quarter {
        flex: 0 1 48%;
    }
    footer {
        background: #FAF8F0;
        font-size: 100%;
        font-weight: 300;
    }
    .footer-content {
        position: relative;
        margin: 1em auto 0;
        width: 100%;
    }
    .footer-flex {
        width: 90%;
    }
    .footer-column {
        flex: 0 1 48%;
        align-content: space-between;
        margin-top: 1em;
    }
    .social {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-left: 0;
    }
    .facebook {
        margin-right: 0.75em;
    }
    .twitter{
        margin-left: 0;
    }
    #veskajjes-search-main {
        display: none;
    }	
	.logo {    
    height: 5.85em;    
	}
}

/* -------------------------
8. SEMAFOR
------------------------- */

.green {width:20px; height: 20px; background: #85B200;}
.yellow {width:20px; height: 20px; background: #FFC822;}
.red {width:20px; height: 20px; background: #D90000;}

#table_hrana td, #table_pijaca td {vertical-align: middle; padding: 0.125em 0.125em; padding-bottom: 1em;}


/* -------------------------
9. JOOMLA AND JREVIEWS FIXES
------------------------- */

#full-article img, #full-article table {
    margin: 1em 0 1em 0;
}

/*#full-article:not(.jrListingDetail) table {*/
/*border: 0.1em solid;*/
/*}*/

/*#full-article table td {*/
/*padding: 0.3em;*/
/*font-style: italic;*/
/*}*/

#full-article ul {
    list-style-position: inside;
    margin: 0.5em 0 1em;
}

#full-article ul.pager li {
    display: inline;
    margin-right: 2em;
}

#full-article .jrMediaThumb img {
    margin-right: 0.5em;
}

.jrAddListing {
	display:none;
}

.jrPagenavPages .jrButton {
	background-color: #fff;
	box-shadow: none;
	-webkit-box-shadow: none;
	border: none;
	background-image: none;
	font-size: 100%;
}

.jrPagenavPages a.jrButton:link, .jrPagenavPages a.jrButton:visited {
	color: #85B200 !important;
}

.jrPagenavPages a.jrButton:hover, .jrPagenavPages a.jrButton:active {
	color: #9FD500 !important;
}

.jrAdvSearchModule.jrForm .jrKeywords {
	height: 28px;
	border-radius: 0px;
}

.jrAdvSearchModule.jrForm .jrButton {
	background: none;
	border: 1px solid #ccc
}

.jrAdvSearchModule.jrForm .jrButton span {
	margin: 0px;
}

/* -------------------------
10. IZRAČUN INDEKSA TELESNE MASE
------------------------- */

#itm input {
	width: auto;
	display:inline;
}

#itm-result {
	padding: 0.5em 1em;
	margin-top: 1em;
}

.itm-result-blue {
    background-color: #DBF1FC;
	color: #555;
}

.itm-result-yellow {
	background-color: #FFC822;
    color: #555;
}

.itm-result-green {
    background-color: #85B200;
	color: #fff;
}

.itm-result-red {
    background-color: #D90000;
	color: #fff;
}

.hidden {
	display: none;
}

