/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX

    - GLOBAL
        - GENERAL
            - Dropzone
            - Jarvis Widget
            - Data table
            - Document Container
        - HEADER
 */




/* GLOBAL */

/** GENERAL */

.padding-20 {
    padding: 20px !important;
}


/*** Dropzone mod ***/
.dropzone {
    min-height: 65px;
}
.dropzone .progress {
    margin-bottom: 5px;
}
.dropzone .file-row {
    padding-top: 10px;
}
.dz-message {
    background: none;
    z-index: -100;
}
.dropzone #previews {
    display: none;
}
.dropzone.dz-started div#previews {
    display: block;
}
.dz-error-message {
    clear: both; max-height: 25px; overflow: hidden;
}

/* Modal Dialog widget mod */
.modal .jarviswidget > div {
    border-width: 0;
}
/* Widget filter bar */
.jarviswidget fieldset.widget-body-filter {
    padding-top: 5px;
    padding-bottom: 5px;
}
.jarviswidget fieldset.widget-body-filter section {
    margin-bottom: 0;
}



/** angular-smart-table*/
.table {
    margin-top: 6px;
}

td.paging {
    overflow-y: auto !important;
    height: auto !important;
    padding-bottom: 0px;
}
    td.paging nav {
        padding-bottom: 0px;
        overflow-y: hidden;
    }
    td.paging nav > ul {
        margin-top: 5px;
        padding-right: 0px;
        position: relative;
        height: 100%;
        width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }
    td.paging nav > ul > li > a {
        padding-top: 6px;
        padding-bottom: 6px;
    }
    td.paging .pagination {
        width: auto;
    }
    td.paging .pagination > .active > a {
        color: white !important;
    }
    td.paging .pagination > .active > a {
        color: white !important;
    }
        td.paging .pagination > .active > a:before {
            content: "" !important;
            display: none !important;
        }
        td.paging .pagination > .active > a:hover {
            background-color: #3b9ff3 !important;
        }

.st-sort-ascent:after {
    content: '\25B2';
}

.st-sort-descent:after {
    content: '\25BC';
}


/* Data table */
.dataTable tbody .details-control:before,
.dataTable tbody .shown .details-control:before {
    color: silver;
}

/*** Document Container*/
.document-container td.action,
.document-container th.action
{
    width: 50px;
}
.mobile-view-activated .document-container td.action,
.mobile-view-activated .document-container th.action
{
    width: 20px;
}


/** HEADER **/
#header .pe-logo {
    margin-top: 2px !important;
    margin-left: 2px !important;
    width: 60px !important;
}
#header .pe-logo-big {
    margin-top: 6px !important;
    margin-left: 2px !important;
}
#header #hide-menu {
    width: 50px !important;
}
#header .mobile-view-activated #logo-group {
    width: 160px!important;
}
#header .pe-logo-group-light {
    background: transparent !important;
    margin-top: 10px;
}
#header .pe-logo > img {
    width: 60px !important;
    height: 46px !important;
}
#header .pe-logo-big > img {
    width: 78px !important;
    height: 60px !important;
}
#header .pe-firmname {
    max-width: 70%;
    width: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    padding: 12px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: large;
    color: white;
}

    #header .pe-firmname.black {
        color: black;
    }


/* Ribbon - not used */
#ribbon {
    display: none !important;
}
#content {
    padding-top: 10px !important;
}







/* Activity */

