/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

.hero-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 51px;
    border: solid 1px #979797;
}

.hero-container nav.navigation-container {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #00ae4d;
}

.hero-container nav.navigation-container .container {
    height: 100%;
    position: relative;
}

.inner-navigation-container {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.inner-navigation-container span.page-title {
    float: left;
}

.inner-navigation-container .sub-nav-block {
    float: right;
    display: inline-block;
    position: relative;
    bottom: -15px;
}

.navigation-container a {
    text-decoration: none;
    padding: 10px 0;
    margin: 0 20px;
    color: #ffffff;
    font-weight: 300;
}

.navigation-container .active {
    border-bottom: solid 5px #ffffff;
    padding-bottom: 5px;
    font-weight: bold;
    font-family: 'Averta W01 Bold', Helvetica, Arial, sans-serif;
}

.navigation-container a:hover {
    border-bottom: solid 5px #ffffff;
    padding-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
}

.nav-search-container {
    display: block;
    width: 100%;
    position: relative;
    background-color: #f0f0f0;
    bottom: 0;
    margin: 0 auto;
    padding-top: 45px;
    padding-bottom: 45px;
}

.nav-search-input {
    width: 100%;
    height: 60px;
    color: black;
    padding-left: 50px;
    border: solid 1px #999999;
    padding-right: 50px;
    border-radius: 0;
}

.nav-search-input::-ms-clear {
    display: none;
    width:0;
    height:0;
}

.crux-icons.custom-clear-icon {
    display: none;
    font-size: 18px;
    position: absolute;
    right: 20px;
    top: 21px;
    cursor: pointer;
}

.nav-search-input-container .crux-icons-search {
    position: absolute;
    font-size: 25px;
    top: 19px;
    left: 16px;
}

.nav-search-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #999999;
}
.nav-search-input::-moz-placeholder { /* Firefox 19+ */
    color: #999999;
}
.nav-search-input:-ms-input-placeholder { /* IE 10+ */
    color: #999999;
}
.nav-search-input:-moz-placeholder { /* Firefox 18- */
    color: #999999;
}

.nav-search-input-container {
    overflow: hidden;
    margin-right: 7px;
    position: relative;
}

.nav-search-button {
    margin-left: 20px;
    float: right;
}

.nav-search-button:disabled {
    background-color: #000000;
}

.media-room-hero {
    background-image: url("//article.images.consumerreports.org/prod/content/dam/cro/media-room/resources/press-release/sliver/default.jpg");
    height: 250px;
    background-size: auto 250px;
    background-repeat: no-repeat;
}

.sign-in-dialog {
    margin-top: -180px;
}

.help-wrap {
    font-family: "Neue Helvetica W01", Helvetica, Arial, sans-serif;
    margin: 100px 0 0;
    text-align: left;
}

.help-image {
    float: left;
    padding: 0 20px 0 0;
}

.help-title {
    font-family: "Neue Helvetica W01", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    padding: 5px 0 0;
}

.help-text {
    color: #444444;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

@media (min-width: 992px) {
    .crux-sub-nav__link:last-of-type {
        margin-right: 0;
    }
}
@media (max-width: 992px) {
    .donate-container {
        display: none;
    }

    .header-container {
        border-bottom: solid 2px #C7C7C7;
    }

    .hero-container {
        height: auto;
        min-height: 51px;
        border: none;
    }

    .inner-navigation-container {
        bottom: 0;
        top: 30px;
    }

    .inner-navigation-container span.page-title {
        float: none;
        display: block;
        margin-bottom: 25px;
    }

    .inner-navigation-container .sub-nav-block {
        float: none;
        bottom: 0;
    }

    .inner-navigation-container a.crux-sub-nav__link:first-of-type {
        margin-left: 0;
    }

    .navigation-container .active {
        border-bottom: solid 5px #ffffff;
    }

    .navigation-container a:hover {
        border-bottom: solid 5px #ffffff;
        margin-bottom: 30px;
        text-decoration: none;
    }

    .nav-search {
        position: relative;
    }

    .nav-search-input {
        width: 100%;
        height: 60px;
        background-color: #ffffff;
        color: #999999;
        padding-left: 50px;
        border: solid 1px #999999;
    }

    .nav-search-input-container {
        overflow: hidden;
        margin-right: 7px;
    }

    .nav-search-button {
        float: right;
    }

    .media-room-search-box {
        margin: 0;
    }
}
@media (max-width: 767px) {
    html, body {
        font-size: 14px !important;
    }

    .logo {
        height: 26px;
    }

    .header-container {
        border-bottom: solid 2px #C7C7C7;
    }

    .logo-container {
        display: inline-block;
        margin-left: 20px;
        margin-top: 10px;
        margin-bottom: 5px;
        min-height: 0;
    }

    .hero-container {
        height: auto;
    }

    .hero-container nav.navigation-container {
        height: 115px;
    }

    .inner-navigation-container {
        bottom: 0;
        top: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .inner-navigation-container span.page-title {
        margin-bottom: 15px;
    }

    .inner-navigation-container::-webkit-scrollbar {
        display: none;
    }

    .navigation-container a {
        vertical-align: top;
    }

    .navigation-right-mask:after {
        content: "";
        width: 75px;
        height: 50px;
        position: absolute;
        right: 0;
        background-image: linear-gradient(to right, rgba(0, 175, 78, 0), #00af4e);
    }

    .navigation-left-mask:before {
        content: "";
        width: 75px;
        height: 50px;
        position: absolute;
        background-image: linear-gradient(to left, rgba(0, 175, 78, 0), #00af4e);
    }

    .inner-navigation-container .sub-nav-block {
        height: 45px;
        line-height: 45px;
        position: relative;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
    }

    .inner-navigation-container .sub-nav-block > div {
        overflow-y: visible;
        text-align: left;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        overflow-x: auto;
    }

    .nav-search-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .nav-search-input {
        color: #a2a2a2;
        height: 60px;
        padding-right: 85px;
        padding-left: 10px;
    }

    .nav-search-input::-webkit-search-cancel-button{
       display: none;
    }

    .nav-search-button {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0;
        width: 42px;
        height: 42px;
        background-color: #00ae4d;
        color: transparent;
        margin: 0;
        z-index: 2;
        border: 0;
    }

    .crux-icons.custom-clear-icon {
        right: 65px;
    }

    .nav-search-button .crux-icons-search {
        font-size: 25px;
        color: #ffffff;
        top: 8px;
        right: 8px;
        position: absolute;
    }

    .media-room-hero {
        display: none;
    }

    .nav-search-input-container {
        margin-right: 0;
    }

    .nav-search-input-container .crux-icons-search {
        display: none;
    }

    .media-room-search-box {
        position: relative;
    }
}
@media print {

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


