* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
#main {
    background: #FFFFFF;
}
#submenu {
    background: #F2F2F2;
    height: 65px;
    padding:0;
}
#submenu .auxi{
    display: flex;
    max-width: 100%;
    height: 100%;
    padding-left: 77px;
}
#submenu .anchor-default {
     width: 170px;
}
#submenu .separacion {
    background: #A0A0A0;
    /*transform: matrix(-1, 0, 0, 1, 0, 0);*/
    width: 1.33px;
    height: 26.67px;
    margin: 23px 35px 0 0;
}
#submenu .anchor_desktop {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding-right: 88px;
  overflow: auto;
}
#submenu .anchor_desktop::-webkit-scrollbar {
    display: none;
}
#submenu .anchor {
    position: relative;
    color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    min-height: 45px;
    padding-right: 19px;
}
#submenu .anchor a {
    color: #808080;
    font-family: 'MontserratRegular';
    font-weight: 500;
    font-size: 18px;
    font-style: normal;
    line-height: 22px;
    text-transform: none;
}
#submenu .anchor_desktop .active a,
#submenu .auxi .anchor.active a{
    color: #333333;
    font-family: 'MontserratBold', sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 24px;
    text-transform: uppercase;
}
#submenu .auxi .anchor.active::after,
#submenu .anchor-desktop .anchor.active::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    background-color: #C51A20;
    bottom: 0;
}
.menu_anchor {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0;
    z-index: 1000;
    right: 0px;
    border-left: 0;
    padding: 50px 0;
}

.menu_anchor ul {
    display: flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    align-content: space-between;
    -ms-flex-line-pack: justify;
    -webkit-align-content: space-between;
    display: -ms-inline-flexbox;
    flex-direction: row;
}

.menu_anchor .anchor {
    text-align: center;
    padding: 0 8px;
}

.anchor_mobile {
    display: none;
}

.sticky_sub {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    background-color: #ffffff;
}

.menu_anchor.sticky_sub .anchor_mobile {
    box-shadow: none !important;
    font-family: 'Avenir Next LT Regular', sans-serif;
    font-size: 14px;
    font-style: normal;
    height: 40px;
    padding: 0 0 0 20px;
    border: 1px solid #bebebe;
    color: #505059;
    vertical-align: middle;
    border-radius: 50px;
    outline: none;
    width: 100%;
}
#submenu .anchor-default:after{
    content: '';
    width: 1px;
    height: 20px;
    background-color: #A0A0A0;
    position: absolute;
    right: 1%;
    bottom: 30%;
}
@media (max-width: 1100px) {
    #submenu .auxi {
        padding-left: 20px;
    }
    #submenu .anchor_desktop {
        padding-right: 44px;
    }
    
}
@media (max-width: 910px) {
    #submenu .auxi {
        padding-left: 20px;
    }
}
@media (max-width: 852px) {
    #submenu .auxi {
        padding-left: 20px;
    }
    #submenu .anchor_desktop {
        padding-right: 20px;
    }
}
@media (max-width: 767px){
    #submenu {
        height: 45px;
    }
    #submenu .anchor-default {
        padding: 0;
    }
    
    #submenu .anchor_desktop {
        height: 100%;
        overflow: auto;
    }
    #submenu .anchor a {
        color: #878585;
        font-size: 13px;    
        line-height: 16px;
    }
    #submenu .anchor_desktop .active a,
    #submenu .auxi .anchor.active a{
        color: #232323;
        font-size: 14px;
        font-weight: 700;
        font-style: normal;
        line-height: 17px;
    }
    #submenu .anchor_desktop li:nth-child(1){
        
        font-size: 16px;
        line-height: 20px;
        color: #232323;
        padding: auto 10px;
    }
     #submenu .separacion {
        background: #A0A0A0;
        /*transform: matrix(-1, 0, 0, 1, 0, 0);*/
        height: 25.25px;
        min-width: 1px;
        margin: auto 0;
    }
    #submenu .anchor-default:before{
        height: 3px;
        background-color: #B7131B;
    }
    #submenu .anchor-default:after{
        content:none;
    }
    
}
@media (min-width:768px) and (max-width:900px){
     #submenu .anchor a {
      font-size: 10px;
     }
}
@media (min-width:901px) and (max-width:1300px){
     #submenu .anchor a {
      font-size: 12px;
     }
     #submenu .anchor_desktop li:nth-child(1){
         font-size: 15px;
     }
     
}


