/* Variables */
.blue       { color: #2980b9; }
.gray       { color: #7f8c8d; }
.green      { color: #27ae60; }
.light-gray { color: #e0e0e0; }
.orange     { color: #d35400; }
.red        { color: #e74c3c !important; }
.yellow     { color: #FFD44A !important; }

/* Bootstrap Overrides */
html {
    overflow-y: scroll;
    min-height: 100%;
    position: relative;
}
body {
    background: linear-gradient(180deg, rgba(233, 236, 238, 0) 0%, rgba(233, 236, 238, 0) 0.01%, #E9ECEE 47.4%, #CFD3D7 100%);
    background-attachment: fixed;
}

.no-marginLR {
    margin-left:0;
    margin-right:0;
}
@media (max-width: 364px) {
    #fundraiser-dashboard .col-xs-6 {
        width: 100% !important;
    }
}
@media (max-width: 992px) {
    .nav-container .navbar-primary{
        height: auto;
    }
    #body-container{
        margin-left: 0;
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 60px;
        padding-right: 30px;
    }
    #body-container .dash-container{
        padding-right: 0;
    }

    #fundraiser-dash{
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1  {
        width: 100%;
        *width: 100%;
    }
    .form-inline {
        margin-right: 0px !important;
    }
    .f-d-element {
        height: 200px !important;
    }
    .fundraiser-dashboard label {
        width: 100% !important;
    }
}

@media (max-width: 450px){
    #fundraiser-dash .report-container tr td{
        padding-left: 10px;
        padding-right: 10px;
    }

    #fundraiser-dash .report-container{
        padding-left: 10px;
        padding-right: 10px;
    }

    #footer{
        padding-left: 60px !important;
        padding-right: 35px !important;
    }
}


@media (max-width: 1050px) {
    .heatmap #donor-card .well {
        padding-bottom: 40px;
    }

    #donor-card .well .request_fd_preview {
        position: relative;
        margin-top: 25px;
    }
}

@media (min-width: 992px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
    .form-inline {
        margin-right: 20px !important;
    }
    .donor_detail_top_photo {
        margin-left: 0px !important;
        margin-bottom: 0px !important;
    }
    #ask_amount_div {
        padding-left: 0px;
    }
    .f-d-element {
        height: 190px !important;
    }
    .nav-container .navbar-header {
        display: none;
    }
}
@media (min-width: 1200px) {
    #ask_amount_div {
        padding-left: 15px;
    }
    .f-d-element { /*fundraiser-dashboard*/
        height: 220px !important;
    }
}
.alert {
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.alert-warning {
    background-image: none !important;
}
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    background-repeat: no-repeat !important;
    background-image: none !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    text-shadow: none !important;
}
button:focus {
    outline: 0 !important;
    outline: none !important;
}
.form-control{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 1px solid #ddd !important;
}
.list-group {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.modal-content {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.navbar-brand {
    color: #999 !important;
    font-weight: 400;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow: none !important;
    text-transform: uppercase;
}
.navbar-default {
    background-image: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 1px solid #ddd !important;
}
.panel{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.panel-heading {
    background-image: none !important;
}
.table > thead > tr > th {
    border-bottom: none;
}
.well {
    background-image: none !important;
}

/* Heatmap */
.heatmap {
    min-height: 530px !important;
}
.heatmap-q1 { background-color: #e74c3c; }
.heatmap-q2 { background-color: #e67e22; }
.heatmap-q3 { background-color: #f1c40f; }
.heatmap-q4 { background-color: #27ae60; }

.heatmap-q1.selected {
    border: 4px solid #980E00;
    opacity: 1;
}

.heatmap-q2.selected {
    border: 4px solid #9C4200;
    opacity: 1;
}

.heatmap-q3.selected {
    border: 4px solid #AB7B00;
    opacity: 1;
}

.heatmap-q4.selected {
    border: 4px solid #067836;
    opacity: 1;
}

.followup-future.selected {
    border: 4px solid #5F6A6A;
    opacity: 1;
}

.detail-node {
    height: 20px;
    margin-right: 10px;
    width: 20px;
    display: inline-block;
}

.heatmap-node {
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    height: 40px;
    margin: 2px;
    opacity: .80;
    width: 40px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heatmap-node:hover {
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

#heatmap-table .heatmap-table-row.selected {
    background-color: #DBDBDB;
}

#heatmap-table .heatmap-node-table {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    font-size: 14px;
    height: 38px;
    width: 38px;
}

#heatmap-table td {
    cursor: pointer;
    vertical-align: middle !important;
}
#heatmap-table th > .fa-star {
    color: #848383;
}
.view-toggle .btn {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
}
.view-toggle .btn:hover {
    background-color: #eee !important;
}

.btn-primary.nohover {
    background-color: #337ab7 !important;
}

/* Heatmap Node */
.deactive {
    opacity: .2;
}
.followup-future {
    background-color: #95a5a6;
}
.followup-missed {
    color: #C92918 !important;
}

/* Misc Custom Styles */
.circle-header {
    background: #f5f5f5;
    border-radius: 50%;
    height: 100px;
    padding-top: 20px;
    text-align: center;
    width: 100px;
}
.delete-button, .read-button {
    background: none;
    border: none;
    box-shadow: none;
}
.note-time {
    font-size: 10px;
}
.unread-note {
    background-color: #d9edf7;
}

.welcome-circle {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    height: 10px;
    padding-left: 14px;
    margin-right: 10px;
    width: 10px;
}
.welcome-circle-followup-future {
    background-color: #95a5a6;
}

/* Detai Page */
#check-meeting, #check-follow-up, #check-custom-follow-up, #check-note {
    color: #27ae60;
    display: none;
}
#fup-comment {
    color: grey;
}

/* Donor Card */

#donor-card .well {
    position: relative;
    padding-bottom: 60px;
}
#donor-card i {
    color: #7f8c8d;
    font-size: 16px;
}
#donor-card h5 {
    margin-bottom: 0px;
}
.donor-card-caption {
    font-size: 12px;
}
#donor-card-photo-blank {
    border: 0;
    border: none;
    box-shadow: none;
    height: 100px;
    outline: none;
    width: 100px;
}

