nav {
    margin: 0 auto;
    padding: 0;
    position: relative;
    display: block;
    width: 100%;
    z-index: 900;
}
#menuH {
    position: fixed;
    padding-left: 0;
    font-size: 3em;
    cursor: pointer;
    height: 28px;
    width: .9em;
    top: 15px;
    right: 15px;
    z-index: 500;
}
#menuH:before {
  content: "";
  position: fixed;
  right: 15px;
  top: 15px;
  height:.09em;
  width:.9em;
  background: purple;
  border-radius: .25em;
  box-shadow: 
    0 0.25em 0 0 purple,
    0 0.5em 0 0 purple;
    z-index: 510;
}
.navHome {
    background-color: white;
    box-shadow: 0px 0px 5px #888888;
    z-index: 910;
    font-size: .85em;
}
.navMorado {
    background-color: rgba(91, 41, 110, 0.9) !important;
    box-shadow: none !important;
}
#avatarIE {
    display: none;
}
#avatarIE a, #avatarIE a:visited, #avatarIE a:link {
    text-decoration: none;
    color: #5b296e;
}
#navzilla {
    display: none;
}
.container {
    display: none;
    width: 100%;
    margin: 0;
    position: fixed;
    top: 60px;
    height: 100px:
    transition:all .5s ease;
    padding: 0 0 0 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    background-color: white;
    color:white;
    z-index: 890;
    box-shadow: 0px 4px 5px #888888;
}
.container a, .container a:link {
    color: #5B296E;
    text-decoration: none;
}

#main-check {
    display: none;
    z-index: 900;
}
#main-check:checked ~.container {
    display: block;
}
.navR {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}
.navR li {
    margin: 0 0 .25em 0;
    font-size: 1em;
    border-bottom: 1px solid #f2f2f2;
    padding: .5em 0;
    vertical-align: text-top;
    color:#5B296E;
    cursor:pointer;
}
      
.navR li:last-child {
    border-bottom: none;
}

.navHome {
    background-color: white;
    box-shadow: 0px 0px 5px #888888;
    z-index: 910;
    font-size: .85em;
}
.navMorado {
    background-color: rgba(91, 41, 110, 0.9) !important;
    box-shadow: none !important;
}

#logoColor {
    background-image: url("https://www.pcbws.mx/Portal/publicoNuevo/img/logo.png") !important;
    background-size: 100%;
    height: 73px;
    width: 150px;
}

#avatarColor {
    background-image: url("https://www.pcbws.mx/Portal/publicoNuevo/img/avatar.png") !important;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.navHome ul {
    margin: 0px auto 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
}
.navHome ul li {
    border-radius: .25em;
    color: #5b296e;
    display: inline-block;
    margin: 0 1em;
    text-align: center;
    padding: 0;
    z-index: 910;
    vertical-align: middle;
}
.navMorado ul li {
    color: white !important;
}
.navHome ul li:hover {
    background-color: transparent;
    border-bottom: 2px solid #5b296e;
    border-radius: 0;
    padding: .5em 1em;
    margin: 0;
}
.navHome ul li:first-child:hover {
    background-color: transparent;
    border-bottom: 0 !important;
    padding: 0 1em;
    color: white;
}
.navHome ul li:last-child:hover {
    border: 0 !important;
}
.navMorado ul li:hover {
    border-bottom: 2px solid white !important;
}
.navHome ul li a, .navHome ul li a:link, .navHome ul li a:visited {
    color: inherit;
    text-decoration: none;
    font-family: 'Ubuntu';
}
.navHome ul li a {
    display: inline-block;
}
.navHome ul li a:hover {
    text-decoration: none;
}
.navHome img {
    vertical-align: middle;
    width: 150px;
}

.navHome ul li:last-child:hover {
    background-color: transparent;
}

#avatar {
    margin-right: .5em;
    vertical-align: middle;
    width: 25px;
}

