﻿.modal {
    word-wrap: break-word;
}

    .modal .modal-body {
        background: #f5f5f5;
        padding: 5px 35px 25px 35px;
        max-height: 450px;
        overflow-y: auto;
    }

.modal-permissions.change-permissions .modal-body {
    overflow: visible;
}

.modal .modal-body label {
    font-weight: normal;
    margin: 0;
}

.modal .modal-body .bc-checkbox label {
    margin-left: 15px;
}

.modal .modal-body.gallery {
    min-height: 100%;
    max-height: 100%;
}

.modal .modal-header {
    padding: 20px 30px;
    border-bottom: 0;
}

.modal .modal-content {
    border-radius: 0;
    border: 0;
    box-shadow: 0 0px 8px 2px rgba(24, 24, 24, .30);
}

.modal .modal-dialog {
    width: 900px;
    margin-top: 70px;
    margin-bottom: 0;
}

.modal .modal-title {
    font-size: 30px;
}

.modal .modal-description {
    font-size: 14px;
    color: #747474;
    margin: 0;
}

    .modal .modal-description p {
        margin: 0;
    }

.modal .modal-pagination {
    float: right;
    display: block;
}

.modal .modal-footer {
    padding: 25px 35px;
    border-top: 0;
}

/* Ne koristi se. Za modalni: id="path-selector" */

.modal .modal-dialog .panel {
    border: 0;
    box-shadow: 0 0 0;
    border-radius: 0;
    background: transparent;
}

.modal .modal-dialog .panel-body {
    padding: 0;
}

.modal code {
    height: 30px;
    line-height: 30px;
    padding: 0;
    background-color: transparent;
    color: #7fad5a;
    font-size: 14px;
    font-family: 'Source Sans Pro';
}

    .modal code b {
        color: #000;
    }

    .modal code.source-code {
        color: rgba(0, 0, 0, 0.3);
    }


/* OLD */

/* RENDER FORMS */

.modal .modal-body .formular-question-preview .formular-question-preview-description {
    color: #747474;
    font-size: 10px;
    margin: 0 0 5px;
    font-weight: normal;
    width: 100%;
}

.modal .modal-body .formular-question-preview .formular-question-preview-question {
    margin: 0;
    font-weight: bold;
}

.modal .modal-body .formular-header {
    display: none;
}

    .modal .modal-body .formular-header .formular-name {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: bold;
    }

    .modal .modal-body .formular-header .formular-description {
        height: auto;
        line-height: 14px;
        color: #888;
        font-size: 14px;
        font-weight: normal;
        margin: 0 0 40px;
    }

/* Add WATCHER directive */

.modal .bc-modal-attachment .upload {
    border: 0;
    padding: 0;
}

