html{
  height:100%;
  overflow-y:scroll;
}
body {
  height:100%;
  font: 13px/1.231 'Lato', YuGothic, '游ゴシック', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック' ,sans-serif;
  font-weight: 500;
  font-feature-settings: "palt";
  line-height:1.7;
  letter-spacing: .08em;
  *font-size: small;
  *font: x-small;
  color:#000;
  line-height:2;
  -webkit-font-smoothing: antialiased;
}
@media all and (-ms-high-contrast:none){
  body{
    font-family: "メイリオ",Meiryo,'Lato', YuGothic, '游ゴシック', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック' ,sans-serif;
  }
}
*,
*:after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ul,ol {list-style: none;}
small {font-size: 86%;}

a {
  color: #333;
  text-decoration: none;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
a:hover {
  color: #c5ccd6;
  text-decoration: none;
}
img {
    vertical-align: bottom;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
@media screen and (max-width: 767px) {
  img {
    max-width: 100%;
    height: auto;
  }
}
.mgnBtm10 {  margin-bottom: 10px;}
.mgnBtm20 {  margin-bottom: 20px;}
.mgnBtm30 {  margin-bottom: 30px;}
.mgnBtm40 {  margin-bottom: 40px;}
.mgnBtm50 {  margin-bottom: 50px;}
.mgnBtm60 {  margin-bottom: 60px;}

.fltRgt { float: right;}
.fltLft { float: left; }
.tCtr { text-align: center;}
.tRgt { text-align: right;}

/* --- pc or sp --- */
.pc-none,
.pc-none-inline,
.pc-none-table,
.pc-none-flex { display: none; }
.sp-none { display: block; }
.sp-none-inline { display: inline; }
.sp-none-table { display: table; }
.sp-none-flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
@media screen and  (max-width: 767px) {
  .mgn-btm16 { margin-bottom: 8px; }
  .mgn-btm24 { margin-bottom: 16px; }
  .mgn-btm32 { margin-bottom: 16px; }
  .mgn-btm40 { margin-bottom: 24px; }
  .mgn-btm48 { margin-bottom: 24px; }
  .mgn-btm56 { margin-bottom: 32px; }
  .mgn-btm64 { margin-bottom: 32px; }
  .mgn-btm72 { margin-bottom: 40px; }
  .mgn-btm80 { margin-bottom: 40px; }
  .sp-none,
  .sp-none-inline,
  .sp-none-table,
  .sp-none-flex { display: none; }
  .pc-none { display: block; }
  .pc-none-inline { display: inline; }
  .pc-none-table { display: table; }
  .pc-none-flex {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  @-moz-document url-prefix() {
    *{ font-feature-settings: "palt";}
  }
  @media screen and (-webkit-min-device-pixel-ratio:0) {
    *{ font-feature-settings: "palt";}
  }
}



/* =====================================================================================

    COMMON

===================================================================================== */

/* layout
 **************************************** */
.container {

}
/* --- inner --- */
.inner {
  width: 1000px;
  margin: 0 auto;
}
.inner-s {
  width: 800px;
  margin: 0 auto;
}
.section-pdg {
  padding: 80px 0;
}
@media screen and (max-width: 767px) {
  .inner,
  .inner-s {
    width: 100%;
  }
  .section-pdg {
    padding: 40px 15px;
  }
}




/* =====================================================================================

    HEADER

===================================================================================== */
header {
  background: #fff;
  padding: 25px 30px;
  /*position: fixed;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,.1);*/
}
.header-logo {
  float: left;
}
@media screen and (max-width: 767px) {
  header {
    padding: 20px;
  }
  .header-logo {
    width: 220px;
    line-height: 1;
  }
}

/* gnav
 **************************************** */
.gnav {
  float: right;
}
.gnav-menu li {
  padding-left: 35px;
  display: inline-block;
}
.gnav-menu li:first-child {
  padding-left: 0;
}
.gnav-btn,
.gnav-btn-close {
  display: none;
}
@media screen and (max-width: 767px) {
  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    padding: 50px 5% 5%;
    pointer-events: none;
    transition: .4s ease-out;
    transform: translateY(-100%);
    background-color: #eee;
    z-index: 9990;
  }
  .header.active .gnav {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .gnav a {
    display: block!important;
    padding: 16px 24px;
  }
  .gnav-menu li {
    padding: 0;
    display: inline;
    text-align: center;
  }

  /* ---gnav_btn --- */
  .gnav_btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 55px;
    z-index: 9999;
  }
  .gnav_btn--lines {
    position: relative;
    width: 28px;
    height: 20px;
    margin: 17px auto;
  }
  .gnav_btn--lines span {
    transition: all .4s;
    box-sizing: border-box;
  }
  .gnav_btn--lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #999;
  }
  .gnav_btn--lines span:nth-of-type(1) {
    top: 0;
  }
  .gnav_btn--lines span:nth-of-type(2) {
    top: 50%;
  }
  .gnav_btn--lines span:nth-of-type(3) {
    bottom: 0;
  }
  .header.active .gnav_btn--lines span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
  }
  .header.active .gnav_btn--lines span:nth-of-type(2) {
    opacity: 0;
  }
  .header.active .gnav_btn--lines span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
  }

}


