body {
	margin: 0;
	padding: 0;
    background: #fff url(https://www.zdravljenadar.com/uploads/Mobility/slike/tekstura.jpg)  left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	color: #181B20;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-family: 'Arvo', serif;
	font-weight: normal;
	color: #067b82;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
    color: #333;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #067b82;
}

a:hover {
	text-decoration: underline;
}

img.border {
	border: 6px solid #EEE7DF;
}

img.alignleft {
	float: left;
	margin-right: 25px;
}

img.alignright {
	float: right;
}

img.aligncenter {
	margin: 0px auto;
}

#wrapper {
	margin: 0 auto;
	padding: 0;
}

/* Header */

#header-wrapper {
  	height: 130px;
    margin-top: 20px;
}

#header {
	width: 980px;
	height: 130px;
	margin: 0 auto;
    background: #fff;
    background: url(https://www.zdravljenadar.com/uploads/Mobility/slike/header-zdravlje-na-dar.jpg) no-repeat #fff;
}

/* Logo */

#logo {
	width: 980px;
	height: 100px;
	margin: 0px auto;
	padding: 70px 0px 0px 0px;
	color: #FFFFFF;
}

#logo h1, #logo p {
	display: block;
	margin: 0;
	padding: 0;
}

#logo h1 {
	margin: 0px;
	letter-spacing: -1px;
	text-align: center;
	text-transform: uppercase;
	font-size: 54px;
	font-weight: bold;
	color: #FFFFFF;
}

#logo h1 a {
	color: #FFFFFF;
}

#logo p {
	text-align: center;
	text-transform: uppercase;
	font-family: 'Arvo', serif;
	font-size: 20px;
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #FFFFFF;
}

/* Search */

#search {
	float: right;
	width: 280px;
	height: 100px;
	padding: 0;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 60px 0 0 30px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 195px;
	padding: 6px 10px;
	border: none;
	background: #FFFFFF;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #7F7F81;
}

#search-submit {
	display: none;
}

/* Menu */

#menu-bar {
  width: auto;
  height: 56px;
  background: url(https://www.zdravljenadar.com/uploads/Mobility/slike/menu-bar.jpg) repeat-x;
}

#menu {
	width: 940px;
	height: 56px;
	margin: 0px auto;
	padding: 0px 20px 0px 20px;
	background: #067b82;
    background: url(https://www.zdravljenadar.com/uploads/Mobility/slike/menu-bar.jpg) repeat-x;
}

#menu ul {
	margin: 0;
	padding: 0px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	float: left;
	height: 56px;
	margin: 0px;
	padding: 0px 30px 0px 30px;
	line-height: 56px;
	letter-spacing: -1px;
	text-decoration: none;
	text-transform: uppercase;
	font-family: 'Arvo', serif;
	font-size: 16px;
	font-weight: normal;
	color: #FFFFFF;
	border: none;
}

#menu .current_page_item a {
	background: #FFCB2E;
	color: #000000;
}

#menu a:hover {
	text-decoration: none;
	color: #feff9a;
}

/* Page */

#page {
	width: 980px;
	margin: 0 auto;
	padding: 0;
	background-color: #FFFFFF;
    border: solid 1px #66cbff;
    border-top: none;
}

#page-bgtop {
}

#page-bgbtm {
	margin: 0px;
	padding: 40px 30px 0px 30px;
}

/* Content */

#content {
	float: right;
	width: 600px;
	padding: 0px 0px 0px 0px;
}

.post {
	clear: both;
	padding-bottom: 10px;
}

.post .title {
	letter-spacing: -2px;
}

.post .title a {
	color: #FFB105;
	border: none;
}

.post .meta {
	padding-bottom: 10px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
}

.post .meta a {
}

.post .entry {
	text-align: justify;
	margin-bottom: 25px;
	padding: 10px 0px 0px 0px;
}

.links {
	display: block;
	width: 96px;
	padding: 2px 0px 2px 0px;
	background: #A53602;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	color: #FFFFFF;
}

/* Sidebar */

#sidebar {
	float: left;
	width: 240px;
	padding: 0px 0px 0px 0px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	padding-left: 30px;
	line-height: 35px;
	background: url(https://www.zdravljenadar.com/uploads/Mobility/slike/img01.gif) no-repeat left 5px;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar h2 {
	height: 38px;
	margin-bottom: 20px;
	padding: 12px 0 0 0px;
	border-bottom: 1px solid #B6BFD0;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-size: 16px;
	color: #09848b;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 20px 20px 20px;
	text-align: justify;
}

#sidebar a {
	border: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	width: 960px;
	height: 55px;
	margin: 0px auto 40px auto;
	border-top: 1px solid #B6BFD0;
	font-family: Arial, Helvetica, sans-serif;
}

#footer p {
	margin: 0;
	padding-top: 18px;
	line-height: normal;
	text-align: right;
	color: #404040;
    font-size: 11px;
}

#footer a {
	color: #404040;
}

/* ============================================
   RESPONSIVE / MOBILE STYLES
   ============================================ */


