/*
 * ZUC Pazin - Joomla 5 Template CSS
 * Replicated from original TYPO3 design
 */

/* ====== RESET ====== */
* { padding: 0; margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset, img { border: 0; }
address, caption, cite, code, dfn, em, strong, th, var { font-style: normal; font-weight: normal; }
li { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; font-weight: inherit; }
img a { border: 0; }

body {
    background: #474747;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333333;
    padding: 0 0 40px 0;
}

/* ====== LAYOUT ====== */
#page_wrap {
    width: 100%;
    background: url(../images/body_bckg.jpg) repeat-y top center;
}

#page {
    position: relative;
    width: 980px;
    margin: 0 auto;
    background: white;
}

#header_area {
    position: relative;
    width: 980px;
    height: 458px;
    background: url(../images/header_area_bckg.jpg) no-repeat;
}

#logo {
    position: absolute;
    width: 316px;
    height: 53px;
    top: 18px;
    left: 39px;
}

#logo a {
    display: block;
    width: 100%;
    height: 100%;
}

#logo img {
    width: 316px;
    height: 53px;
}

#toolbar {
    position: absolute;
    width: 300px;
    top: 52px;
    left: 610px;
}

#search {
    position: absolute;
    top: 396px;
    right: 30px;
    width: 305px;
    height: 32px;
}

#content_area {
    position: relative;
    width: 980px;
    background: #EBEBEB;
    padding: 0 0 35px 0;
    display: flow-root;
}

#main_nav_area {
    padding-bottom: 20px;
    background: #EBEBEB;
}

#main_menu {
    padding: 26px 15px 32px 15px;
}

#left_column {
    float: left;
    width: 280px;
    padding-left: 30px;
    overflow: hidden;
}

#submenu {
    background: #666;
}

#right_column {
    float: right;
    width: 650px;
    padding-bottom: 14px;
    background: url(../images/right_column_bottom_shade.jpg) no-repeat bottom left white;
}

.content_top_shade {
    height: 18px;
    background: url(../images/content_top_bckg.jpg) no-repeat;
}

#content {
    min-height: 400px;
    height: auto !important;
    padding: 0 30px 0 20px;
}

#footer_area {
    position: relative;
    width: 910px;
    padding: 22px 35px 30px 35px;
    background: #858585;
    clear: both;
}

#footer_area #content_left {
    float: left;
    width: 660px;
    color: #E7E7E7;
}

#footer_area #content_right {
    float: right;
    width: 172px;
    padding-top: 30px;
    color: #C2C2C2;
    font-size: 12px;
}

/* ====== NAVIGATION ====== */

/* Toolbar (secondary nav) */
#toolbar .menu_item a,
#toolbar .menu_item_last a,
#toolbar .menu_item_act a,
#toolbar .menu_item_last_act a {
    float: left;
    font-size: 12px;
    color: #D2D2D1;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 10px;
}

/* Joomla nav compatibility */
#toolbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#toolbar ul li {
    float: left;
}

#toolbar ul li a {
    float: left;
    font-size: 12px;
    color: #D2D2D1;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0 10px;
}

#toolbar ul li.active a,
#toolbar ul li a:hover {
    color: #fff;
}

/* Main menu */
#main_menu .menu_item a,
#main_menu .menu_item_act a {
    float: left;
    font-size: 20px;
    line-height: 100%;
    font-weight: lighter;
    color: black;
    text-decoration: none;
    background: url(../images/main_menu_bckg.jpg) no-repeat 0px 2px;
    padding: 0 0 0 12px;
    margin: 0 15px;
}

#main_menu .menu_item_act a,
#main_menu .menu_item a:hover {
    background: url(../images/main_menu_act_bckg.jpg) no-repeat 0px 2px;
}

/* Joomla nav compatibility */
#main_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#main_menu ul li {
    float: left;
}

#main_menu ul li a {
    float: left;
    font-size: 20px;
    line-height: 100%;
    font-weight: lighter;
    color: black;
    text-decoration: none;
    background: url(../images/main_menu_bckg.jpg) no-repeat 0px 2px;
    padding: 0 0 0 12px;
    margin: 0 15px;
}

#main_menu ul li.active > a,
#main_menu ul li.current > a,
#main_menu ul li a:hover {
    background: url(../images/main_menu_act_bckg.jpg) no-repeat 0px 2px;
}

/* Submenu (sidebar) */
#submenu .header {
    width: 252px;
    padding: 14px 24px 12px 24px;
    background: url(../images/box_top_shade.jpg) no-repeat;
}

#submenu .header h1,
#submenu .header h3 {
    font-size: 18px;
    color: #FFCC00;
    padding-bottom: 0;
    text-transform: uppercase;
}

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

#submenu ul li a,
#submenu .menu_item a,
#submenu .menu_item_act a,
#submenu .menu_item_last a,
#submenu .menu_item_last_act a {
    display: block;
    padding: 4px 24px;
    font-size: 13px;
    text-decoration: none;
    color: white;
}

