#rendered-tool h2 {
    margin-bottom: 30px;
    text-align:center;
}

#rendered-tool p{
    font-size: 16px;
}

.container-fluid.content.tool-renderer {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-width: 800px;
    margin: 20px auto;
}

.question-container {
    background-color: #69c1cb;
    padding-top: 25px;
    padding-bottom: 25px;
}

#question-text {
    font-size: 1.25rem;
}

#main-question-container {
    color: #515151;
    text-align: center;
    padding: 0px 36px;
}

#buttons-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 24px;
}

#buttons-container button, #weight_form button {
    display: block;
    /*margin: 10px 0;*/
    padding: 10px 36px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#buttons-container button:hover {
    opacity: 0.8;
}


/* //kopirani stilovi */
.info-link svg:hover {
    opacity: 80%;
}
.info-link_p {
    display: inline;
}
.tool_table {
    text-align: center;
    margin-right: -10px;
    margin-left: -10px;    
    width: -webkit-fill-available;
}
.tool_table thead{
    background-color: #69C1CB;
    color: white;
}
.tool_table tbody{
    color: #7F7F7F;
    background-color: white;
}
.tool_table tbody tr:hover, .tool_table tbody tr:hover td{
    color: #2B2B2B;
}
.tool_table tbody .row_dark{
    background-color: #F6F6F6;
}
.tool_table tbody .row_legend{
    text-align: left;
}
.tool_table th, .tool_table td {
    width: 20%;
    padding: 5px 5px;
}
.tool_table td {
    border: 1px solid #e4e4e4;
}
.tool_table th {
    border: 1px solid #69C1CB;
}
.tool_table .table_titles{
    background-color: #69c1cb;
    color: #ffffff;
    font-weight: bold;
}
.tool_table tr.table_titles {
    color: #0F3B61;
}
#myWindow {
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#algorithm_img_large {
    box-shadow: 0 0 5px #ffffff;
}
#myContent {
    position: relative;
    display: flex;
    align-items: center;
}
#myContent img {
    display: block;
    width: auto;
    height: auto;
    margin: auto;
    align-self: center;
    flex-shrink: 0;
}
#myContent div {
    position: absolute;
    font-size: 80px;
}
.zoom_buttons {
    position: relative;
    top: -43px;
    display: inline-block;
    float: right;
    padding-right: 5px;
    z-index: 2;
}
.zoom_buttons button {
    width: 36px;
    height: 36px;
    padding: 0;
}
.zoomOut{
    margin-bottom: 3px;
}
.zoomIn{
    margin-bottom: 3px;
}
.zoom_buttons .btn-info {
    box-shadow: none!important;
    background-color: #959595!important;
    border: none;
}
.zoom_buttons .btn-info:hover {
    background-color: #B7B7B7!important;
}


/* tool-renderer/tool-renderer.css */
.modal_disclaimer {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 19999; /* Sit on top */
    padding-top: 160px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal_disclaimer_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
}
.modal_disclaimer_content h3 {
    margin-bottom: 15px;
    margin-top: 2px;
}
.modal_disclaimer_content p {
    text-align: left;
}
/* The Close Button */
.close_btn {
    padding: 7px 15px;
    border-radius: 5px;
    background-color: #45BCC9;
    color: white;
    text-transform: uppercase;
    border: none;
    margin-top: 10px;
    margin-bottom: 6px;
}
.close_btn:hover,
.close_btn:focus {
    background-color: #40aeba;
    cursor: pointer;
}

/* Algorithm image modal styles */
#algorithm_image_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 19999; /* Sit on top */
    padding: 5% 0;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    overflow: hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    height: 100%;
}
#algorithm_image_modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 5px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    text-align: left;
    height: 100%;
    padding: 0;
    max-height: 1000px;
}
#algorithm_image_modal_content .close_btn_uf {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    float: right;
    position: relative;
    right: 0;
    margin-bottom: -24px;
    z-index: 1;
    margin-right: 8px;
}
#algorithm_image_modal_content .close_btn_uf:hover,
#algorithm_image_modal_content .close_btn_uf:focus {
    opacity: 0.75;
    text-decoration: none;
    cursor: pointer;
}
#algorithm_image_modal_content img {
    width: 800px;
}
#myWindow {
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#algorithm_img_large {
    box-shadow: 0 0 5px #ffffff;
}
.zoom_buttons {
    position: relative;
    top: -43px;
    display: inline-block;
    float: right;
    padding-right: 5px;
    z-index: 2;
}
.zoom_buttons button {
    width: 36px;
    height: 36px;
    padding: 0;
}
.zoomOut {
    margin-bottom: 3px;
    background-color: white;
}
.zoomIn {
    margin-bottom: 3px;
}
.zoom_buttons .btn-info {
    box-shadow: none!important;
    background-color: #959595!important;
    border: none;
}
.zoom_buttons .btn-info:hover {
    background-color: #B7B7B7!important;
}

