/* CSS Document */
/* Edition Flex Client */

/* navbarの背景色 */
.flexMenubar {
/*  background-color: #003459 !important;*/
  background-color: #4c4c4c !important;
}

/* navbarのロゴ画像 */
.flexLogo {
  width: 150px;
  height: 30px;
  display: inline-block;
  position: relative;
  vertical-align: top;
}

/* navbarのユーザー名 */
.userName {
  width: 220px;
  display: block;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flexLogo img {
  margin: 0px;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* メイン表示領域 */
.flexContainer{
  padding-top: 172px;
  padding-bottom: 28px;
}

/* タグ表示欄 */
.flexTags {
  margin-right: 10px;
  width: 230px;
  position: sticky;
  top: 0px;
}

/* タイトル */
.flexTitlebar {
/*  margin-top: 56px;*/
  margin-bottom: 5px;
  padding: 0.5rem 1rem;
  width: 100%;
  color: #fff;
}

.flexTitlebar span {
  display: inline;
  font-size: 1.3rem;
  font-weight: bold;
}
.flexTitlebar.template {
  background-color: #1C77C3;
}

.flexTitlebar.tag {
  border-bottom: 2px solid #ddd;
}

.flexTitlebar.mydoc {
  background-color: #00A8E8;
}

.flexTitlebar.sharedoc {
  background-color: #00B9AE;
}

.flexTitlebar.setting {
  background-color: #963a3a;
}

.flexTitlebarTags {
  margin-bottom: 5px;
  padding: 0.25rem;
  width: 100%;
  border-bottom: 2px solid #ddd;
}

.flexTitlebar .search {
  width: 300px;
}

.flexTitlebar .sort {
  width: 200px;
}

.flexSearch {
  width: 260px;
}

/* タグ */
.flexTags {
  
}

.flexTag {
  margin: 2px 0px;
	padding: 1px;
}

/* ページコントロール */
.flexPagecontrol {
  padding: 0.5rem 1rem;
  background-color: #fff;
  justify-content: flex-end;
  align-items: center;
}

.flexPagecontrol .list {
  width: 160px;
}

/* サムネイルエリア */
.flexItems {
	padding: 2px;
/*  padding-top: 169px;*/
  padding-bottom: 126px;
}
/* サムネイル */
.flexThumbnail {
  margin: 1px;
  display: inline-block;
  width: 100%;
  border: 2px solid #ececec;
  text-align: center;
}

.flexThumbnail-image {
  width: 100%;
  height: 200px;
  display: inline-block;
  background-color: #ececec;
  border-width: 5px 5px 6px 5px;
  border-color: #ececec;
  border-style: solid;
  position: relative;
}

.flexThumbnail-image img {
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.flexThumbnail-image .share {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #00B9AE;
  color: #fff;
}

.flexThumbnail-image .shareDeletable {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #dc3545;
  color: #fff;
}

.flexThumbnail-image .shareDeletable a {
  color: #fff;
}

.flexThumbnail-info {
  padding: 5px;
  width: 100%;
  display: inline-block;
	font-size: 0.8rem;
  line-height: 1.2rem;
  vertical-align: top;
  position: relative;
}

.flexThumbnail-info .name {
  margin-bottom: 5px;
  padding: 2px;
	font-size: 1rem;
}

.flexThumbnail-info .trackingId {
  display: none;
  color: #777;
  text-align: left; 
}

.flexThumbnail-info .updateDate,
.flexThumbnail-info .account {
  display: none;
  text-align: left; 
}

.flexThumbnail-info .memoTitle {
  display: none;
  text-align: left; 
}

.flexThumbnail-info .memo {
  height: 80px;
  display: none;
  text-align: left; 
  overflow-y: auto;
}

.flexThumbnail-info .memo.s {
	height: 60px;
}

.flexThumbnail-info .memo.xs {
	height: 40px;
}

.flexThumbnail-info .buttons {
  text-align: center;
}

/* フッター */
.flexFooter {
/*  margin-top: 20px;*/
  padding: 2px;
  width: 100%;
/*  background-color: #003459 !important;*/
  background-color: #4c4c4c !important;
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
}

/* レスポンシブ 517*/
@media (min-width: 576px) {
  .flexContainer{
    padding-top: 105px;
    padding-bottom: 28px;
  }
  .flexTags,
  .flexItems {
/*    padding-top: 105px;*/
    padding-bottom: 75px;
  }
  .flexThumbnail {
    width: 441px;
    height: 226px;
    text-align: left;
  }
  .flexThumbnail-image {
    width: 180px;
    height: 222px;
    border-right-width: 6px;
    border-bottom-width: 5px;
  }
  .flexThumbnail-info {
    width: 252px;
    height: 222px;
  }
  .flexThumbnail-info .name,
  .flexThumbnail-info .account {
    width: 240px;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .flexThumbnail-info .updateDate,
  .flexThumbnail-info .account,
  .flexThumbnail-info .memoTitle,
  .flexThumbnail-info .memo,
  .flexThumbnail-info .trackingId {
    display: block;
  }
  .flexThumbnail-info .buttons {
    text-align: right;
    position: absolute;
    right: 0px;
    bottom: 1px;
  }
}

/* Bootstrap over write */
body {
  min-height: 480px;
}

.dropdown-menu {
  z-index: 10000;
}
