/* Basic functions and setters */

:root {

    /* color scheme */

    --svetla: #CEE3ED;
    --srednja: #A2C6D8;
    --temna: #004F76;
    --bela: #FFFFFF;
    --crna: #000000;
    --siva: #EEEEEE;
    --najsvetlejsa: #F2F6F7;
    --temna-naslovov: #807B75;
    --error-red: #e96b6b;
    --valid-green: #18bc9c;
    --lighter-error-red: #FFCCCC;
    --disabled-color: #F6F6F6;
    --green-login: #C3E1B0;
    --indicator-green: #49AC4C;
    --indicator-red: #DC6040;
    --indicator-gray: #D8D5D2;
    --crna-opacity: #00000011;
    --bela-opacity: #FFFFFF44;

    --temna-zelena: #04421D;
    --srednja-zelena: #DAE0C4;
    --svetla-zelena: #EAEBDD;
    --najsvetlejsa-zelena: #F4F8F4;
    --unactive: #95a59a;
    --unactive-grey: #757575;
    --temna-siva: #343434;
    --srednja-siva: #bcbcbc;
    --svetla-siva: #f1f1f1;

    /* VKJ colors */
    --vkj-red: #EB333A;
    --vkj-green: #43B327;
    --vkj-yellow: #F9AA27;

    /* Nutri-score colors */
    --ns-a: #038141;
    --ns-b: #85BB2F;
    --ns-c: #FECB02;
    --ns-d: #EE8100;
    --ns-e: #E63E11;

    /* width, padding and text formating */
    --min_width: 171px;
    --left-padding: 6px;
    --line-height:15px;

    /* text styles */
    --semiBold: normal normal 600 14px/15px Montserrat-SemiBold;
    --semiBoldAdjusted: normal normal 600 12px/15px Montserrat-SemiBold;
    --bold: normal normal 600 14px/15px Montserrat-Bold;
    --userInitials: normal normal 600 13px/13px Montserrat-SemiBold;
    --userInitialsSmaller: normal normal 600 11px/11px Montserrat-SemiBold;
    --iconLetter: normal normal 600 11px/11px Montserrat-Bold;
    --semiBoldHeader: normal normal 600 9px/10px Montserrat-SemiBold;
    --titleBold: 15px Montserrat-ExtraBold;
    --openSansBold: normal normal bold 12px/25px OpenSans-Bold;
    --openSansBoldAdjusted: normal normal bold 10px/15px OpenSans-Bold;
    --openSansRegular: normal normal normal 12px/25px OpenSans-Regular;
    --openSansRegularAdjusted: normal normal normal 11px/25px OpenSans-Regular;
    --openSansRegularCompact: normal normal normal 12px/15px OpenSans-Regular;
    --openSansRegularHalfCompact: normal normal normal 12px/20px OpenSans-Regular;
    --openSansRegularIndicatorMark: normal normal normal 11px/14px OpenSans-Regular;
    --openSansRegularTen: normal normal normal 10px/14px OpenSans-Regular;
    --montSeratRegularTitle: normal normal normal 22px/23px Montserrat-Regular;
    --montSeratRegularTitleAdjusted: normal normal normal 18px/16px Montserrat-Regular;
    --montSeratRegularNormal: normal normal 600 14px/15px Montserrat-Regular;
    --montSeratRegularNormalAdjusted: normal normal 600 12px/15px Montserrat-Regular;
    --montSeratRegularNormalAdjustedHeader: normal normal 600 12px/13px Montserrat-Regular;
    --montSeratRegularSubTitle: normal normal normal 25px/30px Montserrat-Regular;
    --montSeratRegularSubTitleAdjusted: normal normal normal 19px/22px Montserrat-Regular;
    --montSeratRegular: normal normal normal 11px/14px Montserrat-Regular;
    --montSeratBoldTitle: normal normal bold 22px/22px Montserrat-Bold;
    --robotoRegular: 11px Roboto;
}

/* colors */
.najsvetlejsa {
    color: var(--najsvetlejsa-zelena) !important;
}

.svetla {
    color: var(--svetla-zelena) !important;
}

.srednja {
    color: var(--srednja-zelena) !important;
}

.temna {
    color: var(--temna-zelena) !important;
}

.bela {
    color: var(--bela) !important;
}
.temna-siva {
    color: var(--temna-siva) !important;
}

.crna {
    color: var(--crna) !important;
}
.indicator-red{
    color: var(--indicator-red) !important;
}
/* background colors */
/* colors */
.background-najsvetlejsa {
    background-color: var(--najsvetlejsa-zelena) !important;
}

.background-svetla {
    background-color: var(--svetla-zelena) !important;
}

.background-srednja {
    background-color: var(--srednja-zelena) !important;
}

.background-temna {
    background-color: var(--temna-zelena) !important;
}

.background-bela {
    background-color: var(--bela) !important;
}

.background-crna {
    background-color: var(--crna) !important;
}

.background-siva {
    background-color: var(--svetla-siva) !important;
}

.background-svetla-zelena {
    background-color: var(--svetla-zelena) !important;
}

.background-svetla-siva {
    background-color: var(--svetla-siva) !important;
}
.background-color-red{
    background-color: var(--error-red) !important;
}
.background-temna-siva {
    background-color: var(--temna-siva) !important;
}

.text-error-red{
    color: var(--error-red) !important;
}


.height-100{
    height:100%;
}