* {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

/* Tablet (max 1020px) — shrink the fixed 980px layout */
@media (max-width: 1020px) {
	#header,
	#logo,
	#menu,
	#page,
	#footer {
		width: 100%;
		box-sizing: border-box;
	}

	#menu {
		width: auto;
		padding: 0 10px;
	}

	#page {
		border-left: none;
		border-right: none;
	}

	#footer {
		width: auto;
		margin: 0 15px 40px;
	}
}

/* Mobile (max 768px) — single column, stacked layout */
@media (max-width: 768px) {
	body {
		font-size: 14px;
	}

	/* Header */
	#header-wrapper {
		height: auto;
		margin-top: 0;
	}

	#header {
		height: auto;
		min-height: 80px;
		background-size: cover;
		background-position: center top;
	}

	#logo {
		width: 100%;
		height: auto;
		padding: 20px 15px 15px;
		box-sizing: border-box;
	}

	#logo h1 {
		font-size: 28px;
		letter-spacing: 0;
	}

	#logo p {
		font-size: 14px;
	}

	/* Search — hide or move below header on mobile */
	#search {
		float: none;
		width: 100%;
		height: auto;
		padding: 0 15px 10px;
		box-sizing: border-box;
	}

	#search form {
		padding: 0;
		height: auto;
	}

	#search-text {
		width: calc(100% - 22px);
		font-size: 14px;
	}

	/* Menu — horizontal scroll on mobile */
	#menu-bar {
		height: auto;
	}

	#menu {
		width: 100%;
		height: auto;
		padding: 0;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		display: flex;
		box-sizing: border-box;
	}

	#menu ul {
		display: flex;
		flex-wrap: nowrap;
	}

	#menu li {
		float: none;
		flex-shrink: 0;
	}

	#menu a {
		float: none;
		height: 48px;
		line-height: 48px;
		padding: 0 16px;
		font-size: 13px;
		letter-spacing: 0;
	}

	/* Page layout — single column */
	#page {
		width: 100%;
		border: none;
	}

	#page-bgbtm {
		padding: 20px 15px 0;
	}

	/* Content — full width, no float */
	#content {
		display: block !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 0;
	}

	/* Sidebar — full width below content */
	#sidebar {
		display: block !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding: 0;
		margin-top: 30px;
		border-top: 1px solid #B6BFD0;
		padding-top: 20px;
	}

	#page-bgbtm {
		overflow: hidden;
	}

	#content img {
		max-width: 100% !important;
		height: auto !important;
	}

	#sidebar p {
		padding: 0 0 20px 0;
	}

	/* Images — responsive */
	img.alignleft,
	img.alignright {
		float: none;
		display: block;
		margin: 0 auto 15px;
		max-width: 100%;
		height: auto;
	}

	img.aligncenter,
	img.border {
		max-width: 100%;
		height: auto;
	}

	/* Post headings */
	h1 { font-size: 1.5em; }
	h2 { font-size: 1.4em; }
	h3 { font-size: 1.2em; }

	.post .title {
		letter-spacing: -1px;
	}

	/* Footer */
	#footer {
		width: auto;
		height: auto;
		margin: 20px 15px 30px;
	}

	#footer p {
		text-align: center;
		padding: 15px 0;
		font-size: 12px;
	}
}

/* Small phones (max 480px) */
@media (max-width: 480px) {
	#logo h1 {
		font-size: 22px;
	}

	#menu a {
		padding: 0 12px;
		font-size: 12px;
	}

	.post .entry {
		text-align: left; /* justify looks poor on very narrow screens */
	}

	#sidebar p {
		text-align: left;
	}

	#calendar_wrap {
		padding: 10px;
	}
}





/* ============================================
   MOBILE FIX - ubaciti kao poslednji <link> u <head>
   ILI kao <style> tag na kraju <head>
   ============================================ */

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    #wrapper,
    #page,
    #header,
    #header-wrapper,
    #menu-bar,
    #menu,
    #page-bgtop,
    #page-bgbtm,
    #footer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    #header-wrapper {
        margin-top: 0 !important;
        height: auto !important;
    }

    #header {
        height: 70px !important;
        background-size: contain !important;
        background-position: left center !important;
        background-repeat: no-repeat !important;
    }

    #menu-bar {
        height: auto !important;
    }

    #menu {
        height: auto !important;
        padding: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
    }

    #menu ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
    }

    #menu li {
        float: none !important;
        flex-shrink: 0 !important;
    }

    #menu a {
        float: none !important;
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
        letter-spacing: 0 !important;
    }

    #page-bgbtm {
        padding: 15px !important;
        display: block !important;
        overflow: hidden !important;
    }

    #content {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #sidebar {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin-top: 25px !important;
        border-top: 1px solid #B6BFD0 !important;
        padding-top: 15px !important;
        box-sizing: border-box !important;
    }

    #content img,
    #sidebar img,
    .post img,
    .entry img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .post .entry {
        text-align: left !important;
    }

    #footer {
        width: auto !important;
        height: auto !important;
        margin: 15px !important;
    }

    #footer p {
        text-align: center !important;
        font-size: 12px !important;
    }

    h1 { font-size: 1.4em !important; }
    h2 { font-size: 1.3em !important; }
    h3 { font-size: 1.1em !important; }

    img.alignleft,
    img.alignright {
        float: none !important;
        display: block !important;
        margin: 0 auto 15px !important;
        max-width: 100% !important;
    }
}


