﻿.sm {
  box-sizing: border-box;
  position: relative;
  z-index: 999;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.sm,
.sm ul,
.sm li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: normal;
  direction: ltr;
  text-align: left
}

.sm-rtl,
.sm-rtl ul,
.sm-rtl li {
  direction: rtl;
  text-align: right
}

.sm>li>h1,
.sm>li>h2,
.sm>li>h3,
.sm>li>h4,
.sm>li>h5,
.sm>li>h6 {
  margin: 0;
  padding: 0
}

.sm ul {
  display: none
}

.sm li,
.sm a {
  position: relative;
  display: block
}

.sm a.disabled {
  cursor: default
}

.sm::after {
  content: "";
  display: block;
  height: 0;
  font: 0px/0 serif;
  clear: both;
  overflow: hidden
}

.sm *,
.sm *::before,
.sm *::after {
  box-sizing: inherit
}

.main-nav {
  background: var(--menu-bg);
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  -ms-border-radius: 1px;
  -o-border-radius: 1px;
  border-radius: 1px
}


@media(min-width: 769px) {
  .main-nav {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto
  }
}

@media(min-width: 1921px) {
  .main-nav {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto
  }
}


.main-nav:after {
  clear: both;
  content: " ";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden
}

.main-menu-btn {
  padding: 6px;
  position: relative;
  display: inline-block;
  width:100%;
  max-width: 3rem;
  text-indent: var(--gutter-double);
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background:#fff;
}

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 13px;
  height: 3px;
  width: 40px;
  background: #000;
  -webkit-transition: all .25s;
  transition: all .25s
}

.main-menu-btn-icon:before {
  content: "";
  top: -9px;
  left: 0
}

.main-menu-btn-icon:after {
  content: "";
  top: 9px;
  left: 0
}

#main-menu-state:checked~.main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: rgba(0, 0, 0, 0)
}

#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)
}

#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-state:not(:checked)~#main-menu {
  display: none
}

#main-menu-state:checked~#main-menu {
  display: block
}

@media(min-width: 769px) {
  .main-menu-btn {
    position: absolute;
	z-index:1000;
	height: 2.75rem;
	top:2rem;
	right:3rem;
  }

  #main-menu-state:not(:checked)~#main-menu {
    /*display: block */
  }
}

#main-menu {
  clear: both; padding-top:6rem; padding-left:2rem; max-width:90%;
}

@media(min-width: 769px) {
  #main-menu.justified>li {
    float: none;
    display: table-cell;
    width: 1%;
    text-align: center
  }
}

.wrapper-topmenu {
  position:absolute;
  z-index:10;
  top:0;
  right:0;
  width:28%;
 /* background:#A6ABB8; */
  background:#124162;
}
.wrapper-topmenu.bright {
  background: rgba(180,110,130,0.9);
}

.main-menu-btn-text {display:none}


@media(min-width: 769px)and (max-width: 1296px) {
}

@media screen and (max-width: 768px) {
  .wrapper-topmenu {
    position: absolute;
    top: 0;
    z-index: 99;
    right: 0;
    height: 0;
    background: rgba(0, 0, 0, 0)
  }

  #main-menu {
    width: 100%;
	max-width:100%;
	padding:5rem 0 0 0;
  }

  .main-menu-btn {
    position: absolute;
    z-index: 1000;
    height: 3.25rem;
	right:1rem;
    top: 1rem;
  }
   

  .sm {
    top: calc(var(--base-size)*-2)
  }
  .sm-vertical ul li,
  .sm-vertical.sm-rtl ul li,
  .sm-vertical.sm-vertical li {
    float: none; border-bottom:1px solid #fff;
  }

  .main-nav.menu-horizontal {
    height: 0
  }

  .main-menu-btn-text {
    color: var(--menu-icon-button)
  }
}

.moremenu a b {
  line-height: 1;
  font-size: var(--font-size3)
}

