.home_ {
    width: 100% !important;
    height: 100% !important;
    background-attachment: fixed;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.home {
    width: 100% !important;
    height: 100% !important;
    background-attachment: fixed;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/header1.jpg);
}

.conference {
    width: 100% !important;
    height: 100% !important;
    background-attachment: fixed;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/conference-group4-.webp);
}

.apply-button {
    position: relative;
    opacity: 0;
    animation: slideApplyButton ease 1s;
    animation-delay: 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes slideApplyButton {
    0% {
        top: 100px;
        opacity: 0;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

.latest-members-box, .member-div {
    position: relative;
    animation: auto linear reveal-side-left both;
    animation-duration: 8s;
    animation-delay: 4s;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.latest-news-box {
    z-index: -100;
}

.latest-news-box, .news-box {
    position: relative;
    animation: auto linear reveal-side-right both;
    animation-duration: 8s;
    animation-delay: 4s;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.who-we-are, .why-ffsi {
    position: relative;
    animation: auto linear reveal-top both;
    animation-delay: 2s;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.home-box1 {
    position: relative;
    animation: auto linear reveal both;
    animation-duration: 6s;
    animation-timeline: view();
    animation-range: entry 15% cover 30%;
}

.home-box2 {
    position: relative;
    animation: auto linear reveal both;
    animation-delay: 2s;
    animation-duration: 6s;
    animation-timeline: view();
    animation-range: entry 15% cover 30%;
}

.home-box3 {
    position: relative;
    animation: auto linear reveal both;
    animation-delay: 4s;
    animation-duration: 8s;
    animation-timeline: view();
    animation-range: entry 15% cover 30%;
}

.home-header-text h4 {
    width:50% !important;
    margin: auto;
    padding-bottom: 60px;
}

#contact {
    color: #ffffff;
    width: 100% !important;
    height: 100% !important;
    background-attachment: fixed;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/contact-photo.jpg);
}

.contact-office1 {
    border-right: 1px solid #cccccc;
}

.contact-office3 {
    border-left: 1px solid #cccccc;
}

#home-boxes {
    width: 100% !important;
    background-attachment: fixed;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/circular-background.jpg);
}

.home-box-container {
    padding-left: 60px;
    padding-right: 60px;
}

.home-box {
    padding: 40px;
}

.box-container {
    color: #ffffff;
    padding: 20px;
    padding-top:40px;
    padding-bottom:40px;
    border-bottom: 12px solid #ff3e50;
}

.box-container h3 {
    font-size: 4.5vh;
    margin-bottom: 0px !important;
    line-height: 4vh;
}

.home-box1 {
    width: 100% !important;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/home-box1.jpg);
    transition: background 0.4s ease-out;
}

.box-container:hover {
    background-image: none;
    background-color: #333333;
    transition: background 0.4s ease-in;
}

.box-container:hover .box-title {
    color:#ffffff;
    transition: color 0.2s ease-in;
}

.box-title {
    color: #ccc;
    transition: background 0.4s ease-out;
}

.home-box2 {
    width: 100% !important;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/home-box2.jpg);
}

.home-box3 {
    width: 100% !important;
    background-position: 50% 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url(/images/home-box3.jpg);
}

#who-we-are .container, #why-ffsi .container {
    font-size: 1.4rem;
    line-height: 1.6rem;
    padding: 60px;
}

#who-we-are .h1, #why-ffsi .h1 {
    font-size: 4rem;
    color: #00709e; 
    line-height: 4rem !important;
    padding-bottom: 20px;
}

#who-we-are .row, .contact .row {
    padding-top: 60px;
    padding-bottom: 60px;
}

#ffsi-members .members-scroll {
    
}


.box-home {
    padding:0px !important;
}

.box-home .blocks {
    min-height: 500px;
    color: #f0f0f0;
    padding: 20px !important;
}

.box-home .blocks .inner {
    padding: 40px;
}

.box-home .latest-members img {
    width: 80px;
}

.box-home .latest-members .member-flag {
    text-align: right !important;
}

.box-home .latest-members .member-country, .news-date {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0px;
    color: #00709e;
    vertical-align:middle;
}

.box-home .latest-members .member-name, .news-name {
    font-size: 2rem;
    line-height: 2rem;
    color: #333333;
    text-align: left;
    margin-top: 10px;
}

.latest-news {
    padding: 0px;
    padding-top: 20px;
}

.box-home .blocks button {
    width:auto !important; 
    display: inline-block; 
    padding: 10px; 
    padding-left: 20px; 
    padding-right: 20px; 
    border-radius: 20px; 
    color: #ffffff;
    border: 2px solid #f3b757; 
    background-color: transparent !important;
    text-align: center;
}

.box-home .blocks button:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.block1 {
    height: 100%;
    padding: 10px !important;
    background: url(/images/service-home1.jpg);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
}

.block2 {
    height: 100%;
    background: url(/images/service-home2.jpg);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
}

.member-flag img {
    border-radius: 10500px;
}

.members-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: left;
}

.members-container h2 {
    text-align: left;
    font-size: 2em;
    line-height: 1em;
}

.members-container h3 {
    text-align: left;
    font-size: 1em;
    line-height: 1em;
    font-weight: 550;
}

.members-container .flag {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    float: left;
    margin-right: 15px;
    background-size: 150px auto !important;
    background-position: 50% 50% !important;
    background-color: #ff3e50 !important;
    border: 2px solid #ececf0;
}

.members-container .CHINA {
    background-position: 10% 50% !important;
}

.member-div {
    padding-bottom: 30px;
}

.outer {
    position: unset;
}

.home .outer { 
    position: absolute;
}

@media only screen and (min-width: 1366px) and (max-width : 1366px) {
    .home-box-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .members-container .flag {
        width: 80px !important;
        height: 80px !important;
        background-size: 115px auto !important;
    }

    
    .block-item .inner {
        padding: 0px !important;
        padding-top: 40px !important;

    }
}

@media only screen and (min-width: 1024px) and (max-width : 1280px) {
    .home-box-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-box {
        padding: 20px;
    }
}

@media only screen and (min-width: 1024px) and (max-width : 1280px) {
    .home-box-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .members-container .flag {
        width: 65px !important;
        height: 65px !important;
        background-size: 105px auto !important;
    }

    .home-box {
        padding: 20px;
    }

    .box-home-mobile {
        display: none !important;
    }

    .block-item .inner {
        padding: 0px !important;
        padding-top: 40px !important;

    }
}

@media only screen and (min-width: 320px) and (max-width : 820px) {
    .home-box-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .latest-news-box, .news-box {
        padding: 20px;
    }

    .members-container {
        padding: 0px !important;
    }

    .latest-news {
        padding: 0px !important;
    }

    .members-container .flag {
        width: 65px !important;
        height: 65px !important;
        background-size: 105px auto !important;
    }

    .members-container h2 {
        font-size: 2rem !important;
    }

    .members-container h3 {
        display: inline-block;
        margin-left: 5px;
    }

    .members-container .member-div {
        display: block;
        border-bottom: 1px solid #ccc !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .home-box {
        padding: 20px !important;
    }

    #who-we-are .row {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .block-item {
        
    }

    .block-item {
        height: unset !important;
    }

    .block-item .col-sm-10 {
        padding: 0px !important;
    }

    .box-home .latest-members .member-name, .news-name {
        font-size: 2rem !important;
        line-height: 2.2rem !important;
        padding: 0px !important;
        margin: 0px !important;
    }

    .box-home .blocks .inner {
        padding: 20px;
    }

    .box-home .blocks {
        min-height: unset !important;
    }

    .latest-news {
        padding-top: 30px !important;
    }
}