@charset "utf-8";

/*-----------------------------------------*/

.flexbox {
  display: flex;
}

.fw {
  flex-wrap: wrap;
}

ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}

#fontSize {
  width: auto;
}

@media screen and (min-width: 769px){

#fontSize ul {
  width: 150px;
  height: 25px;
  margin: 0 auto;
  justify-content: center;
  border: 1px solid #044a80;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  overflow: hidden;
  display: flex;
  justify-content:center ;

 }

}

#fontSize ul li {
  margin: 0 !important;
  width: 25px;
  min-width: inherit;
  text-align: center;
  line-height: 28px;
  height: 35px;
  align-self: center;
  line-height: 35px;
  position: relative;
  cursor: pointer;
  border-left: 1px solid #dddddd;
  font-weight: bold;
}
#fontSize ul li:first-of-type {
  border: none;
}

#fontSize ul li.middle {
	width: 100px;
	color: #fff;
    background: #044a80;
}

#fontSize ul li.small,
#fontSize ul li.large {
	color: #86888c;
  background: #fff;
	font-size: 18px;
}


@media screen and (max-width: 768px){

nav #navi2 ul {
  margin: 0;
}
nav #navi2 ul li div ul {
    flex-direction: row;
    background: #dae2f2;
    padding: 0 0 15px;
}

#fontSize ul li.middle {
  font-size: 1.4rem;
}


}