﻿@font-face {
    font-family: ceragr-regularuploaded_file,Arial;
    src: url("/Content/fonts/cera_gr-webfont.woff2") format("woff2"), url("/Content/fonts/cera_gr-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal
}

.front-splash {
    margin-top: 80px;
    text-align: center;
    font-family: ceragr-regularuploaded_file,Arial;
    font-weight: bold;
    font-size: 22px;
    color: #00a3ad;
}

.splash {
    margin-top: 130px;
    text-align: center;
    font-family: ceragr-regularuploaded_file,Arial;
    font-weight: bold;
    font-size: 22px;
    color: #00a3ad;
}


#wrapper-header {
    border-bottom: 3px #666 solid;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

#footer {
    background: #eee;
    padding: 6px 12px 6px 12px;
    border-top: 1px #999 solid;
}

#main-content {
    border-top: 42px #fff solid;
    padding-bottom: 50px;
}

legend {
    margin-top: 24px;
}

.clear {
    clear: both;
}

.nobr  { 
    white-space: nowrap; 
}

.hidden-row {
    display: none;
    visibility: hidden;
}

.hidden {
    display: none;
    visibility: hidden;
}

.divider {
    display: block;
    clear: both;
    border-top: 1px #000 solid;
    margin: 16px 0 16px 0;
}

.display-inline {
    display: inline-block;
}

span.true {
    color: #0c0;
}

span.false {
    color: #666;
}

.area-toggler-header {
    color: #000;
    margin-top: 24px;
    margin-bottom: 20px;
    border-bottom: 1px #e5e5e5 solid;
}

.area-toggler-header i.toggler {
    display: inline-block;
    margin-top: 5px;
}

.area-toggler {
    margin-right: 24px;
    cursor: pointer;
    font-size: 21px;
}

.nudge-checkbox {
    display: inline-block; 
    margin-bottom: 4px; 
    margin-left: 4px;
}


.adjust-checkbox {
    /* used in the Task Creation Forms */
    margin-top: -2px !important;
    margin-right: 9px !important;
}

.required-field {
    font-size: 24px;
    font-weight: bold;
    color: #f00;
}

.free-search-result {
    margin: 2px;
    padding: 8px;
}

.free-search-result:hover {
    background: #eee;
}

.accountant-satisfaction-form-wrapper {
    width: 955px;
    margin: auto;
}

.meeting-attendees-wrapper {
    border: 1px green solid;
    padding: 8px;
    margin: 8px 0 8px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;    
}
 
/* headings----------------------------------------------------------------- */

h2, .alert h2, 
h3, .alert h3 {
    color: #000;
    margin-top: 24px;
    margin-bottom: 20px;
    border-bottom: 1px #e5e5e5 solid;
    font-size: 21px;
    line-height: 40px;
    font-weight: normal;
    text-shadow: none;
}

.alert h2, .alert h3 {
    border-bottom: 1px #c0c0c0 solid;
}

h2.first-heading, h3.first-heading {
    margin-top: 0;
}



/* navigation -------------------------------------------------------------- */

.active-menu {
    background: #333;
}

.inactive-menu {
    
}

/* tables ------------------------------------------------------------------ */

tr.divide {
    border-top: 2px #5e3788 solid;
}

tr.clickable
{
    cursor: pointer;
}

tr.clickable:hover td
{
    background: #d9edf7;
}

tr.selected td
{
    background: #d9edf7;
}

.field-column {
    display: inline-block;
    float: left;
    margin-right: 48px;
}

tr.title-tr td {
    border: 0;
    background: #eee;
}

tr.nfa {
    background: #f2dede;
}

a.nfa {
    color: red;
}

a.platinum {
    color: #990099;
}

/* details ----------------------------------------------------------------- */

.display-label {   
    display: block;
    float: left; 
    margin: 1px;
    padding: 4px;
    width: 150px;
    border: 1px #fff solid;
}

.display-field {
    width:auto;
    margin: 1px;
    overflow: auto;
    min-height: 1.5em;
    padding: 4px;
    background: #f9f9f9;
    border: 1px #ddd solid;
}


/* editor ----------------------------------------------------------------- */

.editor-label {   
    display: block;
    float: left; 
    margin: 1px;
    padding: 4px;
    width: 150px;
}

.editor-field {
    width: auto;
    margin: 1px;
    overflow: auto;
    min-height: 2em;
    padding: 4px;
}

