/* COMMON */
.headerTitle {
    font-size:30px;
    line-height:38px;
    font-weight:800;
    text-transform:none;
    margin-bottom:15px
}
.headerSubtitle {
    font-size:26px;
    line-height:34px;
    font-weight:600;
    margin-bottom:15px
}
p,
ul li {
    font-family:'Nunito Sans','Avenir';
    font-size:16px;
    line-height:24px
}
p,ul {margin-bottom:20px}

.owl-carousel .owl-nav button {
    background:#B5121B!important;
    color:#fff!important;
}
.owl-carousel .owl-nav button:hover {
    background:#EF3E33!important;
    color:#fff!important;
}
.owl-carousel .owl-dots {margin-top:15px}

.linkDirectory {padding:50px 0;margin:0}
.linkDirectory h3 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #232C33;
}
.linkDirectory .links a:link,
.linkDirectory .links a:visited {
    color: #3b71ca
}
.linkDirectory .links a:hover {
    text-decoration: underline;
}

@media (min-width:992px) {
    .headerTitle {
        font-size:38px;
        line-height:46px;
        margin-bottom:30px;
    }
    .headerSubtitle {
        font-size:31px;
        line-height:39px;
        margin-bottom:20px
    }
    p,
    ul li {
        font-size: 18px;
        line-height: 26px
    }
}

@media (min-width: 1279px) {
    .headerTitle {
        font-size: 44px;
        line-height: 52px
    }
    .headerSubtitle {
        font-size:36px;
        line-height:44px
    }
    p,
    ul li {
        font-size: 19px;
        line-height: 27px
    }
    .linkDirectory .container {max-width:1140px}
}

.cardsCont004 {background-image:none}

/* PAGE OVERRIDES */

/* homepage */
.corpHome #cardAlt006 .headerCont,
.corpHome #cards008 .headerCont {margin-bottom:30px}
.corpHome #cardAlt006 .headerTitle {margin-bottom:0}

.corpHome #cards008,
.corpHome #cardAlt006,
.corpHome #imgBlk012,
.corpHome .promoCarousel001 {
    background:#f2f0ee
}
.corpHome .faqStyle007 {background:#f7f7f7}
.corpHome #ctrEnrl006,
.corpHome #percent004,
.corpHome .imgBlkRt010 {
    background:#fff
}
.corpHome #cards008 .headerCont {margin-bottom:30px}
.corpHome .promoCarousel001 .imgItemCont img {width:70%;object-fit:contain;}

.corpHome #imgBlk012 .linkCont {justify-content:center}

@media (min-width: 768px) {
    .corpHome #cardAlt006 .headerCont {margin-bottom:35px}

    .corpHome #imgBlk012 .linkCont {justify-content:flex-start}
    .corpHome .promoCarousel001 .imgItemCont img {height: 255px}

}
@media (min-width: 992px) {
    .corpHome #cardAlt006 .headerCont {margin-bottom:45px}
    .corpHome #cards008 {padding-top:70px}
    .corpHome .promoCarousel001 .imgItemCont img {width:80%}
}
@media (min-width: 1279px) {
    .corpHome #cards008 .headerCont {padding-right:30px}
    .corpHome #cards008 .headerCont p {padding-right:33px}
    .corpHome #cards008 .headerTitle {letter-spacing:-1px}
    .corpHome #cards008 .cardItem p {padding-right:21px}
    .corpHome .promoCarousel001 .headerTitle {font-size:40px;letter-spacing:-1px}
    .corpHome .promoCarousel001 .imgItemCont img {width:80%;height: 265px}
}

@media (min-width: 1400px) {
    .corpHome .promoCarousel001 .imgItemCont img {height: 280px}
}
@media (min-width: 1440px) {
    .corpHome .promoCarousel001 .headerTitle {font-size:44px}
}

/* in-center-learning */
.inCtrLrng #featVid002 .copyWrap {display:flex;flex-direction:column;justify-content:center;height:100%} /*center vertically*/
.inCtrLrng #imgBlk012 {background:#f2f0ee}
@media (min-width: 768px) {
    .inCtrLrng .video010 .copyWrap {
        display:flex;
        flex-direction: column;
        justify-content: center;
        height:100%;
        margin:0 auto;
        width:90%
    }
    .inCtrLrng .video010 .c1,
    .inCtrLrng .video010 .c2 {width:50%}
}
@media (min-width: 992px) {
    .inCtrLrng #imgBlk012 .content {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5)
    }
}
@media (min-width: 1200px) {
    .inCtrLrng #imgBlk012 .c1,
    .inCtrLrng #imgBlk012 .c2 {width:50%}
}
@media (min-width: 1279px) {
    .inCtrLrng .video010 .vidWrap {margin:0}
}