/* =====================================================================================

    FOOTER

===================================================================================== */
footer {
  background: #f2f2f2;
  text-align: center;
  padding: 50px 0;
  color: #233a45;
}
footer dt {
  padding-bottom: 10px;
}
.pagetop {
}
.copyright {
  background: #fff;
  font-size: 76%;
  padding: 30px;
  text-align: center;
  color: #999;
}
@media screen and (max-width: 767px) {
  footer img {
    width: 75%;
  }
}

/* =====================================================================================

    HOME

===================================================================================== */
#hero {
  padding: 170px 0;
  width: 100%;
  text-align: center;
  position: relative;
}
#hero::after {
  position: absolute;
  z-index: -1;
  opacity: .8;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  display: block;
  background: #3a6073; /* Old browsers */
  background: -moz-linear-gradient(top, #3a6073 0%, #223843 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #3a6073 0%,#223843 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #3a6073 0%,#223843 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a6073', endColorstr='#223843',GradientType=0 ); /* IE6-9 */
}
@media screen and (max-width: 767px) {
  #hero {
    padding: 100px 0;
  }
  #hero img {
    width: 50%;
  }
}

/* newstopics
 **************************************** */
.newstopics {
  background: #eee;
  padding: 25px 0;
}
.newstopics dt,
.newstopics dd {
  display: table-cell;
}
.newstopics dt {
  padding-right: 20px;
}

/* top-update
 **************************************** */
.top-update {
  background: #fff;
}
.top-blog,
.top-lesson {
  width: 470px;
  float: left;
  position: relative;
}
.top-blog dt,
.top-blog dd {
  line-height: 1.5;
}
.top-blog dt {
  color: #aaa;
  float: left;
}
.top-blog dd {
  padding-left: 100px;
  padding-bottom: 12px;
}
.top-blog li {
  margin-top: 10px;
  display: inline-block;
}
.top-blog li:last-child {
  float: right;
}
.top-lesson {
  margin-left: 60px;
}
.top-lesson_list {
  position: relative;
  line-height: 1.6;
  overflow: hidden;
}
.top-lesson_list img {
  display: block;
  float: left;
  margin-right: 20px;
  margin-bottom: 37px;
}
.top-lesson_list .date {
  color: #ccc;
}
.top-lesson_list h3 {
  font-weight: bold;
  font-size: 115.3%;
  margin-bottom: 5px;
}

.top-subttl {
  border-bottom: 1px solid #cccccc;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.top-subttl img {
  margin-top: -15px;
  margin-left: -25px;
}
.top-subbtn {
  display: block;
  border-radius: 30px;
  padding: 0 15px;
  color: #fff;
  background: #233a45;
  position: absolute;
  top: 15px;
  right: 0;
  font-size: 84.6%;
}
@media screen and (max-width: 767px) {
  .newstopics {
    padding: 20px;
  }
  .top-blog,
  .top-lesson {
    width: 100%;
    margin: 0;
  }
  .top-blog ul {
    margin-bottom: 30px;
  }
  .top-blog li {
    display: block;
    text-align: center;
  }
  .top-blog li:last-child {
    float: inherit;
  }
  .top-lesson_list img {
    width: 50%;
  }
}


