@media screen and (max-width: 1199px) {
  iframe {
    max-width: 100%;
  }

  .media_embed {
    position: relative;
    padding-bottom: 56.38%;
    padding-top: 30px;
    width: auto !important;
    height: 0;
    overflow: hidden;
  }

  .media_embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .rwd-table {
    overflow-x: auto;
  }

  #header {
    padding: 0;
    display: initial;
    align-items: unset;
    justify-content: unset;
    -webkit-justify-content: unset;
    -webkit-align-items: unset;
  }

  #header-region {
    display: flex;
    position: initial;
  }

  /* #block-menu-menu-sub-menu-2019 {
    display: none;
  } */

  #block-block-8 {
    width: 70px;
    height: 70px;
    background: #62853f;
    display: flex;
    align-items: center; 
    justify-content: center;
    position: absolute;
    right: 70px;
    top: 0;
  }

  #block-block-8 .content {
    width: 70px;
    text-align: center;
  }

  #block-block-8 .side-btn {
    position: relative;
    top: unset;
    right: unset;
    margin: 0;
    color: #fff;
    font-size: 16px;
    background:transparent;
    width: 40px;
    display: inline-flex;
    line-height: 1.3;
    height: unset;
    text-align: center;
  }
  /* memu */
  a.mburger {
    color: #fff;
    width: 70px;
    height: 70px;
    --mb-button-size: 70px;
    --mb-bar-width: 0.5;
    position: absolute;
    right: 0;
    top: 0;
  }

  .mm-menu_offcanvas {
    background-color: #fff;
    color: #7e8755;
    font-size: 17px;
    line-height: normal;
  }

  .mm-menu li {
    width: 100%;
  }

  .mm-menu ul.nice-menu-down li.menuparent {
    background: transparent;
  }

  .mm-listview {
    display: block !important;
    visibility: visible !important;
  }

  ul.nice-menu-down li {
    border: none;
  }

  .mm-listitem::after {
    left: 0 !important;
  }

  .mm-menu .mm-navbar a, .mm-menu .mm-navbar > * {
    color: #597a33;
  }

  ul.nice-menu li {
    background: transparent;
  }

  #mm-0 .mm-listview .mm-btn_next::after,
  .mm-menu .mm-btn::before {
    border-color: #2e4118;
  }

  ul.nice-menu li,
  .mm-listitem {
    border-color: #e2e2e2;
  }

  .mm-menu .mm-listview a {
    padding: 10px;
    color: #3e3e3e;
  }

  .mm-listitem .mm-btn_next:not(.mm-btn_fullwidth) {
    width: 25px;
  }

  /* google custom search */
  #block-google_cse-0 {
    width: 100%;
    height: 100vh;
    padding: 0;
    background-color: rgba(255,255,255, .8);
  }

  #block-google_cse-0 .block-inner {
    padding: 100px 20px;
  }
}

