.smalltable{
    width: 50%;
}

#wrapper {
    width: 80%;
    height:100%;
    display:flex;
    overflow: hidden; /* will contain if #first is longer than #second */
}

#second2 {
    float:right; /* add this */
    overflow: hidden; /* if you don't want #second to wrap below #first */
    width:60%
}


.mycontainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    flex-basis: 100%;
    margin-bottom: 30px;
}

.divpicture {
    text-align: left;
    margin: auto;
}

.divpicture p {
    font-style:italic;
}

.picture {
    padding: 0.8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
    object-fit: contain;   
    max-width: 450px;
    max-height: 350px;
}

.divp {
    flex-basis: 45%;
}

.divp h2 {
    width: fit-content;
    font-weight: bold;
}
       

.divp p {
    color: #8f0000;
    font-weight: 500;
}

.divp p span {
    font-size: 18px;
    color: black;
    font-weight: 400;
}


.flex-map {
    display: flex; 
    flex-wrap: wrap; 
    flex-direction: row; 
    justify-content: space-between; 
    flex-basis: 100%;
    margin: auto;
}

.flex-map2 {
    display: flex; 
    flex-wrap: wrap; 
    flex-direction: row; 
    justify-content: space-between; 
    flex-basis: 100%;
    margin: auto;
}

.flex-map2 span {
    flex-basis: 25%;

}

.card_div {
    display: flex; 
    width: 100%; 
    flex-wrap: wrap;
}

.mycard-body {
    background-color: white;
}

.mycard-title {
    color: #8f0000;
    font-weight: 600;
}

.my-list-group-item {
    color: #8f0000; 
    font-weight: 500;
     background: white;
     border-bottom: none;
}

.mycard {
    margin: 9px;
    border: 2px solid #8f0000;
    flex-basis: 100%;
    
}

.mycard-javni {
    height: 25.5rem;
}

.my-list-group-item span {
    font-size: 16px;
    color: #8f0000;
    font-weight: 400;
}
.div_img {
    height: 13rem;
}

#znanstveni_naziv {
    font-style: italic;
}

.div_img img {
    height: 13rem;
    object-fit: contain;
}

.mycard > .list-group {
    border-top: none !important;
}

.py-4 {
    padding-top: 0em !important;
}

.btn-dark {
    color: white!important;
    background-color: #2d2926ff !important;
    border-color: #2d2926ff !important;
}

.div_preglednik {
    padding-top: 10px;
}

.btn-danger:hover {
    color: white!important;
    border-color:#2d2926ff!important;
    background-color: #2d2926ff!important;
}

.naslov_kartice {
    text-align: left;
}

.span_kartice {
    
    color: #2d2926ff !important;
    font-size: 17px!important;
}

.btn-primary {
    background-color: #8f0000 !important;
    border-color: #8f0000 !important;
}

.btn-primary:hover {
    background-color: #3D0000 !important;
    border-color: #3D0000 !important;
    color: #FFE5E5 !important; 
}

.bg-primary {
    background-color: #8f0000 !important;
}
.page-footer {
    background-color: #8f0000 !important;
    color: white !important;
}

.list-unstyled li a {
    color: white !important;
}

.page-footer > a {
    color: white !important;
}

#line-after-nav{
    background-color: #2d2926ff;
    padding: 5px;
    margin-bottom: 5px; 
    width: 100%;
}

.dropdown-menu > a:hover {
    background-color: #8f0000 !important;
    color: white;
}

.btn-link {
    color: #8f0000 !important;
}

.table tbody tr td:nth-child(2) a {
    color: #8f0000 !important;
}

.btn {
    background-color: #8f0000 !important;
    border-color: #8f0000 !important;
    color: white !important;
}

body {
    display: flex;
    flex-direction: column;         
    justify-content: space-between; 
    margin: 0;
    min-height: 100%;
    height: 100vh;
}

.footer-copyright {
    background-color: #2d2926ff;
}

.footer-copyright a {
    color: white;
}

.btn-danger {
    color: #8f0000!important;
    border-color: #8f0000!important;
    background-color: white!important; 
}

.flex-container {
    display: flex;
}

.button-container {
    margin-right: 5px;
    margin-left: 5px;
}

.flexbutton {
    margin-bottom: 5px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    width: 100%;    
    align-items: flex-start;
}

