@media (max-width: 767px) {
  .messages__wrapper {
    display: none;
  }
  .user-logged-in .messages__wrapper {
    display: block;
  }
}
html {
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
}
h1 {
  font-size: 22px;
  line-height: 24px;
}
h2 {
  font-size: 20px;
  line-height: 22px;
  border-bottom: 1px solid #000;
}
h3 {
  font-size: 18px;
  line-height: 20px;
}
.region-content a {
  color: #333;
  text-decoration: underline;
}
.region-content h2 a {
  text-decoration: none;
}
.footer a,
.region-sidebar-second a {
  color: #333;
  text-decoration: none;
}
.nav > li > a:hover,
.nav > li > a:focus {
  background: none;
}
.navbar-default {
  border: none;
  border-radius: 0;
  background: none;
  border-bottom: 3px solid #e72410;
}
.navbar {
  margin-bottom: 0;
}
.navbar .container {
  position: relative;
}
.navbar .logo {
  width: 70px;
}
.navbar-brand {
  float: none;
  padding: 10px 0 0;
  height: inherit;
  color: #333 !important;
}
.brand_text {
  float: left;
  display: flex;
  flex-direction: column;
}
.navbar-default .navbar-text {
  margin: 0 0 30px;
  color: #333;
}
.mainContainerOuter {
  background: url(/images/stripeB.png);
  padding: 20px 0;
}
h1.page-header {
  font-size: 22px;
  line-height: 24px;
  border: none;
  padding: 0;
  margin: 40px 0 20px;
}
.video-container {
  clear: both;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1em;
}
.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#block-mryugaku-main-menu {
  position: absolute;
  right: 0;
  bottom: 0;
}
.view-slideshow .views-row {
  position: relative;
}
/*.view-slideshow .views-field-body{position: absolute;top:20px;right:0;z-index: 999;background: rgba(0,0,0,0.3);color:#fff;width:37%;padding: 5px;}*/
.view-slideshow h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.region-content .nav.well {
  display: flex;
  justify-content: flex-start;
}
.region-content .nav.well a {
  padding: 0;
  margin-right: 10px;
}
/*.node .field{clear: both;margin-bottom: 10px;}*/
.well {
  background: #fff;
}
.well h2:first-child,
.well .view:first-child h3 {
  margin-top: 0;
}
.slick-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.slick-dots li {
  list-style: none;
  color: #bbb;
}
.slick-dots li.slick-active {
  color: #555;
}
.field--label-inline .field--items .field--item {
  display: inline;
}
.slickSlide2 img {
  width: 100%;
}
#block-mryugaku-mainmenu {
  position: absolute;
  bottom: 0;
  right: 0;
}
#block-mryugaku-otoiawase {
  position: absolute;
  top: 10px;
  right: 0;
}
.subMenu ul.menu {
  display: flex;
  flex-wrap: wrap;
}
.footer {
  margin-top: 0;
  border-top: 3px solid #e72410;
  padding: 10px 0 10px 0;
}
.region-footer ul.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#block-mryugaku-copyright {
  text-align: center;
}

.field--label-inline .field--label,
.field--label-inline .field--items {
  float: none;
}
.field--label-inline {
  display: flex;
  justify-content: flex-start;
}

.view-pickup-schools .views-row {
  margin-bottom: 20px;
}
.view-pickup-schools .views-row:last-child {
  margin: 0;
}
.view-pickup-schools .views-row .views-field-title {
  width: 20%;
  float: left;
  margin-right: 5px;
}
.view-pickup-schools .views-row h3 {
  margin-top: 0;
}
.yen,
.rm {
  display: inline;
}
.btn-info {
  color: #fff !important;
  text-decoration: none !important;
  background: #333;
  border: none;
}
.btn-info:hover {
  background: #333;
}
.btn-red {
  color: #fff !important;
  text-decoration: none !important;
  background: #e72410 !important;
  padding: 2px 10px !important;
}
.panel-title {
  padding: 5px 10px;
  background: #333;
  color: #fff;
  border-radius: 4px 4px 0 0;
}
.field--name-field-i- .field--items,
.field--name-taxonomy-vocabulary-4 .field--items {
  display: flex;
  flex-wrap: wrap;
}
.field--name-field-i- .field--item,
.field--name-taxonomy-vocabulary-4 .field--item {
  margin-right: 10px;
}
.group-footer {
  margin-top: 20px;
}
.field--name-field-shortcomment .field--name-field-image {
  float: left;
  margin-right: 5px;
}
.view-content.well .views-row {
  margin-bottom: 30px;
}
.view-content.wdll .views-row:last-child {
  margin-bottom: 0;
}
.view-content.well ul li {
  margin-bottom: 10px;
}
.view-content.well ul li:last-child {
  margin-bottom: 0;
}
.node--type-enrolment.node--view-mode-full .field {
  margin-bottom: 10px;
}
.node--type-enrolment.node--view-mode-full .field:last-child {
  margin-bottom: 0;
}
.breadcrumb {
  background: none;
  padding: 0;
}

