.carousel-inner img {
    width: 100%;
    height: 100%;
}

.project-slider .item {
    padding: 15px 0;
}

.project-slider .item a {
    position: relative;
    float: left;
}

.project-slider .item a .caption-out {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(254, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: -webkit-linear-gradient(top, rgba(254, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: linear-gradient(to bottom, rgba(254, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    visibility: hidden;
    transition: all 500ms;
}

.project-slider .item a:hover .caption-out {
    opacity: 1;
    visibility: visible;
}

.project-slider .item a .caption-out h4 {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    transform: translateY(20px);
    transition: all 500ms;
    opacity: 0;
    visibility: hidden;
}

.project-slider .item a .caption-out span {
    color: #fff;
    font-size: 16px;
    display: block;
    transform: translateY(20px);
    transition: all 500ms;
    opacity: 0;
    visibility: hidden;
}

.project-slider .item a:hover .caption-out h4 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.project-slider .item a:hover .caption-out span {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 300ms;
}

.project-slider .item a img {
    width: 100%;
}

.nav-tabs {
    background: #fff;
    border: none;
    margin-bottom: 40px;
    width: 80%;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #e88b45;
    border: none;
    border-radius: 0;
}

.nav-link {
    text-transform: uppercase;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
}

.nav-tabs li.nav-item a.nav-link {
    border: 0;
    border-radius: 0;
}

.nav-tabs li.nav-item a.nav-link:hover {
    border: 0;
    background-color: #000;
    color: #fff;
}

.tab-content p {
    color: #696969;
    font-size: 15px;
    margin-bottom: 30px;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    opacity: 0;
    -webkit-transition: all 1s;
    transition: all 1s;
    text-align: justify;
}

.tab-pane.fade.active.show p {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -webkit-transition: all 1s;
    transition: all 1s;
    opacity: 1;
}

.tab-content a {
    margin-top: 17px;
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    border: 1px solid #6a6a6a;
    border-radius: 50px;
    padding: 12px 35px;
    float: left;
    font-family: 'Quicksand', sans-serif;
    position: relative;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    opacity: 0;
    -webkit-transition: all 1s;
    transition: all 1s;
}

.tab-pane.fade.active.show a {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -webkit-transition: all 1s;
    transition: all 1s;
    opacity: 1;
}

.tab-content>.tab-pane {
    float: left;
}

.tab-content a:hover {
    color: #fff;
}

.tab-content a span {
    position: relative;
    z-index: 1;
}

.tab-content a::before {
    position: absolute;
    content: '';
    right: 50%;
    top: 0;
    width: 0;
    height: 100%;
    background: #e88b45;
    z-index: 0;
    transition: 400ms all;
    -webkit-transition: 400ms all;
    -moz-border-radius-topleft: 50px;
    -webkit-border-top-left-radius: 50px;
    border-top-left-radius: 50px;
    -moz-border-radius-bottomleft: 50px;
    -webkit-border-bottom-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.tab-content a:hover::before {
    width: 50%;
}

.tab-content a::after {
    position: absolute;
    content: '';
    left: 50%;
    top: 0;
    width: 0;
    height: 100%;
    background: #305696;
    z-index: 0;
    transition: 400ms all;
    -webkit-transition: 400ms all;
    -moz-border-radius-topright: 50px;
    -webkit-border-top-right-radius: 50px;
    border-top-right-radius: 50px;
    -moz-border-radius-bottomright: 50px;
    -webkit-border-bottom-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.tab-content a:hover::after {
    width: 50%;
}

body section.container-fluid.footer-out .contact-add .contact-form input,
body section.container-fluid.footer-out .contact-add .contact-form textarea {
    color: #fff;
}

body section.container-fluid.service-out .row .serv-img:before {
    content: "";
    position: absolute;
    right: 0;
    left: -68%;
    top: 0;
    bottom: 0;
    background-color: #e88b45;
    opacity: 0;
    z-index: 1;
    transition: all 500ms;
}

body section.container-fluid.service-out .row:hover .serv-img:before {
    opacity: .5;
}

body section.container-fluid.service-out .container .row .serv-img::after {
    z-index: 1;
}

body section.container-fluid.service-out .container .row.oil-gas .serv-img:before {
    left: 0;
}


/*to top*/

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background: #db0101;
    box-shadow: 0px 0px 0px 5px #db0101;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'unicons';
    content: '\e84b';
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    color: #fff;
    left: 0;
    top: -3px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}


/* 
.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'unicons';
    content: '\e84b';
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    opacity: 0;
    background-image: linear-gradient(298deg, var(--red), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
} */

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--grey);
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

body.light .progress-wrap {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

body.light .progress-wrap::after {
    color: var(--black-blue);
}

body.light .progress-wrap svg.progress-circle path {
    stroke: var(--black-blue);
}

.switch,
.circle {
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.switch {
    width: 80px;
    height: 4px;
    border-radius: 27px;
    background-image: linear-gradient(298deg, var(--red), var(--yellow));
    position: fixed;
    right: 50px;
    top: 75px;
    display: block;
    margin: 0 auto;
    text-align: center;
    opacity: 1;
    z-index: 33333;
    transition: all 300ms linear;
}

.circle {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--black-blue-light-3);
    box-shadow: 0 4px 4px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
    animation: border-transform 10s linear infinite alternate forwards;
}

.circle:hover {
    box-shadow: 0 8px 8px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
}

.circle:before {
    position: absolute;
    font-family: 'unicons';
    content: '\eac1';
    top: 0;
    left: 0;
    z-index: 2;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    width: 100%;
    height: 40px;
    opacity: 1;
    color: var(--grey);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.circle:after {
    position: absolute;
    font-family: 'unicons';
    content: '\eb8f';
    top: 0;
    left: 0;
    z-index: 2;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    width: 100%;
    height: 40px;
    color: var(--yellow);
    opacity: 0;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.switched {}

.switched .circle {
    left: 45px;
    box-shadow: 0 4px 4px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
    background: var(--black-blue);
}

.switched .circle:hover {
    box-shadow: 0 8px 8px rgba(26, 53, 71, 0.25), 0 0 0 1px rgba(26, 53, 71, 0.07);
}

.switched .circle:before {
    opacity: 0;
}

.switched .circle:after {
    opacity: 1;
}


/*Gallery Hover*/

.snip1572 {
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    color: #000000;
    text-align: left;
    font-size: 16px;
    background: #131313;
    margin: 0;
    padding: 0;
}

.snip1572 *,
.snip1572:before,
.snip1572:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.snip1572 img {
    max-width: 100%;
    backface-visibility: hidden;
    vertical-align: top;
}

.snip1572:before,
.snip1572:after {
    content: '';
    background-color: #fff;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.snip1572:before {
    width: 300px;
    height: 2px;
}

.snip1572:after {
    height: 300px;
    width: 2px;
}

.snip1572 figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
}

.snip1572 h3 {
    font-weight: 400;
    padding: 8px 15px;
    margin: 0;
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.snip1572:hover img,
.snip1572.hover img {
    zoom: 1;
    filter: alpha(opacity=25);
    -webkit-opacity: 0.25;
    opacity: 0.25;
}

.snip1572:hover:before,
.snip1572.hover:before,
.snip1572:hover:after,
.snip1572.hover:after {
    opacity: 1;
}

.snip1572:hover:before,
.snip1572.hover:before {
    width: 50px;
}

.snip1572:hover:after,
.snip1572.hover:after {
    height: 50px;
}

.snip1572:hover h3,
.snip1572.hover h3 {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
}

.modal-footer>:not(:last-child) {
    margin-right: 0;
    padding: 0;
}

.modal-footer>:not(:first-child) {
    margin-left: 0;
    padding: 0;
}


/* start contact form validaion css */

.inner-page.about-page .about-wrapper .right-cont p:last-child {
    margin-bottom: 0;
    color: #db0101;
    font-size: 13px;
}

.inner-page.about-page .about-wrapper .right-cont .contact-form form.invalid .form-group input,
.inner-page.about-page .about-wrapper .right-cont .contact-form form.invalid .form-group textarea {
    border-bottom: 1px solid #db0101;
}

#cresponse {
    display: inline-block;
    width: 100%;
    margin: 30px 0px;
    border-radius: 10px;
}

#cresponse p {
    color: #005013;
}

.contact-add .contact-form form.invalid .form-group p {
    color: #db0101;
    font-size: 13px;
}

.contact-add .contact-form form #cresponse p {
    color: #009c25;
}


/* end contact form validaion css */

@media (max-width:991px) {
    .nav-tabs {
        width: 100%;
    }
}

@media (max-width:767px) {
    .nav-tabs {
        margin-bottom: 30px;
    }
    .tab-content a {
        margin-top: 0;
        padding: 5px 20px;
        font-size: 14px;
    }
}

@media (max-width:420px) {
    .progress-wrap {
        right: 15px;
        bottom: 15px;
    }
}


/* 24-09-2020*/

.structural-images img {
    /* animation-name: multiple-image-crossfade;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 8s; */
    animation: multiple-image-crossfade 8s ease-in-out infinite 0s;
}

.structural-images img:nth-child(1) {
    animation-delay: 6s;
}

.structural-images img:nth-child(2) {
    animation-delay: 4s;
}

.structural-images img:nth-child(3) {
    animation-delay: 2s;
}

.structural-images img:nth-child(4) {
    animation-delay: 0s;
}

@keyframes multiple-image-crossfade {
    0% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    92% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}