/* =============================================================================
   Subject: Admin style
   Author: jehun@benife.com
   Updated: 2017-10-12
   ========================================================================== */

   @import url("common-admin.min.css");

   /* =============================================================================
      login & signup
      ========================================================================== */
   /* login */
   #login .box-container{
     background-color: rgba(255,255,255,0.94);
     border-radius: 3px;
     border: 1px solid #eee;
     box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.15);
     width: 290px;
     transform: translate(50%, 50%);
     position:absolute;
     bottom:50%;
     right: 50%;
   }
   
   .list-table {
     table-layout: fixed;
   }
   
   .text-ellipse {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
   }

   .text-width {
    max-width: 300px;
   }

   .table-sm-width {
    max-width: 120px;
   }
   
   .table-width {
    max-width: 300px;
   }

   /* modal dialog */
   .modal-dialog {
     margin-top: 100px;
   }
   
   .category-img {
     width: 40px;
     height: 40px;
   }

   .post-img {
     max-width: 100%;
   }

   .ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .layout-wrapper {
    padding-bottom: 135px;
  }

  page-navi {
    display: block;
    min-height: 27px;
    margin : 16px 0px;
  }
  
   /* =============================================================================
      dash board
      ========================================================================== */
   #dashboardContainer .content-container{
     padding-left: 0px;
   }
   #dashboardContainer .box-container {
     margin-bottom: 10px;
     margin-left: 5px;
     margin-right: 5px;
     min-height: 300px;
   }
   #dashboardContainer .chart{
     margin-top: 10px;
     height: 260px;
     background-color: #f0f0f0;
   }
   /* =============================================================================
      ul style
      ========================================================================== */
   .list-none {
    list-style: none;
   }

   /* =============================================================================
      post image
      ========================================================================== */
    .post-img {
     
      max-width: 350px;
      max-height: 250px; 
      object-fit: contain;
      outline: 0;
    }

    /* =============================================================================
      post p
      ========================================================================== */
      .tour-contents p{
     
        margin-bottom: 0;
      }
   
   /* =============================================================================
      side nav
      ========================================================================== */
   body[data-sidebar="dark"] #sidebar-menu ul li a:focus i {
    color: #ffffff; }

   body[data-sidebar="dark"] #sidebar-menu ul li a:focus {
    color: #ffffff; }

   /* =============================================================================
      publications & precedents
      ========================================================================== */
   
   .category-title{
     background-color: #d9d9d9;
     min-width: 20rem!important;
   }
   
   .category-title{
     border-radius: 0;
     border-top-left-radius: 3px;
   }
   
   #categoryMenu .dropdown a{
     color: inherit!important;
     background-color: inherit!important;
   }
   
   #categoryMenu .category-body{
     border-radius: 0;
     border-bottom-left-radius: 3px;
   }
   
   .category-item-title.active{
     background-color: #4691D2;
     color: white;
   }
   
   .category-body {
     /* overflow: auto; */
     width: 25rem;
     height: 50rem;
   }
   
   .category-list {
     min-width: 25rem;
   }
   
   #sortableListsBase .category-name{ /* 카테고리 드래그 시 container 밖으로 나감 */
     height: 19px;
     text-overflow: ellipsis;
     overflow: hidden;
     word-wrap: break-word;
     display: -webkit-box;
     -webkit-line-clamp : 1;
     -webkit-box-orient: vertical; 
   }
   
   .category-lists {
     width: 600px!important;
   }
   
   .category-lists a.edit:hover {
     text-decoration: underline;
   }
   
   label { 
    margin-bottom: 0;
  }
   
   /* =============================================================================
      custom-file
      ========================================================================== */
   
   .custom-file {
     /* font-size: 1rem; custom file에 font-size 초기화가 없어서 버튼과 크기가 달라짐 */
     position: relative;
     display: inline-block;
     /* height: calc(1.5em + .75rem + 2px); */
     margin-bottom: 0;
   }
   
   .custom-file-label {
     text-overflow: ellipsis;
     overflow: hidden;
     white-space: nowrap;
     padding-right: 6rem!important;
     position: absolute;
     top: 0;
     right: 0;
     left: 0;
     z-index: 1;
     height: calc(1.5em + .75rem + 2px);
     padding: .375rem .75rem;
     font-weight: 400;
     line-height: 1.5;
     color: #495057;
     background-color: #fff;
     border: 1px solid #ced4da;
     border-radius: .25rem;
   }
   
   .custom-file-label::after {
     content: "파일 선택";
     position: absolute;
     top: 0;
     right: 0;
     bottom: 0;
     z-index: 3;
     display: block;
     height: calc(1.5em + .75rem);
     padding: .375rem .75rem;
     line-height: 1.5;
     color: #495057;
     background-color: #e9ecef;
     border-left: inherit;
     border-radius: 0 .25rem .25rem 0;
   }
   
   .custom-file-input {
     position: relative;
     z-index: 2;
     width: 100%;
     height: calc(1.5em + .75rem + 2px);
     margin: 0;
     opacity: 0;
   }
   
   .file-group .btn{
     word-break: keep-all;
   }
   
   .custom-file-input.is-valid~.custom-file-label, .was-validated .custom-file-input:valid~.custom-file-label {
     border-color: #28a745;
   }
   
   .custom-file-input.is-invalid~.custom-file-label, .was-validated .custom-file-input:invalid~.custom-file-label {
     border-color: #dc3545;
   }

   .copy-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    margin-bottom: 30px;
  }

  .copy-tooltip {
      display: inline-block;
      background-color: #333;
      color: white;
      padding: 5px 10px;
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-29%);
      font-size: 12px;
      border-radius: 4px;
      white-space: nowrap;
      width: 160px;
      text-align: center;
      white-space: normal;
  }

  .copy-merchant-tooltip {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-14%);
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    width: 160px;
    text-align: center;
    white-space: normal;
  }

  .copy-biz-tooltip {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-25%);
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    width: 160px;
    text-align: center;
    white-space: normal;
  }

  .copy-position {
    position: absolute;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .text-hover :hover {
    color: #4691d2 !important;
  }

  .font-weight-500 {
    font-weight: 500;
  }

  .ps-2-5 {
    padding-left: 12px;
  }

  .pe-2-5 {
    padding-right: 12px;
  }
  
  .text-custom-primary {
    color: red;
  }
   
   /* =============================================================================
      opacity
      ========================================================================== */
   .o-0 { opacity: 0; }
   .o-25 { opacity: .25; }
   .o-50 { opacity: .5; }
   .o-75 { opacity: .75; }
   .o-100 { opacity: 1; }
   
   /* =============================================================================
      width
      ========================================================================== */
      .w-80px { 
        min-width: 80px;
        width: 80px;
        max-width: 80px;
       }
   
   /* =============================================================================
      btn close color
      ========================================================================== */
     .btn-close-danger {
       background : transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='red'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
     }