/***************************** Custom styles and overrides *****************************/
body {
    background: #C5C5C5;
}

h1 {
    font-size: 20px;
}
body, p, div, blockquote, span, input, textarea, select, button, a, h3 {
    font-size: 14px;
}

.nowrap {
    white-space: nowrap;
}
/***************************** Navs *****************************/
.navbar, .dropdown-menu {
    background: #000;
    margin-bottom: 0;
    border-radius: 0;
}

.navbar-default {
    border:none;
}

.navbar-default .navbar-brand {
    text-transform: uppercase;
}

.navbar-default li > a:hover,
.navbar-default li > a:focus {
    text-decoration: underline;
    background: #000;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    background: transparent;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #fff;
}


.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background: transparent;
    color: #fff;
    font-weight: bold;
}


/***************************** Buttons *****************************/
.btn {
    font-weight: bold;
}

.btn-opportunity-close {
    text-align: left;
    font-weight: bold;
    width: 100%;
}

.btn-opportunity-close-won {
    background: #009DE0;
}

.btn-opportunity-close-lost {
    background: #9C9C9C;
}

.btn-opportunity-close-forget {
    background: #9C9C9C;
}

.btn-opportunity-add-action {
    background: #CB4F24;
}

/***************************** Miscellaneous labels etc. *****************************/
.legend {
    padding: 2px 5px;
    border: none;
    background: #C5C5C5;
    font-size: 12px;
    text-transform: uppercase;
}

.note-byline {
    text-align: right;
    font-style: italic;
}

.notes-form select.form-control {
    width: auto;
    display: inline-block;
}

.followup_icon {
    padding-top: 14px;
    font-size: 24px;
}
.followup_icon button i.fa {
    font-size: 36px;
    color: darkolivegreen;
}
.followup_icon a:hover {
    color: lightgreen;
}

.followup-closed {
    color: #444444;
}

.followup-scheduled {
    color: darkolivegreen;
}

.followup-overdue {
    color: orangered;
}

.error {
    color: red !important;
}

.white-container {
    background: #ffffff;
}

/***************************** Search form on the main page *****************************/
.index-home {
    padding-top: 20px;
}

/* lead filters in bold */
.leadFilter {
    font-weight: bold;
}

/* custom radio buttons */
#msg-status {
    margin-left: 20px;
}

#msg-status input[type="radio"] {
    position: absolute;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    -o-opacity: 0;
}

#msg-status input[type="radio"] + label {
    position: relative;
    padding: 0 0 0 0;
    line-height: 25px;
    margin-right: 40px;
}

#msg-status input[type="radio"]:checked + label {
    color: red;
    font-weight: bold;
}

#msg-status input[type="radio"] + label:before {
    content: "";
    margin-left: -20px;
    display: block;
    position: absolute;
    top: 6px;
    height: 14px;
    width: 14px;
    background: white;
    border: 1px solid gray;
    box-shadow: inset 0px 0px 0px 1px white;
    -webkit-box-shadow: inset 0px 0px 0px 1px white;
    -moz-box-shadow: inset 0px 0px 0px 1px white;
    -o-box-shadow: inset 0px 0px 0px 1px white;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
}

#msg-status input[type="radio"]:checked + label:before {
    background: red;
}


/***************************** Leads list *****************************/
.pagination {
    margin:0;
}

.leads_list > thead > tr > th,
.leads_list > tbody > tr > th,
.leads_list > tfoot > tr > th,
.leads_list > thead > tr > td,
.leads_list > tbody > tr > td,
.leads_list > tfoot > tr > td
{
    background-color: white;
    border-top: 0;
}

.leads_list > thead > tr.status_row > th,
.leads_list > tbody > tr.status_row > th,
.leads_list > tfoot > tr.status_row > th,
.leads_list > thead > tr.status_row > td,
.leads_list > tbody > tr.status_row > td,
.leads_list > tfoot > tr.status_row > td
{
    padding: 0;
    background: transparent;
}

.status_marker {
    font-weight: bold;
    text-transform: uppercase;
}

.lead_message {
    color: red;
}

.status_open {
    background: #32FF50;
}

.status_contact_attempted {
    background: #FAF834;
}

.status_contacted {
    background: #CB4F24;
}

.status_won {
    background: #009DE0;
}

.status_lost {
    background: #9C9C9C;
}

.opportunity-action-note-section td::before {
    content: "---";
}

.followups-alert {
    color: red;
}

/***************************** Detail pages *****************************/

#lead-detail-container {
    background: #ffffff;
}

.admin-container {
    background: #ffffff;
    padding-top: 20px;
}

.lead-detail-status-indicator {
    display: inline-block;
    /*background: #32FF50;*/
    padding: 20px 30px;
}


/***************************** Offsets, padding, margins - general classes *****************************/

.breathe-10 {
    margin-bottom: 10px;
}

.breathe-20 {
    margin-bottom: 20px;
}

.breathe-30 {
    margin-bottom: 30px;
}

.breathe-50or80 {
    margin-bottom: 80px;
}

.left-pad-10or20 {
    padding-left:20px;
}

.top-offset-20 {
    margin-top: 20px;
}

.note {
    word-wrap: break-word;
}

/***************************** Responsive behavior *****************************/

/* "responsive" table */

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 767px), only screen and (max-device-width: 767px)  {

    /* Force table to not be like tables anymore */
    table.leads_list, table.leads_list thead, table.leads_list tbody,
    table.leads_list th, table.leads_list td, table.leads_list tr {
        display: block;
    }

    .lead-detail-status-indicator {
        display: block;
        padding: 4px 20px;
    }

    .left-pad-10or20 {
        padding-left:10px;
    }

    .breathe-50or80 {
        margin-bottom:50px;
    }

}
