﻿

.dsLargeTitle {
    font-size: 22px;
    margin: 20px 0 20px 0;
    text-align: center;
    font-family: Avalon;
}

.dsInputWrapper {
    border-bottom: 1px solid #dddddd;
    display: block;
    overflow: auto;
    font-size: 22.5px;
    padding: 0px 3px;
    margin-top: 1px;
    margin-bottom: 2px;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    clear: left;
}

.dsInputReadOnly {
    background-color: #eeeeee;
}

.dsInputWrapper.LeftHalf {
    float: left;
    width: calc(50% - 10px);
    clear: none;
}

.dsInputWrapper.RightHalf {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(50% - 16px);
    clear: none;
}

.dsInputWrapper.LeftShort {
    float: left;
    width: calc(40% - 10px);
    clear: none;
}

.dsInputWrapper.RightLong {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(60% - 16px);
    clear: none;
}

.dsInputWrapper.LeftPRCNT10 {
    float: left;
    width: calc(10% - 10px);
    clear: none;
}

.dsInputWrapper.LeftPRCNT20 {
    float: left;
    width: calc(20% - 10px);
    clear: none;
}

.dsInputWrapper.LeftPRCNT30 {
    float: left;
    width: calc(30% - 10px);
    clear: none;
}

.dsInputWrapper.LeftPRCNT50 {
    float: left;
    width: calc(50% - 10px);
    clear: none;
}

.dsInputWrapper.RightPRCNT10 {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(10% - 16px);
    clear: none;
}

.dsInputWrapper.RightPRCNT20 {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(20% - 16px);
    clear: none;
}

.dsInputWrapper.RightPRCNT30 {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(30% - 16px);
    clear: none;
}

.dsInputWrapper.RightPRCNT50 {
    border-left: 1px solid #333;
    padding-left: 6px;
    float: left;
    width: calc(50% - 16px);
    clear: none;
}

.dsInputWrapper.Clear {
    clear: right;
}

.dsInputWrapper.ClearLeft {
    clear: left;
}


input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 500px white inset;
}

    input:-webkit-autofill::first-line {
        font-size: 16px
    }



input[type=checkbox] {
    /* Double-sized Checkboxes */
    display: block;
    clear: both;
    -ms-transform: scale(.9); /* IE */
    -moz-transform: scale(.9); /* FF */
    -webkit-transform: scale(.9); /* Safari and Chrome */
    -o-transform: scale(.9); /* Opera */
    margin-left: 0px;
    margin-right: 4px;
    margin-top: 4px;
    padding: 2px;
    width: 16px;
    height: 16px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    vertical-align: text-bottom;
}

    input[type=checkbox]:checked {
        background: content-box;
        background-color: #666666;
    }

