/*   Header bar */
.hdr-bar .wppb-addon-title {
    position: relative;
}



.hdr-bar .wppb-addon-title:before {
    position: absolute;
    bottom: -5px;
    content: "";
    background: #4E4E4E;
    width: 15px;
    height: 15px;
    display: block;
    margin-top: 10px;
    border-radius: 100%;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-name: bar-move;
    animation-timing-function: linear;
}

.hdr-bar .wppb-addon-title:after {
    content: "";
    border: #4E4E4E solid 2px;
    display: block;
    width: 100px;
    margin-top: 15px;
    border-radius: 5px;
    height: 1px;
}

.hdr-bar.sm .wppb-addon-title:after {
    width: 10%;
}



.hdr-bar.sm .wppb-addon-title:before {
    animation-name: bar-move-sm;
}

.hdr-bar.white .wppb-addon-title:after {
    border: #ffffff solid 2px;
}

.hdr-bar.white .wppb-addon-title:before {
    background: #ffffff;
}

.hdr-bar.md .wppb-addon-title:after {
    width: 30%;
}

.hdr-bar.md .wppb-addon-title:before {
    animation-name: bar-move-md;
}

.hdr-bar.center .wppb-addon-title:after {
    margin-left: auto;
    margin-right: auto;
}

.hdr-bar.center .wppb-headline-content {
    text-align: center;
}

.hdr-bar.center .wppb-headline-content .wppb-addon-title {
    display: inline-block;
    position: relative;
}

.hdr-bar.center .wppb-addon-title:before {
    margin-left: auto;
    margin-right: auto;
    animation-name: bar-move-center;
    right: 0;
    left: 0;
}

.hdr-bar.center.sm .wppb-addon-title:before {
    animation-name: bar-move-center-sm;
}

.hdr-bar.center.md .wppb-addon-title:before {
    animation-name: bar-move-center-md;
}


@keyframes bar-move {
    0% {
        left: 0;
    }

    50% {
        left: 96px;
    }

    100% {
        left: 0%;
    }
}

@keyframes bar-move-md {
    0% {
        left: 0;
    }

    50% {
        left: 29%;
    }

    100% {
        left: 0%;
    }
}

@keyframes bar-move-sm {
    0% {
        left: 0;
    }

    50% {
        left: 9%;
    }

    100% {
        left: 0%;
    }
}

@keyframes bar-move-center {
    0% {
        left: -100px;
    }

    50% {
        left: 100px;
    }

    100% {
        left: -100px;
    }
}

@keyframes bar-move-center-sm {
    0% {
        margin-left: 45%;
    }

    50% {
        margin-left: 54%;
    }

    100% {
        margin-left: 45%;
    }
}

@keyframes bar-move-center-md {
    0% {
        margin-left: 35%;
    }

    50% {
        margin-left: 65%;
    }

    100% {
        margin-left: 35%;
    }
}

/*  End Header bar */
/*  bouce hover */
.bounce-hv {
    transition: all .3s;
    z-index: 100;
}

.bounce-hv:hover {
    transform: translatey(-20px);
}

/*  Bounce animation*/
.bounce-anim {
    animation-duration: 5s;
    animation-iteration-count: infinite;
    transform-origin: bottom;
    animation-name: bounce-1;
    animation-timing-function: linear;
    position: absolute;
}

@keyframes bounce-1 {
    0% {
        transform: translateY(0);
    }

    33% {
        transform: translateY(-20px);
    }

    66% {
        transform: translatex(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/*  Team Card */
.team-card {
    transition: all .3s;
    z-index: 100;
}

.team-card .card {
    border-bottom: 5px solid #39b54a !important;

}

.team-card:hover {
    transform: translatey(-20px);
}

.team-card .card-header {
    position: relative;
    overflow: hidden;
}

.team-card .card-img-top.hover {
    display: none;
}

.team-card.hover:hover .card-img-top {
    display: none;
}

.team-card.hover:hover .card-img-top.hover {
    display: block;
}

.team-card .card-title {
    font-size: 1em;
}

.team-card .card-text {
    font-size: .9em;
}

.team-card .card-header ul {
    list-style-type: none;
    position: absolute;
    top: 0;
    right: -100%;
    opacity: 0;
    visibility: hidden;
    margin-top: 20%;
    max-height: 200px;
    width: 70px;
    background: #fff;
    padding: 10px 10px;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all .2s;
}

.team-card .card-header ul li {
    display: block;
    margin: auto;
}

.team-card .card-header ul a {
    display: block;
    margin: 15px 0;
    font-size: 1.5em;
    transition: transform .2s;
}

.team-card .card-header ul li a:hover {
    transform: scale(1.3);
}

.team-card .card-header:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #006738 !important;
    background-image: linear-gradient(to right, #006738, #42923d, #99CA45) !important;
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
}

.team-card:hover .card-header:before {
    opacity: .8;
    visibility: visible;
}

.team-card:hover .card-header ul {
    right: 0;
    opacity: 1;
    visibility: visible;
}



/*
flip card
*/
.card-flip {
    position: relative;
}

.card-flip > div {
    backface-visibility: hidden;
    transition: transform 300ms;
    transition-timing-function: linear;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    position: relative;
}

.card-flip .card-front {
    transform: rotateY(0deg);
    min-height: 200px;
}

.content img {
    width: 100px;
    border-radius: 100%;
}

.card-flip .card-back {
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
}

.card-flip:hover .card-front {
    transform: rotateY(-180deg);
}

.card-flip:hover .card-back {
    transform: rotateY(0deg);
}


/*
flip card
*/
.custom-design-lead label {
    display: block;
    margin-bottom: 5px;
}

form .fields p,
form .custom-design-lead p {
    margin: 0 !important;
}

.custom-design-lead.no-label label,
.gp-field.fields label {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.custom-design-lead.color-input input,
.custom-design-lead.color-input textarea,
.custom-design-lead.color-input select {
    margin-bottom: 8px;
    color: #ffffff;
    height: auto;
    border-radius: 5px;
    padding: 10px;
    background: #52ac46;
    border-color: #52ac46;
}

.custom-design-lead.color-phldr input::-webkit-input-placeholder,
.custom-design-lead.color-phldr textarea::-webkit-input-placeholder {
    color: #fff  !important;
}

.custom-design-lead.color-phldr input:-moz-placeholder,
.custom-design-lead.color-phldr textarea:-moz-placeholder {
    color: #fff  !important;
}

.custom-design-lead.color-phldr input::-moz-placeholder,
.custom-design-lead.color-phldr textarea::-moz-placeholder {
    color: #fff  !important;
}

.custom-design-lead.color-phldr input:-ms-input-placeholder,
.custom-design-lead.color-phldr textarea:-ms-input-placeholder {
    color: #fff !important;
}

.custom-design-lead.color-phldr input::-ms-input-placeholder,
.custom-design-lead.color-phldr textarea:-ms-input-placeholder {
    color: #fff  !important;
}

.custom-design-lead.color-phldr input::placeholder,
.custom-design-lead.color-phldr textarea::placeholder {
    color: #fff !important;
}

.custom-design-lead textarea.short-message {
    height: 100px;
}

/* Picture only slider */
.pic-only-slider .wppb-carousel-content-in {
	display: none;
}

.pic-only-slider .wppb-carousel-media-right {
	width: 100% !important;
}

.pic-only-slider img {
    max-width: 100%;
}

.pic-only-slider .wppb-carousel-media-right {
    text-align: center;
}