.button-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 0px 36px;
  }
  .button-column button {
    margin-right: 10px;
    background-color: transparent;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
  }
  .button-column span {
    margin: auto;
    word-wrap: break-word;
    color: #855254;
    font-weight: bold;
  }
  .button-column button:nth-child(1) {
    margin-right: 10px;
  }
  
  .button-column i {
    font-size: 20px;
  }
  .button-column button:nth-child(1) i {
    font-size: 18px;
  }
  .button-column button:hover {
    color: #dedede;
  }

  #diagram-image-btn {
    cursor: pointer;
  }

  .btn-extra-data__modal {
    background-color: #45bcc9;
    color: white;
  }

  .modal-close-btn {
    margin-top: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    z-index: 2;
  }

  .modal__content {
    color: #515151;
  }

  @media only screen and (max-width: 768px) {
    .pucai_curr_score {
      padding: 0 !important;
    }
  
    .modal_disclaimer_content {
      width: calc(100% - 30px);
    }
    .modal_disclaimer {
      padding-top: 90px;
      padding-bottom: 50px;
    }
  }

/** Animation */
.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.4s;
  }
  
  @keyframes fadeInOpacity {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

.zoom-in {
animation: animatezoom 0.5s;
}
@keyframes animatezoom {
from {
    transform: scale(0);
}
to {
    transform: scale(1);
}
}

@media only screen and (max-width: 992px) {
    body {
        line-height: 1.2;
    }

    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .row {
        margin: 0;
    }

    #main-question-container {
        padding: 0px;
    }

    .question-container {
        padding: 25px 15px;
    }

    #buttons-container {
        flex-direction: column;
        gap: 10px;
        width: max-content;
        margin: 24px auto auto auto;
    }

    .button-column {
        padding: 0;
    }

    #buttons-container button {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    #question-text {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 576px)  {
    #buttons-container button {
        max-width: 340px;
    }
}

@media only screen and (max-width: 380px)  {
    #buttons-container button {
        max-width: 300px;
    }
}

/* Tabs */
#tabs {
    border: none !important; 
    justify-content: center;   
}
#tabs .nav-item {    
    text-transform: uppercase !important;
    padding: 0.5px !important;
    box-shadow: none !important;
    text-align: center;
}
#tabs .nav-item .active {
    border: 1px solid white !important;
    background-color: #79C8D1 !important;
    color: white !important;
}
#tabs .nav-item .nav-link:hover {
    border: 1px solid !important;
    border-color: rgb(221, 221, 221) !important;    
    background-color: rgb(245, 245, 245) !important;
}
#tabs .nav-item .active:hover {
    border: 1px solid white !important;
    background-color: #79C8D1 !important;
    color: white !important;
}
#tabs .nav-link {
    padding: 14px 15px !important;
    background-color: #F4F1F4;
    color: #5D5A5C;
    border-radius: 0;
    border: 1px solid white;
}
#tabs .tab_size {
    min-height: 79px !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    flex-flow: column;
}

/*Table style*/
.hp-tool-table {
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 5px;    
}
.hp-tool-table thead {
    background-color: #79C8D1;
    color: white;
}
.hp-tool-table thead th {
    border: none !important;
}
.hp-tool-table tbody {
    color: #7F7F7F;
}
.hp-tool-table td {
    border: none !important;
}
.hp-tool-table .row-dark {
    background-color: #F6F6F6;
}
.hp-tool-table tbody tr:hover {
    color: #2B2B2B;
    cursor: pointer;
}
.hp-tool-table th,.hp-tool-table td {
    width:25%;
}