input[type=radio] {
    /* Double-sized Checkboxes */
    display: block;
    float: left;
    -ms-transform: scale(.9); /* IE */
    -moz-transform: scale(.9); /* FF */
    -webkit-transform: scale(.9); /* Safari and Chrome */
    -o-transform: scale(.9); /* Opera */
    margin-top: 2px;
    margin-left: 0px;
    margin-right: 4px;
    padding: 2px;
    width: 18px;
    height: 18px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

    input[type=radio]:checked {
        background: content-box;
        background-color: #666666;
    }

input[type="date" i] {
    height: 24px;
}

input [disabled] {
    /*background-color: #E0E0E0;*/
}

select[disabled] {
    /*background-color: #E0E0E0;*/
}



.dsInputLabel {
    display: block;
    font-family: Avalon;
    font-size: 11px;
    font-weight: 400;
    color: #717171;
    padding: 1px;
    text-transform: uppercase;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.dsInput {
    display: block;
    font-family: Avalon;
    font-size: 15px;
    font-weight: 500;
    color: black;
    background: none;
    border: none;
    padding: 3px 0 3px 0px;
    width: Calc(100% - 2px);
}

.dsInputText {
    height: 24px;
}

.dsInputDropdown {
    height: 30px;
}

.dsInputCheckbox {
    height: 24px;
}

.dsinputshortdropdown {
    width: 153px;
    margin-left: 2px;
}

.dsinputlongdropdown {
    width: 408px;
    margin-left: 2px;
}

.dsInputMultiline {
    border: none;
    width: Calc(100% - 8px);
    height: 100px;
    vertical-align: top;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-family: Avalon;
    resize: vertical;
}

.dsinputmultiselect {
    border: 1px solid darkgrey;
    width: Calc(100% - 8px);
    height: 134px;
    vertical-align: top;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12pt;
    font-family: Avalon;
    resize: vertical;
    overflow-y: auto;
}

.dsInputRadioListbox {
    margin-bottom: 6px;
    font-size: 10pt;
}



.dsInputListboxWrapper {
    display: block;
    float: left;
    overflow-y: scroll;
    height: 200px;
    width: 55%;
}

.dsInputListbox {
    font-size: 15px;
    line-height: 22px;
}

    .dsInputListbox input[type=checkbox] {
        display: inline-block;
    }

.dsInputListSelectedLabel {
    display: block;
    float: right;
    width: 45%;
    color: black;
    background-color: lightgrey;
    text-align: center;
    font-size: 12px;
    height: 15px;
}

.dsInputListSelected {
    overflow-y: auto;
    font-size: 15px;
    display: block;
    float: right;
    height: 181px;
    width: Calc(45% - 4px);
    padding: 2px;
    list-style-type: none;
    background-color: #F8F8F8;
    line-height: 24px;
}


.dsInputImageFileWrapper {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    clear: both;
    cursor: pointer;
    display: block;
    font-size: 11px;
    text-align: center;
    text-decoration: none;
    top: 0px;
    padding: 6px 12px;
    position: relative;
    width: 100px;
    margin-top: 5px;
}

    .dsInputImageFileWrapper [type=file] {
        cursor: pointer;
        display: block;
        filter: alpha(opacity=0);
        opacity: 0;
        height: 20px;
        position: absolute;
        right: 0;
        top: 0;
    }

.dsInputPreviewLargeImage {
    display: block;
    object-fit: contain;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
    border: none;
    max-width: 300px;
    max-height: 300px;
}

.dsInputPreviewSmallImage {
    display: block;
    object-fit: contain;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
    border: none;
    max-width: 100px;
    max-height: 100px;
}

.dsInputPreviewBanner {
    display: block;
    object-fit: contain;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
    border: none;
    max-width: 300px;
    max-height: 200px;
}

.dsInputPreviewHeader {
    display: block;
    object-fit: contain;
    overflow: hidden;
    margin-top: 8px;
    margin-bottom: 8px;
    border: none;
    max-width: 150px;
    max-height: 50px;
}

.dsInputPanel {
    display: block;
    margin: 10px 0 10px 4px;
}

.dsButton {
    position: relative;
    vertical-align: top;
    color: white;
    float: right;
    min-width: 100px;
    height: 34px;
    padding: 0 10px 0 10px;
    font-size: 16px;
    font-family: Avalon;
    text-align: center;
    background-color: #003366;
    border: 0;
    border: 1px solid #003366;
    cursor: pointer;
    margin-left: 10px;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    border-radius: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .dsButton:active {
        border: 1px solid #333;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }


.dsHeaderButton {
    position: relative;
    vertical-align: top;
    float: right;
    height: 30px;
    padding: 0;
    font-size: 18px;
    color: white !important;
    text-align: center;
    background: none;
    border: 0;
    cursor: pointer;
    margin: 4px 10px 0px 10px;
}

    .dsHeaderButton:active {
        top: 1px;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.dsinputsearchbutton {
    width: 75px;
    height: 26px;
    font-size: 11px;
    color: white;
    background: #24569C;
    border: 0;
    cursor: pointer;
    margin-top: 2px;
}

.dsInputFrame .dsInputGroup {
    color: #111111;
    background-color: #BCC6D8;
    font-size: 13px;
    font-weight: 500;
    padding: 6px;
    margin: 8px 0 14px 0;
    text-align: center;
    text-transform: uppercase;
    clear: both;
}

    .dsInputFrame .dsInputGroup ~ .dsInputGroup {
        margin: 20px 0 14px 0;
    }


.dsInputFrame .dsInputGroupFrame {
    max-width: 800px;
}

.dsButtonPanel {
    width: 100%;
    display: block;
    float: left;
    margin: 20px 0 8px 0px;
    box-sizing: border-box;
}

.dsValidation {
    display: block;
    float: left;
    color: red;
    font-size: 14px;
    margin-bottom: 18px;
    clear: both;
    width: 100%;
}

.dsmenubar {
    display: block;
    border: none;
    height: 47px;
    width: calc(100% - 20px);
    margin: 0px;
    padding: 0px;
    color: #666666;
    font-size: 16px;
    list-style: none;
}

    .dsmenubar li {
        float: left;
        display: block;
        text-align: center;
        position: relative;
        height: 19px;
        padding: 6px 0px 0px 0px;
        margin: 0px;
        min-width: 26px;
        border: none;
    }

        .dsmenubar li a {
            display: block;
            margin-top: 4px;
            color: #24569C;
            font-weight: bold;
            text-decoration: none;
        }

        .dsmenubar li h2 {
            margin: 0px 0px 0px 0px;
        }

    .dsmenubar .header-right {
        float: right;
        margin-left: 0px;
        margin-right: 0px;
    }

    .dsmenubar .header-left {
        float: left;
        margin-left: 0px;
        margin-right: 0px;
    }

.dsInputTreeDropdownText {
    -webkit-appearance: none;
    display: inline-block;
    float: left;
    border: 1px solid darkgrey;
    height: 26px;
    width: 196px;
    padding-left: 4px;
}

.dsInputTreeDropdownButton {
    display: inline-block;
    float: left;
    position: relative;
    vertical-align: central;
    width: 26px;
    height: 20px;
    padding: 6px 0 0 0;
    font-size: 13px;
    color: #AAAAAA;
    text-align: center;
    background-color: white;
    border-width: 1px 1px 1px 0;
    border-color: darkgrey;
    border-style: solid;
    cursor: pointer;
}

    .dsInputTreeDropdownButton:link,
    .dsInputTreeDropdownButton:visited {
        color: #666666;
    }

.dsInputTreeDropdownDialog {
    display: none;
    overflow-y: auto;
    background-color: white;
    font-size: 13px;
    border: 1px solid #666666;
}

.dsInputTreeSelectorPanel {
    display: inline-block;
    float: left;
    width: Calc(50% - 2px);
    margin-top: 8px;
}

.dsInputTreeSelectorHeader {
    display: block;
    color: white;
    background-color: #AAAAAA;
    font-size: 9pt;
    font-weight: bold;
    width: Calc(100% - 3px);
    padding: 1px 0 0 4px;
    text-transform: uppercase;
}

.dsInputTreeSelector,
.dsInputTreeSelected {
    display: inline-block;
    overflow: auto;
    float: left;
    border: 1px solid #AAAAAA;
    height: 350px;
    padding: 8px 0px 8px 0px;
    width: 100%;
}


.dsInputTreeSelected {
    border-left-style: none;
}



@media (max-width: 600px) {
    .dsHeaderButton {
        margin: 4px 8px 0px 8px;
    }
}


/********************************************************************************************************/
/*  SLIDER CHECKBOX                                                                                     */
/********************************************************************************************************/

.dsInputSlider input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.dsInputSlider label {
    --size: 50px;
    cursor: pointer;
    width: var(--size);
    height: calc(var(--size) / 2);
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

    .dsInputSlider label:after {
        content: '';
        position: absolute;
        top: 6%;
        left: 2.5%;
        width: calc(50% - 5%);
        height: calc(100% - 11%);
        background: #fff;
        border-radius: 90px;
        transition: 0.3s;
    }

.dsInputSlider input:checked + label {
    background: #bada55;
}

    .dsInputSlider input:checked + label:after {
        left: calc(100% - 2.5%);
        transform: translateX(-100%);
    }

.dsInputSlider label:active:after {
    width: 55%;
}



/********************************************************************************************************/
/*  GENERIC INPUT SLIDER FORMAT                                                                         */
/********************************************************************************************************/
input[type='range'] {
    -webkit-appearance: none;
    width: 150px;
    border: none;
}

    input[type='range']::-webkit-slider-runnable-track {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 5px;
        box-shadow: inset 1px 1px 1px rgba(000,000,000,0.10);
        background-color: #eee;
        height: 5px;
        vertical-align: middle;
        outline: none;
        border: none;
        cursor: pointer;
    }

    input[type='range']::-webkit-slider-thumb {
        -webkit-appearance: none;
        border-radius: 100%;
        background-color: #037cd5;
        box-shadow: inset 0 0 0 4px #CCC, inset 0 0 4px #CCC, inset 0 0 0 4px #CCC;
        height: 18px;
        width: 18px;
        vertical-align: middle;
        border: none;
        cursor: pointer;
        margin-top: -8px;
    }

        input[type='range']::-webkit-slider-thumb:hover {
            background: #fdd921;
        }

    input[type='range']:active::-webkit-slider-thumb {
        background: #fdd921;
    }

    input[type='range']::-moz-range-track {
        -moz-appearance: none;
        border-radius: 5px;
        box-shadow: inset 1px 1px 1px rgba(000,000,000,0.10);
        background-color: #CCC;
        height: 8px;
        vertical-align: middle;
        margin: 0;
        padding: 0;
        border: none;
        cursor: pointer;
    }

    input[type='range']::-moz-range-thumb {
        -moz-appearance: none;
        border-radius: 100%;
        background-color: #037cd5;
        box-shadow: inset 0 0 0 4px #CCC, inset 0 0 4px #CCC, inset 0 0 0 4px #CCC;
        height: 22px;
        width: 22px;
        vertical-align: middle;
        border: none;
        cursor: pointer;
        margin-top: -6px;
    }

        input[type='range']::-moz-range-thumb:hover {
            background: #fdd921;
        }

    input[type='range']:active::-moz-range-thumb {
        background: #fdd921;
    }

input[type=range]::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 39px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: #CCC;
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: #CCC;
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: inset 0 0 0 4px #CCC, inset 0 0 4px #CCC, inset 0 0 0 4px #CCC;
    border: 0px solid #000000;
    height: 22px;
    width: 22px;
    border-radius: 100%;
    background: #037cd5;
    cursor: pointer;
    margin-top: -4px;
}



/********************************************************************************************************/
/*  GENERIC INPUT                                                                       */
/********************************************************************************************************/

input {
    -webkit-appearance: none;
    border-radius: 0;
    border: 1px solid darkgrey;
    border-image: none;
}
