/*
    Main CSS
*/
/* 
    Created on : 20.03.2020., 22:03:53
    Author     : A.T.
*/
html {
    height: 100%;
    width: 100%;
    font-family: 'Raleway', sans-serif;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header_container {
    background-color: #800000;
}

#header_banner {
    font-family: 'Maven Pro', sans-serif;
    color: white;
    padding: 15px;
    text-transform: uppercase;
    position: absolute;
    letter-spacing: 1px;
    top: 45px;
    left: 190px;
}

#header_banner h1, h2 {
    margin: 0;
}

#header_logo {
    z-index: 99999;
    position: relative;
    top: 25px;
    left: 35px;
    width: fit-content;
}

#header_logo img {
    width: 140px;
}

#header_navigation {
    font-family: 'Maven Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    background-color: #333;
    display: flex;
}

#header_navigation ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 170px;
}

#header_navigation ul li {
    float: left;
    position: relative;
    display: inline-block;
    transition: all 0.4s;
}

#header_navigation ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
}

#header_navigation ul li:hover {
    background-color: white;
    color: white;
}

#header_navigation ul li a:hover{
    color: #333;
}

/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/

#body_banner_picture {
    font-family: 'Raleway', sans-serif;
    width: 100%;
    height: 100px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#body_banner_picture p {
    margin: 0;
    color: white;
    font-weight: 100;
    font-size: 25px;
    letter-spacing: 2px;
}

.body_banner_1 {
    background-image: url("../slike/fireman1.jpg");
}

.body_banner_2 {
    background-image: url("../slike/fireman1-3.jpg");
}

.article_caption_container {
    background-color: #f4f4f4;
    padding: 30px 0;
}

.article_caption_wrapper {
    margin: 0 120px;
}

.article_body_wrapper {
    margin: 0 120px;
    padding-top: 15px;
}

.article_body_text {
    max-width: 1200px;
    text-align: justify;
    margin-bottom: 60px;
}

.article_box {
    background-color: white;
    box-shadow: 2px 2px 4px 1px rgba(0,0,0,0.2);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer_container {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    background-color: #434343;
}

#footer_container a {
    color: #969696;
}

#footer_container a:hover {
    color: white;
}

#footer_container table {
    text-align: center; 
    margin-left: auto; 
    margin-right: auto; 
}

.footer-area-top {
    color: #969696;
    padding: 15px 0;
}

.footer-area-top table tr td:last-child {
    text-align: left;
    padding-left: 60px;
}

.footer-area-top table tr td:not(:last-child) {
    max-width: 150px;
    padding: 0 15px;
    font-size: 11px;
    border-right: 1px solid #6f6f6f;
}

.footer-area-top table tr td p {
    margin: 0;
}

.footer-area-bottom {
    color: #6f6f6f;
    background-color: #333;
    padding: 15px 0;
    align-content: center;
}

.footer-area-bottom table tr td {
    padding: 0 20px;
}

.footer-area-bottom table tr td p {
    margin: 0;
}

.footer-logos {
    opacity: 0.5;
    max-width: 60px;
    transition: .4s;
}

.footer-logos:hover {
    opacity: 1;
}

.highlight_text {
    margin: 0;
    padding: 0;
    font-size: calc(100% - 2px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #757575;
}

/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
#main {
    color: #434343;
    padding-bottom: 100px;
}

a {
    text-decoration: none;
    transition: all .4s;
}

button, input, select {
    outline: none;
}

select, input {
    padding: 5px 10px;
}

.shadow {
    position: relative;
    -webkit-box-shadow: 0 1px 3px 1px rgba(50,50,50,0.25);
    -moz-box-shadow: 0 1px 3px 1px rgba(50,50,50,0.25);
    box-shadow: 0 1px 2px 1px rgba(50,50,50,0.35);
}

.deep_shadow {
    -webkit-box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
}

