/**********************************/
/******** CSS FOR HOMEPAGE ********/
/**********************************/

/******** HOMEPAGE TITLE ********/

h1#rc-home-title  {
    font-size: 24px;
    font-weight: 300;
    margin: 40px 0 20px;
}


/******** SEARCH BOX ********/

/* This element is one level above .search-asset-wrapper */
.search-container {
    overflow: auto;
}

.search-asset-wrapper {
    width: 375px;
    float: left;
    line-height: 19px;
    height: 40px;
    border-radius: 1px;
    margin-bottom: 25px;
}

@media screen and (max-width: 470px) {
    .search-asset-wrapper {
        width:100%;
    }
}

.search-asset-wrapper .form-control {
    height: 40px;
    border-radius: 0px;
    border: 1px solid #222;
}

.search-asset-wrapper .asset-search-btn {
    height: 40px;
    border-radius: 0;
    background: #222;
    color: #fff;
    padding: 1px 10px;
    font-size: 12px;
    cursor: pointer;
}

.search-asset-wrapper .asset-search-btn:hover {
    color: #fff;
    background: #000;
}

.search-asset-wrapper .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

.input-group {
	position: relative;
	display: flex;
	border-collapse: separate;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
	display: table-cell;
}

.input-group-addon {
    display: flex;
}

.search-asset-wrapper .input-icon {
    display: none;
}

@media screen and (max-width: 470px) {
    .filter-wrapper {
        padding-left:0;
        padding-right: 0;
    }
}

.filter-wrapper > .row > .col-xs-6 {
    margin: 0;
}

.filter-wrapper .asset-type-group {
    height: 40px;
    width: 100%;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
}

.filter-wrapper .asset-type-group.filter-menu-closed {
    border: solid 0.5px rgba(0,0,0,.15);
}

.filter-wrapper .asset-type-group.filter-menu-open {
    border-top: solid 0.5px rgba(0,0,0,.15);
    border-right: solid 0.5px rgba(0,0,0,.15);
    border-left: solid 0.5px rgba(0,0,0,.15);
}

.filter-wrapper .asset-type-btn {
    text-align: center;
    font-size: 16px;
    font-weight: 300px;
    margin: 3px auto;
    line-height: 1.8;
    cursor: pointer;
}

.filter-wrapper .asset-type-btn {
    text-align: center;
    font-size: 16px;
    font-weight: 300px;
    margin: 3px auto;
    line-height: 1.8;
    cursor: pointer;
}

.filter-wrapper .asset-type-btn svg {
    position: absolute;
    margin: 4px 10px;
}

.no-results {
    text-align: center;
    margin: 50px 0;
    min-height: 200px;
}

.rc-home-wrapper .no-gutter {
    padding-right: 0;
    padding-left: 0;
}

@media screen and (min-width: 992px) {
    .rc-home-wrapper .no-gutter-right {
        padding-right:0;
    }
}

/* .innerPage shows up when filtering or searching */
.rc-home-wrapper .innerPage .no-gutter-right:nth-child(3n) {
    padding-right: 15px;
}



/******** ALL ASSETS ********/

#asset-type-home {
    font-weight: 300;
}

.assetLink {
    color: #222222;
    -webkit-text-decoration: none;
    text-decoration: none;

    /* Height of .assetLink is handled below. */
}

.assetLink img.asset-type-icon {
    height: 30px;
    width: 30px;
}

.assetLink .asset-title {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 400;
}

.assetLink .img-wrapper {
    background-size: cover;
    background-position: 50% 50%;
    overflow: hidden;

    /* The width of images displayed on the homepage of Tier 1 and Tier 2
     *   assets are controlled by Bootstrap! */
    /* width: 100%; */

    height: 160px;
    margin: -10px 0px 22px 0px;
    outline-offset: -4px;
    outline: 1px solid transparent;
}

@media screen and (max-width: 470px) {

    .assetLink .asset-title {
        font-size: 18px;
    }

}

@media screen and (min-width: 768px) {
    .assetLink .img-wrapper {
        height: 465px;
        margin: -20px -10px -20px 5px;
    }

    /* Used only by the Tier 2 (full-width middle) featured article. */
    .assetLink.tier-2-wrapper .img-wrapper {
    /* Aligns content correctly with non-tiered articles above and below on desktop width */
    width: calc(66.666667% - 2px);
    margin-left: 8px;
}

}

