.cspt-pre-header-wrapper.cspt-bg-color-globalcolor.cspt-color-white{
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/*cards on outsourcing page*/

.outsourcing-card-container {
    display: flex;
    margin-right: -2rem;
    flex-wrap: wrap;
}

.outsourcing-card-container .cardbl:not(:last-child) {
    margin-right: 1rem;
}

.outsourcing-card-container .cardbl {
    height: 35rem;
    width: 22rem;
    overflow-x: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
.outsourcing-card-container .cardbl-textbox {
    padding: 0 1rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
}
.outsourcing-card-container .cardbl--1 {
    background: #5D5792;
}
.outsourcing-card-container .cardbl--2 {
    background: #5D5792;
    transform: translate(0, 2rem);
}
.outsourcing-card-container .cardbl--3 {
    background: #5D5792;
    transform: translate(0, 4rem);
}
.outsourcing-card-container .cardbl--4 {
    background: #5D5792;
    transform: translate(0, 4rem);
}
.outsourcing-card-container .cardbl--5 {
    background: #5D5792;
    transform: translate(0, 6rem);
}
.outsourcing-card-container .cardbl--6 {
    background: #5D5792;
    transform: translate(0, 8rem);
}

.outsourcing-card-container .square {
    height: 1rem;
    width: 1rem;
    border: 2px solid #222;
}

.outsourcing-card-container h1, h3 {
    text-transform: uppercase;
    line-height: unset;
}

.outsourcing-card-container h1 {
    font-size: 8rem;
    display: inline-block;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #222;
    margin-bottom: -4rem;
    margin-left: -1rem;
}

.outsourcing-card-container h3 {
    font-size: 2rem;
    color:white;
}

.outsourcing-card-container p {
    font-size: 1rem;
    color:white;
}

.outsourcing-card-container .cardbl:hover h1 {
    -webkit-text-fill-color: #FBD788;
    /* -webkit-text-stroke:2px #222;*/
    animation: textreveal 6s infinite;
    transition: all ease-in-out;
}

.outsourcing-card-container .cardbl:hover h3,
.outsourcing-card-container .cardbl:hover p {
    color: #ED930E;
}

.outsourcing-card-container .cardbl:hover .square {
    border: 1px solid #FBD788;
}

.outsourcing-card-container .cardbl:hover {
    background: #222;
}

@keyframes textreveal {
    0% {
        transform: translateX(0%);
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-82rem);
        opacity: 0.1;
    }
}
.outsourcing-card-container h2 {
    text-transform: uppercase;
    margin-bottom: -20vh;
}

@media only screen and (max-width: 768px) {
    .outsourcing-card-container .cardbl {
        height: 30rem;
        width: 22rem;
        overflow-x: hidden;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    }
    .outsourcing-card-container h1 {
        font-size: 5rem;
        display: inline-block;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 2px #222;
        margin-bottom: -4rem;
        margin-left: -1rem;
    }
    .outsourcing-card-container .cardbl--1 {
        background: #5D5792;
    }
    .outsourcing-card-container .cardbl--2 {
        background: #5D5792;
        transform: translate(0, 2rem);
    }
    .outsourcing-card-container .cardbl--3 {
        background: #5D5792;
        transform: translate(0, 4rem);
    }
    .outsourcing-card-container .cardbl--4 {
        background: #5D5792;
        transform: translate(0, 6rem);
    }
    .outsourcing-card-container .cardbl--5 {
        background: #5D5792;
        transform: translate(0, 8rem);
    }
    .outsourcing-card-container .cardbl--6 {
        background: #5D5792;
        transform: translate(0, 10rem);
    }
}

/*industries we serve*/

.pentagon img {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 25% 100%, 0 49%, 25% 0);
}



