@charset "utf-8";
.sm, .sm ul, .sm .nav {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: normal;
  direction: ltr;
  text-align: left;
}
.sm ul {
  display: none;
}
.sm .nav, .sm .nav a {
  position: relative;
}
.sm a {
  display: block;
}
.sm a.disabled {
  cursor: default;
}
.main-nav {
  position: relative;
}
.main-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}
.nav-brand {
  float: left;
  margin: 0;
}
.nav-brand a {
  display: block;
  padding: 11px 11px 11px 20px;
  color: #555;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 17px;
  text-decoration: none;
}

.sm-simple .nav > a {
  padding: 10px;
  font-weight: 600;
  border-radius: 5px;
  font-size: 115%;
}

.sm-simple .nav.rightbt > a.rbg {
    background-color: #8d4d2d;
    border-radius: 50px;
    color: #fff;
    padding: 7px 25px !important;
    text-align: center;
}

.sm-simple .nav.rightbt > a.rbg:hover {
    background-color: #6b3920;
}
.sm-simple .nav a {
  text-decoration: none;
  line-height: 160%;
  white-space: nowrap;
}
.sm-simple .accesskey a {color: #a83e58;position: relative;top: 12px;}
.sm-simple .nav .out a {
    padding: 10px 30px 10px 20px;
    background-image: url(../images/icon/arrow02.svg);
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px;
}
.sm-simple .nav a.current {
  background: #555555;
  color: #fff;
}
.sm-simple a.disabled {
  color: #cccccc !important;
}
.sm-simple a .sub-arrow {
  position: absolute;
}
.sm-simple > li:first-child {
  border-top: 0;
}
.sm-simple ul {
  /* background: rgba(179, 179, 179, 0.1); */
}
.sm-simple ul a, .sm-simple ul a:hover, .sm-simple ul a:focus, .sm-simple ul a:active {
  border-left: 8px solid transparent;
}
.sm-simple ul ul a, .sm-simple ul ul a:hover, .sm-simple ul ul a:focus, .sm-simple ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-simple ul ul ul a, .sm-simple ul ul ul a:hover, .sm-simple ul ul ul a:focus, .sm-simple ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-simple ul ul ul ul a, .sm-simple ul ul ul ul a:hover, .sm-simple ul ul ul ul a:focus, .sm-simple ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-simple ul ul ul ul ul a, .sm-simple ul ul ul ul ul a:hover, .sm-simple ul ul ul ul ul a:focus, .sm-simple ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
/* Mobile menu toggle button */
.main-menu-btn {
  position: fixed;
  display: inline-block;
  width: 35px;
  height: 28px;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  top: 14px;
  text-align: center;
  z-index: 9;
  right: 15px;
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 35px;
  background: #5d4200;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-menu-btn-icon:before {
  content: '';
  top: -12px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 12px;
  left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
#main-menu, #main-menu > .has-mega-menu {
  position: static !important;
}
#main-menu .mega-menu {
  margin-left: 0 !important;
  margin-right: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: none !important;
}
#main-menu > .has-mega-menu .scroll-up, #main-menu > .has-mega-menu .scroll-down {
  margin-left: 0 !important;
}
#main-menu .mega-menu > li {
  overflow: auto;
}
#main-menu .mega-menu > li .row {
  margin: 0;
}
#main-menu .mega-menu .mega-nav > p a {
  font-weight: bold;
  color: #000;
  font-size: 105%;
}
#main-menu .mega-menu .mega-nav {
  margin: 0 0 15px 0;
}
#main-menu .mega-menu ul {
  position: static;
  display: block;
  border: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#main-menu .mega-menu ul li {
  border: 0;
}
#main-menu .mega-menu a {
  padding: 10px 10px;
}
#main-menu .mega-menu .mega-nav > p {
  margin: 0;
}
#main-menu .mega-menu .mega-nav .note {
  padding: 10px 12px;
  line-height: 160%;
}
.sm-simple .memberinfo {
  color: #8d4d2d;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.sm-simple .memberinfo p {
  font-size: 120%;
}
.sm-simple .memberinfo p {margin:0;}
.sm-simple .memberinfo .avatar{   
    position: relative;
    border-radius: 50px;
    overflow: hidden;
}