#donor-card .card-accountname {
    margin-bottom: 5px;
}

#donor-card a {
    cursor: pointer;
    text-decoration: underline;
}

#donor-card .relationship-history {
    position: absolute;
    bottom: 8px;
    right: 15px;
}

#donor-card .request_fd_preview {
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-size: 10px;
}
/* Fundraiser Dashboard */
.fundraiser-dashboard label {
    margin-right: 50px;
    text-align: center;
    width: 100%;
}
#meetingChart {
    cursor: pointer;
}
.pct-text {
    font-size: 80px;
}
.stat-block {
    text-align: center;
    vertical-align: center;
}
.stat-circle {
    background-color: #154873;
    border-radius: 50%;
    display: table;
    margin: 10px auto;
}
.stat-circle p {
    display: table-cell;
    font-weight: bold;
    font-size: 70px;
    text-align: center;
    color: #ffffff;
    font-weight: 900;
    vertical-align: middle;
}

/* Table Overrides */
.dataTables_filter {
    text-align: right !important;
}
.sortable thead {
    cursor: pointer;
}
.sortable th:hover, .sorting_desc, .sorting_asc {
    background-color: #f5f5f5;
}

/* Manager Module */
.checked {
    background-color: #d9edf7;
}
.checked:hover {
    background-color: #d9edf7;
}
.fundraiser {
    cursor: pointer;
}
.fundraiser:hover {
    background-color: #f5f5f5;
}
.heatmap-node:active, .heatmap-node:link {
    color: white;
    text-decoration: none;
}
.heatmap-node.active {
    border: 1px solid #dcdcdc;
}

/* Override Date Picker */
.ui-datepicker {
    z-index: 3 !important;
}
.ui-datepicker-header {
    background: white !important;
    border: none !important;
}
a.ui-state-default {
    background: #e6e6e6 !important;
    border: none !important;
}
a.ui-state-default:hover {
    background: #dcdcdc !important;
    border: none !important;
}
a.ui-state-active {
    background-color: #d9edf7 !important;
}
td.ui-state-disabled {
    border: none !important;
}
td.ui-state-disabled span.ui-state-default {
    border: none !important;
}
a.ui-state-highlight {
    background-color: #e6e6e6 !important;
    border: none !important;
    color:#555555 !important;
}
a.ui-datepicker-next-hover, a.ui-datepicker-prev-hover {
    cursor: pointer !important;
    background: #f6f6f6 !important;
}

/* Registration */
.logo {
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}
.registration .input-group-addon {
    background-color: #F4F6F9;
}

