
@import "header-footer.css";
@import "forms.css";

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700);


body { /*min-width: 480px;*/ color: #202020; font-size: 16px; line-height: 170%; font-family: 'Open Sans', Georgia, Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif; }
h1, h2, h2 a, h3, h3 a { color: #812738; font-weight: 700; }
a { color: #812738; }
a:hover, a:focus { color: #C35468; text-decoration: none; }

.inner-content ul { list-style: disc outside none; }
.inner-content ul li { padding-left: 10px; }
/*.inner-content li:before { content: "\2013\00a0\00a0"; font-weight: bold; }*/

.pagination { list-style: none; text-align: center; }
.pagination ul li { display: inline-block; padding-left: 0; }
.pagination li { padding-left: 0; }
.pagination li:before { content: none; }

li.span3:before { content: none; }

.gray { color: #7f7f7f; }

.wrapper { padding: 10px 30px; }
.wrapper.no-top { padding-top: 0; }
.wrapper.no-bottom { padding-bottom: 0; }
.wrapper-small { padding: 10px; }

.clear { clear: both; }
.inline-block { display: inline-block !important; }

.grayscale {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+ */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */
}

.grayscale:hover {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
}

:target:before { content:""; display:block; height:60px; margin:-60px 0 0; }

h2.carousel_controls, .section_title { color: #7f7f7f; text-transform: uppercase; display: block; border-bottom: 4px solid; position: relative; margin: 0 0 10px 0; padding-top: 5px;}
h2.carousel_controls a.link { color: #7f7f7f; }
h2.carousel_controls a.link:hover { color: #C35468; }
.section_title  { font-weight: 700; font-size: 31.5px;  text-rendering: optimizelegibility; line-height: 40px; }
h3.padding_bottom { margin-top: 0; color: #812738;}
.no-margin { margin: 0;}

.main_container {
    height: auto !important;
    min-height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
    background-color: #fff;
}

.background {
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

@media (min-width: 1200px) {
    .main_container, .background {min-width: 1170px;}
}

@media (min-width: 768px) and (max-width: 979px) {
    .main_container, .background {min-width: 760px;}
}

@media (max-width: 767px) {
    .main_container, .background {min-width: 100%}
    .content.linkovi {display: none;}
}

#background .container img.bg-image { min-width: 100%; }

.content-category ul {
    display: block;
    margin:0;
}

.content-category ul li {
    display: block;
    margin: 10px 0;
    padding:0 0 0 6px;
    height:48px;
    border: solid 1px #ccc;
    background-color: #ededed;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    vertical-align: middle;
}
.content-category ul li a { display:block; margin: auto 0; vertical-align: middle; line-height: 48px; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }

.content { background: #fff; margin-top: 7px; }
.content.no-back { background: none; }
.content.painted { background-color: #ededed; }
.content.padding { padding: 0 30px; }
.content.transparent { background: transparent; }
.content.dark, .dark-back { background: #CCC; }
.painted-background { background-color: #ededed; }

.content-composite { display: table; }
.content-left { display: table-cell; float: none; vertical-align: top; padding: 0; margin-right: 0; position: relative; left: -3px; box-shadow: 2px 0 6px 0 rgba(204, 204, 204, 1); }
.content-middle { float: none !important; margin-left: auto !important; margin-right: auto !important; }
.content-right {
    float: none;
    display: table-cell;
    vertical-align: top;
    padding-top: 40px;
    margin-left: 0;

    background: #ededed;
    box-shadow: -2px 0 6px 0 rgba(204, 204, 204, 1);
}
@media (max-width: 979px) {
    .content-right { display: none; }
    .content-left { box-shadow: none; }
}

.navbar-wrapper { position: absolute; top: 0; left: 0; right: 0; margin-top: 20px; margin-bottom: -90px; z-index: 10; }

.ratio_box{ position: relative; }
.ratio_box:before{ content: ""; display: block; padding-top: 100%; }
.ratio_content{ position:  absolute; top: 0; left: 0; bottom: 0; right: 0; overflow: hidden; }
.ratio2_1:before{ padding-top: 50%; }
.ratio1_2:before{ padding-top: 200%; }
.ratio4_3:before{ padding-top: 75%; }
.ratio16_9:before{ padding-top: 56.25%; }

.gallery-item:hover img {
    opacity: 0.5;
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -o-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06);
    -webkit-backface-visibility: hidden;
}
img.gallery:hover {
    opacity: 0.5;
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -o-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06);
    -webkit-backface-visibility: hidden;
}
.gallery_back { background: #ccc; overflow: hidden; }
@media (max-width: 769px) {.gallery_back { background: none; }}

/* breadcrumbs */
.content .breadCrumb { padding: 0; height: 28px; border-color: #ccc; background: #ededed; }
.content .breadCrumb ul { height: 28px; }
.content .breadCrumb ul li.first { margin-left: 10px; padding-right: 30px; }
.content .breadCrumb ul li { height: 28px; background: url(../img/icon_breadcumb.png) no-repeat 100% 0; overflow: auto; padding-right: 45px; line-height: 28px; font-size:0.7em }
.content .breadCrumb ul li a { height: 28px; line-height: 28px; text-transform: uppercase; }

/* content */
.content-text { text-align: justify; }

.image-box { position: relative; }
.image-box img { vertical-align: bottom !important; }
.image-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px;
    background: #202020; color: #fff; opacity: .75; font-size: 13px; font-style: italic;
    overflow: hidden; /*white-space: nowrap*/; text-overflow: ellipsis; }

/* Social Buttons */
@media (max-width: 480px) {
    /* CSS in here for mobile only */
	.image-caption {font-size: 8px;}
	.social-buttons  { font-size:0.5em;}
}
.social-buttons { clear: both; width: 100%; height: auto; margin: 10px 0; line-height: 2em; }
.social-buttons:after { content: ""; display: table; clear: both; }
.social-buttons .social-button { color: white; font-size: 1.8em; width: 49%; height: 2em; height: 50px; text-transform: uppercase; float: left; text-align: center; }
.social-buttons > .social-button > span { position: relative; line-height: 2em; }

.social-buttons > .fbshare { background: #3b5998; margin: 0 0%; margin-left: 0%; }
.social-buttons > .fbshare:hover { background: #4c70ba; }
.social-buttons > .fbshare:active { background: #2d4373; }

.social-buttons > .tweet { background: #1bb2e9; margin-right: 0%; margin-left: 2%; }
.social-buttons > .tweet:hover { background: #4ac2ed; }
.social-buttons > .tweet:active { background: #1291bf; }

.social-buttons > .gplus { background: #d73d32; }
.social-buttons > .gplus:hover { background: #dc4337; }
.social-buttons > .gplus:active { background: #7f2d0d; }

/* content */
.content-abstract { margin-top: 10px; font-style: italic; }
.content-text { margin-top: 10px; margin-bottom: 30px; text-align: justify; }
.content-text img { height: auto !important; }
.content-abstract, .content-text { text-align: justify; }
.inner-content .lead_image { margin: 10px 0; }

/* news */
.tabs_media { list-style: none !important; }
.news_box { margin-bottom: 0; }
.news_items { float: left; list-style: none; margin: 0;}
.news_items li { float: left; }
.news_item {
    overflow: hidden;
    border: 1px solid #DDD;
    -moz-box-shadow: rgba(0,0,0,0.1) 4px 4px 6px -2px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    margin-bottom: 30px;
}
.news_item:hover { background-color: #fff5f5; }
.news-date-title { margin: 10px; color: #202020; }
.span2 .news-date-title { margin: 5px; }
.news-date, .news-date-category { display: block; color: #7f7f7f; font-weight: bold; text-transform: uppercase; }
.news-title { display: block; height: 60px; font-weight: bold; overflow: hidden; }
.news-abstract { margin-top: 10px; font-style: italic; }
.news-text { margin-top: 10px; text-align: justify; }
.news-abstract, .news-text { text-align: justify; }

.news-tags { list-style: none; }
.news-tags span { display: block; margin-top: 20px; }
.news-tags ul { list-style: none; display: block; margin-left: 0; }
.news-tags ul li { float: left; margin-right: 10px; padding-left: 0; }
.news_list_item { padding: 20px 0; border-bottom: 1px dotted #7f7f7f; }
.news_list_item h4 { margin: 0; }

/* photo */
.photo_item, .video_item {
    border: 1px solid #DDD;
    -moz-box-shadow: rgba(0,0,0,0.1) 4px 4px 6px -2px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    margin-bottom: 30px;
}
.photo_item .img_box img, .video_item .img_box img { vertical-align: middle; }
.gallery-title { display: block; height: 40px; font-weight: bold; overflow: hidden; line-height: 140%;font-size: 15px;}
.gallery-date, .gallery-date-category { display: block; color: #7f7f7f; font-weight: bold; text-transform: uppercase; }

/* small-items */
.small-items-box { background: #ededed; color: #202020; }
.small-items { float: left; list-style: none !important; margin: 0; }
/*.small-items li:before { content: none; } */
.small-items-text { margin: 4px 0 0 0; }
.small-items-date { display: block; color: #7f7f7f; font-weight: bold; line-height: 14px; font-size: 11px; }
.small-items-title { display: block; font-weight: bold; margin-top: 2px; height: 42px; overflow: hidden; line-height: 14px; font-size: 12px; }
.small-items-data { display: block; margin-top: 2px; line-height: 12px; font-size: 10px; }

.link_items { float: left; list-style: none; margin: 0; }
.link_items li { float: left; }

/* announcements */
.announcement-block { }
.announcement { padding: 10px 0; }
.announcement-title, .announcement-title a { color: #202020; font-weight: bold; font-size: 16px;}
.announcement-title a:hover { color: #812738; }
.announcement-devider { height: 0px; border-bottom: 1px dotted #7F7F7F; }
.announcement-abstract { color: #7F7F7F; }

/* search */
.search-category {  padding: 20px 0; border-bottom: 1px dotted #7f7f7f; }
.search-date { display: inline-block; color: #7f7f7f; width: 80px; }
.search-delimiter { display: inline-block; width: 10px; padding: 0 10px; text-align: left; }
.search-title { display: inline-block; }

/* thumb list*/
.thumb-category {  padding: 20px 0; border-bottom: 1px dotted #7f7f7f; }
.thumb-category ul { margin-left: 0; }
.thumb-item {
    border: 1px solid #DDD;
    -moz-box-shadow: rgba(0,0,0,0.1) 4px 4px 6px -2px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    box-shadow: rgba(0, 0, 0, 0.1) 4px 4px 6px -2px;
    margin-bottom: 30px;
    padding: 5px;
}
.thumb-item:hover { background-color: #fff5f5; }
.thumb-item img { display: block; }

/* personal */
.personal_items .thumb-item { height: 360px; } /*height: 400px;*/
.person_unit, .person_unit a  { font-size: 120%; text-transform: uppercase; font-weight: bold; margin-top: 1em; display: block; }
.inner-content ul.personal_items li { padding: 10px; }
.inner-content ul.personal_items li .ratio_box { margin-bottom: 5px; }


.data_title { color: #812738; }
.data_value { }

/* side menu */
.side-menu { margin-bottom: 20px; padding: 0; border-top: 1px solid #ccc; list-style: none; }
.side-menu > li:before { content: none; }
.side-menu > li { margin: 0 0 -1px; border-bottom: 1px solid #ccc; padding-left: 0; }
.side-menu > li > a { display: block; padding: 12px 14px; margin: 0; }
.side-menu > .active > a, .side-menu > li:hover > a { border: 0; color: #fff;/*#999*/ background: #202020 url(../img/navigation_bg.png) repeat top left;   text-shadow: none; position: relative; z-index: 2; }
.side-menu .icon-chevron-right { float: right; margin-top: 2px; margin-right: -6px; opacity: .25; }
.side-menu a:hover .icon-chevron-right,
.side-menu .active .icon-chevron-right { opacity: 1; }
.side-menu.affix { top: 40px; }
.side-menu.affix-bottom { position: absolute; top: auto; bottom: 270px; }

.side-content-devider { border-bottom: 1px solid #ccc; }

.sitemap ul { margin-bottom: 30px; }
.sitemap ul ul { margin-bottom: 20px; }
.sitemap ul ul ul { margin-bottom: 10px; }

/* data filter */
.data-filter { margin-top: -6px; }
.data-filter .help-inline { margin-top: 5px; }
.data-filter .controls { display: inline-block; margin: 10px 0 0 0; }
.data-filter .controls label.control-label { display: block; }

/* org chart */
ul.org-chart li, ul.org-chart ul li { list-style:none; padding-left: 0;}
ul.org-chart ul { margin: 0 0 30px 0; padding: 0; }
ul.org-chart ul ul { margin:0; padding:0; }
ul.org-chart { margin:0; padding:0; }
ul.org-chart ul li { padding:0 0 0 50px; margin:0 0 0 50px; }
/*ul.org-chart li:before { content: none; }*/

ul.org-chart li div.vcard {
    padding: 20px 0 0 0;
    margin:0;
}

ul.org-chart div.vcard div.inner {
    padding: 15px;
    margin:0;
    overflow: hidden;
    border: solid 1px #ccc;

    background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF), color-stop(100%,#F5F5F5));
    background: -webkit-linear-gradient(top, #FFF 0%,#F5F5F5 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
    background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 );
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}
ul.org-chart div.vcard div.inner:hover { background:#ededed; }


ul.org-chart ul li { padding:0 0 0 50px; margin:0 0 0 50px; background:#fff url(../img/org-chart/org-tree-mid.gif) no-repeat left top; }
ul.org-chart ul li.org-tree-last { background:#fff url(../img/org-chart/org-tree-last.gif) no-repeat left top; }

ul.org-chart div.vcard div.title { font-weight:bold; }
ul.org-chart div.vcard div.description { font-style:italic; border-top:1px solid #e1e1e1; color: #7f7f7f; }

/* timeline */
.timeline { list-style: none !important; padding: 20px 0 20px; position: relative; }
.timeline:before { top: 0; bottom: 0; position: absolute; content: " "; width: 3px; background-color: #eeeeee; left: 50%; margin-left: -1.5px; }
.timeline > li { margin-bottom: 20px; position: relative; }

@media (min-width: 1200px) {

    .timeline > li { padding-left: 4%; }
    .timeline > li.timeline-inverted { padding-left: 0; padding-right: 4%; }

}


.timeline > li:before, .timeline > li:after { content: " "; display: table; }
.timeline > li:after { clear: both; }
.timeline > li:before, .timeline > li:after { content: " "; display: table; }
.timeline > li:after { clear: both; }
.timeline > li > .timeline-panel { width: 41%; float: left; border: 1px solid #d4d4d4; border-radius: 2px; padding: 20px; position: relative; text-align: right;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}
.timeline > li > .timeline-panel:before { position: absolute; top: 26px; right: -15px; display: block; content: " ";
    border-top: 15px solid transparent; border-left: 15px solid #ccc; border-right: 0 solid #ccc; border-bottom: 15px solid transparent; }

.timeline > li > .timeline-panel:after { position: absolute; top: 27px; right: -14px; display: inline-block; border-top: 14px solid transparent;
    border-left: 14px solid #fff; border-right: 0 solid #fff; border-bottom: 14px solid transparent; content: " "; }

.timeline > li.timeline-inverted > .timeline-panel { float: right; text-align: left; }
.timeline > li.timeline-inverted > .timeline-panel:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; }
.timeline > li.timeline-inverted > .timeline-panel:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; }

.timeline-title { margin-top: 0; color: inherit; display: inline-block; font-weight: bold; /*font-size: 120%;*/ }

.timeline-body > p,
.timeline-body > ul { margin-bottom: 0; }
.timeline-body > p + p { margin-top: 5px; }
.timeline-panel .pull-left { margin-left: 0; }



.video-container{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-container iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}





@media (max-width: 767px) {

    ul.timeline:before { left: -20px; }
    ul.timeline > li { padding-left: 0; }
    ul.timeline > li.timeline-inverted { padding-right: 0; }
    ul.timeline > li > .timeline-panel {
        width: calc(100% - 40px);
        width: -o-calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 40px);
    }
    ul.timeline > li.timeline-inverted .timeline-panel { float: none; }

    ul.timeline > li > .timeline-panel { float: left; text-align: left; }
    ul.timeline > li > .timeline-panel:before { border-left-width: 0; border-right-width: 15px; left: -15px; right: auto; }
    ul.timeline > li > .timeline-panel:after { border-left-width: 0; border-right-width: 14px; left: -14px; right: auto; }
}


@media (max-width: 480px) {
    /* CSS in here for mobile only */
	body {font-size: 13px;}
	h1 {font-size: 20px;}
	h2 {font-size: 18px;}
	h2.carousel_controls {line-height: 40px;}
	h3 {font-size: 16px;}
	h1, h2, h3 {line-height: 5px;}
	.content-category ul li a {line-height:15px;}
	ul.org-chart ul li {padding: 0 0 0 10px; margin: 0 0 0 10px;}
	ul.org-chart div.vcard div.inner {padding: 10px;}
	.menu_title h3{line-height: 40px;}
	.content-composite {display:block;}
	.carousel-control{height: 20px !important;line-height: 10px !important; font-size: 30px !important;}
}
@media (max-width: 768px) {
	#news_box {display:none;}
	h2.carousel_controls {display:none;}
	#news_box-mobile { margin-bottom: 0;}
	h2.carousel_controls_mobile, .section_title { color: #7f7f7f; text-transform: uppercase; display: block; border-bottom: 4px solid; position: relative; margin: 0 0 10px 0; padding-top: 5px;}
	h2.carousel_controls_mobile a.link { color: #7f7f7f; }
	h2.carousel_controls_mobile a.link:hover { color: #C35468; }
}
@media (min-width: 769px) {
	#news_box-mobile {display: none;}
	h2.carousel_controls_mobile {display: none;}
}
