/* Datepicker border styling */
.datepicker {
    background-color: #edeef1;
    border: 0px solid #CCCCCC;
    border-radius: 4px;
    padding: 8px 30px 10px;
}
.datepickerContainer {
    margin-left: -12px;
}

.cal-prevnext {
font-size: 18px;
    position: relative;
    top: 1px;
}

.datepickerGoNext span,.datepickerGoPrev span {
    font-size: 10px;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    margin-left: -10px;
}

.datepickerGoNext span:hover,.datepickerGoPrev span:hover {
    opacity: 0.7;
}
.datepickerGoPrev span:before {
  top: 50%;
    font-family: "Font Awesome 5 Pro";
    content: "\f0d9";
    font-weight: 600;
    position: absolute;
    color: #fff;
    font-size: 16px;
    right: 8px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-top: -10px;
}
.datepickerGoNext span:before {
  top: 50%;
    font-family: "Font Awesome 5 Pro";
    content: "\f0da";
    font-weight: 600;
    position: absolute;
    color: #fff;
    font-size: 16px;
    right: 6px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-top: -10px;
}


/* Tighten up the spacing between multiple calendars */
.datepickerSpace div {
    width: 2px;
}

/* Grey background behind Month Name row, and blue text */
div.datepicker th {
    background-color: #DDDDDD;
}

    div.datepicker th a.datepickerMonth {
        color: #008ED6;
        font-weight: normal;
        font-size: 1em;
        color: #FFFFFF;
    }

/* style the day of week header cells */
div.datepicker th {
    color: #f00;
    font-weight: bold;
    /* cursor: pointer; */
}
/* grey underline beneath day of week row */
div.datepicker table thead tr.datepickerDoW th {
    border-bottom: 1px solid #CCCCCC;
}

/* Black text, white background, and grey borders around day cells */
div.datepicker a,
div.datepicker a:hover {
    color: #787878;
}

div.datepicker table.datepickerViewDays,
div.datepicker table.datepickerViewMonths,
div.datepicker table.datepickerViewYears {
    background-color: white;
}
table.datepickerViewDays {
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
}

div.datepicker table tbody.datepickerDays td {
    border: 1px solid #F7F7F7;
    border: 1px solid rgba(0,0,0,0.06);
}

/* blue cell color for selected days */
tbody.datepickerDays td.datepickerSelected {
    background-color: #0077CC;
}

/* Grey out dates in the future */
div.datepicker td.datepickerFuture a {
    color: #DDDDDD;
}

/* yellow cell background on hover */
div.datepicker tbody.datepickerDays td:hover {
    background-color: #ddd;
}

/* Bold today's date */
div.datepicker td.datepickerToday a {
    font-weight: bold;
    box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.3);
}

/* cells are wider in the clean style */
.datepickerYears a, .datepickerMonths a {
    width: 42px;
}

.datepickerMonths td:first-child a,
.datepickerYears td:first-child a {
    width: 39px;
}

div.datepicker th a.datepickerMonth {
    width: 121px;
}

div.datepicker {
    position: relative;
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-size: 12px;
    width: 196px;
    height: 147px;
    position: absolute;
    cursor: default;
    top: 0;
    left: 0;
    display: none;
    z-index: 999;
    margin: 10px 0px 0px 244px;
    border: 1px solid #fff;
    box-shadow: 1px 1px 16px 1px rgba(0,0,0,0.4);
}

.datepickerContainer {
    position: absolute;
}

/* Hide border divs by default */
.datepickerBorderT,
.datepickerBorderB,
.datepickerBorderL,
.datepickerBorderR,
.datepickerBorderTL,
.datepickerBorderTR,
.datepickerBorderBL,
.datepickerBorderBR {
    display: none;
}

.datepickerHidden {
    display: none;
}

div.datepicker table {
    border-collapse: collapse;
}

div.datepicker a {
    color: #787878;
    text-decoration: none;
    cursor: default;
    outline: none;
}

div.datepicker table td {
    text-align: center;
    padding: 1px 1px !important;
    margin: 0;
}

