*{
    font-family: "Roboto", sans-serif !important;
}

a{
    text-decoration: none;
}


.button-submit, .top-status-head select, .top-status-head input, .select-type{

    display: inline-block;
    margin: 0 0.3em 0.3em 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    cursor: pointer;
    border: none;
    padding: 8px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 -0.4em 0 -0.35em rgba(0,0,0,0.17);
    -moz-box-shadow: inset 0 -0.4em 0 -0.35em rgba(0,0,0,0.17);
    box-shadow: inset 0 -0.4em 0 -0.35em rgba(0,0,0,0.17);
    background: #29abe2;
    font-weight:500;
}

.button-submit:hover{
    background-color: rgb(0, 137, 242);
}

@media only screen and (width: 768px) {
    .ui-tabs, .ui-tabs .ui-tabs-nav {
        width: 1200px !important; }

    .statuspie-large {
        float:none !important;
    }
}

.ui-tabs .ui-tabs-nav {
    padding: 15px 0 0 10px;
    width: 1255px;

}
.ui-tabs .ui-tabs-nav li {
    display: inline-block;
    float: left;
    padding: 15px 10px;
    cursor: pointer;
}

.ui-tabs .ui-tabs-nav li a, .ui-tabs .ui-tabs-nav li span {
text-decoration: none;
color: #2f2e2e;
text-transform: uppercase;
font-size: 13px;
font-weight: 700;
font-family: "Roboto";
}

.ui-tabs .ui-tabs-nav li a:hover {
border-bottom: 2px solid #0089e0;
padding-bottom: 15px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: default;  border-bottom: 2px solid #0089e0;  padding-bottom: 15px; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */

.ui-tabs .ui-tabs-panel {
    padding: 0 0 0 17px;
    display: table;
    width: 1255px;
}
.ui-tabs .ui-tabs-hide { display: none !important; }

.companylogo {
    float: left;
    padding: 25px;
    font-size: 13px;
    font-weight: 500;
}

.companylogo:last-child {
    margin-left:-25px;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=search], input[type=number],textarea, select {
    vertical-align: top;
    padding: 0 5px;
    height: 30px;
}

#archiveForm input[type=text],
#archiveForm input[type=number],
#archiveForm textarea,
#archiveForm select {
    float:left;
    width:90px !important;
}

#status th{
    cursor: pointer;
}

/*input[type=text],select {
    max-width: 120px;
}

#status input[type=text],#status select {
    min-width: 75px;
}

.archive input[type=text], .archive select {
    min-width: 85px !important;
}

#referForm input {
    min-width: 100%;
}*/

.add_replace_row, .subtract_row {
    height:60px;
}

.add_replace_row span,.subtract_row span {
    float: right;
    font-weight: 600;
    font-size: 13px;
    margin-right:10px;
}

.subtract_row span{
    color: #d42f2f;
}

.select-type-red{
     background: #d42f2f !important;
 }

.select-type-red:hover{
    background: #b02e2e !important;
}

.add_replace_row input, .subtract_row input {
    border: 1px solid #cccccc !important;
    color: inherit !important;
    box-shadow: none !important;
    width: 85% !important;
    background: none !important;
}

.label{
    padding: 0 17px;
    font-weight: 600;
    color: #1d2938;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 13px;
}

#referForm textarea {
    height: 120px;
    width: 100%;
}

#attachmentForm textarea {
    width:350px;
    height:120px;
}

#note{
    width: 400px;
    height: 200px;
}




/*@media screen and (max-width:850px) {
    .maintitle { float: none; }
    .greeting { float: none; }
    .date { text-align: left; margin-bottom: -25px;}
    .ui-tabs { width: auto; }

    body { padding-left: 30px; }
}*/

.doneupload {
    background: #bff1bc;
    border-radius: 2px;
    padding: 10px;
    display: block;
    width: 30%;
    margin-top: 10px;
}

.add_replace_row span{
    color:green;
}

.summarydiv {
    min-width: 40%;
    float: left;
    min-height: 150px;
    margin-right: 20px;
    box-shadow: inset 0 -0.5em 0 -0.35em rgba(0,0,0,0.17);
    /*background-color: rgb(219, 225, 255);*/
    background-color: rgb(235, 247, 255);
    border-radius: 10px;
    padding-bottom: 10px;
}

.companylogo img {
    max-height: 110px;
    max-width: 110px;
}

.contact-label {
    width: 400px;
    padding-left:20px;
    float: left;
}

#referrer-label {
    margin-left:-20px;
}

.contact-label button {
    padding: 10px;
    border: none;
    font-size: 15px;
    color: #2F2E2E;
    background: #669933;
    width: 200px;
    border-radius: 5px;
}

#tags {
    padding: 0 10px 0 12px;
    cursor: default;
    background: #0089e0;
    color: #fff;
    text-decoration: none;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    font-weight: 700;
    float: left;
    height: 24px;
    line-height: 24px;
    position: relative;
    text-transform: none;
}

#tags:before {
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -12px;
    width: 0;
    height: 0;
    border-color: transparent #0089e0 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-radius: 2px;
}

#tags:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    float: left;
    width: 4px;
    height: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #fff;
    -moz-box-shadow: -1px -1px 2px #004977;
    -webkit-box-shadow: -1px -1px 2px #004977;
    box-shadow: -1px -1px 2px #004977;
}

.statustable {
    float:left;
    width:400px;
    height: 300px;
}

.statustable-large {
    float: left;
    min-width: 40%;
    height: 640px;
    margin-right: 20px;
    box-shadow: inset 0 -0.5em 0 -0.35em #9E9E9E;
    border: 1px solid #9e9e9d38;
    /*border-radius: 0.15em;*/
    border-radius: 10px;
}