.editor-field input.text-box {
    width: 300px;
}

.appended-input {
    width: 272px;
}

.editor-field textarea {
    width: 300px;
    height: 150px;
}

.editor-field select {
    width: 310px;
}

.editor-field input.check-box {
    margin-bottom: 18px;
}

.datepicker {
    cursor: pointer;
    width: 245px;
}
.datepicker[disabled] {
    cursor: pointer;
    background: #fff;
}

.datepicker[readonly] {
    cursor: pointer;
    background: #fff;
}

.delete-date:hover {
    cursor: pointer;
    background: red;
}

.datepicker-short {
    width: 152px;
}

.user-roles {
    width: 250px;
}

.user-roles input.check-box {
    margin-bottom: 6px;
}

/* entity details table ---------------------------------------------------- */

table.entity-details-table {
    text-align: left;
    border: 1px #ccc solid;
}

table.entity-details-table th, table.entity-details-table td {
    font-weight: normal;
    padding: 6px;
    margin: 1px;
}

table.entity-details-table th {
    width: 160px;
    background: #f6f6f6;    
}

table.entity-details-table td {
    width: 315px;
    border-right: 1px #ccc solid;
}

table.entity-details-table tr {
    margin: 1px;
    border-bottom: 1px #ccc solid;
}

/* task-calendar ----------------------------------------------------------- */

#calendar-events {
    display: none;
    visibility: hidden;
}

#task-calendar {
    width: 900px;
	margin: 0 auto;
}

.fc-event-inner, .fc-event-skin {
    background: transparent;
    border: none;
    padding: 3px;
    margin: 3px;
}

.fc-event-time {
    display: none;   
}

.fc-event {
    cursor: pointer;
    font-size: 12px;
    background: #333;
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
} 

.fc-event-meeting {
    background: red;
}

/*
    <div class="popover">
        <div class="arrow"></div>
        <div class="popover-inner">
            <h3 class="popover-title"></h3>
                <div class="popover-content">
                <p></p>
            </div>
        </div>
    </div>
    
        
*/

.meeting-popover h3.popover-title {
    background: red;
    color: #fff;
}

/* workflows --------------------------------------------------------------- */

pre#workflow-editor {
    background: transparent;
    padding: 24px;
}

#workflow-values {
    width: 335px;
    margin-right: 15px;
    float: left;
    border-right: 1px #ccc solid;
}

#workflow-values label.title {
    font-weight: bold;    
}

#workflow-values p {
    padding: 4px;
    margin-right: 20px;
    text-align: center;
    font-style: italic;
}

#workflow-values input.adjust-width {
    width: 270px;
}

#preview-wrapper {
    margin-left: 350px;
}

#workflow-editor span.variable {
    font-weight: bold;
    cursor: pointer;
    color: #f00;
    text-decoration: underline;
}

#workflow-editor span.data-value {
    color: #000;
    font-weight: bold;
}

span.data-value {
    color: #000;
    font-weight: bold;
}

#workflow-editor span.generated {
    color: #5e3788;
    font-weight: bold;
}

#workflow-editor input {
    width: 305px;
}

#workflow-editor input[type="checkbox"] {
    width: 30px;
}

#workflow-editor input.input-large {
    width: 230px;
}

#workflow-editor select {
    width: 317px;
}

#workflow-editor button {
    width: 315px;   
 }

textarea#Content {
    display: none;
    visibility: hidden;
}

#workflowPrefix, #workflowPostfix {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    width: 100%;
    height: 100px;
}

#workflowPostfix {
    height: 200px;
}

/* forms ------------------------------------------------------------------- */

.form-inline-float {
    display: inline-block;
    padding: 8px 48px 8px 8px;
}

/* agent network / hierarchy ----------------------------------------------- */

table.hierarchy-table {
    width: 100%;
}

table.hierarchy-table tr {
    
}

table.hierarchy-table td {
    vertical-align: top;
    border-collapse: collapse;
    border-spacing: 0;    
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border: 1px #999 solid;
}

table.hierarchy-table td p {
    padding: 4px;
    margin: 0;
}

table.hierarchy-table td.company-column {
    width: 50%;
}

table.hierarchy-table td.children-column {
    width: 50%;
}

/* KPIs, Targets------------------------------------------------------------ */

table.targets-table {
    
}

table.targets-table th {
    text-align: left;
    font-size: 12px;
    font-weight: normal;
    padding-left: 8px;
}