/* facebook type images */
.imgDisplay {
  padding-bottom: 20px !important;
}
.imageCount2 .thumb {
  width: 100%;
}
.imageCount2 .thumb img {
  width: 100%;
}
.imageCount3 .thumb {
  width: 50%;
  float: left;
}
.imageCount4 .thumb {
  width: 33.3333%;
  float: left;
}
.imageCount5 .thumb,
.imageOver5 .thumb {
  width: 25%;
  float: left;
}
.overCount {
  position: absolute;
  z-index: 999;
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 1em;
  height: 1em;
  font-size: 20px;
}
.image0 {
  border-bottom: 1px solid #fff;
  position: relative;
}
.image0 img {
  width: 100%;
}
.image0 p {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
}
.image0 p span {
  color: #fff;
  margin: 5px 10px;
}
.image4 {
  position: relative;
}
.thumb {
  border-left: 1px solid #fff;
}
.thumb.image1 {
  border-left: none;
}
.imageHide {
  display: none;
}
.image4 .notFirst {
  display: none;
}

.toRight {
  float: right;
  margin: 0 0 10px 10px;
}
.images-3 {
  display: flex;
  flex-wrap: wrap;
}
.images-3 div {
  display: block;
  width: 32.3333%;
  margin: 0 0.5% 2px;
}
.field--name-node-post-date {
  text-align: right;
}
.field--name-node-post-date,
.field--name-field-cck-gallery,
.field--name-body,
.field--name-field-book-gallery {
  margin-bottom: 10px;
}
.inline-right {
  float: right;
  width: 33.3333%;
  margin: 0 0 5px 5px;
}
.inline-left {
  float: left;
  width: 33.3333%;
  margin-right: 5px;
}
.mark {
  width: 15%;
  float: left;
  margin-right: 5px;
}
#block-mryugaku-toiawase-center {
  margin-top: 20px;
  top: inherit;
  right: inherit;
}
#block-mryugaku-copyright {
  margin-top: 20px;
}
td.rm {
  line-height: inherit !important;
  padding: 0 !important;
}
.view-intelschool-category .view-content {
  display: flex;
  flex-wrap: wrap;
}
.view-intelschool-category .views-row {
  margin-right: 10px;
}

#block-mryugaku-floater {
  position: fixed;
  bottom: 0;
  right: 0;
  background: #333;
}
#block-mryugaku-floater a {
  display: block;
  color: #fff !important;
  font-size: 20px;
  padding: 8px;
}
#block-mryugaku-floater .field--name-body {
  margin-bottom: 0;
}
#block-mryugaku-floater {
  border-radius: 6px 0 0 0;
}
.page-node-779 td {
  border: 1px solid #ddd;
}
.table-striped > tbody > tr:nth-of-type(even) {
  background: #fff;
}
#foods {
  display: flex;
  flex-wrap: wrap;
}
#foods img {
  display: block;
  width: 32.3333%;
  margin: 0 0.5% 5px;
}
.stores {
  display: flex;
}
.stores div {
  width: 32.3333%;
  margin: 0 0.5% 5px;
}
#malaysiaMap {
  float: right;
  max-width: 50%;
}
#GPI {
  display: block;
  max-width: 255px;
  margin: 0 auto;
}

.view-tips.view-display-id-block_1 .view-content.well .views-row {
  margin-bottom: 10px;
}
.view-tips.view-display-id-block_1 .view-content.well .views-row:last-child {
  margin-bottom: 0;
}

