﻿

body {
    /* background-image: url("../Images/bg14.png"); */
    /* background-size: 100vw 100vh;*/
    background-attachment: fixed;
    background-repeat: repeat;
    font-size: 18px;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 10px 10px 0px 10px;
    padding: 0px;
}


.ajax-page {
    margin-top: 120px;
}
.ajax-page.entity-loaded {
    margin-top:160px;
}


/* Navbar */
.nav-link {
    /* font-size: 18px; */
    font-size:20px;
}
.navbar-color {
    
}

.isLink {
    cursor: pointer
}




/* Homepage */
.glyphicon-homepage {
    padding-bottom: 5px;
}
.homepage-icon {
    padding: 5px;
}
.loginpage-image {
    width:140px;
}

.terms-text {
    font-weight: normal;
    text-decoration: underline;
    cursor: pointer;
}



/* the header area in the Admin App when viewing an entity */
.header-entity-adminapp {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    top:0;
    padding-top:110px;
}
.content-entity-adminapp {
    transition: padding-top 0.8s;
}

.header-entity-adminapp .icon-active {
    
}


/* the header area (company name) in the Client App when viewing an entity */
.header-entity-clientapp {
    z-index: 10;
    padding-top:30px;
    padding-bottom:15px;
}


/* displays a background to headers/titles */
.title-wrapper {
    border-radius: 8px;
    padding: 5px;
}
/* Section Headings Text */
.section-header {
    font-size: 20px;
}
.section-header .left-section {
    border-width:1px;
    border-style:solid;
    text-align: center;    
    padding: 5px 20px 5px 20px;
    overflow:hidden;
    width:60px;
}
.section-header .left-section.archived {
    border-right:0;
}
.section-header .right-section {
    border-width:1px;
    border-style:solid;
    padding: 5px 20px 5px 15px;    
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
}
.section-header .right-section.archived {
    
}

.section-header.locked {
    
}





.ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.option-selector-container {
    margin-bottom:0px;
}
.option-selector-round {
    position: relative;
    width: 120px;
    height: 120px;
    line-height: 95px;
    font-size: 35px;
    border-radius: 100%;
    background-position:center;
    background-repeat:no-repeat;
    background-size: cover;
    transition: transform .2s;
    padding: 10px;
    border-width: 1px;
    border-style: solid;
}
.option-selector-round:hover {
    transform: scale(1.2);
    cursor:pointer;
}
.option-selector-round.locked {
    border-width:1px;
    border-style:solid;
}
.option-selector-container .label-text {
    font-size: 18px;
}

