
.dashicons, .dashicons-before:before { vertical-align: middle !important; }

.jtm_big_margin { margin-bottom: 2rem; }
.jtm_margin_top { margin-top: 0.5rem; }
.jtm_big_margin_top { margin-top: 2rem; }
.jtm_padding_right { padding-right: 3em; }
.jtm_big_margin_bottom { margin-bottom: 2rem; }
.jtm_no_padding { padding: 0 !important; }

.login_box { width: 400px; margin: 4rem auto; list-style: none outside; }
.login_box > li { border: 1px #aaa solid; border-radius: 10px; padding: 2rem 2rem 0; text-align: center; }

.jtm_hidden { display: none; }

.jtm_overlay, #jtm_frame { display: none; }
.jtm_overlay { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; height: 100%; background: rgba(255,255,255,0.8); text-align: center; }

.jtm_map { display: none; position: fixed; top: 50%; left: 50%; z-index: 9999; transform: translate(-50%,-50%); width: 80%; height: 600px; border: 3px black solid; background: white; }
.jtm_map .jtm_button { position: absolute; bottom: 101%; right: 0; }
#jtm_map_container { width: 100%; height: 100%; position: relative; }

p.input_line label { font-weight: bold; font-size: 0.8em; text-transform: uppercase; display: block; }
p.input_line input[type="text"], p.input_line select { width: 100%; font-family: 'Cabin', sans-serif; font-size: 1.25em; }
p.input_line .instructions { font-size: 0.7em; color: #aaa; text-transform: uppercase; display: block; }

.jtm_dialog { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 50%; min-height: 15em; max-height: 80%; background: white; z-index: 1000; border: 3px black solid; padding: 2em; overflow-y: auto; }
.jtm_dialog.jtm_wider { width: 95%; }
.jtm_dialog h2 { text-align: center; }
/*.jtm_dialog .jtm_buttons { position: absolute; bottom: 2em; right: 3em; }*/
.jtm_dialog .jtm_buttons { text-align: right; }
.jtm_dialog .jtm_buttons a { margin-left: 1em; }
.jtm_dialog .jtm_buttons a:first-child { margin-left: 0; }
.jtm_dialog p.input_line { width: fit-content; margin: 0 auto; }
.jtm_dialog p.input_line input[type="text"], .jtm_dialog p.input_line select { width: 20em; }
.jtm_dialog .jtm_2col p.input_line input[type="text"], .jtm_dialog .jtm_2col p.input_line select { width: 100%; }
p.input_line textarea { width: 100%; height: 75px; font-family: 'Cabin', sans-serif; }

.login-wrap { display: block !important; margin: 5em auto 0 !important; padding: 2em !important; width: 20em; }
.login-wrap .log-form-group { margin-bottom: 1em; }
.login-wrap .log-form-group:last-child { margin-bottom: 0; }
.login-wrap .log-form-group.extra-links { display: none; }
.login-wrap label { font-family: 'Cabin', sans-serif; font-size: 0.7em; text-transform: uppercase; font-weight: bold; }

.jtm_page main { width: 95%; max-width: 1280px; margin: 0 auto; padding: 2em 0; min-height: 79.2vh; }

.jtm_button, #login input[type="submit"], .login_box input[type="submit"] { width: fit-content; font-family: 'Cabin', sans-serif; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; display: inline-block; background: #3595ec; padding: 0.5em 1.5em; color: white; border: 0; border-radius: 5px; box-shadow: rgba(0,0,255,0) 0 0 10px; transition: 0.4s all; cursor: pointer; }
.jtm_button:hover, #login input[type="submit"]:hover, .login_box input[type="submit"]:hover { color: white; box-shadow: rgba(0,0,0,0.6) 0 5px 9px; }
.jtm_cancel { background: #003b76; }
.jtm_delete { background: #aa0000; }
.jtm_acknowledged { background: #009c00; display: none; }
.jtm_acknowledged:hover { box-shadow: none !important; }

.sidebarred { display: flex; align-items: flex-start; flex-grow: 0; }
.sidebarred aside { flex-basis: 20%; box-sizing: border-box; }
.sidebarred main { flex-basis: 76%; box-sizing: border-box; margin-left: 4%; }

.sidebarred aside ul { list-style: none outside; padding-top: 3em; }
.sidebarred aside ul li { min-height: 30px; line-height: 30px; margin-bottom: 0.5em; text-indent: 0.5em; }
.sidebarred aside ul li a { font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; color: #777; }
.sidebarred aside ul li a:hover { color: black; }
.sidebarred aside ul li.current_tab { background: #777; position: relative; }
.sidebarred aside ul li.current_tab:after { content: ''; position: absolute; left: 100%; top: 0; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 15px #777 solid; }
.sidebarred aside ul li.current_tab a { color: white; }

.jtm_hidden { display: none; }

.jtm_table { width: 100%; border-collapse: collapse; }
.jtm_table th, .jtm_table caption { text-align: left; border-bottom: 1px black solid; font-weight: bold; }
.jtm_table td.changed, .jtm_table.all_lines td { border-top: 1px #ddd solid; }
.jtm_table.all_lines tr:first-child > td { border-top: none; }
.jtm_table th, .jtm_table td { padding: 0.25em 0.5rem; font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; }
.jtm_table tr th:first-child, .jtm_table tr td:first-child { text-indent: 0; }
.jtm_table tr td.highlight { background: #ffffcc; border-bottom: 1px #ddd solid; }
.jtm_table.all_lines { margin-bottom: 3em; }
.jtm_table.all_lines tr td:first-child { width: 35%; }
.jtm_table.all_lines td { text-indent: 0.5em !important; }
.jtm_table.can_edit tbody tr:not(.no_edit):not(.notes_row):hover { cursor: pointer; background: #ddd; }
.jtm_table.no_bottom_margin { margin-bottom: 0; }

.jtm_table tfoot td { background: #ffdddd; border-top: 2px red solid; color: red; font-weight: bold; }

.jtm_table .inactive td { text-decoration: line-through; color: #888; }

#disclaimers td input { width: 100%; }
#surcharges td input { width: 90%; }

.jtm_popup label { font-size: 0.8em; text-transform: uppercase; display: block; }
.jtm_popup input[type="text"], .jtm_popup select { width: 90%; font-size: 1.1em; text-align: center; }
.jtm_popup #salary { width: 4em; margin: 0 0.25em; }
.jtm_popup .dashicons-admin-generic { color: red; font-size: 0.75em; position: relative; top: 2px; margin: 0 -0.5em; }

#jtm_staff tbody tr td { width: calc(25% - 1em) !important; }
#jtm_staff tbody tr td:first-child { width: 4em !important; }

#jtm_calendar th { text-align: center; }
#jtm_calendar td { width: 14.26% !important; height: 150px; border: 1px black solid; }
#jtm_calendar td.jtm_prev_month, #jtm_calendar td.jtm_next_month { background-color: #eee; }
#jtm_calendar .day_number { display: block; font-size: 0.8em; font-weight: bold; text-align: center; cursor: pointer; background: transparent; transition: 0.4s all; }
#jtm_calendar .day_number:hover { background: #80D0C7; }
#jtm_calendar_title .next_month_link { float: right; color: black; }
#jtm_calendar_title .prev_month_link { float: left; color: black; }

.jtm_view_selector_container a { display: inline-block; padding: 0.5em 1em; background: #eee; border: 1px black solid; color: #888; border-radius: 5px; }
.jtm_view_selected { background: #222 !important; color: white !important; }

.jtm_appointment { display: block; padding: 0.25em 0.5em; font-size: 0.9em; }
.jtm_appointment.even { background: #eeeeff; }
.jtm_appointment.odd { background: #eeffee; }
.jtm_appointment a { color: black; font-weight: normal; }

.jtm_clickable td:not(.dataTables_empty) { cursor: pointer; }

.customer_name a { margin-left: 0.25em; }

.flex { display: flex; flex-wrap: wrap; }
.jtm_half_width { flex-basis: 50%; box-sizing: border-box; margin-bottom: 0.5rem; }
.jtm_quarter_width { flex-basis: 25%; box-sizing: border-box; margin-bottom: 0.5rem; }
.jtm_third_width { flex-basis: 30% !important; margin-right: 5%; box-sizing: border-box; margin-bottom: 0.5rem; }
.jtm_third_width.jtm_nomargin { flex-basis: 30% !important; margin-right: 0; }
.jtm_two_third_width { flex-basis: 65% !important; margin-right: 5%; box-sizing: border-box; margin-bottom: 0.5rem; }
.jtm_two_third_width.jtm_nomargin { flex-basis: 70%; margin-right: 0; }
.jtm_boxes > div, .jtm_border { padding: 0.5em 1em; border: 1px #444 solid; border-radius: 10px; }
.jtm_boxes > div:last-child { margin-right: 0; }
.jtm_boxes .jtm_half_width:first-of-type { margin-right: 2%; }
.jtm_boxes .jtm_half_width { flex-basis: 49%; }
.jtm_almost_half { flex-basis: 49%; margin-left: 1%; }

.jtm_third_width strong { text-decoration: underline; }
.jtm_third_width em { border: 1px #aaa solid; font-style: normal; display: inline-block; padding: 0.25em 1em; }

.jtm_form_container .width_narrow_offset { flex-basis: 44%; }
.jtm_form_container label { display: block; }
.jtm_form_container input[type="text"], .jtm_form_container select { font-family: 'Cabin', sans-serif; width: 80%; height: 22px; font-size: 1em; }
.jtm_required { color: red; font-weight: bold; margin-left: 0.25em; }

.jtm_box { padding: 1em; border: 1px #444 solid; border-radius: 15px; position: relative; flex-basis: 40% !important; margin-right: 10%; }
.jtm_box h3 { padding: 0 0.5em; background: white; position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); }
.jtm_box p { padding-bottom: 0.25em; }
.jtm_box p:last-child { padding-bottom: 0; margin-bottom: 0; }
.jtm_box p label { text-align: right; margin-right: 1em; }
.jtm_box p.jtm_note_area { padding-left: 5%; }
.jtm_box p textarea { width: 90%; height: 150px; font-family: Cabin, sans-serif; font-size: 1em; }


#jtm_surcharges { list-style: none outside; width: fit-content; max-width: 80%; margin: 0 auto 1em; }
#jtm_surcharges li { border-bottom: 1px #aaa solid; padding: 0.25em 1em; }
#jtm_surcharges li:last-child { border-bottom: none; }
#jtm_surcharges li a { margin-right: 0.5em; }

#jtm_employees { list-style: none outside; width: 80%; margin: 0 auto 1em; }
#jtm_employees li { border-bottom: 1px #aaa solid; padding: 0.25em 1em; }
#jtm_employees li:last-child { border-bottom: none; }
#jtm_employees li a { margin-right: 0.5em; }

#jtm_disclaimers { list-style: none outside; width: 100%; margin: 0 auto 1em; }
#jtm_disclaimers li { border-bottom: 1px #aaa solid; padding: 0.25em 1em; }
#jtm_disclaimers li:last-child { border-bottom: none; }
#jtm_disclaimers li a { margin-right: 0.5em; }

#jtm_damages { list-style: none outside; width: 100%; margin: 0 auto 1em; }
#jtm_damages li { border-bottom: 1px #aaa solid; padding: 0.25em 1em; }
#jtm_damages li:last-child { border-bottom: none; }
#jtm_damages li a { margin-right: 0.5em; }

.jtm_underline { border-bottom: 1px #aaa solid; }
.jtm_invoice_surcharge { padding: 0.5em 0; }
.jtm_invoice_container { line-height: 1.3em; font-size: 0.8em; }

.jtm_invoice_smaller > div { font-size: 0.9em; }
.jtm_invoice_disclaimers { list-style: disc outside; column-count: 2; column-gap: 3em; margin: 2em auto 0; width: fit-content; }
.jtm_invoice_disclaimers li { padding: 0; margin: 0; line-height: 1.2em; }

.jtm_signature { width: 90%; margin: 8em auto 0; border-top: 1px #444 solid; text-align: center; font-size: 0.7em; }

.default_rate_container a { padding: 0.25em 0.5em; border: 1px #444 solid; font-size: 0.8em; margin-right: 0.5em; display: inline-block; }

#payroll_popup_table { width: 95%; border-collapse: collapse; }
#payroll_popup_table td { font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; border-top: 1px #ccc solid; padding: 0.25em 0.5em; white-space: nowrap; vertical-align: top; }
#payroll_popup_table td input { width: 3em; text-align: center; }
#payroll_popup_table td textarea { width: 15rem; font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; font-size: 0.8em; white-space: normal; }

.payroll_output { border-collapse: collapse; width: 100%; page-break-after: always; margin-bottom: 3em; }
.payroll_output th, .payroll_output td { font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif; text-align: left; border: 1px #444 solid; border-left: 0; border-right: 0; padding: 0 1em; }


@media print {
    header,footer { display: none; }
    .jtm_screen_only { display: none; }
    body { font-size: 0.9em; }
}