.view-support-menue .views-row {
  display: flex;
  margin-bottom: 10px;
}
.view-support-menue .views-row .views-field-field-cck-gallery {
  width: 48%;
  margin-right: 2%;
}
.view-support-menue .views-row .views-field-title {
  width: 50%;
}
.view-support-menue .views-row .views-field-field-cck-gallery img {
  width: 100%;
}
.view-support-menue .view-header {
  margin-bottom: 20px;
}
.views-field-field-early-bird-price .yen,
.views-field-field-program-fees .yen {
  display: block;
}
@media (max-width: 767px) {
  .navbar .logo {
    width: 100px;
  }
  .brand_text {
    margin: 15px 0 0 10px;
  }
  #block-mryugaku-mainmenu {
    display: none;
  }
  .navbar-toggle {
    background: #333;
    margin: 15px 10px 0 0;
  }
  .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
  }
  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus {
    background: #e72410;
  }
  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > .active > a:focus {
    background-color: #e72410;
    color: #fff;
  }
  .menu--main.nav li a {
    background: #333;
    color: #fff;
  }
  ul.menu--main.nav {
    margin-bottom: 0;
  }
  .mainContainerOuter {
    padding-top: 0;
  }
  #block-mryugaku-otoiawase {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
  }
  .navbar-text {
    margin-bottom: 0;
  }
  .region-footer ul.menu {
    flex-wrap: wrap;
  }
  .view-slideshow .views-field-body {
    width: 80%;
    top: 0;
  }

  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: normal;
  }
  .tableSP td,
  .tableSP th {
    display: block;
    width: 100% !important;
  }
  .bt-content {
    padding: 5px 5px 5px 5px;
    width: 100%;
  }
  table.bt tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ddd !important;
  }
  table.bt td {
    border-bottom: 1px solid #ddd !important;
  }
  table.bt td:last-child {
    border-bottom: none;
  }
  table.bt td:before {
    background: #333;
    color: #fff;
    padding: 2px 5px;
  }
  .table > tbody > tr > td {
    padding: 0;
  }
  .table-responsive.tableSP {
    border: none;
  }
  table.bt {
    border: none;
  }
  table.bt .logo,
  table.bt .gallery {
    float: right;
  }
  .bt-content {
    display: block;
    max-width: 100%;
    background: #fff;
  }
}
@media (min-width: 768px) {
  body {
    margin-top: 0;
  }
  #navbar-collapse {
    display: none !important;
  }
  .navbar-brand {
    margin: 0 !important;
  }
  .navbar-text {
    flex: none;
    margin: 5px 0 0;
  }
  .navbar-nav > li > a {
    padding: 5px;
  }
  .view-blog .views-row .views-field-field-cck-gallery,
  .node--type-accommodation.node--view-mode-teaser
    .field--name-field-acc-gallery {
    width: 30%;
    margin: 0 0 10px 1%;
    float: right;
  }
  .region-sidebar-second .nav li a {
    padding: 0 0 10px;
  }
  .region-sidebar-second .nav li:last-child a {
    padding: 0;
  }
  .menu--main a {
    background: #333;
    color: #fff !important;
    border-left: 1px solid #fff;
  }
  .menu--main li:first-child a {
    border-radius: 4px 0 0 0;
  }
  .menu--main li:last-child a {
    border-radius: 0 4px 0 0;
  }
  .menu--main a:hover,
  .menu--main a.is-active {
    background: #e72410 !important;
  }
  .node--view-mode-teaser .field--name-field-cck-gallery,
  .view-content.well .views-row .views-field-field-cck-gallery,
  .page-node-93 .field--name-field-book-gallery {
    width: 30%;
    float: right;
    margin-left: 5px;
  }
  .node--type-consultants .field--name-field-image {
    width: 50%;
    float: right;
    margin: 0 0 5px 5px;
  }

  .page-node-5 .inline-right {
    width: 25%;
    float: right;
    margin: 0 0 5px 1%;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
  .col-sm-9 {
    width: 70%;
  }
  .col-sm-3 {
    width: 30%;
  }
}
/* test20260817 */
