/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
/* Imported fonts */

@font-face {
	font-family: 'HelveticaNeueLTPro-Lt';
	src: url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Lt.eot?') format('eot'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Lt.otf')  format('opentype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Lt.woff') format('woff'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Lt.ttf')  format('truetype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Lt.svg#HelveticaNeueLTPro-Lt') format('svg');
} 

@font-face {
	font-family: 'HelveticaNeueLTPro-Th';
	src: url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Th.eot?') format('eot'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Th.otf')  format('opentype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Th.woff') format('woff'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Th.ttf')  format('truetype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Th.svg#HelveticaNeueLTPro-Th') format('svg');
} 

@font-face {
	font-family: 'HelveticaNeueLTPro-Bd';
	src: url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Bd.eot?') format('eot'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Bd.otf')  format('opentype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Bd.woff') format('woff'), 
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Bd.ttf')  format('truetype'),
	     url('/wp-content/themes/mirocerar/css/HelveticaNeueLTPro-Bd.svg#HelveticaNeueLTPro-Bd') format('svg');
}   

/* Overall definitions */
img {
	max-width: 100%;
	height: auto;
}
.clear {
	clear: both;
}
.row {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
body {
	font-size: 14px;
	line-height: 140%;
	color: #333;
	font-weight: 300;
}
a {
	color: #000099;
	text-decoration: none;
}
a:hover {
	color: #000099;
	text-decoration: underline;
}
.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 5px;
}
.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
}
.aligncenter {
	margin-left: auto;
	margin-right: auto;
	float: none;
}
ul {
    list-style-position: outside;
    list-style-type: square;
	margin-left: 8px;
	padding-left: 8px;
}

/* Main elements */
.container {
	position: relative;
}
#header {
	background-image:url(../img/menubg.jpg);
	background-repeat: repeat-x;
	background-position: center bottom;
	min-height: 124px;
	width: 100%;
}

/* Menu */
#menu-glavni-menu {
	margin-top: 40px;
	font-size: 16px;
	font-family: 'HelveticaNeueLTPro-Bd';
}
#menu-glavni-menu a {
	color: #000;
	text-transform: uppercase;
}
#menu-glavni-menu a:hover, #menu-glavni-menu li.current-menu-item a, #menu-glavni-menu li.current-menu-ancestor > a {
    border-bottom: 3px solid #000099;
    color: #000099;	
	text-decoration: none;	
}
#menu-glavni-menu .sub-menu .current-menu-item a {
	border-bottom: 0px solid #000099;
    color: #FFF;	
	text-decoration: none;
}
#menu-glavni-menu .sub-menu a:hover {
    border-bottom: none;
    color: #FFF;	
	text-decoration: underline;	
}
ul.dropdown + li + a {
    cursor: pointer;
	margin-left: 5px;
	margin-right: 5px;
	padding-left: 0px !important;
	padding-right: 0px !important;
}
#menu-glavni-menu .sub-menu a {
	color: #fff;
	background-color: rgba(0, 0, 153, 0.91);
	display: block;
	text-transform: none;	
}
#menu-glavni-menu li .sub-menu a {
	padding: 12px;
	padding-left: 20px;
	padding-right: 15px;
	font-family: 'HelveticaNeueLTPro-Lt';		
}
#menu-glavni-menu li .sub-menu {
	margin-top: 7px;
}
body #wprmenu_menu.wprmenu_levels a.wprmenu_parent_item  {
	border-left: none;
	margin-left: 24px;
}

#menu-glavni-menu.dropdown li.parent > a:after {
	display: none;
}
.shailan-dropdown-menu .dropdown-horizontal-container table {
	float: right;
}
#menu-glavni-menu.dropdown li a {
    cursor: pointer;
    padding: 0px;
}
#menu-glavni-menu.dropdown .sub-menu li a {
    cursor: pointer;
    padding: 10px;
}
#menu-glavni-menu.dropdown li  {
    cursor: pointer;
    margin: 8px;
	margin-right: 6px;
	border-right: 1px solid #999;
	padding-right: 12px;
	padding-top: 4px;
	padding-bottom: 4px;
}
#menu-glavni-menu.dropdown li:last-child  {
	border-right: none;
	margin-right: 0px;
}
#menu-glavni-menu.dropdown .sub-menu li  {
	margin: 0px;
	border-right: none;
	padding-right: 0px;	
	padding-top: 0px;
	padding-bottom: 0px;	
}