#header-activity > span {
  display: inline-block;
  height: 39px;
  float: left;
}
#header-activity span#activity {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  cursor: default !important;
  display: inline-block;
  font-weight: bold;
  height: 24px;
  width: 24px;
  padding: 2px;
  text-align: center;
  text-decoration: none !important;
  -moz-user-select: none;
  -webkit-user-select: none;
  background-color: #f8f8f8;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f1f1f1));
  background-image: -webkit-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -moz-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -ms-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: -o-linear-gradient(top, #f8f8f8, #f1f1f1);
  background-image: linear-gradient(top, #f8f8f8, #f1f1f1);
  border: 1px solid #bfbfbf;
  color: #c4bab6;
  font-size: 19px;
  margin: 10px 0 0 0;
  position: relative;
}
#header-activity span#activity:hover {
  border: 1px solid #bfbfbf;
  transition: all 0.0s;
  cursor: pointer !important;
  -webkit-box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.08);
  box-shadow: inset 0px 0px 4px 1px rgba(0, 0, 0, 0.08);
}
#header-activity * {
    box-sizing: content-box;
}
#header-activity {
    
}
.smart-style-2 #header-activity span#activity {
  background: none !important;
  border: none !important;
  color: #C5C6CA;
}
.smart-style-2 #header-activity span#activity:hover {
  color: #fff;
}
.smart-style-2 #header-activity > span .badge {
    background: #008DC4;
}
#header-activity > .ajax-dropdown:before,
#header-activity > .ajax-dropdown:after {
    left: 54% !important;
}





/* LOGIN */
.login-info > span {
    height: 33px !important;
}
.login-info .pe-login-avatar {
    font-size: 25px !important;
    color: #202427;
    padding: 3px 10px 3px !important;
}



/* PEOPLE AVATAR */
.contacts-badges a {
    display: inline-block;
    overflow: hidden;
    margin: 0 3px 0 0;
    border-radius: 0px;
    font-size: 16px;
    min-width: 32px;
    text-align: center;
    font-weight: bold;
}
.contacts-badges > a > div
{
    padding: 4px;
    border-left: 3px solid #fff;
    background-color: #e5e5e5;
}
.contacts-badges div.client {
  border-left-color: #40ac2b !important;
}
.contacts-badges div.employee {
  border-left-color: #ffc40d !important;
}



/* MATTER */
.matter-dl dd, .matter-dl dt
{
    padding: 5px 0 5px 0;
}
.matter-stage-section
{
    background-color: whitesmoke;
    margin-bottom: 10px;
    min-height: 150px;
    padding: 10px;
}

    .matter-stage-section .stage-pick {
        height: 5px;
        width: 40px;
        float: left;
    }

    .matter-stage-section .stage-pick.active {
            background-color: orange;
        }           

/*stage-dots*/
    .matter-stage-section .stage-dots {
        cursor: pointer;
        height: 30px;
        width: 100%;
    }
    .matter-stage-section .stage-dot
    {
        margin: 3px 2px 3px 2px;
        height: 14px;
        width: 40px;
        background-color: silver;
        float: left;
    }

    .matter-stage-section .stage-dot.completed
    {
        background-color: #5090C1;
    }
    .matter-stage-section .stage-dot.active
    {
        background-color: #61BAFF;
    }
        .matter-stage-section .stage-dot.active::after {
            position: relative;
            width: 0;
            height: 0;
            content: " ";
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 4px solid black;
            bottom: 2px;
            left: 14px;
        }
    .matter-stage-section .stage-description .stage-description-text
    {
        overflow: hidden;
        padding-top: 5px;
    }
    .matter-stage-section .stage-description .label {
        position: absolute;
        padding-top: 3px;
        margin-top: 5px;
        margin-left: 15px;
    }
    .matter-stage-section .stage-description strong
    {
        line-height: 25pt;
    }
    .matter-stage-section .stage-description {
        display: none;
        padding: 0;
    }
    .matter-stage-section .stage-description.active {
        display: block;
    }


/* TODO LIST*/
.pe-todo {   
}
.pe-todo > li > :first-child {
    padding: 0;
}
.pe-todo > li > p {
    margin-left: 23px;
}
.pe-todo > li > :last-child {
}
.pe-todo > li > .task-actions {
    display: none;
}
.pe-todo > li:hover > .task-actions {
    display: inline;
}




/* ELEMENT overrides */
textarea.code {
    resize: vertical !important;
}

.code {
    font-family: monospace !important;
}