html {
    height: 100%;
    overflow-y: scroll;
    scrollbar-color: blue darkblue;
    scrollbar-width: thin;
    /* -webkit-user-select: none; /* Safari */
    /* -ms-user-select: none; /* IE 10 and IE 11 */
    /* user-select: none; Standard syntax */
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    height: 100%;
    font-family: "Roboto";
    font-size: 20px; 
    margin-bottom: 0;
    cursor: default;

    animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.page-heading {
    padding-left: 180px; 
    padding-right: 180px; 
    display: inline-block;
}

.head1 {
    position: relative;
    opacity: 0;
    animation: slideHead1 ease 0.75s;
    animation-delay: 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.head2 {
    position: relative;
    opacity: 0;
    animation: slideHead2 ease 1s;
    animation-delay: 0.3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        top: 200px;
        opacity: 0;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

@keyframes slideHead1 {
    0% {
        left: 400px;
        opacity: 0;
    }
    100% {
        left: 0px;
        opacity: 1;
    }
}

@keyframes slideHead2 {
    0% {
        right: 400px;
        opacity: 0;
    }
    100% {
        right: 0px;
        opacity: 1;
    }
}

@keyframes reveal {
    from { opacity: 0; top: 100px; }
    to { opacity: 1; top: 0px; }
}

@keyframes reveal-top {
    from { opacity: 0; top: 200px; }
    to { opacity: 1; top: 0px; }
}
 
@keyframes reveal-side-right {
    from { opacity: 0; right: 200px; }
    to { opacity: 1; right: 0px; }
}

@keyframes reveal-side-left {
    from { opacity: 0; left: 200px; }
    to { opacity: 1; left: 0px; }
}

@keyframes reveal-height {
    from { opacity: 0; height: 0%; }
    to { opacity: 1; height: 100%; }
}

.backTop {
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 1rem;
    position: fixed;
    right: -150px;
    bottom: 20px;
    background-color: #22577a;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 300;
    cursor: pointer;
    border:2px solid #fff;
}

.backTop:hover {
    background-color: #ff3e50;
}

.show-back {
    right: -2px;
    opacity: 0.75 !important;
}

.contact-office1 div, .contact-office2 div, .contact-office3 div {
    line-height: 1.3rem;
}

.contact-office1 {
    border-right: 1px solid #cccccc;
}

.contact-office3 {
    border-left: 1px solid #cccccc;
}

#contact-us {
    color: #ffffff;
    width: 100% !important;
    padding: 50px;
    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-footer.jpg);
    text-transform: uppercase;
}

#contact-us h2 {
    margin-top: 20px;
    margin-bottom: 40px;
}

#contact-us h3 {
    font-weight: bold !important;
}

#contact-us b {
    font-weight: bolder;
    color: #60b3ea;
}

.ffsi-logo-white {
    display: block;
}

.ffsi-logo-dark {
    display: none;
}

.ffsi-logo-only {
    display: none;
}

.subpage {
    background-image: url(/images/subpage.jpg);
    width: 100% !important;
    height: 300px !important;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  
    display: table;
    color:#fff;
}

#subpage h2 {
    color: #bbaf6e !important;
}

#subpage p {
    padding-bottom: 15px;
}

.copyright {
    font-size: 1rem;
    font-weight: 600;
}

.footer {
    display: block;
    height: 120px !important;
}

.footer .footer-menu {
    display: block;
    width: 100%;
}

.footer .footer-menu a {
    font-size: 1.2rem !important;
    font-weight: 500;
}

.footer .footer-menu a:hover {
    color: #ff3e50;
}

.outer {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto;
}



#services {
    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/services-photo.jpg);
}

#about {
    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/about-photo.jpg);
}



#subpage {
    font-family: "Roboto";
    color: #666;
}

#subpage h2 {
    font-family: "Roboto";
    font-size: 4rem;
}

.subpage-services h2 {
    
}

#subpage .content, .sub-services .content {
    padding-top: 40px;
    font-size: 1.4rem;
    line-height: 1.6rem;
    font-family: "Roboto";
}

#subpage .row {
    padding-bottom: 60px;
}

#subpage .signature {
    font-family: "Roboto";
    font-size: 1.8rem;
    color: #dca039;
}

h1 {
    color: #31112c;
    font-weight: 100 !important;
    font-size: 10vh !important;
    text-align: center;
    line-height:10vh !important;  
}

h2 {
    font-weight: 100 !important;
    font-size: 4rem;
    line-height:4rem;  
    text-align: center;
}

.footer {
    text-align: center;
    text-transform: uppercase;
    margin-top: 30px;
}