/* top-about
 **************************************** */
.top-about {
  background: #fff url(/wp-content/themes/northcherry/images/about_bg.jpg) 0 0 no-repeat;
  background-size: cover;
  text-align: center;
  color: #FFF;
  font-size: 107.7%;
}
.top-about h3 {
  margin-top: 30px;
  margin-bottom: 30px;
}
.top-about p {
  margin-top: 15px;
}


/* top-message
 **************************************** */
.top-message {
  background: #fff;
  background: radial-gradient(#fff, #eee);
  font-size: 115.4%;
  overflow: hidden;
}
.top-message .inner {
  width: 880px;
  padding-right: 280px;
  position: relative;
}
.top-message-hirai {
  position: absolute;
  bottom: -25px;
  right: -50px;
}
.top-message h2 {
  margin-left: -35px;
  padding-bottom: 25px;
}
.top-message p {
  padding-top: 15px;
}
@media screen and (max-width: 767px) {
  .top-message {
    padding-bottom: 250px;
  }
  .top-message .inner {
    width: 100%;
    padding-right: 0;
  }
  .top-message-hirai {
    width: 50%;
    bottom: -250px;
  }
}

/* top-entry
 **************************************** */
.top-entry {
  background: #fff url(/wp-content/themes/northcherry/images/entry_bg.jpg) 0 0 no-repeat;
  background-size: cover;
  text-align: center;
}
.top-entry h2 {
  margin-bottom: 20px;
}
.top-entry h2 img {
  margin-left: -43px;
}
.wpcf7-form {
  width: 510px;
  margin: 0 auto;
  text-align: left;
}
.wpcf7-form label {
  color: #fff;
  display: block;
  margin-top: 10px;
}
.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  padding: 10px 15px;
  border: none;
  font: inherit;
}
.wpcf7-textarea {
  height: 150px;
}
.wpcf7-submit {
  background: #ddbb00;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 132%;
  width: 250px;
  margin: 20px auto 0;
  display: block;
  padding: 15px;
  -webkit-appearance: none;
}

div.wpcf7-response-output {
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .wpcf7-form {
    width: 100%;
  }
}


/* =====================================================================================

    PAGE(COMMON)

===================================================================================== */
.pagetitle {
  background: #233a45 url(../images/page_ttl_bg.jpg);
  color: #fff;
  font-size: 200%;
  padding: 60px 0;
  text-align: center;
}
.side-column {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  float: left;
  padding: 20px;
  width: 180px;
}
.side-column .side-ttl {
  font-size: 150%;
}
.main-column {
  float: right;
  width: 740px;
}
.one-column p {
  font-size: 107.6%;
  margin-bottom: 1em;
}
.section-ttl {
  font-size: 200%;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.7;
}
.section-ttl small {
  font-size: 40%;
  display: block;
  color: #db0;
}
.section-ttl small::after {
  content: '';
  display: block;
  height: 1px;
  width: 10px;
  background: #db0;
  margin: 10px auto;
}
.sub-ttl {
  font-size: 123%;
  margin-bottom: 5px;
}
.txt-ctr {
  text-align: center;
}
.bg-gry {
  background: #eee;
}
.bg-wht {
  background: #fff;
}
.flex {
  display: flex;
  flex-wrap:wrap;
}
.col-2 > * {
  padding: 30px 40px;
  margin-left: 30px;
  width: 385px;
}
.col-2 > *:nth-child(odd) {
  margin-left: 0px;
}
.col-3 > * {
  width: 240px;
  margin-left: 40px;
  margin-bottom: 30px;
}
.col-3 > *:nth-child(3n+1) {
  margin-left: 0;
}
.table-style {
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  width: 100%;
}
.table-style th,
.table-style td {
  vertical-align: middle;
  padding: 10px 15px;
  border-top: 1px solid #ccc;
  line-height: 1.8;  
}
.table-style th {
  border-right: 1px solid #ccc;
  background: #eee;
  white-space: nowrap;
}

