/* opened in popup */
html.win-vfm, body.win-vfm {
  height: 100%;
  overflow: hidden;
  min-width: 400px;
  min-height: 300px;
  background: #fbfbfb;
}

body.win-vfm .vfm {
  position: relative;
  width: 100%;
  height: 100%;
}


/* opened as modal */
#win-vfm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: transparent;
  background: rgba(0, 0, 0, 0.6);
}


/* Visto File Manager */
.vfm {
  font-family: 'Ubuntu', sans-serif;
  font-size: 11px;
  background: #fbfbfb;
  width: 100%;
  height: 100%;
  font-weight: 500;
}

.vfm-titlebar {
  background: #ededed;
  background: -moz-linear-gradient(top, #ededed 0%, #dedede 100%);
  background: -webkit-linear-gradient(top, #ededed 0%,#dedede 100%);
  background: -ms-linear-gradient(top, #ededed 0%,#dedede 100%);
  background: linear-gradient(to bottom, #ededed 0%,#dedede 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
  position: absolute;
  z-index: 23;
  top: 0;
  left: 0;
  width: 100%;
  height: 33px;
  line-height: 33px;
  border-top:1px solid #f9f9f9;
  border-bottom:1px solid #c7c7c7;
  font-size: 15px;
  color: #000000;
}

.vfm-title {
  padding-left: 28px;
}
.vfm-btnClose {
  width: 33px;
  text-align: center;
  cursor: pointer;
}
.vfm-btnClose:hover {
  color: rgb(0, 136, 204);
}


.vfm-sidebar {
  background: #f1f1f1;
  position: absolute;
  z-index: 22;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  border-right: 1px solid #cbcbcb;
}
.vfm-header {
  padding-left: 220px;
  padding-top: 35px;
  height: 38px;
  line-height: 38px;
  background: #eeeeee;
}
.vfm-header .pull-right > div{
  margin-right: 20px;
}
.vfm-header .pull-left .vfm-breadcrumbs {
  margin-left: 15px;
  font-size: 13px;
  text-transform: uppercase;
}
.vfm-header .pull-left .vfm-breadcrumbs a {
  color: #999999;
}

.vfm-body {
  padding: 0px 0px 0px 235px;
  overflow-y: auto;
  overflow-x: hidden;
}

.vfm-topmenu {
  height: 32px;
  line-height: 32px;
  padding: 0 20px 0 235px;
  z-index: 9;
  position: relative;
}
.vfm-topmenu > div {
  border-bottom: 1px solid #dfdfdf;
}
.vfm-topmenu .pull-right span {
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 1px;
  background-color: #e2e2e2;
  position: relative;
  top: 3px;
}
.vfm-topmenu .pull-right span.active {
  background-color: #cecece;
}


.vfm-botmenu {
  font-size: 14px;
  height: 150px;
  width: 100%;
  position: absolute;
  z-index: 21;
  bottom: 0;
  left: 0;
  background:#fbfbfb ;
}

.vfm-botmenu .pagination, .vfm-botmenu .controls {
  margin-left: 235px;
}
/* Icons */
.vfmIcon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-image: url('../img/filemanager.png');
  background-repeat: no-repeat;
  overflow: hidden;
}
.vfmIcon.small {
  width: 16px;
  height: 16px;
}

.vfmIcon.vfmIcon-upload {background-position: -0px -0px}
.vfmIcon.vfmIcon-folder {background-position: -24px -24px}
.vfmIcon.vfmIcon-folderFav {background-position: -48px -24px}
.vfmIcon.vfmIcon-folderPlus {background-position: -0px -24px}

.vfmIcon.small.vfmIcon-details {background-position: -29px -5px}
.vfmIcon.small.vfmIcon-thumbs {background-position: -53px -5px}
.vfmIcon.small.vfmIcon-bigThumbs {background-position: -77px -5px}

.vfmIcon.small.vfmIcon-zoom {background-position: -53px -101px}
.vfmIcon.small.vfmIcon-fav {background-position: -5px -77px}

.vfmIcon.small.vfmIcon-zoom.on, .vfmIcon.small.vfmIcon-zoom:hover {background-position: -77px -101px}
.vfmIcon.small.vfmIcon-fav.on, .vfmIcon.small.vfmIcon-fav:hover {background-position: -29px -77px}

.vfmIcon.vfmIcon-typeImage {background-position: -0px -96px}


/* Visto File Manager Sidebar */
.vfm-sidebar {
  overflow: auto;
}
.vfm-sidebar > div {
  padding: 40px 8px;
}
.vfm-sidebar ul {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 6px;
}
.vfm-sidebar ul ul{
  margin-left: 20px;
}
.vfm-sidebar li > ul{
  display: none;
}
.vfm-sidebar li.opened > ul{
  display: block;
}
.vfm-sidebar ul li {
  margin-bottom: 6px;
  display: block;
  position: relative;
}
.vfm-sidebar ul li a {
  display: block;
  padding-left: 44px;
  color: #333333;
  cursor: pointer;
  margin: 0 6px;
  text-decoration: none;
}
.vfm-sidebar ul li a:hover {
  background: #e7e7e7;
}
.vfm-sidebar ul li a .text {
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 14px;
  display: inline-block;
}

.vfm-sidebar ul li.active > a {
  background: #d8d8d8;
}
.vfm-sidebar ul li .vfmIcon {
  position: absolute;
}
.vfm-sidebar ul li a .vfmIcon {
  left: 20px;
}
li > .vfmIcon.vfmIcon-expand {
  cursor: pointer;
  top: 5px;
  left: 5px;
  background-position: -29px -53px;
}
li > .vfmIcon.vfmIcon-expand:hover {
  background-position: -77px -53px;
}
li.opened > .vfmIcon.vfmIcon-expand {
  background-position: -5px -53px;
}
li.opened > .vfmIcon.vfmIcon-expand:hover {
  background-position: -53px -53px;
}

.vfm-ul-top {
  border-bottom: 1px solid #dbdbdb;
}


/* Tab - upload */
.vfm-tab .row {
  margin: 20px 0;
}
.vfm-tab .row label {
  line-height: 30px;
}


.vfm-tab .selectbox ul {
  max-height: 240px;
  overflow: auto;
}
.vfm-tab .selectbox li {
  height: auto;
  line-height: 16px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.cmMove .selectbox ul {
  max-height: 240px;
  overflow: auto;
}
.cmMove .selectbox li {
  height: auto;
  line-height: 16px;
  padding-top: 3px;
  padding-bottom: 3px;
}


.vfm .uploadify-button {
  border: 1px solid #90af8d;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  background: #68ce6b;
  background: -moz-linear-gradient(top,  #68ce6b 0%, #75a374 100%);
  background: -webkit-linear-gradient(top,  #68ce6b 0%,#75a374 100%);
  background: -ms-linear-gradient(top,  #68ce6b 0%,#75a374 100%);
  background: linear-gradient(to bottom,  #68ce6b 0%,#75a374 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#68ce6b', endColorstr='#75a374',GradientType=0 );

}

.vfm .uploadify-queue-item {
  margin: 10px 0;
}
.vfm .uploadify-queue {
  margin-top: 30px;
}
.vfm .uploadify-queue-item .cancel a {
  width: 16px;
  height: 16px;
  overflow: hidden;
  background: url('../img/filemanager.png') -76px -28px;
  text-indent: -999px;
  margin: 0 4px;
  cursor: pointer;
  display: block;
}
.vfm .uploadify-queue-item .cancel {
  float: left;
}
.vfm .uploadify-progress {
  border-radius: 5px;
  height: 18px;
  margin: 4px 0;
  background: #c6c6c6;
}
.vfm .uploadify-progress-bar {
  height: 18px;
  border-radius: 5px;
  background: url('../img/upload-bar.png') repeat-x;
  width: 0px;
}

/* Visto File Manager Browser */
.vfm-content > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vfm-content > ul li {
  cursor: pointer;
}


/* --- showDetails --- */
.vfm-content.showDetails ul {
  padding-right: 20px;
}
.vfm-content.showDetails li {
  height: 30px;
  line-height: 30px;
  background: #f4f4f4;
  border-top: 1px solid #e6e6e6;
  display: block;
  overflow: hidden;
}
.vfm-content.showDetails .header {
  display: block;
}
.vfm-content.showDetails .header li {
  background: #fbfbfb;
  font-weight: bold;
  color: #111;
  margin-top: 1px;
}

.vfm-content.showDetails li.selected {
  background: #d0d0d0;
}
.vfm-content.showDetails li span {
  display: inline-block;
  float: left;
}
.vfm-content.showDetails li:first-child {
  border: none;
}
.vfm-content.showDetails li:nth-child(even):not(.selected) {
  background: #ececec;
}

.vfm-content.showDetails .vfmCellType {
  position: relative;
  top: 3px;
  margin: 0 6px;
  width: 24px;
  height: 24px;
}
.vfm-content.showDetails .vfmIcon-zoom, .vfm-content.showDetails .vfmIcon-fav {
  position: relative;
  top: 8px;
}
.vfm-content.showDetails .vfmCellName {
  width: 295px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vfm-content.showDetails .vfmCellDate {
  width: 115px;
}
.vfm-content.showDetails .vfmCellOrientation {
  width: 115px;
}
.vfm-content.showDetails .vfmCellAuthor {
  width: 150px;
}
.vfm-content.showDetails .vfmCellSize {
  width: 70px;
}
.vfm-content.showDetails .vfmCellThumbS {
  display: none;
}
.vfm-content.showDetails .vfmCellThumbM {
  display: none;
}




/* --- showThumbs --- */
.vfm-content.showThumbs li {
  height: 150px;
  width: 100px;
  line-height: 22px;
  background: #ffffff;
  border: 1px solid #b5b5b5;
  display: block;
  position: relative;
  float: left;
  margin: 20px 23px 0 0;
  font-size: 10px;
}
.vfm-content.showThumbs li.selected {
  background: #e3e3e3;
  border-color: #7a7a7a;
}
.vfm-content.showThumbs .header {
  display: none;
}
.vfm-content.showThumbs li span {
  display: block;
  box-sizing: content-box;
  position: absolute;
}
.vfm-content.showThumbs .vfmIcon {
  display: none;
}
.vfm-content.showThumbs li:hover .vfmIcon-zoom,.vfm-content.showThumbs li:hover .vfmIcon-fav {
  display: block;
}
.vfm-content.showThumbs .vfmIcon-zoom {
  top: -16px;
  right: 0px;
}
.vfm-content.showThumbs .vfmIcon-fav {
  top: -16px;
  right: 16px;
}
.vfm-content.showThumbs .vfmCellName {
  top: 98px;
  text-align: center;
  line-height: 16px;
  width: 90px;
  left: 5px;
  overflow: hidden;
  height: 32px;
}
.vfm-content.showThumbs .vfmCellDate {
  top: 130px;
  text-align: center;
  line-height: 18px;
  width: 100px;
  color: #999999;
}
.vfm-content.showThumbs .vfmCellOrientation {
  display: none;
}
.vfm-content.showThumbs .vfmCellAuthor {
  display: none;
}
.vfm-content.showThumbs .vfmCellSize {
  display: none;
}
.vfm-content.showThumbs .vfmCellThumbS {
}
.vfm-content.showThumbs .vfmCellThumbM {
  display: none;
}



/* --- showThumbs --- */
.vfm-content.showBigThumbs li {
  height: 250px;
  width: 168px;
  line-height: 22px;
  background: #ffffff;
  border: 1px solid #b5b5b5;
  display: block;
  position: relative;
  float: left;
  margin: 20px 19px 0 0;
  font-size: 13px;
}
.vfm-content.showBigThumbs li.selected {
  background: #e3e3e3;
  border-color: #7a7a7a;
}
.vfm-content.showBigThumbs .header {
  display: none;
}
.vfm-content.showBigThumbs li span {
  display: block;
  box-sizing: content-box;
  position: absolute;
}
.vfm-content.showBigThumbs .vfmIcon {
  display: none;
}
.vfm-content.showBigThumbs li:hover .vfmIcon-zoom,.vfm-content.showThumbs li:hover .vfmIcon-fav {
  display: block;
}
.vfm-content.showBigThumbs .vfmIcon-zoom {
  top: -16px;
  right: 0px;
}
.vfm-content.showBigThumbs .vfmIcon-fav {
  top: -16px;
  right: 16px;
}
.vfm-content.showBigThumbs .vfmCellName {
  top: 165px;
  text-align: center;
  line-height: 18px;
  width: 140px;
  left: 15px;
  overflow: hidden;
  height: 36px;
}
.vfm-content.showBigThumbs .vfmCellDate {
  top: 215px;
  text-align: center;
  line-height: 18px;
  width: 168px;
  color: #999999;
}
.vfm-content.showBigThumbs .vfmCellOrientation {
  display: none;
}
.vfm-content.showBigThumbs .vfmCellAuthor {
  display: none;
}
.vfm-content.showBigThumbs .vfmCellSize {
  display: none;
}
.vfm-content.showBigThumbs .vfmCellThumbS {
  display: none;
}
.vfm-content.showBigThumbs .vfmCellThumbM {
}

.vfm .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 40;
  background: transparent;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}


/* Select Image size */
.vfm .vfm-modal {
  width: 549px;
  height: 207px;
  position: absolute;
  border: 1px solid #484848;
  border-radius: 6px;
  background: #ffffff;
  left: 230px;
  top: 220px;
  display: none;
  z-index: 50;
}
.vfm .vfm-modal-body {
  position: relative;
  width: 100%;
  height: 100%;
}

.vfm .vfm-modal, .vfm .vfm-modal .selectbox .value {
  color: #5f5f5f;
}

.vfm .vfm-modal .selectbox strong {
  font-weight: 600;
  padding: 0 10px;
}

.vfm .vfm-modal .vfm-sis-name {
  font-weight: 600;
  position: absolute;
  top: 30px;
  left: 200px;
  font-size: 12px;
  padding-right: 12px;
}
.vfm .vfm-modal .vfm-sis-label {
  font-weight: 600;
  position: absolute;
  top: 70px;
  left: 200px;
  font-size: 12px;
}
.vfm .vfm-modal .vfm-sis-select-outer {
  position: absolute;
  top: 92px;
  left: 194px;
}
.vfm .vfm-modal .vfm-sis-button {
  position: absolute;
  top: 140px;
  left: 190px;
}

.vfm .vfm-modal .vfm-sis-thumb {
  width: 155px;
  height: 155px;
  position: absolute;
  top: 25px;
  left: 25px;
}
.vfm .vfm-modal .vfm-sis-thumb img {
  max-width: 150px;
  max-height: 150px;
}


/* inline fix - prevent close and insert */
body.inline .vfm-btnClose {
  display: none;
}
body.inline .vfm-tab-browser .controls .main {
  display: none;
}


/* error output */
.errorOutput {
  border: 1px solid #d88;
  background: #fee;
  border-radius: 6px;
  color: #dd5a54;
  padding: 2px 7px;
  right: 6px;
  display: none;
}






