/* Mobile */
@media (max-width: 320px) {
    .media.lrg-letter-boxes .media-body {
        min-width: 170px!important;
        max-width: 170px!important;
    }

    .about h1 {
        font-size: 40px;
    }
}
@media (max-width: 767px) {
    .btn-primary {
        padding: 10px 15px !important;
      }

    .h2, h2 {
        font-size: 20px;
    }

    .topbar a {
        font-size: 14px;
        line-height: 30px;
    }

    .navbar-brand {
        max-width: 70%;
    }

    .navbar-toggler {
        padding: 0 15px 0 0;
        font-size: 25px;
        line-height: 1;
        background-color: transparent;
        border: 0;
        border-radius: 0;
        max-width: 30%;
    }

    .navbar-brand img {
        width: 60%;
        height: auto;
    }
    
    .navbar-collapse {
        display: block;
        margin-bottom: 0;
        list-style: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999999;
        margin-top: 0;
        text-align: center;
        background-color: #F4F8FC;
        padding: 0;
        box-shadow:0px 5px 8px -6px rgb(0 0 0 / 50%);
        border-top: 2px solid #ececec;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-nav .nav-item.active .nav-link, .navbar-nav .nav-item .nav-link:focus, .navbar-nav .nav-item .nav-link:hover {
        color: #060606!important;
    }

    .navbar-nav .nav-item.active .nav-link {
        color: #fff!important;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 10px 0;
        color: #060606;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        text-align: center;
        padding: 0;
    }

    header .dropdown-menu {
        box-shadow: none;
    }

    .dropdown-item {
        padding: 5px 0;
    }

    .m-w-100 {
        width: 100%!important;
    }

    /* Home page */
    .home-header {
        padding: 5vh 0;
    }

    .home-header h1, .home-header h1>a {
        font-size: 20px;
    }

    .home-header .header-img-links img {
        width: 100%;
        height: auto;
    }

    .home-about {
        padding: 20px 0;
    }

    .letter {
        height: 70px;
        padding: 0px 10px;
        min-width: 50px;
        max-width: 50px;
    }
    
    .word {
        font-size: 20px;
        line-height: 25px;
    }
    
    .letter p {
        font-size: 45px;
        line-height: 50px;
        text-align: center;
    }
    
    .media.lrg-letter-boxes img {
        width: 70px;
    }
    
    .media.lrg-letter-boxes .media-body {
        padding: 10px;
        min-height: 70px;
        min-width: 220px;
        max-width: 220px;
    }
    
    .media.lrg-letter-boxes .media-body p {
        line-height: 20px;
        font-size: 13px;
    }

    .action img {
        width: 100%;
    }

    .play-btn {
        width: 15%!important;
    }
    
    .action .col-6 {
        float: left;
        margin: auto;
        padding: 0 10px!important;
    }


    .home-sections .card {
        height: auto;
    }

    .home-sections .card .card-img-top {
        width: 60%;
    }

    div.thumbnail_container, .faq-video div.thumbnail_container {
        height: auto;
        width: auto;
    }

    img.thumbnail {
        margin-top: 0;
        opacity: 1;
        position: relative;
        display: block;
    }

    .start-video {
        left: 20%;
    }

    .about h1 {
        font-size: 40px;
    }

    .about-you h2 {
        font-size: 40px;
    }

    .investment-header .header-list img {
        width: 20px;
        height: auto;
    }

    .invest-book .card {
        min-height: auto;
    }

    .invest-book .card-title {
        font-size: 30px;
    }

    .my-style .media-body h5 {
        font-size: 20px;
    }

    .assessments-header h1, .counselling-header h1, .training-header h1, .investment-header h1, .faq-header h1, .contact-header h1 {
        font-size: 2rem;
    }

    .my-style h2, .assessments h2, .shaperformance h2 {
        font-size: 30px;
    }

    .investment .card {
        min-height: 630px;
    }

    .contact-header a {
        font-size: 15px;
    }

    .contact-header h2 {
        font-size: 20px;
    }

    .contact-header i {
        font-size: 30px;
    }

    .maps h4 {
        font-size: 30px;
    }

    .form-control {
        height: calc(3em + .75rem + 2px);
    }

    footer {
        text-align: center;
        padding: 10px 20px;
    }
}

