:root {
    --darkcolor: #050505
}

body.dark,
.dark .slider-element,
.dark #content,
#footer.dark,
.dark .css3-spinner,
#header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark) {
    background-color: var(--darkcolor)
}

.slider-element h2 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0
}

.button.button-change.button-color {
    background-color: #fff!important;
    text-shadow: none
}

.button.button-change {
    box-shadow: 0 28px 32px -42px rgba(0, 0, 0, .75)
}

.dark.button.button-change,
.dark.section {
    background-color: var(--darkcolor)!important
}

.button.button-change.button-large {
    /*    padding: 3px 22px;
        height: 50px*/
}

.button.button-change span {
    text-align: center;
    display: block;
    vertical-align: middle;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s
}

.button:hover.button-change span:first-child,
.button.button-change span:last-child {
    opacity: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%)
}

.button:hover.button-change span:last-child {
    opacity: 1;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%)
}

.gradient-border {
    --borderWidth: 3px;
    background: #1d1f20;
    position: relative;
    border-radius: 0
}

.gradient-border:after {
    content: '';
    position: absolute;
    top: calc(-1 * var(--borderWidth));
    left: calc(-1 * var(--borderWidth));
    height: calc(100% + var(--borderWidth) * 2);
    width: calc(100% + var(--borderWidth) * 2);
    background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
    border-radius: var(--borderWidth);
    z-index: -1;
    animation: animatedgradient 3s ease alternate infinite;
    background-size: 300% 300%
}

@keyframes animatedgradient {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@media(min-width:992px) {
    #header.transparent-header+#slider,
    #slider+#header.transparent-header {
        top: -60px;
        margin-bottom: -60px
    }
    #header.transparent-header.floating-header+#slider {
        top: -120px;
        margin-bottom: -120px
    }
    #primary-menu ul li>a {
        padding-top: 19px;
        padding-bottom: 19px;
        font-weight: 300;
        text-transform: capitalize
    }
    #header,
    #header-wrap,
    #logo img {
        height: 60px
    }
    #header.sticky-header:not(.static-sticky),
    #header.sticky-header:not(.static-sticky) #header-wrap,
    #header.sticky-header:not(.static-sticky):not(.sticky-style-2):not(.sticky-style-3) #logo img {
        height: 60px
    }
    #header.sticky-header:not(.static-sticky) #primary-menu>ul>li>a {
        padding-top: 19px;
        padding-bottom: 19px
    }
    .dark #header.transparent-header,
    .dark #header.dark.sticky-header.transparent-header #header-wrap:not(.not-dark),
    .dark .border-bottom,
    .dark.border-bottom {
        border-bottom: 1px solid rgba(255, 255, 255, .1)!important
    }
    .dark #header.transparent-header #primary-menu ul:last-child {
        border-left: 1px solid rgba(255, 255, 255, .15)
    }
    .slider-element h2 {
        font-size: 4.8rem;
        line-height: 1.2;
        letter-spacing: -4px
    }
    #header.sticky-on-upscroll #header-wrap {
        -webkit-transition: all .4s ease;
        -o-transition: all .4s ease;
        transition: all .4s ease
    }
    #header.sticky-on-upscroll.sticky-header #header-wrap {
        top: -60px
    }
    #header.sticky-on-upscroll.show-sticky-onscroll.sticky-header #header-wrap {
        top: 0
    }
}

.flip-card {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    perspective: 1000px
}

.flip-card .front,
.flip-card .back {
    background-size: cover;
    background-position: center;
    -webkit-transition: -webkit-transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: -webkit-transform .7s cubic-bezier(.4, .2, .2, 1);
    -o-transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: transform .7s cubic-bezier(.4, .2, .2, 1), -webkit-transform .7s cubic-bezier(.4, .2, .2, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
    /*height: 280px;*/
    height: 340px;
    border-radius: 6px;
    color: #fff;
    font-size: 1.5rem;
    border-color: var(--theme-bg);

}

.dark .back {
    background-color: #666
}

.flip-card .front.no-after:after,
.flip-card .back.no-after:after {
    content: none
}

.flip-card .front:after,
.flip-card .back:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    opacity: .5;
    background-color: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 6px
}

.flip-card:hover .front,
.flip-card:hover .back {
    -webkit-transition: -webkit-transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: -webkit-transform .7s cubic-bezier(.4, .2, .2, 1);
    -o-transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: transform .7s cubic-bezier(.4, .2, .2, 1);
    transition: transform .7s cubic-bezier(.4, .2, .2, 1), -webkit-transform .7s cubic-bezier(.4, .2, .2, 1)
}