.cta {
  background: #233a45;
  color: #fff;
  font-weight: bold;
  padding: 30px;
  margin: 0 auto;
  text-align: center;
  width: 680px;
}
.cta h3 {
  font-size: 150%;
}
.cta a {
  text-decoration: underline;
  color: #fff;
}
a.btn-wht {
  background: #fff;
  border-radius: 100px;
  display: inline-block;
  color: #233a45;
  padding: 15px 60px;
  text-decoration: none;
  font-weight: bold;
  font-size: 120%;
}

@media screen and (max-width: 767px) {
  .side-column,
  .main-column,
  .col-2 > *,
  .col-3 > *,
  .cta {
    width: 100%;
  }
  .col-2 > * {
    padding: 20px;
    margin: 15px 0 0;
  }
  .col-3 > * {
    width: 50%;
    padding: 10px;
    margin: 0;
  }
}


/* =====================================================================================

    LESSON

===================================================================================== */

/* lesson-about
 **************************************** */
.lesson-about--txt {
  width: 550px;
  padding: 15px 0;
}
.lesson-about--txt h3 {
  font-size: 150%;
}
.lesson-about--txt .section-ttl small::after {
  margin-left: 2px;
}
.lesson-about .cta {
  font-size: 120%;
}

/* lesson-example
 **************************************** */
.lesson-example {
    background-image: url(../images/lesson/bg_example.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
}
.lesson-example .section-ttl {
  color: #fff;
}
.lesson-example .bg-wht {
  padding: 30px;
}

.lesson-example th {
  font-size: 130%;
}

/* lesson-price
 **************************************** */
.lesson-price .price {
  text-align: center;
  margin-bottom: 20px;
  color: #f66;
  font-size: 115.3%;
  font-weight: bold;
}
.lesson-price-course h3 {
  text-align: center;
  font-size: 200%;
}
.lesson-price-course .table-style th {
  background-color: transparent;
}
.lesson-price-course .table-style td {
  color: #db0;
  text-align: right;
}

/* lesson-instructors
 **************************************** */
.lesson-instructors section {
  margin-bottom: 40px;
}
.lesson-instructors section img {
  float: right;
  margin-left: 40px;
}
.lesson-instructors p {
  width: 520px;
}

@media screen and (max-width: 767px) {
  .lesson-about--txt,
  .lesson-instructors p {
    width: 100%;
  }
  .lesson-example .table-style th,
  .lesson-example .table-style td {
    display: block;
  }
  .lesson-instructors section img {
    margin: 0 0 10px 10px;
    width: 50%;
  }
}

/* =====================================================================================

    TEENS

===================================================================================== */
.teens-hero {
  background-image: url(../images/teens/hero1.jpg);
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
  text-align: center;
  color: #fff;
}
.teens-hero h2 {
  font-size: 260%;
  margin-bottom: 20px;
  line-height: 1.5;
}
.teens-hero p {
  font-size: 120%;
  margin-bottom: 30px;
  font-weight: bold;
}

/* teens-greeting
 **************************************** */
.teens-greeting--txt {
  width: 550px;
  padding: 15px 0;
}
.teens-greeting--txt .section-ttl {
  text-align: left;
}
.teens-greeting--txt .section-ttl small::after {
  margin-left: 2px;
}

.notice {
  border: 2px solid #ed5b59;
  padding: 20px 30px;
  background: #fee;
  font-size: 114%;
  color: #ed5b59;
  margin-top: 40px;
}
.notice dt {
  font-weight: bold;
  text-align: center;
}

/* teens-about
 **************************************** */
.teens-about .teens-about--image {
  text-align: center;
  padding: 60px 180px;
  background: #fff;
  margin-bottom: 40px;
}
.teens-about .teens-about--image img {
  width: 100%;
}

/* teens-voice
 **************************************** */
.teens-voice {
  background-image: url(../images/teens/bg_voice.jpg);
  -webkit-background-size: cover;
  background-size: cover;
}
.teens-voice .section-ttl {
  color: #fff;
}

/* teens-faq
 **************************************** */
.teens-faq dl {
  padding: 10px 0;
  width: 380px;
  margin-left: 40px;
}
.teens-faq dt {
  font-size: 140%;
  color: #ed5b59;
  font-weight: bold;
}
.teens-faq dt {
  font-size: 140%;
  color: #ed5b59;
  font-weight: bold;
}

@media screen and (max-width: 767px) {
  .teens-greeting--txt,
  .teens-faq dl {
    width: 100%;
  }
  .teens-hero {
    padding: 60px 10px;
  }
  .teens-about .teens-about--image {
    padding: 20px;
    margin-bottom: 20px;
  }
  #guidelines .table-style th,
  #guidelines .table-style td {
    display: block;
  }
  .teens-faq dl {
    margin-left: 0;
  }
}


