body {
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 14px;
    background-color: #e3e9ed;
    /* text-align: center; */
    margin: 0 auto;
    /* margin-top: 10px; */
    padding: 10px;
    max-width: 1280px;
}

* {
    box-sizing: border-box;
}

a:active {
    text-decoration: none;
}

a:link {
    color: #1A2677;
    text-decoration: none;
}

a:visited {
    color: #1A2677;
    text-decoration: none;
}

a:hover {
    color: #0000FF;
    text-decoration: none;
}

.siteTitle,
.siteSubtitle {
    text-align: center;
    margin: 10px 0;
}

#logo {
    position: absolute;
    top: 20px;
    right: 20px;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation li {
    display: inline;
    border-right: 1px solid #000;
    padding: 0 5px;
}

#navigation li:last-of-type {
    border: 0 none;
}

#navigation a.navItemActive {
    font-weight: bold;
}


kbd {
    padding: 0.1em 0.6em;
    border: 1px solid #ccc;
    font-size: 11px;
    background-color: #f7f7f7;
    color: #333;
    -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
    -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin: 0 0.1em;
    text-shadow: 0 1px 0 #fff;
    line-height: 1.4;
    white-space: nowrap;
}

.clearfix:after {
    clear: both;
    content: '.';
    display: block;
    visibility: hidden;
    height: 0;
}

div.projectDetails {
    clear: both;
    margin-top: 10px;
}

table.projectComments {
    width: 100%;
}

table.projectComments td {
    padding: 4px 0;
    vertical-align: top;
}

/* STYLES FOR SORTABLE TABLE HEADINGS */
table .sortHeading {
    cursor: pointer;
}

span.listSortMarker {
    margin-left: 2px;
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
}

span.listSortMarker.ASC {
    border-width: 0 5px 8.7px 5px;
    ;
    border-color: transparent transparent #000 transparent;
}

span.listSortMarker.DESC {
    border-width: 8.7px 5px 0 5px;
    ;
    border-color: #000 transparent transparent transparent;
}

/* STYLES FOR SEARCH BOX ON PROJECT LISTING */
div.searchContainer {
    margin: 10px 20px;
    text-align: right;
}

input#searchWord {
    background: white;
    padding: 5px;
    line-height: 1;
    width: 200px;
}

/* 2020-09-15 REMINDER FUNCTIONALITY  */
#setReminder {
    margin-bottom: 10px;
    padding: 5px;
    background-color: #1a2677;
    color: white;
}

.modal {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
}

.modal.modalOpen {
    display: block;
}

.modal>div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    background: white;
    transform: translate(-50%, -50%);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 20px;
    /* box-sizing: border-box; */
    text-align: left;
}

.modal h2 {
    text-align: center;
    margin-top: 0;
}

.modalCloseButton {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent;
    color: #b3b3b3;
    border: 0 none;
    font-size: 1.6rem;
}
.modalCloseButton:hover {
    color:#000;
    background: transparent;
}

.modal .alignBottomZ {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* FLEXBOX STUFF */

.flexContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /* justify-content: space-between; */
}

.flexContainer>div {
    /* box-sizing: border-box; */
    padding: 10px;
}

.flexContainer>div {
    flex: 1;
}

.flexContainer .x1 {
    width: 100%;
    flex: none;
}

.flexContainer .x1-2 {
    width: 50%;
    flex: none;
}

.flexContainer .x1-3 {
    width: 33.333%;
    flex: none;
}

.flexContainer .x2-3 {
    width: 66.666%;
    flex: none;
}

.flexContainer .x1-4 {
    width: 25%;
    flex: none;
}

.width-1-2 {
    width: 50% !important
}

.width-1-3 {
    width: 33% !important
}

.width-2-3 {
    width: 66.6% !important
}

.width-1-4 {
    width: 25% !important
}

.width-3-4 {
    width: 75% !important
}

.width-1-5 {
    width: 20% !important
}

.width-2-5 {
    width: 40% !important
}

.width-3-5 {
    width: 60% !important
}

.width-4-5 {
    width: 80% !important
}

.child-width-1-2>* {
    width: 50% !important
}

.child-width-1-3>* {
    width: 33% !important
}

.child-width-2-3>* {
    width: 66.6% !important
}

.child-width-1-4>* {
    width: 25% !important
}

.child-width-3-4>* {
    width: 75% !important
}

.child-width-1-5>* {
    width: 20% !important
}

.child-width-2-5>* {
    width: 40% !important
}

.child-width-3-5>* {
    width: 60% !important
}

.child-width-4-5>* {
    width: 80% !important
}

