/*
Theme Name: Tidy
Theme URI: https://cloud.z.com/jp/en/themes-plugins
Author: Z.com byGMO
Author URI: https://cloud.z.com/jp/en/wp/
Description: Tidy is a multi-purpose WordPress theme with ultimate simplicity. It is fully customizable, responsive and flexible. Contents can be turned on and off as desired, and a wide variety of layout options to help you build a satisfactory website. The theme supports original slider, social media integration, Google advertisement & stats plugins along with the web font support with full color customization for enhanced flexibility.
Version: 1.1.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tidy
Domain Path: /languages/
Tags: black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, white, yellow, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, front-page-post-form, full-width-template, post-formats, sticky-post, theme-options, threaded-comments

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 Tidy is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/
/* =Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: white;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* =Global
----------------------------------------------- */
body,
button,
input,
select,
textarea {
  color: #1c1c1c;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.4;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-weight: normal;
  margin-bottom: 30px;
}

h1 {
  font-size: 2.14286em;
}

h2 {
  font-size: 1.85714em;
}

h3 {
  font-size: 1.57143em;
}

h4 {
  font-size: 1.42857em;
}

h5 {
  font-size: 1.28571em;
}

h6 {
  font-size: 1em;
}

hr {
  background-color: #cdd0d4;
  border: 0;
  height: 1px;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* Text elements */
p {
  margin-bottom: 1em;
}

ul, ol {
  margin: 0 0 30px 4.35714em;
}

ul {
  list-style: disc;
}
ul ul {
  list-style-type: circle;
}
ul ul ul {
  list-style-type: square;
}

ol {
  list-style: decimal;
}

li {
  margin-bottom: 1em;
}

li > ul,
li > ol {
  margin-top: 1em;
  margin-bottom: 0;
  margin-left: 1.5em;
}

dl {
  margin: 0 0 30px 0;
}

dt {
  font-weight: bold;
  margin-bottom: 0.5em;
}

dd {
  margin: 0 0 1em 3em;
}

b, strong {
  font-weight: bold;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote {
  margin: 0 0 30px 65px;
}

address {
  margin: 0 0 1em;
}

pre {
  background: #e3e6ea;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 30px;
  max-width: 100%;
  overflow: auto;
  padding: 30px;
}

code, kbd, tt, var {
  font-size: 14px;
  font-size: 1.4rem;
  font-family: "Courier 10 Pitch", Courier, monospace;
}

abbr, acronym {
  border-bottom: 1px dotted #666666;
  cursor: help;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  bottom: 1ex;
}

sub {
  top: .5ex;
}

small {
  font-size: 75%;
}

big {
  font-size: 125%;
}

figure {
  margin: 0;
}

table {
  margin: 0 0 30px;
  width: 100%;
}

th {
  font-weight: bold;
}

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

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button,
input {
  line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  font-size: 14px;
  font-size: 1.4rem;
  color: #0058ae;
  line-height: 1;
  padding: 0.3em 0.5em 0.2em;
  background: white;
  border-color: #cccccc;
  border-style: solid;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  color: white;
  background: #0058ae;
}
button:focus, button:active,
input[type="button"]:focus,
input[type="button"]:active,
input[type="reset"]:focus,
input[type="reset"]:active,
input[type="submit"]:focus,
input[type="submit"]:active {
  color: white;
  background: #0058ae;
}

input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  -webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #1c1c1c;
  border-color: #e3e6ea;
  border-style: solid;
  border-width: 1px;
  background-color: white;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  color: #1c1c1c;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  padding: 5px;
}

textarea {
  overflow: auto;
  padding-left: 5px;
  vertical-align: top;
  width: 98%;
}

/* Links */
a {
  color: #0058ae;
  text-decoration: none;
}
a:visited {
  color: #0058ae;
}
a:focus {
  color: #0058ae;
}
a:hover {
  color: #0058ae;
}
a:active {
  color: #0058ae;
}
a:hover, a:focus, a:active {
  text-decoration: underline;
}

/* Alignment */
.alignleft {
  display: inline;
  float: left;
  margin-right: 30px;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 30px;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
  display: none;
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
}
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Clearing */
.clear, .contact-area, .sns-icons, .main-navigation, .hentry, .front-section-content, .merit-box-area-conteiner, .blog-section-content, .blog-section-content .hentry, .gallery-section-content, .gallery-section-content .hentry, .gallery-section-content-inner, .all-blog .hentry, .comment-body .comment-meta, .widget_tidy_recent_posts li.tidy-thumb-tiny, .site-footer-widget-area,
.entry-content,
.comment-content,
.site-content,
.inner {
  *zoom: 1;
}
.clear:after, .contact-area:after, .sns-icons:after, .main-navigation:after, .hentry:after, .front-section-content:after, .merit-box-area-conteiner:after, .blog-section-content:after, .blog-section-content .hentry:after, .gallery-section-content:after, .gallery-section-content .hentry:after, .gallery-section-content-inner:after, .all-blog .hentry:after, .comment-body .comment-meta:after, .widget_tidy_recent_posts li.tidy-thumb-tiny:after, .site-footer-widget-area:after,
.entry-content:after,
.comment-content:after,
.site-content:after,
.inner:after {
  content: "";
  display: table;
  clear: both;
}

/* =Layout
----------------------------------------------- */
.inner,
.site-content {
  word-wrap: break-word;
  margin: 0 auto;
  max-width: 1200px;
}

.site-content {
  padding-top: 80px;
}

/*
 * Layout: Content-Sidebar
 */
.content-area {
  float: left;
  margin-top: 0;
  margin-right: -270px;
  margin-bottom: 0;
  margin-left: 0;
  width: 100%;
}

.site-main {
  display: block;
  margin-top: 0;
  margin-right: 310px;
  margin-bottom: 0;
  margin-left: 0;
  padding-bottom: 80px;
}

.site-content .widget-area {
  float: right;
  overflow: hidden;
  width: 270px;
  padding-bottom: 80px;
  padding-top: 8px;
}

.site-footer {
  clear: both;
  width: 100%;
}

.cont_c1, .cont_c2, .cont_c3 {
  margin-right: 0;
}
.cont_c1 .site-main, .cont_c2 .site-main, .cont_c3 .site-main {
  margin: 0;
}

.contact-area {
  clear: both;
  margin: 0 0 30px;
}

.cont_c2 .cont_b_text {
  clear: none;
  width: 45%;
  float: left;
}
.cont_c2 .cont_c_text {
  clear: none;
  width: 45%;
  float: right;
}

.cont_c3 .page {
  clear: none;
  width: 45%;
  float: left;
}
.cont_c3 .cont_b_text {
  clear: none;
  width: 45%;
  float: right;
}

.cont_s1 {
  float: right;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: -270px;
}
.cont_s1 .site-main {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 310px;
}

.site-content .widget-area.left {
  float: left;
}

/* =Header
----------------------------------------------- */
.site-header {
  background-color: #e3e6ea;
}

.site-header-widget-area {
  background-color: #cdd0d4;
  padding: 5px 0;
  display: none;
}
.site-header-widget-area .inner {
  position: relative;
}

.site-header-widget-area-content > p {
  margin-bottom: 0;
}

.header-widget-toggle {
  text-align: right;
}

.header-widget-toggle-btn {
  display: block;
  float: right;
  width: 25px;
  height: 25px;
  font-size: 10px;
  text-align: center;
  background-color: #cdd0d4;
  cursor: pointer;
}
.header-widget-toggle-btn .genericon-close {
  margin-top: 5px;
}
.header-widget-toggle-btn .genericon-downarrow {
  margin-top: 10px;
}

.open_header_widget .inner {
  position: relative;
}
.open_header_widget .inner .header-widget-toggle-btn {
  position: absolute;
  top: -25px;
  right: 0;
}

.site-header-social-area {
  clear: both;
}
.site-header-social-area .inner {
  padding: 20px 0 10px 0;
  border-bottom: solid 1px #cdd0d4;
}

.sns-toggle {
  display: none;
}

.sns-icons {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: right;
  line-height: 1;
}
.sns-icons li {
  margin: 0 0 8px 5px;
  padding: 0;
  display: inline-block;
  text-align: center;
}
.sns-icons a {
  width: 30px;
  height: 30px;
  position: relative;
  border: solid 1px #0058ae;
  display: inline-block;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none;
}
.sns-icons a:hover, .sns-icons a:active, .sns-icons a:focus {
  opacity: 0.8;
}
.sns-icons [class^="icon-"], .sns-icons [class*=" icon-"] {
  font-size: 18px;
  position: absolute;
  top: 5px;
  left: 5px;
}

.site-header-main {
  clear: both;
  padding: 30px 0;
}
.site-header-main .inner {
  position: relative;
}

.site-branding {
  float: left;
  width: 50%;
}

.site-title {
  margin-bottom: 10px;
}

.site-description {
  font-size: 1em;
  margin-bottom: 0;
}

.main-navigation {
  margin-right: 38px;
}

/* =Menu
----------------------------------------------- */
.main-navigation {
  font-size: 1.28571em;
  padding-top: 15px;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}
.main-navigation li {
  display: inline-block;
  position: relative;
  margin-left: 20px;
  text-align: left;
}
.main-navigation a {
  display: block;
  color: #0058ae;
  text-decoration: none;
  padding: 0;
  background: transparent;
}
.main-navigation ul ul {
  background: white;
  -webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
  display: none;
  position: absolute;
  top: 1.5em;
  left: 0;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: 100%;
  top: 0;
}
.main-navigation ul ul a {
  width: 200px;
  color: #0058ae;
  background: transparent;
  padding: 0.5em;
}
.main-navigation ul ul li {
  margin-left: 0;
}
.main-navigation li:hover > a {
  color: #0058ae;
  background: transparent;
}
.main-navigation ul ul :hover > a {
  color: #0058ae;
  background: transparent;
}
.main-navigation ul li:hover > ul {
  display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
  color: #0058ae;
  background: transparent;
}

/* Small menu */
.menu-toggle {
  cursor: pointer;
  display: none;
}

/* =Search
----------------------------------------------- */
.search-form input[type="search"] {
  border-color: #0058ae;
  color: #0058ae;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.search-form .search-field {
  width: 240px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}
.search-form .search-submit {
  display: inline-block;
  vertical-align: middle;
  background-color: transparent;
  border: none;
  padding: 0;
  color: #0058ae;
  text-shadow: none;
  font-size: 18px;
}

.search-container {
  position: absolute;
  top: 20px;
  right: 0;
}

.search-toggle {
  clear: both;
  cursor: pointer;
  width: 18px;
  height: 18px;
  font-size: 18px;
  position: relative;
  color: #0058ae;
  line-height: 1;
}

.search-box {
  display: none;
  position: absolute;
  top: 28px;
  right: 0;
}
.search-box .search-field {
  width: 270px;
  margin: 0;
}
.search-box .search-submit {
  display: none;
}

/* =Content
----------------------------------------------- */
.sticky {
  clear: both;
}

.hentry {
  clear: both;
  margin: 0 0 30px;
}

.byline,
.updated {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.entry-title {
  font-size: 1.14286em;
  margin-bottom: 10px;
}
.entry-title span {
  font-size: 28px;
  margin-right: 5px;
}
.entry-title a {
  color: #1c1c1c;
}
.entry-title a:hover {
  color: #0058ae;
}
body.single-format-standard .entry-title, body.page .type-page .entry-title {
  font-size: 2.57143em;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: solid 1px #e3e6ea;
}
body.single-format-gallery .entry-title {
  font-size: 2.57143em;
  margin-bottom: 30px;
}

.portfolio {
  margin-bottom: 80px;
}

.entry-meta {
  margin-bottom: 20px;
  font-size: 0.85714em;
  color: #0058ae;
}
.entry-meta .tidy_post_thumbnail {
  display: block;
  margin-bottom: 40px;
}
.entry-meta .tidy-thumb-medium {
  width: 50%;
  float: left;
  margin-right: 40px;
}
.entry-meta .tidy-thumb-full {
  text-align: center;
}
.entry-meta [class^="icon-"], .entry-meta [class*=" icon-"] {
  font-size: 14px;
  display: inline-block;
  vertical-align: top;
  margin-left: 1px;
}
.entry-meta .posted-on {
  display: block;
}
.entry-meta .posted-on,
.entry-meta .byline,
.entry-meta .entry_post-format,
.entry-meta .entry_category,
.entry-meta .entry_tags,
.entry-meta .comments-link {
  margin-right: 10px;
  margin-bottom: 10px;
}
.entry-meta .entry_category a {
  display: inline-block;
}
.entry-meta .tidy_posted_on .posted-on {
  margin-bottom: 0px;
  display: inline;
}

.tidy_post_thumbnail {
  display: table-cell;
  vertical-align: middle;
}
.tidy_post_thumbnail .thumbnail_img {
  width: 100%;
  display: inline-block;
  background-color: black;
  background-image: url("images/a-hover-icon.png");
  background-repeat: no-repeat;
  background-position: center center;
  max-height: 270px;
}
.tidy_post_thumbnail a, .tidy_post_thumbnail > span {
  display: block;
  overflow: hidden;
}
.tidy_post_thumbnail img {
  width: 100%;
  vertical-align: middle;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.tidy_post_thumbnail a:hover img {
  opacity: 0.4;
}

/* front-section */
.front-section {
  margin-bottom: 80px;
}

.front-section-content {
  margin-left: -40px;
}
.front-section-content .entry-ac {
  height: 1.5em;
  overflow: hidden;
}
.front-section-content .edit-link {
  margin-top: 10px;
}

/* merit-box-area */
.merit-box-area-conteiner {
  width: 25%;
  padding-left: 40px;
  float: left;
  text-align: center;
}
.merit-box-area-conteiner .more-link {
  display: none;
}
.merit-box-area-conteiner .text-left {
  text-align: left;
}
.merit-box-area-conteiner .text-center {
  text-align: center;
}
.merit-box-area-conteiner .text-right {
  text-align: right;
}

.merit-box-thumbnail {
  min-height: 120px;
  max-height: 270px;
}

.merit-box-title {
  margin-top: 20px;
  font-size: 1.42857em;
  margin-bottom: 10px;
  overflow: hidden;
  height: 2.8em;
}

.merit-box-caption {
  overflow: hidden;
  max-height: 4.2em;
}

.merit-box-thumbnail {
  display: table;
}
.merit-box-thumbnail .merit-box-thumbnail-inner {
  height: 100%;
  display: inline-block;
}
.merit-box-thumbnail .tidy_post_thumbnail img {
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.merit-box-thumbnail .type-image {
  vertical-align: middle;
  display: table-cell;
}
.merit-box-thumbnail .type-image .iconbox {
  height: 100%;
  display: block;
}
.merit-box-thumbnail .type-image .iconbox img {
  width: 100%;
  vertical-align: middle;
}
.merit-box-thumbnail .type-image .iconbox:hover img {
  -ms-transform: scale(2);
  -webkit-transform: scale(2);
  -moz-transform: scale(2);
  transform: scale(2);
}
.merit-box-thumbnail .type-icon {
  vertical-align: middle;
  display: table-cell;
}
.merit-box-thumbnail .type-icon .merit-box-thumbnail-inner {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  color: white;
  background-color: #0058ae;
  padding: 7px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
.merit-box-thumbnail .type-icon .iconbox {
  color: white;
  text-decoration: none;
  border: solid 2px white;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  border-radius: 100%;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.merit-box-thumbnail .type-icon .iconbox .iconmoon {
  position: absolute;
  top: 35px;
  left: 35px;
  font-size: 50px;
  line-height: 1;
}
.merit-box-thumbnail .type-icon .iconbox:hover {
  border: solid 8px white;
}

.merit-box-1 {
  width: 100%;
  float: none;
}
.merit-box-1 .merit-box-thumbnail {
  float: left;
  margin-right: 45px;
  margin-bottom: 0;
  max-width: 370px;
}
.merit-box-1 .merit-box-title {
  text-align: left;
  height: auto;
  min-height: 1.4em;
  max-height: 2.8em;
}
.merit-box-1 .more-link {
  margin-top: 1em;
  display: block;
  overflow: hidden;
  text-align: right;
}

.merit-box-2 {
  width: 50%;
}
.merit-box-2 .merit-box-thumbnail {
  width: 100%;
}

.merit-box-3 {
  width: 33.3%;
}
.merit-box-3 .merit-box-thumbnail {
  width: 100%;
}

.merit-box-4 {
  width: 25%;
}
.merit-box-4 .merit-box-thumbnail {
  width: 100%;
}

/* blog-area */
#blog-area {
  margin-bottom: 30px;
}

.blog-section-content {
  margin-left: -40px;
}
.blog-section-content .gmo-shares {
  overflow: hidden;
}
.blog-section-content .gmo-shares .social {
  margin-right: 4px;
  margin-bottom: 0;
}
.blog-section-content .hentry {
  clear: none;
  padding-left: 40px;
  float: left;
  margin-bottom: 50px;
}
.blog-section-content .tidy_post_thumbnail {
  margin: 0 auto;
  width: 100%;
  max-height: 180px;
}
.blog-section-content .thumbnail_img {
  max-height: 180px;
}
.blog-section-content .entry-conteiner {
  margin-top: 20px;
}
.blog-section-content .entry-title {
  height: 4.2em;
  overflow: hidden;
  position: relative;
}
.blog-section-content .entry-summary {
  margin-bottom: 20px;
}
.blog-section-content .entry-summary > p {
  overflow: hidden;
  height: 4.2em;
  white-space: normal;
}
.blog-section-content .ellipsis {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: white;
  padding-left: 15px;
}
.blog-section-content .more-link {
  text-align: right;
}
.blog-section-content .entry-meta {
  margin-bottom: 0;
}
.blog-section-content .typeA {
  width: 33.3%;
}
.blog-section-content .typeA:nth-child(3n+1) {
  clear: both;
}
.blog-section-content .typeB {
  width: 50%;
}
.blog-section-content .typeB:nth-child(2n+1) {
  clear: both;
}
.blog-section-content .typeB .tidy_post_thumbnail {
  float: left;
  margin-right: 40px;
  width: 50%;
}
.blog-section-content .typeB .entry-conteiner {
  margin-top: 0;
  overflow: hidden;
}

/* gallery-area */
#gallery-area {
  margin-bottom: 0;
}

.gallery-section-content {
  margin-left: -40px;
}
.gallery-section-content .hentry {
  clear: none;
  padding-left: 40px;
  float: left;
}
.gallery-section-content .tidy_post_thumbnail {
  margin: 0 auto;
  width: 100%;
  max-height: 270px;
}
.gallery-section-content .tidy_post_thumbnail a:hover img {
  opacity: 1;
}
.gallery-section-content .entry-meta {
  margin-top: 20px;
  margin-bottom: 0;
}
.gallery-section-content .entry-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: table;
}
.gallery-section-content .entry-conteiner {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.gallery-section-content .entry-conteiner-child {
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: url("images/a-hover-icon.png");
  background-repeat: no-repeat;
  background-position: center center;
  text-decoration: none;
  position: relative;
}
.gallery-section-content .entry-conteiner-child a {
  color: white;
  border-color: white;
}
.gallery-section-content .entry-conteiner-child a:hover, .gallery-section-content .entry-conteiner-child a:active, .gallery-section-content .entry-conteiner-child a:focus {
  color: white;
  border-color: white;
}
.gallery-section-content .entry-conteiner-child .entry-conteiner-child-anker {
  display: block;
  height: 100%;
}
.gallery-section-content .entry-conteiner-child .entry-summary p {
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin-bottom: 0;
  height: 1.4em !important;
  width: 100%;
  word-wrap: normal;
}
.gallery-section-content .entry-conteiner-child .entry-title {
  padding: 30px 12px 0 12px;
}
.gallery-section-content .entry-conteiner-child .entry-meta {
  position: absolute;
  left: 0;
  bottom: 15px;
  width: 100%;
}
.gallery-section-content .entry-conteiner-child .entry-meta .gmo-shares {
  margin: 0;
  text-align: center;
  overflow: hidden;
}
.gallery-section-content .entry-conteiner-child .entry-meta .gmo-shares .social {
  margin-right: 3px;
  margin-bottom: 0;
}
.gallery-section-content .entry-box .entry-conteiner-child {
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  -o-transition-duration: 0.4s;
  transition-duration: 0.4s;
  opacity: 0;
}
.gallery-section-content .entry-box:hover .entry-conteiner-child {
  opacity: 1;
}
.gallery-section-content .entry-title,
.gallery-section-content .entry-summary {
  margin-bottom: 1em;
}
.gallery-section-content .entry-header {
  margin-top: 20px;
}
.gallery-section-content.normal .entry-conteiner {
  height: 270px;
}
.gallery-section-content.normal .entry-conteiner-child {
  max-height: 270px;
}
.gallery-section-content.normal .entry-summary {
  height: 4.2em;
  margin-bottom: 1em;
  overflow: hidden;
}
.gallery-section-content.grid .tidy_post_thumbnail {
  max-height: 100%;
  overflow: auto;
}
.gallery-section-content.grid .tidy_post_thumbnail .thumbnail_img {
  max-height: 100%;
}
body.archive .gallery-section-content .entry-title {
  white-space: normal;
  word-wrap: break-word;
}
.gallery-section-content .show.entry-summary p {
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin-bottom: 0;
  height: 1.4em !important;
  width: 100%;
  word-wrap: normal;
}
body.archive .gallery-section-content .gmo-shares {
  margin-top: 20px;
  text-align: left;
}

.gallery-section-content-inner {
  padding-bottom: 30px;
}

.gallery-1 .hentry {
  width: 100%;
}

.gallery-2 .hentry {
  width: 50%;
}
body.archive .gallery-2.normal .hentry:nth-child(2n+1) {
  clear: both;
}
.cont_c1 .gallery-2 .tidy_post_thumbnail,
.cont_c1 .gallery-2 .thumbnail_img,
.cont_c1 .gallery-2 .entry-conteiner-child {
  max-height: 580px;
}
.cont_c1 .gallery-2 .entry-conteiner {
  height: 580px;
}

.gallery-3 .hentry {
  width: 33.3%;
}
body.archive .gallery-3.normal .hentry:nth-child(3n+1) {
  clear: both;
}
.cont_c1 .gallery-3 .tidy_post_thumbnail,
.cont_c1 .gallery-3 .thumbnail_img,
.cont_c1 .gallery-3 .entry-conteiner-child {
  max-height: 369px;
}
.cont_c1 .gallery-3 .entry-conteiner {
  height: 369px;
}

.gallery-4 .hentry {
  width: 25%;
}
body.archive .gallery-4.normal .hentry:nth-child(4n+1) {
  clear: both;
}

.archive-link {
  text-align: right;
}

/* home (not front page) */
.all-blog .hentry {
  width: 100%;
  clear: none;
  padding-left: 40px;
  float: left;
  margin-bottom: 40px;
}
.all-blog .tidy_post_thumbnail {
  display: block;
  margin-bottom: 20px;
}
.all-blog .tidy_post_thumbnail .thumbnail_img {
  max-height: 480px;
  overflow: hidden;
}
.all-blog .entry-title {
  font-size: 2.57143em;
  margin-bottom: 30px;
}
.all-blog .entry-summary {
  margin-bottom: 30px;
}
.all-blog .entry-summary p {
  margin-bottom: 0;
}
.all-blog .more-link {
  margin-top: 0.5em;
  text-align: right;
}
.all-blog .gmo-shares {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
}
.all-blog .gmo-shares .social {
  margin-bottom: 0;
}
.all-blog .entry-meta .posted-on {
  display: inline;
}
.all-blog .typeA .tidy_post_thumbnail {
  margin-bottom: 40px;
}
.all-blog .typeA .entry-title {
  margin-bottom: 40px;
}
.all-blog .typeA .entry-summary {
  margin-bottom: 40px;
}
.all-blog .typeB .tidy_post_thumbnail {
  float: left;
  margin-right: 40px;
  width: 50%;
}
.all-blog .typeB .tidy_post_thumbnail .thumbnail_img {
  max-height: 380px;
}
.all-blog .typeB .entry-conteiner {
  margin-top: 0;
  overflow: hidden;
}

.blog-2 .hentry {
  width: 50%;
}
.blog-2 .tidy_post_thumbnail .thumbnail_img {
  max-height: 270px;
}
.blog-2 .typeA .tidy_post_thumbnail {
  margin-bottom: 30px;
}
.blog-2 .typeA .entry-title {
  font-size: 1.71429em;
  margin-bottom: 20px;
}
.blog-2 .typeA .entry-summary {
  margin-bottom: 30px;
}

.blog-3 .hentry {
  width: 33.3%;
}
.blog-3 .tidy_post_thumbnail .thumbnail_img {
  max-height: 270px;
}
.blog-3 .typeA .tidy_post_thumbnail {
  margin-bottom: 30px;
}
.blog-3 .typeA .entry-title {
  font-size: 1.71429em;
  margin-bottom: 20px;
}
.blog-3 .typeA .entry-summary {
  margin-bottom: 30px;
}

/* archive */
.archive-title,
.section-title {
  font-size: 2.57143em;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: solid 1px #e3e6ea;
}
.archive-title span,
.section-title span {
  font-size: 28px;
  margin-right: 5px;
}
.archive-title a,
.section-title a {
  text-decoration: none;
  color: #1c1c1c;
}

.page-header {
  background-color: #e3e6ea;
  color: #1c1c1c;
  padding: 10px;
  margin-bottom: 30px;
}

.page-title {
  font-size: 1.14286em;
  margin-bottom: 0;
}
.page-title span {
  color: #0058ae;
}

.taxonomy-description {
  font-size: 0.85714em;
}
.taxonomy-description p {
  margin-top: 10px;
  margin-bottom: 0;
}

.entry-summary {
  font-size: 0.85714em;
}

.archive-content .tidy_post_thumbnail {
  overflow: hidden;
  width: 100px;
  height: 80px;
  padding-right: 20px;
  float: left;
}
.archive-content .tidy_post_thumbnail .thumbnail_img {
  max-height: 80px;
}
.archive-content .entry-conteiner {
  overflow: hidden;
}
.archive-content .entry-title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  word-wrap: normal;
}
.archive-content .entry-summary {
  margin-bottom: 15px;
  position: relative;
}
.archive-content .entry-summary > p {
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  margin-bottom: 0;
  width: 100%;
  word-wrap: normal;
  padding-right: 80px;
}
.archive-content .entry-summary .more-link {
  text-align: right;
  white-space: nowrap;
  position: absolute;
  top: 0;
  right: 0;
}
.archive-content .entry-meta {
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  width: 100%;
  word-wrap: normal;
}

.read-more .genericon {
  font-size: 10px;
  width: 10px;
  height: 10px;
  vertical-align: middle;
  line-height: 9px;
  text-decoration: none;
}

.page-links {
  clear: both;
  margin: 0 0 30px;
}

.contact-area .gmo-shares {
  display: none;
}

/* =Asides
----------------------------------------------- */
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

/* =Navigation
----------------------------------------------- */
.site-main [class*="navigation"] {
  clear: both;
  margin: 0;
  overflow: hidden;
  padding-top: 30px;
  border-top: solid 1px #e3e6ea;
}

.gallery-section-content [class*="navigation"] {
  clear: both;
  margin-left: 40px;
}

.post-navigation .genericon {
  color: #0058ae;
  font-size: 10px;
  width: 10px;
  height: 10px;
  vertical-align: middle;
}

[class*="navigation"] .nav-previous {
  float: left;
  width: 50%;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  word-wrap: normal;
}

[class*="navigation"] .nav-next {
  float: right;
  text-align: right;
  width: 50%;
  position: relative;
  padding-right: 13px;
  white-space: nowrap;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  word-wrap: normal;
}
[class*="navigation"] .nav-next .genericon {
  position: absolute;
  top: 6px;
  right: 0;
}

ul.page-numbers {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

ul.page-numbers li {
  display: inline-block;
  margin: 0;
}
ul.page-numbers li > span,
ul.page-numbers li > a {
  padding: 5px 11px;
  display: block;
}
ul.page-numbers li a:hover, ul.page-numbers li a:focus, ul.page-numbers li a:active {
  background-color: #0058ae;
  color: white;
  text-decoration: none;
}
ul.page-numbers li .genericon {
  font-size: 14px;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  padding: 0;
}

li.pagination-icon a {
  padding: 5px;
}

/* gallery-navigation */
.gallery-navigation {
  padding-right: 60px;
}
.gallery-navigation .tidy_post_thumbnail {
  background-color: black;
}
.gallery-navigation .tidy_post_thumbnail a img {
  opacity: 0.4;
}
.gallery-navigation .tidy_post_thumbnail a:hover img {
  opacity: 1;
}
.gallery-navigation .active a img {
  opacity: 1;
}

#portfolio_posts_slider_top {
  border-top: none;
  padding-top: 0;
  padding-bottom: 20px;
}

/* =Entry Content
----------------------------------------------- */
.entry-content,
.page-content {
  margin-bottom: 30px;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  clear: none;
}
.entry-content > p,
.page-content > p {
  margin-bottom: 40px;
}
.entry-content a[target="_blank"]:after,
.page-content a[target="_blank"]:after {
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 16px/1 'Genericons';
  vertical-align: middle;
  content: '\f442';
}
.entry-content blockquote:before,
.page-content blockquote:before {
  margin-left: -35px;
  float: left;
  color: #e3e6ea;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  font: normal 16px/1 'Genericons';
  vertical-align: middle;
  content: '\f106';
  font: normal 30px/20px 'Genericons';
  vertical-align: bottom;
}
.entry-content .gallery,
.page-content .gallery {
  margin-bottom: 30px;
}
.entry-content .gallery-caption,
.page-content .gallery-caption {
  font-size: 0.85714em;
}
.entry-content .gallery a img,
.page-content .gallery a img {
  border: none;
  height: auto;
  max-width: 90%;
}
.entry-content .gallery dd,
.page-content .gallery dd {
  margin: 0;
}

/* =Media
----------------------------------------------- */
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

.wp-caption {
  border-style: none;
  border-color: #cccccc;
  border-width: 1px;
  margin-bottom: 30px;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 1.2% auto 0;
  max-width: 98%;
}

.wp-caption-text {
  text-align: center;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
  max-width: 100%;
}

/* =Comments
----------------------------------------------- */
.comments-area {
  clear: both;
  margin-top: 60px;
}

.comments-title {
  font-size: 2.14286em;
  margin-bottom: 15px;
}

.comment-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-top: 30px;
  border-top: solid 1px #e3e6ea;
}

.children {
  list-style-type: none;
  margin: 30px 0 0 40px;
  padding: 0;
}

li.comment,
li.pingback {
  margin-bottom: 30px;
}

li.depth-1 {
  border-bottom: solid 1px #e3e6ea;
  padding-bottom: 30px;
}

.comment-body .comment-meta {
  margin-bottom: 15px;
}
.comment-body .comment-author-image {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.comment-body .comment-metadata {
  display: inline-block;
  vertical-align: middle;
}
.comment-body .comment-author-name {
  margin-bottom: 10px;
}
.comment-body .comment-author-name .fn {
  font-style: normal;
}
.comment-body .comment-date {
  font-size: 12px;
}
.comment-body .comment-content {
  clear: both;
  margin-bottom: 10px;
}
.comment-body .comment-content > *:last-child {
  margin-bottom: 0;
}
.comment-body .reply {
  text-align: right;
}
.comment-body .reply .genericon {
  font-size: 8px;
  width: 8px;
  height: 8px;
  vertical-align: middle;
}
.comment-body .comment-body > *:last-child {
  margin-bottom: 0;
}

.bypostauthor {
  font-weight: bold;
}

/* nav */
.site-main .comment-navigation {
  border-top: none;
  padding-top: 0;
}

/* Form */
.comment-reply-title {
  display: none;
}
.comment-list .comment-reply-title {
  display: block;
}

.comment-form {
  color: #cdd0d4;
  margin-bottom: 5em;
  position: relative;
}
.comment-form p {
  font-size: 0.85714em;
  margin-bottom: 10px;
}
.comment-form code {
  font-size: 1em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form input[type="password"],
.comment-form input[type="search"] {
  width: 270px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form input[type="password"],
.comment-form input[type="search"],
.comment-form textarea {
  font-size: 14px;
  position: relative;
  text-indent: 100px;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form input[type="password"]:focus,
.comment-form input[type="search"]:focus,
.comment-form textarea:focus {
  text-indent: 0;
}
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  min-height: 12em;
}
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url,
.comment-form .comment-form-comment {
  position: relative;
}
.comment-form .comment-form-author label,
.comment-form .comment-form-email label,
.comment-form .comment-form-url label,
.comment-form .comment-form-comment label {
  font-size: 14px;
  display: inline-block;
  min-width: 80px;
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding-left: 25px;
}
.comment-form .comment-form-author label:before,
.comment-form .comment-form-email label:before,
.comment-form .comment-form-url label:before,
.comment-form .comment-form-comment label:before {
  display: inline-block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  line-height: 1;
  font-family: 'Genericons';
  text-decoration: inherit;
  font-weight: normal;
  font-style: normal;
  vertical-align: top;
  content: '\f304';
}
.comment-form .comment-form-email label:before {
  content: '\f410';
}
.comment-form .comment-form-url label:before {
  content: '\f443';
}
.comment-form .comment-form-comment label:before {
  content: '\f300';
}
.comment-form .form-allowed-tags {
  position: absolute;
}
.comment-form .form-submit {
  margin-bottom: 0;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 100;
}

/* =Widgets
----------------------------------------------- */
.widget-title,
.widgettitle {
  font-size: 30px;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: solid 1px #e3e6ea;
}
.site-footer-widget-area .widget-title, .site-footer-widget-area
.widgettitle {
  border-bottom-color: white;
}

.widget {
  margin: 0 0 50px;
}
.widget select {
  max-width: 100%;
}
.widget ul, .widget ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.widget li {
  margin-bottom: 20px;
}
.widget li ul, .widget li ol {
  margin-top: 20px;
  margin-left: 2em;
}

/* Tag Cloud widget */
.widget_tag_cloud a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 20px;
}

/* Calendar widget */
#wp-calendar caption, #wp-calendar th, #wp-calendar td {
  text-align: center;
}
#wp-calendar caption {
  margin-bottom: 10px;
}
#wp-calendar #prev {
  text-align: left;
}
#wp-calendar #next {
  text-align: right;
}