table.targets-table td input[type=text] {
    margin: 4px;
    width: 70px;
}

table.targets-table td.date-column {
    width: 120px;
    padding-top: 5px;
}

table.targets-table td.date-column input.datepicker {
    width: 100px;
}

table.targets-table td.date-column span.add-on {
    margin-left: -4px;
    margin-top: 4px;
}

table.targets-table td button {
    margin-left: 8px;
}

table.targets-table tr.valid {
    background: #51a351;
}

table.targets-table tr.error {
    background: #bd362f;
}


.changed-balance {
    background: #51a351;
}


/* random stuff ------------------------------------------------------------ */

tr.valid {
    background: #51a351;
}

tr.error {
    background: #bd362f;
}

tr.deleting {
    background: #bd362f;
}

.new-note-text-area {
    width: 95%;
    height: 150px;
}

.start-workflow-dropdown {
    width: 400px;
}

.remove-link {
    cursor: pointer;
}

input.medium {
    width: 175px;    
}

select.medium {
    width: 175px;    
}


input.short {
    width: 50px;
}

input.medium {
    width: 100px;
}

select.short-dropdown {
    width: 80px;
}

select.medium-dropdown {
    width: 160px;
}


/* bootstrap override ------------------------------------------------------ */

.alert {
    text-shadow: none;
}

.alert form {
    margin: 0;
}

/* catax-table ------------------------------------------------------------- */
table.catax-table {
	font-family:arial;
	margin:10px 0pt 15px;
	font-size: 14px;
	text-align: left;
	
}
table.catax-table thead tr th, table.catax-table tfoot tr th {
	background-color: #5e3788;
    color: #eee;
	border: 1px solid #FFF;
	font-size: 14px;
	padding: 4px;
}
table.catax-table thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
	border: none;
}
table.catax-table tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.catax-table tbody tr.odd td {
	background-color:#F0F0F6;
}
table.catax-table thead tr .headerSortUp {
	background-image: url(asc.gif);
}
table.catax-table thead tr .headerSortDown {
	background-image: url(desc.gif);
}
table.catax-table thead tr .headerSortDown, table.catax-table thead tr .headerSortUp {
    background-color: #7f59aa;
}

/* customisation */

table.catax-table td, table.catax-table th
{
    border: 1px solid #eee;
}

table.catax-table tfoot td
{
    color: #3D3D3D;
    padding: 4px;
}

table.catax-table tbody tr.selected td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #d9edf7;
	vertical-align: top;
}

table.catax-table th {
    font-weight: normal;
}

/* checklists ---------------------------------------------------------------- */

table.catax-table tr.checklist-outstanding td {
}

table.catax-table tr.checklist-completed td {
    background: #a0ffa0;    
}

/* big modals ---------------------------------------------------------------- */

.modal-body {
    max-height: 65vh;
    overflow-y:scroll;
}

.modal{
    //top:30vh;
    /*max-height:50vh;*/
    overflow:hidden;
}

.bigmodal {
    left: 24px;
    top: 24px;
    bottom: 24px;
    right: 24px;
    width: auto;
    margin: 0;
}
.bigmodal.fade.in {
  top: 5%;
}
.bigmodal .modal-body {
  max-height: none;
}


/* iframes ------------------------------------------------------------------ */

.full-page-iframe-wrapper {
    position: fixed;
    margin: 6px;
    padding: 0;
    width: 100%;
    heigth: 100%;
}

iframe.full-page-iframe {
    position: fixed;
    width: 95%;
    height: 90%;
    
}

/* notes -------------------------------------------------------------------- */

.note-creator-wrapper {
    background: #eee;
    margin: 0 0 18px 0;
    padding: 8px;
}

/* issues -------------------------------------------------------------------- */

span.issue-important {
    color: #bd362f;
}

span.issue-completed {
    color: #51a351;
}

span.issue-on-hold {
    color: #2f96b4;
}

span.issue-need-more-information {
    color: #f89406;
}

tr.important td {
    background: #dd9a96;
}

tr.completed td {
    background: #51a351;
}

tr.on-hold td {
    background: #2f96b4;
}

tr.need-more-information td {
    background: #f89406;
}

/* marketing tags ---------------------------------------------------------- */

