/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}
.mobile_menu{
  display: none;
  position: relative;
}
.sm_menu_outer.active .mobile_menu{
  display: flex;
  flex-direction: column;
  height: calc(100% - 80px);
}

.mobile_menu > :last-child {
    margin-top: auto;
    width: 100%;
    padding-left: 0;
    left: 0;
    position: absolute;
    /*bottom: 160px;*/
    bottom:25px;
    color: white;
    background: #B9967F;
    color:white;
    height: 5px;
    z-index:100;
}

/*.mobile_menu > :nth-last-child(2){
  margin-top: auto;
    width: 100%;
    padding-left: 0;
    left: 0;
    position: absolute;
   top: 81.5%;
   height: 60px;
   background: rgba(185, 150, 127, 0.1);
   color: #353535;
}*/

.mobile_menu .idiomas{

   background: #ebd5c7;
   height:50px;
   justify-content: space-around;
    display: flex;
    align-items: center;
    text-transform:uppercase;
}

.mobile_menu .sociales{
  background: #B9967F;
  height: 50px;
}

.mobile_menu .radio-inline{
  color: #353535;
  font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 20px;
direction: rtl;
}

.mobile_menu .radio-inline label{
  color: #353535;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  padding-right: 20px;
}

.mobile_menu input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        position: relative;
        background-color: white;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid #353535;
    }

.mobile_menu     input[type='radio']:checked:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        position: relative;
        background-color: white;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 5px solid #353535;
    }

.sm_menu_outer {
  /*height: calc(100vh - 60px);*/
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #FAF3EE;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
  top:80px;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 55px;
  background: url("images/arrow-left.svg") no-repeat scroll 15px center / 5% auto;
  font-weight: 700;
  font-size: 20px;
}
.sm_menu_outer .mobile_menu a {
  color: #353535;
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 20px 15px;
  text-transform: uppercase;
  text-decoration: none;
}
/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #FAF3EE;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
}
.sm_menu_outer .mobile_menu li.active>.submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0);
  /*border-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #2a2a2a 20%, #2a2a2a 50%, #2a2a2a 80%, rgba(0, 0, 0, 0) 100%) 0 0 1 0;*/
  color: #ffffff;
}
.sm_menu_outer .mobile_menu li.hasChild>a {
  background: url("images/chevron-right.svg") no-repeat scroll 95% center / 3% auto;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 25px;
  position: fixed;
  right: 5px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
  width: 30px;
  top: 28px;
  right: 15px;
  z-index: 15;
}
#sm_menu_ham span {
  background-color: rgba(53, 53, 53, 1);
  border-radius: 5px;
  display: block;
  height: 2px;
  left: 0;
  opacity: 1;
  position: absolute;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
  -o-transition: all 0.25s ease-in-out 0s;
  transition: all 0.25s ease-in-out 0s;
  width: 30px;
}
#sm_menu_ham span:nth-child(1) {
  top: 0;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 10px;
}
#sm_menu_ham span:nth-child(4) {
  top: 20px;
}
#sm_menu_ham.open span:nth-child(1) {
  left: 50%;
  top: 18px;
  width: 0;
}
#sm_menu_ham.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
#sm_menu_ham.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#sm_menu_ham.open span:nth-child(4) {
  left: 50%;
  top: 18px;
  width: 0;
}
/*@media (min-width: 0px) and (max-width: 767px) {}
@media (min-width: 768px) and (max-width: 991px) {}
@media (min-width: 992px) and (max-width: 1024px) {}*/
@media (min-width: 1024px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}