/* Contact widget */
.tidy_contact_sns_icons {
  margin-top: 20px;
}
.tidy_contact_sns_icons .sns-icons {
  text-align: left;
  margin-left: -10px;
}
.tidy_contact_sns_icons .sns-icons li {
  margin: 0 0 10px 10px;
  float: left;
}

.site-footer-widget-area .tidy_contact_sns_icons a {
  border-color: white;
}

/* Tidy Recent posts widget */
.widget_tidy_recent_posts ul {
  margin-left: -20px;
}
.widget_tidy_recent_posts li {
  padding-left: 20px;
}
.widget_tidy_recent_posts li.tidy-thumb-small {
  line-height: 1;
  display: inline;
  float: left;
  width: 50%;
}
.widget_tidy_recent_posts li.tidy-thumb-tiny {
  margin-bottom: 10px;
}
.widget_tidy_recent_posts li.tidy-thumb-tiny img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
  float: left;
}
.widget_tidy_recent_posts li.tidy-thumb-tiny .post-title {
  height: 80px;
  overflow: hidden;
  font-size: 14px;
}
.widget_tidy_recent_posts li.tidy-thumb-tiny .post-title a {
  height: 80px;
  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
}

/* =Footer category list
----------------------------------------------- */
.footer-category-list {
  background-color: #e3e6ea;
  padding: 60px 0;
}
.footer-category-list .widget-title {
  border-bottom-color: #cdd0d4;
}
.footer-category-list .footer-category-list-box {
  list-style-type: none;
  margin: 0;
  padding: 0;
  -webkit-column-count: 4;
  -moz-column-count: 4;
  -ms-column-count: 4;
  -o-column-count: 4;
  column-count: 4;
}
.footer-category-list .footer-category-list-box li {
  font-size: 0.85714em;
  margin-bottom: 25px;
}
.footer-category-list .footer-category-list-box li :before {
  font-family: 'icomoon-tidy';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e62e";
  margin-right: 10px;
  font-size: 16px;
  vertical-align: text-top;
}