.width-100{
    width: 100%;
    border-spacing: 0;

}
.width-50{
    width: 50% !important;
}
.processing-image-div {
    position: fixed;
    top: calc(50vh - 110px);
    z-index: 101;
    left: calc(50vw - 110px);
    width: 220px;
    height: 220px;
    border-radius: 120px;
    opacity: 1 !important;
    background-color: transparent;
}

.mark  {
    background-color: var(--svetla-zelena);
    padding: 0;
}

html {
    height: 100%;
}

body {
    margin: 0px;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}


/* column look */

.col {
    display: flex;
    flex-direction: column;
}


.hidden {
    display: none !important;
}

/* to see boxes */

.borderstyle {
    border-style: groove;
}


/* centering */

.centering-all {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* align-items */

.align-items-center {
    display: flex;
    align-items: center;
}

.align-items-start {
    display: flex;
    align-items: flex-start;
}


/* justify content */

.justify-content-start {
    display: flex;
    justify-content: flex-start;
}

.justify-content-end {
    display: flex;
    justify-content: flex-end;
}

.justify-content-center {
    display: flex;
    justify-content: center;
}

.justify-content-between {
    display: flex;
    justify-content: space-between;
}

.justify-content-evenly {
    display: flex;
    justify-content: space-evenly;
}

.justify-content-around {
    display: flex;
    justify-content: space-around;
}


/* align things in a row */

.row {
    display: flex;
    flex-direction: row;
}


/* HEADER */

.header-properties {
    overflow: hidden;
    height: 42px;
    background-color: var(--temna-zelena);
}

.nav-element:hover {
    border-top: 3px solid;
}

.nav-element-selected {
    float: left;
    font: var(--semiBold);
    padding-top: 11px;
    padding-right: 3px;
    padding-left: 3px;
    margin-left: 60px;
    color: var(--bela);
    border-top: 3px solid;
}

.logo {
    /* margin: 2px 7px 0px 19px; */
    float: left;
    margin-left: -18px;
    margin-top: 4px;
    width: 174px;
    /* max-width: 100px; */
}
@media only screen and (max-width: 1550px) {
    .logo {
        /* margin: 2px 7px 0px 19px; */
        float: left;
        margin-left: -18px;
        margin-top: 0px;
        width: 174px;
        /* max-width: 100px;*/

    }
}

.title {
    margin-left: 10px;
    float: left;
    max-width: 100px;
    align-self: center;
    font: var(--titleBold);
    color: var(--bela);
}

.im-normal {
    float: left;
    margin-right: 11px;
}

.im-special {
    float: left;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-right: 11px;
}

.nav-element {
    float: left;
    font: var(--semiBold);
    padding-top: 11px;
    padding-right: 3px;
    padding-left: 3px;
    margin-left: 60px;
    color: var(--bela);
    border-top: 3px solid transparent;
}

.menu-button {
    align-self: center;
    background-color: var(--temna-zelena);
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    border: none;
    cursor: pointer;
    height: 100%;
}

.menu-button-img {
    width: 25px;
    height:100%;
}

.menu-button-img {
    width: 25px;
    height: 25px;
}

.menu-button:hover,
.menu-button:focus {
    outline: none;
}


.dropdown-menu {
    height: 100%;
    float: right;
    display: flex;
}

.new_dropDown {
    display: none;
    /*right: 10px;*/
    /*top: 86px;*/
    position: absolute;
    background-color: var(--temna-zelena);
    min-width: 209px;
    min-height: 116px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    text-align: right;
}

.new_dropDown a {
    font: var(--semiBold);
    color: var(--srednja-zelena);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.new_dropDown a:hover{
    color: var(--temna-zelena);
    background-color: var(--srednja-zelena);
}

.dropdown-content {
    display: none;
    right: 10px;
    top: 47px;
    position: absolute;
    background-color: var(--temna-zelena);
    border: 1px solid var(--temna-zelena);
    min-width: 126px;
    min-height: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 5;
    text-align: left;
}

.dropdown-content a {
    /*font: var(--semiBold);
    color: var(--bela);*/
    padding: 0px 5px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    color: var(--temna-zelena);
    background-color: var(--srednja-zelena);
}

.dropdown-logout-styling {
    min-height: 25px;
    line-height: 25px !important;
    text-decoration: none;
    color: var(--srednja-zelena);
    font: var(--montSeratRegularNormal);
}

.navigation-color {
    stroke: var(--temna-zelena);
    stroke-width:3;
}

.show {
    display: block;
}

.half-width{
    width: 50% !important;
}

.line-height-25 {
    line-height: 25px !important;
}
.line-height-15 {
    line-height: 15px !important;
}

.dropdown-content-styling {
    border: 1px solid var(--temna-zelena);
    background-color: var(--temna-zelena);
    min-width: 144px;
    color: var(--srednja-zelena);
    min-height: fit-content;
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
    z-index: 5;
    position:absolute;
}

.zivila-more {
    left: auto !important;
    right: 105px;
    top: 140px !important;
}

.oznake-more {
    right: 56px;
    top: 140px;
}

.components-more {
    right: 65px;
    top: 140px;
}

.components-more > button {
    min-height: 25px;
}

.dropdown-styling:hover {
    background-color: var(--svetla-zelena) !important;
    border: 1px solid var(--svetla-zelena) !important;
}

.dropdown-icon-styling {
    width: 15px;
    height: 15px;
    margin: auto 10px auto 0;
}

.dropdown-icon-styling.icon-on-top {
    display: none;
}

.dropdown-text-centering {
    margin: auto 0;
}

.hover_over {
    padding-left:5px;
    text-decoration:none;
    color: var(--srednja-zelena);
    font: var(--montSeratRegularNormal);
    min-width: 126px;
    min-height: 25px;
}

.hover_over.disabled {
    opacity:0.5;
}

.hover_over.disabled:hover {
    opacity:0.5;
    background-color: var(--temna-zelena);
    color: var(--svetla-zelena);
}

.hover_over:hover {
    background-color: var(--srednja-zelena);
    color: var(--temna-zelena);
}

.hover_over:hover .dropdown-icon-styling.icon-on-top {
    display: block;
}

.hover_over:hover .dropdown-icon-styling {
    display: none;
}

/* LOGIN */


/* the calc takes into consideration the header so we take 100vh - the header to fill the entire canvas */

.main-container {
    height: calc(100vh - 47px);
}

#secondtable {
    width: 100vw;
}

.max-width {
    width: 100%;
}

.header-checkbox {
    visibility: hidden;
    position: absolute;
}

.pointer {
    cursor: pointer !important;
}

input:focus {
    outline: none;
}

input[type="checkbox"]:disabled {
    background-color: var(--svetla-siva) !important;
    cursor: default;
}

input[type="radio"]:disabled {
    background-color: var(--svetla-siva) !important;
    cursor: default;
    opacity: 0.5;
}

input[readonly="readonly"] {
    background-color: var(--svetla-siva);
    cursor: default;
}

div.contains-input-styling:has(input:disabled) {
    background-color: var(--svetla-siva) !important;
    cursor: default;
}

select.groups:disabled {
    background-color: var(--svetla-siva) !important;
    cursor: default;
}

textarea[readonly="readonly"] {
    background-color: var(--svetla-siva) !important;
    cursor: default;
    opacity: 0.5;
}

/* background-image: url("../ikone/user.png"); */


/* COMPONENTS */


/* these classes will be used to display or hide content containers the content container is the visible class */

.grid-hidden-class {
    display: none;
}

.grid-swap-class {
    display: none;
}

.missing-database-class {
    display: none;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: 16.667% 16.667% 16.667% 16.667% 16.667% 16.667%;
    grid-gap: 0px;
}

.components-wrapper {
    width: 100%;
    height: calc(100vh - 40px);
}

.left-side-mapper {
    width:fit-content;
    z-index: 100;

}

.opacity-fifty {
    opacity: 50%;
}

.progress-wrapper {
    background-color: var(--svetla-zelena);
    height: 40px;
    display:flex;
    border-bottom: 1px solid var(--temna-zelena);
}

.small-tabs {
    display: flex;
}

#add_new_food {
    display: flex;
}