/*MAINPAGE*/
#iobacksec:before {

    background:#111!important;

}
#iobacksec {
    position:relative;
    width:100vw;
    background:#111;
    display:flex;
    flex-direction: column;
    overflow:hidden;
    padding:0px!important;
    max-width:1920px;
}
#iobacksec .row {
    max-width:100vw;
    position:absolute;
    /*width:100%;*/
    display:flex;
    padding: 10px 0;
    white-space:nowrap;
    flex-wrap: nowrap;
    font-size: 64px;
    transform: rotate(-30deg);
}
#iobacksec .row:nth-child(1) {
    top:-700px;
}
#iobacksec .row:nth-child(2) {
    top:-600px;
}
#iobacksec .row:nth-child(3) {
    top:-500px;
}
#iobacksec .row:nth-child(4) {
    top:-400px;
}
#iobacksec .row:nth-child(5) {
    top:-300px;
}
#iobacksec .row:nth-child(6) {
    top:-200px;
}
#iobacksec .row:nth-child(7) {
    top:-100px;
}
#iobacksec .row:nth-child(8) {
    top:0px;
}
#iobacksec .row:nth-child(9) {
    top:100px;
}
#iobacksec .row:nth-child(10) {
    top:200px;
}
#iobacksec .row:nth-child(11) {
    top:300px;
}
#iobacksec .row:nth-child(12) {
    top:400px;
}
#iobacksec .row:nth-child(13) {
    top:500px;
}
#iobacksec .row:nth-child(14) {
    top:600px;
}
#iobacksec i {
    color:rgba(0,0,0, 0.5);
    transition:1s;
    padding: 0 5px;
    user-select:none;
    cursor:default;
}
#iobacksec i:hover {
    transition: 0s;
    color:#5D5792;
    text-shadow: 0 0 120px #5D5792;
}
#iobacksec .row div {

    animation: animateioback1 80s linear infinite;
    animation-delay:-80s;
}
#iobacksec .row div:nth-child(2) {

    animation: animateioback2 80s linear infinite;
    animation-delay:-40s;
}
@keyframes animateioback1 {
    0%{
        transform:translate(100%);
    }
    100%{
        transform:translate(-100%);
    }
}
@keyframes animateioback2 {
    0%{
        transform:translate(0);
    }
    100%{
        transform:translate(-200%);
    }
}
#iobacksec .row:nth-child(even) div {

    animation: animateioback3 80s linear infinite;
    animation-delay:-80s;
}
#iobacksec .row:nth-child(even) div:nth-child(2) {

    animation: animateioback4 80s linear infinite;
    animation-delay:-40s;
}
@keyframes animateioback3 {
    0%{
        transform:translate(-100%);
    }
    100%{
        transform:translate(100%);
    }
}
@keyframes animateioback4 {
    0%{
        transform:translate(-200%);
    }
    100%{
        transform:translate(0);
    }
}




/*itoutstaffing*/

#itoutstaffingsec{
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #5D5792;
    background-image: url("http://fnj-global.local/wp-content/uploads/2022/01/trans-pattern.png");
    background-repeat: repeat;
    overflow: hidden;
}
#itoutstaffingsec .air{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(https://1.bp.blogspot.com/-xQUc-TovqDk/XdxogmMqIRI/AAAAAAAACvI/AizpnE509UMGBcTiLJ58BC6iViPYGYQfQCLcBGAsYHQ/s1600/wave.png);
    background-size: 1000px 100px
}
#itoutstaffingsec .air.air1{
    animation: wave 30s linear infinite;
    z-index: 1000;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}
#itoutstaffingsec .air.air2{
    animation: wave2 15s linear infinite;
    z-index: 999;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: 10px;
}
#itoutstaffingsec .air.air3{
    animation: wave 30s linear infinite;
    z-index: 998;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}
#itoutstaffingsec .air.air4{
    animation: wave2 5s linear infinite;
    z-index: 997;
    opacity: 0.7;
    animation-delay: -5s;
    bottom: 20px;
}
@keyframes wave{
    0%{
        background-position-x: 0px;
    }
    100%{
        background-position-x: 1000px;
    }
}
@keyframes wave2{
    0%{
        background-position-x: 0px;
    }
    100%{
        background-position-x: -1000px;
    }
}