.center_content {
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu_toggle {
    font-size: 53px;
    color: white;
    display: none;
    padding: 9px 20px;
    text-decoration: none;
    position: absolute !important;
    right: 0;
}

.button_submit_blue {
    font-family: 'Raleway', sans-serif !important;
    background-color:#7892c2;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:17px;
    padding:0px 0px;
    text-decoration:none;
    text-shadow:0px 1px 0px #283966;
    padding: 8px 15px;
    border: 0px;
}

.button_submit_blue:hover {
    background-color:#476e9e;
}

.button_submit_blue:active {
    position:relative;
    top:1px;
}

.button_submit_gray {
    font-family: 'Raleway', sans-serif !important;
    background-color:#dfdfdf;
    display:inline-block;
    cursor:pointer;
    color:#777777;
    font-family:Arial;
    font-size:17px;
    padding:0px 0px;
    text-decoration:none;
    text-shadow:0px 1px 0px #ffffff;
    padding: 8px 15px;
    border: 0px;
    margin-top: 8px;
}

.button_submit_gray:hover {
    background-color: #d1d1d1;
}

.button_submit_gray:active {
    position: relative;
    top: 1px;
}

.error {
    color: #c70808;
}

.error_with_container {
    width: fit-content;
    font-size: 14px;
    padding: 5px 15px;
    margin-top: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

#error_message {

}

#warning_message {

}

/*--------------------------------------------------------------
# Calendar
--------------------------------------------------------------*/

* {box-sizing: border-box;}
ul {list-style-type: none;}

.month {
    padding: 40px 25px;
    width: 100%;
    background: #800000;
    text-align: center;
}

.month ul {
    margin: 0;
    padding: 0;
}

.month ul li {
    color: white;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.month .prev {
    float: left;
    padding-top: 10px;
    cursor: pointer;
}

.month .next {
    float: right;
    padding-top: 10px;
    cursor: pointer;
}

.weekdays {
    margin: 0;
    padding: 10px 0;
    background-color: #ddd;
}

.weekdays li {
    display: inline-block;
    width: 13.6%;
    color: #666;
    text-align: center;
}

.days {
    padding: 10px 0;
    background: #eee;
    margin: 0;
}

.days li {
    list-style-type: none;
    display: inline-block;
    width: 13.6%;
    text-align: center;
    margin-bottom: 5px;
    font-size:12px;
    color: #777;
}

.days li .active {
    display: block;
    margin: 0 auto;
    width: fit-content;
    min-width: 20px;
    max-width: 25px;
    padding: 2px 5px;
    border-radius: 5px;
    background: #800000;
    color: white !important;
}

/* Add media queries for smaller screens */
@media screen and (max-width:720px) {
    .weekdays li, .days li {width: 13.1%;}
}

@media screen and (max-width: 420px) {
    .weekdays li, .days li {width: 12.5%;}
    .days li .active {padding: 2px;}
}

@media screen and (max-width: 290px) {
    .weekdays li, .days li {width: 12.2%;}
}

.tooltip .tooltiptext {
    visibility: hidden;

    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    cursor: pointer;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/*--------------------------------------------------------------
# --- SPECIFICS FOR EACH PAGE ---
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# index.php
--------------------------------------------------------------*/

.index_beaver_background {
    background: url("../slike/dabar_pozadina.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 800px;
}

.index_categories_container {

}

.index_categories_all {
    margin: auto 0;
}

.index_category_link {
    padding: 60px 0;
}

.index_category_link a {
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
    padding: 1em 3.5em;
    color: white;
    font-size: 21px;
    opacity: 0.7;
    transition: .4s;
}

.index_category_link a:hover {
    font-weight: 900;
    opacity: 1;
    letter-spacing: 1px;
}

#main_calendar {
    margin: 0 20px;
    text-align: center;
}

.template-top-news {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: auto;
    grid-column-gap: 1rem;
    grid-row-gap: 0.5rem;
    grid-template-areas:
        "main main second third"
        "main main fourth fifth";
    margin-bottom: 40px;
}

.template-top-news_element_1 {
    grid-area: main;
}

.template-top-news_element_2 {
    grid-area: second;
}

.template-top-news_element_3 {
    grid-area: third;
}

.template-top-news_element_4 {
    grid-area: fourth;
}

.template-top-news_element_5 {
    grid-area: fifth;
}

.template-top-news_main #naslovna_slika,
.template-top-news_not_main #naslovna_slika {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.template-top-news_main #naslovna_slika:after,
.template-top-news_not_main #naslovna_slika:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, black 100%);
}

.template-top-news_main #naslovna_slika img,
.template-top-news_not_main #naslovna_slika img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.template-top-news_main #naslovna_tekst,
.template-top-news_not_main #naslovna_tekst {
    color: #dbdbdb;
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding: 0 20px 20px 20px;
}