.progress-bar {
    margin-left: 20%;
}
.move-right-button {
    position: fixed;
    z-index: 1000;
    bottom: 40vh;
    right: 0px;
    cursor: pointer;
    opacity:0.5;
}
.move-left-button {
    position: fixed;
    z-index: 1000;
    bottom: 40vh;
    left: 16.5vw;
    cursor: pointer;
    opacity: 0.5;
}
.move-left-button.main {
    left: 16.7vw;

}
.move-left-button:hover {
    opacity: 1;
}

.move-right-button:hover {
    opacity:1
}



#big-confirm-button  button {
    outline: none;
    background-color: var(--bela);
    border: none;
    padding: 0px;
    cursor: pointer;

}

/* Removed this since the logo is no longer round */
/*#logo{
    border-radius: 20px;
}*/

.counter {
    float: left;
}

.counter p {
    float: left;
    font: var(--semiBold);
    color: var(--temna-zelena);
    margin-right: 3px;
}

#counter-logo {
    /*width: 19px;*/
    /*height: 19px;*/
    margin-right: 30px;
}
#second-counter-logo {
    /*width: 19px;*/
    /*height: 19px;*/
    margin-right: 15px;
}

.arrow-right {
    float: right;
    margin-right: 15px;
    /*margin-top: 12px;*/
    cursor: pointer;
}

/* for OPKP progress bar */

.progress-bar-element {
    border-top: 4px solid var(--srednja-siva);
    display: flex;
    font: var(--semiBold);
    color: var(--temna-zelena);
    margin-top: -13px;
}

.progress-bar-element.oznake {
    height: 23px;
}

.progress-bar-element.with-border {
    border-top: 4px solid var(--srednja-siva);
}

/* temporarily hiding border but leaving 'with-border' class present to know that this element is 'selected' */
.progress-bar-element.with-border.hidden-border {
    padding-top: 4px;
    border-top: none !important;
}

.progress-bar-element.no-border {
    border-top: none;
    margin-top: -9px;
}

.progress-bar-element div {
    display: flex;
    margin-top: 5px;
    background-color: var(--srednja-zelena);
    width: 48px;
    height: 19px;
    padding-left: 6px;
    padding-right: 5.8px;
}

hr {
    float: left;
}

.confirmation {
    background-color: var(--svetla-zelena);
}

#confirm-img{
    width: 30px;
}

.progress-bar-container {
    width: 100%;
    display:flex;
    min-width:838px;
    margin-left:75px;
    /*padding-top:10px;*/
}

.no-text-decoration {
    text-decoration: none;
}

