/* LearnCube Critical CSS - Above the fold styles */
/* Load immediately to prevent FOUC (Flash of Unstyled Content) */

/* Reset & Base */
html {
    font-size: 10px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Lato', 'Helvetica', 'Arial';
    font-size: 18px;
    background-color: #eff5f8;
    font-weight: 300;
    color: #555;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    margin: 0;
}

/* Typography */
div, h1, h2, h3, h4, p {
    font-family: 'Lato', 'Helvetica', 'Arial';
}

div .wf-active, .wf-active h1, .wf-active h2, .wf-active h3, .wf-active h4, .wf-active p {
    font-family: 'Lato', 'Helvetica', 'Arial' !important;
}

h1, h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 42px;
    font-family: Arial;
    color: #444;
}

h3, h5, h6 {
    font-family: Arial;
    font-weight: 400;
    color: #444;
}

h4 {
    font-family: Arial;
    font-weight: 300;
    color: #444;
    line-height: 25px;
}

p {
    line-height: 22px;
    margin-bottom: 25px;
    margin-top: 5px;
    font-size: 16px;
}

/* Links */
a {
    color: #337ab7;
    word-wrap: break-word;
    transition: color .1s ease-in, background .1s ease-in;
}

a:hover,
a:focus {
    color: #2e6da4;
    text-decoration: none;
    outline: 0;
}

/* Navigation - Critical for above fold */
.navbar {
    position: relative;
    min-height: 58px;
    margin-bottom: 0;
    border: 1px solid transparent;
}

.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}

.navbar-default {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    height: 58px;
    font-size: 16px;
    border-color: #e7e7e7;
}

.navbar-default .navbar-nav > li > a {
    color: #444;
    font-weight: 900;
}

.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover {
    color: #337ab7;
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:focus, 
.navbar-default .navbar-nav > .open > a:hover {
    color: #337ab7;
    background-color: #fff;
    font-weight: 800;
}

.navbar-brand {
    padding: 9px 10px;
    font-size: 18px;
    line-height: 20px;
    height: 58px;
}

.navbar-brand > img {
    display: block;
    margin: -2px -3px;
    max-width: 167px;
}

.navbar-toggle {
    padding: 13px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.navbar-nav {
    margin: 0;
    list-style: none;
    margin-top: -2px;
}

.navbar-nav > li > a {
    padding-top: 20px;
    padding-bottom: 18px;
    line-height: 20px;
    position: relative;
    display: block;
}

.navbar-default .navbar-collapse, 
.navbar-default .navbar-form {
    background: #fff;
    border-color: #e7e7e7;
}

/* Navbar Utility Classes */
ul.nav.navbar-nav.align-right {
    float: right;
}

a.sign-in {
    color: #444;
    font-weight: 400;
}

.nav > li > a {
    padding: 5px 8px;
}

/* Container */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* Hero Section Critical Styles */
section#language-school {
    color: #fff !important;
    font-weight: 600;
    background-image: url("/images/Learncube-online-class-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(51, 122, 183);
    background-position-x: 0%;
    background-position-y: 0%;
}

@media only screen and (max-width: 500px) {
    section#language-school {
        background-image: url("/images/Learncube-online-class-bg-mobile.jpg");
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.hero-top {
    margin-top: 50px;
    text-shadow: 0px 0px 2px #000;
}

.hero-top h1 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 40px;
    color: #fff;
}

@media (min-width: 600px) {
    .hero-top h1 {
        font-size: 38px;
        margin-top: 80px;
    }
}

.hero-top p {
    font-size: 17px;
    margin: 30px 0px 10px 0;
}

.hero-top picture .img-responsive {
    margin-top: 0px;
    margin-bottom: 30px;
}

.hero-text h1 {
    font-size: 44px;
}

/* Buttons - Critical for CTA */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn.btn-warning {
    background: linear-gradient(135deg, #ffbb00, #ff8c00) !important;
    border: 1px solid #e67e22 !important;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24) !important;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1) !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffbb00, #ff8c00) !important;
    border: 1px solid #e67e22 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.23) !important;
    transform: translateY(-2px) !important;
}

.btn-xlg {
    padding: 10px;
    font-size: 18px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
}

.btn-embossed {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    text-shadow: 0 0 1px #000;
    font-style: normal;
}

.btn-xlg.btn-embossed {
    padding: 12px 24px !important;
    font-weight: 800 !important;
    border: 1px solid #e67e22 !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg,#ffbb00, #ff8c00) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24) !important;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1) !important;
}

.hero-top .btn.btn-warning {
    border: 2px solid #fff;
}

/* Essential utilities */
.centered {
    text-align: center;
}

.text-center {
    text-align: center;
    display: block;
    margin: auto;
}

.img-responsive {
    max-width: 100%;
    height: auto;
} 