div.datepicker th {
    text-align: center;
    color: #666666;
    font-weight: normal;
    /* padding: 5px 5px; */
    color: #2f323a;
    font-size: .91em;
    padding: 3px;
    background: white;
    /* border-bottom: 1px solid #eee!Important; */
}

div.datepicker thead tr:first-child th.hmtitle {
    background-color: #2f323a;
    height: 26px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 1em;
    padding: 3px;
}

div.datepicker tbody a {
    display: block;
    cursor: pointer;
}

.datepickerDays a {
    width: 20px;
    line-height: 16px;
    height: 16px;
    padding-right: 2px;
}

.datepickerYears a,
.datepickerMonths a {
    width: 39px;
    line-height: 36px;
    height: 36px;
    text-align: center;
}

.datepickerMonths td:first-child a,
.datepickerMonths td:last-child a,
.datepickerYears td:first-child a,
.datepickerYears td:last-child a {
    width: 38px;
}

td.datepickerNotInMonth a {
    color: #666666;
}

tbody.datepickerDays td.datepickerSelected {
    background: #00ABB7;
}

tbody.datepickerDays td.datepickerNotInMonth.datepickerSelected {
    background: #2f323a;
}

tbody.datepickerYears td.datepickerSelected,
tbody.datepickerMonths td.datepickerSelected {
    background: #17384d;
}

div.datepicker td.datepickerSelected a {
    color: white;
}

div.datepicker a:hover,
div.datepicker a:hover {
    color: #586167;
}

div.datepicker td.datepickerNotInMonth a:hover {
    color: #999999;
}

.datepickerSpace div {
    width: 10px;
}

.datepickerBlock {
    vertical-align: top;
}

a.datepickerGoNext,
a.datepickerGoPrev,
a.datepickerMonth {
    text-align: center;
    height: 20px;
    line-height: 20px;
    float: left;
}

div.datepicker th a.datepickerGoNext,
div.datepicker th a.datepickerGoPrev {
    width: 19px;
    color: #666666;
    display: none;
    color: #FFFFFF;
}

div.datepicker th a.datepickerMonth {
    width: 113px;
    display: block;
}
/* Only display the previous/next arrows on the first/last calendars */
div.datepicker .datepickerFirstView th a.datepickerGoPrev,
div.datepicker .datepickerLastView th a.datepickerGoNext {
    display: block;
}

div.datepicker .datepickerLastView th a.datepickerGoNext {
    float: right;
}

/* Compensate for the space lost by not having a previous arrow */
div.datepicker th a.datepickerMonth {
    margin-left: 20px;
}

div.datepicker .datepickerFirstView th a.datepickerMonth {
    margin-left: 0;
    /* margin-right: 20px; */
}
/* Day mode calendar body */
table.datepickerViewDays tbody.datepickerMonths,
table.datepickerViewDays tbody.datepickerYears {
    display: none;
}
/* Month mode calendar body */
table.datepickerViewMonths tbody.datepickerDays,
table.datepickerViewMonths tbody.datepickerYears,
table.datepickerViewMonths tr.datepickerDoW {
    display: none;
}
/* Year mode calendar body */
table.datepickerViewYears tbody.datepickerDays,
table.datepickerViewYears tbody.datepickerMonths,
table.datepickerViewYears tr.datepickerDoW {
    display: none;
}

td.datepickerDisabled a,
td.datepickerDisabled.datepickerNotInMonth a {
    color: #555555;
}

    td.datepickerDisabled a:hover {
        color: #333333;
    }
/* Not used by default, calendar cells can be marked as special if desired (doesn't seem to be totally working) */
div.datepicker tbody.datepickerDays td.datepickerSpecial a {
    background: #770000;
    color: white;
}

div.datepicker tbody.datepickerDays td.datepickerSpecial.datepickerSelected a {
    background: #aa0000;
}

/* style the 'not in month' day cell away */
tbody.datepickerDays td.datepickerNotInMonth.datepickerSelected {
    background-color: transparent;
}

div.datepicker td.datepickerNotInMonth a span {
    display: none;
}

