/*--- Pondus specifikt---*/

.objbox a:hover {
    text-decoration:underline;
}
/*Fix i split:ade treegrids där tomma fält inte var lika höga */
.obj tr td span { 
    display:inline-block;
}

.grid_cell_hoverlinks {
    display:inline-block;
    position: relative;
    width:100%
}

.grid_cell_hoverlinks .hoverlinks_container {
    display:inline-block;
    position:absolute;
    right:0;
   
}



.grid_cell_hoverlinks .hoverlinks_container a.icon_button.active_icon_button {
    opacity:1;
    visibility:visible;
    background-color:#a7c7db;
    
}
.grid_cell_hoverlinks .hoverlinks_container a.icon_button.active_icon_button .icon {
color:#272727;
}


.grid_cell_hoverlinks .hoverlinks_container  a.icon_button {
    /*margin-right:5px;*/
    display:inline-block;
    /*padding:0 6px;*/
    width:26px;
    text-align:center;
    border-radius:2px;
    opacity:0;
    visibility:hidden;
     /*transition: opacity 0.2s,visibility 0.2s;*/
     
 
}

.grid_cell_hoverlinks .hoverlinks_container  a.icon_button:last-child {
     margin-right:0;
}

.grid_cell_hoverlinks .hoverlinks_container a.icon_button:hover {
    text-decoration:none;
    /*background-color:rgba(98, 124, 161,0.08);*/

    /*background-color:#a1ae89;*/
    /*background-color:#9fbc5a;*/
}

.grid_cell_hoverlinks .hoverlinks_container a.icon_button .icon {
    color:#606164;
    line-height:32px;
}

.grid_cell_hoverlinks .hoverlinks_container a.icon_button:hover .icon {
    /*color:#ffffff;*/
    /*color:rgba(98, 124, 161,1.0);*/
    color:#272727;
}
tr:hover .grid_cell_hoverlinks .hoverlinks_container a {
    opacity:1;
    visibility:visible;
}

a.grid_cell_linkbutton {
    display: inline-block;
    background-color: #ffffff;
    color: #4b8ab5;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    line-height: 20px;    
    border: 1px solid #4b8ab5;
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.1);
    text-decoration: none;
    text-align:center;
    font-size:16px;
}
    a.grid_cell_linkbutton:hover {
        text-decoration: none;
        background-color: #4b8ab5;
        color:#ffffff;
    }

div.gridbox_material.gridbox table.obj tr td:first-child {
    padding-left:4px !important;
}
/*----Grid---*/
div.gridbox_material.gridbox table.obj.row20px tr td img {
    display: inline-block;
    margin-bottom: -2px;
}


div.gridbox div.ftr {
    background-color:#fafafa;
}

div.gridbox_material.gridbox .ev_material {
    background-color:#f6f9fc;
}

div.gridbox_material.gridbox .odd_material {
    /*background-color:#fafafa;*/
}

div.gridbox_material.gridbox table.obj.row20px tr.rowselected td {
    background-color:#dbe9f2;
    
}

div.gridbox_material.gridbox table.obj tr.rowselected td:first-child {
    border-left-color: #dbe9f2;
    padding-left: 2px !important;
}

div.gridbox_material.gridbox table.hdr td {
    color:#606164;
    font-weight:bold;
    border-right:1px solid #ebebeb;
    border-top:1px solid #ebebeb;
    
}

    div.uListCtrl-container div.gridbox_material.gridbox table.hdr td .hdrcell {
        white-space:nowrap;
        text-overflow:ellipsis;
    }

    div.gridbox_material.gridbox table.hdr td:hover {
        background-color: #f6f6f6;
    }

.dhx_sub_row {
    margin-top:0px !important;
    background-color:#f1f1f1 !important;
}
/*Override för garantera höjd i treegrid, särskilt för "Ekonomisk översikt"*/
.treegrid_cell {
    height: 32px !important;
    line-height: 32px !important;
}

.treegrid_cell > * {
    vertical-align:middle;
}


/*div.gridbox_material.gridbox table.hdr td .hdrcell {
    cursor:pointer !important;
 }*/

.dhxlayout_base_material div.dhx_cell_layout {
    box-shadow: 0 1px 3px 1px #d1d3d8;
    -webkit-box-shadow: 0 1px 3px 1px #d1d3d8;
    border-radius:2px;    
    
}

.main-content .main-content .dhxlayout_base_material div.dhx_cell_layout, .panel .dhxlayout_base_material div.dhx_cell_layout, .AJAX_Window .dhxlayout_base_material div.dhx_cell_layout {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 2px;
}

