/************************ FONT ************************/
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700');

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
nav,
body,
input,
textarea,
label,
.main-nav__container-item a:link,
.header__title,
.sf_field label.w2llabel,
.w2linput.submit,
.section__heading,
.post-promotion__excerpt p,
.post-promotion__title,
.post-promotion__button,
.footer-menu__container-link,
.course__description,
.course__button,
.access__content address,
.access__content p,
.access__link,
.footer__address,
.course-full__introduction h1,
.course-full__introduction p,
.course-full__title,
.course-full__details-navigation-item,
.course-full__detail h2,
.access__list-item,
.post-featured__title,
.post-featured__excerpt p,
.post-featured__author,
.post-categories__link,
.post__title,
.post__category,
.post-full__title,
.post-full__author,
.posts__search-input,
.ms-options label,
.wpcf7-list-item-label,
.wpcf7-submit,
.post-featured--blue .post-featured__category,
.section__container h2,
.post-full__pagination-title,
.post-full__call-to-action-link,
.post-author-full__title,
.text-primary,
.staff-full__sub-title,
.course-full__detail h3 {
  font-family: 'Roboto', LubalinBQ-Book,Georgia,"Times New Roman",Times,sans-serif;
  font-weight: 400;
}

/* Weight adjustment */
.course-full__introduction h1,
.section__heading {
  font-weight: 600;
}


/* remove uppercase */
h2 {
  text-transform: initial;
}
/* remove uppecase and use capitalize */
.course-full__title,
.course-full__detail h2,
.course-full__details-navigation-item,
.w2linput.submit,
.footer-menu__container-link,
.main-nav__container-item,
.body--grey .header__title,
.access__list-item,
.post-full__pagination-text,
.header__title {
  text-transform: capitalize;
}

/* font size adjustments */
.post-featured__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
}

/* font size adjustments */
@media (max-width: 767px) {
  .course__title {
      font-size: 20px;
  }
  h2 {
    line-height: 1.1;
    font-size: 32px;
  }
  .course-full__introduction h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  .header__title {
    font-size:40px;
  }
  .post-full__title {
    margin-top:10px;
    font-size:36px;
    line-height: 1.3;
  }
}



/************************ COLOR ************************/


.body--yellow .header:after,
.body--yellow .footer,
.course--yellow .course__title,
.ms-options li.selected label:before,
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus,
.w2linput.submit,
.body--grey .footer,
.body--blue .footer,
.body--green .footer,
.body--pink .footer,
.wpcf7-submit,
.error404.body--grey .header:after,
.post-full__pagination-previous:hover,
.post-full__pagination-previous:active,
.post-full__pagination-previous:focus,
.post-full__call-to-action {
  background-color: #FBAE3C;
}

.post-full__pagination-next:hover:after,
.post-full__pagination-previous:hover:after {
  background-color: rgba(172,103,0,.5);
}

.course--yellow .course__button {
  border-color: #FBAE3C;
  color: #FBAE3C;
}

a,
.footer-menu__container-link--selected,
.footer-menu__container-link:hover,
.footer-menu__container-link:visited:hover,
.staff-profile__title,
.main-nav__container-item-parent--selected a:link,
.main-nav__container-item-parent--selected a:visited,
.main-nav__container-item-parent--selected a,
.main-nav__container-item a:hover,
.main-nav__container-item a:visited:hover,
.main-nav--is-stuck .main-nav__logo:before,
.text-primary,
.wpcf7-form .text-primary,
.main-nav-responsive__button--open:before,
.main-nav--is-stuck .main-nav-responsive__button,
.social-link.social-link--ja:hover,
.post-full__call-to-action-link:link,
.post-full__call-to-action-link:visited,
.post-full__call-to-action-link,
.staff-full__sub-title,
.sf_field label.w2llabel {
  color: #FBAE3C;
}

.sf_field_first_name label.w2llabel,
.sf_field_last_name label.w2llabel,
.sf_field_email label.w2llabel,
.sf_field_phone label.w2llabel,
.sf_field_referral__c label.w2llabel,
.sf_field_mailchimp__c label.w2llabel {
  color: #000000;
}

a:hover,
a:focus,
a:active {
  color: #dc8a11;
}


/************************ TOP NAVIGATION ************************/
.main-nav__container-item a:link {
  line-height: 90px;
}

.main-nav__container-item--selected a:link {
  font-weight: 400;
}