.no-link {
    text-decoration: none;
    float: left;
    font: var(--semiBold);
    color: var(--temna-zelena);
    margin-right: 4px;
    margin-bottom: 3px;
}

#delete {
    float: left;
    /*margin-top: 23px;*/
    margin-left: 15px;
    cursor: pointer;
}
.global-search {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0px;
    background-color: var(--bela);
}

#confirm {
    float: left;
    /*margin-top: 8px;*/
    margin-left: 10px;
    border: none;
    outline:none;
    cursor: pointer;
    background-color: var(--svetla-zelena);
}

.delete-input-buttons {
    border: none;
    outline:none;
    cursor: pointer;
    width: 25px;
    background-color: var(--bela);
}

.delete-input-buttons.pos-absolute {
    right: 0;
}

.selection-text-mapper {
    letter-spacing: 1.5px;
    color: var(--temna-zelena);
    opacity: 1;
    font: var(--semiBold);
    letter-spacing: 1.5px;
}

.margin-right-10{
    margin-right:10px;
}
.margin-bottom-10{
    margin-bottom:10px;
}

.margin-right-15{
    margin-right:15px;
}


.logo-images {
    width: 24px;
    height: 24px;
    margin-left: 15.5px;
    margin-right: 12.5px;
}
.logo-images2 {
    width: 30px;
    height: 13px;
    margin-right: 12.5px;
}

/* The alert message box */


.grid-container {
    display: grid;
    grid-column-gap: 0px;
    grid-template-columns: auto auto auto auto;
}

.delete-current-search {
    background-color: var(--bela);
    border:none;
    outline: none;
    visibility: hidden;
    cursor: pointer;
    padding:0px;
}

.search-bar {
    height: 100%;
    width: 78%;
    min-width: 104px;
    border-style: none;
    background-color: var(--bela);
    margin-left: 14px;
    z-index: 0;
    font: var(--openSansBold);
    color: var(--temna-siva);
}

.search-icon-container {
    height: 100%;
    width: 22%;
    min-width: 92px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.progress-bar-icon {
    width:12.12px;
    height:9.02px;
    visibility: hidden;
}

.content-wrapper {
    width: 100%;
    height: calc(100vh - 83px);
}

.content-container {
    display: inline-block;
    /*min-width: 320px;*/
    /* width: 16.7%;*/
    /*height: 87vh;*/
    border: solid var(--temna-zelena) 1px;
    border-right: none;
}

.content-container-opkp {
    display: inline-block;
    /* width: 16.7%;*/
    /*height: 87vh;*/
    height: calc(100vh - 84px);
    border: solid var(--temna-zelena) 1px;
    border-right: none;
}

.content-container-opkp.editor {
    border: none;
}

.content-container-head {
    display: flex;
    height: 106px;
    background-color: var(--srednja-zelena);
}

.content-container-head.editor {
    border-right: solid var(--temna-zelena) 1px;
    height: 100px;
}

.editor-margin {
    margin-bottom: 11px;
}

.content-container-head.selected-component {
    display: flex;
    /*height: 110px;*/
    background-color: var(--temna-zelena);
}

.selected-components-scroll {
    height: 46px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.hide-elements {
    visibility: hidden;
}

/* when we select an element */

.content-container-head-database {
    font: var(--montSeratRegularTitle);
    letter-spacing: 0.82px;
    color: var(--temna-siva);
    margin-left: 14px;
    margin-top: 8px;
    margin-bottom: 3px;
    width: 32%;
    min_width: 130px;
    max_width: 137px;

}


#add-to-database {
    width:17px;
    height: 17px;
    margin-left: 9px;
}

.content-container-head-tick {
    visibility: hidden;
    margin-right: 14px;
    width: 20%;
    min-width: 60px;
    /* align-items: center; */
    /* display: flex; */
}

.icon-small-delete {
    width: 17px;
}

.icon-db-presence {
    height: 17px;
}

.content-container-head-tick-opkp {
    visibility: hidden;
    margin-right: 20.03px;
    margin-top: 5px;
    width: 8%;
    min-width: 33.81px;
}

.small-question {
    font-family: OpenSans-Bold;
    color: var(--bela);
    cursor: pointer;
}

.header-logo{
    height: 42px;
    float:left;
}

.content-container-head-selected {
    visibility: hidden;
    font: var(--openSansBold);
    color: var(--bela);
    height: 12px;
    margin-bottom: 10px;
    margin-left: 14px;
}

.content-container-head-selected#selected-OPKP {
    height: 44px;
    margin-bottom: 0;
    overflow-y: scroll;
}

.added {
    font: var(--openSansBold);
    line-height: normal;
    color: var(--bela);
    min-height: 13px;
    height: unset;
    margin-bottom: 5px;
    margin-left: 14px;
    cursor: pointer;
}
.newAdded {
    cursor: pointer;
}

.content-container-content {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*height: 675px;*/
    height: calc(100vh - 190px);
    overflow-x: hidden;
    overflow-y: auto;
}


.content-container-search {
    display: flex;
    height: 30px;
    border-bottom: var(--temna-zelena) solid 2px;
    border-top: var(--temna-zelena) solid 1px;
    background-color: var(--bela);
    z-index: 1;
}

.content-container-search.editor {
    margin-top: 18px;
}

.search-icon-container img {
    width: 19px;
    height: 19px;

}

.search-bar-icons-loop {
    margin-right: 5px;
}

