* { font-family: 'Karla', sans-serif; outline: none!important; }
::placeholder { color: #03014a; }
body { background-color: #fbfbfb; }

.management-box { overflow-x: auto; width: 100%; padding-bottom:25px; }
.management-box table { min-width: 600px; }

.tp-main {
    position: relative;
    padding-bottom: 74px;
}
.tp-page-footer {
    display: table;
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #fff;
    width: 100%;
    height: 74px;
    font-size: 12px;
    font-weight: 700;
    color: #03014a;
}
.tp-page-footer .tp-page-footer-wrap {
    display: table-cell;
    vertical-align: middle;
}
.tp-page-footer .copyright { float: left; }
.tp-page-footer a {
    float: right;
    color: #16b8d3;
}

.tp-box {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}


.select2-container--default .select2-selection--single {
    border: solid 1px #e3e8ee!important;
    border-radius: 6px;
    padding: 10px;
    padding-right: 20px;
    height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 16px;
    height: 10px;
    background-image: url(../images/icon-down-arrow.png);
    background-repeat: no-repeat;
    font-size: 0%!important;
    top: 50%!important;
    margin-top: -5px;
    right: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b { display: none!important; }
.select2-container--default .select2-selection--single .select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #03014a;
    font-weight: 700;
}

h2 {
    font-size: 30px;
    margin: 0 0 20px;
    color: #03014a;
}
h4 {
    font-size: 20px;
    margin: 0 0 10px;
}
a, a:visited {
    text-decoration: none;
    outline: none;
    color: purple;
    outline: none!important;
}
.clear { clear: both; }


.logo {
    display: block;
    margin: 0 auto;
    max-width: 400px;
}

.action-index .site-content {
    padding-top: 80px;
}
.portal-header {
    background-color: #fbfbfb;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;    
}
.portal-header .wrap,
.portal-wrap {
    width: 90%;
    padding: 10px 0;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;    
}
.portal-user {
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 22px;
    padding-top: 4px;
    padding-right: 40px;
    cursor: pointer;
    color: #333;
}
.portal-user span {
    display: block;
    color: #333;
}
.portal-user .name { font-weight: 700; }
.portal-user .icon {
    position: absolute;
    top: 3px;
    right: 0;
    font-size: 26px;
    color: purple;
}
.portal-user .occupation {
    font-size: 14px;
}
.portal-header-cta {
    float: right;
    margin-top: 30px;
}
.portal-header-cta span {
    display: inline-block;
    margin-right: 6px;
}
.portal-pro-cta {
    cursor: pointer;
    float: left;
    font-size: 18px!important;
    line-height: 1;
    margin-right: 40px;
    background: none!important;
    border: none!important;
    color: #03014a!important;
    padding: 0!important;
}
.portal-pro-cta:last-child {
    margin-right: 0;
    margin-left: 30px;
    color: #797979!important;
}
.portal-back {
    float: right;
}


.button, .button:visited {
    display: inline-block;
    border: 1px solid;
    border-color: #e3e8ee #e3e8ee #bbb;
    border-radius: 4px;
    background: #fff;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    padding: 15px 17px 14px;    
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    outline: none;
}
.button i { margin-right: 20px; }
.button-normal { font-size: 16px!important; }
.button:hover {
    background-color: #ddd;
}
.button-primary {
    background-color: #16b8d3!important;
    border-color: #16b8d3!important;
    color: #fff!important;
}
.button-primary:hover {
    background-color: #14a7bf!important;    
}
.button-secondary {
    background-color: #64d490!important;
    border-color: #64d490!important;
    color: #fff!important;
}
.button-secondary:hover {
    background-color: #50c37d!important;    
}

.site-header,
.site-footer {
    display: none!important;
}

.tp-con {    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.tp-wrap { margin: 80px auto; }

.tp-login-page {    
    padding-bottom: 70px;
    padding-top: 50px;
}
.tp-copyright {
    background-color: #fbfbfb;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #03014a;
    font-size: 12px;
    font-weight: 700;
    padding: 0 40px 30px;
}
.tp-login-con {
    position: relative;
    background-color: #fff;
    max-width: 500px;
    border-radius: 10px;
    padding: 60px 100px;    
    margin: auto;
    margin-top: 30px;
    text-align: left;
}
.tp-login-con:after {
    content: '';
    background-image: url(../images/shadow.png);
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    left: 0;
    bottom: -24px;
    width: 100%;
    height: 24px;
}
.tp-login-con .login-icon {
    font-size: 50px;
    color: #00d084;
}
.button-login i,
.button-login-api i {
    float: right;
}

.tp-field {  
    position: relative;  
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
}
.tp-field input,
.tp-field .button {
    width: 100%;
    height: auto;
    line-height: 1;
    font-size: 18px;
    font-weight: 400;
    border: solid 1px #e3e8ee;
    box-shadow: none!important;
    padding: 16px 20px;
    text-align: left;    
    outline: none;
}
.tp-field select {
    width: 100%!important;  
}
.tp-field .select2 { font-size: 18px; }
.tp-field input[type="text"],
.tp-field input[type="email"],
.tp-field input[type="password"],
.tp-field input[type="number"] {
    width: 100%;
    height: auto;
    line-height: 1;
    font-size: 18px;
    border: solid 1px #e3e8ee!important;
    box-shadow: none!important;
    padding: 13px 19px 12px!important;   
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    -ms-progress-appearance: none;
}
.tp-field .label {
    background-color: #fff;    
    position: absolute;
    top: 6px;
    left: 10px;
    z-index: 10;
    padding: 0;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    color: #068456;    
}
.tp-notes {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
}
.tp-field h4 {        
    line-height: 1;
    text-align: center;
}
.tp-divider span {
    position: relative;
    display: inline-block;
    line-height: 1;
}
.tp-divider span:before,
.tp-divider span:after {
    content: '';
    position: absolute;
    top: 7px;
    width: 50px;
    height: 1px;
    background-color: #e3e8ee;
}
.tp-divider span:before {
    left: -60px;
}
.tp-divider span:after {
    right: -60px;
}
.tp-error {
    text-align: left;
    background-color: #fbf8d9;
    color: red;
    border-radius: 4px;
    padding: 3px;
}
.tp-error:last-of-type { margin-bottom: 15px; }
.tp-job-cta .button {
    margin-right: 37px;
}
.tp-job-cta .button:last-child { margin-right: 0; }
.tp-job-cta,
.tp-workers {
    position: relative;    
    margin: 30px auto;
    font-size: 18px;
    line-height: 1;  
}
.tp-job-cta { overflow: hidden; }
.tp-workers {
    margin-bottom: 120px;
    padding-top: 60px;
}
.tp-worker-head { padding-top: 70px; margin-top: 0!important; }
.tp-workers h2 {
    float: left;
}
.tp-sel-worker {
    float: right;
    width: 100%;
    max-width: 500px;
}
.tp-sel-worker .select2-container--default .select2-selection--single {
    background-image: url(../images/icon-worker.png);
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 48px;
}
.tp-workers .label {
    font-weight: 700;
    font-size: 18px;
    color: #03014a;
    float: left;
    margin-top: 14px;
}
.tp-workers .dropdown {
    float: right;
    width: 383px;
}
.tp-jobs {
    position: relative;    
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1;
    background-color: #fff;
    border: solid 2px #e3e8ee;
    padding: 0 30px 30px;
}
.tp-block {
    position: relative;
    float: left;
    width: 100%;     
}
.tp-block .select2-container {width: 100%!important; }
.td-cta .select2-container {width: 120px!important; }
.tp-job-lists {
    margin-top: -22px;
    max-width: 670px;
}
.tp-job-lists .select2-container--default .select2-selection--single {
    background-image: url(../images/icon-job.png);
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 48px;
}

.tp-job-lists .job-selected {
    position: relative;
    z-index: 0;
}
.td-cta { position: relative; }
.td-cta .select2-container--default .select2-selection--single {
    background-color: #dff1ff!important;
    border-color: #dff1ff!important;
}
/* .td-cta .select2 {
    width: calc(100% - 50px)!important;
} */
.td-cta .button {
    padding: 16px;
    font-size: 15px;
    margin-left: 8px;
}
.td-cta .button i,
.portal-pro-cta i,
.tp-table .cta .button i,
.button-login i,
.message-lists .button i,
.remove-job-logs i,
.button-login-api i { margin-right: 0!important; }


.tp-add-time-entry,
.button-save-profile {
    background-color: #fff;
    border-color: #28b25f;
    color: #28b25f;
}
.tp-add-time-entry:hover,
.button-save-profile:hover {
    background-color: #28b25f;
    color: #fff;
}


.tp-time-logs { margin-top: 30px; }
.tp-time-logs th {
    color: #d4dce5;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;   
}
.tp-time-logs .sel-cost { width: 150px; }
.tp-time-logs td:first-child { width: 150px; }
.tp-time-logs td:last-child { min-width: 180px; }
.tp-time-logs td {
    padding: 15px 10px;
    border-bottom: solid 1px #e3e8ee;
    vertical-align: middle;
}
.tp-time-logs .log-text { display: none; }
.tp-time-logs .not-editable td:last-child { text-align: right; }
.tp-time-logs .not-editable input,
.tp-time-logs .not-editable .select2,
.tp-time-logs .not-editable .button {
    display: none;
}
.tp-time-logs .not-editable .log-text {
    display: block!important;
}
.tp-time-logs .log_date {
    width: 100%;
    border: 0!important;
    font-size: 18px!important;
    font-weight: 700;
    color: #03014a;
    cursor: default;
    background-image: url(../images/icon-calendar.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0 0 0 40px!important;    

    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-progress-appearance: unset;
}
.tp-time-logs .tp-hour {
    color: #d00000;
    text-decoration: none;
    font-weight: 700;
}

.tp-remove-row,
.tp-remove,
.remove-message {
    background-color: #fff!important;
    border-color: #ffc7c7!important;
    color: #ffc7c7!important;
}
.tp-remove-row:hover,
.tp-remove:hover,
.remove-message:hover {
    background-color: #da5f5f!important; 
    color: #fff!important;   
}


.tp-edit,
.tp-worker-edit,
.edit-message {
    background-color: #fff!important;
    border-color: #28b25f!important;
    color: #28b25f!important;
}
.tp-edit:hover,
.tp-worker-edit:hover,
.edit-message:hover {
    background-color: #28b25f!important; 
    color: #fff!important;   
}

.tp-time-logs tbody tr { position: relative; }
.tp-jobs .loading,
.tp-submit-logs.loading:after,
.tp-saved-logs.loading:after,
.tp-post-message.loading:after,
.tp-update-message.loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;    
    background-image: url(load.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
}
.tp-saved-logs { position: relative; }
.tp-submit-logs { position: relative; }
.tp-submit-logs.loading,
.tp-saved-logs.loading,
.tp-post-message.loading,
.tp-update-message.loading {
    width: 40px;
    height: 40px;
    background: none!important;
    border: none!important;
    font-size: 0!important;
}

.tp-popup-hour {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.tp-popup-hour:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
#select2-hour-results li,
#select2-minutes-results li {
    text-align: center!important;
    font-size: 30px!important;
}
.hour-box {
    position: relative;
    z-index: 10;
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
}
.hour-con {
    display: table-cell;
    vertical-align: middle;    
}
.hour-options {
    width: 400px;
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;
    border: solid 2px #e3e8ee;
}
.hour-options .icon {
    clear: both;
    font-size: 50px;
    margin-bottom: 10px;
    color: #559a7f;
}
.hour-row {
    float: left;
    width: 100%;
    clear: both;
}
.hour-col {
    float: left;
    width: 50%;
    padding: 0 10px;
    text-align: center;
}
.hour-col .select2-container {
    width: 100%!important;
}
.hour-col .select2-selection {
    height: 60px;
}
.hour-col .select2-selection__rendered {
    font-size: 40px;
    line-height: 60px!important;
    height: 60px;
}
.hour-col .label {
    overflow: hidden;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}
.hour-row .button {
    margin-top: 30px!important;
    margin-left: 5px;
    margin-right: 5px;
}

.tp-job-summary {
    float: right;
    width: 100%;
    max-width: 420px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.tp-job-summary th {
    text-align: left;
    text-transform: uppercase;
    font-size: 18px;        
}
.tp-job-summary thead th {
    color: #d4dce5;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    border-bottom: solid 2px #e3e8ee;
    padding-bottom: 20px;
}
.tp-job-summary tfoot th {
    padding: 40px 10px 0;
    border-top: solid 1px #e3e8ee;
    text-transform: uppercase;
}
.tp-job-summary .summary-total {    
    text-align: left;
}
.tp-job-summary td {
    border-bottom: solid 1px #e3e8ee;
    padding: 10px;
}

.remove-job-logs {
    position: absolute;
    top: -10px;
    right: -10px;   
    color: #fff;
    line-height: 1;
    padding: 3px 5px;

    background-color: #fff!important;
    border-color: #ffc7c7!important;
    color: #ffc7c7!important;
}
.remove-job-logs:hover {
    background-color: #da5f5f!important; 
    color: #fff!important;   
}
.status-saved {
    text-align: center;
    background-color: #dca200;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 6px;
}

.tp-head {
    position: relative;
    overflow: hidden;
    margin-top: 170px;
}
.message-wrap {
    max-width: 700px;
}
.message-wrap h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.message-wrap h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.message-form td {
    padding: 5px 10px 5px 0;
}
.message-form .label {
    font-weight: 700;
    font-size: 18px;
    color: #d4dce5;
}
}
.message-form input {
    width: 100%;
}
.message-text {
    width: 100%;
    height: 100px;
    padding: 20px;
    font-size: 16px;
    resize: none;
}
.message-lists {
    margin-top: 40px;
    text-align: left;
}
.message-lists td {   
    font-size: 18px;
    font-weight: 700;
    padding: 0 10px;
    color: #03014a;
    background-color: #fff;
    border-bottom: solid 16px #fbfbfb;
    line-height: 1;    
}
.message-lists .button {
    visibility: hidden;
    opacity: 0;
}
.message-lists tr:hover .button {
    visibility: visible;
    opacity: 1;
}
.tp-cancel-update-message { display: none; }

.tp-notification {
    position: relative;
    padding: 6px 15px 6px 30px;
    background-color: #fcf8e3;
    color: #806b00;    
    border-radius: 4px;
    margin-top: 5px;
    text-align: center;
    line-height: 1;
    overflow: hidden;
}
.tp-notification .icon {
    position: absolute;
    top: 50%;
    left: 10px;
    font-size: 20px;
    margin-top: -10px;
}
.notification-wrap {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
.tp-edit-profile { padding-bottom: 100px; }
.tp-edit-profile .tp-col {
    float: left;
    width: 50%;
}
.tp-edit-profile .tp-col.left {
    padding-right: 40px;
    padding-bottom:100px;
}
.tp-edit-profile .tp-col.right {
    padding-left: 40px;
}
.tp-edit-profile .profile-con { max-width: 795px; }
.tp-edit-profile .label {
    font-weight: 700;
    font-size: 18px;
    color: #d4dce5;
}
.tp-edit-profile .tp-field { margin-top: 3px; }

/* ACF CUstomizations */
select#acf-field_5dd4227b7716f {
    padding: 12px;
    border:solid 1px #e3e8ee!important;
    border-radius:3px;
}
.acf-button {
    width:auto!important;
    margin:12px;
}

/* Other Customizations */
.tp-add-time-entry, .button-save-profile,
.button-primary,
.button-secondary,
.button-normal {
    font-family:'Karla', sans-serif;
    font-size:18px;
    font-weight:600;
}
.sel-cost input[type="text"] {
    font-family:'Karla', sans-serif;
    font-size:18px;
    font-weight:600;
    padding:10px 20px;
    border-radius:5px;
    border: solid 1px #e3e8ee!important;
}
.tp-field input[type="radio"] {
    width:auto;
    vertical-align:middle;
}
.tp-field label {
    width:auto;
    display:inline-block;
}
.job-status-header {
    margin: 0 0 15px;
    border-bottom: solid 1px #e3e8ee;
    padding: 0 0 15px;
}
.job-active {
    margin-right:25px;
}
small.wp-user-ide {
    display: inline-block;
    vertical-align:middle;
    color:#028CB0;
    font-size:8px;
    padding:5px;
}
@media only screen and (max-width: 1050px) {
    .tp-time-logs thead { display: none; }
    .tp-time-logs td { display: block; }
    .tp-time-logs td:last-child { min-width: 240px!important; }
    .td-cta .select2-container { width: 167px!important; }
}


@media only screen and (max-width: 880px) {
    .tp-workers h2 {
        clear: both;
        width: 100%;
    }
    .tp-job-cta .button { margin-right: 17px; margin-bottom: 20px; }
    .portal-pro-cta span { display: none; }
    .portal-user { padding-right: 0; }
}

@media only screen and (max-width: 750px) {    
    .portal-pro-cta:last-child { margin-left: 0; }    
    .portal-header-cta {
        position: absolute;
        top: 50%; 
        right: 40px;       
        margin-top: -9px;
    }
    .message-wrap {
        max-width: 100%;
    }
}

@media only screen and (max-width: 590px) {
    .portal-user {
        display: block;
        text-align: center;
    }
    .portal-header-cta {
        position: static;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;;
    }
    .portal-header-cta a {
        float: none;
    }
    .tp-workers { padding-top: 80px; }
    .tp-worker-head { padding-top: 0; margin-top: 110px!important; }
    .tp-head { margin-top: 200px; }
}

@media only screen and (max-width: 580px) {
    .tp-edit-profile .tp-col.left,
    .tp-edit-profile .tp-col.right {
        width: 100%!important;
        padding-right: 0!important;
        padding-left: 0!important;
    }

    .tp-workers h2 { text-align: center; margin-bottom: 40px; }
    .tp-workers .dropdown { width: 100%; margin-top: 6px; }
    .tp-workers { margin-bottom: 156px; }

    .message-form td { display: block; padding-right: 0!important; }
    .message-form td input, .message-form .button { width: 100%; }
    
}

@media only screen and (max-width: 480px) {
    
    .portal-header .tp-box { text-align: center; }
    .tp-box {
        width: 80%;        
        margin-right: 10%;
        margin-left: 10%;
    }
    .tp-login-con { padding: 40px; }
    .tp-job-cta .button { width: 100%; margin-right: 0; }
    .tp-workers h2 { margin-bottom: 50px; }
    .tp-workers{ margin-bottom: 146px; }
    .tp-add-time-entry, .button-save-profile { width: 100%; }
}

@media only screen and (max-width: 380px) {
    .message-form td {
        display: block;
        width: 100%;
    }
    .portal-pro-cta { margin-right: 30px; }
}