.sm-vertical .mega-menu.sm-nowrap li.mega-flex>a,
.sm-vertical .mega-menu.sm-nowrap li.mega-flex>:not(ul) a {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto
}

.sm-vertical {
  background:#A6ABB8;
  border-radius: 2px;
}

.sm-vertical a {
  padding: .75rem .75rem;
  padding-right: 2.75rem;
}

.sm-vertical a {
  color: #fff;
  text-transform:uppercase;
  font-size: var(--body-font-size);
  font-weight: normal;
  line-height: 1.5rem;
  text-decoration: none
}

.sm-vertical a:hover,
.sm-vertical a:focus,
.sm-vertical a:active {
  color: var(--menu-link-hover-color)
}

.sm-vertical a:hover,
.sm-vertical a:focus,
.sm-vertical a:active,
.sm-vertical a.highlighted {
  color: var(--menu-link-hover-color)
}

.sm-vertical a.current,
.sm-vertical a.active.has-submenu {
  color: var(--menu-link-hover-color);
  background: #fff;
}

.sm-vertical a.disabled {
  color: var(--gray4)
}

.sm-vertical a .sub-arrow {
  position: absolute;
  top: 50%;
  margin-top: -1rem;
  left: auto;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  font: bold 1rem/2rem monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  border:1px solid #000;
  color:#000;
}

.sm-vertical a .sub-arrow::before {
  content: "+"
}

.sm-vertical a.highlighted .sub-arrow::before {
  content: "-"
}

.sm-vertical>li:first-child>a,
.sm-vertical>li:first-child>:not(ul) a {
  border-radius: 2px 2px 0 0
}

.sm-vertical>li:last-child>a,
.sm-vertical>li:last-child>*:not(ul) a,
.sm-vertical>li:last-child>ul,
.sm-vertical>li:last-child>ul>li:last-child>a,
.sm-vertical>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-vertical>li:last-child>ul>li:last-child>ul,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul {
  border-radius: 0 0 2px 2px
}

.sm-vertical>li:last-child>a.highlighted,
.sm-vertical>li:last-child>*:not(ul) a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,
.sm-vertical>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted {
  border-radius: 0
}

.sm-vertical li {
  border-top: 1px solid var(--collapsible-separators-color)
}

.sm-vertical>li:first-child {
  border-top: 0
}

.sm-vertical ul {
    background: #ca899c;
}

.sm-vertical ul a,
.sm-vertical ul a:hover,
.sm-vertical ul a:focus,
.sm-vertical ul a:active {
  font-size: var(--body-font-size);
  padding-left:2rem;
  border-left: .75rem solid rgba(0, 0, 0, 0)
}

.sm-vertical ul a.current,
.sm-vertical ul a.active {
  color: var(--submenu-link-hover-color);
  background: #fff;
}

.sm-vertical ul ul a,
.sm-vertical ul ul a:hover,
.sm-vertical ul ul a:focus,
.sm-vertical ul ul a:active {
  border-left: 1.5rem solid rgba(0, 0, 0, 0)
}

.sm-vertical ul ul ul a,
.sm-vertical ul ul ul a:hover,
.sm-vertical ul ul ul a:focus,
.sm-vertical ul ul ul a:active {
  border-left: 2.25rem solid rgba(0, 0, 0, 0)
}

.sm-vertical ul ul ul ul a,
.sm-vertical ul ul ul ul a:hover,
.sm-vertical ul ul ul ul a:focus,
.sm-vertical ul ul ul ul a:active {
  border-left: 3rem solid rgba(0, 0, 0, 0)
}

.sm-vertical ul ul ul ul ul a,
.sm-vertical ul ul ul ul ul a:hover,
.sm-vertical ul ul ul ul ul a:focus,
.sm-vertical ul ul ul ul ul a:active {
  border-left: 3.75rem solid rgba(0, 0, 0, 0)
}