.flex-card {
    list-style: none;
    flex: 0 0 33%;
}

.btn-plusminus {
    height: calc(1.5em + 0.75rem + 2px);
}

.disabled_btn {
    pointer-events: none !important;
    cursor: default  !important;
    opacity: 0.6 !important;
}

.disabled_input select {
    pointer-events: none !important;
    cursor: default  !important;
    opacity: 0.6 !important;
    background-color: #ced4da!important;
}

.konacna_input {
    flex-basis: 76%;
}

.mojalista {
    /*margin: 3px;*/
    font-size: 12.5px;
    border: none; 
    padding-left: 7px; 
   /* width: 150px;*/
   
}

.bijelo{
    font-size: 11.5px!important;
    float: left;
    color: #fdfdfd !important;
    background: #8f0000 linear-gradient(to bottom right, #8f0000 55%, black);
    border-radius: 40%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    shape-outside: ellipse();
    z-index: 1;
    width: 1.35rem;
    height: 1.35rem;
    position: relative;
    left: 5px;
    border-bottom-left-radius: 1px;
}
.mojul {
    margin: auto;
    justify-content: center;

}
.mojinput{
    padding-left: 15px!important;
}

.abutton {
    margin-left: 15px!important;
}

.mojp {
    padding-left: 15px;
}

.lista_footer {
    margin-bottom: 6px;
}

.myfooter-copyright {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    max-width: 1140px;
}

.myfooter-copyright div {
    flex-basis: 33%;
}

.myfooter-copyright div:nth-child(2) {
    text-align: center;
}

.myfooter-copyright div:last-child {
    text-align: right;
}



.my-a.active {
    background-color: #8f0000!important;
    color: white;
}

.my-a {
    color: #8f0000;
    font-weight: 600;
}

.my-a:hover {
    background-color: #8f0000;
    color: white;
}

.my-ul {
    border-bottom: 1px solid #8f0000;
    margin-bottom: 1rem;
    justify-content: space-between;
}


.myli-prethodna {
    position: relative;
    display: block;
    width: fit-content;
}

.mya-prethodna {
    color: black;
    text-decoration: none !important;
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.267);
    font-size: 18px;
}

.mya-prethodna:hover {
    color: black;
    border-bottom: 1.5px solid black;
    text-decoration: none;
    font-weight: 600;
}
.myp-prethodna {
    margin-bottom: 0;
}

.mygrid-container {
    flex-basis: 70%;   
    max-width: 1100px;
}

#mydiv {
    flex-basis: 20%;
}
.mycol-sm {
    flex-basis: 100%;
}

.mytooltip {
    height: 35px;
    width: 100px;
    right: 25px;
    position: absolute;
    color: #fdfdfd;
    display: inline-flex;
    font-size: 11px;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.cookie_btn {
    width: 100px;
    margin: 2px;
}

.btn-my:hover {
    text-decoration: underline;
}

.modal {
    overflow-y:auto;
}

.buttons {
    margin-top: 5px;
    text-align: right;
}

.myfooter_a {
    color: #8f0000;
    font-weight: 600;
}

.myfooter_a:hover {
    color: #2c0000;
}

.myfooter_h5 {
    color: #8f0000;
}

.myh1_homepage {
    font-size: 2.7rem;
}

.homepage_container p {
    text-align: justify;
}

.kvadrat-span {
    margin-bottom: 4px;
}

.mytab-crvene-knjige{
    display: none;
    flex-basis: 50%;
    margin-left: 150px;
}

.crvene-knjige-flex {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
}

.crvene-knjige-flex-div {
    border-bottom: 1px solid #00000012;
}

.crvene-knjige-link {
    width: 200px;
}

.my-a_popis {
    color: #2d2926ff;
    background-color: white;
    border: none;
}

.my-a_popis:hover {
    background-color: #2d2926ff;
    color: white;
    cursor: pointer;
}
.my-square {
    margin-bottom: 5px; 
    margin-right: 10px;
    width: 1em;
    height: 1em;
}
.jumbotron {
    background-color: #8f000008;
}

.table-responsive {
    width: 550px!important;
    height: auto;
}
#pie-chart {
    width: 100%;
}

#btnX {
    height: 15px;
    text-align: right;
}

#saznajteBtnX {
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
}

.list-group-flush li:first-of-type {
    display: none;
}

