.familyPage, .learnMorePage{
    max-width: 100%;
    font-size: 18px;
}
.familyPage h5{
    font-size: 24px;
}
.familyPage h4{
    font-size: 26px;
}
.familyPage h3{
    font-size: 30px;
}
.familyPage h2{
    font-size: 34px;
}
.familyPage h1{
    font-size: 38px;
}
@media only screen and (max-width: 660px) {
    .familyPage, .learnMorePage{
        font-size: 16px;
    }
    .familyPage h5{
        font-size: 20px;
    }
    .familyPage h4{
        font-size: 24px;
    }
    .familyPage h3{
        font-size: 26px;
    }
    .familyPage h2{
        font-size: 30px;
    }
    .familyPage h1{
        font-size: 34px;
    }
}

.header-family{
    padding: 25px 8%;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
}
.family-header-imgs {
    flex: 1 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
}
.family-header-img{
    width: calc(50% - 20px);
    height: auto;
    margin-right: 20px; 
}
.family-header-img:first-child {
    margin-bottom: 40px;
}
.family-header-img:nth-child(2n) {
    margin-top: 40px;
}
.header-family > article{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 1;
}
.header-family > article p {
    margin: 0;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.1em;
}
.header-family > article h5,
.link-learn-more{
    text-decoration: none;
    display: block;
    color: #7b1aa3;
    font-weight: 600;
    text-align: justify;
    text-transform: uppercase;
    margin: 30px 0;
    letter-spacing: 0.3em;
}
.link-learn-more{
    font-size: 26px;
}
.link-learn-more { 
    border-bottom: 2px solid #7b1aa3;
    line-height: 40px;
    padding-right: 30px;
}
.btn-learn-more,
.btn-learn-more:hover{
    font-size: 24px;
    border-radius: 5px;
    background-color: #db3a78;
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    flex: 0 0 50px;
}

@media only screen and (max-width: 660px) {
    .header-family{
        padding: 0;
        flex-direction: column; 
        align-items: flex-start;
    }
    .family-header-imgs {
        align-items: flex-end;
    }
    .family-header-img:first-child,
    .family-header-img:nth-child(2n){
        margin: 0; 
        width: 50%;
        min-height: auto;
    }
    .header-family > article{
        padding: 2.5% 8%;
    }
    .header-family > article p,
    .btn-learn-more,
    .btn-learn-more:hover{
        font-size: 20px;
    }
    .link-learn-more{
        font-size: 20px;
    }
}

.family-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 0 8%;
}
.family-info img{
    width: 50%;
}
@media only screen and (max-width: 660px) {
    .family-info img{
        width: 70%;
    }
}
.family-info > div:last-child::before{
    display: block;
    content: "";
    width: 150px;
    height: 10px;
    border-radius: 15px;
    top: 0;
    right: calc(50% - 75px);
    background-color: #57A0D3;
    position: absolute;
}
.family-info > div:last-child b:first-child{
    color: #1f2988;
}
.family-info > div:last-child b:last-child{
    color: #57A0D3;
}
.family-info > div:last-child{
    position: relative;
    letter-spacing: 0.15em;
    text-align: center;
    padding: 80px 0;
}