@media(min-width: 769px) {
  .sm-vertical ul {
    position: absolute;
    width: 12em
  }

  .sm-vertical li {
    float: left
  }

  .sm-vertical.sm-rtl li {
    float: right
  }

  .sm-vertical ul li,
  .sm-vertical.sm-rtl ul li,
  .sm-vertical.sm-vertical li {
    float: none; max-width:400px; border-bottom:1px solid rgba(255,255,255,0.2);
  }
  .sm-vertical.sm-vertical li:last-child { border-bottom:0;}

  .sm-vertical a {
    white-space: nowrap
  }

  .sm-vertical ul a,
  .sm-vertical.sm-vertical a {
    white-space: normal
  }

  .sm-vertical .sm-nowrap>li>a,
  .sm-vertical .sm-nowrap>li>:not(ul) a {
    white-space: nowrap
  }

  .sm-vertical {
    padding: 0 0;
    background: var(--menu-bg);
    border-radius: 0
  }

  .sm-vertical a {
    padding: .75rem .75rem;
	color:#fff;
  }

  .sm-vertical a.current {
    color: #fff;
	font-weight:700 !important;
	background: rgba(255,255,255,0.2);
  }

  .sm-vertical a.disabled {
    color: var(--gray4)
  }

  .sm-vertical a .sub-arrow {
    width: 0;
    height: 0;
    border-width: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #fff rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
    border-radius: 0;
    top: auto;
    margin-top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    right: auto;
    padding-right: 0
  }

  .sm-vertical a .sub-arrow::before {
    display: none
  }

  .sm-vertical li {
    border-top: 0
  }

  .sm-vertical>li>ul::before,
  .sm-vertical>li>ul::after {
    content: "";
    position: absolute;
    top: -18px;
    left: 30px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 9px;
    border-style: dashed dashed solid dashed;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) var(--desktop-submenu-border-color) rgba(0, 0, 0, 0)
  }

  .sm-vertical>li>ul::after {
    top: -16px;
    left: 31px;
    border-width: 8px;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) var(--submenu-bg) rgba(0, 0, 0, 0)
  }

  .sm-vertical ul {
    padding: 0;
    background: #ca899c;
    border-radius: 2px !important;
    box-shadow: 0 5px 9px var(--box-shadow)
  }

  .sm-vertical ul a {
    padding: .75rem .75rem
  }

  .sm-vertical ul a,
  .sm-vertical ul a:hover,
  .sm-vertical ul a:focus,
  .sm-vertical ul a:active,
  .sm-vertical ul a.highlighted {
    border: 0 !important;
    color: var(--submenu-link-color)
  }

  .sm-vertical ul a:hover,
  .sm-vertical ul a:focus,
  .sm-vertical ul a:active,
  .sm-vertical ul a.highlighted {
    background: var(--submenu-hover-bg);
    color: var(--submenu-link-hover-color)
  }

  .sm-vertical ul a.current {
    color: #000 !important;
    background: #fff;
  }

  .sm-vertical ul a.disabled {
    background: var(--submenu-bg);
    color: var(--gray5)
  }

  .sm-vertical ul a .sub-arrow {
    right: 8px;
    top: 50%;
    left: auto;
    margin-top: -5px;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) var(--menu-arrow-color)
  }

  .sm-vertical .scroll-up,
  .sm-vertical .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: var(--submenu-bg);
    height: 20px
  }

  .sm-vertical .scroll-up:hover,
  .sm-vertical .scroll-down:hover {
    background: var(--submenu-hover-bg)
  }

  .sm-vertical .scroll-up:hover .scroll-up-arrow {
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) var(--submenu-link-hover-color) rgba(0, 0, 0, 0)
  }

  .sm-vertical .scroll-down:hover .scroll-down-arrow {
    border-color: var(--submenu-link-hover-color) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0)
  }

  .sm-vertical .scroll-up-arrow,
  .sm-vertical .scroll-down-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -6px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 6px;
    border-style: dashed dashed solid dashed;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) var(--submenu-link-color) rgba(0, 0, 0, 0)
  }

  .sm-vertical .scroll-down-arrow {
    top: 8px;
    border-style: solid dashed dashed dashed;
    border-color: var(--submenu-link-color) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0)
  }

  .sm-vertical.sm-vertical {
    padding: .75rem 0;
    border-radius: 2px
  }

  .sm-vertical.sm-vertical a {
    padding: .5rem .75rem .5rem 0.5rem;
	text-transform:uppercase;
	font-weight:300;
  }

  .sm-vertical.sm-vertical a:hover,
  .sm-vertical.sm-vertical a:focus,
  .sm-vertical.sm-vertical a:active,
  .sm-vertical.sm-vertical a.highlighted {
    background: rgba(255,255,255,0.2);
	color:#fff;
  }

  .sm-vertical.sm-vertical a.disabled {
    background: var(--menu-bg)
  }

  .sm-vertical.sm-vertical a .sub-arrow {
    right: 8px;
    top: 50%;
    left: auto;
    margin-top: -5px;
    border-width: 5px;
    border-style: dashed dashed dashed solid;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #fff;
  }
    .sm-vertical.sm-vertical a.active.has-submenu .sub-arrow { 
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #000;
	}

  .sm-vertical.sm-vertical>li>ul::before,
  .sm-vertical.sm-vertical>li>ul::after {
    display: none
  }

  .sm-vertical.sm-vertical ul a {
    padding: .25rem .75rem;
	color:#fff;
  }

  .sm-vertical.sm-vertical ul a:hover,
  .sm-vertical.sm-vertical ul a:focus,
  .sm-vertical.sm-vertical ul a:active,
  .sm-vertical.sm-vertical ul a.highlighted {
    background: rgba(255,255,255,0.9);
	color:#b46e82;
  }

  .sm-vertical.sm-vertical ul a.disabled {
    background: var(--submenu-bg)
  }
}

