﻿/*.big-document {
    color: #000;
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
}*/
.big-document td, th {
    vertical-align: middle;
}
.big-document img{
    margin: 0 auto;
    text-align: center;
}
.open-account-container {
    display: flex;
    flex-direction: column;
}

.open-account-header {
    display: flex;
    background-repeat: repeat !important;
    background-position: center;
    flex-direction: column;
    background-size: cover !important;
    overflow: hidden;
    background: url(../../images/layout_open_account.jpg);
}

.header-title {
    padding: 32px 10px;
    color: #fff;
/*    background-image: linear-gradient(to left, #3d3e47, transparent);
*/    font-weight: 400;
    line-height: normal;
}

.open-account-menu {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 16px 24px 30px 24px;
}
.fix-rickeditor h2 {
    font-size: 30px;
}
.fix-rickeditor h1 {
    font-size: 36px;
}
.fix-rickeditor h3 {
    font-size: 25px;
}
.open-account-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 40px;
}

    .open-account-item:nth-of-type(odd) {
        padding: 24px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .open-account-item:nth-of-type(even) {
        padding: 50px 24px 40px 24px;
        background-color: rgba(255, 255, 255, 0.9);
    }

.title-open-menu {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: normal;
}

.open-account-description {
    color: #000;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    margin-top: 20px;
    line-height: 1.5;
}

.title-secondary {
    font-size: 15px;
    text-align: center;
    font-weight: 600;
}

.wrap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 30px;
}

.btn-open-account, .btn-guide {
    width: 120px;
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    text-align: center;
    box-shadow: 2px 2px 2px rgb(0 0 0 / 33%);
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-open-account:active, .btn-guide:active, .btn-open-account:focus, .btn-guide:focus {
        text-decoration: none;
        color: #fff;
    }

.btn-open-account {
    background-color: #c00000;
}

    .btn-open-account:hover {
        background-color: #a80000;
        box-shadow: 4px 4px 6px rgb(0 0 0 / 50%);
        text-decoration: none;
        color: #fff;
    }

.btn-guide {
    background-color: #00b050;
}

    .btn-guide:hover {
        background-color: #00913f;
        text-decoration: none;
        box-shadow: 4px 4px 6px rgb(0 0 0 / 50%);
        color: #fff;
    }

.open-account-body {
    display: flex;
    flex-direction: column;
    padding: 0 32px 32px 10px;
    background-color: #fff;
}

.open-account-title {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 50px 0;
}

    .open-account-title img {
        width: 90px;
    }

.big-title {
    color: #000;
    font-weight: 700;
    line-height: normal;
    font-size: 28px;
}

.big-title a {
    color: #315082;
}

.big-title a:hover {
    color: #4E89B9;
}

.open-account-benefit {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
}

.benefit-item {
    display: flex;
    gap: 10px;
}

    .benefit-item i {
        margin-top: 8px;
        opacity: 0.8;
        color: #034E95;
    }

.benefit-item-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.benefit-item-title {
    color: #034E95;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.5;
}

.benefit-item-description {
    color: #495d62;
    font-weight: 500;
    line-height: 1.5;
}

.benefit-item-link {
    color: #d03f3f;
    text-align: end;
    font-weight: 700;
    text-decoration: underline;
}

.wrap-collapse {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.wrap-icon-benefit {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /*        justify-content: space-between;*/
}

.wrap-item-benefit {
    max-width: 167.67px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}

    .wrap-item-benefit:hover {
        background-color: #E5E5E5;
    }

    .wrap-item-benefit::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #E5E5E5;
        transition: background-color 0.3s ease;
    }

    .wrap-item-benefit:hover::after {
        background-color: #007da4;
    }

    .wrap-item-benefit .images {
        height: 150px;
        width: auto;
    }

        .wrap-item-benefit .images .icon-dv {
            margin: auto;
            height: 45%;
            margin-top: 22px;
            display: block;
        }

/*    .wrap-item-benefit:nth-of-type(3) .images .icon-dv {
        width: 100%;
    }*/

    .wrap-item-benefit .images .text-tinhphi-T {
        margin-top: 23px;
        margin-bottom: 10px;
        font-size: 13px;
        color: #000000;
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
        line-height: 18px;
        word-spacing: 2px;
    }

.title-icon-item {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.wrap-icon-benefit [type="radio"] {
    display: none;
}

.content-tab {
    display: none;
}

.wrap-icon-benefit [type="radio"]:nth-of-type(1):checked ~ .wrap-item-benefit:nth-of-type(1),
.wrap-icon-benefit [type="radio"]:nth-of-type(2):checked ~ .wrap-item-benefit:nth-of-type(2),
.wrap-icon-benefit [type="radio"]:nth-of-type(3):checked ~ .wrap-item-benefit:nth-of-type(3),
.wrap-icon-benefit [type="radio"]:nth-of-type(4):checked ~ .wrap-item-benefit:nth-of-type(4) {
    background: #E5E5E5;
    position: relative;
}

    .wrap-icon-benefit [type="radio"]:nth-of-type(1):checked ~ .wrap-item-benefit:nth-of-type(1)::after,
    .wrap-icon-benefit [type="radio"]:nth-of-type(2):checked ~ .wrap-item-benefit:nth-of-type(2)::after,
    .wrap-icon-benefit [type="radio"]:nth-of-type(3):checked ~ .wrap-item-benefit:nth-of-type(3)::after,
    .wrap-icon-benefit [type="radio"]:nth-of-type(4):checked ~ .wrap-item-benefit:nth-of-type(4)::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #007da4;
    }

.wrap-icon-benefit [type="radio"]:nth-of-type(1):checked ~ .content-tab:nth-of-type(1),
.wrap-icon-benefit [type="radio"]:nth-of-type(2):checked ~ .content-tab:nth-of-type(2),
.wrap-icon-benefit [type="radio"]:nth-of-type(3):checked ~ .content-tab:nth-of-type(3),
.wrap-icon-benefit [type="radio"]:nth-of-type(4):checked ~ .content-tab:nth-of-type(4) {
    display: block;
    margin-top: 16px;
    line-height: 1.5;
}

.big-document table tbody {
    border: none !important;
}

@media screen and (max-width: 767px) {
    .open-account-item {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .open-account-menu {
        flex-direction: column;
    }

    .wrap-btn {
        gap: 30px;
    }

    .open-account-benefit {
        display: flex;
        flex-direction: column;
    }

    .big-title {
        font-size: 20px;
    }

    .header-title {
        font-size: 24px;
    }

    .wrap-icon-benefit {
        flex-direction: column;
    }

    .wrap-item-benefit {
        max-width: 100%;
        width: 100%;
    }

    .wrap-item-benefit .images {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
		width: 100%;
    }

    .wrap-item-benefit .images .icon-dv {
        margin: 0px;
        margin-top: 0px;
        padding-left: 10px;
        height: 65%;
    }

    .wrap-item-benefit .images .text-tinhphi-T {
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

@media screen and (min-width: 768px) {
    .header-title {
        font-size: 28px;
    }

    .open-account-item {
        width: 33.33%;
    }

        .open-account-item:nth-of-type(odd) {
            margin-top: 100px;
        }

        .open-account-item:nth-of-type(even) {
            margin-bottom: 80px;
        }

    .wrap-btn {
        gap: 40px;
    }

    .open-account-benefit {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .wrap-btn {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 1150px) {
    .wrap-item-benefit {
        flex-basis: 30%;
    }
}