.template-top-news_main #naslovna_tekst h2,
.template-top-news_not_main #naslovna_tekst h3 {
    margin: 0;
}

.template-top-news_main #sazetak {
    font-size: 15px;
    line-height: 1.5;
}

.template-top-news_not_main #sazetak {
    font-size: 14px;
}

.template-top-news_main #sazetak #sazetak_vrijeme,
.template-top-news_not_main #sazetak #sazetak_vrijeme {
    color: #969696;
}

.top-news_tag {
    background-color: #2b2b2b;
    color: #bfbdbd;
    width: fit-content;
    font-size: 11.5px;
    letter-spacing: 1px;
    margin-bottom: 7px;
    margin-right: 5px;
    padding: 5px;
}

/*--------------------------------------------------------------
# edukacija.php, mladez.php, natjecanja.php, vijesti.php
--------------------------------------------------------------*/

#news_caption {
    height: 480px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
}

.news_caption_white_container {
    background-color: white;
    max-height: 200px;
    width: 100%;
    max-width: 800px;
    position: absolute;
    bottom: 0;
    padding: 70px 50px 70px 120px;
}

.news_caption_white_container_main_caption {
    font-size: 50px;
    font-weight: 900;
    color: #800000;
}

.category_container {
    margin-top: 100px;
}

#category_caption_container {
    position: relative;
    text-align: center;
    height: 480px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.category_caption_text_caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category_caption_text_caption_main_caption {
    font-size: 50px;
    font-weight: 900;
    color: #e8e8e8;
}

.category_caption_text_caption_subtitle_caption {
    font-size: 23px;
    color: #b3b3b3;
    letter-spacing: 1px;
    padding: 10px 0;
}

#category_icons_container {
    position: absolute;
    width: 100%;
    bottom: -90px;
    padding: 0 120px;
}

#category_icons_container table {
    width: 100%;
    background-color: #e6e6e6;
    border-radius: 5px;
    border-collapse: collapse;
    table-layout: fixed;
    -webkit-box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.75);
}

#category_icons_container table td {
    padding: 20px;
}

#category_icons_container table td:not(:last-child) {
    border-right: 1px solid #c9c9c9;
}

#category_icons_container table td i {
    font-size: 30px;
    color: #800000;
    padding-bottom: 10px;
}

#category_icons_container table td h2 {
    font-size: 16px;
}

#category_icons_container table td p {
    font-size: 15px;
    color: #737373;
}

.news_caption_padding {
    padding: 50px 0;
}

.news_caption_white_container_subtitle_caption {
    font-size: 25px;
    color: #6e6e6e;
    letter-spacing: 1px;
}

.vijest:hover, .dogadanje:hover {
    cursor: pointer;
}

#datum i {
    margin-right: 5px;
}

.template-top-news-category {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    grid-column-gap: 1rem;
    grid-row-gap: 0px;
    grid-template-areas:
        "main second third";
    margin-bottom: 50px;
}

.template-top-news-category_element_1 {
    grid-area: main;
}

.template-top-news-category_element_2 {
    grid-area: second;
}

.template-top-news-category_element_3 {
    grid-area: third;
}

.template-top-news-category #naslovna_slika {
    position: relative;
    width: 100%;
    /*height: 100%;*/
    overflow: hidden;
}

.template-top-news-category #naslovna_slika:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, black 120%);
}

.template-top-news-category #naslovna_slika img {
    width: 100%;
    height: 100%;
    height: 280px;
    object-position: center;
    object-fit: cover;
}

.template-top-news-category #naslovna_tekst {
    color: #dbdbdb;
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding: 0 20px;
}

.template-top-news-category #naslovna_tekst h2 {
    font-size: 20px;
    margin: 0;
}

.template-top-news-category #sazetak {
    font-size: 12px;
    line-height: 1.5;
}

.template-top-news-category #sazetak #sazetak_vrijeme{
    color: #969696;
}

/*--------------------------------------------------------------
# vijesti.php
--------------------------------------------------------------*/

.news-article {
    background-color: #f4f4f4;
    width: 100%;
    margin-bottom: 50px;
    padding-right: 30px;
    display: inline-flex;
}

.news-article_container_img {
    height: 100%;
    margin-right: 30px;
}

.news-article_image img {
    max-width: 350px;
    max-height: 250px;
}

.news-article_container_text {
    padding: 30px 0;
    line-height: 1.5;
}

