html, body { height: 100%;}


footer {
    padding: 0;
    border-top: 1px solid #eee;
    color: white;
    background-color: #222222;
    height: 220px;
}

footer > div > p {
    margin-bottom: 11px;
    margin-top: 13px;
}

footer > .container{
    padding: 50px 0 40px 0;
}

footer ul{
    padding: 0;
    margin: 0 1em;
}

footer ul li{
    line-height: 1.85em;
    font-size: 1.1em;
    list-style: none;
    font-weight: bold;
}

.form-xlarge{
    width: 470px;
}

footer ul ul li{
    line-height: 1.75em;
    font-weight: normal;
    font-size: 1em;
    padding-left: 0.5em;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -220px;
}

.push { height: 280px; clear: both; } /* Just some arbitrary space to add between footer and rest of the content, when they are close */

/* not required for sticky footer; just makes some space for navigation bar */
.wrapper > .container {
    padding-top: 0;
}

.well {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.well .pager {
    margin: 19px 0 0 0;
}

.well .pager a.disabled,
.well .pager a.disabled:hover {
    cursor: default;
    background-color: #e6e6e6;
    opacity: 0.65;
    color: #333;
}

.feed-item > img, .salesman-table td:first-child > img, .salespeople-deck li img, .calendar-salespeople-deck li img, .modal-salespeople-deck li img, .salespeople-select-list td:nth-child(2) > img {
    width: 48px;
    height: 48px;
    display: block;
    float: left;
    border-radius: 5px;
}

.feed-item > p, .salesman-table td:first-child > p, .salespeople-deck li p, .calendar-salespeople-deck li p, .modal-salespeople-deck li p, .salespeople-select-list td:nth-child(2) > p {
    display: block;
    margin: 0 0 5px 58px;
    font-size: 1em;
    line-height: 1.25em;
    vertical-align: top;
}

.note-item > div {
    display: block;
    margin: 0 20px 5px 58px;
    font-size: 1em;
    line-height: 1.25em;
    vertical-align: top;
}

.proposal_extra_info {
    padding-left: 64px !important;
    border-top: 0 !important;
    padding-top: 0 !important;
}

#new_note_form textarea {
    resize: vertical;
}

ul.unstyled li.well {
    display: inline-block;
}

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.5;
}

.modal-large {
    width: 50%;
    margin-left: -25%;
}

.hide-element {
    display: none;
}

/*      EXTRA POPOVER PLACEMENTS       */
/* =================================== */


/** Top Left **/
.popover.topLeft {
    margin-top: -10px;
}

.popover.topLeft .arrow {
    bottom: 0;
    left: 30px;
    margin-left: -5px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-top: 5px solid #000;
    border-right: 5px solid rgba(0, 0, 0, 0);
}

/** Top Right **/
.popover.topRight {
    margin-top: -10px;
}

.popover.topRight .arrow {
    bottom: 0;
    right: 30px;
    margin-left: -5px;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-top: 5px solid #000;
    border-right: 5px solid rgba(0, 0, 0, 0);
}


/** Right Top **/
.popover.rightTop {
    margin-left: 10px;
}

.popover.rightTop .arrow {
    top: 30px;
    left: 0;
    margin-top: -5px;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid #000;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
}

/** Right Bottom **/
.popover.rightBottom {
    margin-left: 10px;
}

.popover.rightBottom .arrow {
    bottom: 30px;
    left: 0;
    margin-top: -5px;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid #000;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
}


/** Bottom Left **/
.popover.bottomLeft {
    margin-top: 10px;
}

.popover.bottomLeft .arrow {
    top: 0;
    left: 30px;
    margin-left: -5px;
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid #000;
    border-left: 5px solid rgba(0, 0, 0, 0);
}

/** Bottom Right **/
.popover.bottomRight {
    margin-top: 10px;
}

.popover.bottomRight .arrow {
    top: 0;
    right: 30px;
    margin-left: -5px;
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid #000;
    border-left: 5px solid rgba(0, 0, 0, 0);
}


/** Left Top **/
.popover.leftTop {
    margin-left: -10px;
}

.popover.leftTop .arrow {
    top: 30px;
    right: 0;
    margin-top: -5px;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid #000;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
}


