body {
    font-size: 16px;
}

.home-search-band {
    padding: 12px 0 14px;
    background: #202020;
    color: #fff;
    text-align: center;
}

.home-search-band .row {
    display: flex;
    align-items: center;
}

.home-search-band h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 18px;
}

.home-search-box {
    margin-bottom: 6px;
}

.home-search-band .form-control,
.home-search-band .btn {
    height: 34px;
}

.home-search-band form {
    max-width: 315px;
    margin: 0 auto;
}

.home-search-band .btn-default {
    color: #191919;
    background: #f5f5f5;
    border-color: #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.home-search-band .btn img {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
}

.home-search-note {
    padding-top: 0;
    font-size: 15px;
    font-weight: 600;
}

.home-search-note img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.home-search-guarantee {
    display: flex;
    align-items: center;
    font-weight: 400;
    text-align: left;
}

.home-search-guarantee .home-search-badge {
    margin: 0 10px 0 0;
}

.home-search-badge {
    width: 38px;
}

.home-search-rating {
    width: 112px;
}

.home-review-count {
    display: block;
    margin-top: 2px;
    font-weight: 400;
}

.home-intro {
    padding: 20px 0;
    text-align: center;
}

body.home .home-intro,
body.home .home-institutions,
body.home #testimonials {
    background: #f5f5f5;
}

body.home #main,
body.home .home-promise,
body.home .home-newsletter {
    background: #fff;
}

.home-intro p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

body.home #main {
    padding-top: 0;
}

body.home a.yellow-link {
    color: #191919;
    font-weight: 600;
}

body.home a.home-dark-link {
    color: #191919;
}

#main .home-products-page {
    padding-top: 0;
    text-align: left;
}

body.home #main .home-products-page .home-course-copy h2 {
    margin-top: 24px;
    text-align: left;
}
body.home #main .home-products-page .home-course-copy p {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.home-course-intro {
    display: flex;
    align-items: center;
}

.home-course-art img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

#home-course-categories {
    margin: 8px 0 15px;
    padding: 0;
    list-style: none;
}

.home-course-toggle,
.home-course-toggle:hover,
.home-course-toggle:focus,
.home-course-toggle:active {
    position: relative;
    padding-right: 45px;
    padding-left: 20px;
    color: #191919;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    background-color: #ffcc00;
    border: 0;
/*    outline: 0;*/
    box-shadow: none;
}

.home-course-toggle .caret {
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -2px;
}

@media (min-width: 768px) {
    #home-course-categories.collapse {
        display: block;
        height: auto !important;
    }
}

#home-course-categories:before,
#home-course-categories:after {
    display: table;
    content: " ";
}

#home-course-categories:after {
    clear: both;
}

.home-category-loading {
    padding: 18px;
    text-align: center;
}

.home-study-products {
    clear: both;
    /*padding-top: 20px;*/
}

.home-study-products .panel {
    margin-top: 18px;
    text-align: center;
    border: 0;
    box-shadow: none;
}

.home-study-products h3 {
    margin-top: 5px;
}

body.home #main {
    padding-bottom: 0;
}

body.home #main .home-products-page {
    margin-bottom: 0;
    padding-bottom: 0;
}

body.home #main .home-products-page .home-study-products > h2 {
    text-align: left;
    margin-bottom: 8px;
}

body.home #main .home-products-page .home-study-products > p {
    text-align: left;
    margin-bottom: 0;
}

body.home #main .home-products-page .home-study-products .panel-default {
    margin-top: 0;
    margin-bottom: 0;
}

body.home #main .home-products-page .home-study-products .panel p {
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
}

.home-product-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: 260px;
    margin: 0 auto 15px;
    object-fit: contain;
}

.home-section,
.home-dark-section {
    padding: 28px 0;
}

.home-section h2,
.home-dark-section h2 {
    margin-top: 0;
}

.home-dark-section {
    background: #191919;
    color: #fff;
}

.home-dark-section h2 {
    color: #fff;
}

.home-dark-section .panel {
    color: #222;
}

#why-choose-mometrix h2 {
    padding-bottom: 12px;
}

.home-benefits-row .panel {
    border-radius: 8px;
    box-shadow: 4px 4px 0 #ffcc00;
}

.home-benefits-row .panel li {
    font-size: 14px;
}

.home-dark-section .panel h3 {
    margin-top: 4px;
    text-align: center;
}

.home-dark-section .panel ul {
    padding-left: 20px;
}

.home-benefit-image {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px;
}

.home-benefit-search {
    max-width: 650px;
    margin: 20px auto 28px;
}

.home-benefit-search .form-control,
.home-benefit-search .btn {
    height: 46px;
}

.home-benefit-search .btn {
    width: 165px;
    color: #191919;
    font-weight: 700;
    background: #ffcc00;
    border-color: #ffcc00;
}

.home-stat-row {
    display: flex;
    gap: 12px;
    margin-right: 0;
    margin-left: 0;
}

.home-stat-row:before,
.home-stat-row:after {
    display: none;
}

.home-stat-row > div {
    float: none;
    width: auto;
    padding-right: 0;
    padding-left: 0;
    flex: var(--trust-ratio) 1 0;
}