/* Events */
.datediv {
	text-align: center;
	color: #000099;
	float: left;
	font-size: 18px;
	font-family: 'HelveticaNeueLTPro-Lt';	
	
}
.datediv span {
	display: block;
	padding: 3px;
	text-align: center;
	font-weight: 400;
	font-size: 17px;	
}
.titlediv {
	border-left: 1px solid #ccc;
}
.event {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #eee;
}
.event:last-child {
	border-bottom: none;
	margin-bottom: 0px;
}
.vsidogodki {
	margin-top: 30px;
}
.vsidogodki .titlediv {
	min-height: 50px;
}

/* Content */
#main {
	min-height: 300px;
	margin-top: 30px;
}
.home #main {
	margin-top: 0px;
}

/* Frontpage news */

#fp_news .intro {
	border-bottom: 1px dotted #333;
	margin-bottom: 10px;	
	padding-bottom: 30px;
}

h1 {
	 	font-family: 'HelveticaNeueLTPro-Th';
		font-weight: 300;
}
h2 {
	 	font-family: 'HelveticaNeueLTPro-Lt';
		font-weight: 300;
}
h1 {
	color: #000099;
	font-size: 48px;
	font-weight: 300;
	border-bottom: 1px dotted #333;
	padding-bottom: 10px;	
}

h2 {
	font-weight: 300;
	font-size: 30px;
	color: #000099;
}
h1 a:hover, h2 a:hover {
	text-decoration: none;
}
#fp_news .fp_news_wrapper article:last-child .intro {
	border-bottom: none;
}
.arhiv {
	background-color: #ededed;
	border-top: 1px dotted #333;
	text-align: center;
	padding: 20px;
	margin-bottom: 30px;
}
.arhiv a {
	display: block;
	padding: 10px;
}
time {
	color: #999;
	font-size: 13px;
	padding-bottom: 7px;
}
article h2 {
	margin-bottom: 5px;
}

/* Frontpage top news */
.grayarea {
	background-color: #ededed;
	padding: 40px;
}
.grayarea h2 {
	margin-top: 0px;
	padding-top: 0px;
}
.grayarea p:first-child {
	margin: 0px;
	padding: 0px;
	line-height: 0px;
}

/* Tags */
.tags {
	margin-top: 20px;
	color: #666;
}
.tags a {
	display: inline-block;
	background-color: #eee;
	color: #666;
	padding: 2px;
	margin-left: 5px;
	font-size: 12px;
	text-decoration: none;
}

/* Aside */
.sociallinks {
	text-align: center;
	margin-bottom: 30px;
}

aside .menu-aside, aside .menu-aside li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;	
}
aside .menu-aside {
	margin-bottom: 30px;
}
.menu-aside li a {
	 	font-family: 'HelveticaNeueLTPro-Bd';
		font-size: 16px;
		background-color: #000099;
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
		padding: 10px;
		display: block;
		color: #fff;		
		text-transform: uppercase;
}
.menu-aside li:first-child a {
		background-color: #da1b21;	
}
.napovednik {
	margin-bottom: 30px;
	border: 2px solid #000099;
}
#napovednik-title {
	 	font-family: 'HelveticaNeueLTPro-Bd';
		font-size: 16px;
		background-color: #000099;
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
		padding: 10px;
		display: block;
		color: #fff;		
		text-transform: uppercase;
}
.twitterfeed {
	margin-bottom: 30px;
	border: 2px solid #000099;
}
.wdtf-user-card {
	display: none;
}
body .fetched_tweets li {
    -moz-hyphens: auto;
    word-break: keep-all !important;
}

aside li, aside ul {
	list-style-type: none;
}
aside h2 {
	display: none;
}
ul.light li.tweets_avatar:nth-child(even) {
    background: none repeat scroll 0 0 #eee;
    color: #000 !important;
}

/* Category */
.intro {
	min-height: 200px;
}