/** Left Bottom **/
.popover.leftBottom {
    margin-left: -10px;
}

.popover.leftBottom .arrow {
    bottom: 30px;
    right: 0;
    margin-top: -5px;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid #000;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
}


/*      FIELDLINK SPECIFIC STYLES       */
/* ==================================== */


.salespeople-select-list td:first-child{
    width: 1em;
}

.salespeople-deck li, .companies-deck li{
    display: inline-block;
    margin: .5em 0 0 15px;
    width: 14.15em;
    overflow: hidden;
    vertical-align: top;
}

.calendar-salespeople-deck li {
    display: inline-block;
    margin: .5em 0 0 -2em;
    width: 14.15em;
    overflow: hidden;
    vertical-align: top;
}

.modal-salespeople-deck li {
    display: inline-block;
    margin: .5em 20px 0 15px;
    width: 14.15em;
    overflow: hidden;
    vertical-align: top;
}

.salespeople-deck li:first-child, .salespeople-deck li:nth-child(3n+1), .companies-deck li:first-child, .companies-deck li:nth-child(3n+1) {
    margin-left: 0 !important;
}

.salespeople-deck, .companies-deck, .modal-salespeople-deck{
    margin-left: 0;
}

.feed-item-list {
    margin-top: 16px;
}

.feed-item{
    clear: both;
    display: block;
    margin: 0 0 .8em;
    overflow: hidden;
    border-radius: 5px;
}

.small, .foo a{
    font-size: .85em !important;
    font-weight: bold;
}
.small{
    color: #666666;
    line-height: 1.25em;
}

.foo{
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: .8em;
    overflow: auto;
}

.foo h3{
    display: inline-block;
}

.foo span.label{
    vertical-align: 25%;
    display: inline-block;
}


.message {
    margin-bottom: 18px;
    color: #666666;
}

.message.fake-table {
    border-top: 1px solid #dddddd;
    padding: 8px 0 0 8px;
}


fieldset{
    margin-bottom: 20px;
}
.my-navbar{
    padding: 0px;
    background-color: #0084b4;

}

.nav-pills > li{
    margin: 0 .4em 0 0;
}

.alert-row {
    margin-top: -18px;
    margin-bottom: 18px;
}

.table td{
    vertical-align: middle;
}

.overflow-table {
    overflow-x: auto;
    width: 100%;
}


.typeahead.dropdown-menu {
    z-index: 1100;
}

.main-nav a,
.account-area a.dropdown-toggle{
    display: inline-block !important;
    color: white !important;
    position: relative !important;
    text-shadow: none !important;
}

.main-nav a{
    line-height: 26px !important;
    padding: 1.15em .6em 1.05em .6em !important
}

@media (max-width: 1200px) {
    .main-nav a{
        padding: 1.15em .34em 1.05em .34em !important;
    }
}

.account-area .dropdown-toggle img{
    margin-top: -7px;
    border-radius: 5px;
}

.account-area a{
    font-size: .85em !important;
    padding: 1.6em 0 1.25em 0 !important;
}

.r-active{
    font-weight: bold !important;
}

.main-nav a:hover{
    text-decoration: underline !important;
}

.account-area .dropdown-toggle {
    padding: 1.7em 1.1em 2px 0 !important;
}

.account-area .dropdown-menu {
    top: 110%;
    z-index: 1100;
}

.account-area .dropdown-menu .neutral-item{
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #333333;
    white-space: nowrap;
    background-color: #f5f5f5;
}


.account-area .dropdown-menu:before,
.account-area .dropdown-menu:after {
    display: none;
}

.account-area .dropdown-menu a {
    padding: 3px 15px !important;
    font-size: 13px !important;
}
.account-area .dropdown-menu a:hover {
    text-decoration: none !important;
}

.account-area .dropdown-toggle i {
    margin-top: -1px;
    margin-left: 3px;
}




.main-nav #nav-search-button {
    margin: 0px;
}

@media (min-width: 980px) and (max-width: 1199px) {
    .main-nav #nav-search-box {
        width: 100px;
    }
}

@media (max-width: 1200px) {
    .account-area .view-salesman {
        width: 70px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

    }
}

.main-nav .search-bar {
    margin: 1.1em .6em 1em .7em;
}

