h4 {
    font-family: "Roboto";
    font-weight: 500;
    font-size: 14px;
/*    color: #aeaeae;*/
    color: black;
    text-transform: uppercase;
    margin: 0;
}

hr {
    margin-bottom: 16px;
    border: 1px solid #eaeaea;
}
.btn-sm-List{
    padding: 0.15rem 0.25rem;
    font-size: 0.8rem;
    line-height: 1;
    border-radius: 0.2rem;
}
.border-card {
    background: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-family: "Roboto";
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}
.border-card-List {
    background: white;
    margin-bottom: 1px;
    display: flex;
    align-items: center;
    font-family: "Roboto";
    font-size: 10px;
    padding: 3px 4px;
    border-radius: 1px;
    border: 1px solid #eaeaea;
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}
.border-card.deactive, .border-card-List.deactive {
    background-color: grey;
}
.border-card.wait, .border-card-List.wait {
    background-color: darkgoldenrod;
}
.border-card.inconsult, .border-card-List.inconsult {
    background-color: black;
}
.border-card.alerted, .border-card-List.alerted {
    background-color: darkslateblue;
}
.border-card.blocked, .border-card-List.blocked {
    background: repeating-linear-gradient(45deg, #ffffff, #ffffff 30px, #f2f3f4 30px, #f2f3f4 60px );
}
    .border-card.completed, .border-card-List.completed {
        background: repeating-linear-gradient(45deg, #ebffee, #ebffee 30px, #f2f3f4 30px, #f2f3f4 60px );
    }
    .border-card.noshow, .border-card-List.noshow {
        background: repeating-linear-gradient(45deg, #ffffff, #ffffff 30px, #fcdced 30px, #fcdced 60px);
    }
.border-card.clickable, .border-card-List.clickable {
    cursor: pointer;
}
.border-card.clickable:hover, .border-card-List.clickable:hover {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1), 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}

.border-card.over, .border-card-List.over {
   background: rgba(70, 222, 151, 0.15);
   padding-top: 24px;
   padding-bottom: 24px;
   border: 2px solid #47DE97;
   box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0), 0 5px 10px 0 rgba(0, 0, 0, 0);
}

.border-card.over .card-type-icon {
    color: #47DE97 !important;
}

.border-card.over p {
   color: #47DE97 !important;
}

.content-wrapper{
    display: flex;     
    justify-content: flex-start;
    width: 100%;
    /*white-space: nowrap;
    overflow: hidden;*/
    white-space: normal !important;
    transition: all 0.25s ease;
}

.min-gap {
    flex: 0 0 20px;
}

.card-type-icon {
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 16px;
    font-weight: 400;
    color: #323232;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    transition: all 0.25s ease;
}
.PLN_card-type-icon {
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 16px;
    font-weight: 400;
    color: #323232;
    border-radius: 50%;
    width: 60px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    transition: all 0.25s ease;
}
.PLN_card-type-icon.with-border {
/*    color: #aeaeae;*/    
    border: 1px solid #eaeaea;
    color: black !important;
}
.card-type-icon.with-border {
/*        color: #aeaeae;*/        
    border: 1px solid #eaeaea;
    color: black !important;
}

.card-type-icon i {
        line-height: 40px;
}
/*
.label-group {
    white-space: nowrap;
    overflow: hidden;
}

.label-group.fixed {
       flex-shrink: 0;
}

.label-group p {
   margin: 0px;
   line-height: 21px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}
*/
.label-group p.title {
    color: #323232;
    font-weight: 600;
    font-size:small;
}

.label-group p.title.cta {
     text-transform: uppercase;
}

.label-group span.caption {
            font-weight: 600;
            font-size:15px;
            color: #aeaeae;
}

.end-icon {
    margin-left: 16px;
}


.ticket {
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    position: relative !important;
    background-color: rebeccapurple;
    box-sizing: border-box;
    width: 300px;
    height: 450px;
    margin: 20px auto 0;
    padding: 20px;
}
.ticket:after {
    content: "";
    position: absolute !important;
    z-index: 100;
    top: 0;
    left: 0;
    border-right: #fff 20px solid;
    border-bottom: #fff 20px solid;
    -moz-border-radius: 0 0 40px 0;
    -webkit-border-radius: 0 0 40px 0;
    border-radius: 0 0 40px 0;
}
.ticket:before {
    content: "";
    position: absolute !important;
    z-index: 100;
    top: 0;
    right: 0;
    border-left: #fff 20px solid;
    border-bottom: #fff 20px solid;
    -moz-border-radius: 0 0 0 40px;
    -webkit-border-radius: 0 0 0 40px;
    border-radius: 0 0 0 40px;
}
.ticket-content:after {
    content: "";
    position: absolute !important;
    z-index: 100;
    bottom: 0;
    left: 0;
    border-right: #fff 20px solid;
    border-top: #fff 20px solid;
    -moz-border-radius: 0 40px 0 0;
    -webkit-border-radius: 0 40px 0 0;
    border-radius: 0 40px 0 0;
}

.ticket-content:before {
    content: "";
    position: absolute !important;
    z-index: 1000;
    bottom: 0;
    right: 0;
    border-left: #fff 20px solid;
    border-top: #fff 20px solid;
    -moz-border-radius: 40px 0 0 0;
    -webkit-border-radius: 40px 0 0 0;
    border-radius: 40px 0 0 0;
}
.ticket-content {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: 6px solid #D8D8D8;
    border-radius: 20px 20px 20px 20px;
    background-color: white;
    align-content: center;
}
.ticket-text {
    padding-top: 10px;
    text-align: center;
    font: bold 18px verdana, sans-serif;
}

.circleTop {
    position: absolute !important;
    z-index: 100;
    border: 5px #fff solid;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    margin-top: -5px;
    width: 0;
    height: 0;
    top: 0%;
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
}

.circleBottom {
    position: absolute !important;
    z-index: 100;
    border: 5px #fff solid;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    margin-top: -5px;
    width: 0;
    height: 0;
    top: 100%;
    -moz-box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    -webkit-box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
}
.circle20 {
    left: 20%;
}
.circle40 {
    left: 40%;
}
.circle60 {
    left: 60%;
}
.circle80 {
    left: 80%;
}
.circleWithNumber {
    margin: auto;
    position: relative;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    padding: 17px;
    background-color: rebeccapurple;
    color: white;
    text-align: center;
    font: bold 50px verdana, sans-serif;
}
.nav {
    flex-wrap: nowrap !important;
}
/* ----------- iPhone 5, 6, 6S, 7 and 8 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 250px) and (max-device-width: 750px) and (-webkit-min-device-pixel-ratio: 2) {

    .btn-sm, .btn-outline-danger, .btn-outline-success{
        max-width: 100% !important;
        float: none !important;
        display: block !important;
        padding: 3px 5px !important;
    }

    #subdept, #apn, #addr {
        min-width: 200px !important;
    }

    #apn, #addr {
        min-width: 185px !important;
    }

    .modal-title {
        word-break: break-word !important;
        font-size: 20px !important;
    }

    .btn {
        font-size: 11px;
        padding: 4px 6px;
    }

    .nav-link {
        font-size: 10px;
        padding: 4px 6px ;
    }
    .ticket {
        font-family: Arial;
        font-size: 10px;
        font-weight: bold;
        position: relative !important;
        background-color: rebeccapurple;
        box-sizing: border-box;
        width: 150px;
        height: 275px;
        margin: 10px auto 0;
        padding: 10px;
    }

        .ticket:after {
            content: "";
            position: absolute !important;
            z-index: 100;
            top: 0;
            left: 0;
            border-right: #fff 10px solid;
            border-bottom: #fff 10px solid;
            -moz-border-radius: 0 0 20px 0;
            -webkit-border-radius: 0 0 20px 0;
            border-radius: 0 0 20px 0;
        }

        .ticket:before {
            content: "";
            position: absolute !important;
            z-index: 100;
            top: 0;
            right: 0;
            border-left: #fff 10px solid;
            border-bottom: #fff 10px solid;
            -moz-border-radius: 0 0 0 20px;
            -webkit-border-radius: 0 0 0 20px;
            border-radius: 0 0 0 20px;
        }

    .ticket-content:after {
        content: "";
        position: absolute !important;
        z-index: 100;
        bottom: 0;
        left: 0;
        border-right: #fff 10px solid;
        border-top: #fff 10px solid;
        -moz-border-radius: 0 20px 0 0;
        -webkit-border-radius: 0 20px 0 0;
        border-radius: 0 20px 0 0;
    }

    .ticket-content:before {
        content: "";
        position: absolute !important;
        z-index: 1000;
        bottom: 0;
        right: 0;
        border-left: #fff 10px solid;
        border-top: #fff 10px solid;
        -moz-border-radius: 20px 0 0 0;
        -webkit-border-radius: 20px 0 0 0;
        border-radius: 20px 0 0 0;
    }

    .ticket-content {
        box-sizing: border-box;
        height: 100%;
        width: 100%;
        border: 3px solid #D8D8D8;
        border-radius: 10px 10px 10px 10px;
        background-color: white;
        align-content: center;
    }

    .ticket-text {
        padding-top: 15px;
        text-align: center;
        font: bold 10px verdana, sans-serif;
    }

    .circleTop {
        position: absolute !important;
        z-index: 100;
        border: 2px #fff solid;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        margin-top: -2px;
        width: 0;
        height: 0;
        top: 0%;
        -moz-box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
        -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
        box-shadow: 0 1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    }

    .circleBottom {
        position: absolute !important;
        z-index: 100;
        border: 2px #fff solid;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        margin-top: -2px;
        width: 0;
        height: 0;
        top: 100%;
        -moz-box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
        -webkit-box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
        box-shadow: 0 -1px 0 rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.3);
    }

    .circleWithNumber {
        margin: auto;
        position: relative;
        border-radius: 50%;
        width: 49px;
        height: 49px;
        padding: 8px;
        background-color: rebeccapurple;
        color: white;
        text-align: center;
        font: bold 24px verdana, sans-serif;
    }
}

.selected-time-button {
    margin-right: 0.75ch;
    margin-top: 0.75ch;
    width: 10ch;
}

.default-appointment-rule-list,
.holiday-rule-list {
    border-top: 1px solid rgba(0,0,0,.125);
    border-left: 1px solid rgba(0,0,0,.125);
    border-right: 1px solid rgba(0,0,0,.125);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.holiday-rule-list {
    max-width: 80ch;
}

.default-appointment-rule-list .row,
.holiday-rule-list .row {
    border-bottom: 1px solid rgba(0,0,0,.125);
    margin-left: 0;
    margin-right: 0;
}

.holiday-rule-form {
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
}

.default-appointment-rule-list-no-entries,
.default-appointment-rule-list-spinner,
.holiday-rule-list-spinner,
.holiday-rule-list-no-entries {
    align-content: center;
    text-align: center;
    color: rgba(0,0,0,0.5);
    height: 10rem;
}

.holiday-rule-file-input-modal-expired-entry {
    text-decoration: line-through;
    color: rgba(0,0,0,0.5);
}

.create-default-appointment-rule-selected-times-no-entries-container {
    align-content: center;
    text-align: center;
    color: rgba(0,0,0,0.5);
    min-height: 1.25rem;
}

.default-appointment-rule-delete-btn {
    float: right;
    color: red;
    border: 1px solid !important;
}

.PGrid {
    margin: 2%;
    border-collapse: collapse;
    width: 95%;
}

.Header {
    font-weight: bold;
    text-decoration: none;
}

.PGrid th, .PGrid td {
    border: 1px solid #999999;
    padding: 5px;
}

.altRow {
    background-color: #dddddd;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    text-decoration: none !important;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn:hover, .btn:focus, .btn.focus {
    color: #333;
    text-decoration: none !important;
}
    
.ui-timepicker-disabled {
    display: none;
}

.sms-textarea {
    width: 100%;
    height: 12rem;
}

.character-count-message {
    user-select: none;
    color: rgba(0, 0, 0, 0.25);
}
.character-count-full {
/*    color: rgba(255, 0, 0, 0.25) !important;*/
    color: red !important;
}
.toast-top-center {
    top: 12px;
    margin: 0 auto;
}


/* Note box */
.box-info {
    background-color: #eee;
    padding: .75rem 1rem;
    color: #0d6efd;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Additional info required */
.required-textarea {
    color: red;
    width: 32px;
    padding: 0.4rem 0.7rem 0.1rem;
    display: inline;
    line-height: 1;
    margin-left: 0.5rem;
}


@media print {
    .pe-no-print {
        display: none !important;
    }

    .pe-preserve-ancestor {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

.modal-header {
    background-color: white !important;
}

.modal-body{
    border-radius: 0rem !important;
}

.subpage-banner{
    height: 150px !important;
    padding-top: 100px !important;
}

#CheckAddress {
    height: 45px !important;
    width: 190px !important;
    font-size: 15px;
}

#CheckParcelNumber {
    height: 45px !important;
    width: 190px !important;
    font-size: 15px;
}

.subnav-link:hover{
    text-decoration: underline !important;
}

.btn-default, .btn-sm{
    border: 1px solid !important;
}

.mainbody ul, .mainbody ol {
    padding-left: 0rem !important;
}

.btn-group{
    flex-wrap: wrap !important;
    display: inline-flex !important;
}

select{
    min-width: 50% !important;
}

input[type=text]{
    min-width: 40% !important;
}