/* online-tutoring */
.onlnTutr #cardAlt006 {background:#f2f0ee}
.onlnTutr .onlnTutrNumBg {
    background-image:url('/themes/mathnasium/assets/images/bg-num-whtp.gif');
    background-size:750px
}
.onlnTutr .imgCaro001 {padding-bottom:0}
.onlnTutr .cards003 {padding-top:10px}
@media (min-width: 992px) {
    .onlnTutr .cards003 {padding-top:30px}
    .onlnTutr .onlnTutrNumBg {background-size:900px}
}

/* catch-up + keep-up + our-instructors */
.ourInstr #imgBlk012,
.keepUp #ctrEnrl006,
.catchUp #ctrEnrl006 {background:#f2f0ee}
.catchUp .singleQuote001 p.quote,
.keepUp .singleQuote001 p.quote {margin-bottom:10px;line-height:1.4}
.keepUp .singleQuote001 p.quoteby,
.catchUp .singleQuote001 p.quoteby {margin-bottom:30px}
.keepUp .singleQuote001 .primary-theme-btn,
.catchUp .singleQuote001 .primary-theme-btn {width:fit-content;max-width:unset}

@media (min-width: 768px) {
    .keepUp .singleQuote001 .content,
    .catchUp .singleQuote001 .content {justify-content:flex-end}
    .keepUp .singleQuote001 .content img,
    .catchUp .singleQuote001 .content img {margin-bottom:25px}
    .keepUp .singleQuote001 p.quoteby,
    .catchUp .singleQuote001 p.quoteby {margin-bottom:24px}
    .catchUp #imgBlk012 .content,
    .ourInstr #imgBlk012 .content {justify-content:flex-start}
}
@media (min-width: 992px) {
    .keepUp .singleQuote001 .content img,
    .catchUp .singleQuote001 .content img {margin-bottom:35px}
    .catchUp #imgBlk012 .content,
    .ourInstr #imgBlk012 .content {padding:0}
}
@media (min-width: 1279px) {
    .keepUp .singleQuote001 .imgCont img,
    .catchUp .singleQuote001 .imgCont img {padding:0 30px 0 0}
    .keepUp .singleQuote001 .content img,
    .catchUp .singleQuote001 .content img {width:75px;margin-bottom:60px}
    .keepUp .singleQuote001 p.quote,
    .catchUp .singleQuote001 p.quote {line-height:1.6}
    .keepUp .singleQuote001 p.quoteby,
    .catchUp .singleQuote001 p.quoteby {margin-bottom:60px}
    .catchUp #imgBlk012 .content,
    .ourInstr #imgBlk012 .content {padding:0 20px}
}