.wrapperH {
  background: transparent;
  color: white;
  line-height: 1.2em;
  margin: 100px 75px 10px 75px;
  padding: .25em;
  position: relative;
  text-align: center;
  width: 100px;
  -webkit-transform: translateZ(0); /* webkit flicker fix */
  -webkit-font-smoothing: antialiased; /* webkit text rendering fix */
}

.wrapperH figure {
    margin: 0 auto;
    padding: 0;
    height: 25px;
    width: 25px;
}
.wrapperH .tooltipH {
  background: #5b296e;
  border-radius:.2em;
  bottom: 100%;
  color: white;
  display: block;
  left: -12px;
  margin-bottom: -120px;
  opacity: 0;
  padding: 1em;
  pointer-events: none;
  position: absolute;
  width: 100%;
  -webkit-transform: translateY(10px);
     -moz-transform: translateY(10px);
      -ms-transform: translateY(10px);
       -o-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
      -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
       -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
          box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

/* This bridges the gap so you can mouse into the tooltip without it disappearing */
.wrapperH .tooltipH:before {
  bottom: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0px;
  position: absolute;
  width: 100%;
}  

/* CSS Triangles - see Trevor's post */
.wrapperH .tooltipH:after {
  border-left: solid transparent 10px;
  border-right: solid transparent 10px;
  border-bottom: solid #5b296e 10px;
  top: -9px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -11px;
  position: absolute;
  width: 0;
}
  
.wrapperH:hover .tooltipH {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0px);
     -moz-transform: translateY(0px);
      -ms-transform: translateY(0px);
       -o-transform: translateY(0px);
          transform: translateY(0px);
}

/* IE can just show/hide with no transition */
.lte8 .wrapperH .tooltipH {
  display: none;
}

.lte8 .wrapperH:hover .tooltipH {
  display: block;
}

.tooltipH a {
    padding: .25em;
}
.tooltipH a:first-child {
    margin-bottom: .5em;
}
.tooltipH a:hover {
    color: #5b296e !important;
    background-color: white;
    border-radius: .2em;
}

.wrapper {
  background: transparent;
  color: white;
  line-height: 1.2em;
  margin: 100px 75px 10px 75px;
  padding: .25em;
  position: relative;
  text-align: center;
  width: 100px;
  -webkit-transform: translateZ(0); /* webkit flicker fix */
  -webkit-font-smoothing: antialiased; /* webkit text rendering fix */
}

.wrapper .tooltip {
  background: white;
  border-radius:.2em;
  border: 1px solid cyan;
  bottom: 100%;
  color: #5B296E;
  display: block;
  left: -16px;
  margin-bottom: -120px;
  opacity: 0;
  padding: 1em;
  pointer-events: none;
  position: absolute;
  width: 100%;
  -webkit-transform: translateY(10px);
     -moz-transform: translateY(10px);
      -ms-transform: translateY(10px);
       -o-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
      -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
       -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
          box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

/* This bridges the gap so you can mouse into the tooltip without it disappearing */
.wrapper .tooltip:before {
  bottom: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}  

/* CSS Triangles - see Trevor's post */
.wrapper .tooltip:after {
  border-left: solid transparent 10px;
  border-right: solid transparent 10px;
  border-bottom: solid white 10px;
  top: -9px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -11px;
  position: absolute;
  width: 0;
}
  
.wrapper:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0px);
     -moz-transform: translateY(0px);
      -ms-transform: translateY(0px);
       -o-transform: translateY(0px);
          transform: translateY(0px);
}

/* IE can just show/hide with no transition */
.lte8 .wrapper .tooltip {
  display: none;
}

.lte8 .wrapper:hover .tooltip {
  display: block;
}

.tooltip a {
    padding: .25em;
}
.tooltip a:first-child {
    margin-bottom: .5em;
}
.tooltip a:hover {
    color: white !important;
    background-color: #5b296e;
    border-radius: .2em;
}