.scoretable {

    width: 800px;
    height: 100px;
    float: left;
    font-size: 10px;
}

.scoretable-large {

    width: 800px;
    height: 160px;
    float: left;
    font-size: 10px;
}

.statuspie-small {
    width: 50px;
    margin-top:10px;
}

.statuspie-large {
    width: 75%;
    padding:35px;
}

.pie-large {
    text-align: center;
  /*  width: 75%;
    padding: 0px 60px;
    float: none;*/
}

#pie-large-title {
    text-align: center;
    margin-top: 40px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.bargraph {
    float:left;
    padding:15px;
}

#graphtable {
    padding: 5px;

    padding-top: 25px;
/*    padding-bottom: 100px;*/
}

.pie-large div{
    margin: 25px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;

}

.scorediv , .scorediv img, .scorediv table {
    float:left;
    padding:5px;
    padding-top:3px;
    text-transform: uppercase;
}

.scorediv {
    padding-left: 40px;
}

.scorediv img {
    margin-top:15px;
}

.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.pie-legends {
    float: left;
    font-weight: 500;
   /* font-size: 13px;*/
    line-height: 1.5;
    margin-right: 20px;
}

.pay-btn {
    font-size: 10px;
    float: left;
    height: 20px;
    margin-left: 2px;
    border: none;
    font-weight: 700;
    background-color: #bad89b;
    color: #2f2e2e;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
}

.red-pay-btn {
    background-color: #ffabab;
}

.greenText {
    /*color: green;*/
    text-align: center;
    text-align-last: center;
}

.grayText {
   /* color: black;*/
    text-align: center;
    text-align-last: center;
}

.redText {
    /*color: red;*/
    text-align: center;
    text-align-last: center;
}

#budget-field, #top-iwillpay-field, #budget-field-top,  #money-left-field{
    text-align: center;
    width: 80px;
    color:black;
}

#budget-field {
    cursor: default;
}

#budget-field, #top-iwillpay-field, #budget-field-top, #debts_included_in_the_next_x_days, #money-left-field {
    margin-left:5px;
    font-size:14px;
}

#debts_included_in_the_next_x_days, .top-status-head select {
    color:inherit;
    line-height: 1;
}

.top-status-head td {
    padding-right: 10px;
    margin-bottom: 20px;
    margin-right: 10px;
    height: 30px;
    font-size: 13px;
    float: left;
    border-right: 2px solid #004977;
    font-weight: 600;
}

.top-status-head-last-td {
    float: right !important;
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.top-status-head-last-td input {
    margin: 0 !important;
}

.span-budget {
    display: inline-block;
    text-align: right;
}

.span-instructions {
    color: #2f2e2e;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    float:right;
}

table.top-status-head {
    width: 1255px;
    margin-top:20px;
}

.top-status-head span{
    display: inline-block;
    text-align: right;
}

.top-status-head select {
    text-align-last: center;
    background-color: #fbfbde;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    overflow: hidden;
    font-size:12px;
}

#debts_included_in_the_next_x_days {
    width: 80px;
    background-color: #fbfbde;
}

.hidden-comment td{
    padding-top: 10px;
    padding-bottom: 10px;
}

.hidden-comment td textarea {
    width: 95%;
    height: auto;
    background-color: rgb(245, 245, 245);
    border: 2px solid #3061a3;
}

.decoy-comment-button {
    border: 1px solid #ccc;
    font-size: 11px;
    padding: 5px;
    background: white;
    border-radius: 5px;
    width: 85px;
    margin-left: 10px;
}

.select-type {
    background: #39b54a;

}

#total-surplus{
    width:60px !important;
}

.amount-input {
    min-width: 65px !important;
    width:70px !important;
}

.select-type:hover {
    background-color: #2f963d;
}

.search-field {
    border: 1px solid #cccccc !important;
    color: inherit !important;
    box-shadow: none !important;
    width: 100px !important;
    background: none !important;
}

.search-field-td {
    border-right: none !important;
    padding-right: 0 !important;
}

.search-field-td img {
    width: 30px;
    padding-left: 10px;
    cursor: pointer;
}

.pay-on-time {
    padding-right: 0 !important;
}

/*.pay-on-time-label {
    padding-right: 75px !important;
    float: right !important;
}*/

.pay-on-time-label {
    /*padding-right: 15px !important;*/
    float: right !important;
    padding-top:10px !important;
}

/*** START CUSTOM CSS ON BOOTSTAP */

#saveBankUrl label, .bootstrap button, #dashboardPopup label {
    font-weight:500;
    font-size:13px;
}

.bootstrap button {
    border-radius: .25rem;
}

#dashboardPopup .close, #saveBankUrl .close, #hotsPopup .close {
    font-size: 1.5rem;
    font-weight: 700;
}

#hotsPopup .close{
    padding: 0 1rem;
}

#saveBankUrl .close {
    padding: 2px 20px;
}

#saveBankUrl .modal-header, #dashboardPopup .modal-header, #hotsPopup .modal-header {
    height:0;
}

#saveBankUrl .form-control {
    width:98%;
}

.copy-4digit-debtid{
    font-size: 11px;
    font-weight: 700;
    padding: 6px;
    margin-top: 3px;
    /*margin-left: 1px;
    /* color: white; */
    background: #00800024;
    border: none;
    border-radius: 2px;
    text-transform: uppercase;
    box-shadow: inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17) !important;
    cursor: pointer;
    float:right !important;
}

.debt-id-column input[type=text]{
    float:left !important;
}

.debt-id-column {
    min-width:105px;
}