/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4; 
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: 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
   ========================================================================== */
body {
  
  background-image: url("../img/bg.jpg");
background-repeat: no-repeat;
background-color: #d19540;
text-align:center;
padding: 0px;
margin: 0px;
font-family:  "Lora", "Palatino Linotype", 'Georgia', 'Lucida Sans Unicode','Lucida Sans','Lucida Grande',Arial,sans-serif; 
}

header {
text-align: left;
}

h1 {
margin-left: auto;
margin-right: auto;
padding-left: 0px;
margin-top:0px;
font-size: 51px;
color: rgba(256,256,256	,1); 
-o-text-overflow: clip;
text-overflow: clip;
text-shadow: 1px 1px 2px rgba(0,0,0,0.9) ;
font-weight: normal;
}
h1 strong { 
text-transform: uppercase;
}
h2 {
color: #9f9e9e;
font-size: 14px;
margin-top: -40px;
margin-left: 200px;
font-weight: normal;
}
/*h3 { 
color: #9f9e9e;
font-family: "Georgia", sans-serif;
font-size: 14px;
margin-top: -40px;
margin-left: 200px;
font-weight: normal;
}*/
h3.menu {
margin-left: auto;
padding-left:20px;
margin-right: auto;
margin-top: 20px;
padding-bottom: 10px;
font-size: 20px;
color: #262626;
-o-text-overflow: clip; 
text-overflow: clip;
font-weight: normal; 
}
#mainbar h2 {
	text-align: left; 
}
.html h3 {
	margin-top: -20px;
}


div.container {
  -webkit-box-shadow: 2px 3px 26px 7px rgba(0,0,0,0.52);
-moz-box-shadow: 2px 3px 26px 7px rgba(0,0,0,0.52);
box-shadow: 2px 3px 26px 7px rgba(0,0,0,0.52);
  width: 1085px;
min-width:900px;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
margin-bottom: 20px;
padding-top: 0px;
padding-bottom:100px;
}
div.sidebar {
width: 270px;
float: left;
padding-bottom: 30px;
}
div.mainbar {
margin-left:300px;
padding-top: 30px;
padding-right:30px;
text-align:left;
min-height:800px;
font-size:14px;

}
img.sponzori { 
margin-top: 5px;
margin-right: 50px;
float:right; 
}   
img.logo {
margin-top: 0px;

 -webkit-transition: -webkit-transform .4s ease-in-out;
    -ms-transition: -ms-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;

	}
img.logo:hover {
  transform:scale(1.05);
    -ms-transform:scale(1.05);
    -webkit-transform:scale(1.05);
    -webkit-transform:scale(1.05);
}
.topNavigation{
   margin-left: auto;
   margin-right: auto;
   margin-top:-15px;
	
   width:100%;
   text-align: center;
   display: inline-block;  

   }
div.sidebar nav {
margin-left: 25px;
}
.footerKlic{
clear:both;
margin-left: auto;
margin-right: auto;
margin-top:-200px;
background-image: url("../img/klic.png");
background-repeat: no-repeat;
background-position: 50% 50%;
width: 100%;
height: 280px;
padding-top:160px;

}
.footerSponzori{
clear:both;
margin-left: auto;
margin-right: auto;
margin-top: -10px;
padding-bottom: 70px;
background-image: url("../img/sponzorifooter.jpg");
background-repeat: no-repeat;
background-position: 50% 50%;
width: 100%;
height: 90px;

}
footer.endfooter {
clear: both;
background-color: #000;
padding: 0px;
width:100%;
height:50px;
}
.topNavigation a{ 
display: inline-block;

margin-left:0px;
margin-right:0px;
margin-bottom:0px;
margin-top: 0px;
padding: 9px;
padding-top: 15px;
	padding-bottom: 15px;
font-size:15px;
color: rgba(255,255,255,1);
-o-text-overflow: clip;
text-overflow: clip;
text-shadow: 1px 1px 2px trgba(0,0,0,0.9) ;
font-weight: normal;
text-decoration: none;
text-transform:uppercase;
width: 252px;
}
/*.topNavigation a.a1:hover{
border-top:solid 10px #354594;
}
.topNavigation a.a2:hover{
border-top:solid 10px #ff5947;
}
.topNavigation a.a3:hover{
border-top:solid 10px #00aa4f;
}
.topNavigation a.a4:hover{
border-top:solid 10px #d39900;
}*/
.topNavigation a:hover{
text-shadow: 3px 3px 3px rgba(208,190,148,0.9) ;
}
.topNavigation a.a1 {
background-color: #354594;
padding-left:14px;
border-top: 5px solid #354594;
}
.topNavigation a.a1:hover {
border-top: 5px solid #000000; 
}
.topNavigation a.a2:hover {
border-top: 5px solid #000000; 
}
.topNavigation a.a3:hover {
border-top: 5px solid #000000; 
}
.topNavigation a.a4:hover {
border-top: 5px solid #000000; 
}
.topNavigation a.a2 {
background-color: #ff5947;
border-top: 5px solid #ff5947;
}
.topNavigation a.a3 {
background-color: #00aa4f;
border-top: 5px solid #00aa4f;
}
.topNavigation a.a4 {
background-color: #d39900;
border-top: 5px solid #d39900;
} 
div.sidebar nav {
margin-bottom: 30px;
}

	#main-menu {
		position:relative;
		z-index:9999;
		width:15em;
		margin-left: 3px;
		margin-top: 30px;
	}
	#main-menu ul {
		width:12em; /* fixed width only please - you can use the "subMenusMinWidth"/"subMenusMaxWidth" script options to override this if you like */
	} 