div.datepicker td.datepickerNotInMonth a:hover span {
    display: none;
}

div.datepicker tbody.datepickerDays td.datepickerNotInMonth:hover {
    background-color: transparent;
}



.compare {
    width: 220px;
    padding: 0px 0px 0px 20px;
    margin: -4px 10px 0 0;
    font-size: 11px;
    border-radius: 0px;
    text-align: left;
}

    .compare .form-group {
        margin-bottom: 5px;
    }

    .compare .control-label {
        font-size: 11px;
    }

    .compare input[type="text"], .compare select {
        padding: 5px 5px;
        font-size: 12px;
        text-align: left;
        line-height: normal;
        height: auto;
        height: 26px !important;
        min-height: inherit;
        border-top: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-radius: 3px;
    color: #565a65;
        /* background: #fff; */
        -webkit-box-shadow: inset 0 1px 0 #d6d6d6;
        -moz-box-shadow: inset 0 1px 0 #d6d6d6;
        box-shadow: inset 0 1px 0 #d6d6d6;
        -webkit-appearance:none;
        -moz-appearance: none; 
        appearance: none;
    }

    .compare div[data-id=firstinputgroup] input[type="text"].focus, .compare div[data-id=firstinputgroup] select.focus {
        border: #00ABB7 solid 2px;
        -webkit-box-shadow: 0px 0px 3px #8c8c8c;
        -moz-box-shadow: 0px 0px 3px #8c8c8c;
        box-shadow: 0px 0px 3px #8c8c8c;
    }

    .compare div[data-id=secondinputgroup] input[type="text"].focus, .compare div[data-id=secondinputgroup] select.focus {
        border: #8c97ad solid 2px;
        -webkit-box-shadow: 0px 0px 3px #8c8c8c;
        -moz-box-shadow: 0px 0px 3px #8c8c8c;
        box-shadow: 0px 0px 3px #8c8c8c;
    }

    .compare input[type="text"].disabled, .compare select.disabled {
        /* background: red; */
        color: #d0d0d0;
        border-top: 1px solid #ececec;
        border-left: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
        border-right: 1px solid #ececec;
    }

    .compare select:disabled { opacity: 0.4;}

.selectwrap {
    position: relative;
    display: inline-block;
    width: 100%;
}



.selectwrap:after {
  top: 50%;
  font-family: "Font Awesome 5 Pro";
    content: "\f078";
    font-weight: 600;
    position: absolute;
    color: #222;
    font-size: 10px;
    right: 14px;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin-top: -8px;
  pointer-events: none;
}    


[data-id^="datedistance"],[data-id^="selectcompare"]{
  display: inline-block;
  width: 96%;
}


[data-id^="firstinputgroup"] .col-xs-6,[data-id^="secondinputgroup"] .col-xs-6{
  display: inline-block;
  width: 48%;
  vertical-align: top;
}

[data-id^="date1s"],[data-id^="date1e"],[data-id^="date2s"],[data-id^="date2e"] {
  display: inline-block;
  width: 98%;
}
[data-id^="date1e"],[data-id^="date2e"] {
float: right;
}

