/*
Theme Name: Cửa Nhôm
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.col-divided {
    padding-right: 30px;
    border-right: none;
}

/*
* Element Name: Obelix Steps Three
* Discover More: https://flelements.com/
* Author: Obelix Media
*/
.obelix-steps--three .title-block.subtitle>* {
    color: var(--fs-color-primary);
    margin-bottom: .7em;
}

.obelix-steps--three .title-block.title em {
    font-style: normal;
    position: relative;
}

.obelix-steps--three .title-block.title em::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    background: var(--fs-color-primary);
    opacity: .2;
    bottom: 15%;
    left: 0;
    z-index: -1;
    height: 20%;
    -webkit-transition: 0.6s cubic-bezier(0.39, 0.58, 0.57, 1);
    -o-transition: 0.6s cubic-bezier(0.39, 0.58, 0.57, 1);
    transition: 0.6s cubic-bezier(0.39, 0.58, 0.57, 1);
}
.obelix-steps--three.icon-box .icon-box-text .title {
   margin-bottom: .4em;
}
.obelix-steps--three.icon-box .icon-box-img {
    margin-bottom: 2em;
}

.obelix-steps--three.icon-box .icon-box-img .icon-inner {
    -webkit-transform: scale(.9);
    -ms-transform: scale(.9);
    transform: scale(.9);
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.obelix-steps--three.icon-box:hover .icon-box-img .icon-inner {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.obelix-steps--three.icon-box .icon-box-img svg {
    fill: var(--fs-color-primary);
    color: var(--fs-color-primary);
}

@media screen and (min-width: 550px) {
    .row.obelix-steps--three>.col:not(:last-child) .icon-box-img::before {
        margin: auto 0;
        top: 0;
        bottom: 0;
        background: var(--fs-color-primary);
        content: "";
        position: absolute;
        height: 1px;
        width: 80px;
        right: calc(-200% + 20px);
    }
.row.obelix-steps--three .obelix-steps--three-1 .icon-box-img::before {
        background: #ffffff !important; /* Thay đổi màu đường kẻ thành trắng */
    }
.row.obelix-steps--three .obelix-steps--three-1 .icon-box-img::after {
    background-color: #ffffff !important; 
}
    .row.obelix-steps--three>.col:not(:last-child) .icon-box-img::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 20px;
        height: 20px;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon points='14.2,10 4.6,19.2 5.2,19.8 15.4,10 5.2,0.2 4.6,0.7 '/%3E%3C/svg%3E");
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpolygon points='14.2,10 4.6,19.2 5.2,19.8 15.4,10 5.2,0.2 4.6,0.7 '/%3E%3C/svg%3E");
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        background-color: var(--fs-color-primary);
        right: -200%;
    }
}

.obelix-steps--three .contact-action p,
.obelix-steps--three .contact-action a,
.obelix-steps--three .contact-action a span {
    margin-bottom: 0;
    min-height: unset;
    line-height: 1.5;
}

.obelix-steps--three.button:not(.is-link) {
    margin-bottom: 0;
}

.obelix-steps--three.button:not(.is-link)>span {
    margin-right: 16px;
}

.obelix-steps--three.button:not(.is-link) i {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    right: auto;
    background: white;
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 17px;
    overflow: hidden;
    margin: 0;
}

.obelix-steps--three.button:not(.is-link):hover i {
    color: var(--fs-color-primary);
}

.obelix-steps--three.button:not(.is-link) i::before {
    z-index: 1;
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    position: relative;
    background-color: var(--fs-color-primary);
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-image: url("/wp-content/uploads/2025/10/svgexport-1.svg");
    mask-image: url("/wp-content/uploads/2025/10/svgexport-1.svg");
}

.obelix-steps--three.button:not(.is-link):hover i::before {
    background-color: white;
    animation: btn-arrow 0.4s ease;
    -webkit-animation: btn-arrow 0.4s ease;
}

.obelix-steps--three.button:not(.is-link) i::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    left: 0;
    z-index: 0;
    background: var(--fs-color-primary);
    opacity: .7;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.obelix-steps--three.button:not(.is-link):hover i::after {
    width: 100%;
}

@media screen and (max-width: 549px) {

    .obelix-steps--three .mobile-center,
    .obelix-steps--three .mobile-center .col-inner {
        text-align: center !important;
    }

    .obelix-steps--three.icon-box .icon-box-img {
        margin-bottom: 1.2em;
    }
}

@keyframes btn-arrow {
    0% {
        background-color: var(--fs-color-primary);
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }

    30% {
        background-color: var(--fs-color-primary);
        transform: translateX(10px);
        -webkit-transform: translateX(10px);
        opacity: 1;
    }

    30% {
        background-color: var(--fs-color-primary);
        opacity: 0;
    }

    69% {
        opacity: 0;
    }

    70% {
        transform: translateX(-10px);
        -webkit-transform: translateX(-10px);
        opacity: 1
    }

    100% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
}

@-webkit-keyframes btn-arrow {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }

    30% {
        transform: translateX(10px);
        -webkit-transform: translateX(10px);
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    69% {
        opacity: 0;
    }

    70% {
        transform: translateX(-10px);
        -webkit-transform: translateX(-10px);
        opacity: 1
    }

    100% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
}
/**** End Obelix Three  ****/

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}