/* Styles from jquitelight.css */
.highlight { background-color: yellow }
.AddLeftMargin {margin-left:10px !important;}

/* Fix for Kendo UI Drop Down List being offset by Google Translate bug */
body.has-goggle-translate { position: relative; }

.data .dimmed { font-size: .8em; }

.data .value
{
	font-family: 'bitterbold', Georgia, serif;
	display: inline-block;
}

.data .label
{
	color: #666;
	font-size: .9em;
	text-align: left;
	line-height: 1em;
	display: inline-block;
}

#counties-collapsed span {
    margin-bottom:0;
    float:left;
    white-space:nowrap;
}

#counties-collapsed span:last-child { clear: right; }

/* New styles for State Template project */
/* Custom title style */
.h3.col-title {
    color: #000;
    margin: 5px 0;
    padding-top: 0;
    padding-bottom: 5px;
}

/* Use to remove transitions for any object */
.no-transition { transition: none !important; }

/* Progress Bars */
/* Fixed bar color for Jira ticket https://cadmhc.atlassian.net/browse/PWWAA-463 */
.data-bar-horizontal .progress-bar { background-color: #1358AA !important; }
.data-bar-horizontal .progress-bar .min-value {
    color: #000;
    padding-left: 1em;
    position: absolute;
    right: 0;
    transform: translate(100%);
}

/* Styling for inputs of search-bar class that are within an input-group container */
.input-group > .search-bar {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

/* Styles for Counties Served lists */
.counties-collapse li { padding: 0 1px; }
.counties-collapse li:not(:last-child)::after { content: ','; }

/* Styles for Kendo UI elements */
/* Move Kendo UI Drop Down List up so it's closer to the container. */
.k-animation-container { margin-top: -2px; }
/* Fix for Kendo UI Drop Down List appearing 40 pixels down when the page has been translated by Google Translate */
body > .skiptranslate:first-child:not([style*="display: none"]) ~ .k-animation-container { margin-top: -40px; }
/* Fix Kendo UI Drop Down container when they are combined with form-control */
.input-group .form-control.k-widget.k-dropdown {
    display: block;
    flex: 1;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .pull-mobile-none { float: none !important; }
}

@media (max-width: 768px) {
    .data-pie-row h3 { height: auto; }

    /* Remove background color for progress bar value on smaller screens */
    .data-bar-horizontal .progress-bar .min-value {
        background-color: transparent;
        height: auto;
        padding-left: 0;
        position: relative;
        right: auto;
        transform: none;
    }
}

/* Overrides for State Template Skin */
    /* Rounded borders on form controls (does not effect input-group controls) */
    .form-inline .form-control { border-radius: 0.25rem; }

    .lead strong { font-weight: bold; }

    /* Styles for dmhc-panel-group */
    .dmhc-panel-group .panel-heading button,
    .dmhc-panel-group .panel-heading button h2 {
        display: block;
        margin: 0;
        padding: 0;
        text-align: left !important;
    }
    .dmhc-panel-group .panel-heading button h2 {
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 1.4rem;
    }
    .dmhc-panel-group .panel-heading button {
        border: none;
        border-radius: 0.25rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin: 0;
        padding: 0.5em;
        width: 100%;
    }
    .dmhc-panel-group .panel {
        box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.06);
        margin-bottom: 10px;
    }
    .dmhc-panel-group .panel + .panel { margin: 10px 0 0; }

    /* Changes for Kendo UI drop down control */
    .form-control.chosen-select .k-dropdown-wrap { border: none !important; }
    .k-dropdown-wrap, .k-state-default {
        height: auto;
        width: auto !important;
    }
    .input-group .k-dropdown.rounded .k-select,
    .input-group .k-dropdown.rounded .k-dropdown-wrap {
        border-bottom-right-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

    /* Fix for Bootstrap list-group styles */
    .list-group-item {
        position: relative;
        display: block;
        padding: 0.75rem 1.25rem;
        margin: 0 0 -1px 0;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.125);
    }

    /*
        Sets the background-image on elements to match the underline background styles from the new template design.
        This can be used when some style rules from the new template remove the "background-image" style, for instance,
        on anchor tags that have the role of "button".
    */
    .main-content .bg-underline,
    .main-content a.bg-underline[role="button"]:not(:hover) {
        background-image: linear-gradient(to right, #046B99 50%, transparent 50%) !important;
    }

    /* popover overrides for bootstrap */
    .popover {
        border: 1px solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        font-family: "Source Sans Pro", sans-serif;
    }
    .popover-header {
        background-color: #fff;
        border: none;
    }

    @media (max-width: 767px) {
        /* Fix for Kendo UI drop down control height */
        /* Fix for Kendo animated container on small screens */
        .k-animation-container {
            width: 100% !important;
            min-height: 40vh;
        }
        .k-animation-container .k-list-container { min-height: 40vh; width: 100% !important; }
        .k-animation-container .k-list-container .k-list-scroller {
            /* Calculation is based on:
                .k-textbox height (2px + .75rem + 1.5em)
                .k-textbox top/bottom padding (0.375rem) * 2
                .k-list-filter top/bottom padding (1em) * 2
            */
            min-height: calc(40vh - (2px + 1.5rem + 3.5em));
        }
    }

    @media (max-width: 768px) {
        /* Fix for H2 font size on smaller screens */
        .dmhc-panel-group .panel-heading button h2 { font-size: 1.225rem; }
        /* Fix for modal window close button placement on smaller screens */
        .modal-header .close { float: right; }
        /* Fix for button margins on smaller screens */
        .btn { margin-top: 0; }
    }

    /* Fix sizing issues for call out icon elements at a specific screen size */
    @media (min-width: 899px) and (max-width: 992px) {
        .callout-icons span, .callout-icons strong { font-size: 1.25em; }
        .callout-icons strong span > span { font-size: 1em; }
        .callout-icons .media-left span { font-size: 1.5em; } /* icon */
    }
/* End: Overrides for State Template Skin */

/* END: New styles for State Template project */