.option-selector-round.hover-icon {
    position:relative
}
.option-selector-round.hover-icon .main-item {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
.option-selector-round.hover-icon .hover-item {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}
.option-selector-round.hover-icon:hover .main-item {
    opacity: 0.3; 
}
.option-selector-round.hover-icon:hover .hover-item {
    opacity: 1;    
}


.option-selector-round-no-hover {
    width: 120px;
    height: 120px;
    line-height: 95px;
    font-size: 45px;
    border-radius: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;
    border-width: 2px;
    border-style: solid;
}



/* to prevent additional spinner icons appearing on number inputs for HTML5 */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/* to centre Bootstrap divs */
.col-centered {
    float: none;
    margin: 0 auto;
}

/* additional button CSS */
.btn {
    cursor: pointer;
    min-width: 100px;
    font-size: inherit;
}
.btn-link {
    font-size: 16px;
    text-decoration: none !important;
}
.btn-link:hover {
    
}
.btn-light {
    border-width: 1px;
    border-style: solid;
}
.big-button { /* also used on divs*/
    height: 80px;
    line-height: 55px;
    font-size: 18px;
    cursor: pointer;
}


/* Username & Password Validation Div on login pages, and other form validation text */
.pw-validator, .text-validator {
    font-size: 12px;
    text-align: right;
}



/* PIN Login fields */
.pin-field {
    width: 100px;
    height: 200px;
    font-size: 7em;
}



/* Divider */
hr {
    
}


/* prevent content of date fields from wrappring (problem iOS) */
input[type="date"] {
    white-space:nowrap;
}


/* floating div effect */
.shadowed-box {
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    padding: 10px;
}

/* draggable option div & financial entry expense group div */
.draggable-div, .category-container {
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 8px;
}
.draggable-div:hover, .category-container:hover {
    cursor: pointer;
}
.draggable-div.deleting {
    
}
.draggable-dragmode {   
    opacity:0.2;
}
.drag-element {
    cursor:grab;
}
.draggable-highlighted {
    
}



/* additional form field settings */
select {
    padding: 2px;
}
input {
    padding: 2px;
}
.form-field-error {
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
}
input[type=checkbox], [type=radio] {
    transform: scale(1.2);
}
.form-check-label,.form-check-inline :hover {
    cursor: pointer;
}
.form-check-highlight {
    border-width: 1px;
    border-style: solid;
    border-radius: 3px;
    margin: 1px;
}
label {
    padding: 2px;   
}
.form-label {
    margin-bottom:0;
}
.field-title {
    
}
.field-surround {
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    padding: 5px;
}
.slider-text {
    font-size:12px;
}
.slider-text .end-range {
    font-size:10px;
}



/* table settings  */
.table {
    
}
.table thead {
     
}

.table-bordered {
    border: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-right-width: 1px;
    border-right-style: solid;
    border-left-width: 1px;
    border-left-style: solid;
    border-radius: 10px;
}

table thead tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
table thead tr:last-child th:last-child {
    border-top-right-radius: 10px;
}
table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.table tbody td {
    border-left-width: 1px;
    border-left-style: solid;
}
.table tbody td:last-child {
    border-right-width: 1px;
    border-right-style: solid;
}
.table-hover tbody tr:hover td {
    cursor: pointer;
}
tr td.deleting {
     
}


/* Icon "ON" - to indicate an icon is toggled on  */
.icon-on {
    
}

/* log styling */
.log {
    width: 100%;
    font-size: 16px;
    border: 0;
    padding: 15px 0 0 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.log .date {
    font-size:12px;
}
.log .info {
    font-size:11px;
    font-style:italic;
    padding:10px 0 3px 0;
    text-align:right;
}


/* datatables settings */
/* change font in top and bottom */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .ui-button,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .paginate_button.current,
.dataTables_wrapper .paginate_button.current:hover {
    font-size: 14px;
}



/* datepicker - additional CSS for non-HTML5 datepicker plugin */
.datepicker {
    position: center;
    margin-top:122px;
    margin-left:10px;
    border-width:1px;
    border-style:solid;
    border-radius:3px;
    padding:0;
}
.datepicker table tr td {
    padding:10px;
}
.datepicker table tr th {
    padding:5px 0 5px 0;
}
.datepicker-dropdown:after {
    
}



/* Modal Dialogues */
.modal-dialog {
    margin-top: 100px;
}
.modal-dialog.no-top-margin {
   margin-top:10px;
}
.modal-dialog .entry{
    min-height:200px; 
    max-height:450px; 
    overflow-y:auto;
}
body.modal-open {
    overflow: hidden;  
}
.modal-header {
    
}

.modal-entry-saved {
    text-align:center;
    width:200px;
    height:200px;
    padding-top:30px;
    margin-left:auto; 
    margin-right:auto;
    font-size:25px;
    border-radius:50%;
}


/* Container for the JSViewer plugin container */
.file-previewer {
    min-width: 100%;
    min-height: 75vh;
    border-width: 1px;
    border-style: dotted;
    align-content: center;
}


/* Notification Bubbles */
.notification {
    position: absolute;
    border-radius: 100%;
    display:none;
}
.option-selector-round .notification {
    top: -6px;
    right: 0px;
    border-width: 1px;
    border-style: solid;
    width: 45px;
    height: 45px;
    line-height: 40px;
    font-size: 18px;
    text-align: center;
    transition: transform .0s;
}
.nav-item .notification {
    top: 2px;
    right: -1px;
    border-width: 1px;
    border-style: solid;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 10px;
    text-align: center;
}
.btn .notification {
    top: -6px;
    right: -5px;
    border-width: 1px;
    border-style: solid;
    width: 20px;
    height: 20px;
    line-height: 18px;
    font-size: 10px;
    text-align: center;
}
.msgIcon .notification { /* on the admin conversations list screen */
    top: 3px;
    right: 37px;
    border-width: 1px;
    border-style: solid;
    width: 22px;
    height: 22px;
    line-height: 20px;
    font-size: 11px;
    text-align: center;
}
.notification-collapsed-menu {
    left: 5px;   
}


/* Notifications Page */
.notification-panel {
    border-width: 1px;
    border-style: solid;
    border-bottom: 0;
    cursor: pointer;
    color: inherit;
    padding: 10px;
}
.notification-panel .icon {
    font-size:30px;
    height:70px;
    line-height:60px;
}
.notification-panel.read {
    
}
.notification-panel:hover {
    
}
.notification-panel.deleting {
    
}
.notification-panel.bottom, notification-panel.bottom:hover {
    border:0;
    border-top-width: 1px;
    border-top-style: solid;
    cursor:default;    
}



/* Messages speech bubbles & other css*/
.speech-bubble {
    position: relative;
    border-radius: .4em;
    width: 65%;
    padding:10px 20px 20px 20px;
}
.speech-bubble hr {
    border-top-width: 1px;
    border-top-style: solid;
    margin:5px 0 15px 0;
}
.speech-bubble .messageheader {
    font-size:12px;
    padding-top:3px;
}
.speech-bubble .casetitle , .message-composer .casetitle  {
    border-radius: 8px;
    padding: 2px 10px 2px 10px;
    font-size: 12px;
    width: 20vw;
    margin-bottom: 5px;
    max-width: 100%;
}
.message-composer .casetitle {
    border-width: 1px;
    border-style: solid;
}
.speech-bubble .casetitle.from-user {
    
}
.speech-bubble .casetitle.to-user {
    
}
.speech-bubble.to-user {    
    margin-left:10px;
    right:-10px;
}
.speech-bubble.from-user {
    left:-10px;
    margin-left:auto; 
    margin-right:10px;
}
.speech-bubble.to-user:after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border-width: 20px;
    border-style: solid;
    border-left: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-left: -20px;
}
.speech-bubble.from-user:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border-width: 20px;
    border-style: solid;
    border-right: 0;
    border-bottom: 0;
    margin-top: -10px;
    margin-right: -20px;
}
.speech-bubble.to-user.deleting, .speech-bubble.from-user.deleting {
    
}
.speech-bubble.from-user.deleting:after {
    
}
.speech-bubble.to-user.deleting:after {
    
}
.timeinfo {
    width: 65%;
    font-size: 11px;
    display: block;
    padding:0 5px 0 5px;
    margin-bottom:20px;
}
.timeinfo.to-user {    
    margin-left: 30px;    
    text-align: right; 
}
.timeinfo.from-user {
    margin-left: auto;
    margin-right: 30px;
    text-align: left;
}
.message-composer {
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    padding: 5px;
    width: 90%;
    margin: 0 auto;
    transition: all 0.4s;
}
.message-composer.focus {
           
}
.new-msgbox {
    height: auto;
    max-height:300px;
    border: 0;
    outline: 0px !important;
    -webkit-appearance: none;
}