#second2 div:first-of-type {
    flex-basis: 100%;
}

#second2 div {
    flex-basis: 45%;
}

#map {
    flex-basis: 100%;
}
.linija {
  
    display: none;
}

@media only screen and (max-width: 1900px) {
    .table-responsive {
        width: 450px!important;
    }
}

@media only screen and (max-width: 1200px) {
    .mygrid-container{ 
        justify-content: space-between;
        margin:auto;
        flex-basis: 65%;
    }
    #mydiv {
        flex-basis: 30%;
    }

    .table-responsive {
        width: 450px!important;
    }
}
@media only screen and (max-width: 992px) {
    .divp { 
        flex-basis: unset;
    }
    .divpicture {
       margin: auto;
    }
    .myfooter-copyright div {
        text-align: center !important;
    }
    #mydiv {
        flex-basis: 35%;
    }
    .table-responsive {
        width: 100%!important;
    }
 }

 @media only screen and (max-width: 890px) {
    #mydiv {
        flex-basis: 100%;
    }
    .mycol-sm {
        flex-basis: 33%;
    }
    .mygrid-container{ 
        flex-basis: 90%;
    }
 }
 @media only screen and (max-width: 768px) {
    .mygrid-container{ 
        flex-basis: 100%;
    }
    
}
 
 @media only screen and (max-width: 600px) {
    .mycol-sm {
        flex-basis: 100%;
    }
     .divpicture, .divp { 
           flex-basis: 100%;
           margin: auto;
 }
     .picture {
        margin-top: 20px;
         width: 380px;
         object-fit: cover;
     }

     .mojalista {
         width: 120px;
         text-align: center !important;
         padding: 5px;
         font-size: 11.5px;
         margin: 1px;
     }

     .bijelo {
        font-size: 11px !important;
        width: 1.2rem;
        height: 1.2rem;
     }

    .mygrid-container{ 
        flex-basis: 100%;
        justify-content: center;
    }
    #mydiv {
        flex-basis: 100%;
    }
    .flex-map2 span {
        flex-basis: 100%;
    
    }
    
 }

 @media (min-width: 576px) {
.modal-dialog {
    max-width: 1000px;
}}
 
 @media only screen and (max-width: 420px) {
    .simbologija div {
        flex-basis: 100%!important;
    }
    .picture {
       
        width: 300px;
        object-fit: cover;
    }
     .kartica {
         flex-basis: 100%;
         margin: 5px;
    }
    
     .flex div {
         flex-basis: 100%!important;
         text-align: left!important;
    }
 
     .flex div p:first-of-type {
         font-size: 13px!important;
    }
    .flex div p:nth-of-type(2) {
         font-size: 18px!important;
    }

     .myfooter-copyright div {
         flex-basis: 100%;
         margin: 7px;
     }

    .mygrid-container{ 
        justify-content: center;
    }
    .mojul {
        justify-content: unset;
    }  

    .myh1_homepage {
        font-size: 2rem;
    }
 }

 @media only screen and (max-width: 360px) {
    .mojul {
        margin: unset;
    }    
    .div_pie-chart {
        width: 100%!important;
        height: auto;
    }
 }

 /*
 .skala_ugrozenosti {
    display: flex;
    padding: 3px;
    justify-content: space-evenly;
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 5px;
}
.kategorija_ugrozenosti {
    width: 95px;
    color: white;
    text-align: center; 
    margin: auto;
}
.grey_kategorija {
    background-color: grey;
    line-height: 20px;
}

.black_kategorija {
    background: black;
    line-height: 40px;
}
.ostale_kategorija {
    color: black;
}

.skala_ugrozenosti_div {
    display: flex;
    justify-content: space-evenly;
    border-top: 1.5px solid;
    border-bottom: 1.5px solid;
    position: relative;
}

.odabrana_kategorija {
    height: 90px; 
    background: #8f0000 linear-gradient(to bottom right, #8f0000 55%, black); border-radius: 50%;
    display: inline-flex;
    align-items: center;
    overflow: visible;
    border-top-right-radius: 1px;
    position: absolute;
    top: -45px;
    left: 10px;
    justify-content: center;
}
 
 */

<<<<<<< HEAD
 #container{
    text-align: center;
}

button {
    display: inline-block;
  }
=======
 #second2_javni {
     float:left;
 }
>>>>>>> ds-1