.main-nav .r-active:after{
    content: "";
    display: block;
    border: .8em solid transparent;
    border-bottom-color: #fff;
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -.8em;
}

.my-header {
  padding: 1em 20px 0 20px;
  background-color: #DADADA;
}

.bar{
    float: left;
    width: 16.6%;
}


.logo{
    display: inline-block;
    color: white;
    margin:12px 1em 13px 0;
    width: 167px;
    height: 29px;

}

@media (min-width: 1200px) { .logo{margin-right: 2em;} }

.list-filter-form .control-group{
    margin-left: 0 !important;
}

.list-filter-form legend{

    font-size: 1em;
    font-weight: bold;
    margin-bottom: .5em;
    padding-bottom: 0;
    line-height: 2em;
}

.list-filter-form legend + .control-group{

    margin-top: .5em;
}

.tabs-left ul li:first-child h4{
    margin-top: .5em;
}

.tabs-left ul li h4{
    margin: 4em 0 1em 1em;
}

h4{
    margin-top: 1em;
    margin-bottom: 1em;
}

.qr-code{
    display: block;
    width: 250px;
    height: 250px;
    margin: 0 auto 1em auto;
}

.pin-display {
    display: inline-block;
}

.pin-display h4 {
    margin: 0;
}

.tags{
    line-height: 1.75em;
    padding-left: 0px !important;
    margin-left: 0px !important;
    float: none !important;
}

.detail-name
{
    font-size: 5em;
    line-height: 1em;
    margin-bottom: 0.5em;
    margin-top: 0.1em;
    display: inline-block;
}


.truncate {
    width: 12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}


a.big-number{
    line-height: 1.5em !important;
    margin: 0 0 1em 0 !important;
    border: 1px solid #eee !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background-color: #f5f5f5 !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
    text-align: right !important;
}

a.big-number:first-letter {
    line-height: 1em !important;
    font-size: 4em;
}


.tabs-as-buttons > .nav-tabs {
    border: 0 !important;
}

.tabs-as-buttons  .active > a,
.tabs-as-buttons  .active > a:hover {
    color: #ffffff !important;
    background-color: #0088cc !important;
}

.add-on{
    margin-left: 0 !important;
}

.alert-info > a{
    text-decoration: underline !important;
}

textarea {
    resize:none;
}

.extra-margin-before{
    margin-top: 1em;
}

.extra-margin-after{
    margin-bottom: 18px;
}

.modal-body{
    padding: 9px 15px;
    max-height: 400px;
    overflow: auto;
}

.modal-open{
    overflow: hidden !important;
}

.modal form {
    margin-bottom: 0px;
}

@media (min-width: 768px) and (max-width: 979px) {
    .my-navbar > .container {
        width: 724px !important;
    }
}

@media (min-width: 1200px) {
    .my-navbar > .container {
        width: 1170px !important;
    }
}


.pseudolink {
    color: #08C;
    text-decoration: underline;
    cursor: pointer;
}


.dropdown-menu li.danger > a:hover {
    background-color: #DA4F49;
}

.dropdown-menu li.warning > a:hover {
    background-color: #F89406;
}




.datepicker .datepicker-arrow {
    display: block !important;
    position: absolute;
    width: 0;
    height: 0;
}

.datepicker.bottom { margin-top: 12px; }
.datepicker.bottom .datepicker-arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-bottom: 8px solid #BBB;
    top: 0;

    left: 20%;
    margin-top: -9px;
    border-left: 8px solid rgba(0, 0, 0, 0);
    border-right: 8px solid rgba(0, 0, 0, 0);
}


.datepicker.right { margin-left: 12px; }
.datepicker.right .datepicker-arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-right: 8px solid #BBB;

    top: 50%;
    left: 0;
    margin-top: -9px;
    border-top: 8px solid rgba(0, 0, 0, 0);
    border-bottom: 8px solid rgba(0, 0, 0, 0);
}


div.hide1 div.region1{display: none}
div.hide2 div.region2{display: none}
div.hide3 div.region3{display: none}
div.hide4 div.region4{display: none}
div.hide5 div.region5{display: none}