.home-stat-row > div:nth-child(1) { --trust-ratio: 2.980945504; }
.home-stat-row > div:nth-child(2) { --trust-ratio: 2.761500928; }
.home-stat-row > div:nth-child(3) { --trust-ratio: 3.330827842; }
.home-stat-row > div:nth-child(4) { --trust-ratio: 1.960954170; }

.home-stat-row img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-stat-row picture {
    display: block;
    width: 100%;
    aspect-ratio: var(--trust-ratio);
}

.home-institution-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0;
}

.home-institutions {
    padding-bottom: 20px;
}

.home-institution-row,
.home-institution-card {
    display: flex;
    align-items: center;
}

.home-institution-card {
    gap: 14px;
    padding: 16px 18px 20px;
    color: #191919;
    background: url("/images/homepage/jay-bio-background.svg") center / 100% 100% no-repeat;
}

div.home-institution-card a.yellow-link {
    font-weight: inherit;
}

.home-institution-card-photo {
    width: 35%;
    height: auto;
    border: 1px solid #ffcc00;
    border-radius: 6px;
}

.home-institution-card-details {
    flex: 1;
    min-width: 0;
}

.home-institution-card-details h3 {
    margin: 0 0 6px;
    /*font-size: 19px;*/
}

/*.home-institution-card-details h3 span {*/
/*    padding-bottom: 2px;*/
/*    border-bottom: 2px solid #ffcc00;*/
/*}*/

.home-institution-card-details p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.home-institution-card-details hr {
    margin: 10px 0;
    border-color: #aaa;
}

.home-institution-card-details ul {
    margin-bottom: 0;
}

.home-institution-card-details li {
    display: flex;
    align-items: center;
    margin-top: 4px;
    font-size: 14px;
    white-space: nowrap;
}

.home-institution-card-details li img {
    width: 19px;
    height: 19px;
    margin-right: 7px;
}

@media (max-width: 1199px) {
    .home-institution-row {
        display: block;
    }

    .home-institution-card {
        max-width: 480px;
        margin: 20px auto 0;
    }
}

@media (max-width: 600px) {
    .home-institution-card {
        /*gap: 10px;*/
        /*padding: 12px 14px 16px;*/
    }

    .home-institution-card-photo {
        width: 35%;
    }

    .home-institution-card-details p {
        font-size: 14px;
    }

    .home-institution-card-details hr {
        margin: 8px 0;
    }

    .home-institution-card-details li {
        /*font-size: 10px;*/
    }

    .home-institution-card-details li img {
        width: 17px;
        height: 17px;
        margin-right: 6px;
    }
}

.home-institution-logos img {
    display: block;
    width: 100%;
    height: auto;
}

.home-promise .row {
    margin-top: 20px;
}

.home-promise img {
    display: block;
    width: 100%;
    height: auto;
}

.home-ceo-profile img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    border: 1px solid #ffcc00;
    border-radius: 6px;
}

.home-ceo-row {
    display: flex;
    align-items: flex-start;
}

.home-ceo-profile h3 {
    margin-bottom: 4px;
}

.home-ceo-profile p {
    font-size: 13px;
    line-height: 1.35;
}

.home-ceo-copy {
    align-self: center;
    padding-top: 4px;
}

@media (min-width: 1200px) {
    .home-ceo-copy {
        margin-right: 4%;
    }
}

.panel.home-study-tips > .list-group .list-group-item {
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 10px;
    color: #222;
    border: 1px solid #337ab7;
    border-radius: 8px;
}

.panel.home-study-tips > .list-group .list-group-item:first-child,
.panel.home-study-tips > .list-group .list-group-item:last-child {
    border-radius: 8px;
}

.panel.home-study-tips > .list-group .list-group-item:last-child {
    border-bottom: 1px solid #337ab7;
}

.home-study-tips .list-group-item:hover,
.home-study-tips .list-group-item:focus {
    color: #222;
    background: #fff;
}

.home-study-tips {
    margin-bottom: 4px;
    color: #222;
    border: 0;
    border-radius: 8px;
    box-shadow: 4px 4px 0 #337ab7;
}

.home-study-tips .panel-heading {
    /*padding: 16px 15px 8px;*/
    color: #222;
    font-size: 18px;
    text-align: center;
    background: #fff;
    border: 0;
}

.home-study-tips .panel-heading strong {
    position: relative;
    display: inline-block;
    padding-bottom: 9px;
}

.home-study-tips .panel-heading strong:after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    content: "";
    background: url("/images/homepage/handwritten-underline.svg?v=3") center / 100% 100% no-repeat;
}

.home-study-tips .list-group {
    padding: 4px 20px 2px;
}

.home-study-tips .list-group-item img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    object-fit: contain;
    flex: 0 0 32px;
}

.home-newsletter {
    padding-bottom: 20px;
}

.home-newsletter .panel {
    margin-bottom: 0;
}

.home-newsletter .row {
    display: flex;
    align-items: center;
}

.home-newsletter-title,
.home-newsletter-copy {
    text-align: left;
}

