﻿@charset "UTF-8";
/* čšžČŠŽ - force UTF8 */

/* ------------------------------------------------------------------------------------- */
/* MODAL DIALOG za prikaz FILE MANAGERja */
/* ------------------------------------------------------------------------------------- */

.modal.modal-fullscreen .modal-dialog {
  width: 100%;
  width: calc(100% - 40px);
  height: 100%;
  height: calc(100% - 10px);
  margin: 10px auto 0 auto;
  padding: 0;
}

.modal.modal-fullscreen .modal-content {
  height: 100%;
  height: calc(100% - 20px);
  min-height: 100%;
  min-height: calc(100% - 20px);
}


.modal.modal-fullscreen .modal-body {
  width: auto;
  height: 100%;
  height: calc(100% - 55px);
  padding: 0;
}

  .modal.modal-fullscreen .modal-body iframe {
    width: 100%;
    height: 100%;
    height: calc(100% - 10px);
    padding: 0;
  }

/* ------------------------------------------------------------------------------------- */
/* FILE MANAGER */
/* ------------------------------------------------------------------------------------- */

.cms-holder .cms-edit,
.cms-holder .cms-meta {
  -moz-transition: all ease-in-out .2s;
  -o-transition: all ease-in-out .2s;
  -webkit-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
}

.form-control.no-input {
  /*
      display: inline;
      padding: .2em .6em .3em;
      font-size: 75%;
      font-weight: bold;
      line-height: 1;
      color: #ffffff;
      text-align: center;
      white-space: nowrap;
      vertical-align: baseline;
      border-radius: .25em;
      */
  background: #eee;
  padding: 4px 5px;
  /*height: 28px;*/
}

.cms-toggle-view {
  float: right;
  font-weight: bold;
}

.cms-img-detail {
  max-height: 200px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
  padding: 5px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.cms-fm-toolbar.cms-fixed {
  position: fixed;
  width: auto;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: #eee;
  border: 1px solid #ccc;
  padding: 5px;
  margin: 0 5px;
}

.cms-fm-content.cms-fixed {
  margin-top: 46px;
}


.text-sm {
  font-size: 12px;
  line-height: 1.5;
}

.text-it {
  font-style: italic;
}

.text-gray {
  color: #777;
}

.cms-fm-wrapper {
}

  .cms-fm-wrapper.drag-over {
    background: rgba(85, 146, 197, 0.65);
    border-color: #333;
  }

  .cms-fm-wrapper .cms-files {
    /*margin: 10px;
        padding: 10px;
        border: 1px solid #eee;*/
    min-height: 200px;
  }

  .cms-fm-wrapper .cms-files-empty-notice {
    text-align: center;
  }

    .cms-fm-wrapper .cms-files-empty-notice.hidden {
      display: none;
    }

.cms-file-detail {
  display: none;
  z-index: 1;
  position: fixed;
  top: 48px;
  right: 20px;
  /*border: 1px solid #444;*/
  background: #f5f5f5;
  width: 400px;
  min-height: 100px;
  box-shadow: 0 0 3px 3px #ff6a00;
  max-height: 85%;
  max-height: calc(100% - 70px);
  overflow: auto;
}

  .cms-file-detail .cms-file-close-button {
    float: right;
  }

  .cms-file-detail .panel-group > div {
    padding: 0 5px;
    margin: 0 0 5px 0;
  }

.item-holder {
  padding: 10px;
  /*
      background: #f5f5f5;
      border: 1px solid #999;
      */
}

  .item-holder[data-columns="1"] .item {
    width: 100%;
    padding-top: 100%;
  }

  .item-holder[data-columns="2"] .item {
    width: 50%;
    padding-top: 50%;
  }

  .item-holder[data-columns="3"] .item {
    width: 33.3333%;
    padding-top: 33.3333%;
  }

  .item-holder[data-columns="4"] .item {
    width: 25%;
    padding-top: 25%;
  }

  .item-holder[data-columns="5"] .item {
    width: 20%;
    padding-top: 20%;
  }

  .item-holder[data-columns="6"] .item {
    width: 16.6666%;
    padding-top: 16.6666%;
  }

  .item-holder[data-columns="7"] .item {
    width: 14.2857%;
    padding-top: 14.2857%;
  }

  .item-holder[data-columns="8"] .item {
    width: 12.5%;
    padding-top: 12.5%;
  }

  .item-holder[data-columns="9"] .item {
    width: 11.1111%;
    padding-top: 11.1111%;
  }

  .item-holder[data-columns="10"] .item {
    width: 10%;
    padding-top: 10%;
  }

  .item-holder[data-columns="11"] .item {
    width: 9.0909%;
    padding-top: 9.0909%;
  }

  .item-holder[data-columns="12"] .item {
    width: 8.3333%;
    padding-top: 8.3333%;
  }

.item {
  position: relative;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 5px;
  background: transparent;
  width: 20%;
  padding-top: 20%;
  border: none;
}

  .item.item-selected::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ff6a00;
    background: #0f8;
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 0 5px;
    border-radius: 10px;
  }

  .item.item-selected .item-content {
    box-shadow: 0 0 3px 3px #ff6a00;
  }

  .item .item-progress {
    position: absolute;
    width: 0;
    height: 20px;
    top: auto;
    left: 0;
    bottom: 20%;
    background: #0094ff;
    border: none;
  }