.flexSpaceAround {
    justify-content: space-around;
}

.flexContainer.projectManage {
    margin: 24px;
    border: 1px solid black;
    background: white;
}

.flexContainer.projectManage label {
    display: block;
    font-weight: bold;
}

.formElement {
    margin-bottom: 10px;
    position: relative;
    display: flex;
}

.addressSearch{
    display: flex;
    width:70%;
}
.addressSearch #address {
    flex-grow:1;
}


.formElement>label {
    width: 20%;
    padding: 10px;
    font-weight: bold;
}

.formElement>input:not([type="radio"]):not([type="checkbox"]),
.formElement>select,
.formElement>button,
.formElement>textarea,
.formElement>.formText {
    width: 70%;
    margin: 0;
    padding: 10px;
    /* box-sizing: border-box; */
}

.formElement input[type="radio"] {
    padding: 5px;
    width: 1.3em;
}

.formElement input[type="date"] {
    width: auto;
}

.inputPadding {
    margin: 0;
    padding: 10px;
    /* box-sizing: border-box; */
}

button.btn-small, a.button.btn-small {
    padding: 2px;
    width: auto;
}

button.btn-large, a.button.btn-large {
    padding: 10px;
    width: auto;
}

.topBar button {
    min-height: 50px;
}


button, a.button {
    background-color: #006;
    color: white;
    border-radius: 5px;
    border: 2px solid #006;
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 0px 6px;
    font-size: 0.8rem;
    text-align: center;
}

button.muted, a.button.muted {
    background-color: #9b9b9b;
    color: white;
    border-radius: 5px;
    border: 2px solid #9b9b9b;
    transition: all 0.25s ease;
    cursor: pointer;
    padding: 0px 6px;
    font-size: 0.8rem;
}

button:hover, a.button:hover {
    background-color: #00ACEA;
}



.debugOutput>div {
    padding: 10px;
    text-align: left;
    border: 1px solid #000;
    margin: 5px;
    background-color: white;
}

.csHidden {
    display: none;
}

.csVisible {
    display: block;
}

.danger {
    background: #fef4f6;
    color: #f0506e;
    border:1px solid #f0506e;
    border-radius:5px;
}

.success {
    background: #edfbf6;
    color: #32d296;
    border:1px solid #32d296;
    border-radius:5px;
}

.warning {
    background: #fff6ee;
    color: #faa05a;
    border:1px solid #faa05a;
    border-radius:5px;
}

.message {
    background: #eaedff;
    color: #006;
    border:1px solid #006;
    border-radius:5px;
}


.center {
    text-align: center;
}

.fullWidth {
    width: 100%;
}

table.tableStriped {
    border-collapse: collapse;
}

table.tableStriped tbody tr:nth-child(odd) {
    background: #e1e1e1;

}

.managementTable th,
.managementTable td {
    padding: 5px;
    text-align:left;
}

.paymentTableContainer {
    width: 70%;
}

.paymentTable {
    border-collapse: collapse;
    width: 100%;
}

.paymentTable td,
.paymentTable th {
    border: 1px solid #555;
    padding: 5px;
}

.paymentTable .paymentAmount {
    text-align: right;
}

.paymentTable .paymentTableTotals {
    font-weight: bold;
    text-align: right;
}

.formElement .paymentTable input {
    width: 100%;
    border:0 none;
}

td.paymentAction {
    border:1px solid transparent;
}

td.paymentAction img {
    transition: all 0.25s ease;
    cursor: pointer;
    opacity: 0.7;
}

td.paymentAction img:hover {
    opacity: 1;
}

tr.blankTableRow td {
    border:0 none;
}

#paymentRowCloner {
    display:none;
}

.projectBlock {
    background: white;
    padding: 10px;
    margin: 10px;
    border: 1px solid #000000;
    border-radius: 10px;
}


input.hasIcon {
    padding-left: 18px !important;
}

.currency:before {
    position: relative;
    display: inline-block;
    content: "\00A3";
    top: 10px;
    left: 8px;
    bottom: 0;
    font-size: 1.2em;
    color: #444;
    width: 0;
    height: 0;
}


/* HIDE SPINNERS ON INPUT TYPE NUMBER */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.footer div:nth-of-type(2) {
    text-align:right;
}




@media (max-width: 600px) {
    .flexContainer,
    .flexContainer>div {
        display: block;
        width: 100% !important;
    }
    .formElement {
        flex-direction: column;
    }

    .formElement>* {
        width: 100% !important;
    }

    .formElement>label {
        padding-left: 0;
    }

    #logo {
        display: none;
    }

    .currency:before {
        top: 28px;
    }
}