table.hide1 .col1 { display: none }
table.hide2 .col2 { display: none }
table.hide3 .col3 { display: none }
table.hide4 .col4 { display: none }
table.hide5 .col5 { display: none }
table.hide6 .col6 { display: none }
table.hide7 .col7 { display: none }
table.hide8 .col8 { display: none }
table.hide9 .col9 { display: none }
table.hide10 .col10 { display: none }
table.hide11 .col11 { display: none }
table.hide12 .col12 { display: none }

.map-wrapper{
    position: relative;
    height: 100%;
    width: 100%;
}

#login-area{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #0084b4;
    color: #FFFFFF;
    padding: 50px 50px 50px 50px;
    border-radius: 50px 0 50px 0;

    margin-left: -185px;
    margin-top: -179px;
}

#login-area form{
    margin: 20px 0 0 0;
}

#login-area button {
    margin-top: 20px !important;
}

#login-area #forgot {
    margin-top: 1em;
}

#login-area #forgot a {
    color: #FFFFFF;
    text-decoration: underline;
}

#nav-container{
    display: none;
}

.nav-tabs li.disabled a.big-number {
    color: #999999 !important;
}

.label.clicked {
    background-color: #A00 !important;
}

a.inactive {
    pointer-events: none;
    cursor: default;
}

span.label a.tag, span.label a.tag2{
    color:white;
}

span.label a.tag:hover, span.label a.tag2:hover {
    text-decoration: none;
}

footer a {
    color:white;
    text-decoration: none;
}

footer a:hover {
    color:white;
}

.header-chart{
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 5px;
}

.header-chart .nav{
    max-height: 10px;
    margin-top: -1.5px;
}

.header-chart .nav i{
    margin-left: 3px;
}

.header-chart h3{
    margin-top: 3px;
}

div#chart-div {
    height: 300px;
    position: relative;
}

div#column-chart-div {
    height: 300px;
    position: relative;
}

div#pie-chart-div {
    height: 310px;
    position: relative;
}

.strong {
    font-weight: bold;
}


.private-feed-icon {
  display: inline-block;
  width: 13px;
  height: 14px;
  *margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../img/lock-gray-13.png");
  background-position: 0 1px;
  background-repeat: no-repeat;
}


/* user picture upload widget styles */
#user_picture_select_form,
#user_picture_select,
#user_picture_select_frame{
    margin: 0; padding: 0;
}

#user_picture_select_form label.thumbnail{
    position: relative;
    margin: 0;
    cursor: pointer;
}

#user_picture_select {
    position: absolute; left: -9999em;
}
#user_picture_select_frame {
    width:1px; height: 1px;
    position: absolute; left: -100px;
}

#user_picture_select_form .loading {
    position: absolute;
    top: 4px; bottom: 4px;
    left: 4px; right: 4px;

    background-color: #F5F5F5;

    background-image: url('../img/loading-48-350.gif');
    background-repeat: no-repeat;
    background-position: center center;

}


#picture_change_input {
    margin-left: 18px;
    display: none;
}


p.secondary {
    color: #505050;
}

/* --------------------------------- */



/* --- sortable tables styles --- */


th span.sortable {
    cursor: pointer;
}

.direction.asc,
.direction.desc
{
    margin-left: 5px;
}

.dropdown a.disabled-link,
.dropdown a.disabled-link:visited ,
.dropdown a.disabled-link:active,
.dropdown a.disabled-link:hover {
    background-color:#e9e9e9 !important;
    color:#999 !important;
    cursor:default;
}

/* --- SEARCH STYLES --- */
div.search-suggestion {
    width: 340px;
    padding: 2px 0px;
}

.search-suggestion p {
    margin: 0px; padding: 0px;
}

.search-suggestion .type {
    float: right;
    font-style: italic;
    margin-left: .5em;
}

.search-suggestion .name,
.search-suggestion .extra {
    overflow: hidden;
    text-overflow: ellipsis;
}


/* --- GENERIC MESSAGE BOX --- */
/* --------------------------- */

.message-box {
    width: 560px;
    margin: 100px auto 0 auto;
    background-color: #FFF;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.message-box > div {
    padding: 0 15px 15px 15px;
}
.message-box > div:first-child {
    padding-top: 15px;
}