/* SCROLL BAR */

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    background-clip: padding-box;
    -webkit-border-radius: 10px;
    background-color: var(--temna-zelena);
}

.table-left-junior::-webkit-scrollbar-thumb {
    background-color: var(--temna-zelena);
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* white scrollbar thumb because background is white */
.selected-components-scroll::-webkit-scrollbar-thumb {
    background-color: white;
}


/* search input */

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}


/* SELECTION */

.content-container-content input[type="radio"] {
    visibility: hidden;
    position: absolute;
}

.content-container-content input[type="checkbox"] {
    visibility: hidden;
    position: absolute;
}

.chebi-logo {
    width:24px;
    height: 24px;
}

.general-hover{
    font: var(--montSeratRegularNormal);
    color: var(--temna-zelena);
}

.general-hover:hover{
    background-color: var(--temna-zelena) !important;
    color: var(--bela);
}


.opkp-row {
    border-bottom: var(--srednja-siva) solid 1px;
    padding-left: var(--left-padding);
}

.opkp-row:hover {
    background-color: var(--temna-zelena) !important;
    color: var(--bela);
}

.opkp-row:hover label {
    background-color: var(--temna-zelena) !important;
}

/* TODO make height dynamic for first mapper view */
.content-container-content label {
    padding-left: 4px;
    padding-bottom: 2px;
    padding-top: 2px;
    float: left;
    width: 99.1%;
    min-height: 23px;
    display: inline-block;
    font: var(--openSansRegularCompact);
    display:flex;
    align-items:center;
}


.content-container-content.editor.col label {
    width: calc(100% - 51px) !important;
    border-bottom: none !important;
}

.content-container-content label:hover {
    cursor: pointer;

}
.content-container.editor {
    border:  none;
}

.content-row {
    border-right: solid var(--srednja-siva) 1px;
    visibility: visible;
}

.content-row.components:nth-child(odd),
.content-row.components:nth-child(odd) > .row > label,
.content-row.components:nth-child(odd) > .row > button {
    background-color: var(--svetla-siva) !important;
}

.content-row.components {
    border-bottom: 1px solid var(--srednja-siva);
}

.ending-content-row {
    border-right: solid var(--svetla-siva) 2px;
}

.new-background-color {
    background-color: var(--svetla-siva) !important;
}

.content-container-content.editor label {
    align-items: center;
    padding-bottom: 5px;
    display: flex;
    padding-top: 5px;
    height: 24px;
    min-height: 0px;
    border-bottom: var(--srednja-siva) solid 1px;
    cursor: initial;
}

.content-container-content.editor label:hover {
    cursor: pointer;
    background-color: var(--bela);
    color: var(--crna);
}

.content-container-content input[type="radio"]:checked+label {
    background-color: var(--temna-zelena);
    color: var(--bela);
}

.content-container-content.editor input[type="radio"]:checked+label {
    background-color: var(--bela);
    color: var(--crna);
}


.content-container-content input[type="checkbox"]:checked+label {
    background-color: var(--temna-zelena);
    color: var(--bela);
}

/* need this for the editor */
.content-container-content.editor input[type="checkbox"]:checked+label {
    color: var(--crna);
    background-color: var(--bela);
}

/* mapper components editor */

/* class for coloring bottom border */
.bottom-border-style-whitespace {
    border-bottom: none !important;
}

.delete-saved-icon {
    width: 11px;
    height: 11px;
}

.bottom-without-padding {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    height: 0px !important;
    cursor: initial !important;

}

.bottom-without-padding:hover{
    color: var(--bela) !important;
    background-color: var(--bela) !important;
}

.opkp-class-barva {
    color: var(--temna-siva);
}

.comment_field {
    margin-left:10px;
    height: 12px;
}

.align-self-center{
    display: flex;
    align-self: center;
}

.icon-margin-from-text {
    margin-right:5px;
    margin-left:2px;
    display: flex;
    height:21px;
    width: 21px;
    /*align-self: center;*/
}

.icon-dimensions-groups {
    width: 21px;
    height: 21px;
}

/* (320x480) iPhone (Original, 3G, 3GS) */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    /* insert styles here */
}


/* (320x480) Smartphone, Portrait */

@media only screen and (device-width: 320px) and (orientation: portrait) {
    /* insert styles here */
}


/* (320x480) Smartphone, Landscape */

@media only screen and (device-width: 480px) and (orientation: landscape) {
    /* insert styles here */
}


/* (480x800) Android */

@media only screen and (min-device-width: 480px) and (max-device-width: 800px) {
    /* insert styles here */
}


/* (640x960) iPhone 4 & 4S */

@media only screen and (min-device-width: 640px) and (max-device-width: 960px) {
    /* insert styles here */
}


/* (720x1280) Galaxy Nexus, WXGA */

@media only screen and (min-device-width: 720px) and (max-device-width: 1280px) {
    /* insert styles here */
}


/* (720x1280) Galaxy Nexus, Landscape */

@media only screen and (min-device-width: 720px) and (max-device-width: 1280px) and (orientation: landscape) {
    /* insert styles here */
}


/* (1024x768) iPad 1 & 2, XGA */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* insert styles here */
}


/* (768x1024) iPad 1 & 2, Portrait */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    /* insert styles here */
}


/* (1024x768) iPad 1 & 2, Landscape */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    /* insert styles here */
}


/* (2048x1536) iPad 3 */