.family-problem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
}
.family-problem h2 {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image: url('/wp-content/themes/vi/images/parent/Phones.jpg');  
    font-weight: 500;
    letter-spacing: 0.3em;
    color: white;
    text-align: center;
    width: 100%;
    padding: 110px 0;
    margin: 0;
}
.family-problem > div b,
.family-master-class > div b{
    color: #1f2988;
}
.family-problem .family-problem-text::before{
    padding: 0;
    content: "84%";
    display: block;
    position: absolute;
    bottom: 0;
    left: -10px;
    color: #CEE5CE;
    font-size: 10rem;
    line-height: 8rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    opacity: 0.3;
    overflow: hidden;
}
.family-problem .family-problem-text{
    position: relative;
    padding: 80px 8% 20px 8%;
    letter-spacing: 0.15em;
}
.family-problem .family-problem-text > p{
    position: relative;
    text-align: center;
    letter-spacing: 0.15em;
    z-index: 1;
    margin: 0;
}
.family-problem > div:last-child{
    padding: 4% 8%;
}
.family-problem > div:last-child > p::before{
    content: "As per CDC...";
    background-color: white;
    display: block;
    text-align: center;
    padding: 0 7%;
    font-size: 24px;
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    top: -15px;
    right: calc(43% - 80px);
}
.family-problem > div:last-child > p {
    text-align: center;
    position: relative;
    font-size: 24px;
    padding: 80px 50px 50px;
    border: 3px solid #CEE5CE;
    font-family: 'Times New Roman', Times, serif;
}
.family-app-info{
    padding: 5% 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(#260534, #51215f);
    color: white;
    position: relative;
    overflow: hidden;
}
.family-app-info > div:first-child{ 
    padding: 5%;
    text-align: center;
    font-size: 20px;
}
@media only screen and (max-width: 660px) {
    .family-problem > div > p,
    .family-problem > div > p::before{
        font-size: 20px;
    }
    .family-app-info > div:first-child{ 
        font-size: 18px;
    }
}
.family-background-grid {
    position: absolute;
    background: url('/wp-content/themes/vi/images/parent/Grid.png') repeat;
    bottom: -2%;
    right: -15%;
    background-size: contain;
    height: 60%;
    width: 60%;
    opacity: 0.3;
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    -o-transform: rotate(15deg);
    transform: rotate(15deg);
}
.family-app-info img {
    width: 80%;
}
@media only screen and (max-width: 660px) {
    .family-app-info img {
        width: 100%;
    }
}
.family-app-feature {
    padding: 5% 8%;
}
.family-app-feature > div > article > h4{
    color: #1f2988;
}
.family-app-feature > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.family-app-feature > div:nth-child(2n+1){
    flex-direction: row;
}
.family-app-feature > div:nth-child(2n){
    flex-direction: row-reverse;
}
.family-app-feature > div:nth-child(2n+1) > article{
    flex: 1 1;
    margin-left: 0;
    margin-right: 5%;
}
.family-app-feature > div:nth-child(2n) > article{
    flex: 1 1;
    margin-right: 0;
    margin-left: 5%;
}
.family-app-feature > div > img{
    width: 40%;
    flex: 1 1;
}
@media only screen and (max-width: 660px) {
    .family-app-feature > div:nth-child(2n+1),
    .family-app-feature > div:nth-child(2n){
        flex-direction: column;
        justify-content: flex-end;
        margin: 90px 0;
    }
    .family-app-feature {
        padding: 0 8%;
    }
    .family-app-feature > div:nth-child(2n) > article,
    .family-app-feature > div:nth-child(2n+1) > article{
        margin: 0;
        text-align: center;
        margin-bottom: 5%;
    }
    .family-app-feature > div > img{
        width: 60%;
    }
}

#family-how-it-work{
    padding: 8% 15%;
    background: url('/wp-content/themes/vi/images/parent/BG_Hexa.jpg') no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
@media only screen and (max-width: 660px) {
    #family-how-it-work{
        padding: 8% 0;
    }
}

#family-how-it-work .video-iframe-cont,
.family-master-class-content .video-iframe-cont {
    padding: 56.25% 0 0 0; 
    position: relative;
}
#family-how-it-work h3{
    margin: 2%;
}
#family-how-it-work .video-iframe,
.family-master-class-content .video-iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-style: none;
    overflow: hidden;
}
.family-why-now {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background-color: white; 
}
.family-why-now h2 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    background: url('/wp-content/themes/vi/images/parent/Why_Now_Images.png') no-repeat;  
    font-weight: 500;
    color: white;
    text-align: left;
    width: 100%;
    padding: 70px 10%;
    margin: 0;
    letter-spacing: 0.1em;
}
.family-why-now > div{
    width: 100%;
    display: flex;
    align-items: center;
}
.family-why-now > div:nth-child(2n+1){
    padding: 10px 15% 5%; 
}
.family-why-now > div:nth-child(2n){
    padding: 5% 15% 10px;
}
@media only screen and (max-width: 660px) {
    .family-why-now > div:nth-child(2n+1){
        padding: 10px 8% 5%; 
    }
    .family-why-now > div:nth-child(2n){
        padding: 5% 8% 10px;
    }
}
.family-why-now > div::before{
    content: "";
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 150px;
    height: 130px;
    margin-right: 3%;
}
.family-why-now > div:nth-child(2n+1)::before{
    background-image: url('/wp-content/themes/vi/images/parent/Circle_second.png');  
}
.family-why-now > div:nth-child(2n)::before{
    background-image: url('/wp-content/themes/vi/images/parent/Circle_first.png');  
}

