div#last-modify-warning {
    background-color: #d70000;
    position: fixed;
    top: 126px;
    right: 188px;
    height: max-content;
    z-index: 2;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 255ms ease 0ms, visibility 0ms linear 255ms;
}
div#last-modify-warning.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 255ms ease 0ms, visibility 0ms linear 0ms;
}
div#last-modify-warning.orange {
    background-color: #de4e02;
}
div#last-modify-warning.green {
    background-color: #008e00;
}
div#last-modify-warning > div {
    height: 100%;
    width: 100%;
    line-height: 24px;
    font-size: 18px;
    color: #fff;
}
div#last-modify-warning > div > div {
    padding: 16px;
    height: 100%;
    height: 56px;
}
div#last-modify-warning > div > div.text {
    float: left;
}
div#last-modify-warning > div > div.button {
    float: right;
    width: 56px;
    cursor: pointer;
    background-image: url(/include/media/icons/zatvorit-biela.svg);
    background-position: center;
    background-repeat: no-repeat;
}

div#release {
    position: fixed;
    top: 126px;
    right: 18px;
    height: 56px;
    background-color: #565656;
    border-radius: 8px;
    z-index: 2;
}
div#release > div {
    color: #fff;
    padding: 16px 24px;
    line-height: 24px;
    cursor: pointer;
}
div#release > div > div {
    cursor: pointer;
}

div#release-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.26);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 255ms ease 0ms, visibility 0ms linear 255ms;
}
div#release-dialog > div {
    float: left;
    top: 50%;
    left: 50%;
    width: min-content;
    max-width: 80vw;
    min-width: 480px;
    min-height: 280px;
    max-height: 80vh;
    border: 1px solid #bcbcbc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: #0004 0px 16px 56px -16px;
    transform: translate(-50%, -50%);
}
div#release-dialog > div > div {
    float: left;
    width: 100%;
}
div#release-dialog > div > div.content {
    padding: 24px 24px 56px 24px;
}
div#release-dialog > div > div.content > div {
    float: left;
    width: 100%;
}
div#release-dialog > div > div.content > div > div.list {
    width: max-content;
    max-width: 100%;
}
div#release-dialog > div > div.content > div > div.list > ul {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}
div#release-dialog > div > div.content > div > div.list > ul > li {
    margin-bottom: 12px;
    overflow: hidden;
}
div#release-dialog > div > div.content > div > div.list > ul > li > span {
    position: relative;
}
div#release-dialog > div > div.content > div > div.list > ul > li > span.left {
    display: inline-block;
    padding-right: 8px;
    margin-right: 48px;
    background-color: #fff;
    z-index: 1;
    word-break: break-all;
}
div#release-dialog > div > div.content > div > div.list > ul > li > span.right {
    float: right;
    padding-left: 8px;
}
div#release-dialog > div > div.content > div > div.list > ul > li > span.right::before {
    content: "";
    width: 100vw;
    height: 100%;
    position: absolute;
    top: -4px;
    right: 100%;
    z-index: 0;
    border-bottom: 2px dotted #aaa;
}
div#release-dialog > div > div.content > div.title {
    font-size: 19px;
    line-height: 24px;
    padding-bottom: 24px;
}
div#release-dialog > div > div.content > div.text {
    max-height: calc(80vh - 130px);
    overflow-y: auto;
}
div#release-dialog > div > div.buttons {
    position: absolute;
    height: 56px;
    bottom: 0;
}
div#release-dialog > div > div.buttons > div {
    float: left;
}
div#release-dialog > div > div.buttons > div {
    height: 42px;
    width: initial;
    border-radius: 8px;
    padding: 9px 16px;
    float: right;
    margin: 7px;
    cursor: pointer;
    padding-right: 48px;
    cursor: pointer;
}
div#release-dialog > div > div.buttons > div:hover {
    background-color: #efefef;
}
div#release-dialog > div > div.buttons > div > div {
    font-size: 16px;
    line-height: 24px;
    color: #444;
    padding: 0px;
    cursor: pointer;
}
div#release-dialog > div > div.buttons > div > span {
    position: absolute;
    top: 0;
    right: 4px;
    height: 42px;
    width: 42px;
    padding: 9px;
    box-sizing: border-box;
}
div#release-dialog > div > div.buttons > div.hidden {
    display: none;
    visibility: hidden;
}
div#release-dialog.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 255ms ease 0ms, visibility 0ms linear 0ms;
}

div#main-page > div#main-left-column {
    transition: background-color 255ms linear 0ms;
}
div#main-page > div#main-left-column.red {
    border-left: 8px solid #d70000;
}
div#main-page > div#main-left-column.orange {
    border-left: 8px solid #de4e02;
}
div#main-page > div#main-left-column.green {
    border-left: 8px solid #008e00;
}

@media screen and (max-width: 640px){
    div#last-modify-warning {
        width: calc(100% - 152px);
    }
    div#last-modify-warning > div > div.text {
        max-width: calc(100% - 72px);
    }
    div#main-page > div#main-content > div#main-page-wrapper > div > div img {
        max-width: 90%;
        max-height: calc(90vh - 120px);
    }
    div#main-head > div#release {
        top: 76px;
    }
    div#release-dialog > div {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        max-width: initial;
        min-width: initial;
        min-height: initial;
        max-height: initial;
        border: initial;
        border-radius: initial;
        box-shadow: none;
        transform: none;
    }
    div#release-dialog > div > div.content > div > div.list {
        width: 100%;
    }
    div#release-dialog > div > div.content > div > div.list > ul {
        padding: 0;
    }
    div#release-dialog > div > div.content > div > div.list > ul > li > span.left {
        margin: 0;
    }
    div#release-dialog > div > div.content > div.text {
        max-height: calc(100vh - 130px);
    }
}