[data-id^="chkcompare"] {
position: absolute;
}
.compare .checkbox {
    margin-bottom: 5px;
}


   /* .compare .btn {
        line-height: normal;
        font-size: 12px;
        padding: 4px 8px;
    }*/

    .compare .btn {
    background-color: #00ABB7;
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 0px;
    border: 0px;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
    -moz-appearance: none;
    appearance: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: inline-block;
    font-weight: 400;
    border-radius: 3px;
    -webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    -ms-transition: all .6s ease;
    -o-transition: all .6s ease;
    transition: all .6s ease;
    text-align: center;
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
     -khtml-user-select: none; 
       -moz-user-select: none; 
        -ms-user-select: none; 
            user-select: none;
}
.btn.pull-right { margin-right: 8px;background-color: #c1c9d0; }
.compare .btn-primary {margin-right: 9px;margin-top: 1px;}

.compare .btn:hover {
    background-color: #424242 !important;
    color: #fff !important;
}

    .compare .form-horizontal .control-label {
        padding-top: 3px;
        margin-bottom: 0;
        text-align: left;
    }

    .compare .checkbox label, .radio label {
        min-height: 10px;
        padding-left: 20px;
        margin-bottom: 0;
        font-weight: 400;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        margin-right: 0;
        line-height: 1.42857143;
        color: #333;
    }

    .compare hr {
        margin-top: 5px;
        margin-bottom: 10px;
        display: none;
    }


tbody.datepickerDays td.datepickerSelected2:not(.datepickerNotInMonth) {
    background: #8c97ad;
}

tbody.datepickerDays td.datepickerSelected.datepickerSelected2:not(.datepickerNotInMonth) {
    background: #00ABB7;
    /* color: red; */
}

table.datepickerViewDays {
    margin-top: 14px;
}

div.datepicker td.datepickerSelected2 a {
    color: white;
}

div.datepicker .compare .checkbox {
}

    div.datepicker .compare .checkbox label:before {
        background-color: Transparent !Important;
        border: none;
        display: none !important;
    }

    div.datepicker .compare .checkbox input[type=checkbox] {
        display: block;
        margin-top: 2px;
        margin-left: -18px;
    }

.daterangecomparepicker {
    border: 1px solid #ccc;
    font-size: 14px;
    max-width: 400px;
    text-align: left;
    padding-left: 35px;
    font-weight: 600;
    background: url(/content/assets/plugins/date-range-comparison-picker/calendar24px.png) no-repeat 5px center;
    background-size: 16px;
    cursor: pointer;
}

.white-date .daterangecomparepicker {
    color: #607D8B;
    background-color: none;
}

.white-date.single-mode {
    background: url(/content/assets/plugins/date-range-comparison-picker/calendar24px.png) no-repeat 15px center !Important;
    background-size: 16px !Important;
    cursor: pointer;
    padding-left: 35px !Important;
    border-radius: 2px;
    border: 1px solid #e5e9ec;
    vertical-align: top;
    min-height: 37px;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

    .white-date.single-mode .drp-wrap {
        border: none;
    }

.gray-date .daterangecomparepicker {
    color: #fff;
    background: url(/content/assets/plugins/date-range-comparison-picker/calendar16px-white.png) no-repeat 5px center;
    background-color: #607D8B;
    /*min-width: 400px;*/
}

.drp-wrap {
    position: relative;
    display: block;
    width: 100%; /* height: 34px; */
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #fff;
    background-color: #fff;
    background-image: none;
    border-bottom: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: none !Important;
    box-shadow: none !Important;
    width: auto;
    /*width: fit-content;*/
    background-color: #2d3138;
    color: #fff;
    border-bottom: 0px;
    padding-right: 45px;
}

    .drp-wrap > input {
        border: none;
        color: #fff;
        font-size: 1.13em;
        letter-spacing: 0.03em;
        width: 100%;
        outline: none;
        cursor: pointer;
        border: none;
        width: 100%;
        outline: none;
        cursor: pointer;
        box-shadow: none !Important;
        padding: 0 !Important;
        background: none !Important;
        line-height: normal !Important;
        height: auto !Important;
        max-width: unset;
        margin-bottom: 0;
        min-width: 214px;
    }

.controls .drp-wrap > input {
    min-height: 27px;
}


.drp-wrap .compare-label {
    bottom: 0px;
    font-size: 75%;
    color: rgba(129, 140, 165, 1);
    cursor: pointer;
}

    .drp-wrap .compare-label > span {
        /* bottom: 0px; */
        /* font-size: 80%; */
        color: rgb(129 140 165);
        margin-left: 5px;
        cursor: pointer;
    }

@media screen and (max-width: 600px) {
/*div.datepicker {margin: 10px 0px 0px -496px;}
*/

.datepicker {max-width: 250px !important;margin: 10px 0px !important;}
.datepickerBlock .cal-picker-wrap, .datepickerSpace, td.datepickerBlock.cal-picker-wrap {
    display: none !important;
}
.compare {padding: 0px 0px 0px 0px;}

}