/* Twitter */
aside div.wdtf-user-card {
	width: 45px !important;
	float:left !important;
}
aside .tweet_wrap {
	font-size: 13px;
	line-height: 120%;
}
aside .tweet_wrap .twittxt {
	margin-left: 55px;
	padding-bottom: 10px;
}
aside li.tweets_avatar {
	border-radius: 0px !important;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.fetched_tweets > li {
  box-shadow: none !important;
  font-family: inherit;
  border-bottom: 1px solid #ccc;
  margin-left: 5px;
  margin-right: 5px;
}
.fetched_tweets > li:last-child {
  border-bottom: none;
}
aside .fetched_tweets {
	border: 2px solid #000099;
	}
aside .tweets_avatar {
    margin-bottom: 0px;
}	
/* content */
.page article h1, .single article h1 {
	font-size: 30px;	
}
.page article h2 {
	border-bottom: 1px dotted #333;
	padding-bottom: 10px;		
}
.frontthumb {
	padding-top: 27px;
}
.single .tags {
	margin-bottom: 30px;
}
.single .socialnetworks {
	margin-top: 30px;
	margin-bottom: 10px;
}

/* Footer */
#footer_wrapper {
	background: none repeat scroll 0 0 #ededed;
	border-top: 1px solid #afafaf;	
	padding-top: 30px;
	padding-bottom: 30px;
	font-size: 13px;
	line-height: 140%;
	margin-top: 30px;
}
footer ul, footer li {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
#footer_wrapper h2 {
	font-size: 22px;
	 	font-family: 'HelveticaNeueLTPro-Bd';
	margin-top: 0px;		
}
#footerlogo {
	margin-bottom: 30px;
}
footer .menu  li {
	font-weight: bold;
	text-transform:uppercase;
	margin-bottom: 30px;
}
footer .menu li ul li {
	font-weight: normal;
	text-transform: none;
	margin-bottom: 3px;
}
footer .menu li a {
	background: none;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0px;
}
footer .menu li ul li a {
	background: url("../img/arrow.png") no-repeat scroll left center rgba(0, 0, 0, 0);
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 13px;
}

footer a {
	color: #333;
}
footer #mailto {
	margin-bottom: 30px;
}
.twitterfollow {
	margin-left: 10px;
	display: inline-block;
	position: relative;
	top: 4px;
}
.follow {
	text-align: right;
}
.socialnetworks .twitter-share-button {
	position: relative;
	top: 4px;
}

/* Pagination */
.nav-previous a, .nav-next a {
	padding: 10px;
	color: #fff;
	background-color: #000099;
	display: block;
	margin-top: 10px;
	margin-bottom: 20px;
}

/* Tables */

#content table, #content table td  {
	border-color: rgba(0,0,153,1);
	color: rgba(0,0,153,1);
}
#content table td {
	padding: 3px;
}
#content table tr:first-child td {
	background-color: rgba(0,0,153,1);	
	color: #fff;
	font-size: 15px;
}


/* Media queries */
@media(max-width:767px){
	#menu-glavni-menu {
		display: none;
		}
		.grayarea .alignright {
			float: none;
			clear: both;
		}
		.grayarea h2 {
			clear: both;
		}
	}
@media(min-width:768px){
.category #content article .attachment-homepage-thumb, .single #content article .attachment-homepage-thumb, .tag #content article .attachment-homepage-thumb {
	max-width: 100%;
	height: auto;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
}	
	}
@media(max-width:1200px){
		body .sociallinks img {
			max-width: 48px;
			height: auto;
		}	
	}
@media(min-width:1200px){}

/* Search box */
.search-box {
	margin-bottom: 30px;
}
.search-box .button {
	height: 30px;
	color: #fff;
	background-color: #000099;
	border: none;
	width: 25%;
	float: right;
}
.search-box input[type="text"] {
	float: left;
	height: 30px;
	line-height: 20px;
	border: 1px solid #333;
	width: 70%;
}
.searchresult {
	border-bottom: 1px dotted #333;
	margin-bottom: 10px;	
	padding-bottom: 30px;	
}
#pagination {
	width: 100%;
	text-align: center;
}
#pagination a {
	margin-left: 10px;
	margin-right: 10px;
}
body .tweet_data {
    float: left;
    font: 16px/20px "HelveticaNeueLTPro-Th",sans-serif !important;
}