.marketing-tag {
    display: block;
    width: auto;
    color: #fff;
    font-size: 16px;
    padding: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.marketing-tag.yes {
    background: green;
}

.marketing-tag.no {
    background: red;
}

.marketing-tag.unknown {
    background: orange;
}

/* search results ----------------------------------------------------------- */

table.search-results {
    width: 100%;
}

table.search-results th {
    background: #00a3ad;
    color: #fff;
    text-align: left;
    white-space: nowrap;
    font-weight: normal;
}

    table.search-results th {
        padding: 4px;
    }


table.search-results tbody tr:nth-child(odd) {
    background-color:#eee;
}

    table.search-results td {
        padding: 4px;
    }

    table.search-results tbody tr.restoring {
        background-color: #00cc00;
    }


/* project phoenix ---------------------------------------------------------- */

table.match-table {
    width: 100%;
    margin-top: 32px;
    margin-bottom: 64px;
}

table.match-table tr {
    border-bottom: 1px #eee solid;
}

table.match-table tbody tr:hover {
    border-bottom: 1px #333 solid;
}

table.match-table tr.titles td {
    color: #ddd;
}

table.match-table td, table.match-table th {
    padding: 4px;
}

table.match-table th {
    font-size: 16px;
    padding: 8px 4px 8px 4px;
}

table.match-table .badge {
    background: #eee;
    color: #666;
}

table.match-table tr.client-to-match,
table.match-table tr.company-and-contact-to-match {
    background: #ddd;
    text-align: left;
}



table.match-table td.exact-match {
    background: #00ff00;
}

table.match-table td.good-match {
    background: #dff0d8;
}

table.match-table td.similar-match {
    background: #fcf8e3;
}

table.match-table td.bad-match {
    background: #f2dede;
}


/*New buttons*/


.btn-platinum {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #993399; /*Light*/
    *background-color: #990099; /*Dark*/
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#993399), to(#990099));
    background-image: -webkit-linear-gradient(top, #993399, #990099);
    background-image: -o-linear-gradient(top, #993399, #990099);
    background-image: linear-gradient(to bottom, #993399, #990099);
    background-image: -moz-linear-gradient(top, #993399, #990099);
    background-repeat: repeat-x;
    border-color: #9900ff #9900ff #9900ff;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid: dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
    filter: progid: dximagetransform.microsoft.gradient(enabled=false)
}

    .btn-platinum:hover,
    .btn-platinum:active,
    .btn-platinum.active,
    .btn-platinum.disabled,
    .btn-platinum[disabled] {
        color: #fff;
        background-color: #990099;
        *background-color: #993399;
    }

    .btn-platinum:active,
    .btn-platinum.active {
        background-color: #993399 \9
    }

.platinium-tag {
    display: block;
    width: auto;
    color: #fff;
    font-size: 16px;
    padding: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 6px;
    background-color: #990099;
    line-height: 40px;
    font-size: 20px;
}

.retention-tag {
    display: block;
    width: auto;
    color: #fff;
    font-size: 16px;
    padding: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 12px;
    background-color: darkgray;
}

.cancellation-tag {
    display: block;
    width: auto;
    color: #fff;
    font-size: 16px;
    padding: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 12px;
    background-color: red;
}

.introducerSameAsAccountant-tag {
    display: block;
    width: auto;
    color: #fff;
    font-size: 16px;
    padding: 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 12px;
    background-color: darkorange;
}




.btn-turquoise {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #00a3ad;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#22c5cf), to(#00a3ad));
    background-repeat: repeat-x;
    border-color: #00a3ad #00a3ad #00a3ad;
}

    .btn-turquoise:hover,
    .btn-turquoise:active,
    .btn-turquoise.active,
    .btn-turquoise.disabled,
    .btn-turquoise[disabled] {
        color: #fff;
        background-color: #22c5cf;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00a3ad), to(#22c5cf));
    }

    .btn-turquoise:active,
    .btn-turquoise.active {
        background-color: #00a3ad;
    }


.btn-orange {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #e5481c;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f75a3e), to(#e5481c));
    background-repeat: repeat-x;
    border-color: #e5481c #e5481c #e5481c;
}

    .btn-orange:hover,
    .btn-orange:active,
    .btn-orange.active,
    .btn-orange.disabled,
    .btn-orange[disabled] {
        color: #fff;
        background-color: #f75a3e;
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e5481c), to(#f75a3e));
    }

    .btn-orange:active,
    .btn-orange.active {
        background-color: #e5481c;
    }