#submenu ul li a:hover,
#submenu ul li.active > a,
#submenu ul li.current > a,
#submenu .menu_item a:hover,
#submenu .menu_item_act a,
#submenu .menu_item_last a:hover,
#submenu .menu_item_last_act a {
    background: url(../images/submenu_item_bckg.jpg) no-repeat 252px 3px;
}

#submenu ul li:last-child a {
    padding-bottom: 15px;
}

/* Sidebar */
#sidebar_content h1 {
    font-size: 18px;
    text-transform: uppercase;
    color: #FFCC00;
}

/* ====== TYPOGRAPHY ====== */
p, ul, ol, h1, h2, h3, h4, h5 {
    line-height: 150%;
    padding-bottom: 20px;
}

#content a {
    text-decoration: none;
    color: #0099CC;
}

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

#content ul {
    padding-left: 40px;
}

#content ol {
    padding-left: 40px;
}

#content ul li {
    list-style-type: disc;
    padding-left: 10px;
}

#content ol li {
    list-style-type: decimal;
    margin-bottom: 15px;
}

#content ol ol {
    padding-bottom: 5px;
}

#content ol ol li {
    margin-top: 5px;
    margin-bottom: 12px;
    list-style-type: circle;
}

/* ====== FOOTER ====== */
#footer_area h1 {
    font-size: 18px;
    color: #FFCC00;
}

#footer_area p {
    padding-bottom: 0;
}

#footer_area #content_left p {
    padding-bottom: 0;
    line-height: 180%;
}

#footer_area #content_left a {
    color: #E7E7E7;
    text-decoration: none;
}

#footer_area #content_right a {
    color: #C2C2C2;
    text-decoration: none;
}

/* ====== TABLES ====== */
#content table {
    line-height: 120%;
    margin-bottom: 30px;
}

#content table caption {
    text-align: left;
    font-weight: bold;
    padding-bottom: 20px;
}

#content td {
    padding: 3px 12px;
    border-bottom: 1px solid silver;
}

#content th {
    border-bottom: 1px solid silver;
    font-weight: bold;
    background: gray;
    color: white;
    padding: 4px 12px;
}

.contenttable {
    width: 100%;
}

/* ====== NEWS ====== */
.news-latest-container {
    line-height: 140%;
}

.news-latest-item {
    padding-bottom: 28px;
}

.news-latest-date {
    background: url(../images/news_date_bckg.jpg) no-repeat;
    width: 45px;
    height: 47px;
    float: left;
    margin-right: 10px;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    padding: 5px 0 3px 0;
    font-weight: bold;
}

.news-latest-date .large {
    font-size: 21px;
    height: 21px;
    overflow: hidden;
}

.news-latest-date .medium {
    font-size: 16px;
    text-transform: uppercase;
    height: 16px;
    margin-top: -3px;
    overflow: hidden;
}

.news-latest-date .small {
    font-size: 11px;
    height: 11px;
    margin-top: -2px;
    overflow: hidden;
}

.news-latest-title a,
#content .news-latest-title a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.news-latest-morelink a {
    display: inline;
    text-decoration: none;
    font-weight: bold;
    color: #0099CC;
}

/* News single (detail) */
.news-single-item {
    line-height: 140%;
}

.news-single-timedata {
    color: #666;
    font-size: 12px;
    padding-bottom: 5px;
}

.news-single-img {
    float: left;
    margin-right: 15px;
}

.news-single-backlink {
    display: none;
}

/* News list */
.news-list-container {
    line-height: 140%;
}

.news-list-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.news-list-date {
    float: left;
    margin-right: 10px;
    background: #e8a825;
    color: #fff;
    text-align: center;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.4;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.news-list-date-day {
    display: block;
    font-size: 22px;
    font-weight: bold;
    padding: 2px 0 0 0;
}

.news-list-date-month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
}

.news-list-date-year {
    display: block;
    font-size: 11px;
    padding-bottom: 3px;
}

.news-list-morelink-title a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.news-list-morelink-title a:hover {
    text-decoration: underline;
}

.news-list-content {
    margin-top: 8px;
    line-height: 1.5;
}

a.news-list-morelink {
    color: #0099CC;
    text-decoration: none;
}

a.news-list-morelink:hover {
    text-decoration: underline;
}

.news-list-title a {
    font-size: 16px;
    font-weight: bold;
    color: #0099CC;
    text-decoration: none;
}

.news-list-title a:hover {
    text-decoration: underline;
}

.news-list-image {
    float: left;
    margin-right: 15px;
}

span.news-list-morelink {
    display: none;
}

.news-list-browse {
    clear: both;
    margin-top: 10px;
}

.news-list-browse a {
    color: #0099CC;
    text-decoration: none;
}

.news-list-browse a:hover {
    text-decoration: underline;
}

