* {
  box-sizing: border-box;
  outline: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', sans-serif;
  width: 100%;
  color: #1A1A1A;
  background: white;
}

.content-disable {
  position: absolute;
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.wrapper {
  position: relative;
  display: block;
  margin: 0 auto;
  background: white;
}

.misha_loadmore,
.loadmore2 {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  padding: 64px 0 88px;
  font-size: 16px;
  color: #1A1A1A;
	text-align: center;
  letter-spacing: 0.11px;
  line-height: 24px;
  background-image: linear-gradient(-1deg, #FAFAFA 0%, #FFFFFF 100%);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	cursor: pointer;
}

.misha_loadmore:hover span,
.loadmore2:hover span {
  opacity: .6;
}

.misha_loadmore span,
.loadmore2 span {
  position: relative;
}

.misha_loadmore span:before,
.loadmore2 span:before {
  position: absolute;
  content: ' ';
  width: 16px;
  height: 16px;
  top: 26px;
  left: calc(50% - 8px);
  background-image: url('../img/icons/icon-loadmore.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@keyframes loading {to {transform: rotate(360deg);}}

.misha_loadmore span.loading:before,
.loadmore2 span.loading:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  background: none;
  top: 28px;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc;
  border-top-color: #000;
  animation: loading .6s linear infinite;
}

.pagination-bg {
  background-image: linear-gradient(-1deg, #FAFAFA 0%, #FFFFFF 100%);
  padding: 0 0 48px;
}

.scroll-area {
  height: 110vh;
  overflow: hidden;
}

.edit_post .edit-link a {
  position: absolute;
  top: 36px;
  left: 40px;
}

.edit-link a {
  display: block;
  font-size: 11px;
  padding: 8px 16px;
  text-decoration: none;
  color: #FFF;
  background-color: #0089FF;
  border-radius: 24px;
}

#main {position: relative;}

h2 {
  font-size: 2em;
  font-weight: 700;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em !important;
}

.gallery a {border-bottom: none !important;}

.gallery>figure {
  max-width: calc(50% - 8px) !important;
  height: 100%;
  margin-bottom: 8px !important;
}

.gallery>figure>figcaption {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

body.login.login-action-login {background-color: black;}
.gallery + .gallery {margin: -40px auto 40px !important;}

/*  Page  */
section.page {
  max-width: 744px;
  margin: 88px auto 0;
}

section.page h1 {
  font-weight: bold;
  font-size: 46px;
  line-height: 56px;
  margin-bottom: 12px;
  text-align: center;
}

section.page p {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 40px;
  text-align: center;
}

section.page div.team-member {margin-bottom: 48px;}
section.page div.team-member:first-of-type {margin-top: 88px;}

section.page div.position {
  font-weight: bold;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 16px;
  margin-bottom: 10px;
  text-align: center;
}

section.page div.name {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 4px;
  text-align: center;
}

section.page div.mail {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

section.page div.mail a {color: #7B7B7B;}

div.page-end {
  width: 100%;
  height: 80px;
  background-image: linear-gradient(-1deg, #FAFAFA 0%, #FFFFFF 100%);
}

@media only screen and (min-width: 600px) and (max-width: 899px) {
  section.page {padding: 0 40px;}
}

@media screen and (max-width: 599px) {
  .gallery {
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
  }

  .gallery>figure {
    max-width: 100% !important;
    height: 100%;
    margin-bottom: 8px !important;
  }

  .gallery + .gallery {margin: -40px auto 0 !important;}

  section.page {
    padding: 0 18px;
    margin: 48px auto 0;
  }

  section.page h1 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 8px;
  }

  section.page div.team-member:first-of-type {margin-top: 48px;}

  section.page p {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 40px;
    text-align: center;
  }
}

/* for-phone-only */
@media only screen and (max-width: 599px) {
  .edit_post .edit-link a {
    top: 24px;
    left: 24px;
  }
}
