@font-face {
    font-family: Roboto-Regular;
    src: url('fonts/Roboto/Roboto-Regular.ttf');
}

@font-face {
    font-family: Roboto-Medium;
    src: url('fonts/Roboto/Roboto-Medium.ttf');
}

@font-face {
    font-family: Roboto-Bold;
    src: url('fonts/Roboto/Roboto-Bold.ttf');
}

@font-face {
    font-family: Roboto-Black;
    src: url('fonts/Roboto/Roboto-Black.ttf');
}

@font-face {
    font-family: Lato;
    src: url('fonts/Lato/Lato-Regular.ttf');
}

@font-face {
    font-family: Lato-Bold;
    src: url('fonts/Lato/Lato-Bold.ttf');
}

@font-face {
    font-family: Lato-Black;
    src: url('fonts/Lato/Lato-Black.ttf');
}

@font-face {
    font-family: NunitoSans-Regular;
    src: url('NunitoSans-Regular.ttf');
}

@font-face {
    font-family: NunitoSans-SemiBold;
    src: url('NunitoSans-SemiBold.ttf');
}

@font-face {
    font-family: NunitoSans-Bold;
    src: url('NunitoSans-Bold.ttf');
}

.maintitle {
    font-size: 35px;
    float: left;
}

.greeting {
    font-weight: bold;
    float: right;
    margin-top: 5px;
    font-size: 25px;
}

.date {
    padding: 5px;
    font-size: 11px;
    margin-left: 15px;
}
.form_button {
    background: #3061a3 !important;
    color:white !important;
}

.button, .form_button {
    display: inline-block;
    color: #243140;
    text-align: center;

    background: #e5e7ed;
    border: 0;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: inherit;
    line-height: inherit;
    text-decoration: none;
    font-size: 13px;
    font-family: NunitoSans-SemiBold, Lato-Bold, sans-serif;
    font-weight: 700;
    -webkit-appearance: none;
    position: relative;
    border: none;
    padding: 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.ui-tabs {
    background-color: white;
    width: 1050px;
    font-family: Lato-Bold, sans-serif;
    font-size: 12px;
    font-weight: normal;
    margin-top: 20px;
}

.ui-tabs .ui-tabs-nav {
    list-style: none;
    padding: .2em .2em 0;
    height: 30px;
    margin: 0;
}

.ui-tabs .ui-tabs-nav li {
    float: left;
    margin: 0 .2em -1px 0;
    height: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgb(54, 95, 200);
    font-family: NunitoSans-SemiBold, Lato-Bold, sans-serif;
}

.ui-tabs .ui-tabs-nav li:hover {
    background: white;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
    background: #669933;
    height: 30px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a:hover {
    color: white
}

.ui-tabs .ui-tabs-nav li a {
    float: left;
    text-decoration: none;
    padding: .5em 1em;
    color: white;

    font-size:13px;
    font-family: NunitoSans-SemiBold, Lato-Bold, sans-serif;
}

.ui-tabs .ui-tabs-nav li a:hover {
    color: black;
}

.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: text;
}

.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: 1em 1.4em;
}

.ui-tabs .ui-tabs-hide {
    display: none !important;
}

.companylogo {
    float: left;
    padding: 25px;
}

.companylogo:last-child {
    margin-left: -25px;
}

.ratio {
    padding: 40px;
    font-family: Roboto,sans-serif;
    float: left;
    line-height: 2;
    font-size: 11px;
}

.summarydiv {
   /* background-image: url(../images/contact-box.png);
    background-repeat: no-repeat;
    width: 400px;
    height: 190px;
    float: left;
    font-family: Roboto,sans-serif;
    font-size: 10px;*/
}

.summarydiv {
    border-radius: 15px;
    box-shadow: black 1px 1px 5px;
    min-width: 45%;
    margin: 10px;
    padding: 10px;
    float: left;
    font-size: 12px;
    font-family: NunitoSans-SemiBold,Roboto,sans-serif;
    min-height: 200px;
}

.summarydiv h2, .summarydiv strong,.summarydiv h1, #statusForm strong{
    font-weight: normal;
    font-family: NunitoSans-SemiBold, Lato-Bold, sans-serif;
    font-size:14px;
}
.companylogo:last-child {
    max-width: 280px;
}

input[type=text],input[type=password], input[type=email], input[type=url], input[type=search], textarea, select {
    vertical-align: top;
    padding: 0 8px;
    height: 35px;
    line-height: 19px;
    /*color: #626262;*/
    background: white;
    border: 1px solid rgb(133, 133, 133);
    font-family: Roboto, sans-serif;
    font-weight: normal;
}

#referForm input {
    width: 50%;
    border-radius: 5px;
}

.label {
    padding: 0 17px;
    font-weight: bold;
    color: #1d2938;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 13px;
    font-family: NunitoSans-SemiBold, Lato-Bold, sans-serif;
}

#referForm textarea {
    height: 120px;
    width: 50%;
    border-radius: 5px;
}

#attachmentForm textarea {
    width: 350px;
    height: 120px;
    border-radius: 5px;
}

#note {
    width: 400px;
    height: 200px;
    border-radius: 5px;
}

a.button {
    /*line-height: 33px;*/
    text-decoration: none;
}

input[type=file]{
    font-family: Roboto, sans-serif;
    font-weight: normal;
    background: none;
}

#referForm a {
    text-decoration: none;
}

.tablesorter {
    font-size: 12px;
    width: 100%;
    line-height: 33px;
    text-align: left;
    background: white;
    border: 1px solid #ccc;
    border-collapse: separate;
    border-radius: 2px;
}

.tablehead th {
    border-bottom: 1px solid #ccc;
    color: black;
}

.tablebody td:first-child {
    padding-left: 10px;
}

.referrals {
    padding-top: 15px;
}

@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%;
    font-size: 11px;
    margin-top: 10px;
}

.search-referral {
    float:right;
}

.search-referral .search-field {
    height:33px;
}

.search-referral img {
    width: 33px;
    padding-left: 10px;
    cursor: pointer;
}

#search-show-all, #search-debt-button {
    border: 1px solid rgb(169, 169, 169);
    text-align: center;
    display: inline-block;
    font-size: xx-large !important;
    padding: 10px;
    width: 90% !important;
    max-width: inherit;
    height: inherit;
    min-height: 30px;
    color: white;

    background: #3061a3;
    border-radius: 8px;
    font-family: Lato-Bold, sans-serif;
    font-weight: normal;
}

#search-show-all {
    background: rgb(169, 169, 169) !important;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 100px;
    background-color: #555;
    color: #fff;
    text-align: center;
    /* padding: 0; */
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 80%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
   /* content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;*/
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}