/*
Theme Name: sunvingroup
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
header#header {
    position: absolute;
    top: 0;
    left: 0;
}

.home-1 {
    margin: 0 0 200px 0;
}

.gb-heading h2 {
    color: #e6dcb7;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 0 98px 0;
    position: relative;
    text-align: center;
}

.gb-heading h2:after {
    content: '';
    width: 217px;
    height: 2px;
    background: #ce0000;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -28px;
}

.home-2 .gb-heading h2 {
    text-align: left;
    margin: 0 0 60px 0;
    width: 310px;
}

.home-2 .gb-heading h2:after {
    right: inherit;
    bottom: -16px;
}

.home-2 p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.home-2-row-2 .icon-box {
    background: #fff;
    padding: 68px 40px;
    border-top: 7px solid #ce0000;
    position: relative;
    margin-left: 26px;
}

.home-2-row-2 .icon-box .icon-box-text h3 {
    color: #ce0000;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
    height: 127px;
}

.home-2-row-2 .icon-box:after {
    content: '';
    width: calc(100% - 160px);
    height: 2px;
    background: #3b3b3b;
    position: absolute;
    right: 0;
    top: 143px;
}

.home-2-row-2 .icon-box .icon-box-text .button {
    color: #ce0000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.home-2-row-2 .icon-box .icon-box-text .button {
    color: #ce0000;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.home-2-row-2 .icon-box:hover .icon-box-text .button, .icon-box.home-2-box .icon-box-text .button {
    color: #fff;
}

.home-2-row-2 .icon-box:hover, .icon-box.home-2-box {
    background: #ce0000;
}

.home-2-row-2 .icon-box:hover:after, .icon-box.home-2-box:after {
    background: #fff;
}

.home-2-row-2 .icon-box:hover .icon-box-text h3, .icon-box.home-2-box .icon-box-text h3 {
    color: #fff;
}

.home-2-row-2 .icon-box:hover .icon-box-img img {
    filter: brightness(0) invert(1);
}

.home-2-row-2 {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.home-2 {
    margin: 0 0 144px 0;
}

.home-3 .icon-box {
    border-radius: 10px;
    border: 4px solid var(--Linear, #fff);
    background: var(--Linear, linear-gradient(0deg, #ce0000 0.19%, #e6dcb7 99.97%));
    height: 240px;
    padding: 41px 5px;
}

.home-3 .icon-box .icon-box-text h3 {
    color: #fff;
    text-align: center;
    text-shadow: 0px 1px 3.7px rgba(0, 0, 0, 0.28);
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
    transition: transform 0.3s;
}

.home-3 .icon-box .icon-box-img img {
    transition: transform 1s;
}

.home-3 .icon-box:hover .icon-box-img img {
    animation: rotate 1s linear;
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.home-3 .icon-box:hover .icon-box-text h3 {
    transform: scale(1.1);
}

.home-4 .banner {
    border-radius: 40px;
    overflow: hidden;
}

.home-4 .text-box-content img {
    margin-bottom: 35px;
}

.home-4 .text-box-content h3 {
    color: #fff;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 0 35px 0;
    text-wrap: inherit;
    width: 128%;
    position: relative;
    left: -14%;
}

.home-4 .text-box-content p {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.home-4-text {
    height: 240px;
}

.home-4 .text-box-content .button {
    padding: 8px 22px;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-transform: uppercase;
}

.button i.icon-angle-right:before {
    content: '\f178';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.home-5 .text-box-content .img {
    margin: 0 0 34px 0;
    opacity: 0;
    visibility: hidden;
    transition: .4s all ease-in-out;
    transform: translateX(-50%);
}

.home-5 .text-box-content:after {
    content: '';
    width: 0;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 56px;
    left: 0;
    visibility: hidden;
    transition: .4s all ease-in-out;
}

.home-5 .text-box-content h3 {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 61px;
    text-transform: uppercase;
}

.home-5 .banner:hover .text-box-content .img {
    opacity: 1;
    visibility: visible;
    transition: .4s all ease-in-out;
    transform: translateX(0%);
}

.home-5 .banner:hover .text-box-content:after {
    width: 90%;
    visibility: visible;
    transition: .4s all ease-in-out;
}

.home-5 .banner .banner-bg .overlay {
    opacity: 0;
    transition: .4s all ease-in-out;
}

.home-5 .banner:hover .banner-bg .overlay {
    opacity: 1;
    transition: .4s all ease-in-out;
}

.home-6 .section-content > .row:last-child .col-inner {
    height: 620px;
    padding: 38px 20px;
    background: #fff;
}

.home-6 .section-content > .row:last-child .col-inner h3 {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 0 36px 0;
    position: relative;
}

.home-6 .section-content > .row:last-child .col-inner h3:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #ce0000;
    position: absolute;
    left: 0;
    bottom: -18px;
}

.home-6 .section-content > .row:last-child .col-inner p img {
    margin: 0 0 18px 0;
}

.home-6 .section-content > .row:last-child .col-inner p {
    margin: 0;
}

.home-6 .section-content > .row:last-child .col-inner ul {
    list-style: none;
}

.home-6 .section-content > .row:last-child .col-inner ul li {
    display: flex;
    align-items: center;
    margin: 0 0 13px 0;
    padding: 0 0 13px 0;
    border-bottom: 1px solid #00000020;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.home-6 .section-content > .row:last-child .col-inner ul li img {
    margin: 0 5px 0 0;
    position: relative;
}

.home-6 .section-content > .row:last-child .col-inner ul li:last-child {
    border-bottom: 0;
}

.home-6 .section-content > .row:last-child .col-inner ul li strong,
.home-6 .section-content > .row:last-child .col-inner ul li a {
    color: #ce0000;
}

.home-6 .section-content > .row:last-child .col-inner ul li i {
    color: #ce0000;
}

.home-6 .section-content > .row:last-child .col:last-child ul li {
    justify-content: space-between;
}

.home-7 .box .box-text h3 {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.home-8 .text-box-content p {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 141.02%;
    margin: 0 0 5px 0;
}

.home-8 .text-box-content h3 {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 133.125%;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}

.home-8 .text-box-content .button {
    padding: 8px 22px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-transform: uppercase;
}

.home-9 .post-item .box .box-image {
    border: 1px solid #fff;
    transition: all 0.3s ease-in-out;
}

.home-9 .post-item .box .box-text .is-divider {
    display: none;
}

.home-9 .post-item .box .box-text h5 a {
    color: #fff;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.home-9 .post-item .box .box-text .button {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 34px;
    text-transform: uppercase;
    position: absolute;
    left: 50%;
    right: 0;
    width: 108px;
    padding: 0;
    margin: auto;
    top: -162px;
    border-left: 0;
    border-right: 0;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.home-9 .post-item .box:hover .box-text .button {
    opacity: 1;
}

.home-9 .post-item .box .box-image:after {
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.home-9 .post-item .box:hover .box-image:after {
    opacity: 0.4;
}

.footer-1 p {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.footer-1 ul li {
    margin-left: 0;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
}

.footer-1 ul {
    list-style: none;
    width: 70%;
}

.footer-1 ul li i {
    margin-right: 4px;
}

.footer-1 .ux-menu .ux-menu-link a {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

body:not(.home) header#header {
    position: relative;
}

.home-9 .box .box-image .image-cover {
    border: 1px solid #fff;
}

.home-9 .box .box-text h3 {
    color: #FFF;
    text-align: center;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.home-9 .box .box-text {
    padding: 30px 5px;
}

.home-9 .box .box-text .button {
    position: absolute;
    top: -172px;
    left: 50%;
    display: block;
    width: 108px;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    line-height: 36px;
    border-left: none;
    border-right: none;
    transform: translateX(-50%);
    opacity: 0;
}

.home-9 .box:hover .box-text .button {
    opacity: 1;
}

.home-9 .box .box-image .image-cover:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
    position: absolute;
    opacity: 0;
}

.home-9 .box:hover .box-image .image-cover:after {
    opacity: 0.4;
}

@media only screen and (max-width: 52em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .home-2-row-2 {
        position: relative;
        top: 0;
        transform: none;
    }

    .home-2-row-2 .icon-box {
        margin: 0;
    }

    .home-2-row-2 {
        padding: 15px;
    }

    .home-1 {
        margin: 0 0 50px 0;
    }

    .home-2 {
        margin: 0 0 30px 0;
    }

    .gb-heading h2 {
        font-size: 30px;
    }

    .home-6 .section-content > .row:last-child .col-inner {
        height: auto;
    }
}
