.tab {
    height: 4rem;
    background-color: rgba(94, 94, 94, 0.8);
    transition: 0.5s ease-in-out;
}

.colorChange {
    background-color: rgb(0, 64, 152);
}

.tab p {
    color: #fff;
    font-size: 21px;
    line-height: 4rem;
    text-align: center;
    cursor: pointer;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.tab p:hover {
    background-color: #004098;
}

.cert_bg {
    background-color: rgba(238, 238, 238, 0.8);
    padding: 3rem;
}

.cert_heading {
    margin-bottom: 2rem;
}

.cert-head {
    background-color: rgba(148, 148, 148, 0.8);
    padding: 0.5rem;
}

.cert-head span {
    font-size: 21px;
    vertical-align: bottom;
    border-left: 5px solid #004098;
    margin-left: 12px;
    padding-left: 12px;
}

.cert_body {
    background-color: rgba(238, 238, 238, 0.5);
    display: flex;
    padding: 2rem;
    margin-bottom: 3rem;
    gap: 2em;
}

.cert_body:last-child {
    margin-bottom: 0;
}

.cert_body p:last-child {
    margin-bottom: 0;
}

.env_img_wrap {
    flex: 0 0 auto;
}

.env_text_wrap p {
    margin-bottom: 2em;
}

.env_text_wrap p:last-child {
    margin-bottom: 0;
}

.cert_btn {
    display: block;
    line-height: 3.5rem;
    font-size: 18px;
    border: 1px solid #686868;
    color: #686868;
    text-align: center;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.cert_btn:hover {
    background-color: #004098;
    border: 1px solid #004098;
}

/*.CERTIFY_content {
    background-color: rgba(238, 238, 238, 0.5);
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}*/

.CERTIFY_content table {
    text-align: center;
    /* border: 1px solid #949494; */
    /* color: #282828; */
    /* font-size: 16px; */
    line-height: 1.5rem;
    /* letter-spacing: 0; */
    /* width: 100%;*/
}

.CERTIFY_content table th {
    font-weight: normal;
    border: 1px solid #949494;
    background-color: #eee;
    padding: 0.5rem;
}

.CERTIFY_content table td {
    border: 1px solid #999;
    background-color: white;
    padding: 2em 0.5em;
    width: 25%;
}

.cert_text_B {
    color: #282828;
    font-size: 18px;
    line-height: 1.8rem;
    margin-bottom: 0;
    letter-spacing: 0;
    text-align: left;
}

.cert_text_BB {
    color: #282828;
    font-size: 18px;
    line-height: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
    text-align: left;
}

/*.cert_text a, .cert_text_A a, .cert_text_BB a {
    color: #004098!important;
    text-decoration: none;
}*/

.col-12 p a:not(.cert_btn),
.cert_text_BB a,
.env_text_wrap p a:not(.cert_btn) {
    color: #004098 !important;
    text-decoration: none;
}

.m_table {
    display: none;
}

.my-5 {
    margin-bottom: 3rem !important;
}

/* =========================== iPad =========================== */
@media screen and (min-width: 768px) and (max-width: 1050px) {

    .tab {
        height: 3.5rem;
        background-color: rgba(94, 94, 94, 0.8);
        transition: 0.5s ease-in-out;

    }

    .tab p {
        display: block;
        text-decoration: none;
        color: #fff;
        font-size: 18px;
        font-weight: normal;
        line-height: 3.5rem;
        vertical-align: middle;
        text-align: center;
        letter-spacing: 0;
        cursor: pointer;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
    }

    .tab p:hover {
        font-size: 18px;
        color: #fff;
        font-weight: normal;
        background-color: #004098;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
    }

    .colorChange {
        background-color: rgb(0, 64, 152);
        font-weight: normal;
    }

    .tab:hover {
        font-weight: normal;
    }

    .cert_bg {
        background-color: rgba(238, 238, 238, 0.8);
        padding: 2rem 2rem 0.1rem;
    }

    .cert_heading {
        width: 100%;
        font-size: 16px;
        line-height: 1.5rem;
        letter-spacing: 0px;
        margin-bottom: 1rem;
        text-align: left;
    }

    .cert-head {
        background-color: rgba(148, 148, 148, 0.8);
        padding: 0.5rem;
    }

    .news_line {
        border-left: 5px solid #004098;
        margin-left: 12px;
        margin-right: 12px;
        font-size: 1.2rem;
    }

    .news_title {
        font-size: 18px;
        font-weight: normal;
        line-height: 1.8rem;
        vertical-align: bottom;
        color: #282828;
    }

    .env_img_wrap {
        margin-left: 0.5rem;
        flex: 0 0 auto;
        width: 15%;
    }

    .env_text_wrap {
        margin-left: 2rem;
    }

    .cert_body {
        background-color: rgba(238, 238, 238, 0.5);
        display: flex;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .col-12 p {
        color: #282828;
        font-size: 16px;
        line-height: 1.5rem;
        margin-bottom: 0;
        letter-spacing: 0px;
        text-align: left;
    }

    .env_text_wrap p {
        color: #282828;
        font-size: 16px;
        line-height: 1.5rem;
        margin-bottom: 1rem;
        letter-spacing: 0px;
        text-align: left;
    }


    .cert_text_B {
        color: #282828;
        font-size: 16px;
        line-height: 1.6rem;
        margin-bottom: 0;
        letter-spacing: 0;
        text-align: left;
    }

    .cert_text_BB {
        color: #282828;
        font-size: 16px;
        line-height: 1.6rem;
        margin-bottom: 1rem;
        letter-spacing: 0;
        text-align: left;
    }

    /*.cert_text a, .cert_text_A a, .cert_text_BB a {
        color: #004098!important;
        text-decoration: underline;
    }*/
    .col-12 p a:not(.cert_btn),
    .cert_text_BB a,
    .env_text_wrap p a:not(.cert_btn) {
        color: #004098 !important;
        text-decoration: underline;
    }

    .CERTIFY_content {
        margin-bottom: 2rem;
    }

    .CERTIFY_content_bg {
        padding: 0;
    }

    .CERTIFY_content table td {
        height: 70px;
    }

    .CERTIFY_content table td img {
        width: auto;
        height: 40px;
    }

    .CERTIFY_content_table th {
        vertical-align: middle;
        height: auto;
        line-height: 1.6rem;
        border: 1px solid #949494;
        font-size: 16px;
        background-color: #eee;
        padding: 0.5rem;
        letter-spacing: 0;
    }

    .CERTIFY_content_table td {
        vertical-align: middle;
        border: 1px solid #999;
        background-color: white;
        padding: 1rem 0.5rem;
        height: 70px;
    }

    */ .m_table {
        display: none;
    }

    .cert_btn {
        display: block;
        width: 100%;
        height: 3.5rem;
        line-height: 3.5rem;
        font-size: 18px;
        border: 1px solid #004098;
        color: #fff;
        text-align: center;
        text-decoration: none;
        letter-spacing: 0px;
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
        background-color: #004098;
    }

    .my-5 {
        margin-bottom: 2rem !important;
    }

    /* .row {
        margin-right: auto!important;
        margin-left: auto!important;
    } */

    /*.spec_img {
        width: 60%;
        height: auto;
    }*/
}

/* =========================== Mobile =========================== */
@media screen and (max-width: 767px) {

    .tab {
        height: 3rem;
        background-color: rgba(94, 94, 94, 0.8);
        transition: 0.5s ease-in-out;

    }

    .tab p {
        padding: 5px;
        font-size: 14px;
        line-height: 1rem;
        letter-spacing: 0px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        word-break: break-all;
    }

    .tab p:hover {
        font-size: 14px;
        color: #fff;
        font-weight: normal;
        background-color: #004098;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
    }

    .colorChange {
        background-color: rgb(0, 64, 152);
        font-weight: normal;
    }

    .tab:hover {
        font-weight: normal;
    }

    .cert_bg {
        background-color: rgba(238, 238, 238, 0.8);
        padding: 1rem 1rem 0.1rem;
    }

    .cert_heading {
        width: 100%;
        font-size: 16px;
        line-height: 1.5rem;
        letter-spacing: 0px;
        margin-bottom: 1rem;
        text-align: left;
    }

    .cert-head {
        background-color: rgba(148, 148, 148, 0.8);
        height: 40px;
        line-height: 40px;
        padding: 0;
    }

    .news_line {
        border-left: 5px solid #004098;
        margin-left: 12px;
        margin-right: 12px;
        font-size: 1rem;
        vertical-align: middle;
    }

    .news_title {
        font-size: 16px;
        font-weight: normal;
        line-height: 40px;
        vertical-align: bottom;
        color: #282828;
    }

    .env_img_wrap {
        display: block;
        width: 100%;
        margin-left: 0;
    }

    .env_img {
        display: block;
        width: auto;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 1rem;
    }

    .env_img_wrap img {
        display: block;
        width: auto;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 1rem;
    }

    .env_text_wrap {
        margin-left: 0;
    }

    .cert_body {
        background-color: rgba(238, 238, 238, 0.5);
        display: block;
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .col-12 p {
        color: #282828;
        font-size: 16px;
        line-height: 1.5rem;
        margin-bottom: 1rem;
        letter-spacing: 0px;
        text-align: left;
    }

    .env_text_wrap p {
        color: #282828;
        font-size: 16px;
        line-height: 1.5rem;
        margin-bottom: 1rem;
        letter-spacing: 0px;
        text-align: left;
    }

    .cert_text_B {
        color: #282828;
        font-size: 16px;
        line-height: 1.6rem;
        margin-bottom: 0;
        letter-spacing: 0;
        text-align: left;
    }

    .cert_text_BB {
        color: #282828;
        font-size: 16px;
        line-height: 1.6rem;
        margin-bottom: 1rem;
        letter-spacing: 0;
        text-align: left;
    }

    /*.cert_text a, .cert_text_A a, .cert_text_BB a {
        color: #004098!important;
        text-decoration: underline;
    }*/
    .col-12 p a:not(.cert_btn),
    .cert_text_BB a,
    .env_text_wrap p a:not(.cert_btn) {
        color: #004098 !important;
        text-decoration: underline;
    }

    .CERTIFY_content table td {
        height: 70px;
    }

    .CERTIFY_content table td img {
        height: 35px;
    }

    /*.CERTIFY_content_table {
        text-align: center;
        border: 1px solid #949494;
        color: #282828;
        font-size: 14px;
        letter-spacing: 0;
    }
    
    .CERTIFY_content_table th {
        vertical-align: middle;
        height: auto;
        line-height: 1.6rem;
        border: 1px solid #949494;
        font-size: 16px;
        background-color: #eee;
        padding: 0.5rem;
        letter-spacing: 0;
    }
    
    .CERTIFY_content_table td {
        vertical-align: middle;
        border: 1px solid #999;
        background-color: white;
        padding: 1rem 0.5rem;
        height: 70px;
    }*/
    .m_table {
        display: block;
    }

    .cert_btn {
        display: block;
        font-size: 16px;
        height: 3.5rem;
        width: 100%;
        border: 1px solid #004098;
        color: #ffffff;
        line-height: 3.5rem;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
        margin: 3rem 0 0;
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
        background-color: #004098;
    }

    .my-5 {
        margin-bottom: 2rem !important;
    }

    .CERTIFY_content_bg {
        background-color: rgba(238, 238, 238, 0.5);
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    /* spec */
    .pc_table {
        display: none;
    }

    .m_table {
        display: block;
    }

    .spec_img {
        height: 35px;
    }

    .CERTIFY_content {
        margin-bottom: 1rem;
    }

    .CERTIFY_content_table {
        text-align: center;
        border: 1px solid #999;
        color: #282828;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .CERTIFY_content_table th {
        vertical-align: middle;
        height: 40px;
        line-height: 1.5rem;
        border: 1px solid #999;
        font-size: 12px;
        /* width: 135px; */

        background-color: #eee;
    }

    .CERTIFY_content_table td {
        vertical-align: middle;
        border: 1px solid #999;
        background-color: white;
        padding: 0rem;
        /* width: 135px; */
        /* line-height: 1.6rem; */
    }

    .img2 {
        width: auto;
    }

    .col-5.table_pad {
        font-size: 10px;
        line-height: 1.3rem;
        padding: 0.5rem;
    }

    .spec_img img2 {
        height: 25PX;
    }
}