.message-box .message-footer {
    text-align: right;
}


 /* --- FIRST USE EXPERIENCE STYLES --- */
 /* ----------------------------------- */

.chart_placeholder_message {
    position: absolute;
    top: 50px;
    left: 70px;
    right: 70px;

    text-align: center;
    color: #656565;

    border-color: #FFF;
    border-width: 1px;

    padding: 8px 14px;

    background-color: #F5F5F5;

  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
}


/* --- TUTORIAL MODAL --- */
.tutorial-modal {
    border: 2px solid #4CAE4C;
}

.tutorial-modal .modal-header {
    background-color: #4CAE4C;

    padding: 12px 15px;
    border-bottom: 0px solid #FFF;
}

.tutorial-modal .modal-header * {
    color: #FFF;
}

.tutorial-modal .modal-body {
    padding-top: 15px;
    padding-bottom: 0px;
}

.tutorial-modal .modal-footer {
    border-top: 0px solid #FFF;
    background-color: transparent;
}

.tutorial-modal img {
    margin-bottom: 12px;
}

.tutorial-modal:focus {
    outline: none;
}

/* --- TUTORIAL POPOVER --- */

.tutorial-popover {
    padding: 8px;
}

.tutorial-popover .popover-inner {
    padding: 2px;
    width: 370px;
    background-color: #4CAE4C;
    border-radius: 3px;
}

.tutorial-popover .popover-title {
    background-color: #4CAE4C;

    font-size: 16px;
    padding: 15px 15px;
    color: #FFF;

    border-bottom: none;
}

.tutorial-popover .popover-content {
    background-color: #FFF;
    font-style: normal;
    border-radius: 1px;
}

.tutorial-popover .popover-content p {
    margin-bottom: 9px;
}

.tutorial-popover .tutorial-footer {
    margin-top: 14px;
    text-align: right;
}

.tutorial-footer .dismiss-tutorial {
    margin-top: 8px;
    text-align: right;
}

.tutorial-steps {
    float: right;
    line-height: 0.8em;
}

.tutorial-steps .step {
    display: inline-block;
    float: left;
    margin: 2px;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: rgba(255,255,255, 0.5);

    width: 8px;
    height: 8px;
}

.tutorial-steps .step:hover {
    background: #FFF;
}

.tutorial-steps .current-step {
    background: #FFF;
    cursor: default;
}


/* tutorial popover arrows */

.tutorial-popover.top .arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-top-color: #4CAE4C;
}

.tutorial-popover.bottom .arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: #4CAE4C;
}

.tutorial-popover.left .arrow {
    margin-top: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-left-color: #4CAE4C;
}

.tutorial-popover.right .arrow {
    margin-top: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-right-color: #4CAE4C;
}

.tutorial-popover.topLeft .arrow,
.tutorial-popover.topRight .arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-top: 8px solid #4CAE4C;
}

.tutorial-popover.bottomLeft .arrow,
.tutorial-popover.bottomRight .arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-bottom: 8px solid #4CAE4C;
}

.tutorial-popover.leftTop .arrow,
.tutorial-popover.leftBottom .arrow {
    margin-left: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-left: 8px solid #4CAE4C;
}

.tutorial-popover.rightTop .arrow,
.tutorial-popover.rightBottom .arrow {
    margin-bottom: -8px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0);
    border-right: 8px solid #4CAE4C;
}



/* --- REPORT STYLES --- */
/* --------------------- */


@media print
{
    .no-print, .no-print *,
    .my-navbar, .my-navbar *,
    footer, footer *
    {
        display: none !important;
    }
}

div.report {
    width: 10in;

    margin: 0 auto 0 auto;
}

div.report h1 {
    font-size: 16pt;
}

div.report h2 {
    font-size: 12pt;
    line-height: 16pt;
}

div.report .well {
    font-size: 10pt;
    padding: 12pt;
}

table.report-table {
    border-collapse: collapse;
    width: 100%;
}

table.report-table {
    font-size: 8pt;
    background-color: white !important;
}

table.report-table > tbody > tr > td:first-child,
table.report-table > thead > tr > th:first-child{
    border-left: 1px solid #dddddd;
}