.news-article_container_text #naslov {
    transition: .4s;
}

.news-article_container_text #naslov:hover {
    cursor: pointer;
    color: #800000;
}

.news-article_container_text #datum {
    color: #6e6e6e;
    font-weight: 200;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-article_container_text #datum i {
    color: #800000;
}

.news-article_tag {
    font-weight: 200;
    font-size: 14px;
    background-color: #dbdbdb;
    border-radius: 2px;
    padding: .3em .6em;
    margin-right: 10px;
}

.show_more {
    transition: .4s;
}

.show_more:hover {
    cursor: pointer;
    margin-left: 10px;
}

/*--------------------------------------------------------------
# vijest.php
--------------------------------------------------------------*/

.news-article-open #naslov {
    padding: 15px 0;
}

.news-article-open #sazetak, .news-article-open #sadrzaj{
    line-height: 1.5;
}

.news-article-open #datum {
    color: #6e6e6e;
    font-weight: 200;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.news-article-open img {
    width: 100%;
    max-width: 600px;
    max-height: 500px;
    margin: 20px 0;
}

/*--------------------------------------------------------------
# dogadanja.php i vijesti.php
--------------------------------------------------------------*/

.h2_with_line {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.6px;
    border-top: 2px solid black;
    padding: 20px 0;
}

/*--------------------------------------------------------------
# administracija.php
--------------------------------------------------------------*/

#administration_container {

}

#administration_nav div {
    cursor: pointer;
    width: fit-content;
    padding: 8px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: inline-block;
    transition: all 0.4s;
}

#administration_container .administration_one_container {
    background-color: #ebebeb;
    padding: 30px 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#administration_container .administration_one_container h2{
    margin-bottom: 10px;
}

.admin_tab_selected {
    background-color: #ebebeb;
}

.admin_tab_not_selected:hover {
    background-color: #f7f7f7;
}

#administration_table {
    border-collapse: collapse;
}

#administration_table tbody tr td:first-child {
    min-width: 200px;
}

#administration_table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #cccccc;
}

#administration_table tbody tr td {
    padding: 10px 0;
}

/*--------------------------------------------------------------
# dokumentacija.php
--------------------------------------------------------------*/

#documentation {
    width: 700px;
    max-width: 100%;
}

#documentation h3 {
    padding: 8px 0;
    border-bottom: 1px solid #dedede;
}

#documentation table {
    border-collapse: collapse;
    width: 100%;
    /*max-width: calc(100% - 300px);*/
    text-align: left;

}

#documentation tr th,
#documentation tr td {
    padding: 10px;
}

#documentation table thead {
    background-color: #f5f5f5;
    border-bottom: 2px solid #cccccc;
}

#documentation table tbody tr {
    font-size: 14px;
    border-bottom: 1px solid #cccccc;
}

#documentation table tr {
    transition: all 0.4s;
}

#documentation table tr:hover {
    background-color: #fafafa;
}

#documentation a {
    color: #0b90b5;
}

#documentation button {
    margin: 0;
    margin-bottom: 10px;
    font-size: 14px;
}

/*--------------------------------------------------------------
# statistika.php
--------------------------------------------------------------*/

#grafovi {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-auto-columns: 1fr; /* Jednaka širina svih elemenata */
    grid-template-areas:
        "main main" 
        "second third";
    margin: 30px 0;
}

.graphs_element {
    padding: 20px 0;
}

.graphs_element_1 {
    grid-area: main;
}

.graphs_element_2 {
    grid-area: second;
}

.graphs_element_3 {
    grid-area: third;
}

#graphs_period input[type="month"]{
    font-family: 'Raleway', sans-serif;
    border-radius: 5px;
    border: 0.5px solid #adadad;
}

/*--------------------------------------------------------------
# kontakt.php
--------------------------------------------------------------*/

#vpz_kontakt {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    grid-column-gap: 1rem;
    grid-auto-columns: 1fr; /* Jednaka širina svih elemenata */
    grid-row-gap: 0px;
    grid-template-areas:
        "main main second third fourth";
    margin: 50px 100px;
}

.contact_element_1 {
    grid-area: main;
    min-width: fit-content;
}

.contact_element_2 {
    grid-area: second;
}

.contact_element_3 {
    grid-area: third;
}

.contact_element_4 {
    grid-area: fourth;
}