/* =Footer
----------------------------------------------- */
.site-footer-widget-area {
  font-size: 0.85714em;
  color: #fff;
  background-color: #0058ae;
  padding: 60px 0 10px 0;
}
.site-footer-widget-area a {
  color: #fff;
}

.site-footer-widget-area-box {
  margin-left: -40px;
}

.site-footer-widget-area-conteiner {
  width: 25%;
  padding-left: 40px;
  float: left;
}

.site-footer-social-area {
  clear: both;
  padding-bottom: 60px;
}
.site-footer-social-area .sns-icons li {
  margin-bottom: 0;
}

.site-info {
  background-color: #cdd0d4;
  color: #0058ae;
  text-align: center;
  padding: 30px 0;
}

/* =Infinite Scroll
----------------------------------------------- */
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
  display: block;
}

.bxslider {
  margin: 0;
  padding: 0;
}
.bxslider li {
  margin: 0;
  padding: 0;
}
.bxslider li img {
  width: 100%;
}

.bx-wrapper .bx-viewport {
  border: none;
  box-shadow: none;
  left: 0;
}

.bx-wrapper {
  margin-bottom: 20px;
}

#bx-pager {
  text-align: center;
}
#bx-pager a {
  line-height: 1;
  width: 10%;
  display: inline-block;
  background-color: black;
  margin: 10px;
}
#bx-pager img {
  opacity: 0.4;
  vertical-align: top;
}
#bx-pager a.active img,
#bx-pager a:hover img, #bx-pager a:active img, #bx-pager a:focus img {
  opacity: 1;
}

.gallery-navigation .bx-viewport {
  margin: 0 30px;
}
.gallery-navigation .bx-pager.bx-default-pager {
  display: none;
}
.gallery-navigation .bx-wrapper .bx-controls-direction a {
  text-indent: 0;
  font-size: 40px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: #e3e6ea;
  text-decoration: none;
}
.gallery-navigation .bx-wrapper .bx-controls-direction a .genericon {
  font-size: 40px;
}
.gallery-navigation .bx-wrapper .bx-prev {
  left: -20px;
  background-image: none;
}
.gallery-navigation .bx-wrapper .bx-prev a {
  content: '\f503';
}
.gallery-navigation .bx-wrapper .bx-next {
  right: -80px;
  background-image: none;
}
.gallery-navigation .bx-wrapper .bx-next a {
  content: '\f501';
}

/* =Mobile
----------------------------------------------- */
@media screen and (max-width: 600px) {
  .portfolio {
    margin-bottom: 40px;
  }

  #bx-pager a {
    margin: 5px;
  }
}