.main-nav__container-item--selected a:link,
.main-nav__container-item--selected a:visited,
.main-nav__container-item--selected a,
.main-nav__container-item--selected a:link:hover,
.main-nav__container-item--selected a:visited:hover,
.main-nav__container-item--selected a:hover,
.main-nav__container-item-parent--selected a:link,
.main-nav__container-item-parent--selected a:visited,
.main-nav__container-item-parent--selected a,
.main-nav__container-item-parent--selected a:hover,
.main-nav__container-item-parent--selected a:link:hover,
.main-nav__container-item-parent--selected a:visited:hover {
  color: #333333;
}

.main-nav--is-stuck .main-nav__logo:hover {
  opacity: .8;
}

.logo:before {
  width: 156.15px;
  height: 183.66px;
  margin: 0 auto 3px;
  background-image: url(images/coto-japanese-academy-logo.svg);
}

@media (max-width: 767px) {
  .logo:before {
    width: 105.4px;
    height: 123.97px;
  }
}

@media (max-width: 767px) {
  .logo {
    padding-bottom: 83px;
  }
}
@font-face {
 font-family: 'Omnes';
 src: url('fonts/Omnes/Omnes-Regular.eot');
 src: url('fonts/Omnes/Omnes-Regular.woff2') format('woff2'),
      url('fonts/Omnes/Omnes-Regular.woff') format('woff'),
      url('fonts/Omnes/Omnes-Regular.ttf') format('truetype');
}
h1.logo__title {
  font-family: 'Omnes', 'roboto', LubalinBQ-Book,Georgia,"Times New Roman",Times,sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
}

@media (max-width: 767px) {
  h1.logo__title {
    font-size: 47px;

  }
}
/* front page slides */
.slide {
    box-shadow: inset 0px -270px 180px -100px rgba(0,0,0,0.25);
    -webkit-box-shadow: inset 0px -270px 180px -100px rgba(0,0,0,0.25);
    -moz-box-shadow: inset 0px -270px 180px -100px rgba(0,0,0,0.25);
}

.social-link {
  line-height: 86px;
}

@media (max-width: 767px) {
  .social-link {
    line-height: 54px;
  }
}

/* Main nav Logo */
.main-nav__logo {
  top: 9px;
}
.main-nav__logo:before {
  display: none;
}
.main-nav__logo svg path {
  transition: all 0.13s ease-in-out;
  -webkit-transition: all 0.13s ease-in-out;
  -moz-transition: all 0.13s ease-in-out;
  -ms-transition: all 0.13s ease-in-out;
  -o-transition: all 0.13s ease-in-out;
}
#main-nav:not(.main-nav--is-stuck) .main-nav__logo svg path {
  fill: #ffffff;
}

.logo-name {
  font-size: 22px;
  color: #ffffff;
  line-height: 47px;
  margin-left: 8px;
  float: right;
  font-family: 'Omnes', 'roboto', LubalinBQ-Book,Georgia,"Times New Roman",Times,sans-serif;
}

.main-nav--is-stuck .logo-name {
  color: #333333;
}

@media (max-width: 767px) {
  .main-nav__logo svg.desktop {
    display: none;
  }
  .main-nav__logo {
    top: 4px;
  }
}

@media (min-width: 768px) {
  .main-nav__logo svg.mobile,
  .logo-name {
    display: none;
  }
}


.slick-dot:before {
  font-size: 40px;
}

.error404.body--grey .header:after {
  opacity: 1;
}

@media (max-width: 767px) {
  .main-nav--is-stuck {
    height: 60px;
  }
}
.main-nav-responsive__button {
  right: 8px;
  top: 5px;
}

header.front-page {
  overflow: hidden;
  max-height: 500px;
}
@media (max-width: 767px) {
  header.front-page {
    max-height: 400px;
  }
}


/************************ INQUIRY ************************/

.nice-select:after {
  border-bottom: 3px solid #FBAE3C;
  border-right: 3px solid #FBAE3C;
}

.w2linput.submit,
.wpcf7-submit {
  border: 2px #FBAE3C solid;
}
.w2linput.submit:hover,
.wpcf7-submit:hover {
  color: #FBAE3C;
}
.sf_type_multi-select {
  padding-bottom: 0;
}

.has-dropdown .wpcf7-form-control-wrap:after {
  display: none;
}

.has-radio .wpcf7-list-item label.active:before,
.has-checkbox .wpcf7-list-item label.active:before {
  background-color: #FBAE3C;
}

.has-checkbox .wpcf7-list-item label:hover:before,
.has-radio .wpcf7-list-item label:hover:before {
  background-color: #FBAE3C;
  -webkit-transition: background-color .5s;
  -o-transition: background-color .5s;
  transition: background-color .5s;
}

