/* 
    CONTENT 
      - Reset Group
      - Layout Group
      - Components Group
      - Modules Group
      - Util Group
      - Mobile breakpoint

      font-family: 'Raleway', sans-serif;
*/


/* Reset Group */
html {
    font-family: sans-serif;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    color: #060606;
}

h1, h2, h3 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 200;
    text-transform: uppercase;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.7rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.6rem;
}



/* Layout Group */
.hero-container {
    position: relative;
    height: 100vh;
    max-height: 70rem;
    background: url(https://growyourbusiness.com.au/system/images/W1siZiIsIjIwMTgvMDQvMjkvMDUvNDcvNTAvNGRiNzlmZTQtNmM4YS00MTdjLTg3NjItNTIyN2FkZDYzYzU5L2hlcm8tYmFja2dyb3VuZF9vcmlnaW5hbC5qcGciXV0/hero-background_original.jpg?sha=9d5a0a9aa127c9f6) center top no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content h1 {
    color: #fff;
}

.hero-logo {
    height: 17rem;
}

.hero-model {
    position: absolute;
    height: 100%;
    bottom: 0;
    right: 15%;
}

.hero-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
    z-index: 2000;
}

.topbar {
    background-color: #434241;
}

.topbar a {
    color: #808080;
}

.topbar a + a {
    margin-left: 0.5rem;
}

.topbar-icon {
    position: relative;
    font-size: 2.7rem;
    z-index: 1000;
}

.topbar-icon.ion-person::before {
    padding: 0 0.2rem;
    background-color: #000;
}

.footer > .container > .row {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-logo {
    height: 6rem;
    opacity: 0.7;
}

.footer-menu {
    padding: 2rem 0 2.5rem;
    margin-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none;
    text-align: center;
}

.footer-copyright {
    margin-top: -2rem;
    font-size: 0.87em;
    color: rgba(255,255,255,0.2);
    text-align: center;
}

.footer-menu > li {
    display: inline-block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.footer-menu > li > a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s;
    -webkit-transition: color 0.4s;
    -moz-transition: color 0.4s;
}

.footer-menu > li > a:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
} 



/* Components Group */
.btn-more {
    cursor: pointer;
    display: inline-block;
}


/* Modules Group */
.your-modules-thumbnail {
    background-size: cover;
}

.your-modules-thumbnail h1 + h2 {
    margin-top: -1rem;
}

.your-modules-content {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #fff;
    text-align: center;
}

.your-modules-content h1,
.your-modules-content h4 {
    color: #8691a4;
}

.your-modules-content h1 {
    font-size: 4rem;
    color: #48588f;
}

.your-modules-content h4:first-child {
    color: #576170;
}

.your-modules-content h4 > a {
    color: #be3f3f;
}

.module-list {
    overflow: hidden;
}

.module-hero img {
    width: 760px;
}

.module-hero .module-title {
    position: absolute;
    top: 0px;
    left: 40px;
    color: #fff;
}

.module-hero .module-title.dark {
    color: #060606;
}

.module-progress {
    text-align: center;
    margin-top: 40px;
}

.module-progress .resume a {
    color: #be3f3f;
}

.module-post {
    position: relative;
    max-height: 34rem;
    border: 0.1rem solid #fff;
    overflow: hidden;
}

.module-post {
    margin-bottom: 2rem;
}

.module-post > a .dark {
    color: #fff;
}

.module-post > a .light {
    color: #000;
}

.module-post > a .content-title > div {
    transition: margin 0.4s;
    -webkit-transition: margin 0.4s;
    -moz-transition: margin 0.4s;
}

.module-post > a:hover .content-title > div {
    margin-top: 2em;
}

.module-post > a:hover .module-post-content + img {
    width: 102% !important;
    margin-left: -1.5rem;
}

.module-post-content {
    position: absolute;
    width: 100%;
    top: 0;
    padding-left: 5rem;
    padding-right: 5rem;
}

.module-post-content + img {
    width: 100%;
    transition: all 2s ease;
    -webkit-transition: all 2s ease;
    -moz-transition: all 2s ease;
}

