@infopanel_font_family:@fontStandard;
@infopanel_background_color:#f3f3f3;
@infopanel_main_text_color:#555;
@infopanel_labels_color:#333;
@infopanel_section_title_color:#333;
@infopanel_values_color:#555;
@infopanel_quick_button_border:1px dotted #999;

@infopanel_fetchedpane_text_color: #222;
@infopanel_fetchedpane_legend_color: #666;

@infopanel_toolbar_buttons_radius:0;

.form-ip_content_info_panel .panelContent{
  background-color: white !important;
}

#info_panel, .form-ip_content_info_panel{
  font-family: @infopanel_font_family;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;

  #modalCloseBtn{
    display: block !important;
    padding-top: 3px !important;
  }

  div#display_toolbar {
    float: left;
    text-align: left;
    min-width: 20px;
    height: 10px;
    a {
      background: none;
      border: none;
      margin-right: 0;
    }
  }

  a {
    &.sm2_link{
      visibility: hidden;
    }
    img{
      margin-right : 5px;
    }
    &:hover {
      text-decoration:none;
    }
  }

  div.folderImage {
    text-align:center;
    padding-bottom: 10px;
  }

  .infoPanelImagePreview
  {
    text-align:center;
    position: relative;
    margin: 10px 16px;
    border-radius: 5px;
    img {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      &.thumbnail_iconlike_shadow{
        box-shadow: @reactBoxShadowDepth1;
      }
    }
    div.infoPanelBasenameTitle{
      color: @colorCodeFolder;
      font-weight: 500;
      font-size: 16px;
      margin-bottom: 20px;
      line-height: 1.5em;
      text-align: left;
      word-break:break-all;
    }
    div.mimefont{
      font-size: 80px !important;
      color: @thumbnail_mimefont_color;
    }
  }

  .infoPanelTable,
  div.infoPanelRow
  {
    font-size: 13px;
    width: 100%;
  }

  td.infoPanelLabel,
  div.infoPanelLabel
  {
    width: 50%;
    color: @infopanel_labels_color;
    font-size: 0.9em;
    font-weight: 500;
  }

  td.infoPanelValue,
  div.infoPanelValue
  {
    padding: 0 0 10px;
    font-size: 1em;
    color: @infopanel_values_color;
    line-height: 1.3em;
    vertical-align: top;
    &[data-metatype="css_label"]{
      padding: 5px;
      border-radius: 2px;
      margin-bottom: 10px;
    }
  }

  div.folded_icons{
    display: none;
  }

  div.class-FetchedResultPane{

    font-size: 13px;
    div.thumbnail_selectable_cell.detailed{
      padding: 0;
      cursor: default;
      div.thumbnail_selectable_cell{
        display: none;
      }
      div.thumbLabel{
        font-size: 1.1em;
        color: @infopanel_fetchedpane_text_color;
        white-space: normal;
        line-height: 1.5em;
        padding-top: 0;
        padding-bottom: 8px;
        small {
          color: @infopanel_fetchedpane_legend_color;
          display: block;
          font-size: 0.8em;
          line-height: 15px;
        }
      }
    }
    &.leaf_activity div.thumbnail_selectable_cell.detailed div.thumbLabel
    {
      color: @infopanel_main_text_color;
      display: block;
      font-size: 13px;
      line-height: 17px;
    }
    div.ajxpNodeProvider.selected-focus
    {
      background-color: transparent !important;
    }

    div.ajxpNodeProvider:hover{
      background-color: transparent !important;
    }

  }

  div.ip_geo_cell {
    position: absolute;
    right: 17px;
    margin-top: -36px;
  }
  td.ip_geo_cell{
    padding-right: 12px !important;
  }


  #ajxp_workspace_info_panel_content{
    font-size: 13px;
    margin-bottom: 15px;
  }
  .infopanel_loading{
    opacity: 0;
    transition: opacity ease 0.2s;
  }
  .infopanel_loading_finished{
    opacity: 1;
  }

  .infoPanelActions  {
    padding:5px;
    font-size: 11px;
    text-align: right;
  }
  
  .panelContent{
    overflow: hidden;
    background-color: @infopanel_background_color;
    padding-bottom: 15px;
    -webkit-font-smoothing: antialiased;

    div.panelHeader{
      font-size: 13px;
      padding: 8px 0 16px 0;
      color: @infopanel_section_title_color;
      font-weight: 500;
      span.user_meta_change {
        color: #222;
        text-transform: uppercase;
        font-size: 10px;
        padding:4px 10px 3px;
        margin-top: -5px;
        display: inline-block !important;
        float: right;
        cursor: pointer;
        font-weight:300;
        &:hover{
            background-color: white;
        }
      }
      span[data-ajxpAction]{
        display: none;
      }
    }


    i {
      font-size: 13px;
      font-style: normal;
      color: rgb(180, 184, 190);
      text-shadow: 1px 1px 0 #ffffff;
    }

    span.ajxp_icon_span {
      color: #ffffff;
      margin-right: 5px;
    }

    a#open_with_button span.ajxp_icon_span,
    span#open_with_button_label{
      display: none;
    }

    &.scrolling td.infoPanelValue{
      padding-right: 18px;
    }


    .infoPanelGroup
    {
      border-radius: 0;
      padding: 1px;
    }

    div.info_panel_primary_multiple{
      margin-top: 0 !important;
      border-top: 0;
    }

    .info_panel_multiple_tile {
      width: 27%;
      height: 76px;
      float: left;
      padding: 7px 2%;
      background-color: white;
      margin: 0 1% 6px;
      position: relative;
      text-align: center;
      border-radius: 0;
      box-shadow: @reactBoxShadowDepthMini;
    }

    .info_panel_multiple_tile div.tile_preview img {
      max-width: 90%;
      max-height: 60px;
    }

    .info_panel_multiple_tile div.tile_label {
      position: absolute;
      bottom: 1px;
      font-size: 0.7em;
      overflow: hidden;
      width: 89%;
      text-overflow: ellipsis;
      padding: 2px 2px 0;
      text-align: center;
      color: #646464;
      white-space: nowrap;
    }

    div.toolbar_placeholder{
      margin-top: 25px;
      display: inline-block;
    }
    div.one_has_many{
      margin-top: 10px;
      div.toolbar_placeholder{
        margin-top: 0;
      }
    }

    div.toolbarGroup{
      text-align: center;
    }

  }

  div[data-metatype="stars_rate"] {
    padding: 3px 0 30px;
  }

  div.infoPanelLabel{
    width: 100%;
  }

  tr td.infoPanelLabel
  {
  }

  div.one_has_many > div.toolbar_placeholder.has_many > div.toolbarGroup {
  }

  div.one_has_many > div.toolbar_placeholder.one_or_less > div.toolbarGroup a {

  }

  div.dimension_card_width{
    text-align: center;

  }

  div.dimension_card_height{
    float: left;

    height: 37px;
    width: 28%;
    padding-top: 59px;
    text-align: right;
  }

  div.dimension_card_rectangle{
    float: left;

    height: 95px;
    width: 67%;
    /* background-color: #ddd; */
    border-radius: 5px;
    margin-top: 5px;
    margin-left: 2%;
    border: 1px solid #AAA;
  }

  div.infoPanelAllMetadata > div {
    border-top: 1px solid #ddd;
    padding: 6px 16px;
    &#info_panel_primary{
      padding-top: 12px;
      &.empty{
        display: none;
      }
    }
  }

  div.triple div.infoPanelAllMetadata > div{
    float: left;
    margin: 2%;
    width: 46%;
  }

  div.infoPanelAllMetadata span.meta_user_tag_block {
    display: inline-block;
    background-color: rgba(52, 94, 121, 0.78);
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    margin-right: 5px;
    font-weight: 500;
  }

  .ipanel_no_selection_select{
    padding: 30px;
    color: rgb(150, 154, 160);
    span.icon-info-sign {
      opacity: 0.4;
      display: block;
      text-align: center;
      font-size: 120px;
      padding: 50px 0 20px;
    }
  }

  #no-results-found {
    color: rgb(180, 184, 190);
    text-shadow: 1px 1px 0 #ffffff;
  }

  .ipanel_no_selection_select span.label {
    display: block;
    text-align: center;
    font-size: 13px;
  }

  .ipanel_no_selection_data {
    display: none;
  }

  .infoPanelTable tr:last-child td
  {
    border-bottom:0;
  }
}

