.menu {
  width: 100%;
}
.menu_switch,
.subMenu_switch {
  display: none;
}
.menu_list {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-box; /* android 2.1-4.3 */
  margin: 0;
  padding: 0;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}
.menu_item {
  list-style: none;
  border: 0px !important;
  cursor: pointer;
  cursor: hand;
  -webkit-order: 0;
  -ms-flex-order: 0;
  order: 0;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: center;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: stretch;
}

.menu_item a {
  box-sizing: border-box;
  color: #fafcfe;
  display: block;
  padding: 0 20px;
  text-decoration: none;
  -webkit-transition: 0.6s;
          transition: 0.6s;
}
.menu_item a:hover {
  background: rgba(251,251,244,.2);
}

.subMenu_label {
  color: #fafcfe;
  cursor: pointer;
  display: block;
  font-size: 12px;
  padding: 0 20px;
  -webkit-transition: 0.6s;
          transition: 0.6s;
}
.subMenu_label:hover {
  background: rgba(251,251,244,.2);
}
.subMenu_labelArrow {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fafcfe;
  display: inline-block;
  margin-left: 6px;
  -webkit-transition: 0.6s;
          transition: 0.6s;
  vertical-align: middle;
}
.subMenu_list {
  margin: 0;
  padding: 0;
  -webkit-transition: 0.6s;
          transition: 0.6s;
}
.subMenu_item {
  font-size: 12px;
  list-style: none;
}
.subMenu_item a {
  box-sizing: border-box;
  color: #fafcfe;
  display: block;
  text-decoration: none;
  -webkit-transition: 0.6s;
          transition: 0.6s;
}
.subMenu_item a:hover {
  background: rgba(251,251,244,.2);
}

/*@media screen and (max-width: 767px) {*/
  .menu_label {
    cursor: pointer;
    display: block;
  }
  .menu_labelInner {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-align: center; /* android 2.1-4.3 */
    background: #1d417a;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-box; /* android 2.1-4.3 */
    height: 30px;
    padding: 5px 5px;
  }
  .menu_labelInner h1 {
    color: #fafcfe;
    font-size: 18px;
    font-weight: bold;
    line-height: 42px;
    margin: 0;
  }
  .menu_switch:checked + div { font-size: inherit;}
  .menu_hamburgerIcon {
    display: block;
    margin-right: 20px;
    position: relative;
    text-align: center;
  }
  .menu_hamburgerIcon, .menu_hamburgerIcon::before, .menu_hamburgerIcon::after {
    background-color: #edf21c;
    border-radius: 1px;
    height: 2px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    width: 23px;
  }
  .menu_hamburgerIcon::before, .menu_hamburgerIcon::after {
    content: "";
    left: 0;
    position: absolute;
  }
  .menu_hamburgerIcon::before {top: -8px;}
  .menu_hamburgerIcon::after {top: 8px;}

  .menu_switch:checked ~ div .menu_hamburgerIcon { background-color: transparent;}
  .menu_switch:checked ~ div .menu_hamburgerIcon::before,
  .menu_switch:checked ~ div .menu_hamburgerIcon::after { top: 0;}
  .menu_switch:checked ~ div .menu_hamburgerIcon::before {
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    box-shadow: 0 0; /* android 2.1-4.3 */
  }
  .menu_switch:checked ~ div .menu_hamburgerIcon::after {
    -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    box-shadow: 0 0; /* android 2.1-4.3 */
  }

  .menu_list {
    /* background: #13294f; */
    /* -webkit-flex-direction: column; */
    -ms-flex-direction: column;
    /* flex-direction: column; */
    -webkit-box-orient: vertical; /* android 2.1-4.3 */
    overflow: hidden;
    padding: 0px;
  }
  .menu_item a, .menu_item{
    height: 0;
    overflow: hidden;
  }
  .menu_switch:checked ~ div .menu_item {
    border-bottom: 1px solid rgba(251,251,244,.2);
  }
  .menu_switch:checked ~ div .menu_item:last-child {
    border-bottom: none;
  }
  .menu_switch:checked ~ div .menu_item a {
    height: 50px;
    overflow: visible;
  }
  .menu_switch:checked ~ div .menu_item {
    height: auto;
    overflow: visible;
    margin: 5px 0 0 0 !important;
    padding: 2px 3px !important;
    border-top: 1px dashed #9fd1f5 !important;
  }
  .menu_switch:checked ~ div .menu_item:first-child, .menu_item:first-child {
    border-top: 0px dashed white !important;
  }
  .menu_switch:checked ~ div .menu_list {
    /* margin: 8px !important; */
  }

  .subMenu {
    line-height: 50px;
    -webkit-transition: 0.6s;
            transition: 0.6s;
  }
  .subMenu_label {
    display: block;
    height: 0;
    overflow: hidden;
  }
  .subMenu_list {
    background: #0f213e;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-orient: vertical; /* android 2.1-4.3 */
    overflow: hidden;
  }
  .subMenu_item {
    height: 0;
    overflow: hidden;
    -webkit-transition: 0.6s;
            transition: 0.6s;
  }
  .subMenu_item a {
    line-height: 50px;
    padding: 0 30px;
  }
  .menu_switch:not(:checked) ~ div .subMenu {
    height: 0;
    overflow: hidden;
  }
  .menu_switch:checked ~ div .subMenu_label {
    height: 50px;
    overflow: visible;
  }
  .subMenu_switch:checked ~ div .subMenu_list {
    border-top: 1px solid rgba(251,251,244,.2);
  }
  .subMenu_switch:checked ~ div .subMenu_labelArrow {
    -ms-transform: rotate(-180deg);
        transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
  }
  .subMenu_switch:checked ~ div .subMenu_item {
    border-bottom: 1px solid rgba(251,251,244,.2);
    height: 50px;
    overflow: visible;
  }
  .subMenu_switch:checked ~ div .subMenu_item:last-child {
    border-bottom: none;
  }
  