.module-post-content h1 + h2 {
    margin-top: -1rem;
}

.module-post-content .lesson-count {
    white-space: nowrap;
    font-size: 2.5rem;
}

.module-post-content .lesson-count > img:first-child {
    width: auto;
    height: 30px;
}

.about-us-container {
    width: 100%;
    height: 35rem;
    background: url(http://sabre270.anchor.net.au/system/assets/2290/about-us-background_original.jpg) no-repeat;
    background-size: cover;
    text-align: center;
}

.social-links-icon {
    display: inline-block;
    position: relative;
    padding: 0.5em;
    margin-left: 0.5em;
    margin-right: 0.5em;
    color: rgb(72, 88, 143);
    font-size: 1.5em;
}

.social-links-icon:hover {
    color: rgb(255, 255, 255);
}

.social-links-icon::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.15em;
    height: 2.15em;
    border: 1px solid rgb(72, 88, 143);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: border 150ms ease, text-shadow 150ms ease;
}

.social-links-icon:hover::after {
    border-color: rgb(255, 255, 255);
}

.secured-ssl {
    margin: 1.2rem auto;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.secured-ssl > i {
    padding-right: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}



/* Util Group */
.section-group {
    margin-bottom: 7rem;
}

.section-group.coming-module {
    background-color: #000;
    color: #fff;
}

.as-table {
    display: table;
}

.as-cell {
    display: table-cell;
}

.align-top {
    vertical-align: top;
}

.align-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
}

.align-bottom {
    vertical-align: bottom;
}

.img-responsive.full-width {
    width: 100%;
}



/* mobile and tablet breakpoint */
@media (max-width: 991px) {

    .your-modules-thumbnail > div {
        position: absolute;
        bottom: 1.5rem;
    }

    .topbar > .text-right {
        text-align: left;
    }

}



/* tablet breakpoint */
@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    h3 {
        font-size: 1.9rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    .hero-container {
        height: 45rem;
        overflow: hidden;
    }

    .hero-content {
        left: 5%;
    }

    .hero-model {
        height: 95%;
        right: -10%;
    }

    .hero-logo {
        height: 12rem;
    }
}

/* ipad pro */
@media (min-device-width : 1024px) and (max-device-width : 1366px) {

    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    h3 {
        font-size: 1.9rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    .hero-container {
        height: 60rem;
        overflow: hidden;
    }

    .hero-content {
        left: 10%;
    }

    .hero-model {
        height: 98%;
        right: -5%;
    }

    .hero-logo {
        height: 15rem;
    }

    .topbar > .text-right {
        text-align: left;
    }

}



/* Mobile breakpoint */
@media (max-width: 767px) {

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    h4 {
        font-size: 1.4rem;
    }

    .hero-container {
        height: 30rem;
        overflow: hidden;
    }

    .hero-content {
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        left: 0;
        z-index: 1;
    }

    .hero-content > div {
        width: 100%;
    }

    .hero-model {
        right: 0;
        height: 95%;
    }

    .hero-logo {
        height: 4rem;
    }

    .hero-logo + h1 {
        padding-right: 45vw;
    }

    .footer-logo {
        margin: auto;
        display: block;
    }

    .module-post {
        height: 20rem;
    }

    .module-post-content {
        height: 20rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .module-post .content-title {
        display: table;
        height: 20rem;
    }

    .module-post .content-title > div {
        display: table-cell;
        vertical-align: bottom;
    }

    .your-modules-thumbnail {
        min-height: 20rem !important;
        margin-bottom: -1.5rem;
        background-position-x: 15%;
    }

    .module-hero {
        overflow: hidden;
    }

    .module-hero img {
        width: auto;
        height: 180px;
        transform: translateX(-15%);
    }

    .resume {
        margin-bottom: 30px;
    }

}

@media (max-width: 480px) {

    .module-post-content + img {
        width: auto;
        height: 100%;
        margin-left: -20%;
    }

    .hero-model {
        right: -15%;
    }

}
