/* ------------------------------------------- */
/* BASIC SETUP */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ------------------------------------------- */
/* REUSABLE COMPONENTS */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

.tiny { 
    font-size: 80%;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 100%;
    font-style: italic;
}

section { padding: 80px 0; }

.box {
    padding: 1%;
    line-height: 145%;
}

.box li { font-size: 90%; }

/* HEADINGS */

h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 240%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 180%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: red;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h3 {
    font-size: 110%;
    margin-bottom: 15px;
    margin-top: 15px;
}

/* PARAGRAPHS */


.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
}

.box p {
    font-size: 90%;
    line-height: 145%;
}

/* ICONS */

.icon-big {
    font-size: 350%;
    display: block;
    color: red;
    margin-bottom: 0;
}

.icon-small {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: red;
    font-size: 120%;
    margin-right: 10px;
    
/* For aligning text and icons */
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

/* LINKS */

a:link,
a:visited {
    color: red;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid red;
    -webkit-transition: border-bottom 0.2s, color 0.2s;
    transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
    color: #555;
    border-bottom: 1px solid transparent;
}

/* BUTTONS */

.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn:link,
.btn:visited { margin-bottom: 1px; }

.btn-full:link,
.btn-full:visited, 
input[type=submit] {
    background-color: red;
    border: 1px solid red;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid red;
    color: red;
    font-weight: 400;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #b20000;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #b20000;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #b20000;
    color: #fff;
    font-weight: 300;
}

/* RESPONSIVE IMAGE */

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

strong, em { font-weight: 700 }

/* ------------------------------------------- */
/* HEADER */

header {
    background-image: url(img/TokyoTower3-min.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
    background-color: #555;
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-text-box .btn-full:link,
.hero-text-box .btn-full:visited { margin-bottom: 10px; }

.logo {
    height: 40px;
    width: auto;
    float: left;
    margin-top: 50px;
}

.logo-black-box {
    display: none;
    height: 50px;
    width: auto;
    float: left;
    margin: 5px 0;
}

.logo-black { 
    height: 30px;
    width: auto;
    margin: 10px 0 5px 0;
}

/* MAIN NAV */

.main-nav {
    float: right;
    list-style: none;
    margin-top: 55px;
}

.main-nav li {
    display: inline-block;
    margin-left: 25px;
}

.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 2px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active { border-bottom: 2px solid red; }

/* MOBILE NAV */
.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/*STICKY NAV*/
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
    z-index: 9999;
}

.sticky .main-nav { margin-top: 18px; }

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 16px 0;
    color: #555;
}

.sticky .logo { display: none; }
.sticky .logo-black-box { display: block; }

/* ------------------------------------------- */
/* LESSON METHOD */

.method-box { margin-top: 70px; }

.method-box:first-child {
    text-align: center;
    padding-right: 3%;
}


.method-box:last-child { padding-left: 3%; }

.taka-sensei-picture { 
    width: 100%;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 3px 3px 3px #c3bfbf;
}

.teaching-method,
.about-me-text { 
    margin-bottom: 50px; 
    line-height: 145%;
}

.steps-number {
    color: red;
    border: 2px solid red;
    display: inline-block;
    border-radius: 50%;
    height: 33px;
    width: 33px;
    text-align: center;
    float: left;
    font-size: 100%;
    margin-right: 15px;
    padding-right: 1px
}

.method-steps { min-height: 30px; }

.teaching-method p { margin-bottom: 10px; }

.teaching-method h3:first-of-type { color: red; }

.btn-app:link,
.btn-app:visited { border-bottom: 0; }

.btn-app img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

/* ------------------------------------------- */
/* FEATURES */

.section-features { background-color: #f4f4f4; }

.section-features .box { 
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 3%;
}
.section-features h3 { margin-top: 0; }

.section-features ul { list-style-position: inside; }

.section-features ul li {
    color: red;
    line-height: 145%;
}

.section-features ul li span{ color: #555; }

.section-features h2 { margin-bottom: 50px; }

/* ------------------------------------------- */
/* TESTIMONIALS */

.section-testimonials {
    background-image: url(img/Pagoda-Asakusa-min.jpg);
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
    background-color: #F4F4F2;
}

blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
    position: relative;
    margin-top: 40px;
    font-size: 80%
}

blockquote:before {
    content: "\201C";
    font-size: 400%;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
}

cite {
    font-size: 80%;
    margin-top: 25px;
    display: block;
}

cite img {
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

/* ------------------------------------------- */
/* FEES */

.section-fees { background-color: #f4f4f4; }  

.fee-box,
.fee-details-box {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    margin-left: 5%;
    box-shadow: 0 2px 2px #efefef
}

.fee-box div,
.fee-details-box div {
    padding: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.fee-box div:first-child {
    background-color: #fcfcfc;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.fee-box div:last-child {
    text-align: center;
    border: none;
}

.fee-price {
    font-size: 300%;
    margin-bottom: 10px;
    font-weight: 100;
    color: red;
}

.fee-price-meal { font-size: 80%; }

.fee-price span {
    font-size: 30%;
    font-weight: 300;
}

.fee-box ul { list-style: none; }

.fee-box ul li { padding: 5px 0; }

.fee-details-box { line-height: 145% }

.fee-details-box:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.fee-details-box:last-child { border: none; }

.section-fees span { color: red; }

/* ------------------------------------------- */
/* UDEMY */

.udemy-box:last-child { padding-left: 3%; }

/* ------------------------------------------- */
/* GROUP */

/*.section-group { background-color: #f4f4f4; }*/

.group-text { padding-top: 15px; }

.red { color: red; }


/* ------------------------------------------- */

/* DIGITAL */

.section-udemy { background-color: #f4f4f4; }


/* ABOUT ME */

 /*.section-about { background-color: #f4f4f4; } */

/* ------------------------------------------- */

.about-me-box { margin-top: 70px; }

.about-me-box:last-child {
    text-align: center;
    padding-right: 3%;
}


.about-me-box:first-child {
    padding-left: 3%;
    padding-right: 3%
}

/* ------------------------------------------- */
/* FORM */

.section-form  { background-color: #f4f4f4; }

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

select { background-color: white; }

textarea { height: 100px; }

input[type=checkbox] { margin: 10px 5px 10px 0; }

/* ------------------------------------------- */
/* FOOTER */

footer {
    background-color: #333;
    padding: 50px;
    font-size: 80%;
}

footer p {
    color: #888;
    text-align: center;
    margin-top: 20px;
}

.footer-nav {
    list-style: none;
    float:left;
    margin-top: 5px;
}

.footer-nav li {
    margin-right: 20px;
}

.footer-nav li a:link,
.footer-nav li a:visited {
    text-decoration: none;
    border: 0;
    color: #888;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active { color: #ddd; } 

/* ------------------------------------------- */
/* ANIMATIONS */

.js--wp-1,
.js--wp-2,
.js--wp-3,
.js--wp-3-1,
.js--wp-4 {
    opacity: 0;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

.js--wp-6 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
}

.js--wp-5 { 
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-font-smoothing: subpixel-antialiased;	
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;	
}

.js--wp-1 .animated,
.js--wp-2 .animated,
.js--wp-3 .animated,
.js--wp-3-1 .animated,
.js--wp-4 .animated { opacity: 1; }

/* MAIL MESSAGES */
.form-messages {
    border-radius: 5px;
    max-width: 300px;
    padding: 2px;
    margin: 0 auto 10px auto;
    text-align: center;
    box-shadow: 2px 2px 2px #c3bfbf;
    font-size: 90%
}

.success {
    border: 1px solid #00B233;
    color: #00B233;
}

.error {
    border: 1px solid red;
    color: red;
}

/* SLICK */
.slide-width {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

/* These overwrite the original slick css files */
.slick-slider {
	margin-left: 20px;
	margin-right: 20px;
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before
{ color: white; }