@media screen and (max-width: 767px) {
    .assetLink .img-wrapper {
        width: calc(100% + 10px);
        margin: -20px 0px 22px -5px;
    }
}



/******** TIER-SPECIFIC CSS ********/

/* pulls featured tiered content image to top of tile in mobile view */
@media screen and (max-width: 767px) {
    .tiered-content-inner-row {
        display: flex;
        flex-direction: column;
    }

    .tiered-content-mobile-push-bottom {
        order: 2;
    }
}

@media screen and (min-width: 768px) {

    /* All .assetLink have height:auto until the screen is wide enough
     *   to support the mosiac layout. */

    .tier-1-wrapper,
    .tier-2-wrapper,
    .tier-3-wrapper {
        height: 465px;
    }

    .tier-4-wrapper {
        height: 225px;
    }

}

/* Used only by the three featured articles. */
.assetLink .tiered-content-wrapper {
    height: 388px;
    /* Aligns content correctly with non-tiered articles above and below */
    padding-right: 27px;
    /* Prevents overflowing text. */
    overflow: hidden;
}



/******** PAGINATION ********/

.pagination-navigation ul {
    list-style: none;
    margin: 20px;
    padding-left: 0;
    text-align: center;
    display: block;
    /** get rid of whitespace between <li> elements **/
    font-size: 0;
}

@media screen and (max-width: 470px) {
    .pagination-navigation ul {
        margin: 20px 0;
        padding-left: 0;
        text-align: center;
        display: block;
    }
}

.pagination-navigation ul:after {
    content: '';
    width: 100%;
    display: inline-block;
}

.pagination-navigation li {
    list-style-type: none;
    display: inline-block;
    font-size: 18px;
}

.pagination-navigation li a.btn {
    border-radius: 3px;
}
/** overriding .btn class styles for desktop **/
@media screen and (min-width: 768px) {
    .pagination-navigation li a.btn {
        width: 43px;
        height: 43px;
        padding: 1.3rem 0;
    }

    .pagination-navigation li a.btn {
        color: #000;
        background-color: transparent;
    }

    .pagination-navigation li.current-page a.btn,
    .pagination-navigation li.current-page a.btn:hover {
        color: #fff;
        background-color: #008FD3;
        pointer-events: none;
    }

    .pagination-navigation li a.btn:hover {
        color: #008FD3;
        background-color: #f0f5f8;
    }
    .pagination-navigation li a.pager i {
        width: 43px;
        height: 43px;
        position: relative;
        top: 2px;
        color: #008FD3;
        font-weight: 100;
        font-size: 24px;
    }

    .pagination-navigation li a.pager.disabled {
        pointer-events: none;
    }
    .pagination-navigation li a.pager.disabled i {
        color: #e3ebef;
    }
}

.pagination-navigation li.ellipsis {
    color: #000;
    margin: 0;
    padding: 0;
    cursor: default;
}

.pagination-navigation .pagination-arrow {
    display: inline-block;
    cursor: pointer;
    color: #000;
    -webkit-text-decoration: none;
    text-decoration: none;
    font-weight: 700;
    padding: 0 5px;
}

i.pagination-arrow-disabled {
  width: 43px;
  height: 43px;
  position: relative;
  top: 2px;
  font-weight: 100;
  font-size: 24px;
  color: #e3ebef;
  cursor: auto;
  padding: 0 15px;
}


/** mobile prev/next pagination button styles **/ 
.pagination-navigation .visible-xs li a.btn {
    margin: 0 8px;
    padding: 10px 16px;
    font-size: 12px;
}

.pagination-navigation .visible-xs li a.btn i {
    color: #fff;
    font-weight: 200;
    font-size: 20px;
}

.pagination-navigation .visible-xs li a.btn span {
    position: relative;
    bottom: 2px;
    margin: 0 5px;
}

.pagination-navigation .visible-xs li a.btn.disabled {
    pointer-events: none;
    cursor: default;
    background-color: #cdd8dd;
    color: #8e9ca2;
}
.pagination-navigation .visible-xs li a.btn.disabled i {
    color: #8e9ca2;
}
/** end mobile prev/next pagination button styles **/

/****** HOMEPAGE FILTER DROPDOWN MENUS ******/

.filter-wrapper {
    margin-bottom: 25px;
    z-index: 100;
}

.filter-menu-wrapper {
    margin-top: 15px;
}

.filter-menu-wrapper button {
    white-space: nowrap;
}