/*}*/

@media screen and (min-width: 768px) {
  .menu {
    background: #1d417a;
  }
  .menu_label {
    display: none;
  }

  .menu_list {
    /* background: #1d417a; */
    /* height: 50px; */
    /* -webkit-box-pack: justify; */
    /* -webkit-justify-content: space-between; */
    -ms-flex-pack: justify;
    /* justify-content: space-between; */
    /* max-width: 960px; */
    /* margin: 0 auto; */
  }
  .menu_item {
    height: auto;
    overflow: visible;
    margin: 5px 0 0 0;
    padding: 2px 3px;
    border-top: 1px dashed #9fd1f5 !important;
  }
  .menu_item a {
    height: 50px;
  }

  .subMenu_label {
    line-height: 50px;
    text-align: center;
  }
  .subMenu_list {
    background: #13294f;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    opacity: 0;
    position: absolute;
    top:100%;
  }
  .subMenu_item a {
    border-bottom: 1px solid rgba(251,251,244,.2);
    height: 0;
    line-height: 50px;
    overflow: hidden;
    padding: 0 16px;
    text-align: left;
    width: 200px;
  }
  .subMenu_item:last-child a {
    border-bottom: none;
  }
  .menu_item:hover .subMenu_labelArrow {
    -webkit-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
            transform: rotate(-180deg);
  }
  .menu_item:hover .subMenu_list {
    opacity: 1;
  }
  .menu_item:hover .subMenu_item a {
    height: 50px;
    overflow: visible;
  }
}


@media screen and (min-width: 1000px) {
  .menu_2col .menu_label {
    cursor: pointer;
    display: block;
  }
  .menu_2col .menu_item a, .menu_2col .menu_item{
    height: 0;
    overflow: hidden;

    margin: 0px;
    padding: 0;
    border-top: 0px !important;
  }
}