/*
 * Makes the iowa.gov banner compliant with the drupal toolbar
 */
body.toolbar #iowa_sliver_bar {
    margin: 30px 0 0 0 !important;
}
body.toolbar #iowa_sliver_search_form {
    top: 72px !important;
}
body.toolbar.toolbar-drawer #iowa_sliver_bar {
    margin: 65px 0 0 0 !important;
}
body.toolbar.toolbar-drawer #iowa_sliver_search_form {
    top: 107px !important;
}

.search-callout .search {
    margin-bottom: 0;
    padding-right: 135px;
    position: relative;
    padding-bottom: 1px;
}

/* pagination */
.pagination{
	height: 32px;
	padding: 0;
	margin: 0;
	list-style: none;
	float: right;
}

.pagination select{
	width: 60px;
	padding: 4px;
}

.pagination li{
	float: left;
	margin-left: 5px;
}

.page-nav a{
	height: 25px;
	line-height: 25px;
	padding: 0 10px;
	display: block;
	margin-left: 5px;
	float: left;
}

li.page-number{
	line-height: 25px;
	margin-left: 15px;
}

.headerp {
    margin-bottom: 0px;
}

.main-content > .grid.no-bread {
    padding-top: 20px;
}

.crop-action i {
    padding-right: .5ex;
}

.view-display-id-mini.view-id-calendar {
    position: relative;
}

#toolbar {
    z-index: 9999;
}

.ajax-progress .throbber {
    background: transparent url(/sites/all/themes/idca/images/ajax-loader.gif) no-repeat 50% 4.75em;
    height: 100%;
    width: 100%;
    position:absolute;
    left:0;
    top:0;
}

.view-about-us-grants {
    position: relative;
}

.view-about-us-grants .item-list .pager {
    padding: 25px 0;
}

.view-about-us-grants .ajax-progress .throbber {
    background: transparent url(/sites/all/themes/idca/images/ajax-loader.gif) no-repeat 50% 0;
    left: -20em;
}

.date-display-range {
    display: inline;
}

#block-trlx-view-list-filter .content:after {
    clear: none;
}

/* Hide views filter helptext */
.source-filters .description {
    display: none;
}

/* Resources Page */
.node-type-resource-page div.content div.field div.field-items div[property="content:encoded"] ul {
  margin: 0 0 1.6em 2.2em;

}

.node-type-resource-page div.content div.field div.field-items div[property="content:encoded"] ul li{
    list-style: disc;
    list-style-position: inside;
}

.node-type-resource-page .paragraphs-items-field-block .field-items {
    display: flex;
    flex-direction: row;
}

.node-type-resource-page .paragraphs-items-field-block > .field-name-field-block > .field-items > .field-item {
    width: 30%;
    max-width: 255px;
    margin-right: 3%;
}

.node-type-resource-page .paragraphs-items-field-block .content {
    background-color: #EDEDED;
    display: block;
    padding-bottom: 20px;
}

.node-type-resource-page .paragraphs-items-field-block .field-name-field-link {
    display: none;
}

.node-type-resource-page .paragraphs-items-field-block .field-name-field-image img {
    width: 100%;
    height: 125px;
}

.node-type-resource-page .paragraphs-items-field-block .content ul {
    margin-left: 30px;
}

.node-type-resource-page .paragraphs-items-field-block .content ul li {
    list-style: disc;
}

.node-type-resource-page .paragraphs-items-field-block .resource-title {
    padding: 5px;
    font-weight: bold;
}

.node-type-resource-page .paragraphs-items-field-block .resource-description {
    padding: 5px;
}

.node-type-resource-page .content > .resource-description {
    margin: 0;
    padding: 0;
}

.node-type-resource-page .field-item h2 {
    margin-top: 20px;
}

@media only screen and (max-width: 550px) {
    .node-type-resource-page .paragraphs-items-field-block .field-items {
        flex-direction: column;
    }
    .node-type-resource-page .paragraphs-items-field-block > .field-name-field-block > .field-items > .field-item {
        width: 100%;
        margin-bottom: 25px;
    }
}

/* --- reCAPTCHA Styles --- */
div[id^="google_recaptcha_webform"] {
  margin: 0 auto 1em;
  display: flex;
  justify-content: center;
}

/* --- chatbot custom styles --- */
#nanorep1 button.widget-floating__teaser-opener{
  margin-top: 8px !important;
}