.footer .row {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.footer a {
    color: #385f76 !important;
    display: inline-block;
    margin-right: 30px;
    font-size: 1.5rem;
}

.hide-error {
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.error-message {
    transition: 0.2s ease-in-out;
}

.site-btn-lg {
    font-size: 1.4rem !important;
    border: 0px;
    border-radius: 20px !important;    
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.site-btn-lg:hover {
    box-shadow: 0 0px 0px rgb(0 0 0 / 0.4) !important;
}

.site-btn {
    text-transform: none !important;
    color: #ffffff !important;
    display: inline-block;
    text-align: center;
    background-color: #22577a;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: background 0.4s ease-in;
}

.site-btn:hover {
    text-decoration: none;
    background-color: #00709e !important;
    transition: background 0.2s ease-out;
}

.site-btn-lg {
    font-size: 1.5rem;
}

.color-light-gray {
    color: #cccccc;
}

.color-gray {
    color: #999999;
}

.color-red {
    color: #ff3e50;
}

.color-blue {
    color: #00709e;
}

.bgcolor-light-gray {
    background-color: #ececf0 !important;
    color: #ffffff;
}

.bgcolor-gray {
    background-color: #999999 !important;
    color: #ffffff;
}

.bgcolor-red {
    background-color: #ff3e50 !important;
}

.bgcolor-blue {
    background-color: #22577a !important;
}

.h1 {
    font-size: 4rem;
    color: #00709e !important; 
    line-height: 4rem !important;
    padding-bottom: 20px;
}

.divider {
    border-top: 1px solid #666666; 
}

.form-control {
    padding: 30px !important;
    border-radius: 40px;
    font-size: 20px;
}

#share {
    padding: 20px;
    color: #ffffff;
}

#share h3 {
    font-weight: bolder;
}

.socmed-container {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    margin-right: 8px;
    padding: 0 10px;
    position: relative;
    text-align: center;
    top: 0;
    vertical-align: top;
    white-space: nowrap;
}

.socmed {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -ms-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -o-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -webkit-transition: opacity 0.2s ease-in, top 0.2s ease-in;
    transition: opacity 0.2s ease-in, top 0.2s ease-in;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 32px;
    line-height: 32px;
    margin-right: 8px;
    padding: 0 10px;
    position: relative;
    text-align: center;
    top: 0;
    vertical-align: top;
    white-space: nowrap;
}

.socmed span {
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    color: #fff;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-width: 40px;
    width: 60px;
    opacity: 1;
    padding: 0 6px;
    position: relative;
    vertical-align: top
}

.socmed img {
    display: inline-block;
    height: 20px;
    width: 20px;
    position: relative;
    top: 5px;
    vertical-align: top;
}

.socmed-title {
    padding-right: 20px;
}

.facebook {
    background-color: #4267B2;
}

.twitter {
    background-color: #55acee;
}

.whatsapp {
    background-color: #25d366;
}

.email {
    background-color: #7d7d7d;
}

.sub-heading {
    font-size: 1.5rem ;
    line-height: 1.5rem !important;
}

/* MOBILE
*************************************** */

@media screen and (min-width: 1300px) {
    .head2 {
        display: none;
    }

    .head2-home {
        display: block;
    }

    .page-heading {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1180px) {
    .sub-heading {
        line-height: 1.2rem !important;
        font-size: 1.2rem !important;
    }

    .head2 {
        display: block;
    }

    .page-heading {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (min-width: 512px) and (max-width: 820px) {
    .head1 {
        display: block !important;
    }

    .head2 {
        display: none;
    }

    .page-heading {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (min-width: 320px) and (max-width : 820px) {
    .head1-sub, .head2-sub {
        display: none;
    }

    #contact-us {
        padding: 20px;
    }

    #contact-us h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .contact-office1, .contact-office2, .contact-office3 {
        border: 0px !important;
        border-bottom: 1px solid #cccccc !important;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .socmed-container {
        display: block !important;
        padding: 0px !important;
    }

    .socmed-title {
        padding-right: 0px !important;
        padding-bottom: 20px;
    }

    .site-btn-lg {
        width: 100% !important;
    }

    .ffsi-logo {
        width: 120px !important;
        height: auto !important;
    }
    
    .copyright {
        font-size: 0.6rem;
    }

    .footer a {
        margin: 0px !important;
        padding: 4px !important;
    }

    .footer .footer-menu {
        display: block !important;
        padding-right: 0px !important;
        text-align: center !important;
        width: 100%;
    }

    .footer .contact-number, .footer .copyright {
        text-align: center !important;
    }
}