/************************ HOME POST PROMOTION ************************/
.post-promotion__container-inner,
.post-promotion__container-inner h2 {
  text-align: left;
  text-shadow: 0px 2px 6px rgba(0, 0, 0, 0.31)!important;
}
@media (max-width: 543px) {
  .post-promotion__container-inner,
  .post-promotion__container-inner h2 {
    text-align: center;

  }
}


.post-promotion__container-inner p {
  font-weight: 300;
}
.post-promotion__button {
  color: #ffffff;
  background-color: #FBAE3C;
  text-shadow: none;
  line-height: 49px;
  border-radius: 49px;
}
.post-promotion__button:hover,
.post-promotion__button:active,
.post-promotion__button:focus,
.post-promotion:hover .post-promotion__button {
  background-color: #EE9A1E;
}
.post-promotion__container-inner {
  padding: 30px 0;
}

.post-promotion:after {
  background-color:rgba(0,0,0,.1)!important;
}


/************************ BLOG PAGINATION ************************/
.posts__pagination a.page-numbers {
  border: 1px #FBAE3C solid;
  border-color: #FBAE3C;
  color: #FBAE3C;
}

.posts__pagination a.page-numbers:hover,
.posts__pagination a.page-numbers:focus,
.posts__pagination a.page-numbers:active {
  background-color: #FBAE3C;
  color: #ffffff;
  border: 1px #FBAE3C solid;
}

.posts__pagination .current {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}


/************************ BLOG POST ************************/

.post-featured:after {
  background-color:rgba(0,0,0,.1)!important;
  background-image: none!important;
}
.post-full__call-to-action-link:hover:link,
.post-full__call-to-action-link:hover:visited,
.post-full__call-to-action-link:hover {
  background: #D37E00;
  color: #ffffff;
}


/************************ TOP BANNER ************************/

#hero.header.header--shade:after {
  background-color: #000000;
  opacity: .3;
}

.body--grey .header__title,
.body--pink .header__title,
.body--blue .header__title,
.body--green .header__title,
.body--yellow .header__title {
  text-shadow: 0 0 20px rgba(0,0,0,0.15);
}

/************************ INDIVIDUAL COURSE PAGE ************************/

.body--blue .text-primary {
  color: #2ea8c3;
}
.body--pink .text-primary {
  color: #ef5e74;
}
.body--green .text-primary {
  color: #b7ba5c;
}

/************************ SITE CONTAINER ADJUSTMENTS ************************/
.course-full__container,
.course-full__details-list,
.contact__container,
.posts__container,
.post-featured__container,
.section__container,
.courses__container,
.post-promotion__container {
  max-width: 1150px;
}

.contact__container,
.error404 .section__container{
  max-width: 900px
}

/************************ FOOTER ************************/
.footer__address a:link:hover,
.footer__address a:visited:hover,
.footer__address a:hover,
.footer__address a:link:active,
.footer__address a:visited:active,
.footer__address a:active,
.footer__address a:link:focus,
.footer__address a:visited:focus,
.footer__address a:focus {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-menu__container:before {
    font-size: 300px;
  }
  .footer-menu__container {
    height: 260px;
    width: 300px;
  }
}
@media (max-width: 543px) {
  .footer-menu {
    padding-bottom: 30px;
  }
}

/************************ ABOUT ************************/

a.staff-profile:hover h4.staff-profile__title,
a.staff-profile:active h4.staff-profile__title,
a.staff-profile:focus h4.staff-profile__title {
  color: #dc8a11;
}
a.staff-profile:hover h5.staff-profile__sub-title,
a.staff-profile:active h5.staff-profile__sub-title,
a.staff-profile:focus h5.staff-profile__sub-title {
  color: #b2b2b2
}


/************************ CJC POP UP MODAL  ************************/
/* Modal Button */
.cjc-top-link {
  width: 200px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translatex(-50%);
  z-index: 2;
  border: none;
  background-color: #00bbb4;
  color: #ffffff;
  padding: 8px 28px;
  border-radius: 26px;¥
  transition: all 0.13s ease-in-out;
  -webkit-transition: all 0.13s ease-in-out;
  -moz-transition: all 0.13s ease-in-out;
  -ms-transition: all 0.13s ease-in-out;
  -o-transition: all 0.13s ease-in-out;
  font-size: 16px;
}

@media (max-width: 767px) {
  .cjc-top-link {
    top: 5px;
    padding: 8px 15px;
    width: 163px;
  }
}

