/*
 Theme Name:   tarmac-dashboard
 Theme URI:    https://todcan.com;
 Description:  tarmac Dashboard Theme
 Author:       TODCAN
 Author URI:   https://todcan.com;
 Template:     twentytwentyfour
 Version:      1.2.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  tarmac-dashboard
*/

:root {
  --orange: #c54000;
  --white: #fff;
  --yellow: #ffd452;
  --black:  #333;
}
.page-template-page-customers #content {
    margin-top: -20px;
}

.regd-dashboard-container.submitting input,
.regd-dashboard-container.submitting button {
    opacity: 0.6;
    pointer-events: none;
}

.regd-vehicle-container {
    display: block;
}

.regd-vehicle-data-init,
.regd-submit-message {
    display: none;
}

.regd-submit-message.show {
    display: block;
    position: fixed;
    top: 100px;
    right: 60px;
    padding: 15px;
    border: 3px solid #ddd;
    border-radius: 8px;
}


.regd-vehicle-data {
    margin: 30px 0;
}

div.regd-remove,
div.regd-customer-submit,
div.regd-vehicle-container {
    margin: 50px 0;

}

div.regd-remove {
    position: relative;
    height: 60px;
}

div.regd-remove button {
    position: absolute;
    top: 0;
    right: 0;

}

.container-sm {
    max-width: 500px;
}

.regd-customer-name,
.regd-vehicle-make,
.regd-vehicle-plate,
.regd-vehicle-l5vin {
    text-transform: uppercase;
}

/* the switch */
.onoffswitch {
    position: relative;
    width: 90px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: block;
    float: left;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "ON";
    padding-left: 10px;
    background-color: #ffc107;
    color: #212529;
}

.onoffswitch-inner:after {
    content: "OFF";
    padding-right: 10px;
    background-color: #EEEEEE;
    color: #999999;
    text-align: right;
}

.onoffswitch-switch {
    display: block;
    width: 22px;
    height: 22px;
    margin: 6px;
    background: var(--white);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #ddd;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.flex {
    display: flex;
    align-items: stretch;
    margin: 5px 0;
}

.tod-switchrow1 span,
.tod-switchrow2 span,
.tod-switchrow3 span,
.tod-switchrow4 span,
.tod-switchrow6 span {
    font-size: 16px;
    line-height: 20px;
}

input[type="checkbox"].tod-switch1,
input[type="checkbox"].tod-switch2,
input[type="checkbox"].tod-switch3,
input[type="checkbox"].tod-switch4,
input[type="checkbox"].tod-switch6 {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    line-height: 30px;
}

.navbar-toggler-icon {
    display: none !important;

}

.collapse:not(.show) {
    display: flex !important;
}