.mainbar h3 {
text-align: left;
font-size:24px;
color: rgba(0,0,0,1);
padding-bottom: 15px; 
}
.mainbar h4{
text-align: left;
font-size:20px;
color: rgba(0,0,0,1);
padding-bottom:
}

article {
font-size:15px;
color: rgba(0,0,0,1);
font-weight: normal;
margin-top: 15px;
}
article a {
 color: #000000;
 text-decoration: none;
}
.news article {
 padding: 10px;
}
.news article:hover {
 background-color: #F5F5F5;      
}

article header {
 color: #282828; 
 padding-bottom: 5px;
}

article footer {
text-align:right;
}
article footer a{
color: #303d8a;
}
article footer a:hover{
color: rgba(186,87,33,1);
text-decoration: none;
}

.news {
margin-top: -35px;
}
.news article h3 {
margin: 0px;
font-size:18px;
color: rgba(0,0,0,1);
-o-text-overflow: clip;
text-overflow: clip;
text-shadow: 1px 1px 1px rgba(0,0,0,0.05); 
font-weight: normal;
padding-bottom: 0px;
}
.news article h4 {
 font-size: 16px;
}
.news article h5 {
 font-size: 18px;
}
.events {
width: 220px;
background-color: #fde8ca;
margin-left: 20px;
margin-bottom: 20px;
padding: 10px;
padding-top:50px; 
 /* -webkit-box-shadow: 2px 3px 10px 2px rgba(0,0,0,0.32);
-moz-box-shadow: 2px 3px 10px 2px rgba(0,0,0,0.32);
box-shadow: 2px 3px 10px 2px rgba(0,0,0,0.32);*/
text-align: center; 
float:right;
} 
.events h2 {
font-size: 28px;
text-transform: uppercase;
margin-left: 0px;
color: #d19540;
padding: 0px;
margin-top: -27px;
}
.clear {
clear:both;
visibility: hidden;
}
.events article { 
border-top: 1px solid #ffffff;
text-align: center;
}
.events article header {
text-align: center;
padding-bottom: 10px;
}
.events article h3 {
text-align: center;
padding-top: 10px; 
margin: 0px;
font-size:18px;
line-height:19px;
font-weight: normal;
color: rgba(0,0,0,1);
} 

#jstree { 
padding: 30px;
}
#dialog-message-success, #dialog-message-error, #dialog-deleteImage-success , #dialog-deleteImage-error, #dialog-imageUpload-success , #dialog-imageUpload-error  {
	display: none;
} 

#refreshButton { 
	display: none;
} 

#uploader {
	margin-top: 10px;
	margin-bottom: 10px;
}
.inputname {
	width:300px;
	margin-left: 10px;
	margin-top: 3px;
}
.inputdate {
	width:150px;
	margin-left: 6px;
	margin-top: 3px;
}
.eventImage {
	max-height: 100px;
}  
.allEventsImage {
	max-height: 100px;
	margin: 10px;
	
}  

.eventThumbnail {
	height: 50px;
}
.html {
font-size: 15px;
}
.html p{
	line-height:1.4;
}
.html table, table.standardTable {
	margin:20px;
	background-color: #c1cfee;
	
}

.html table td, .html table th, table.standardTable td, table.standardTable th{
	padding: 10px;
}
.html table td, table.standardTable td{
	border: 1px solid white;
}
.html table th, table.standardTable th { 
	text-align: center;
	background-color: #243f7a;
	border-bottom: 1px solid black;
	color: white; 
	text-shadow: none;
	font-weight: normal;
}
.html table a {
 color: black;
}

.eventImageEdit {
	max-height: 400px;
	max-width: 400px;
	margin-bottom: 10px;
}
#changeImage {
	margin: 10px;
}
.eventImageContainer {
margin-top:10px;
background-color: #c1cfee;
width: 430px;
padding: 10px;
text-align: center;
margin-bottom: 10px;
}
.eventImageContainer h4 {
text-align: center; 
margin-top: 0px;
margin-bottom: 0px;
padding: 5px;
background-color: #f2c689;
} 

