﻿
/* label required field flags */
.l-req-b:before {
    content: "* ";
    color: #FB4D42;
}

.l-req-a:after {
    content: " *";
    color: #FB4D42;
}
/* end required flag*/

/* add button arrows */
.btn--na:after {
    content: " \2192";
    display: inline-block; /* used to keep the arrow on same line */
}

.btn--pa:before {
    content: "\2190 ";
}

/* create a smaller version of the check-box */
.cb-f--sm {
    height: 23px;
    width: 23px;
}

    .cb-f--sm:before {
        height: 23px;
        width: 23px;
    }

    .cb-f--sm:checked:before {
        background: #fff url(../images/cob/check.svg) no-repeat 50%;
    }

.cb-l--sm {
    font-size: initial;
}
/* end checbox */

/* create a smaller version of the radio input */
.ra--sm:not(:last-child) {
    margin-bottom: 4px;
    margin-bottom: .2rem;
}

@media all and (max-width:768px) {
    .ra--sm:not(:last-child) {
        margin-bottom: 8px;
        margin-bottom: .5rem;
    }
}

@media all and (max-width:768px) {
    .ra-f--sm {
        height: 20px;
        width: 20px;
    }
}

.ra-f--sm:before {
    height: 25px;
    width: 25px;
    border: 2px solid #091f2f;
}

@media all and (max-width:768px) {
    .ra-f--sm:before {
        height: 20px;
        width: 20px;
    }
}

.ra-f--sm:checked:before {
    background: #1871bd;
    box-shadow: inset 0 0 0 4px #fff;
}

.ra-l--sm {
    font-size: initial;
    margin-left: 4px;
    font-size: calc(12px + 4 * ((100vw - 480px) / 960));
    padding-bottom: 5px;
}

@media all and (max-width:768px) {
    .ra-l--sm {
        padding-bottom: initial;
    }
}
/* end radio */

/* override the smaller textbox and select borders */
.txt-f--sm {
    border-width: 2px;
}

.sel-f--thin {
    border: 2px solid #091f2f;
}

.sel-c--thin:after {
    border-left: 2px solid #091f2f;
    top: 2px;
    bottom: 2px;
    right: 2px;
}
/* end smaller select and text boxes */

/* fix the select box height */
.sel-c:not(.sel-c--thin) {
    height: calc(3.20rem + 3px * 2);
    display: flex; /* using flex to center the text */
}

.sel-f {
    line-height: normal; /* let flex center the text */
    height: 100%;
    padding: 0 1rem;
    padding: 0 16px;
}
/* end select box fix */

/* classes called in the calendar control .cs lets override them */
.availableDateStyle {
    color: #091F2F;
    font-weight: 600;
}

.unavailableDateStyle {
    color: #D2D2D2;
}
/* end calendar updates */

/* format the upload file button */
.uploadfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