.flip-card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%
}

.flip-card .inner {
    -webkit-transform: translateY(-50%) translateZ(60px) scale(.94);
    transform: translateY(-50%) translateZ(60px) scale(.94);
    top: 48%;
    position: absolute;
    left: 8px;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    padding-bottom: 6rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
    perspective: inherit;
    z-index: 2;
    height: 310px;
}

.flip-card .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card .front,
.flip-card:hover .back {
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card:hover .front {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card.top-to-bottom .back {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card.top-to-bottom .front,
.flip-card.top-to-bottom:hover .back {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card.top-to-bottom:hover .front {
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.flip-card .inner p {
    position: relative;
    font-size: 13px;
    /*margin-top: 4%;*/
    margin-bottom: 0;
    color: rgba(255, 255, 255, .7);
    font-weight: 300
}

.img-hover-wrap {
    -webkit-transition: transform .3s ease;
    -o-transition: transform .3s ease;
    transition: transform .3s ease;
    -moz-transform-style: flat!important;
    -webkit-backface-visibility: hidden
}

.img-hover-wrap:hover {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
    z-index: 2
}

.img-hover-card>a:after {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .3);
    z-index: 0;
    -webkit-transition: background-color .3s ease;
    -o-transition: background-color .3s ease;
    transition: background-color .3s ease
}

.img-hover-wrap:hover .img-hover-card>a:after {
    background-color: rgba(0, 0, 0, .6)
}

.img-hover-card {
    position: relative;
    display: block;
    will-change: transform;
    transition: all .3s ease;
    box-shadow: 0 10px 40px transparent
}

.img-hover-card a {
    width: 100%;
    max-width: 100%;
    display: block;
    z-index: 99
}

.img-hover-card.hover-in {
    transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
    transition: transform .2s ease-out, -webkit-transform .2s ease-out
}

.img-hover-card.hover-3d {
    z-index: 2
}

.img-hover-card.hover-out {
    transition: -webkit-transform .2s ease-in;
    transition: transform .2s ease-in;
    transition: transform .2s ease-in, -webkit-transform .2s ease-in
}

.img-hover-wrap:hover .img-hover-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4)
}

.img-hover-wrap .img-hover-detail {
    position: absolute;
    top: auto;
    left: 40px;
    bottom: 55px;
    /*pointer-events: none;*/
    -webkit-backface-visibility: hidden;
    -webkit-transform: scale(1) translateY(40px) translateZ(50px);
    -ms-transform: scale(1) translateY(30px) translateZ(50px);
    -o-transform: scale(1) translateY(30px) translateZ(50px);
    transform: scale(1) translateY(30px) translateZ(30px);
    -webkit-transition: transform .2s ease;
    -o-transition: transform .2s ease;
    transition: transform .2s ease
}

.img-hover-wrap:hover .img-hover-detail {
    opacity: 1;
    -webkit-transform: scale(1.06) translateY(-5px) translateZ(50px);
    -ms-transform: scale(1.06) translateY(-5px) translateZ(50px);
    -o-transform: scale(1.06) translateY(-5px) translateZ(50px);
    transform: scale(1.06) translateY(-5px) translateZ(50px)
}

.img-hover-wrap .img-hover-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    z-index: 9
}

.img-hover-wrap .img-link {
    opacity: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 11px;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease
}

.img-hover-wrap:hover .img-link {
    opacity: 1
}

.img-hover-detail a {
    color: #fff
}

.testimonials-carousel {
    border-left: 2px solid rgba(0, 0, 0, .1)
}

.dark .testimonials-carousel {
    border-left-color: rgba(255, 255, 255, .1)
}

.testimonials-carousel:before {
    content: '"';
    position: absolute;
    top: -17px;
    left: 2rem;
    font-size: 70px;
    color: #ddd;
    z-index: -1;
    font-family: segoe print, times new roman, Verdana
}

.dark .testimonials-carousel:before {
    color: #333
}

.testimonials-carousel .testi-content p {
    font-weight: 300;
    color: #888;
    font-style: normal
}

.testimonials-carousel .owl-item {
    transform: translateX(-40px);
    opacity: 0;
    transition: transform .4s, opacity .3s
}

.testimonials-carousel .owl-item.active {
    transform: translateX(0);
    opacity: 1
}

@media(max-width:991px) {
    #header.dark.transparent-header,
    #header.dark.semi-transparent {
        background-color: var(--darkcolor)
    }
    #primary-menu ul>li>a,
    #primary-menu.style-2>div>ul>li>a {
        padding: 10px!important;
        border-radius: 0!important;
        margin-right: inherit!important
    }
}