@media screen and (max-width: 767px)  {
  /* general */
  .pc-style {
    display: none;
  }

  .mobile-style {
    display: block;
  }

  .simplemenu-block {
    height: auto;
  }

  #branding {
    min-height: 70px;
    background: #557633;
  }

  #page-outer-wrap,
  .page-front-2019 #page-outer-wrap {
    padding: 0 15px;
    background-size: unset;
  }

  #logo {
    display: inline-block;
    max-width: 200px;
    width: 100%;
    background: url(./images/logo_mobile.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 15px;
    align-content: center;
  }

  #logo img {
    visibility: hidden;
  }

  #logo-title {
    float: left;
    margin: 20px 0;
  }

  /* front */
  #block-views-front_2019-block_9 {
    display: block;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  .slideshow {
    margin-bottom: 40px;
  }

  .slideshow .view-content {
    height: 100vw;
  }

  #views-nivo-slider-front_2019-block_9,
  .nivo-slice {
    width: 100vw !important;
    height: 100% !important;
    background-size: cover !important;
  }

  .nivo-controlNav,
  .news-front .views-row-6,
  .news-front .views-row-7,
  #block-views-front_2019-block_4 {
    display: none;
  }

  #block-views-front_2019-block_1 {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .btn-link .views-row {
    margin-bottom: 20px;
  }

  .btn-link .wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 26px;
  }

  .btn-link .bg {
    height: 200px;
    overflow: hidden;
  }

  #block-views-front_2019-block_6 {
    margin-top: 20px;
  }

  #block-views-front_2019-block_6 .shadow-link .bg {
    text-align: center;
  }

  #block-views-front_2019-block_6 .shadow-link .bg a {
    opacity: 1;
    background: transparent;
    position: relative;
    height: auto;
    margin-bottom: 15px;
  }

  #block-views-front_2019-block_6 .shadow-link .desc {
    color: #3e3e3e;
    width: 100%;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
  }

  #block-views-front_2019-block_7 {
    margin-top: 40px;
  }

  .front-related .views-row {
    margin: 0 auto 30px;
  }

  /* footer */
  #block-menu_block-5,
  #block-block-7 .member {
    display: none;
  }

  #block-block-7 {
    margin: 20px 0 20px;
  }

  #footer {
    padding: 15px 15px 0;
  }

  #footer-logo {
    max-width: 200px;
  }

  .footer-info .views-row {
    margin: 0;
  }

  /* support */
  .btn-link .views-row,
  .btn-link .bg img {
    width: 100%;
  }

  .page-support-donate .btn-link .bg {
    height: auto;
    margin: 0 auto;
  }

  .view-title-block .view-header {
    margin-top: 20px;
  }

  .views-page-title,
  .views-page-subtitle {
    margin: 0;
    width: 100%;
  }

  /* about */
  .about-list .views-row {
    min-height: unset;
  }

  .about-list .content-wrapper {
    margin: 0 30px;
    padding: 50px 0 20px;
  }

  .about-list .title a {
    font-size: 26px;
  }

  /* event */
  .event-list .views-exposed-widget {
    margin-bottom: 20px;
  }

  .event-list .views-exposed-widget,
  #edit-title-wrapper input,
  #views-exposed-form-event-page-2 select,
  #views-exposed-form-event-page-2 .form-submit {
    width: 100%;
  }

  .event-list select {
    background-position: right 10px center;
  }

  .event-list .views-row,
  .event-list .views-limit-grouping-group {
    margin: 0 auto 40px;
  }

  .crm-event-img,
  .event-main {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
  }

  .event-main .event-title,
  .event-main .wrapper,
  .event-main .btn {
    padding: 0 30px;
  }

  .event-detail .wrapper {
    padding: 0;
  }

  .event-main .wrapper .crm-section,
  .crm-container .event_address-section .content {
    display: block;
  }

  .page-civicrm-event-info .crm-section .label {
    margin-bottom: 5px;
  }

  .branch-event {
    max-width: 100%;
  }

  /* what we do */
  .top-vi .name {
    font-size: 26px;
  }

  .we-do-sub.shadow-link .view-content {
    padding: 0 15px;
  }

  .we-do-sub.shadow-link .bg a {
    opacity: 1;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .news-list .rep-img {
    padding-right: 0;
  }

  .news-list .wrapper {
    padding: 20px
  }

  .news-list .desc {
    padding-top: 15px;
  }

  /* file list */
  .file-list .type {
    width: 100%;
  }

  .file-list .title {
    min-width: auto;
    max-width: 85%;
    padding: 0;
  }

  /* node */
  #content {
    float: none;
  }

  .sidebar-second .center {
    margin-right: 0;
  }

  .node img {
    height: auto !important;
  }

  /* join */
  .page-join table {
    width: 100% !important;
  }

  .page-join td {
    float: left;
    width: 100% !important;
  }

  /* branch */
  .section-chapter .top-vi .info {
    padding: 0 15px;
  }

  .top-vi .branch-info {
    position: relative;
    bottom: unset;
    background: #597233;
    padding: 20px 0;
  }

  #node-2893 td {
    display: block;
    width: 100% !important;
  }
}

@media screen and (max-width: 375px)  {
  .btn-link .btn-icon img {
    max-width: 125px;
  }
}

@media screen and (max-width: 320px)  {
  #logo-title img {
    max-width: 160px;
  }

  #footer-logo img {
    max-width: 200px;
  }

  #block-block-8,
  a.mburger {
    width: 60px;
    height: 60px;
  }

  #branding {
    min-height: 60px;
  }
}