.calc-form form {
    font-size: 0;
    line-height: 40px;
}

.calc-form .form-group {
    display: inline-block;
    width: calc((100% / 3) / 2);
    height: 30px;
    padding-right: 20px;
    vertical-align: middle;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (min-width: 801px) {
    .calc-form .form-group:last-child {
        padding-right: 0;
    }
}

@media screen and (max-width: 800px) and (min-width: 501px) {
    .calc-form .form-group {
        width: 48%;
        margin-right: 2%;
        padding-right: 0;
    }

    .calc-form .form-group:nth-child(2n+2) {
        margin-right: 0;
        margin-left: 2%;
    }

    .calc-form .form-group:nth-child(n+3) {
        margin-top: 20px;
    }
}

@media screen and (max-width: 500px) {
    .calc-form .form-group {
        width: 100%;
        padding-right: 0;
    }

    .calc-form .form-group:nth-child(n+2) {
        margin-top: 20px;
    }
}

.calc-form input, .calc-form select {
    width: 100%;
    padding: 0 0 0 5px;
    color: #465680;
    font-family: ClearSans, sans-serif;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
    border: none;
    outline: none;
    background: none;
    border-bottom: 2px solid #465680;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.calc-form input::-webkit-input-placeholder {
    color: #465680;
}

.calc-form input:-moz-placeholder {
    color: #465680;
}

.calc-form input::-moz-placeholder {
    color: #465680;
}

.calc-form input:-ms-input-placeholder {
    color: #465680;
}

.calc-form button[type=submit] {
    display: block;
    float: right;
    max-width: 175px;
    width: 100%;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    height: 40px;
    border: none;
    outline: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    color: #ffffff;
    background: #ee2b7d;
    background: linear-gradient(90deg, #621655 0%, #ee2b7d 100%);
    background: -o-linear-gradient(0deg, #621655 0%, #ee2b7d 100%);
    background: -ms-linear-gradient(0deg, #621655 0%, #ee2b7d 100%);
    background: -moz-linear-gradient(0deg, #621655 0%, #ee2b7d 100%);
    background: -webkit-linear-gradient(0deg, #621655 0%, #ee2b7d 100%);
    cursor: pointer;
}

@media screen and (max-width: 960px) {
    .calc-form button[type=submit] {
        max-width: 135px;
    }
}

@media screen and (max-width: 800px) {
    .calc-form button[type=submit] {
        max-width: 100%;
    }
}

@media screen and (max-width: 500px) {
}

.calc-form button[type=submit]:hover, .calc-form button[type=submit]:active {
    background: #621655;
    background: linear-gradient(90deg, #ee2b7d 0%, #621655 100%);
    background: -o-linear-gradient(0deg, #ee2b7d 0%, #621655 100%);
    background: -ms-linear-gradient(0deg, #ee2b7d 0%, #621655 100%);
    background: -moz-linear-gradient(0deg, #ee2b7d 0%, #621655 100%);
    background: -webkit-linear-gradient(0deg, #ee2b7d 0%, #621655 100%);
}

.calc-form .fg-select {
    width: calc(100% / 3);
}

@media screen and (max-width: 800px) {
    .calc-form .fg-select {
        width: 48%;
    }
}

@media screen and (max-width: 500px) {
    .calc-form .fg-select {
        width: 100%;
    }
}

.calc-form .fg-select:after {
    content: '';
    display: block;
    width: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    background: url("../img/ico-arrow-down-p.svg") center no-repeat;
    background-size: contain;
}

@media screen and (max-width: 800px) {
    .calc-form .fg-select:after {
        right: 0;
    }
}

.calc-form .fg-select select {
    width: 100%;
    padding-right: 30px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.calc-form .fg-btn {
    height: auto;
}

.calc-result {
    margin-top: 60px;
    padding: 40px 30px 30px;
    background: #eff0f6;
}

@media screen and (max-width: 680px) {
    .calc-result {
        padding: 0;
        background: none;
    }
}

.calc-result > .text {
    display: block;
    color: #283b6d;
    font-family: ClearSans, sans-serif;
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    padding-bottom: 10px;
}

.calc-result .calc-wrapper {
    display: none;
}

.calc-result .m-vis {
    display: none !important;
}

@media screen and (max-width: 680px) {
    .calc-result .m-vis {
        display: inline-block !important;
    }
}

.calc-result .heading {
    display: inline-block;
    width: 100%;
    font-size: 35px;
    color: #283b6d;
    font-family: BloggerSans, sans-serif;
    font-weight: 500;
}

@media screen and (max-width: 500px) {
    .calc-result .heading {
        font-size: 28px;
    }
}

.calc-result .table .row {
    margin-top: 30px;
    font-size: 0;
    padding-right: 40px;
    position: relative;
}

@media screen and (max-width: 680px) {
    .calc-result .table .row {
        margin-top: 20px;
        padding: 20px 20px 10px 20px;
        background: #eff0f6;
    }

    .calc-result .table .row.first {
        display: none;
    }
}

.calc-result .table .row .cell {
    display: inline-block;
    width: 12%;
    padding: 0 10px;
    text-align: center;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (max-width: 680px) {
    .calc-result .table .row .cell {
        width: 100% !important;
        padding: 0 !important;
    }

    .calc-result .table .row .cell + .cell {
        margin-top: 10px;
    }
}

.calc-result .table .row .cell:first-child {
    width: 32%;
    padding: 0;
    text-align: left;
}

.calc-result .table .row .cell.remove {
    width: 24px;
    height: 24px;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -12px;
}

@media screen and (max-width: 680px) {
    .calc-result .table .row .cell.remove {
        height: auto;
        position: inherit;
        top: inherit;
        right: inherit;
        margin-top: 0;
    }
}

.calc-result .table .row .cell.remove span.remove {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("/wp-content/themes/emphires-child/assets/images/icon-close.svg") center no-repeat;
    background-size: 24px 24px;
    cursor: pointer;
}

@media screen and (max-width: 680px) {
    .calc-result .table .row .cell.remove span.remove {
        padding: 10px;
    }
}

.calc-result .table .row .cell span {
    display: inline-block;
    color: #283b6d;
    font-family: ClearSans, sans-serif;
    font-weight: 700;
    font-size: 26px;
    vertical-align: top;
}

@media screen and (max-width: 900px) {
    .calc-result .table .row .cell span {
        font-size: 22px;
    }
}

@media screen and (max-width: 768px) {
    .calc-result .table .row .cell span {
        font-size: 20px;
    }
}

@media screen and (max-width: 680px) {
    .calc-result .table .row .cell span {
        width: 50%;
        text-align: right;
    }

    .calc-result .table .row .cell span.m-vis {
        font-size: 18px;
        text-align: left;
    }
}

@media screen and (max-width: 500px) {
    .calc-result .table .row .cell span {
        font-size: 18px;
    }

    .calc-result .table .row .cell span.m-vis {
        font-size: 16px;
    }
}

.calc-result .table .row .cell span i {
    font-style: normal;
}

.calc-result .table .row.first .cell span {
    font-size: 20px;
}

@media screen and (max-width: 800px) {
    .calc-result .table .row.first .cell span {
        font-size: 18px;
    }
}

.calc-result .table .row.total {
    padding-right: 0;
    padding-top: 30px;
    border-top: 2px solid #adb2d0;
}

@media screen and (max-width: 680px) {
    .calc-result .table .row.total {
        padding: 20px;
    }
}

.calc-result .table .row.total .cell {
    width: 50% !important;
    margin-top: 0;
}

.calc-result .table .row.total .cell:first-child span {
    text-align: left;
    text-transform: uppercase;
}

.calc-result .table .row.total .cell:not(:first-child) {
    width: auto;
}

.calc-result .table .row.total .cell:not(:first-child) span {
    text-align: right;
}

.calc-result .table .row.total .cell span {
    width: 100%;
}