#overlay {
    width: 100%;
    max-width: 1078px;
    background: url(../images/fancybox/fancybox_loading@2x.gif)center center no-repeat;
    background-size: 20px;
    height: 20px;
}

.testing__category {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    align-items: start;
}

.testing__category a,
.testing__category a:hover,
.testing__category a:visited,
.testing__category a:active,
.testing__category a:link {
    text-decoration: none;
    color: #000000;
    text-align: center;
}

.testing_pic {
    max-width: 200px;
    height: 150px;
    background: #F5F5F5;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    cursor: pointer;
}

.testing_company:hover .testing_pic {
    background: linear-gradient(#D9D9D900, #7E7E7ECC) #F5F5F5;
}

.testing_company.active .testing_pic {
    background: linear-gradient(#D9D9D900, #7E7E7ECC) #F5F5F5;
}

.testing_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testing_pic img {
    width: 120px;
    margin: auto 40px;
    display: block;
    cursor: pointer;
}

.testing_text {
    text-align: center;
    padding: 5px;
}

.ctl-contents .title-data__head span {
    color: #767676;
    text-align: left;
    font-size: 32px;
}

.ctl-contents .title-data__head {
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.ctl-contents .title-data__head #limit_perpage {
    padding: 0 15px;
}

.ctl-contents .cmp-ct_detail {
    background: #F5F5F5;
    border-radius: 10px;
    padding: 30px;
}

.ctl-contents .bl-card {
    border-radius: 10px;
    background: #fff;
    color: #767676;
    border: none;
    box-shadow: 0 1px 5px 0 #00000040;
}

.btn_change {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    margin: 5px;
}

.no-result {
    text-align: center;
    font-size: 32px;
    margin: 20px 0;
}

#listview {
    background: url(../images/icons/list.png) center no-repeat;
}

#gridview {
    background: url(../images/icons/grid.png) center no-repeat;
}

#listview.active {
    background: url(../images/icons/list_active.png) center no-repeat;
}

#gridview.active {
    background: url(../images/icons/grid_active.png) center no-repeat;
}