.item-content {
  position: absolute;
  margin: 0;
  padding: 0;
  background: #eee;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  border: 1px solid #444;
  overflow: hidden;
}

  .item-content img,
  .item-content .div-img {
    position: absolute;
    max-height: 100%;
    height: 100%;
  }

  .item-content .img-portrait {
    max-height: none;
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .item-content .img-no-resize {
    max-height: 100%;
    height: auto;
    max-width: 100%;
    width: auto;
  }

  .item-content.item-stretch img {
    width: 100%;
    max-height: none;
  }

  .item-content.item-noclip img {
    max-width: 100%;
  }

  .item-content .item-center img,
  .item-content .item-center .div-img {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .item-content .img-title {
    position: absolute;
    top: auto;
    left: 0;
    bottom: 0;
    right: 0;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    font-size: 10px;
    padding: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 0 solid rgba(255, 255, 255, 0.7);
    border-width: 1px 0 0 0;
  }

  .item-content.item-type-doc .img-title {
    white-space: normal;
    -ms-text-overflow: unset;
    -o-text-overflow: unset;
    text-overflow: unset;
    text-wrap: normal;
  }


  .item-content .item-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-transform: translate(50%, 50%);
    -ms-transform: translate(50%, 50%);
    -moz-transform: translate(50%, 50%);
    -o-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
  }

  .item-content .div-img {
    width: 100%;
    height: 100%;
    background-image: url("/slike/icons/doc-empty-64.png");
    background-color: transparent;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
  }

  .item-content.item-type-img .div-img {
    background-image: url("/slike/icons/doc-image-64.png");
  }

  .item-content.item-type-doc.item-file-pdf .div-img,
  .item-content.item-type-doc.item-file-pdfa .div-img {
    background-image: url("/slike/icons/doc-pdf-64.png");
  }

  .item-content.item-type-doc.item-file-doc .div-img,
  .item-content.item-type-doc.item-file-docx .div-img,
  .item-content.item-type-doc.item-file-rtf .div-img {
    background-image: url("/slike/icons/doc-word-64.png");
  }

  .item-content.item-type-doc.item-file-xls .div-img,
  .item-content.item-type-doc.item-file-xlsx .div-img {
    background-image: url("/slike/icons/doc-excel-64.png");
  }

  .item-content.item-type-doc.item-file-txt .div-img,
  .item-content.item-type-doc.item-file-xml .div-img,
  .item-content.item-type-doc.item-file-json .div-img {
    background-image: url("/slike/icons/doc-text-64.png");
  }

  .item-content.item-type-doc.item-file-zip .div-img,
  .item-content.item-type-doc.item-file-7z .div-img {
    background-image: url("/slike/icons/doc-zip-64.png");
  }

.cms-files .cms-files-more {
  text-align: center;
}

  .cms-files .cms-files-more span {
    /*font-size: 120%;
    font-weight: bold;
    padding: 10px;*/
  }



/* ------------------------------------------------------------------------------------- */
/* FileManager TAGS */
/* ------------------------------------------------------------------------------------- */

.cms-tags {
  border: 1px solid #ddd;
  border-radius: 5px;
  min-height: 24px;
  max-height: 60px;
  overflow: auto;
  font-size: 12px;
}

  .cms-tags .cms-tag {
    color: #111;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    float: left;
    margin: 0 10px 2px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1px 2px;
    background: #fff;
  }

.cms-tag .cms-tag-remove {
  background: #c00;
  color: #fff;
  padding: 1px;
  border-radius: 10px;
  line-height: 1;
  height: 16px;
  width: 16px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  margin: 0 2px 0 0;
}

.cms-tags .cms-tag-empty {
  display: inline-block;
  color: #777;
}

.cms-tags .cms-tag-common {
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
  /*float: left;*/
  margin: 0 10px 1px 0;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #0077ce;
  cursor: pointer;
  vertical-align: middle;
}

.cms-tags .cms-tag.cms-tag-common:hover {
  color: #0094ff;
}

.cms-tags .cms-tag-size-10 {
  font-size: 20px;
}

.cms-tags .cms-tag-size-9 {
  font-size: 19px;
}

.cms-tags .cms-tag-size-8 {
  font-size: 18px;
}

.cms-tags .cms-tag-size-7 {
  font-size: 17px;
}

.cms-tags .cms-tag-size-6 {
  font-size: 16px;
}

.cms-tags .cms-tag-size-5 {
  font-size: 15px;
}

.cms-tags .cms-tag-size-4 {
  font-size: 14px;
}

.cms-tags .cms-tag-size-3 {
  font-size: 13px;
}

.cms-tags .cms-tag-size-2 {
  font-size: 12px;
}

.cms-tags .cms-tag-size-1 {
  font-size: 11px;
}

.cms-tags .cms-tag-size-0 {
  font-size: 10px;
}


/* ------------------------------------------------------------------------------------- */
/* CMS TINYMCE EDITOR styles */
/* ------------------------------------------------------------------------------------- */

.cms-tinymce {
}

  .cms-tinymce .cms-img-wrapper .cms-img-content {
    background: rgba(0, 106, 255, 0.1);
  }

    .cms-tinymce .cms-img-wrapper .cms-img-content:hover {
      background: rgba(0, 106, 255, 0.25);
    }

    .cms-tinymce .cms-img-wrapper .cms-img-content .cms-img {
      cursor: pointer;
    }


  .cms-tinymce .mce-pagebreak {
    width: 98%;
  }


/* ------------------------------------------------------------------------------------- */
/* CMS - Bootstrap tweaks & fixes */
/* ------------------------------------------------------------------------------------- */

.form-control.input-selectable[disabled],
.form-control.input-selectable[readonly],
fieldset[disabled] .form-control.input-selectable {
  cursor: text;
}