.filter-menu-wrapper p {
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    color: #222;
    font-weight: 300;
}

.filter-menu-wrapper .de-apply-filter-btn {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1;
    border-radius: 1px;
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    border: none;
    color: #fff;
    font-weight: 100;
    background: #008fd3;
    cursor: pointer;
}

.filter-menu-wrapper .apply-filter-btn {
    padding: 10px 25px;
    font-size: 12px;
    line-height: 1;
    border-radius: 1px;
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    border: none;
    color: #fff;
    font-weight: 100;
    background: #008fd3;
    cursor: pointer;
}

.filter-menu-wrapper .de-apply-filter-btn:hover {
    background: #0088e3;
}

.filter-menu-wrapper .apply-filter-btn:hover {
    background: #0088e3;
}

.filter-menu-wrapper .de-clear-filter-btn {
    padding: 9px 8px;
    font-size: 12px;
    line-height: 1;
    border-radius: 1px;
    border: 1px solid #333;
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    color: #000;
    font-weight: 300;
    background: transparent;
    cursor: pointer;
    position: relative;
    right: 10px;
}

.filter-menu-wrapper .clear-filter-btn {
    padding: 9px 25px;
    font-size: 12px;
    line-height: 1;
    border-radius: 1px;
    border: 1px solid #333;
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    color: #000;
    font-weight: 300;
    background: transparent;
    cursor: pointer;
    position: relative;
    right: 10px;
}

.filter-menu-wrapper .clear-filter-btn:hover,
.filter-menu-wrapper .clear-filter-btn:focus {
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    color: #fff;
    background: #333;
    outline: none;
}

.filter-menu-wrapper .de-clear-filter-btn:hover,
.filter-menu-wrapper .de-clear-filter-btn:focus {
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    -webkit-transition: all 200ms cubic-bezier(.42,0,.58,1);
    transition: all 200ms cubic-bezier(.42,0,.58,1);
    color: #fff;
    background: #333;
    outline: none;
}

.rc-home-wrapper div.dropdown-menu.asset-type-visible,
.rc-home-wrapper div.dropdown-menu.category-type-visible {
    display: block;
    border-top: none;
}

.rc-home-wrapper .inner-filter-list {
    max-height: 200px;
    overflow-y: scroll;
    border-bottom: 2px solid rgba(0,0,0,.15);
}

.inner-filter-list label {
    font-weight: 400;
    color: #333;
}

.solutions-gutter.col-xs-6 {
    padding-left: 0;
}

.media-type-gutter.col-xs-6 {
    padding-right: 0;
}

.asset-type-menu.dropdown-menu {
    width: 500px;
    border-radius: 0;
    margin-top: 0;
    left: 15px;
}

.asset-category-menu.dropdown-menu {
    width: 500px;
    border-radius: 0;
    margin-top: 0;
    left: calc(-100% + 15px);
}

.rc-home-wrapper .asset-type-group li {
    list-style-type: none;
    margin-left: -30px;
    border-bottom: 0.5px solid rgba(0,0,0,.15);
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 20px;
}

.rc-home-wrapper .asset-type-group li>label {
    font-size: 12px;
    color: #333;
    margin-left: 10px;
}

.rc-home-wrapper .asset-type-group .filter-selected {
    font-weight: 600;
}

@media screen and (max-width: 991px) {

    .asset-type-menu.dropdown-menu {
        width: calc(100% - 15px);
        left: 15px;
    }

    .asset-category-menu.dropdown-menu {
        width: calc(100% - 15px);
        right: 15px;
        left: auto;
    }
}

@media screen and (max-width: 1319px) and (min-width: 992px) {
  .filter-wrapper .asset-type-btn {
    font-size: 14px;
    line-height: 2.2em;
  }
  .filter-wrapper .asset-type-btn svg {
    margin: 8px;
  }
}

@media screen and (max-width: 770px) {
    .asset-category-menu {
        width:98%;
        left: 4px;
    }

    .asset-type-menu.dropdown-menu {
        width: calc(200% - 30px);
    }

    .asset-category-menu.dropdown-menu {
        width: calc(200% - 30px);
        left: calc(-100% + 15px);
    }

    .rc-home-wrapper .asset-type-btn {
        text-align: left;
        padding-left: 20px;
    }

    .filter-menu-wrapper {
        text-align: center;
        padding-bottom: 10px;
    }
}