/* =====================================================================================

    BLOG

===================================================================================== */
.post {
  padding: 30px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  position: relative;
  overflow: hidden;
  font-size: 108%;
  margin-top: -1px;
}
.post .post-ttl {
  font-size: 180%;
}
.post .post-ttl a {
  display: block;
  text-decoration: none;
}
.post .post-ttl a:hover {
  text-decoration: underline;
}

/* postlist */
.postlist img {
  display: block;
  float: left;
  margin: 0 30px 0 0;
}
.postlist .textarea {
  margin: 0 0 0 350px;
}
.post-info {
  margin-top: -10px;
  overflow: hidden;
}
.post-info .date {
  font-size: 93%;
  color: #ccc;
  margin-top: 5px;
  float: right;
}
.post-info .cat_link a {
  background: #ed5b59;
  position: relative;
  z-index: 100;
  color: #fff;
  padding: 3px 5px;
  margin-right: 4px;
  font-size: 85%;
  text-decoration: none;
}
.link_area {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.link_area:hover{
  background:#FFF;
  filter:alpha(opacity=30);
  -moz-opacity: 0.3;
  opacity: 0.3;
}
.wp-pagenavi {
  margin: 0 0 15px;
}
.wp-pagenavi a,
.wp-pagenavi span {
  margin: 0 5px 0 0;
  box-shadow: 0 2px 1px 0 rgba(0,0,0,.15);
  padding: 10px 10px;
  background: #fff;
}

@media screen and (max-width: 767px) {
  .post {
    padding: 30px 10px;
  }
  .post .post-ttl {
    font-size: 130%;
  }
  .postlist img {
    float: none;
    display: block;
    margin: 0 auto 15px;
  }
  .postlist .textarea {
    margin: 0;
  }
}

/* blog-detail */
.eyecatch {
  padding-bottom: 10px;
}
.eyecatch img {
  max-width: 100%;
  height: auto;
  float: none;
}
#pageNav {
  font-size: 85%;
  text-align: center;
  margin: 0 0 30px;
}
#pageNav li{display: inline;}
#pageNav li a{
  max-width: 70px;
  overflow: hidden;
  display: inline-block;
  height: 1.32em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .eyecatch {
    text-align: center;
  }
}



/* =====================================================================================

    ARCHIVE

===================================================================================== */

/* wp-pagenavi
 **************************************** */
.wp-pagenavi {
  text-align: center;
  padding: 60px 0 0;
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi a,
.wp-pagenavi .current {
  padding: 2px 20px;
  display: inline-block;
  background: #c5ccd6;
  margin: 0 2px;
  text-decoration: none;
  font-weight: 300;
  font-size: 107%;
  border: 2px solid #c5ccd6;
  border-radius: 3px;
}
.wp-pagenavi a:hover {
  background: #d00a23;
  color: #c5ccd6;
  border-color: #d00a23;
}
.wp-pagenavi .extend {
  color: #c5ccd6;
  margin: 0 8px;
}
.wp-pagenavi .current {
  background: transparent;
}
@media (max-width: 640px) {
  #mainContent .container-mini .wp-pagenavi a {
    display: block;
    margin: 2px;
    line-height: 1.2;
    padding: 8px 15px;
  }
}

/* =====================================================================================

    SINGLE

===================================================================================== */

/* Wysiwyg editor
 **************************************** */