/* Type Ahead */
.tt-query { /* UPDATE: newer versions use tt-input instead of tt-query */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.tt-hint {
    color: #999;
}
.tt-menu { /* UPDATE: newer versions use tt-menu instead of tt-dropdown-menu */
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    margin-top: 12px;
    padding: 8px 0;
    width: 422px;
}
.tt-dataset p {
    margin: 0px !important;
}
.tt-suggestion {
    color: #C4C4C4;
    cursor: pointer;
    line-height: 24px;
    padding: 5px 20px;
}
.tt-suggestion strong {
    color: #999;
}
.tt-highlight {
    color: #333 !important;
}
.tt-suggestion:hover {
    background-color: #f5f5f5;
}
.tt-suggestion.tt-is-under-cursor { /* UPDATE: newer versions use .tt-suggestion.tt-cursor */
    background-color: #0097cf;
    color: #fff;
}
.tt-suggestion p {
    margin: 0;
}
.twitter-typeahead {
    z-index: 1001;
}

.disabled-input {
    background-color: #E0E0E0;
    width: 100%;
}

/* Volunteer */
.overlayed {
    background: rgba(0,0,0,0.5);
    content: " ";
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031;
}

/* Knowledge Center */
.knowledge a {
    cursor: pointer;
    font-size: 50px;
}
.knowledge i {
    margin-top: 50px;
}
.knowledge .thumbnail:hover {
    background-color: #dcdcdc;
}

/* Portfolio Management */
.active-step {
    background-color: #31708f !important;
}
.badge-portfolio-management {
    background-color: #31708f;
}
.portfolio-management-step {
    background-color: #e0e0e0;
    height: 20px;
    margin-right: 10px;
    transition: background-color .2s ease-in-out;
    width: 20px;
}
.portfolio-management-step-editable {
    cursor: pointer;
}
.portfolio-management-tooltip {
    display: inline;
    position: relative;
}
.portfolio-management-tooltip:hover:after {
    background: #333;
    background: rgba(49,112,143,.8);
    border-radius: 5px;
    bottom: -40px;
    color: #fff;
    content: attr(data-title);
    left: 5%;
    padding: 5px 15px;
    position: absolute;
    text-align: center;
    width: 140px;
    z-index: 98;
}

/* Two Factor Auth */
#id_understand {
    margin: 0px 0px 10px 20px !important;
}
ul#id_method-method, ul#id_setup-method {
    list-style: none !important;
}
ul#id_method-method li, ul#id_setup-method li {
    margin-left: -40px !important;
}

/* Map */
#map {
    height: 600px;
}
.marker-cluster-green   { background-color: #5AE193; }
.marker-cluster-orange  { background-color: #ffb155; }
.marker-cluster-red     { background-color: #ff7f6f; }
.marker-cluster-yellow  { background-color: #fff742; }

.marker-cluster-green div   { background-color: #27ae60; }
.marker-cluster-orange div  { background-color: #e67e22; }
.marker-cluster-red div     { background-color: #e74c3c; }
.marker-cluster-yellow div  { background-color: #f1c40f; }
.leaflet-popup-close-button {
    color: #ddd !important;
}
.dropdown-menu {
    z-index: 9999;
}

/* Favorite */
.favorite {
    cursor: pointer;
    color: #E0E0E0;
    font-size: 16px;
    margin-left: 10px;
}
.favorite:hover {
    color: #E0E0E0;
    opacity: .80;
}
.favorite-tooltip {
    display: inline;
    position: relative;
}
.favorite-tooltip:hover:after {
    background: rgba(255,212,74,.8);
    border-radius: 5px;
    bottom: -40px;
    color: #333;
    content: attr(data-title);
    font-size: 14px;
    left: 5%;
    padding: 5px 15px;
    position: absolute;
    text-align: center;
    width: 140px;
}
.is-favorite {
    color: #FFD44A !important;
    transition: color .2s ease-in-out;
}

.badge-unread-count {
    background-color: #ffffff;
    color: #154873;
}

/* Footer */
#footer {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    bottom: 0;
    height: 60px;
    margin-top: 40px;
    padding: 15px 0px 20px 0px;
    position: absolute;
    width: 100%;
}

.donor_detail_top {
    margin-bottom: 20px;
}

.donor_detail_top_photo {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 70px;
}

.ask_amount-tooltip {
    display: inline-block;
    position: relative;
}

.ask_amount-tooltip .ask_amount-tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
}

.ask_amount-tooltip .ask_amount-tooltiptext::after {
    content: '';
    position: absolute;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.ask_amount-tooltip:hover .ask_amount-tooltiptext {
    visibility: visible;
    opacity: 1;
}

.popover {
    width:200px;
}

.btn-popover {
    width: 40px;
    margin-left: 33px;
    margin-top: 5px;
    border-radius: 10px;
}
.heatmap-email {
    padding-left: 10.5px;
}

.heatmap-phone {
    padding-left: 11.5px
}

.heatmap-in-person-event {
    padding-left: 10px
}

/* Manual First Draft */
.manual-firstdraft-field{
    width: 750px !important;
}

#button-offset {
    display: inline-block;
}

#profile_info .btn {
    margin-top: 15px;
}

#request_fd_modal .modal-header {
    background-color: #2980B9;
    color: #fff;
}

#request_fd_modal .modal-header h4 {
    margin: 0;
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

#request_fd_modal .modal-header .close {
    margin-top: -24px;
}

#request_fd_modal .modal-header span {
    color: #fff;
}

#request_fd_modal .modal-dialog {
    margin-top: 300px;
}

/* Loading Animation */
.loading-donut {
    width: 2.4rem;
    height: 2.4rem;
    margin: 2.4rem;
    border-radius: 50%;
    border: 0.4rem solid rgba(21, 72, 115, 0.3);
    border-top-color: #154873;
    border-bottom-color: #154873;
    animation: 1.5s spin infinite linear;
    position: absolute;
    top: -15px;
    right: -15px;
    visibility: hidden;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