.css3-spinner>div {
    margin-top: -36px;
    margin-left: -32px;
    width: 62px;
    height: 72px;
    background-color: transparent!important;
    -webkit-animation: none;
    animation: none
}

#gotoTop {
    border-radius: 50%
}

.dark-mode {
    position: fixed;
    top: auto;
    right: 11px;
    bottom: 80px;
    text-align: center;
    margin: 0 auto;
    z-index: 2
}

.dark-mode i {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color: #fff!important;
    background-color: #111;
    border-radius: 50%;
    margin: 0 auto
}

.dark-mode span {
    display: block;
    opacity: 0;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-transition: transform .3s, opacity .3s;
    -o-transition: transform .3s, opacity .3s;
    transition: transform .3s, opacity .3s;
    -webkit-backface-visibility: hidden
}

.dark-mode:hover span {
    opacity: 1;
    margin-bottom: 7px;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0)
}

.dark .dark-mode i {
    color: #111!important;
    background-color: #fff;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg)
}

.dark .dark-mode span {
    color: #fff
}

.slider-arrow-left,
.slider-arrow-right,
.slider-arrow-left:hover,
.slider-arrow-right:hover {
    background-color: transparent!important;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease
}

.slider-arrow-left:hover,
.slider-arrow-right:hover {
    opacity: .5
}

.swiper-slide .slider-text {
    color: white;
    display: block;
    opacity: 0;
    position: absolute;
    max-width: 450px;
    text-align: center;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: auto;
    bottom: 40px;
    transition: transform .5s, opacity .5s;
    -webkit-transform: translate3d(-50%, 0, 0);
    -ms-transform: translate3d(-50%, 0, 0);
    -o-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    backface-visibility: hidden
}

.swiper-slide.swiper-slide-active .slider-text {
    color: white;
    opacity: 1;
    -webkit-transition: transform 1.7s, opacity 1s;
    -o-transition: transform 1.7s, opacity 1s;
    transition: transform 1.7s, opacity 1s;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.swiper-slide .slider-text h3 {
    color: white;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 5px
}

.swiper-slide .slider-text span {
    color: white;
    font-weight: 300;
    opacity: .8
}

.slide-number-current {
    top: 5px
}

.slide-number-total {
    bottom: -5px
}

.slide-number span {
    content: '';
    position: absolute;
    height: 1px;
    width: 44px;
    bottom: 0;
    left: 50%;
    margin-top: 0;
    margin-left: -17px;
    background-color: #fff;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.ribbon {
    position: relative;
    float: left;
    background-size: cover;
    text-transform: uppercase;
    color: white;
}
.ribbon:nth-child(even) {
  margin-right: 4%;
}
@media (max-width: 500px) {
  .ribbon {
    width: 100%;
  }
  .ribbon:nth-child(even) {
    margin-right: 0%;
  }
}
.ribbon2 {
 width: 40px;
 padding: 5px 0;
 font-size: 25px;
 position: absolute;
 top: -5px;
 left: 25px;
 text-align: center;
 border-top-left-radius: 3px;
 background: white;
}
.ribbon2:before {
 height: 0;
 width: 0;
 right: -5.5px;
 top: 0.1px;
 border-bottom: 6px solid #8D5A20;
 border-right: 6px solid transparent;
}
.ribbon2:before, .ribbon2:after {
  content: "";
  position: absolute;
}
.ribbon2:after {
  height: 0;
  width: 0;
  bottom: -17.5px;
  left: 0;
  border-left: 20px solid white;
  border-right: 20px solid white;
  border-bottom: 18px solid transparent;
}
.ribbon3 {
 width: 40px;
 padding: 5px 0;
 font-size: 25px;
 position: absolute;
 top: 10px;
 left: 25px;
 text-align: center;
 border-top-left-radius: 3px;
 background: white;
}
.ribbon3:before {
 height: 0;
 width: 0;
 right: -5.5px;
 top: 0.1px;
 border-bottom: 6px solid #8D5A20;
 border-right: 6px solid transparent;
}
.ribbon3:before, .ribbon3:after {
  content: "";
  position: absolute;
}
.ribbon3:after {
  height: 0;
  width: 0;
  bottom: -17.5px;
  left: 0;
  border-left: 20px solid white;
  border-right: 20px solid white;
  border-bottom: 18px solid transparent;
}