@media screen and (max-width: 1600px) {
.wrapper-topmenu {width: 30%;}
}
@media screen and (max-width: 1400px) {
.wrapper-topmenu {width: 35%;}
}
@media screen and (max-width: 1280px) {
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 8px;
  height: 3px;
  width: 40px;
  background: #000 !important;
  -webkit-transition: all .25s;
  transition: all .25s
}

.main-menu-btn-icon:before {
  content: "";
  top: -9px;
  left: 0
}

.main-menu-btn-icon:after {
  content: "";
  top: 9px;
  left: 0
}
}

@media screen and (max-width: 1024px) {
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 8px;
  height: 3px;
  width: 40px;
  background: #fff;
  -webkit-transition: all .25s;
  transition: all .25s
}
.wrapper-topmenu {width: 40%;}
.main-menu-btn-icon:before {
  content: "";
  top: -9px;
  left: 0
}

.main-menu-btn-icon:after {
  content: "";
  top: 9px;
  left: 0
}
}
@media screen and (max-width: 800px) {
.wrapper-topmenu {width: 50%;}
}

@media screen and (max-width: 768px) {
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 15px;
  height: 3px;
  width: 30px;
  background: #fff;
  -webkit-transition: all .25s;
  transition: all .25s
}

.main-menu-btn-icon:before {
  content: "";
  top: -9px;
  left: 0
}

.main-menu-btn-icon:after {
  content: "";
  top: 9px;
  left: 0
}
}

@media screen and (max-width: 600px) {
.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 10px;
  height: 3px;
  width: 30px;
  background: #fff;
  -webkit-transition: all .25s;
  transition: all .25s
}
.main-menu-btn-icon:before {
  content: "";
  top: -9px;
  left: 0
}
.main-menu-btn-icon:after {
  content: "";
  top: 9px;
  left: 0
  }
 .wrapper-topmenu {
    width: 100%;
  }  
}