/* ====== FILE LINKS ====== */
.filelinks div {
    line-height: 150%;
    padding-left: 40px;
    padding-bottom: 2px;
    padding-top: 2px;
    background: url(../images/filelinks_default.gif) left top no-repeat;
    margin-bottom: 10px;
}

.filelinks span {
    display: block;
}

.filelinks a {
    text-decoration: none;
}

.filelinks a:hover {
    text-decoration: underline;
}

.filelinks .pdf {
    background-image: url(../images/pdf.gif) !important;
}

.filelinks_layout_0 .name,
.filelinks_layout_1 .name {
    display: none;
}

/* ====== SEARCH ====== */
.tx_slsimplesearchbox form,
.tx_slsimplesearchbox form fieldset,
.tx_slsimplesearchbox form .submit {
    border: none;
    padding: 0;
    margin: 0;
}

.tx_slsimplesearchbox form .submit {
    position: absolute;
    top: 6px;
    right: 0px;
    background: url(../images/search_button_hr.jpg) no-repeat;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    color: #666666;
    font-size: 11px !important;
    font-weight: bold;
    margin: -5px 0 0 0;
    line-height: 12px;
    vertical-align: middle;
    padding: 1px 0;
    height: 32px;
    width: 60px;
    cursor: pointer;
}

.tx_slsimplesearchbox form span input,
#search input[type="text"],
#search input[type="search"] {
    position: absolute;
    top: 1px;
    left: 8px;
    line-height: 15px;
    font-size: 13px !important;
    background: transparent;
    vertical-align: middle !important;
    padding: 9px 7px 8px 7px;
    border: 0;
    width: 220px;
    height: 14px;
}

/* Joomla Smart Search module */
#search form.mod-finder {
    position: relative;
    width: 100%;
    height: 32px;
}

#search .mod-finder input[type="text"],
#search .js-finder-search-query,
/* Joomla search module */
#search .search-query,
#search input.inputbox {
    position: absolute;
    top: 1px;
    left: 8px;
    line-height: 15px;
    font-size: 13px !important;
    background: transparent;
    padding: 9px 7px 8px 7px;
    border: 0;
    width: 220px;
    height: 14px;
}

#search .mod-finder__search.input-group {
    position: relative;
    display: block;
}

#search .mod-finder .btn,
#search .mod-finder button,
#search .btn,
#search button[type="submit"] {
    position: absolute;
    top: 0px;
    right: 0px;
    background: url(../images/search_button_hr.jpg) no-repeat;
    border: none;
    font-size: 0 !important;
    height: 32px;
    width: 60px;
    cursor: pointer;
    color: transparent;
    overflow: hidden;
}

#search .btn .icon-search,
#search button .icon-search { display: none; }

/* ====== FORMS ====== */
.csc-mailform-field input.csc-mailform-submit {
    background: #B5BA00;
    border: 0;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px 10px 5px 10px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: lighter;
    width: 136px;
}

/* ====== DIVIDER ====== */
.spacer,
.divider {
    clear: both;
    height: 1px;
    line-height: 0px;
    font-size: 0px;
    display: block;
    margin-top: 0px;
    margin-bottom: 0px;
    background: url(../images/divider_bckg.jpg);
}

.divider hr {
    display: none;
}

/* ====== UTILITY ====== */
/* Only clear floats at template level, not inside article content */
#content_area > .clearer,
#footer_area > .clearer {
    clear: both;
    height: 0px;
    line-height: 0px;
    font-size: 0px;
    display: block;
}

/* Neutralize .clearer inside article content so it doesn't clear column floats */
#content .clearer {
    clear: none;
}

.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }

/* ====== CSC TEXTPIC ====== */
DIV.csc-textpic-imagewrap { padding: 0; }
DIV.csc-textpic IMG { border: none; }
DIV.csc-textpic DIV.csc-textpic-imagewrap DIV.csc-textpic-image { float: left; }
DIV.csc-textpic-clear { clear: both; }

/* ====== JOOMLA OVERRIDES ====== */

/* Joomla visually-hidden utility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Hide Joomla default chrome */
.page-header { display: none; }

/* Article styling */
.com-content-article__body,
.com-content-category__items {
    line-height: 150%;
}

/* Pagination */
.pagination {
    text-align: center;
    padding: 20px 0;
}

/* Breadcrumbs - hidden since submenu serves this purpose */
.mod-breadcrumbs {
    display: none;
}

/* System messages */
#system-message-container {
    padding: 10px 20px;
}

/* Override Joomla's default list styling in content */
#content .com-content-article__body ul {
    padding-left: 40px;
}

#content .com-content-article__body ul li {
    list-style-type: disc;
    padding-left: 10px;
}

/* Search page styling */
.com-finder.finder {
    padding: 10px 0;
}
.com-finder .form-control {
    border: 1px solid #ccc;
    padding: 5px 10px;
}
.com-finder .btn-primary {
    background: #e8a825;
    border-color: #e8a825;
    color: #fff;
    padding: 5px 15px;
}
.com-finder__results .result-title a {
    color: #0099CC;
}