@media only screen and (min-device-width: 1536px) and (max-device-width: 2048px) {
    /* insert styles here */
}


/* (1280x720) Galaxy Note 2, WXGA */

@media only screen and (min-device-width: 720px) and (max-device-width: 1280px) {
    /* insert styles here */
}


/* (1366x768) WXGA Display */

@media screen and (max-width: 1366px) {
    /* insert styles here */
}


/* (1280x1024) SXGA Display */

@media screen and (max-width: 1280px) {
    /* insert styles here */
}


/* (1440x900) WXGA+ Display */

@media screen and (max-width: 1440px) {
    /* insert styles here */
}


/* (1680x1050) WSXGA+ Display */

@media screen and (max-width: 1680px) {
    /* insert styles here */
}


/* (1920x1080) Full HD Display */

@media screen and (max-width: 1920px) {
    /* insert styles here */
}


/* (1600x900) HD+ Display */

@media screen and (max-width: 1600px) {
    /* insert styles here */
    .content-container-content {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        /*height: 675px;*/
        /*height: 65.5vh;*/
        overflow-x: hidden;
        overflow-y: auto;
    }
}


.processing {
    background-color: var(--svetla-siva);
    z-index:2;
    opacity:0.3;
    pointer-events:none;
}

.clear-link {
    text-decoration: none;
}

.not-selected{
    background-color: var(--error-red) !important;
}

/* Error popup */

.error-text{
    position: absolute;
    margin-top: -55px;
    font-family: Montserrat-Regular;
    color: var(--temna-zelena);
    text-align: center;
}
.error-text-zivila {
    font-family: Montserrat-Bold;
    color: var(--temna-siva);
    text-align: center;
    height: 80%;
    width: 100%;
    z-index: 52;
    /*padding: 20px;*/
}
.error-text-zivila.povezovanje{
    height:60%;
}
.divide-line {
    height: 2px;
    width: 100%;
    background: var(--error-red);
}

.error-span-text {
    width: 90%;
    max-height: 90%;
    overflow: scroll;
}

.error-confirm-text-styling {
    font-family: Montserrat-Bold;
    color: var(--error-red);
    text-align: center;
}

.error-confirm-div-styling {
    height: 19%;
    width: 100%;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

.error-confirm-div-styling:hover {
    background: var(--crna-opacity);
}

.error-confirm-div-styling.povezovanje{
    height:100%;
    width: 50%;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

.error-msg{
    position: absolute;
    min-width: 440px;
    min-height: 230px;
    width: 30%;
    height: 25%;
    bottom: calc(50% - 25% / 2);
    left: calc(50% - 30% / 2);
    background-color: var(--lighter-error-red);
    z-index: 100;
    border: 2px solid var(--error-red);
    border-radius: 12px;
}
.error-msg.povezovanje{
    min-height: 430px;
    height: 33%;
}

.error-msg-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bela-opacity);
    top: 0px;
    left: 0px;
    z-index: 99;
}

.error-background-logo-styling {
    padding-top: 3%;
    height: 66%;
    position: absolute;
    opacity: 25%;
    z-index: 51;
}

/* Error popup */

.dialog-text{
    position: absolute;
    margin-top: -55px;
    font-family: Montserrat-Regular;
    color: var(--temna-zelena);
    text-align: center;
}
.dialog-text-zivila {
    font-family: Montserrat-Bold;
    color: var(--temna-siva);
    text-align: center;
    height: 80%;
    width: 100%;
    z-index: 52;
    /*padding: 20px;*/
}

.dialog-text-links {
    font-family: Montserrat-Bold;
    color: var(--crna);
}

.dialog-divide-line-horizontal {
    height: 2px;
    width: 100%;
    background: var(--temna-zelena);
}

.dialog-divide-line-vertical {
    height: 100%;
    width: 2px;
    background: var(--temna-zelena);
}

.dialog-span-text {
    width: 90%;
    max-height: 90%;
    overflow: scroll;
}

.dialog-answer-div-styling {
    height: 19%;
    width: 100%;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
    display: flex;
}

.dialog-confirm-text-styling {
    font-family: Montserrat-Bold;
    color: var(--error-red);
    text-align: center;
}

.dialog-confirm-div-styling {
    width: calc(50% - 1px);
    border-bottom-left-radius: 9px;
}

.dialog-reject-div-styling {
    width: calc(50% - 1px);
    border-bottom-right-radius: 9px;
}

.dialog-cancel-div-styling {
    width: 100%;
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
}

.symbol-dialog-cancel-div-styling {
    width: calc(50% - 1px);
    border-bottom-right-radius: 9px;
    border-bottom-left-radius: 9px;
}
.symbol-dialog-cancel-div-styling.zps {
    width: 100%;
}

.dialog-confirm-div-styling:hover {
    background: var(--crna-opacity);
}

.dialog-reject-div-styling:hover {
    background: var(--crna-opacity);
}

.dialog-cancel-div-styling:hover {
    background: var(--crna-opacity);
}

.symbol-dialog-cancel-div-styling:hover {
    background: var(--crna-opacity);
}

.dialog-msg{
    position: absolute;
    min-width: 440px;
    min-height: 230px;
    width: 20%;
    height: 25%;
    bottom: calc(50% - 25% / 2);
    left: calc(50% - 20% / 2);
    background-color: var(--svetla-zelena);
    z-index: 100;
    border: 2px solid var(--temna-zelena);
    border-radius: 12px;
}