/*Grid Card*/
.ctl-contents .l-ctn__data .bl-card__data {
    margin: 0 0 30px;
    position: relative;
    overflow: hidden;
    background: #F6F6F6;
    /* height: 300px; */
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-data__logo {
    background: #fff;
    height: 25%;
    padding: 3rem 0;
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-card.bl-card__data .innerbox {
    background: #fff;
}

.ctl-contents .l-ctn__data .bl-card.bl-card__data .innerbox img.df-logo {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-data__detail {
    position: relative;
    min-height: 130px;
    max-height: 130px;
    padding: 15px;
    overflow: hidden;
    background: #F6F6F6;
    color: #767676;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-data__detail h4 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #000;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-data__detail a {
    text-decoration: none;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-data__detail .company_detail {
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ctl-contents .l-ctn__data .bl-data__detail a.link-website {
    color: #ffffff;
    text-decoration: underline;
}

.ctl-contents .l-ctn__data .bl-read__more a.link-website {
    display: flex;
    height: 40px;
    border-radius: 10px;
    background: #47AFCA;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px 0;
}

.ctl-contents .l-ctn__data .bl-read__more a.link-website:hover {
    background: #2E2E2E;
}

.ctl-contents .l-ctn__data .bl-read__more div.link-website-none {
    display: flex;
    height: 40px;
    border-radius: 10px;
    background: #D9D9D9;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px 0;
    cursor: not-allowed;
}

.ctl-contents .l-ctn__data .bl-data__detail p {
    margin: 0;
    font-size: 20px;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-read__more {
    padding: 15px;
    background: #F6F6F6;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-evenly;
    height: 25%;
}

.ctl-contents .l-ctn__data .bl-card__data .bl-read__more>.btn-read__more {
    padding: 7px 14px;
    height: 40px;
    color: #47AFCA;
    border: 1px solid #47AFCA;
    border-radius: 10px;
    letter-spacing: 2px;
    text-decoration: none;
    vertical-align: middle;
    outline: none;
    box-shadow: none;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: border-color .3s, color .3s;
    transition: border-color .3s, color .3s;
    cursor: pointer;
}

.ctl-contents .l-ctn__data .bl-list__data {
    background: #f6f6f6;
    display: flex;
    height: 160px;
    margin: 0 0 30px;
    overflow: hidden;
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-data__logo {
    background: #fff;
    padding: 3.3rem 0;
    width: 25%;
}

.ctl-contents .l-ctn__data .bl-card.bl-list__data .innerbox {
    background: #fff;
}

.ctl-contents .l-ctn__data .bl-card.bl-list__data .innerbox img.df-logo {
    width: auto;
    max-width: 80%;
    height: auto;
    max-height: 80%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-data__detail {
    height: 160px;
    padding: 15px;
    overflow: hidden;
    background: #F6F6F6;
    color: #767676;
    text-align: left;
    width: 50%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-data__detail h4 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #000;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-data__detail p {
    margin: 0;
    font-size: 20px;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-data__detail .company_detail {
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-read__more {
    padding: 15px;
    background: #F6F6F6;
    width: 25%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-read__more a.link-website {
    display: flex;
    height: 40px;
    border-radius: 10px;
    background: #47AFCA;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px 0;
    max-width: 210px;
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-read__more a.link-website:hover {
    background: #2E2E2E;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-read__more div.link-website-none {
    display: flex;
    height: 40px;
    border-radius: 10px;
    background: #D9D9D9;
    color: #FFFFFF;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px 0;
    cursor: not-allowed;
    max-width: 210px;
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-list__data .bl-read__more>.btn-read__more {
    padding: 7px 14px;
    height: 40px;
    color: #47AFCA;
    border: 1px solid #47AFCA;
    border-radius: 10px;
    letter-spacing: 2px;
    text-decoration: none;
    vertical-align: middle;
    outline: none;
    box-shadow: none;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: border-color .3s, color .3s;
    transition: border-color .3s, color .3s;
    cursor: pointer;
    max-width: 210px;
    width: 100%;
}

.ctl-contents .l-ctn__data .bl-read__more .btn-read__more a:hover,
.ctl-contents .l-ctn__data .bl-read__more .btn-read__more a:active,
.ctl-contents .l-ctn__data .bl-read__more .btn-read__more a:link,
.ctl-contents .l-ctn__data .bl-read__more .btn-read__more a:visited {
    text-decoration: none;
    color: #47AFCA;
}

.pagination {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
}

.pagination li.pagination_list {
    background: #FFFFFF;
    color: #47AFCA;
    border: #47AFCA solid 1px;
    border-radius: 0px;
    margin: 2px;
    width: 40px;
    height: 40px;
    display: flex;
    text-align: center;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.pagination li.pagination_list.page_active {
    background: #FFFFFF;
    color: #767676;
    border: #767676 solid 1px;
    border-radius: 0px;
    margin: 2px;
    width: 40px;
    height: 40px;
    display: flex;
    text-align: center;
    cursor: not-allowed;
    align-items: center;
    justify-content: center;
}

.company-detail__data {
    margin: 50px 0 100px;
}

.logo_detail img {
    margin: auto;
}

.logo_detail {
    margin: 30px 0;
}

.content {
    margin-bottom: 10%;
}

.testing_company {
    margin: 10px auto;
    padding: 5px;
    max-width: 200px;
}

.testing_ct .bx-wrapper .bx-viewport .testing_company {
    margin: 0;
}

.testing_ct .bx-wrapper .bx-viewport {
    background: transparent;
}

.testing_ct .bx-wrapper .bx-controls-direction a {
    z-index: 9;
}

.testing_ct .bx-wrapper .bx-controls-direction a {
    height: 64px;
    margin-top: -70px;
}

@media (max-width:768px) {

    #btnContainer,
    #limit_perpage {
        display: none !important;
    }

    .testing__category {
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
        cursor: pointer;
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(1, 1fr);
        align-items: start;
    }
}

.download_file {
    display: flex;
    align-items: baseline;
}