/* apply blur effect for unread messages*/
.unread-container {
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    height:100px;
    overflow:hidden;
    position:relative;
}
.unread-container-open {
    position: absolute;
    right: 32%;
    top: 80px;
    margin: 0 auto;
    width: 40%;
    height: 100px;    
    text-align: center;
    opacity: 0.8;
    border-radius:10px;
    padding-top:10px;
}
.unread-container-open.short {
    top: 50px;
}





/* Uploads Indicator / Info */
.uploads label {
    display: inline-block;
    width: 100%;
    height: 70px;
    border-width: 4px;
    border-style: dashed;
    color: #B5B5B5;
    font-size: 40px;
    line-height: 25px;
    text-align: center;
    padding-top: 10px;
    margin: 0 auto;
    cursor: pointer;
}
.uploads .uploadInfo {
    vertical-align: top;
    width: 100%;
    min-height: 16px;
    padding-top: 5px;
    font-size: 12px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.uploads .uploadInfo .progressBar {
    width: 0px;
    height: 14px;
    border-radius: 5px;
    transition: .25s ease-out;
}
.uploads .uploadInfo .progressBar .progressBarPercent {
    font-size:10px;
    margin-right:5px;
    padding-bottom:8px;
    text-align:right;
}
.uploads .uploadInfo .success {
    
}
.uploads .uploadInfo .error {
    text-align: left;
    font-size: 12px;
}




/* Financial Summary */
.fin-sum {
    line-height:22px;
}
.fin-sum .currency-symbol {
    margin-right:60px; 
    margin-bottom:10px;
}
.fin-sum .expenses-item {
    margin-right:30px; 
    overflow:hidden;
    white-space:nowrap;
}


.icon-large {
    font-size:22px;
}



/*--------------------------------------------------------------------------------*/
/* ON/OFF SWITCH (ARCHIVE/SETTINGS BUTTON) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider.small {
    transform: scale(0.7);
}

.slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 20px;
        left: 4px;
        bottom: 2px;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
}

input:checked + .slider {
    
}

input:focus + .slider {
    
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/*--------------------------------------------------------------------------------*/









/*** MEDIA SETTINGS ***/
/****************************************************/
/* This effects a Samsung S8 Portrait */
@media screen and (max-width: 576px) {
    body {
        font-size: 16px;        
    }
    .glyphicon-homepage {
        font-size: 14vw;
    }
    .homepage-icontext {
        font-size: 1.2em;
    }
    .glyphicon-standard {
        font-size: 12vw;
    }
    .standard-icontext {
        font-size: 1.0em;
    }
    .pin-field {
        width: 50px;
        height: 100px;
        font-size: 2.7em;
    }
    .pw-validator {
        text-align:left;
    }
    .option-selector-round {
        width: 80px;
        height: 80px;
        line-height: 60px;
        font-size: 25px;
    }
    .option-selector-round .notification {                
        width: 35px;
        height: 35px;
        line-height: 30px;
        font-size: 15px;
        text-align: center;
    }    
    #div_ClientTaxEntityArea { /* This is the gap under the loaded client entity company name banner */
        margin-top: 50px;
    }
    .speech-bubble {
        width: 60%;
        padding: 10px 15px 20px 15px;
    }
    .speech-bubble .casetitle { 
        width:40vw;
    }
    .timeinfo {
        width: 60%;
    }
    .unread-container-open {
        width: 50%;
        right: 24%;
        top: 75px;
    }
    .header-entity-adminapp {
        padding-top: 85px;
    }
}

