/* ----------------------------------
Wordpress editor
------------------------------------*/
.wp-editor {
  overflow: hidden;
  word-break: break-all;
}

.wp-editor div:not(.article_banner) {
  max-width: 100% !important;
}

.wp-editor iframe {
  min-height: 370px !important;
  width: 100% !important;
}

.wp-editor figure:not(.gallery-item),
.wp-editor img:not(.gallery-item) {
  max-width: 100% !important;
  height: auto;
  vertical-align: top;
}

.wp-editor p {
  font-size: 14px;
}

.wp-editor ol {
  margin-bottom: 20px;
}

.wp-editor ol li {
  list-style: decimal outside none;
  margin-left: 18px;
}

.wp-editor ul {
  margin-bottom: 20px;
}

.wp-editor ul li {
  list-style-type: disc;
  margin-left: 18px;
}

.wp-editor figure {
  margin-bottom: 7px;
}

.wp-editor .alignleft,
.wp-editor .alignright,
.wp-editor .aligncenter {
  clear: both;
  display: block;
  float: none;
  margin: 0 auto 18px;
}

.wp-editor .wp-caption-text {
  text-align: left;
}

.wp-editor .wp-caption {
  margin-bottom: 20px;
}

.wp-caption .wp-caption-text {
  font-size: 12px;
  margin-top: 4px;
}

.wp-editor blockquote {
  border: 2px solid #000;
  background-color: #fff;
  margin: 30px 0;
  padding: 13px;
}

.wp-editor blockquote h6 {
  color: #ff0000;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.wp-editor blockquote td {
  vertical-align: top;
}