.cjc-top-link:hover,
.cjc-top-link:active,
.cjc-top-link:focus {
  background-color: #00AAA4;
  outline: none;
}

/* Modal*/
#cjc-promotion.modal {
  z-index: 9999999;
  background-color: transparent;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  display: block!important;
  pointer-events: none;
}

.modal-open #cjc-promotion.modal {
  background-color: rgba(0,0,0,.5);
  opacity: 1;
  pointer-events:initial;
}

#cjc-promotion .modal-dialog {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  transform: translatey(-50%);
  max-width: 427px;
  width: calc(100% - 40px);
  margin: 0 auto;
}


#cjc-promotion .modal-content {
  text-align: center;
  border-radius: 0;
  position: relative;
  box-shadow: none;
  border: none;
}

#cjc-promotion button.close {
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: 6px;
  border: none;
  background-color: transparent;
  color: #ffffff;
  font-size: 30px;
  width: 100%;
  text-align: right;

}

#cjc-promotion .modal-banner {
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  height: 168px;
}

#cjc-promotion .modal-banner img {
  margin-top: 43px;
}

#cjc-promotion .text-content {
  padding: 40px;
  padding-top: 30px;
}

#cjc-promotion .text-content a {
  padding: 10px 40px;
  border-radius: 30px;
  border: 1px solid #00bbb4;
  color: #00bbb4;
}

#cjc-promotion .text-content a:hover,
#cjc-promotion .text-content a:active,
#cjc-promotion .text-content a:focus {
  background: #00bbb4;
  color: #ffffff;
}

#cjc-promotion h3 {
  letter-spacing: 0px;
  line-height: 1.3;
  color: #4A4A4A;
}

#cjc-promotion p {
  font-size: 16px;
  line-height: 1.5;
  color: #4A4A4A;
  margin: 15px auto;
  margin-bottom: 48px;
}

.modal-backdrop {
  background-color: transparent;
}

/************************ ACCESS PAGE ************************/

.cjc-link-content {
  background: #ffffff;
  padding: 23px;
  text-align: center;
  max-width: 535px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
  margin-top: -15px;
}
.cjc-link-content img {
  width: 141px;
  height: 71px;
  margin: 0 auto;
  margin-bottom: 7px;
}

.cjc-link-content a {
  padding: 10px 40px;
  border-radius: 30px;
  border: 1px solid #00bbb4;
  color: #00bbb4;
  display: inline-block;
  margin-bottom: 2px;
}

.cjc-link-content a:hover,
.cjc-link-content a:active,
.cjc-link-content a:focus {
  background: #00bbb4;
  color: #ffffff;
}

/************************ COURSE CARDS ************************/

html:not(.ie) .courses__container .course a {
  min-height: auto;
}

html.ie .courses__container .course a {
  min-height: 350px;
}

@media (max-width: 960px) and (min-width: 768px) {
  html.ie .courses__container .course a {
    min-height: 430px;
  }
}

@media (min-width: 768px) {
  .course {
    width: 33.28533%
  }
  html:not(.ie) .courses__container {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
  }
  html:not(.ie) .courses__container .course {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
  }
  html:not(.ie) .courses__container .course a {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  }
  html:not(.ie) .courses__container .course a .course__button {
    margin: 0 30px 20px;
  }
}
html:not(.ie) .courses__container .course a .course__description[itemprop="description"] {
  padding-bottom: 15px;
}
html:not(.ie) .courses__container .course a small.course__information {
  padding-bottom: 80px;
}
@media (max-width: 767px) {
  html:not(.ie) .courses__container .course a small.course__information {
    padding-bottom: 25px;
  }
}

.slick-arrow {
  width: 10%;
}

#two-column{
    width: 550px;
}
#two-column #left{
    width: 300px;
    float: left;
}
#two-column #right{
    width: 250px;
    float: right;
}
#two-column p{
    margin-bottom: 12px;
}
#two-column input[type="text"]{
    border:none;
    border:1px solid #000;
    font-size :14px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 540px;
    padding: 5px;
}
#two-column #right input[type="text"], #two-column #left input[type="text"]{
    width:240px;
}
#two-column textarea {
   position: relative;
   padding: 5px;
   border:1px solid #000;
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
   width: 540px;
}
#two-column input[type="submit"]{
    padding:8px 18px;
    background:#222;
    color:#fff;
    border: 1px solid #fff;
    float:right;
    font-size: 14px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#two-column input[type="text"]:focus, #two-column textarea:focus{
    background: #eee;
}
#two-column input[type="submit"]:hover{
    background:#fff;
    color:#222;
    border: 1px solid #222;
}