.dialog-msg-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bela-opacity);
    top: 0px;
    left: 0px;
    z-index: 99;
}

.dialog-background-logo-styling {
    padding-top: 3%;
    height: 66%;
    position: absolute;
    opacity: 25%;
    z-index: 51;
}

.symbol-dialog-span-text {
    /* width: 90%; */
    max-height: 90%;
    margin-bottom: 5px;
    margin-top: 10px;
    text-align: left;
}


.general-filter-icon-size {
    width: 20px;
    height: 20px;
}

/* Small screen fixing (1280x820) */
@media only screen and (max-width: 1400px) {
    .progress-wrapper {
        overflow: hidden;
        min-width: 1260px;
    }

    .progress-bar-container {
        margin-left:10px;
    }


    .logo-images2 {
        margin-right: 5px;
    }
}


.disabled-element {
    background-color: var(--svetla-zelena);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pos-relative {
    position: relative;
}

.pos-absolute {
    position: absolute;
}

.dropdown-icon {
    right: 5px;
    top: 7px;
    pointer-events: none;
}

.mapper-dropdown-icon {
    top: 5px;
}

.komponente-multiple img {
    top: 10px;
}


/* CSS STYLE FOR CIRCLES WITH USER INITIALS */

.initials-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--srednja-zelena);
    border-radius: 50%;
    width: 23px;
    height: 23px;
    cursor: default;
    margin: auto 3px auto 3px;
}

.initials-wrapper.main{
    float:right;
    display:flex;
    margin: 8px 3px auto 3px;
}


.initials-wrapper.food-groups {
    width: 20px;
    height: 20px;
    margin: 0 3px auto 5px;
}

.initials-wrapper.components {
    width: 20px;
    height: 20px;
}

.initials-wrapper.food {
    margin: 11px 3px auto 5px;
}

.food-last-edited-div .initials-wrapper {
    margin: 2px 20px auto auto;
}

.initials-wrapper.components-detailed-edit {
    margin: 2px 3px auto 5px;
}

/* reset margin for initials-wrapper divs at Tezaver - Uporabniki table */
.initials-wrapper.left, .initials-wrapper.right {
    margin: unset;
}

.initials-wrapper.right {
    margin-left: 7px;
}

.user-initials {
    color: var(--temna-zelena);
    font: var(--userInitials);
}

.initials-wrapper ~ .table-text-color {
    width: unset;
}

.first-column.first.row:has(.initials-wrapper) {
    padding-left: 0;
}

.cursor-help {
    cursor: help;
}
.cursor-grab {
    cursor: grab;
}
.cursor-grabbing {
    cursor: grabbing;
}

.no-select {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.question-mark {
    font: var(--openSansBold);
    font-size: 15px;
}

.question-mark.dark {
    color: var(--temna-zelena);
}

.question-mark.light {
    color: var(--unactive);
}

.question-mark.components-editing {
    margin: 2px 0 0 1px;
}

.question-mark.tags-editing {
    margin: 0 0 -1px 1px;
}

label:has(.question-mark.components-linking) {
    margin: -3px 1px 0 1px;
}

/* Header adjustments for smaller screens */
@media (max-width: 1550px) {
    .content-wrapper {
        height: calc(100vh - 71px);
    }
    .logo-images {
        margin-left: 6px;
        margin-right: 5px;
    }
    /* first row */
    .header-properties {
        height: 35px;
    }

    .nav-element-selected, .nav-element {
        padding-top: 7px;
        margin-left: 40px;
        font: var(--semiBoldAdjusted);
    }

    .menu-button-img {
        width: 19.5px;
    }

    /* second row */
    .progress-wrapper {
        height: 35px;
    }

    .selection-text-mapper {
        font: var(--semiBoldAdjusted);
    }

    .logo-images {
        width: 19px !important;
    }

    .logo-images2 {
        width: 24px !important;
    }

    .icon-search {
        width: 18px;
    }

    .icon-result {
        width: 17.5px;
    }

    .small-tabs img {
        width: 18px;
    }

    .small-tabs.biorazpolozljivost img {
        width: 20px;
    }

    /* komponente - povezovanje */
    .head-title {
        height: 27px;
    }

    .selected-components-scroll {
        height: 20px;
    }

    .head-title-opkp {
        height: 28px;
    }

    .content-container-content {
        height: calc(100vh - 156px);
    }

    .content-container-opkp {
        height: calc(100vh - 72px);
    }

    .content-container-head, .content-container-head.editor {
        height: 80px;
    }

    .content-container-head-selected#selected-OPKP {
        height: 19px;
    }

    .content-container-search.editor {
        margin-top: -2px;
    }

    .content-container-head-tick-opkp {
        margin-top: 13px;
    }

    .content-container-head-tick {
        margin-top: 4px;
    }

    .content-container-head-database {
        font: var(--montSeratRegularTitleAdjusted);
    }

    #icon-arrow-right, #confirm-img {
        width: 25px;
    }

    #delete-img {
        width: 11px;
    }

    #counter-logo {
        width: 17.5px;
    }

    #second-counter-logo {
        width: 17px;
    }

    .global-search img, .search-icon-container img {
        width: 16px;
    }

    .delete-current-search img {
        width: 12px;
    }

    .search-icon-container {
        min-width: 75px;
    }

    .progress-bar-element {
        font: var(--semiBoldAdjusted);
        height: 18px !important;
    }

    .progress-bar-element div {
        width: 45px;
    }
    .initials-wrapper.main{
        float:right;
        display:flex;
        margin: 6px 3px auto 3px;
    }

    .zivila-more {
        top: 110px !important;
        right: 85px !important;
    }

    .components-more {
        top: 110px !important;
        right: 60px !important;
    }

    .oznake-more {
        top: 110px !important;
        right: 50px !important;
    }
}