.button {
	margin: 10px;
}

.allevents h3 {
margin: 0px;
padding-top: 10px;
font-size:16px;
color: rgba(0,0,0,1);
}
.allevents article {
border-top: 1px solid #ffffff;
}
.allevents article header { 
text-align: center;
padding-bottom: 10px;
}
.important {
background: #eaeff9;
width: 465px;
padding-left: 10px;
padding-bottom: 10px;
padding-right: 10px;
margin-top: 17px;
  
}
.important h3 {
margin: 0px;
padding-top: 20px;
margin-bottom: -40px;
font-size:20px;
color: rgba(0,0,0,1);
text-align: center;
text-transform: uppercase;
color: #4662a0;
font-weight: normal;
}
.important article h3 {
text-align: left; 
text-transform: none;
}
.important article {
	margin-top: -15px;
	padding: 10px;
	border-bottom: 1px solid white;
}
.important article:last-of-type {
	border-bottom: none;
}
.buttonimportant {
	margin-left: 80px;
	margin-top: 10px;
	
}
.buttonzoom {
	margin-left: 30px;
	margin-top: 10px;
}
#editordiv{
margin-top: 20px;
margin-bottom: 20px; 
}

.html h4 {
 font-weight: normal;
 font-size: 20px;
}
.html h5 {
 font-weight: normal;
 font-size: 18px;
}
.singleArticle h4 {
 font-weight: normal;
 font-size: 20px;
}
.singleArticle h5 {
 font-weight: normal;
 font-size: 18px;
}
.singleArticle article header {
	color: #A8A4A2; 
	margin-top: -20px; 
	font-weight: normal;
}
.singleArticle a{
	color: #0782C1; 
	text-decoration: underline;
}
.singleArticle a:hover{
	color: #9E3408;
	text-decoration: none;
}

.html a{
	color: #0782C1;
	text-decoration: underline;
}
.html a:hover{
	color: #9E3408;
	text-decoration: none;
} 

.news article li, html li {
	padding-bottom: 5px;
}  
.buttonall {
	margin-top: 10px;
	margin-left: 220px;
	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
.button {

	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
.buttonzoom {
	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
 .buttonimportant {
	margin-left: 110px;
	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
.buttonevents {
	margin-top: 10px;
	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
.back {
	font: normal 14px/1  "Palatino Linotype", "Georgia", "Book Antiqua", Palatino, serif !important;
}
.onTop{
	z-index: 1000;
	position: relative;
}
.downSection li {
	display: inline;
	padding: 10px;
	margin:1px;
	background-color: #c1cfee;
line-height: 20px;	
display: inline-block; 

}
.downSection li:hover {
background-color: #d19540;
} 

ul.downSection { 
	margin-right: 120px;
	margin-bottom: 50px;
	text-align:center; 
	
}
.downSection li a {
	text-decoration: none;
	font-size:16px;
	color: black;
}
#ajax-loader {
  margin-top:-130px;
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(54, 25, 25, .5);
  z-index: 10000;
  display: none;
}
#ajax-loader img {
    margin-top: 150px; 
}
.latestNews {
 background-color: #FAEFDE;
 padding-left: 10px;
 padding-right: 10px;
 padding-top: 2px;
 padding-bottom: 10px;
 margin-bottom: 50px;
   -webkit-box-shadow: 1px 2px 8px 1px rgba(0,0,0,0.12);
-moz-box-shadow: 1px 2px 8px 1px rgba(0,0,0,0.12);
box-shadow: 1px 2px 8px 1px rgba(0,0,0,0.12); 
text-decoration: none !important;
}
.latestNews a {
text-decoration: none !important;
color: black !important;
}
.latestNews h3 {
 margin-left: 250px;
 color: #d19540;
 text-transform: uppercase;
 font-size: 16px;
 padding-bottom: 0px;
 margin-top:5px;
 text-decoration: none !important;
 
}
.latestNews article h3 {

 text-transform: none;
 font-size: 16px;
 text-decoration: none !important;
 
 }
.latestNews div.news {
	margin-top: -10px;
}
.latestNews header {
	font-size: 12px;
	display: none;
	text-decoration: none !important;
}
.latestNews article {
border-top: 1px solid white;
color: black !important;
font-size: 13px;
padding-bottom:0px;
margin-bottom: -5px;
text-decoration: none !important; 
}
.allEvents {
 margin-top: 30px;
}

.eventDiv {
 border-bottom: 1px solid rgb(245,245,245);
 height: 120px;
 width: 700px; 
}
.eventDiv:hover {
 background-color: rgb(245,245,245) !important;
}

a.noUnderline {
 text-decoration: none;
}
.eventDiv img {
float: left;
}
.eventDiv article{ 
 

}
.eventDiv:hover {
background-color: #ebebeb;
}







/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   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;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3; 
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}