.family-product-review{
    background: linear-gradient(#d9fff2, #87ceec);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    padding: 5% 5% 0 5%;
    flex-wrap: wrap-reverse;
}
.family-product-review .family-product-review-img{
    flex: 1 1 350px;
    background-image: url('/wp-content/themes/vi/images/parent/Phones.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    min-height: 400px;
}
@media only screen and (max-width: 450px) {
    .family-product-review .family-product-review-img{
        min-height: 300px;
    }
}
.family-product-review > article{
    display: flex;
    margin: 0 25px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    flex: 1 1 350px;
}
.family-product-review h3{
    margin: 0 0 55px;
    text-align: left;
    position: relative;
}
.family-product-review h3::after{
    position: absolute;
    content: "";
    bottom: -20px;
    left: 0;
    display: inline-block;
    width: 110px;
    height: 15px;
    background-color: #1f2988;
    text-align: left;
}
.family-product-review > article > ul{
    padding: 0;
    margin-bottom: 30px;
}
.family-product-review > article > ul > li{
    margin-bottom: 5%;
    padding: 0;
    line-height: 25px;
    font-weight: 400;
}
.family-product-review > article > ul > li b{
    color: #1f2988;
    font-weight: 500;
}

.family-app-reviews{
    background-color: white; 
    padding: 5% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.family-app-reviews h3{
    text-align: center;
}
.family-app-reviews > div{
    background: url('/wp-content/themes/vi/images/parent/Facebook_Comments.png') no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    width: 100%;
    flex: 1 1 500px;
    margin-top: 50px;
}
@media only screen and (max-width: 660px) {
    .family-app-reviews > div{
        background: url('/wp-content/themes/vi/images/parent/Facebook_Comments_Mobile.png') no-repeat;
        background-size: contain;
        background-position: center;
        width: 100%;
        flex: 1 0 700px;
    }
}
@media only screen and (max-width: 500px) {
    .family-app-reviews > div{
        flex: 1 0 600px;
    }
}
@media only screen and (max-width: 400px) {
    .family-app-reviews > div{
        flex: 1 0 500px;
    }
}
.family-app-reviews > div::before{
    display: block;
    content: "";
    width: 150px;
    height: 10px;
    border-radius: 15px;
    top: -50px;
    right: calc(50% - 75px);
    background-color: #57A0D3;
    position: absolute;
}
.family-note{
    background-color: #060e48;
    padding: 8%;
    color: white;
    text-align: center;
}
.family-master-class > h3::before{
    display: block; 
    position: absolute;
    content: '';
    width: 72px;
    height: 62px;
    background: url('/wp-content/themes/vi/images/parent/Arrow_Down.png') no-repeat;
    background-size: 70px 60px; 
    top: -110px;
    right: calc(50% - 30px);
}
.family-master-class{
    background-color: white; 
    padding: 80px 8% 2% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.family-master-class > h3{
    position: relative;
    text-align: center;
    color: #060e48;
    margin: 50px 0 20px 0;
}
.family-master-class > div{
    text-align: center; 
    margin-bottom: 50px; 
}
.family-master-class-content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.family-master-class-content > article{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    flex: 1 1;
    margin: 0 20px 20px;
    max-width: 400px;
    border: 1px solid #57A0D3;
}
.family-master-class-content h5{
    margin: 0;
    color: #060e48;
    font-weight: 400;
    letter-spacing: 0.15em;
}
.family-master-class-content > article > h5{
    text-align: left;
    padding: 10px;
    text-transform: uppercase;
}
#master-class-video h5{
    text-align: center;
    padding-bottom: 10px;
}
.family-master-class-content > article > ul,
.family-master-class-content > article > ul > li > ul{
    padding: 0;
    margin: 0;
}
.family-master-class-content > article > ul > li,
.family-master-class-content > article > ul > li > ul > li{
    text-align: left;
    padding: 10px;
    line-height: 25px;
}
.family-master-class-content > article > ul > li > ul > li{
    padding: 10px 20px 10px;
}
.family-master-class-content > article > ul > li::before{
    display: inline;
    content: '\25C0';
    margin-right: 10px;
}
.family-master-class-content > article > ul > .active::before{
    display: inline;
    content: '\25BC';
    margin-right: 10px;
}
.family-master-class-content > article > ul > .master-class-module-1,
.family-master-class-content > article > ul > .master-class-module-2{
    display: none;
    padding: 0;
}
.family-master-class-content > article > ul > .master-class-module-1::before,
.family-master-class-content > article > ul > .master-class-module-2::before{
    display: none;
}
.family-master-class-content > article > ul .master-class-module{
    background-color: #e9e9e9;
}
.family-master-class-content .col-xs-12{
    flex: 1 1 450px;
}
.family-master-class-content .col-xs-12 > .video-wrapper, 
#family-how-it-work .col-xs-12 > .video-wrapper{
    box-shadow: none;
}
#master-class-text{
    flex: 1 1 450px;
    border: none;
    margin: 0 20px;
    text-align: center;
}
#master-class-text, .video-data, .video-text,
.master-class-module-text {
    display: none;
}
#master-class-text > div:first-child{
    margin-bottom: 30px;
}
#master-class-text h5{
    text-align: center;
    letter-spacing: 0.1em;
}
#master-class-text p{
    margin: 0;
}
.master-class-text-for,
.master-class-text-for:hover{
    color: #db3a78;
    text-decoration: none;
}
.master-class-text-link,
.master-class-text-link:hover,
.video-data-link,
.video-data-link:hover{
    color: #57A0D3;
    text-decoration: none;
}