/* Tablet & small screens: */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand img {
        width: 60%;
        height: auto;
    }

    .navbar-toggler {
        padding: .25rem 0;
        font-size: 30px;
    }

    .navbar-collapse {
        display: block;
        margin-bottom: 0;
        list-style: none;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        z-index: 9999999;
        margin-top: 0;
        text-align: center;
        background-color: #F4F8FC;
        padding: 0;
        box-shadow: 0px 5px 8px -6px rgb(0 0 0 / 50%);
        border-top: 2px solid #ececec;
        min-width: 300px;
        max-width: 300px;
    }

    .navbar-expand-lg .navbar-nav .nav-item {
        padding-left: 0;
        padding-right: 0;
    }

    .nav-item.active .nav-link, .navbar-expand-lg .navbar-nav .nav-link {
        padding: 10px;
        border-left: 0;
        border-right: 0;
    }

    .home-header {
        padding: 5vh 0;
    }

    .home-header h1, .home-header h1>a, .home-header h2 {
        font-size: 20px;
    }

    .header-img-links img {
        width: 100%;
        height: auto;
    }

    .action .header-img-links img {
        width: 70%!important;
    }

    .home-header-img img {
        width: 80%;
    }

    header .dropdown-menu {
        padding: 0;
        text-align: center;
        box-shadow: none;
    }

    .home-sections .card {
        height: 330px;
    }

    .home-sections .card .card-img-top {
        width: 100%;
    }

    .home-sections h5 {
        font-size: 20px;
    }

    div.thumbnail_container, .faq-video div.thumbnail_container {
        height: 370px;
        width: auto;
    }

    .about h1 {
        font-size: 35px;
    }    

    .faq-video .card-img-overlay {
        position: absolute;
        top: 7px;
        right: 7px;
        bottom: 7px;
        left: 7px;
    }

    img.thumbnail {
        margin-top: -60px;
    }

    .start-video {
        top: 45%;
        bottom: auto;
        left: 30%;
    }

    .assessments-header {
        padding: 5vh 0;
    }

    .word {
        font-size: 50px;
        line-height: 60px;
    }

    .my-style h2, .assessments h2, .shaperformance h2 {
        font-size: 50px;
    }

    .media.lrg-letter-boxes .media-body p {
        line-height: 10px;
    }

    .shaperformance img {
        width: 20%;
    }

    .invest-book {
        padding: 5vh 0;
    }

    .invest-book .card {
        min-height: 250px;
        height: auto;
    }

    .invest-book .card-body {
        padding: 0;
    }

    .letter {
        padding: 10px 10px;
      }

    .training h3 {
        font-size: 25px;
    }

    .investment .card-img-top {
        width:30%;
        /* float: left; */
        margin: auto;
    }

    .investment .card {
        min-height: 330px;
    }

    .contact-header h2 {
        font-size: 1.5rem;
    }

    .contact-header i {
        font-size: 40px;
    }

    .maps h4 {
        font-size: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 30px 15px;
    }

    .navbar-brand img {
        width: 60%;
    }

    .home-header {
        padding: 5vh 0;
    }

    .home-header-img img {
        width: 80%;
    }

    .home-header h1, .home-header h1>a {
        font-size: 25px;
    }

    .header-img-links img {
        width: 97%;
        height: auto;
    }

    .word {
        font-size: 50px;
    }

    .home-sections .card .card-img-top {
        width: 100%;
    }

    .home-sections .card {
        height: 420px;
    }

    .home-sections h5 {
        font-size: 25px;
        font-weight: 600;
    }

    .action .header-img-links img {
        width: 90%;
        height: auto;
    }

    .shaperformance img {
        width: 20%;
    }

    .about h1 {
        font-size: 45px;
    }

    .my-style .media-body h5 {
        font-size: 20px;
    }

    .investment .card {
        min-height: 730px;
    }

    div.thumbnail_container, .faq-video div.thumbnail_container {
        height: auto;
        width: 100%;
    }

    .invest-book .card {
        min-height: 340px;
    }
}

/* Laptop: */
@media (min-width: 1200px) and (max-width: 1600px) {
    .navbar-brand img {
        width: 60%;
        height: auto;
    }

    .home-sections .card .card-img-top {
        width: 100%;
    }

    .home-sections .card {
        height: 520px;
    }

    .home-header {
        padding: 7vh 0;
    }

    .home-header h1, .home-header h1>a {
        font-size: 26px;
    }

    .header-img-links img {
        width: 90%;
        height: auto;
    }

    .action .header-img-links img {
        width: 80%;
        height: auto;
    }

    .invest-book .card {
        min-height: 320px;
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .home-sections .card {
        height: 600px;
    }
}