.home-newsletter-title img {
    display: block;
    width: 150px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.home-newsletter-copy > img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.home-newsletter-copy p {
    margin-bottom: 0;
}

.home-newsletter-signup .input-group {
    display: block;
}

.home-newsletter-signup .input-group .form-control {
    float: none;
    width: 100%;
    border-radius: 5px !important;
}

.home-newsletter-signup .input-group-btn {
    display: block;
    width: 100%;
    padding-top: 12px;
}

.home-newsletter-signup .input-group-btn .btn {
    width: 100%;
    margin-left: 0;
    border-radius: 5px;
}

.home-newsletter-signup .form-control,
.home-newsletter-signup .btn {
    height: 52px;
}

.home-newsletter-signup .btn {
    color: #222;
    font-weight: bold;
    background-color: #ffcc00;
    border-color: #ffcc00;
}

.home-newsletter-message {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.3;
}

.home-newsletter-signup small {
    display: block;
    margin-top: 8px;
    font-size: 10px;
    font-style: italic;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .home-newsletter-title {
        border-right: 1px solid #ddd;
    }
}

@media (max-width: 767px) {
    .home-study-tips {
        margin-top: 32px;
    }
    .home-newsletter .panel-default {
        border: 0;
    }

    .home-benefit-search .input-group {
        display: block;
    }

    .home-benefit-search .input-group .form-control {
        float: none;
        width: 100%;
        border-radius: 5px !important;
    }

    .home-benefit-search .input-group-btn {
        display: block;
        width: 100%;
        padding-top: 12px;
    }

    .home-benefit-search .input-group-btn .btn {
        width: 100%;
        margin-left: 0;
        border-radius: 5px;
    }

    .home-search-band .row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: end;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .home-search-box {
        width: 100%;
        grid-column: 1 / -1;
    }

    .home-search-note {
        float: none;
        width: 100%;
        align-self: end;
    }

    .home-search-guarantee {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .home-search-guarantee .home-search-badge {
        margin: 0 auto 6px;
    }

    .home-course-intro {
        display: block;
    }

    .home-course-mobile-heading {
        float: none;
        margin-left: 15px;
        text-align: left;
    }

    .home-course-art {
        margin-bottom: 20px;
    }

    .home-course-art img {
        display: block;
        margin-right: auto;
        margin-left: auto;
        width: 60%;
    }

    .home-search-note {
        padding-top: 10px;
    }

    .home-review-count {
        max-width: 110px;
        margin-right: auto;
        margin-left: auto;
    }

    #main .home-products-page {
        padding-top: 0;
    }

    #home-course-categories {
        margin-top: 0;
        padding: 12px 18px 14px;
        background: #fff;
        border: 1px solid #aaa;
        border-top: 0;
        border-radius: 0 0 8px 8px;
        margin-bottom: 32px;
    }

    #main .content.home-products-page .categories .category {
        margin: 0;
        padding: 0;
    }

    #main .content.home-products-page .categories .category a,
    #main .content.home-products-page .categories .category a:hover,
    #main .content.home-products-page .categories .category a:focus {
        display: flex;
        align-items: center;
        padding: 7px 0;
        color: #191919;
        font-size: 15px;
        font-weight: 400;
        text-decoration: underline;
        text-decoration-color: #ffcc00;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
        background: none;
        border: 0;
        border-radius: 0;
    }

    #main .content.home-products-page .categories .category .icon {
        position: static;
        width: 28px;
        height: auto;
        margin-right: 8px;
        line-height: 1;
        flex: 0 0 28px;
    }

    #main .content.home-products-page .categories .category .icon img {
        max-width: 22px;
        max-height: 22px;
    }

    .home-section,
    .home-dark-section {
        padding: 30px 0;
    }

    .home-dark-section .panel {
        margin-bottom: 15px;
    }

    .home-ceo-row {
        display: block;
    }

    .home-ceo-profile {
        margin-bottom: 20px;
        text-align: center;
    }
    .home-ceo-profile h2,
    .home-ceo-profile h3,
    .home-ceo-profile p
    {
        text-align: left;
    }

    .home-ceo-profile h3,
    .home-ceo-profile p {
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-ceo-profile img {
        margin: 0 auto;
        margin-top: 20px;
    }

    .home-stat-row picture,
    .home-promise img {
        margin-bottom: 15px;
    }

    .home-promise img {
        width: 68%;
        max-width: 380px;
        margin-right: auto;
        margin-left: auto;
    }

    .home-stat-row {
        display: block;
        margin-right: -15px;
        margin-left: -15px;
    }

    .home-stat-row > div:nth-child(n) {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        --trust-ratio: 3.330827842;
    }

    .home-newsletter .row {
        display: block;
    }

    .home-newsletter-title,
    .home-newsletter-copy {
        margin-bottom: 20px;
    }

    .home-newsletter-title::after {
        display: block;
        height: 2px;
        margin-top: 20px;
        content: "";
        background: #ddd;
    }

    .home-newsletter-copy > img {
        padding-bottom: 20px;
        border-bottom: 2px solid #ddd;
    }

}
