.nisic-grandchild-pages {
    position: relative;
}

.nisic-grandchild-pages:not(:first-child) {
    margin-top: 100px;
}

.nisic-grandchild-pages-wrap {
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
}

.nisic-grandchild-pages-header {
    background-color: #fff;
    border-bottom: 1px solid #090f3e;
    position: relative;
    width: 100%;
}

.nisic-grandchild-pages-header:before {
    border-color: #090f3e transparent transparent;
    border-width: 17.21px 22.4px 0;
}

.nisic-grandchild-pages-header:after,
.nisic-grandchild-pages-header:before {
    border-style: solid;
    content: "";
    display: block;
    height: 0;
    left: 50%;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
}

.nisic-grandchild-pages-header:after {
    border-color: #fff transparent transparent;
    border-width: 16.21px 20.9px 0;
}

.nisic-grandchild-pages-header figure {
    display: flex;
    justify-content: center;
    position: relative;
}

.nisic-grandchild-pages-header figure img {
    display: block;
}

.nisic-grandchild-pages-header figure figcaption {
    bottom: 0;
    color: #fff;
    font-size: 4.0625rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    line-height: 0.75;
    position: absolute;
}

.school .nisic-grandchild-pages-header figure figcaption {
    font-size: 3.75rem;
    letter-spacing: normal;
}

.nisic-grandchild-pages-header .nisic-grandchild-pages-header-meta {
    padding: 6.9px 0 15px;
    text-align: center;
}

.nisic-grandchild-pages-header p {
    color: #090f3e;
    margin: 0;
}

.nisic-grandchild-pages-header p.nisic-grandchild-pages-title {
    font-size: 1.8125rem;
    font-weight: 700;
    line-height: 1.4827586207;
}

.nisic-grandchild-pages-header p.nisic-grandchild-pages-subtitle {
    font-size: 1rem;
    letter-spacing: 0.05rem;
    line-height: 1.625;
}

.nisic-child-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 14px;
    width: 100%;
}

.nisic-child-pages .nisic-child-page {
    background-color: #fff;
    border: 1px solid #cdd6e0;
    border-radius: 10px;
    display: flex;
    margin-top: 24px;
    max-height: 268px;
    overflow: hidden;
    position: relative;
    width: 100%;
    writing-mode: vertical-lr;
}

.nisic-child-pages figure {
    align-items: center;
    display: flex;
    padding: 13px 15px 6px;
}

.nisic-child-pages figure img {
    max-height: 100%;
    max-width: none;
    width: auto;
}

.nisic-child-pages .entry-header {
    align-items: flex-start;
    background-color: #090f3e;
    flex-direction: column;
    margin: 0;
    padding: 11px 13px 8px;
    writing-mode: horizontal-tb;
}

.nisic-child-pages .products-lead {
    color: #fff;
    font-size: 0.875rem;
    line-height: 2.1428571429;
    margin: 0;
}

.nisic-child-pages .entry-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.6666666667;
    margin: 0;
}

.nisic-child-pages .entry-title a {
    color: #fff;
}

.nisic-grandchild-pages-contents {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25.5px 0 20.5px;
    width: 50%;
}

.nisic-grandchild-pages-contents.form {
    border-left: 1px solid #fff;
}

.nisic-grandchild-pages-contents p {
    color: #fff;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.nisic-grandchild-pages-contents p.nisic-grandchild-pages-form-title,
.nisic-grandchild-pages-contents p.nisic-grandchild-pages-phone-title {
    font-size: 1.3125rem;
    line-height: 1.4761904762;
}

.nisic-grandchild-pages-contents p.nisic-grandchild-pages-phone-number {
    font-size: 3.875rem;
    letter-spacing: 0.05rem;
    line-height: 1.1935483871;
}

.nisic-grandchild-pages-contents p.nisic-grandchild-pages-form-note,
.nisic-grandchild-pages-contents p.nisic-grandchild-pages-phone-note {
    font-size: 0.9375rem;
    line-height: 1.4666666667;
}

.nisic-grandchild-pages-contents p.nisic-grandchild-pages-form-link {
    max-width: 385px;
    width: 100%;
}

.nisic-grandchild-pages-contents p.nisic-grandchild-pages-form-link a {
    align-items: center;
    background-color: #fff;
    border-radius: 7px;
    color: #090f3e;
    display: flex;
    font-size: 1.3125rem;
    height: 56px;
    justify-content: center;
    line-height: 1.4761904762;
    text-decoration: none;
    width: 100%;
}

.wp-admin #link-selector {
    overflow: auto;
}

.wp-admin .has-text-field #wp-link .query-results {
    position: static;
}
@media (min-width: 768px) {

    .nisic-child-pages .nisic-child-page {
        width: calc(50% - 10.5px);
    }

    .nisic-child-pages .nisic-child-page:not(:nth-of-type(odd)) {
        margin-left: 21px;
    }
}
@media (min-width: 992px) {

    .nisic-child-pages .nisic-child-page {
        width: calc(33.33333% - 14px);
    }

    .nisic-child-pages .nisic-child-page:not(:nth-of-type(odd)) {
        margin-left: 0;
    }

    .nisic-child-pages .nisic-child-page:not(:nth-of-type(3n + 1)) {
        margin-left: 21px;
    }
}
@media (min-width: 1200px) {

    .nisic-child-pages .nisic-child-page {
        width: calc(25% - 15.75px);
    }

    .nisic-child-pages .nisic-child-page:not(:nth-of-type(3n + 1)) {
        margin-left: 0;
    }

    .nisic-child-pages .nisic-child-page:not(:nth-of-type(4n + 1)) {
        margin-left: 21px;
    }
}
@media (max-width: 1280px) {

    .nisic-grandchild-pages-header figure figcaption {
        font-size: 5.078125vw;
    }

    .school .nisic-grandchild-pages-header figure figcaption {
        font-size: 4.296875vw;
    }
}
