main{
    background: #f3f9ff;
}
main .case ul,
ul.listCat {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    column-gap: 1%;
}
main .case ul li {
    width: 24%;
    position: relative;
}
.cat {
    background: #133A8E;
    color: #FFF;
    font-weight: bold;
    display: inline-block;
    padding: 8px;
    position: absolute;
    top: -2%;
    font-size: 12px;
	z-index: 1;
}
main .case ul li {
    width: 24%;
    background: #FFF;
    padding: 1rem;
    box-shadow: inset 0 0 2px #777;
    border-radius: 10px;
    margin-bottom: 2%;
}
main .case ul li h2 {
    font-size: 17px;
    color: #002B85;
    font-weight: bold;
    margin-bottom: 8px;
    /*display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;*/
    overflow: hidden;
}
.boxCat.row {
    margin: 4rem auto;
}
main .case ul li h2 br,
.txt4 p br {
    display: none;
}
.txt2 p, .txt3 p {
    font-size: 14px;
    font-weight: bold;
}
.txt3 {
    margin-bottom: 8px;
}
.txt4 {
	border-left: solid 2px #133A8E;
	padding-left: 8px;
    margin-bottom: 8px;
}
.txt4 p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    font-size: 14px;
	line-height: 1.6;
}
.txtRight {
    font-size: 14px;
    text-align: right;
}
.txtRight a {
    font-weight: 600;
    color: #003190;
}
.boxCat{
    background: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px;
}
.boxCat .ttlCase{
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.boxCat .listCat li{
    width: 15.8%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    height: auto;
    box-shadow: none;
    margin-bottom: 1%;
}
.boxCat .listCat li a{
    background: #133A8E;
    color: #FFF;
    font-weight: bold;
    display: flex;
    padding: 8px;
    font-size: 12px;
    height: 100%;
    align-items: center;
	flex-direction: column-reverse;
}
.boxCat .listCat li.active a{
    color: #133A8E;
    background: #fff;
    box-shadow: inset 0 0 0 1px;
	flex-direction: column-reverse;
}

.boxCat .listCat li.loading a{
    pointer-events: none;
}

.listCase .loader {
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #003190;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 0.5s linear infinite;
    animation: spin 0.5s linear infinite;
    z-index: 1;
    display: none;
}

.listCase.show .loader{
    display: block;
}
.listCase{
    position: relative;
}
.listCase.show:before{
    content: "";
    position: absolute;
    top: -40px;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    width: 100%;
    height: 100%;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media(max-width: 768px){
    .boxCat{
        padding: 20px 2%;
    }
    .boxCat .listCat li{
        width: 49.5%;
    }
   main .case ul {
        padding: 0 2%;
    }
    main .case ul li{
        width: 49.5%;
        margin-bottom: 4%;
    }
    .cat{
        font-size: 10px;
    }
	main .case ul li h2 {
		font-size: 16px;
	}
}