.panel .dhxtabbar_base_material {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.dhxlayout_base_material div.dhx_cell_layout div.dhx_cell_hdr {
    border-radius:2px 2px 0 0;
    background-color:#4989b5;
}

.dhxlayout_base_material div.dhx_cell_layout .dhx_cell_hdr_text {
    font-weight: 600;
    color: #ffffff;
    font-family: "Open Sans";
}

.dhxacc_base_material div.dhx_cell_acc div.dhx_cell_hdr {
    color:#404040;
}

div.gridbox_material.gridbox table.obj tr td.editable .dhx_combo_edit {
    line-height:1;
}

div.dhxcombo_material input.dhxcombo_input {
    box-shadow:none;
}

.dhxlayout_base_material div.dhx_cell_layout div.dhx_cell_cont_layout {
    border-radius:2px;
    /*Snabbfix för innehåll som glider utanför content-area*/
    /*overflow:auto;*/
}

.hdrcell input[type="checkbox"] {
    margin:0 auto;
    display:block;
}

.dhxtree_material {
    border-radius:2px;
}

 .dhxlayout_base_material {
     border-radius:2px;
 }

 /* Utan denna blir det ingen border-bottom på Toolbaren av någon anledning
    Tex:
        CaseEconomics
 */

 .dhx_toolbar_material {
    background-color:#eff0f1;
 }

 .dhx_toolbar_material.dhx_toolbar_shadow {
    border-bottom-width:1px;
    box-shadow:0;
 }


 .dhx_toolbar_btn {
    border-radius:2px;
    margin:5px 2px;
    border:1px solid #d2d2d2 !important;
    background-color:#fafafa;
    cursor:pointer !important;
 }

  .dhx_toolbar_btn > * {
      cursor:pointer !important;
  }

  .dhx_toolbar_material div.dhx_toolbar_btn.dhxtoolbar_btn_over, .dhx_toolbar_material div.dhx_toolbar_arw.dhxtoolbar_btn_over {
    border-color: #4989b5 !important;
    color:#4989b5;
    background-color:#fafafa;
  }

.dhx_toolbar_btn .dhxtoolbar_input, .dhx_toolbar_btn .dhxtoolbar_input:focus {
    box-shadow: none;
    border: none !important;
    background-color: transparent !important;
}

 .dhx_toolbar_arw {
    border-radius:2px;
    margin:5px 2px;
    border:1px solid #d2d2d2 !important;
    margin-left:-3px !important;
    border-radius: 0 2px 2px 0;
    background-color:#fafafa;
    cursor:pointer !important;
 }

  .dhx_toolbar_arw > * {
      cursor:pointer !important;
  }
.dhx_toolbar_btn.dhxtoolbar_btn_dis, .dhx_toolbar_btn.dhxtoolbar_btn_dis > *, .dhx_toolbar_arw.dhxtoolbar_btn_dis, .dhx_toolbar_arw.dhxtoolbar_btn_dis > * {
    cursor: auto !important;
}
.dhx_toolbar_material.dhxtoolbar_icons_18 {
    height: 40px !important;
}
.dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_btn, .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_arw, .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_text {
    height:30px;
    line-height:30px;
 }

    .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_text {
        margin-top:3px;
    }
    
    .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_btn div.dhxtoolbar_text {
        height: 30px;
        line-height: 30px;
    }

 .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_btn img, .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_arw img {
     margin-top:5px;
 }

 .dhx_toolbar_material.dhxtoolbar_icons_18 div.dhx_toolbar_sep {
     height:30px;
     margin-top:5px;
 }

 .dhx_toolbar_material div.dhx_toolbar_btn.dhxtoolbar_btn_pres, .dhx_toolbar_material div.dhx_toolbar_arw.dhxtoolbar_btn_pres {
    background-color: rgba(75, 138, 181,0.03);
    border-color:#4989b5 !important;
 }

 .dhx_toolbar_poly_material {
    margin-top:1px;    
 }

 div.dhx_toolbar_poly_material {
     background-color:#ffffff;
 }

  div.dhx_toolbar_poly_material .tr_btn_over td, div.dhx_toolbar_poly_material .tr_btn_selected td {
        background-color: #f1f1f1;
    }

  .dhx_toolbar_material div.dhx_toolbar_btn.dhxtoolbar_btn_dis img, .dhx_toolbar_material div.dhx_toolbar_arw.dhxtoolbar_btn_dis img {
      opacity:0.75;
  }

 div.gridbox div.ftr td {
     background-color:#fafafa; 
      border-top:1px solid #ebebeb;
      border-right:0px;
  }

.dhx_sub_row {
    border-left: 2px solid #dfdfdf;
    margin-left: -2px;
}

    .dhx_sub_row .xhdr {
        background-color: #606164 !important;
    }

    .dhx_sub_row .hdr, .dhx_sub_row .hdr td {
        background-color: #606164 !important;
        border-color: #606164 !important;
        color:#f1f1f1 !important;
    }

 /*---Window ---*/
.dhxwins_vp_material div.dhxwins_mcover {
    position: fixed !important;
    height: auto !important;
    bottom: 0px;
}
/*
     Testar att ta bort då det skapade en offset i innehållet av fönstret
     .dhx_cell_cont_wins {
     padding:10px;
 }*/
.dhxwins_vp_material div.dhxwin_active {
    box-shadow: 0 10px 30px 0px rgba(0, 0, 0, 0.25);
}

.dhxwins_vp_material div.dhxwin_active div.dhxwin_hdr div.dhxwin_btns div.dhxwin_button:hover {
    background-color: #3c6f92;
}


.dhxwins_vp_material div.dhxwin_active div.dhxwin_hdr {
    background-color:#4b8ab5 !important;
}
.dhxwins_vp_material div.dhxwin_active.dhxwin_dnd_touch, .dhxwins_vp_material div.dhxwin_active.dhxwin_dnd {
    box-shadow: 0 10px 30px 0px rgba(0, 0, 0, 0.25);
}
.dhxwins_vp_material div.dhxwin_active.dhxwin_dnd_touch {
    border-color: #4b8ab5;
    box-shadow: 0 0 14px #a4b9cb;
}

.dhxwins_vp_material div.dhxwin_inactive {
    background-color: #98a5ba;
    box-shadow: 0 0 8px rgba(127, 127, 127, 0.4);
}

.dhxwins_vp_material div.dhxwin_inactive div.dhxwin_brd {
    border-color: #4b8ab5;
    opacity: 0.8;
}

.dhxwins_vp_material div.dhxwin_inactive div.dhxwin_hdr {
    background-color: #4b8ab5;
    color: #d9e7f3;
    opacity: 0.8;
}

.dhxwins_vp_material div.dhxwin_active div.dhxwin_hdr {
    background-color: #4b8ab5;
    color: #ffffff;
}

.dhxwins_vp_material div.dhxwin_brd {
    border-color: #4b8ab5;    
}