.wp-editor .quote {
  margin: 0 0 30px;
  background-color: #dcdcdc;
  border-radius: 8px;
  padding: 42px 13px 13px;
  position: relative;
}
.wp-editor .quote::before {
  content: "";
  background: url(../img/quote52x36.png) no-repeat 0 0 / 100% 100%;
  width: 26px;
  height: 18px;
  position: absolute;
  left: 13px;
  top: 12px;
}
.wp-editor .quote p {
  margin-bottom: 0;
}
.wp-editor .talk_icon {
  width: 19%;
  display: inline-block;
  vertical-align: top;
  margin-bottom: 30px !important;
  text-align: center;
  color: #505050;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}
.wp-editor .talk_icon figure {
  width: 100% !important;
}
.wp-editor .talk_icon img {
  border: 2px solid;
  border-radius: 50%;
  float: none !important;
  margin: 0 auto 5px !important;
  width: 100%;
  display: block;
  max-width: 150px;
}
.wp-editor .talk_text {
  border: 1px solid #898989;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 30px !important;
  padding: 8px 12px;
  position: relative;
  vertical-align: top;
  width: calc(80% - 25px);
}
.wp-editor .talk_text::before {
  content: "";
  position: absolute;
  top: 13px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 15px;
  height: 12px;
}
.wp-editor .talk_text-blue {
  background-color: #c1f3f6;
  margin-left: 20px;
}
.wp-editor .talk_text-yellow {
  background-color: #f6ff00;
  margin-right: 20px;
}
.wp-editor .talk_text-blue::before {
  background-image: url(../img/arrow30x24_blue.png);
  left: -15px;
}
.wp-editor .talk_text-yellow::before {
  background-image: url(../img/arrow30x24_yellow.png);
  right: -15px;
}
.wp-editor .product_table {
  width: 100%;
}
.wp-editor .product_table td:first-child {
  width: 122px;
  padding-right: 20px;
}
.wp-editor .product_table p {
  margin-bottom: 0 !important;
  line-height: 1.6;
}
.wp-editor .product_table figure {
  padding: 0 !important;
  width: 100% !important;
}
.wp-editor .product_table img {
  margin: 0 !important;
  width: 100% !important;
}
.wp-editor .product_table a {
  color: #31a7e0;
  text-decoration: underline;
}
.wp-editor .product_table a:hover {
  text-decoration: none;
}
.wp-editor .released_table {
  border: 2px solid #000;
  border-collapse: collapse;
  background-color: #fff;
  margin-bottom: 20px;
}
.wp-editor .released_table h6 span {
  display: block;
  font-weight: 700;
  font-size: 15px;
  background-color: #ff0000;
  color: #fff;
  line-height: 1.5;
  padding: 2px 13px 4px;
}
.wp-editor .released_table td {
  padding: 13px 13px 10px;
  width: 50%;
  border: 1px solid #000;
}
.wp-editor .released_table figure {
  width: 100% !important;
}
.wp-editor .released_table img {
  width: 100% !important;
  display: block;
  margin-bottom: 7px !important;
}
.wp-editor .released_table p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.wp-editor .ad_table {
  width: 100%;
}

.wp-editor .ad_table td {
  display: block;
  padding: 0 10px 20px;
  text-align: center;
}

.wp-editor > *:last-child {
  margin-bottom: 0 !important;
}

@media screen and (min-width: 600px) {
  .wp-editor .ad_table td {
    display: table-cell;
    min-width: 50%;
  }
}
@media screen and (min-width: 600px) and (max-width: 959px) {
  .wp-editor .released_table h6 span {
    font-size: 20px;
    line-height: 26px;
  }
  .wp-editor .released_table p {
    font-size: 12px;
    line-height: 18px;
  }
}
@media screen and (min-width: 960px) {
  .wp-editor {
    line-height: 1.6;
  }
  .wp-editor blockquote h6 {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 12px;
  }
  .wp-editor blockquote p {
    margin-bottom: 0;
  }
  .wp-editor p {
    margin-bottom: 54px;
    font-size: 18px;
  }
  .wp-editor ol {
    margin-bottom: 35px;
  }
  .wp-editor ul {
    margin-bottom: 35px;
  }
  .wp-editor .wp-caption {
    margin-bottom: 60px;
  }
  .wp-caption .wp-caption-text {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px;
  }
  .wp-editor blockquote {
    padding: 16px;
    border-width: 4px;
  }
  .wp-editor blockquote .wp-caption {
    margin-bottom: 0;
  }
  .wp-editor .quote {
    padding: 55px 20px 18px;
    margin-bottom: 40px;
  }
  .wp-editor .quote::before {
    background-image: url(../img/quote33x24.png);
    width: 33px;
    height: 24px;
    left: 20px;
    top: 16px;
  }
  .wp-editor .talk_icon {
    margin-bottom: 40px !important;
  }
  .wp-editor .talk_icon img {
    border-width: 4px;
  }
  .wp-editor .talk_text {
    border-width: 2px;
    margin-bottom: 40px !important;
    padding: 9px 15px 14px;
  }
  .wp-editor .talk_text::before {
    width: 20px;
    height: 16px;
    top: 17px;
  }
  .wp-editor .talk_text-blue::before {
    background-image: url(../img/arrow20x16_blue.png);
    left: -20px;
  }
  .wp-editor .talk_text-yellow::before {
    background-image: url(../img/arrow20x16_yellow.png);
    right: -20px;
  }
  .wp-editor .product_table td:first-child {
    width: 140px;
  }
  .wp-editor .released_table h6 span {
    font-size: 20px;
    line-height: 26px;
  }
  .wp-editor .released_table p {
    font-size: 12px;
    line-height: 18px;
  }
  .wp-editor .released_table {
    border-width: 4px;
    margin-bottom: 20px;
  }
  .wp-editor .released_table td {
    border-width: 2px;
    padding: 16px;
  }
  .wp-editor .released_table a {
    display: block;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }
  .wp-editor .released_table a:hover {
    opacity: 0.5;
  }
  .wp-editor .released_table p {
    margin-bottom: 0;
    font-size: 16px;
  }
  .wp-editor .released_table h6 span {
    font-size: 20px;
    line-height: 1.4;
    padding: 5px 13px 8px;
  }
  .wp-editor .released_table img {
    margin-bottom: 13px !important;
  }
  .wp-editor .alignright {
    display: inline;
    float: right;
    margin: 0 0 22px 25px;
  }
  .wp-editor .alignleft {
    display: inline;
    float: left;
    margin: 0 25px 22px 0;
  }
  .wp-editor .aligncenter {
    margin-bottom: 22px;
  }
}


/* ----------------------------------
Galleries
------------------------------------*/
.gallery {
  align-items: top;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5em;
}

.gallery-item {
  flex: 1 1 auto;
  padding: 1%;
  text-align: center;
  width: 100%;
}

.gallery-caption {
  text-align: center !important;
}

@media (min-width: 600px) {
  .gallery-columns-3 .gallery-item,
  .gallery-columns-4 .gallery-item,
  .gallery-columns-5 .gallery-item,
  .gallery-columns-6 .gallery-item,
  .gallery-columns-7 .gallery-item,
  .gallery-columns-8 .gallery-item,
  .gallery-columns-9 .gallery-item {
    max-width: 33.33333%;
  }
}

@media (min-width: 960px) {
  .gallery-columns-4 .gallery-item {
    max-width: 25%;
  }

  .gallery-columns-5 .gallery-item {
    max-width: 20%;
  }

  .gallery-columns-6 .gallery-item {
    max-width: 16.66667%;
  }

  .gallery-columns-7 .gallery-item {
    max-width: 14.28571%;
  }

  .gallery-columns-8 .gallery-item {
    max-width: 12.5%;
  }

  .gallery-columns-9 .gallery-item {
    max-width: 11.11111%;
  }
}

.gallery-columns-1 .gallery-item {
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}