/* our-results */
.ourResults .cardAlt005 {background:#f2f0ee}
.ourResults .cardAlt005 .cardItem .title {margin-bottom:15px}
.ourResults .cardAlt005 .ciCopy .descrWysiwyg {text-align:left}
.ourResults .cardAlt005 .ciCopy .descrWysiwyg p {margin-bottom:15px}

/* careers */
.careers .imgBlkRt010,
.careers #cards008,
.careers .imgBlkAlt008 {background:#f2f0ee}

.careers #imgBlk012 .primary-theme-btn {padding:16px 15px}
.careers .singleQuote001 {padding-top:50px}
@media (min-width: 1279px) {
    .careers #cards008 .headerTitle {letter-spacing:-1px}
    .careers .imgBlkAlt008 .c1 {padding-left:0}
    .careers #imgBlk012 .content {padding:0 0 0 80px}
}

/* about us */
.abtUs #ctrEnrl006,
.abtUs #imgBlkAlt009,
.abtUs .cards012,
.abtUs #methods001 {background:#f2f0ee}

.mathMethod25 #tstmCaro001 .owlCon {background:#fff}

.abtUs #imgBlk012 .primary-theme-btn,
.abtUs #imgBlkAlt009 .linkCont a {padding:16px 15px}
.abtUs .mathhelp.abouthelp,
.abtUs .world-map {background-color:unset}
.abtUs #cards008 .cardItem img {max-width:140px}
.abtUs .cards012 .cardItem .title {margin-top:0;width:90%}
@media (min-width:992px) {
    .abtUs .cards012 .cardItem {padding:0 30px}
    .abtUs .cards012 .cardItem.item1 .title {width:100%}
}
@media (min-width:1400px) {
    .abtUs .cards012 .cardItem.item2 .title {width:70%}
}

/* our-history */
.ourHistory #imgBlk013 {background:#f2f0ee}
.ourHistory .heroCorp008 {background-position:center center}

/* mathnasium-method */
.mathMethod25 .cards007,
.mathMethod25 .cardAlt005,
.mathMethod25 #tstmCaro001 {background:#f2f0ee}
.mathMethod25 #percent004,
.mathMethod25 .number-sense,
.mathMethod25 #tstmCaro001 .owlCon {background:#fff}
.mathMethod25 .heroCorp008 .contentCont {text-align:start}
.mathMethod25 .heroCorp008 .contentCont,
.mathMethod25 #imgBlk011 .headerTitle,
.mathMethod25 .cards007 .colCopy,
.mathMethod25 .number-sense .num-title,
.mathMethod25 .number-sense .num-detail,
.mathMethod25 .cardAlt005 .cardItem .title,
.mathMethod25 .cardAlt005 .cardItem .description {text-align:center}
.mathMethod25 .cardAlt005 .ciBox {background:#fff}
.mathMethod25 .heroCorp008 .primary-theme-btn {margin:0 auto}
.mathMethod25 h2 {text-transform:none}
.mathMethod25 .number-sense {padding:50px 0;float:none}

@media (min-width: 768px) {
    .mathMethod25 .heroCorp008 .contentCont,
    .mathMethod25 #imgBlk011 .headerTitle,
    .mathMethod25 .cards007 .colCopy,
    .mathMethod25 .number-sense .num-title,
    .mathMethod25 .number-sense .num-detail,
    .mathMethod25 .cardAlt005 .cardItem .title,
    .mathMethod25 .cardAlt005 .cardItem .description {text-align:start}
    .mathMethod25 .heroCorp008 .primary-theme-btn {margin:0}
}

/* math-tutors-near-me */
.mathTutNrMe #ctrEnrl006,
.mathTutNrMe .cardAlt005,
.mathTutNrMe #methods001,
.mathTutNrMe .linkDirectory {background:#f2f0ee}

.mathTutNrMe #percent004 {background:#fff}
@media (min-width: 1279px) {
    .mathTutNrMe .cardAlt005 .headerTitle {letter-spacing:-1px;font-size:43px}
    .mathTutNrMe .imgBlockStyle007 .imgCont {padding:0 50px 50px 100px}
}

/* middle-school, high-school, elementary-school */
.midlSch .video010,
.midlSch .cardAlt005,
.midlSch #imgBlk012,
.midlSch .linkDirectory,
.highSch .video010,
.highSch .cardAlt005,
.highSch #imgBlk012,
.highSch .linkDirectory,
.elemSch .video010,
.elemSch .cardAlt005,
.elemSch #imgBlk012,
.elemSch .linkDirectory {background:#f2f0ee}

.midlSch #percent004,
.highSch #percent004,
.elemSch #percent004 {background:#fff}

.midlSch .cardAlt005 .cardItem .ciBox {background:#fff}
.elemSch .cardAlt005 {padding-top:50px}
@media (min-width: 1400px) {
    .elemSch .heroCorp008 .contentCont {width:50%}
}
@media (min-width: 1400px) {
    .midlSch .heroCorp008 .contentCont {width:46%}
}
@media (min-width: 1400px) {
    .highSch .heroCorp008 .contentCont {width:43%}
}

/* math-programs */
.mathPrograms .cardAlt005,
.mathPrograms .imgBlkRt010,
.mathPrograms .linkDirectory {background:#f2f0ee}

/* homework-help */
.hwHelp #imgBlk012 {background:#f2f0ee}

/* how-it-works */
.howItWorks .faqStyle007 {background:#f2f0ee}
.howItWorks .faqStyle007 .nav-tabs .nav-link.active {
    background:#f2f0ee;
    text-shadow:-1px 0 1px #f9fbda, -1px -1px 1px #f9fbda, 1px 0 1px #f9fbda, 1px 1px 1px #f9fbda;
}

/* get-ahead */
.getAhead #ctrEnrl006 {background:#f2f0ee}

/* faq */
.corpFaq #cardAlt006 {background:#f2f0ee}

/* early-childhood */
.earlyChhd .faqStyle007,
.earlyChhd .faqStyle007 .nav-tabs .nav-link.active {background:#f2f0ee}

/* contact-us */
.contactUs .imgBlkRt010,
.contactUs .imgBlkAlt008 {background:#f2f0ee}