.modal .upload {
    width: auto;
    height: 30px;
    line-height: 30px;
    border: 1px solid #d1d1d1;
    margin-right: 10px;
    padding: 0 25px;
    background-color: #eee;
    display: inline-table;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

.modal input.input-upload {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    filter: alpha(opacity=0);
}

.modal .modal-footer .bc-link {
    line-height: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    float: left;
}

.modal .bc-text-editor .btn-toolbar {
    margin-top: 20px;
}

.modal-body .angucomplete-dropdown {
    max-height: 250px;
    overflow-y: auto;
}

.modal .user-perms-search .angucomplete-holder {
    margin-left: 0;
}

.modal-new-article .user-perms-search,
.modal-new-article .add-sistem-field {
    width: calc(100% - 135px);
}

    .modal-new-article .user-perms-search .angucomplete-holder {
        width: 100%;
    }

.modal-new-article .cs-input-number {
    margin-bottom: 20px;
    padding-left: 12px;
    background: #fff;
}

.modal .modal-body .button-text-header {
    margin-left: 7px;
}

.modal .modal-body label.option-button-gray {
    margin: 0;
}

.modal .same-line {
    margin: 0;
    vertical-align: top;
}

    .modal .same-line.user-perms-search {
        margin-bottom: 20px;
    }

.modal .page-top-bar-dropdown {
    margin: 0 0 20px 0;
}

.modal .watermark {
    top: 100px;
}

.modal .modal-body label.print-date-label {
    font-size: 14px;
    padding-top: 4px;
    margin: 0 10px 20px 0;
}

.bc-modal-body {
    width: 100%;
    margin: 0;
    padding-top: 15px;
}

.print-modal-date-picker {
    display: inline-block;
    margin: 0 7px 0 4px;
}

.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-paragraf,
.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-select,
.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-date,
.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-text {
    background-color: #eee;
}

.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-paragraf,
.modal .bc-modal-tabs .formular-question-preview .formular-question-preview-optional {
    margin: 0;
}

.bc-modal-tabs .bc-block-comment {
    padding: 10px 15px;
    /*border: 1px solid #dcdcdc;*/
    border-top: 0;
}

.bc-modal-tabs .nav-tabs {
    border: 0;
}

    .bc-modal-tabs .nav-tabs > li {
        margin-bottom: 0;
    }

        .bc-modal-tabs .nav-tabs > li > a {
            border: 0;
            border-radius: 0;
            color: #000;
        }

        .bc-modal-tabs .nav-tabs > li.active > a,
        .bc-modal-tabs .nav-tabs > li.active > a:focus,
        .bc-modal-tabs .nav-tabs > li.active > a:hover {
            border: 0;
        }

.modal .formSubmitted .form-control.form-render-required,
.modal .formSubmitted .form-render-required .form-control,
.modal .formSubmitted .form-render-required.cs-input-number,
.modal .formSubmitted .ng-invalid .form-control,
.modal .formSubmitted .ng-invalid .form-control {
    border: 1px solid red;
    box-shadow: 0 0 0;
}

.modal .formSubmitted .bc-required-field {
    background-color: #f5e9e9;
    border: 1px solid #c03131;
}

    .modal .formSubmitted .bc-required-field:focus {
        background-color: #fff;
        border: 1px solid #7fad5a;
    }

.modal .bc-input-white {
    width: 130px;
    margin-left: 10px;
}

    .modal .bc-input-white.ng-invalid-email {
        box-shadow: 0 0 0 1px red;
    }

    .modal .bc-input-white.bc-input-number {
        height: 30px;
        padding: 0 0 0 10px;
    }

    .modal .bc-input-white:focus.bc-input-number {
        box-shadow: 0 0 0;
    }

.modal .modal-new-article .bc-input-white {
    height: 30px;
    width: calc(100% - 160px);
    float: right;
}

.modal .add-sistem-label {
    width: 130px;
    padding-left: 0;
}

/* Grid na modalnom prozoru */

.modal .modal-body .modal-main {
    padding: 20px 35px 25px 35px;
}

.modal-main .ui-grid-modal {
    height: 218px;
}

    .modal-main .ui-grid-modal.bc-grid-show-header {
        height: 238px;
    }

.change-permissions .ui-grid-modal .wrap-dd-select .dropdown-menu {
    position: fixed;
    top: 40px;
    left: 520px;
}

.change-permissions .wrap-dd-select.dd-dropdown-buttons .dropdown-menu {
    top: 35px;
    left: 780px;
    font-weight: normal;
}

    .change-permissions .wrap-dd-select.dd-dropdown-buttons .dropdown-menu .bc-button-ok {
        margin: 10px 20px;
    }

.ui-grid-modal {
    width: 100%;
    height: 188px;
    border: 0;
}

    .ui-grid-modal.bc-grid-show-header {
        height: 208px;
    }

    .ui-grid-modal .ui-grid-header-cell {
        font-size: 14px;
        height: 30px;
        line-height: 30px;
        border-right: 1px solid #ddd;
    }

    .ui-grid-modal .ui-grid-header-cell,
    .ui-grid-modal .ui-grid-header-canvas {
        background-color: #f5f5f5;
    }

        .ui-grid-modal .ui-grid-header-cell:last-child {
            padding: 0;
            border-right: 0;
        }

    .ui-grid-modal .ui-grid-row .ui-grid-cell {
        background-color: #fff;
    }

        .ui-grid-modal .ui-grid-row .ui-grid-cell.ui-grid-blue-line {
            border-left: 5px solid #7fad5a;
        }

    .ui-grid-modal .ui-grid-cell-contents {
        padding: 0 5px;
        height: 30px;
        line-height: 30px;
        border-bottom: 1px solid #dcdcdc;
    }

    .ui-grid-modal input[type="text"].ui-grid-filter-input,
    .ui-grid-modal select.ui-grid-filter-select {
        width: 100%;
        height: 20px;
        padding: 0 5px;
        border: 0;
        border-radius: 0;
        box-shadow: 0 1px 0 #d1d1d1;
    }

        .ui-grid-modal input[type="text"].ui-grid-filter-input:focus {
            box-shadow: inset 0 0 0 1px #7fad5a;
            border: 0;
        }

    .ui-grid-modal .ui-grid-filter-container {
        padding: 0;
        line-height: 20px;
    }

    .ui-grid-modal .ui-grid-pinned-container .ui-grid-cell-contents {
        padding: 0;
    }

.modal-permissions .ui-grid-header-cell-wrapper .ui-grid-cell-contents {
    border-bottom: 0;
}

.modal-permissions .ui-grid-header-cell {
    border-color: #dcdcdc;
}

.modal-permissions .wrap-dd-select .dropdown-menu {
    width: 250px;
    max-height: 280px;
}

.modal-permissions .same-line {
    margin: 0;
}

.modal-permissions .wrap-dd-select.dd-dropdown-buttons.open {
    background-color: #dcdcdc;
}

.modal-permissions .wrap-dd-select {
    width: auto;
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #dcdcdc;
    padding: 0;
}

    .modal-permissions .wrap-dd-select.open {
        background-color: #dcdcdc;
    }

.modal-permissions .dropdown-right-arrow .dropdown-arrow {
    border-left: 4px dashed;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.modal-permissions .radio {
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.modal-permissions .grid-notifications .ui-grid-pinned-container .ui-grid-cell-contents {
    padding: 0;
}

.modal .modal-dialog.modal-permissions {
    width: 60%;
}

.modal .ui-grid-header-cell-wrapper .ui-grid-cell-contents {
    border-bottom: 0;
}

.modal-link .ui-grid-filter-container {
    padding: 0;
}


/* DIALOGS */

.modal .label.error-msg {
    display: block;
    font-size: 12px;
    padding: 5px;
    margin-top: 10px;
    text-align: left;
}

    .modal .label.error-msg > span {
        white-space: pre-wrap;
    }

.modal .modal-tabs .option-buttons.bc-radio-button {
    height: 35px;
    line-height: 35px;
    background: #e6e6e6;
    box-shadow: -1px 0px 0px 0px #fff inset;
    border: 0;
    font-weight: normal;
}

    .modal .modal-tabs .option-buttons.bc-radio-button.active {
        background: #f5f5f5;
        font-weight: bold;
    }

.modal img.preview {
    max-width: 100%;
    max-height: 405px;
    border-radius: 3px;
}

    .modal img.preview.gallery {
        max-width: 80%;
    }

.modal .image-preview {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.modal .gallery-arrow-left,
.modal .gallery-arrow-right {
    width: 30px;
    height: 100%;
    display: inline-block;
    position: absolute;
}

.modal .gallery-arrow-left {
    left: 0;
}

.modal .gallery-arrow-right {
    right: 0;
}

    .modal .gallery-arrow-left:hover,
    .modal .gallery-arrow-right:hover {
        background: #EDEDED;
    }

.modal img.preview.loading {
    width: 100%;
    height: 1px;
    opacity: 0;
}

/* TODO: Proveriti kako je uradjeno*/
.modal h4.image-title {
    display: block;
    text-align: left;
}

.modal .row.image-preview {
    margin: auto;
    margin-bottom: 40px;
}


/*.modal .image-preview {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.modal .gallery-arrow-left,
.modal .gallery-arrow-right {
    width: 30px;
    height: 100%;
    display: inline-block;
    position: absolute;
}*/

.modal .row.numeration {
    right: 25px;
    position: absolute;
    bottom: 15px;
}
/*
.modal .gallery-arrow-left {
    left: 0;
}

.modal .gallery-arrow-right {
    right: 0;
}

    .modal .gallery-arrow-left:hover,
    .modal .gallery-arrow-right:hover {
        background: #EDEDED;
    }
*/
.modal .gallery-button {
    height: 40px;
    width: 30px;
    vertical-align: middle;
    position: absolute;
    /*    top: calc(50% - 20px);*/
    top: 40%;
}

    .modal .gallery-button.gallery-button-left {
        left: 0;
    }

    .modal .gallery-button.gallery-button-right {
        right: 0;
    }

.gallery-store-search {
    width: 100%;
    margin-bottom: 20px;
}
/*Proveriti kako je uradjeno*/
.modal .modal-body.modal-body-tabs {
    padding: 0;
}

.modal .modal-tabs {
    height: 35px;
    padding-left: 35px;
    background-color: #fff;
    font-size: 0;
}

.modal .modal-body .modal-tabs label {
    margin: 0;
    font-size: 14px;
}

.modal .form-control {
    border: 1px solid #fff;
    box-shadow: 0 1px 0 #d1d1d1;
    height: 30px;
    border-radius: 0;
    font-family: 'Source Sans Pro';
}

    .modal .form-control:focus {
        border-color: #7fad5a;
        box-shadow: 0 0 0 0;
    }

    .modal .form-control[disabled] {
        border: 1px solid #eee;
    }

/* Modalni prozor za copy na file manager-u */
.modal .label.label-primary {
    background-color: #7fad5a;
    border-radius: 0;
    padding: 4px 25px;
    font-size: 14px;
    border: 1px solid #d1d1d1;
    background: linear-gradient(to top, rgba(228,228,228,1) 0%,rgba(238,238,238,1) 100%);
    color: #000;
    font-weight: bold;
}

.modal .detail-sources {
    line-height: 30px;
}

.modal .path-text {
    line-height: 20px;
}

.modal .breadcrumb {
    width: 100%;
    min-height: 30px;
    background-color: transparent;
}

.modal .breadcrumb {
    width: 100%;
    min-height: 20px;
    margin: 0 0 10px 0;
}

    .modal .breadcrumb .path-text a {
        color: #7fad5a;
    }

    .modal .breadcrumb .path-image {
        margin: 0;
    }

.modal .btn-sm {
    height: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    padding: 0 20px;
}

.modal .btn-default:hover {
    color: #fff;
}

.modal-dialog .path-text.active span {
    color: #000;
    opacity: 1;
}

.modal-header .close {
    margin: -17px -22px 0 0;
}

.modal .modal-backdrop.in {
    background-color: #2a3f4c;
    opacity: 0.7;
}

.modal .formular-question-preview .formular-question-preview-paragraf,
.modal .formular-question-preview .formular-question-preview-select,
.modal .formular-question-preview .formular-question-preview-date {
    background-color: #fff;
}

.bc-modal-tabs {
    margin-top: 30px;
}

.crypt-block .bc-checkbox {
    display: inline-block;
}

.modal .modal-body .crypt-block .bc-checkbox label {
    font-weight: normal;
}

.crypt-block .bc-input-field {
    width: 100%;
    padding: 5px 70px 5px 10px;
    transition: none;
    box-shadow: inset 1000px 0 0 0 #fff;
    border-bottom: 1px solid #d1d1d1;
}

.modal .crypt-block .input-with-button {
    position: relative;
    width: 60%;
}

    .modal .crypt-block .input-with-button .show-hide-password {
        position: absolute;
        min-width: 60px;
        top: 4px;
        right: 3px;
        border: 0;
        background: #7fad5a;
        color: #fff;
    }

.modal .bc-modal-textarea {
    position: relative;
    width: 60%;
    border-radius: 0;
    border: 0;
    padding: 5px 12px;
    display: block;
    resize: none;
    overflow: hidden;
    min-height: 30px;
    box-shadow: 0 1px 0 #d1d1d1;
}

    .modal .bc-modal-textarea:focus {
        border: 1px solid #7fad5a;
        box-shadow: 0 0 0;
    }

/* MAIN */

/* Modal upload file */

.file-upload {
    position: relative;
    overflow: hidden;
}

.lbl-files {
    display: inline-block;
}

/* Kraj modal upload file */

.file-manager .modal.animated.in {
    background: rgba(255, 255, 255, 0.7);
}

/* Inicialize transport */

.bc-modal-column {
    display: inline-block;
    width: 100%;
    margin: 20px 0 0 1px;
}

    .bc-modal-column.two-column {
        display: inline-block;
        width: calc(50% - 3px);
        margin-top: 20px;
    }

    .bc-modal-column md-radio-button {
        margin-bottom: 5px;
    }

    .bc-modal-column .radio {
        margin-bottom: 0;
    }

    .bc-modal-column .bc-input-field {
        width: 400px;
        display: block;
    }

.modal .modal-body .bc-modal-column label {
    font-weight: bold;
}

.bc-modal-tabs .bc-input-gray {
    width: 300px;
}

.modal .modal-body .modal-issue-edit-text-editor {
    margin-bottom: 30px;
}