table.report-table > tbody > tr > td,
table.report-table > thead > tr > th {
    padding: 1mm 2mm;

    border-top: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;

    text-align: left;
}

table.report-table > tbody > tr.odd {
    background-color: #f5f5f5;
}

table.report-table > tbody > tr > td.card-spacer {
    height: 2mm;
    padding: 0;

    border: none;
}

table.report-table .numeric {
    text-align: right;
}

table.report-table table.table-condensed {
    margin-bottom: 0;
}

/*      BOOTSTRAP MISSING       */
/* ============================ */

.input-append .btn:first-child {
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.btn-block {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-block + .btn-block {
    margin-top: 5px;
}

.popover-content:first-child {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

select {
    width: 220px;
    background-color: #FFF;
    border: 1px solid #CCC;

    height: 30px;
    line-height: 30px;

    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/*          IE HACKS        */
/* ======================== */

input[type=radio],
input[type=checkbox] {
    margin: -1px 3px 0 0\9;
    line-height: normal;
}


.errorlist{
    list-style-type: none;
    display: inline-block;
}

.input-smallest {
    width: 40px;
    height: 15px !important;
}

.input-smallest.align-table{
    margin-bottom: 0px;
}

.input-smallest.error{
    border-color: #953b39;
}

.input-smallest.error:focus{
  border-color: #953b39;
  -webkit-box-shadow: 0 0 6px #d59392;
     -moz-box-shadow: 0 0 6px #d59392;
          box-shadow: 0 0 6px #d59392;
}

.impersonate-notification{
    position: fixed;
    bottom: 0px;
    width: 90%;
    left: 5%;
    margin: 0 auto;
    z-index: 1;
}

.green-background{
    background-color: #A5D6A7;
}

.red-background{
    background-color: #d32f2f;
}

.warning-bar{
    margin: 0 auto;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 10px;
}

.warning-bar.fixed{
    position: fixed;
    top: 0px;
    width: 100%;
}

.notification-area{
    margin-top: 19px;
}

.notification-area .fa-bell{
    color: white;
    font-size: 20px !important;
}

.notification-area .dropdown-menu{
    top: 130%;
}

.notification-area ul{
    width: 450px;
}

.notification-area ul li.header{
    font-weight: bold;
    padding: 8px;
    font-size: 13px;
    background-color: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid #dddddd;
    color: #555555;
}
.notification-area ul li.header .fa-cog{
    padding-right: 5px;
}

.notification-list{
    max-height: 400px;
    background-color: #f5f5f5;
}

.notification-area.open:after{
    content: "";
    display: block;
    border: .8em solid transparent;
    border-bottom-color: #fff;
    position: absolute;
    top: 14px;
    left: 50%;
    margin-left: -15px;
    z-index: 1001;
}

.notification-list li.header a{
    all: initial;
    cursor: pointer;
}

.notification-list :nth-child(n+2){
    border-bottom: 1px solid #dddddd;
}

.notification-item a{
    white-space: normal;
    padding-top: 10px;
    padding-bottom: 10px;
}

.notification-item.unread{
    background-color: #ffe;
}

.notification-item .timestamp{
    margin: 0;
    color: #666666;
    font-size: .85em !important;
    font-weight: bold;
    line-height: 1.25em;
}

.notification-item:hover .timestamp{
    color: white;
    font-weight: normal;
}

.notification-item-loading{
    display: table;
    margin: 0 auto;
    color: black;
    padding-top: 2px;
    border-bottom: none !important;
}

.notification-badge {
    position:relative;
}

.notification-badge[data-badge]:after {
    content:attr(data-badge);
    position:absolute;
    top:-11px;
    right: 5px;
    font-size:.7em;
    background:#b20000;
    color:white;
    width: 16px;
    height: 16px;
    text-align:center;
    line-height: 16px;
    border-radius:50%;
    box-shadow:0 0 1px #333;
}

.positive-indice{
    color:#0f9d58;
}

.negative-indice{
    color:#db4437;
}

.neutral-indice{
    color: #ff6f00;
}

.variation {
    margin-bottom: 0px;
}

.salesmen-indices {
    width: 100%;
    border-top: 1px solid #CCCCCC;
    overflow: auto;
    float: left;
    padding: 20px 0 0 0;
}