.wysiwyg {
  text-align: justify;
  text-justify: inter-ideograph;
  -ms-text-justify: inter-ideograph;
}
.wysiwyg ul,
.wysiwyg ol {
  margin: 1em 0;
} 
.wysiwyg ul li,
.wysiwyg ol li {
  position: relative;
  margin: 0;
  border-bottom: none;
  padding: 0;
  margin-left: 2em;
  padding-top: 8px;
  line-height: 1.65;
}
.wysiwyg ul li {
  margin: 0;
  padding-left: 2em;
}
.wysiwyg ul li:before {
  content: "\f185";
  position: absolute;
  left: 14px;
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  padding-top: 6px;
  font-weight: normal;
}
.wysiwyg ol li {
  list-style-type: decimal;
}
.wysiwyg img {
  margin: 20px 0;
  max-width: 100%;
  height: auto;
}
.wysiwyg hr {
  border-top: 3px double #ccc;
  background: transparent;
}
.wysiwyg .alignleft {
  float: left;
  clear: left;
  margin: 0 30px 30px 0;
}
.wysiwyg .alignright {
  float: right;
  clear: right;
  margin: 0 0 30px 30px;
}
.wysiwyg .aligncenter {
  display: block;
  margin: 30px auto;
}
.wysiwyg table {
  border: 2px solid #ccc;
  max-width: 100%;
  margin: 20px 0;
  line-height: 1.6;
}
.wysiwyg a,
.text-link {
  text-decoration: underline;
  color: #d00a23;
}
.wysiwyg table th,
.wysiwyg table td {
  padding: 8px 16px;
  border: 1px solid #ccc;
  font-size: 93%;
  vertical-align: middle;
}
.wysiwyg table th {
  white-space: nowrap;
}
.wysiwyg h1,
.wysiwyg h2,
.wysiwyg h3,
.wysiwyg h4,
.wysiwyg h5 {
  font-weight: normal;
  border-left: 5px solid;
  padding-left: 10px;
  line-height: 1;
  margin-bottom: 20px;
}
.wysiwyg h1 {  font-size: 172%;}
.wysiwyg h2 {  font-size: 158%;}
.wysiwyg h3 {  font-size: 143%;}
.wysiwyg h4 {  font-size: 129%;}
.wysiwyg h5 {  font-size: 115%;}

.wysiwyg p {
  margin-bottom: 1em;
  letter-spacing: 0.1em;
}
.wysiwyg blockquote{
  margin: 1em 0;
  padding: 15px 40px;
  border-radius: 3px;
  position: relative;
  display: inline-block;
  font-style: oblique;
  color: #666;
}
.wysiwyg blockquote p {margin-bottom: 0;}
.wysiwyg blockquote:before,
.wysiwyg blockquote:after {
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  font-size: 100%;
  position: absolute;
  width: 1em;
  height: 1em;
}
.wysiwyg blockquote:before {
  content: "\f10d";
  top: 13px;
  left: 10px;
}
.wysiwyg blockquote:after {
  content: "\f10e";
  bottom: 13px;
  right: 10px;
}

@media screen and (max-width: 767px) {
  .wysiwyg {
    font-size: 100%;
  }
  .wysiwyg .alignright,
  .wysiwyg .alignleft  {
    float: none;
    margin: 20px auto;
    display: block;
  }
  .wysiwyg blockquote {
    padding: 15px;
  }
  .wysiwyg blockquote:before {
    top: 0;
    left: 0;
  }
  .wysiwyg blockquote:after {
    bottom: 0;
    right: 0;
  }
  .wysiwyg ul li,
  .wysiwyg ol li {
    margin-left: 1em;
  }
  .wysiwyg ul li {
    padding-left: 0;
  }
  .wysiwyg ul li:before {
    left: -14px;
    padding-top: 6px;
    font-size: 12px;
  }
  div.box-graybg,
  div.box-line {
    padding: 25px;
  }
}

/* pagenav
 **************************************** */
#pageNav {
  text-align: center;
}
#pageNav li {
  display: inline-block;
  vertical-align: top;
  color: #eee;
}
#pageNav a {
  display: inline-block;
  line-height: 1.2;
  background:#c5ccd6;
  padding: 8px 32px;
  margin-bottom: 4px;
}
#pageNav a:hover {
  background: #eee;
  color: #fff;
}

@media screen and (max-width: 767px) {
  #pageNav li {
    display: block;
  }
  #pageNav a {
    display: block;
  }
}