.sm-simple .memberinfo .avatar img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (min-width: 992px) {
  .menu.smaller {
    position: fixed;
    width: 100%;
    z-index: 99;
    top: 0;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 5px 5px 0 rgba(0,0,0,0.25);
    -moz-box-shadow: 0 5px 5px 0 rgba(0,0,0,0.25);
}
  .main-nav {
  background-color: #FAC7A9;
  padding: 20px;
}
  .sm-simple .memberinfo .avatar{
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0;
}
  .sm-simple ul {
    position: absolute;
  }
  .sm-simple .nav {
    float: left;
  }

.sm-simple .memberinfo {padding: 10px;}
.sm-simple .righttop {
    display:none;
}
.sm-simple .rightbt {
    padding: 0 0 0 20px;
}

.sm-simple .nav.rightbt > a > .sub-arrow {
    display: none;
}

.sm-simple .rightbt > a {
    padding: 0 !important;
}

.sm-simple .memberinfo > a {
    padding: 10px !important;
}
  .sm-simple.sm-rtl li {
    float: right;
  }
  .sm-simple ul li, .sm-simple.sm-rtl ul li, .sm-simple.sm-vertical li {
    float: none;
  }
  .sm-simple ul a, .sm-simple.sm-vertical a {
    white-space: normal;
  }
  .sm-simple .nav ul li a {
    padding: 10px 25px;
    font-weight: normal;
    color: #8d4d2d;
    white-space: nowrap;
  }
  .sm-simple .nav ul ul {
    width:initial !important;
    max-width:initial !important;
  }

.sm-simple .nav ul li a:hover {
    background-color: #ffe7d8;
}

.sm-simple .nav ul li:last-child a:hover {
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

.sm-simple .nav ul li:first-child a:hover {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}


  .sm-simple a:hover, .sm-simple a:active, .sm-simple a.highlighted {
  color: #8d4d2d;
  }
  .sm-simple a.current {
    background: #555555;
    color: #fff;
  }
  .sm-simple a.disabled {
    background-color: #fff;
  }
  .sm-simple a.has-submenu {
    padding-right: 32px;
  }

.sm-simple .nav > a {
    color: #000;
}

.sm-simple .nav > a > .sub-arrow {
    top: 45%;
}
  .sm-simple a .sub-arrow {
    transform: translate(50%, -50%);
    top: 50%;
    margin: 0 0 0 5px;
  }
  .sm-simple a > .sub-arrow::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-right: solid 2px #8d4d2d;
    border-bottom: solid 2px #8d4d2d;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .sm-simple > .nav {
    border-top: 0;
  }
  .sm-simple > .nav:hover a {
    color:#8d4d2d;
  }

.sm-simple > .nav.link {
    display: none;
}

.sm-simple > .line::before {
    content: "";
    width: 1px;
    position: absolute;
    background-color: #8d4d2d;
    display: block;
    top: 0;
    bottom: 0;
    margin: 0 0 0 5px;
}
  .sm-simple > li:first-child {
    border-left: 0;
  }
  .sm-simple ul {
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  }
  .sm-simple ul a {
    border: 0 !important;
  }
  .sm-simple ul a.has-submenu {
    padding-right: 20px;
  }
  .sm-simple .nav ul li a .sub-arrow {
    right: 18px;
  }

.sm-simple .nav ul li a .sub-arrow::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
  .sm-simple ul > li {
    border-left: 0;
  }

  .sm-simple .scroll-up, .sm-simple .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    height: 20px;
  }
  .sm-simple .scroll-up-arrow, .sm-simple .scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #555555 transparent;
  }
  .sm-simple .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #555555 transparent transparent transparent;
  }
  .sm-simple.sm-rtl a.has-submenu {
    padding-right: 20px;
    padding-left: 32px;
  }
  .sm-simple.sm-rtl a .sub-arrow {
    left: 20px;
    right: auto;
  }
  .sm-simple.sm-rtl.sm-vertical a.has-submenu {
    padding: 11px 20px;
  }
  .sm-simple.sm-rtl.sm-vertical a .sub-arrow {
    left: auto;
    right: 8px;
  }
  .sm-simple.sm-rtl > li:first-child {
    border-left: 1px solid #eeeeee;
  }
  .sm-simple.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-simple.sm-rtl ul a.has-submenu {
    padding: 11px 20px;
  }
  .sm-simple.sm-rtl ul a .sub-arrow {
    left: auto;
    right: 8px;
  }
  .sm-simple.sm-vertical a .sub-arrow {
    left: 8px;
    right: auto;
  }
  .sm-simple.sm-vertical li {
    border-left: 0;
    border-top: 1px solid #eeeeee;
  }
  .sm-simple.sm-vertical > li:first-child {
    border-top: 0;
  }
  #main-menu {
    /* padding-left: 190px; */
    display: -webkit-flex;
    display:flex;
    -webkit-flex-wrap:wrap;
    flex-wrap:wrap;
    -webkit-justify-content:flex-end;
    justify-content:flex-end;
  }
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu .mega-menu {
    padding: 15px;
    margin-left: -30px !important;
    margin-right: -30px !important;
    max-height: 50vh;
    overflow: overlay;
  }
  #main-menu .mega-menu .mega-nav > p {
    border-bottom: 1px #e1e1e1 solid;
  }
}
@media (max-width: 992px) {
    .menu {
    height: 60px;
  }
    .main-nav {
  background-color: rgba(85,85,85,0.5);
  padding: 0 0 0 2%;
}
  .sm::after {
    content: "";
    display: block;
    clear: both;
    overflow: hidden;
  }
  
  .sm-simple a .sub-arrow::before {
    position: absolute;
    top: 30%;
    left: 45%;
    content: "";
    color: #555;
    font-weight: normal;
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: solid 1px #000000;
    border-right: solid 1px #000000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .sm-simple a.highlighted .sub-arrow::before {
    content: "";
    font-size: 130%;
    font-weight: 100;
    border-top: solid 1px #000000;
    border-left: solid 1px #000000;
    border-bottom: none;
    border-right: none;
    top: 40%;
  }
  .sm-simple aa.highlighted .sub-arrow::before {
    content: "-";
  }
  .sm-simple .nav > a.highlighted {
  background-color: #FAC7A9;
  }

.sm-simple .nav a {
    color: #000;
    font-size: 110%;
}

.sm-simple .nav.link a {
    font-size: 100%;
    font-weight: normal;
    line-height: normal;
}
.sm-simple .nav.line-bm {
  margin-bottom:20px;
}
.sm-simple .nav.line-bm:before {
    content: "";
    width: 90%;
    height:1px;
    position: absolute;
    background-color: #bbbbbb;
    display: block;
    top: 0;
    bottom: 0;
}
.sm-simple .nav.rightbt > a.rbg {
    /* width: 100%; */
}
  .sm-simple .nav ul li a {
    padding: 10px 20px;
    font-size: 100%;
    font-weight: bold;
  }

.sm-simple .nav ul ul li a {
    font-weight: normal;
}
  .menu .sm-simple .nav {
    padding: 0 15px;
}

.menu .sm-simple .nav.rightbt {
    padding: 20px 0;
    /* border-bottom: 1px #bbb solid; */
    margin: 0 20px 10px 20px;
}

.menu .sm-simple .nav.memberinfo {
    display: none;
}
.sm-simple .memberinfo .avatar {
    width: 40px;
    height: 40px;
    margin: 0 5px 0 0;
}

.menu .sm-simple .nav .memberinfo {
    display: none !important;
}
  .sm-simple .mega-menu .mega-nav ul {
    background: transparent;
  }
  .sm-simple a .sub-arrow {
    right: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
  }

  #main-menu {
    height: 100vh;
    overflow: scroll;
    overflow-x: visible;
    overflow-y: auto;
    padding: 70px 0 10px 0;
    background-color: #F4DEC5;
    max-width: 380px;
    float: right;
    width: 100%;
  }
  .menu {
    background-color: #FAC7A9;
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
  }
  #main-menu-state:not(:checked) ~ #main-menu {
    display: none;
  }
  #main-menu .mega-menu {
    padding: 5px 0;
  }
}
.memberinfo-m {
  position:relative;
  margin-bottom:20px !important;
}
.memberinfo-m a {
  color:#824c75 !important;
}
.memberinfo-m p {
  font-size:120%;
  color:#5d4200;
  margin-bottom:4px;
}
@media (min-width: 992px) {
.sm-simple .memberinfo-m {
  display:none !important;
}
}
@media (max-width: 992px) {
.sm-simple .memberinfo.rightbt {
  display:none !important;
}
.menu .sm-simple .nav.rightbt .search {
    display:none;
}
.sm-simple li.righttop {
    position: relative;
    padding: 0 15px 0 15px;
}

.sm-simple .righttop .memberinfo {
    padding: 12px;
}
.sm-simple .righttop .memberinfo a {
    color: #000;
}
}