/* This effects a Samsung S8 Landscape */
@media screen and (min-width: 577px) {
    body {
        font-size: 18px;
    }
    .glyphicon-homepage {
        font-size: 8vw;
    }
    .homepage-icontext {
        font-size: 1.2em;
    }
    .glyphicon-standard {
        font-size: 6vw;
    }
    .standard-icontext {
        font-size: 0.8em;
    }
    #div_ClientTaxEntityArea { /* This is the gap under the loaded client entity company name banner */
        margin-top: 40px;
    }
    .modal-dialog .entry {
        max-height: 600px;
    }
}

@media screen and (min-width: 768px) {
    .glyphicon-homepage {
        font-size: 80px
    }
    .homepage-icontext {
        font-size: 25px
    }
    .glyphicon-standard {
        font-size: 50px;
    }
    .standard-icontext {
        font-size: 20px;
    }
    .pin-field {
        font-size: 5em;
    }
    #div_ClientTaxEntityArea { /* This is the gap under the loaded client entity company name banner */
        margin-top: 40px;
    }
    .column-splitter {
        border-right-width:1px;
        border-right-style:solid;
    }
    .icon-large {
        font-size: 30px;
    }
    .fin-sum .currency-symbol {
        margin-right: 80px;
    }
    .fin-sum .expenses-item {
        margin-right:80px;
    }
}
@media (min-width: 992px) {
    body {
        margin-top: 56px;
    }
    .pin-field {
        font-size: 7em;
    }
    .option-selector-container {
        margin-bottom: 40px;
    }
    #div_ClientTaxEntityArea {   /* This is the gap under the loaded client entity company name banner */
        margin-top: 0px;
    }
}
/****************************************************/







/* Input Placeholder settings */
/**************************************/
/* WebKit, Blink, Edge */
.form-control::-webkit-input-placeholder {
    font-size: 15px;
    font-style: italic;
}
/* Mozilla Firefox 4 to 18 */
.form-control:-moz-placeholder {
    font-size: 15px;
    font-style: italic;
}
/* Mozilla Firefox 19+ */
.form-control::-moz-placeholder {
    font-size: 15px;
    font-style: italic;
}
/* Internet Explorer 10-11 */
.form-control:-ms-input-placeholder {
    font-size: 15px;
    font-style: italic;
}
/* Microsoft Edge */
.form-control::-ms-input-placeholder {
    font-size: 15px;
    font-style: italic;
}

/* ************************************ */