/* Quote */
blockquote {
	border-left: 0px solid #eee;
	font-size: 16px;
	margin-top: 20px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 40px;
	padding-right: 100px;
	padding-bottom: 40px;
	padding-left: 100px;
	background-color: #EDEDED;
	background-image: url(../img/quote.png);
	background-position: left top;
	background-repeat: no-repeat;
	color: #4e4e4e;
	font-style: italic;
}


/* Alde */
#alde {
	display: block;
	float: right;
	width: 85px;
	height: 72px;
	background-image:url(../img/alde.png);
	background-position: center top;
	margin-top: 10px;	
}
#alde:hover {
	display: inline-block;
	width: 85px;
	height: 72px;
	background-image:url(../img/alde.png);
	background-position: center bottom;

}

/* Slideshow */
#customslider {
	margin-bottom: 0px;
}
.cycle-slide {
	width: 100%;
}
.cycle-slide img {
	width: 100%;
	height: auto;
}
.container-fluid.homepage {
	padding-top: 0px;
	margin-top: 0px;
}
#main.homepage, #main.homepage #content {
	margin-top: -50px;
	padding-top: 0px;
}
#prev, #next {
	margin-top: 50px;
}
#next {
	text-align:right;
}
#prev:hover, #next:hover {
	cursor: pointer;
}
.cycle-slideshow img.cycle-slide {
	width: 100%;
	height: auto;
}
#slidecaption {
	padding-top: 18px;
	padding-bottom: 5px;
	line-height: 125%;
	min-height: 140px;
}
#slidecaption a, #slidecaption p {
	display: inline;
	margin: 0px;
	padding: 0px;
}
#slidecaption a {
	text-decoration: underline;
}
#slideshowinfo {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	font-family: HelveticaNeueLTPro-Lt, sans-serif;
	font-size: 17px;
	min-height: 150px;
}
#slideshowinfowrap {
	position: relative;
	top: -40px;
	background-image: url(../img/slider-ozadje.png);
	background-repeat: no-repeat;
	background-position: center top;	
	max-width: 1014px;
	height: 167px;
	z-index: 10000;
	margin-left: auto;
	margin-right: auto;
}
.cycle-pager {
	clear: both;
	position: absolute;
	bottom: 20px;
	text-align: center;
	max-width: 940px;
	width: 100%;
}
.cycle-pager a {
	width: 11px;
	height: 11px;
	margin-right: 5px;
	background-image:url(../img/slider-empty.png);
	background-repeat: no-repeat;
	background-position: center center;
	display: inline-block;
	overflow: hidden;
	color: transparent;
	text-indent: -1000px;	
}
.cycle-pager a.cycle-pager-active {
	width: 11px;
	height: 11px;
	margin-right: 5px;
	background-image:url(../img/slider-active.png);
	background-repeat: no-repeat;
	background-position: center center;
	display: inline-block;
	overflow: hidden;
	color: transparent;
	text-indent: -1000px;
}
@media(max-width:968px){
#slideshowinfo {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	font-family: HelveticaNeueLTPro-Lt, sans-serif;
	font-size: 18px;
	min-height: 150px;
	padding-bottom: 30px;
}
#slideshowinfowrap {
	position: inherit;
	background-image: none;
	background-color: #efefef;
	height: auto;
}
#customslider {
	padding-bottom: 90px;
}
#main {
	clear: both;
}
.cycle-pager {
	display: none;
}
}
@media(min-width:1170px){
#slideshowinfo {
	max-width: 1160px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	font-family: HelveticaNeueLTPro-Lt, sans-serif;
	font-size: 17px;
	min-height: 150px;
}
#slideshowinfowrap {
	position: relative;
	top: -40px;
	background-image: url(../img/slider-ozadje-xl.png);
	background-repeat: no-repeat;
	background-position: center top;	
	max-width: 1180px;
	height: 167px;
	z-index: 10000;
	margin-left: auto;
	margin-right: auto;
}
.cycle-pager {
	clear: both;
	position: absolute;
	bottom: 20px;
	text-align: center;
	max-width: 1170px;
	width: 100%;
}	
}