.logo-name{
    font-family: 'Michroma', Helvetica Neue, Helvetica, Arial;
    font-size: 55px !important;
    line-height: 150px;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.l{
    color: #c30000;
    text-align: center;
}
.btn-link.eraser, .btn-link.search{
    height: 36px;
    min-width: 36px;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    background-color: #eee;
    border: 1px solid #CBD5DD;
}

.ui-jqgrid .ui-jqgrid-toppage{
    height: 35px !important;
}

.ui-jqgrid .ui-state-default .ui-icon{
    background-image: none;
    font-size: 15px;
}
.fa.green:before{
    color: green;
}
.fa.orange:before{
    color: orange;
}
.fa.red:before{
    color: red;
}
.fa.blue:before{
    color: blue;
}
.ui-pg-table>tbody>tr>.ui-pg-button>.fa {
    display: inline-block;
    padding: 0;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    position: static;
    float: none;
    margin: 0 2px!important;
    color: #808080;
    border: 1px solid #CCC;
    background-color: #FFF;
    border-radius: 100%;
}
.ui-th-column, .ui-jqgrid .ui-jqgrid-htable th.ui-th-column td.ui-search-input{
    height: 28px;
}
.tooltip{
    z-index: 5000 !important;
}
.form-actions{
    display: table;
}
.ui-jqgrid tr.jqgrow td{
    line-height: 0px;
}
.grid-opt{
    height: 22px;
    line-height: 0px;
}
a.grid-opt {
    font-size: 14px;
    margin-left: 5px;
}

.expenses-detail{
    height: 650px;
}
.txt-center{
    text-align: center;
}
.txt-right{
    text-align: right;
}

.tr-handle:hover{
    cursor: pointer;
    font-weight: bold;
}

.spin-loading {
    display:    none;
    position:   fixed;
    z-index:    9000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 0, 0, 0, .5 )
                50% 50%
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .spin-loading {
    display: block;
}

table tr td a{
    color: inherit;
}

.risk-matrix {
    position: relative;
    width: 100%;
    margin-left: 20px;
    margin-bottom: 20px
}

.risk-matrix .left-label {
    position: absolute;
    font-size: 1.2em;
    font-weight: 700;
    bottom: 0;
    transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform-origin: left bottom 0;
    -webkit-transform-origin: left bottom 0;
    -ms-transform-origin: left bottom 0
}

.risk-matrix .bottom-label {
    position: absolute;
    font-size: 1.2em;
    font-weight: 700;
    bottom: -20px
}

.risk-matrix .risk-box {
    position: absolute;
    width: 19%;
    height: 19%;
    margin-right: 1%;
    margin-top: 1%
}

.risk-box.low-risk {
    background: rgba(153, 255, 51, .8);
    border: 1px solid rgba(153, 255, 51, 1)
}

.risk-box.medium-risk {
    background: rgba(255, 153, 51, .8);
    border: 1px solid rgba(255, 153, 51, 1)
}

.risk-box.high-risk {
    background: rgba(255, 51, 51, .8);
    border: 1px solid rgba(255, 51, 51, 1)
}

.risk-box.col-1 {
    left: 0
}

.risk-box.col-2 {
    left: 20%
}

.risk-box.col-3 {
    left: 40%
}

.risk-box.col-4 {
    left: 60%
}

.risk-box.col-5 {
    left: 80%
}

.risk-box.row-5 {
    top: 0
}

.risk-box.row-4 {
    top: 20%
}

.risk-box.row-3 {
    top: 40%
}

.risk-box.row-2 {
    top: 60%
}

.risk-box.row-1 {
    top: 80%
}

.risk-matrix .risk-matrix-item {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-left: -7%;
    margin-bottom: -7%;
    z-index: 1000;
    background: #fff;
    border: 1px solid #000;
    cursor: pointer;
    overflow: hidden;
    -ms-transition: all 1s ease;
    -webkit-transition: all 1s ease;
    transition: all 1s ease
}

.risk-matrix .risk-matrix-item:hover {
    width: 50%;
    height: 50%;
    margin-left: -25%;
    margin-bottom: -25%;
    z-index: 2000;
    border-radius: 0;
    border: 1px solid #ddd
}

.risk-matrix .risk-matrix-item>div.open {
    padding: 5px;
    visibility: hidden;
    opacity: 0
}

.risk-matrix .risk-matrix-item:hover>div.open {
    visibility: visible;
    opacity: 1;
    -ms-transition: visibility 0s linear .5s, opacity .5s linear;
    -webkit-transition: visibility 0s linear .5s, opacity .5s linear;
    transition: visibility 0s linear .5s, opacity .5s linear;
    -ms-transition-delay: .5s;
    -webkit-transition-delay: .5s;
    transition-delay: .5s
}

.risk-matrix .risk-matrix-item>div.closed {
    display: table;
    width: 100%;
    height: 100%;
    font-size: .7em;
    background-image: -ms-linear-gradient(top, #FFF, silver);
    background-image: -webkit-linear-gradient(top, #FFF, silver);
    background-image: linear-gradient(top, #FFF, silver)
}

.risk-matrix .risk-matrix-item>div.closed>span {
    display: table-cell;
    text-align: center;
    vertical-align: middle
}

.risk-matrix .risk-matrix-item:hover>div.closed {
    display: none;
    -ms-transition-delay: 1s;
    -webkit-transition-delay: 1s;
    transition-delay: 1s
}

.risk-matrix .risk-matrix-item .title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
dd, dt {
    line-height: 1.8;
}

@media (max-width: 991px) {
   .width-sm-12{
       width: 100%;
       margin-top: 0px !important;
   }
  .nav.nav-tabs li{
        width: 100%;
        text-align: center;
  }
  .nav-tabs > li > a{
        -moz-border-bottom-colors: none;
        -moz-border-left-colors: none;
        -moz-border-right-colors: none;
        -moz-border-top-colors: none;
        background: none;
        border-color: #dddddd #dddddd rgba(0, 0, 0, 0);
        border-bottom: #f3f3f4;
        border-image: none;
        border-style: solid;
        border-width: 1px;
        color: #555555;

  }
  .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        background-color: #f3f3f4 !important;
        cursor: default;

  }
  .client-detail {
    height: 310px;
    }
}
.tab-pane{
    padding: 20px;
    border: 1px solid;
    border-bottom: 1px solid;
    border-color: #dddddd #dddddd rgba(0, 0, 0, 0);
    border-top: none;
}
.note-editor {
    display: inline-block;
    width: 100%;
}
.note-btn.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

select.chosen-with-icon + .chosen-container.chosen-container-single .active-result{
    padding-left    : 35px;
}

select.chosen-with-icon + .chosen-container.chosen-container-single .special-event:before {
    content : "\f005";
    display : block;
    font-family : FontAwesome;
    left    : 0;
    position    : absolute;
    text-align  : center;
    width   : 30px;
    color: #f8ac59;
}