.navbar-nav {
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.navbar-nav li {
    padding: 0 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 10px;
    background: #ddd;
    border-radius: 30px;
    border: 2px solid #ccc;
}

.navbar-nav li a {
    color: var(--orange);
}

.navbar-nav li a:hover {
    color: #de8052;
}

.navbar-nav li a:active {
    color: #fec600;
}

nav.main-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.custom-logo {
    height: 70px !important;
    width: auto;
}

.site-header {
    border-bottom: none !important;
}

.customer-record span {
    font-weight: 700;
    margin-right: 10px;
}

.customer-record-box {
    border: 2px solid #ccc;
    margin-bottom: 15px;
    background: #f1f1f1;
}

.customer-record {
    display: flex;
    padding: 15px 0;
}

.customer-record h4 {
    font-weight: 700;
    text-decoration: underline;
    color: #555;
}

.vehicle-wrapper {
    background: #efdba0;
    padding: 15px;
    border-radius: 6px;
    font-size: 0.8em;
}

.customer-wrapper {
    flex-basis: 40%;
    padding: 0 15px;
    font-size: 0.8em;
}

.vehicles-col {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    flex-basis: 60%;
    overflow-x: auto;
}

.customer-record-header {
    background: #555;
    padding: 3px 15px;
    color: #eee;
}

.customer-record-header>h4,
.customer-record h4 {
    display: block;
    width: 100%;
    font-size: 16px;
    margin: 0;
}

.search-customers {
    margin-bottom: 30px;
}

.form-el {
    margin: 15px 0;
}

.page-template-page-customers-php {
    background: #f3f3f3;
}

.customer-filters {
    border: none;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 15px 15px;
    background: #aac7c6;
}

.customer-filters span {
    font-weight: 600;
    font-size: 14px;
}

.customer-filters-options {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
}

.customer-filters-options>div {
    width: 100%;
}

.customer-filter-status option {
    background: var(--white);
}

.customer-filters select {
    font-size: 14px;
    height: 2rem;
    padding: 0;
}

select.customer-filter-status {
    height: 80px;
}

button.navbar-toggler {
    display: none;
}


.customer-status-history-wrapper {
    padding: 5px 0;
    background: #f2f2f2;

}

.customer-status-history-wrapper h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.customer-status-history-item {
    display: flex;
    flex-direction: row;
    padding: 5px 10px;
    border-bottom: 2px solid #ccc;
}

.customer-status-history-item span {
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    text-transform: uppercase;
    color: #333;
    flex: 1;
}
.customer-status-history-item span.customer-status-status{
    font-weight: 700;
}
.customer-status-history {
    max-height: 90px;
    border: 1px solid #ccc;
    overflow-y: scroll;
}

.update-customer-status-notes>textarea {
    height: 30px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.customer-wrapper select {
    height: 30px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

button.update-customer-status-save {
    border: none;
    background: var(--orange);
    padding: 5px 15px;
    border-radius: 4px;
    color: var(--white);
}

.status-and-notes {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.status-and-notes>.select-group {
    flex-basis: 30%;
}

.update-customer-status-notes {
    flex-basis: 70%;
}

/* media queries */

@media only screen and (max-width: 650px) {
    .customer-record {
        flex-direction: column;
    }
}

.gv-tel-link {
    display: none;
}

.renewal-date-end-holder,
.renewal-date-start-holder {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    margin: 2px 0;
}

.renewal-date-end-holder span,
.renewal-date-start-holder span {
    flex-basis: 60px;
    text-align: right;
    margin-right: 5px;
}

input[type="date"] {
    line-height: 1rem;
}

.customer-list.loading {
    opacity: 0.5;
    transition: 1s;
    filter: blur(4px);
}
.report-button {
    flex-shrink: 2;
}
button.report-button-actual{
    border: none;
    background: var(--orange);
    padding: 15px 5px;
    border-radius: 4px;
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 27px;
}
.site-content button:hover{
    opacity: .7;
    cursor: pointer;
    transition: 500ms;
}

/* tarmac section*/

.form-control{
  width: 100%;
  padding: 15px 20px;
  margin: 10px 0;
  box-sizing: border-box;
}
.tml-field{
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    box-sizing: border-box;
}
.container-dashboard{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    width:500px;
}
.tarmcd-dashboard-container{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    border:1px solid rgb(164, 164, 164);
    border-radius:8px;
    padding:30px 15px;
    background: #eee;
}
.tarmcd-dashboard-container h3{
    text-align: center;
    margin:0;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 24px;
    font-weight:600;
}
.tarmcd-customer-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.input-group{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tarmcd-customer-submit{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tarmcd-customer-submit-button{
    background:green;
    display:block;
    color:#eee;
    text-transform:uppercase;
    font-size:16px;
    border: none;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
}
.tarmcd-dashboard-login-message{
    text-align: center;
}
.site-branding-text{
    display:none;
}
.tarmcd-submit-message.show.bg-danger {
    text-align: center;
    color: red;
    font-weight:600;
}
.tarmcd-submit-message.show.bg-success {
    text-align: center;
    color: green;
    font-weight:600;
}
.site-header {
    border-bottom: none !important;
    width: 350px;
    display: block;
    Margin: 0 auto;
}
footer .wp-block-group{
    display:none;
}
.tml-button{
    background:green;
    display:block;
    color:#eee;
    text-transform:uppercase;
    font-size:16px;
    border: none;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
}
.msg-details{
    padding:15px;
}
.msg-details p{
    font-size:14px;
    text-align: left;
}
p.detail{
    font-weight:600;
    text-align: center;
    text-transform: uppercase;
}
.msg-details p.positive{
    color:rgb(0, 118, 37);
    font-style: italic;
    font-weight:500;
}
.msg-details p.negative{
    color:rgb(160, 0, 0);
    font-style: italic;
    font-weight:500;
}