/* normal style */
@media print,screen {
	/* navigation */
	#pageindex ul,
	#reportindex ul {
	    margin: 0 0 20px;
	    display: -webkit-flex;
	    display: -ms-flex;
	    display: flex;
	    flex-wrap: wrap;
	    align-items: stretch;
	    -webkit-box-pack: center;
	    -ms-flex-pack: center;
	    justify-content: center;
	    /* border: 1px solid #00174e; */
	    list-style-type: none;
	}
	#pageindex ul li,
	#reportindex ul li {
	    flex: 1;
	    /* border-right: 1px solid #00174e; */
	}
	#pageindex ul li a,
	#reportindex ul li a {
	    display: block;
	    text-align: center;
	    color: #E4005A;
	    text-decoration: none;
	    font-weight: bold;
/*	    font-size: 80%;*/
	    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
	    border-radius: 2px;
	    height: 100%;
	}
	#pageindex.tab ul,
	#reportindex.tab ul {
		margin-bottom: 5px;
		justify-content: flex-start;
	}
	#pageindex.tab ul li,
	#reportindex.tab ul li {
		flex: inherit;
		flex-basis: 47%;
		width: 47%;
		margin: 0 1.5% 10px;
	}
/*	#pageindex.tab ul li:first-child {
		margin-left: 0;
	}
*/
	#pageindex.tab ul li a,
	#reportindex.tab ul li a {
		display: block;
		padding: 10px;
		line-height: 1.4;
		border: 1px solid #ccc;
		text-align: left;
		border-radius: 5px;
		height: auto;
		text-align: center;
	}
	#pageindex.tab ul li.selected a,
	#reportindex.tab ul li.selected a {
		background: #FADBEA;
	}
	.pi_tab {
		border-radius: 5px;
		padding: 10px;
		border: 1px solid #ccc;
	}


	.pi_tab {
		opacity: 0!important;
		transition: opacity 0.5s ease-in-out;
		display: none;
	}

	.pi_tab.selected {
		opacity: 1!important;
		display: block;
	}
}
@media screen and ( min-width: 30em ) {
	#pageindex.tab ul li,
	#reportindex.tab ul li {
		flex-basis: 30%;
		width: 30%;
	}
}
@media screen and ( min-width: 48em ) {
	#pageindex.tab ul li,
	#reportindex.tab ul li {
		flex-basis: auto;
		width: auto;
		margin-left: 10px;
		margin-right: 10px;
	}
	#pageindex.tab ul li a,
	#reportindex.tab ul li a {
		display: inline-block;
	}
}