.contact_element_p span {
    font-size: calc(100% - 2px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #800000;
}

.contact_element_main span {
    font-size: calc(100% - 2px);
    font-weight: 700;
    text-transform: uppercase;
}

.contact_element_main a {
    color: #777;
    transition: all 0.4s;
}

.contact_element_p p {
    padding-left: 15px;
}

.contact_element_p a,
.contact_element_main a {
    color: #777;
    font-size: calc(100% - 1px);
    transition: all 0.4s;
}

.contact_element_p a:hover,
.contact_element_main a:hover {
    color: #800000;
}

#lista_sudionika .collapsible {
    font-family: 'Raleway', sans-serif;
}

#lista_sudionika .content td {
    padding: 10px 5px;
}

#lista_sudionika .collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: all 0.4s;
}

#lista_sudionika .active, #lista_sudionika .collapsible:hover {
    background-color: #555;
}

#lista_sudionika .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

#lista_sudionika .content a {
    color: #800000;
    font-size: calc(100% - 2px);
}

#lista_sudionika .content table {
    border-collapse: collapse;
}

#lista_sudionika .content table tr:not(:last-child) td{
    border-bottom: 1px solid #adadad;
}

/*--------------------------------------------------------------
# prijava.php
--------------------------------------------------------------*/

#login {
    margin-top: 30px;
}

.login_container {
    margin: auto;
    width: fit-content;
    border-radius: 5px;
    overflow: hidden;
}

.login_container_top {
    position: relative;
    width: 400px;
    height: 75px;
    background-color: #800000;
}

.login_container_top h2 {
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login_container_bottom {
    padding: 20px 50px;
    background-color: #f0f0f0;
}

#login input {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    width: 100%;
    border-radius: 5px;
    border: 0px solid #adadad;
    padding: 8px;
    margin: 5px 0;
}

#login input::placeholder,
#login input:-ms-input-placeholder
#login input::-ms-input-placeholder {
    color: #adadad;
    font-weight: 100;
}

#login .button_login {
    font-family: 'Raleway', sans-serif;
    background-color: rgba(51, 51, 51, 0.5);
    color: white;
    width: 200px;
    border: 0px;
    border-radius: 10px;
    padding: 8px;
    margin-top: 20px;
    outline: none;
    letter-spacing: 1px;
    opacity: 1;
    transition: 0.4s;
    cursor: pointer;
}

#login .button_login:hover {
    background-color: rgba(51, 51, 51, 0.8);
}

#login_error_container, #login_error_container .error_with_container {
    text-align: center;
    font-size: 12px;
}

#login_error_container .error_with_container {
    width: fit-content;
}

/*--------------------------------------------------------------
# dokumentacija.php
--------------------------------------------------------------*/

#galerija .mySlides {display: none; text-align: center}

#galerija object {
    max-height: 500px;
    max-width: 100%;
}

#galerija .galery_caption {
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

#galerija img {vertical-align: middle;}

/* Slideshow container */
#galerija .slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
#galerija .prev, #galerija .next {
    color: #8c8c8c !important;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
#galerija .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
#galerija .prev:hover, #galerija .next:hover {
    background-color: rgba(0,0,0,0.8);
    color: white !important;
}

/* Caption text */
#galerija .text {
    font-size: 15px;
    padding: 8px 12px;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
#galerija .numbertext {
    font-size: 12px;
    padding: 8px 12px;
    top: 0;
}

/* The dots/bullets/indicators */
#galerija .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

#galerija .active, #galerija .dot:hover {
    background-color: #717171;
}

/* Fading animation */
#galerija .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/*--------------------------------------------------------------
# o_nama.php
--------------------------------------------------------------*/

/* The actual timeline (the vertical ruler) */
#about_timeline .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
#about_timeline .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
#about_timeline .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
#about_timeline .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid #4292d4;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
#about_timeline .left {
    left: 0;
}

/* Place the container to the right */
#about_timeline .right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
#about_timeline .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #ebebeb;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #ebebeb;
}

/* Add arrows to the right container (pointing left) */
#about_timeline .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #ebebeb;
    border-width: 10px 10px 10px 0;
    border-color: transparent #ebebeb transparent transparent;
}

/* Fix the circle for containers on the right side */
#about_timeline .right::after {
    left: -16px;
}

/* The actual content */
#about_timeline .content {
    padding: 20px 30px;
    background-color: #ebebeb;
    position: relative;
    border-radius: 6px;
}