/* 403 & 404 page */

.white-circle {
    background-color: var(--bela);
    width: 560px;
    height: 560px;
    border-radius: 50%;
    margin-left: -80px;
    margin-top: -20px;
}
.forbidden-atlas-logo {
    max-width: 100%;
    width: 345px;
    top: 59px;
    left: 20px;
}
.forbidden-circle-line {
    bottom: -20px;
    left: -80px;
    opacity: 75%;
}
.forbidden-circle {
    width: 482px;
    height: 482px;
    border: 2px solid var(--temna-zelena);
    border-radius: 50%;
    border-width: 39px;

}
.forbidden-line {
    width: 55px;
    height: 368px;
    background-color: var(--temna-zelena);
    top: 98px;
    right: 254px;
    transform: skewX(45deg);
}
.div-space-between {
    width: 620px;
}
.forbidden-container-form-box {
    width: 420px;
    height: 520px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.forbidden-title {
    font: normal normal bold 100px/12px Montserrat-Bold;
    color: var(--temna-zelena);
    opacity: 75%;
    top: 82px;
}
.forbidden-subtitle {
    font: normal normal bold 28px/12px Montserrat-Bold;
    color: var(--temna-zelena);
    opacity: 75%;
    top: 163px;
}
.forbidden-text-one {
    font: normal normal bold 18px/25px Montserrat-SemiBold;
    top: 237px;
    width: 315px;
}
.forbidden-text-two {
    font: normal normal bold 18px/25px Montserrat-SemiBold;
    top: 311px;
    width: 315px;
}
.forbidden-logout {
    top: 421px;
    background-color: var(--green-login);
    width: 190px;
    height: 45px;
    color: var(--bela);
    font: normal normal bold 24px/15px Montserrat-SemiBold;
    border-radius: 27px;
    text-decoration: none;
}
.all-elements {
    margin-left: 23px;
}

.question-mark-error {
    font-family: Superclarendon-Regular;
    right: 136px;
    top: -19px;
    color: var(--temna-zelena);
    font-size: 480px;
}

.gear-error {
    font-family: Superclarendon-Regular;
    right: 130px;
    top: 100px;
    color: var(--temna-zelena);
    font-size: 350px;
}

@media only screen and (max-width: 1600px) {
    .white-circle {
        background-color: var(--bela);
        width: 448px;
        height: 448px;
        border-radius: 50%;
        margin-left: -80px;
        margin-top: -20px;
    }
    .forbidden-atlas-logo {
        max-width: 100%;
        width: 276px;
        top: 47px;
        left: 0px;
    }
    .forbidden-circle-line {
        bottom: -12px;
        left: -80px;
        opacity: 75%;
    }
    .forbidden-circle {
        width: 370px;
        height: 370px;
        border: 2px solid var(--temna-zelena);
        border-radius: 50%;
        border-width: 39px;

    }
    .forbidden-line {
        width: 55px;
        height: 288px;
        background-color: var(--temna-zelena);
        top: 81px;
        right: 197px;
        transform: skewX(45deg);
    }
    .div-space-between {
        width: 450px;
    }
    .forbidden-container-form-box {
        width: 336px;
        height: 416px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
    .forbidden-title {
        font: normal normal bold 80px/12px Montserrat-Bold;
        color: var(--temna-zelena);
        opacity: 75%;
        top: 60px;
    }
    .forbidden-subtitle {
        font: normal normal bold 22px/12px Montserrat-Bold;
        color: var(--temna-zelena);
        opacity: 75%;
        top: 123px;
    }
    .forbidden-text-one {
        font: normal normal bold 15px/22px Montserrat-SemiBold;
        top: 184px;
        width: 263px;
    }
    .forbidden-text-two {
        font: normal normal bold 15px/22px Montserrat-SemiBold;
        top: 249px;
        width: 263px;
    }
    .forbidden-logout {
        top: 342px;
        background-color: var(--green-login);
        width: 150px;
        height: 39px;
        color: var(--bela);
        font: normal normal bold 17px/15px Montserrat-SemiBold;
        border-radius: 27px;
        text-decoration: none;
    }
    .all-elements {
        margin-left: 75px;
    }
    .question-mark-error {
        font-family: Superclarendon-Regular;
        right: 112px;
        top: -11px;
        color: var(--temna-zelena);
        font-size: 384px;
    }


    .gear-error {
        font-family: Superclarendon-Regular;
        right: 100px;
        top: 80px;
        color: var(--temna-zelena);
        font-size: 280px;
    }
}

.margin-0 {
    margin: 0px;
}
.opkp-input-fix {
    margin-top: 27px !important;
}
.komponente-opkp-button {
    margin-top: 2px;
}
@media only screen and (max-width: 1550px) {
    .opkp-input-fix {
        margin-top: 1px !important;
    }
    .margin-top-0 {
        margin-top: 0px;
    }
    .komponente-opkp-button {
        margin-top: -3px;
    }
}
.components-scroll {
    /*height: calc(100vh - 150px);*/
    height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}