/********** Template CSS **********/
:root {
    --primary: #c0d6df;
    --secondary: #ed1b2f;
    --light: #F2F2F2;
    --dark: #1D2833;
}
body{overflow-x: hidden;}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 8px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}


/*** Hero Header ***/
.hero-header {
    background-color: rgb(192 214 223 / 59%) !important;
    background: url(../img/hero-bg-pattern.png),url(../img/yaris-logo.png),        radial-gradient(circle, rgba(63,94,251,0) 30%, rgba(192,214,223,1) 100%);
    background-position: 0px 0px, center;
    background-repeat: repeat, no-repeat;
    background-size: 200px, 300px;
}


.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 11px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: 5px;
    left: 0;
    background: var(--primary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -30px;
}

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}


/*** Domain Search ***/
.domain {
    background: url(../img/bg-domain.png) center center no-repeat;
    background-size: contain;
}





/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.footer {
    background:
        url(../img/bg-footer-dots.png),
        url(../img/bg-footer-2.png),
        url(../img/bg-footer.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position:
        0px 112px,
        right 0 bottom 0,
        left 50% top 80px,
        left 50% bottom 0,
        top center;
    background-repeat: no-repeat;
    background-size: 200px, 100px, 130px, auto, auto;
}

.footer p, .footer .copyright a, .copyright {
    font-size: 15px; color: #5A5A5A;
}
.btn-outline-light:hover {
    background-color: #ed1b2f;
    border-color: #F2F2F2;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5A5A5A;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .3);
}



.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.hero-header {
    height: 70vh;
}


#heroHolder {
 animation: shrink var(--duration) var(--delay) linear infinite;
}
#heroHolder {
 position: relative;
 margin: 0 auto;
 padding: 0 1rem;
 width: 100%;
 height: 100%;
 overflow: hidden;
 animation: spin var(--duration) var(--delay) linear infinite;
 transform-style: preserve-3d;
 perspective: 25rem;
}
#heroHolder .heroItem {
 --duration: 20s;
 --name: float-up-1;
 position: absolute;
 top: 0;
 left: auto;
 width: 50vw;
 transform: translateX(200vh);
 animation: var(--name) var(--duration) linear infinite;
 box-shadow: none; /*1px 3px 15px rgba(0, 0, 0, 0.5);*/
 z-index: 1;
    
}
.heroItem img.svg {
    width: 128px;
    height: auto;filter: invert(82%) sepia(68%) saturate(2585%) hue-rotate(340deg) brightness(104%) contrast(106%)
}
.heroItem img {
    max-width: 100%;
    height: auto;    border-radius: 6px;
}

#heroHolder .mouseover {
    
 position: absolute; z-index: 1008;
    transition: width 2s, height 2s, transform 2s;
    width: 50%;
  
}
#heroHolder .mouseover img {
    width: 100%;
    height: auto;
}


#heroHolder .heroItem:nth-child(1) {
 animation-delay: 5s;
}
#heroHolder .heroItem:nth-child(2) {
 animation-delay: 3s;
}
#heroHolder .heroItem:nth-child(3) {
 animation-delay: 5s;
}
#heroHolder .heroItem:nth-child(4) {
 animation-delay: 3s;
}
#heroHolder .heroItem:nth-child(5) {
 animation-delay: 1s;
}
#heroHolder .heroItem:nth-child(6) {
 animation-delay: 5s;
}
#heroHolder .heroItem:nth-child(7) {
 animation-delay: 7s;
}
#heroHolder .heroItem:nth-child(8) {
 animation-delay: 4s;
}
#heroHolder .heroItem:nth-child(9) {
 animation-delay: 6s;
}
#heroHolder .heroItem:nth-child(10) {
 animation-delay: 2s;
}
#heroHolder .heroItem:nth-child(11) {
 animation-delay: 5s;
}
#heroHolder .heroItem:nth-child(12) {
 animation-delay: 2s;
}
#heroHolder .heroItem:nth-child(13) {
 animation-delay: 5s;
}
#heroHolder .heroItem:nth-child(14) {
 animation-delay: 0s;
}
#heroHolder .heroItem:nth-child(15) {
 animation-delay: 1s;
}
#heroHolder .heroItem:nth-child(16) {
 animation-delay: 3s;
}

#heroHolder .heroItem:nth-child(1) {
 --name: float-up-1;
 --duration: calc(20s * 2);
 top: 0vh;
 z-index: -1; 
}
#heroHolder .heroItem:nth-child(2) {
 --name: float-up-2;
 --duration: calc(21s * 4);
 top: 15vh;
 z-index: -3; 
}
#heroHolder .heroItem:nth-child(3) {
 --name: float-up-3;
 --duration: calc(28s * 3);
 top: 0;
 z-index: -2; 
}
#heroHolder .heroItem:nth-child(4) {
 --name: float-up-1;
 --duration: calc(20s * 2);
 top: 20vh;
 z-index: 1;
}
#heroHolder .heroItem:nth-child(5) {
 --name: float-up-2;
 --duration: calc(20s * 4);
 top: auto;
 z-index: -1;
    bottom: 0;
}
#heroHolder .heroItem:nth-child(6) {
 --name: float-up-3;
 --duration: calc(21s * 3);
 top: 35vh;
 z-index: -6;
}
#heroHolder .heroItem:nth-child(7) {
 --name: float-up-1;
 --duration: calc(22s * 3);
 top: 40vh;
 z-index: -2;
}
#heroHolder .heroItem:nth-child(8) {
 --name: float-up-3;
 --duration: calc(28s * 4);
 top: 15vh;
 z-index: -6;
}
#heroHolder .heroItem:nth-child(9) {
 --name: float-up-2;
 --duration: calc(20s * 2);
 top: 50vh;
 z-index: -1;
}
#heroHolder .heroItem:nth-child(10) {
 --name: float-up-1;
 --duration: calc(21s * 3);
 top: 5vh;
 z-index: -1;
}
#heroHolder .heroItem:nth-child(11) {
 --name: float-up-1;
 --duration: calc(22s * 4);
 top: 0;
 z-index: -2;
}
#heroHolder .heroItem:nth-child(12) {
 --name: float-up-2;
 --duration: calc(23s * 1);
 top: 2vh;
 z-index: -5;
}
#heroHolder .heroItem:nth-child(13) {
 --name: float-up-3;
 --duration: calc(20s * 2);
 top: 30vh;
 z-index: -6;
}
#heroHolder .heroItem:nth-child(14) {
 --name: float-up-1;
 --duration: calc(21s * 1);
 top: 25vh;
 z-index: -1;
}
#heroHolder .heroItem:nth-child(15) {
 --name: float-up-2;
 --duration: calc(22s * 1);
 top: 15vh;
 z-index: -2;
}
#heroHolder .heroItem:nth-child(16) {
 --name: float-up-3;
 --duration: calc(20s * 2);
 top: 30vh;
 z-index: -2;
}
#heroHolder .heroItem:nth-child(17) {
 --name: float-up-1;
 --duration: calc(21s * 1);
 top: 25vh;
 z-index: -1;
}

#heroHolder .mouseover{
transition: width 2s, height 2s, transform 2s;}
#heroHolder .heroItem{transition: width 1s, height 0.5s, transform 1s; text-align: center;}
div#heroHolder.current_parent .heroItem {
    animation-play-state: paused;
}

/*#heroHolder .heroItem.current {
    transition: width 1s, height 0.5s, left 0.5s, right 0.5s, top 0.5s, bottom 0.5s;
    width: 70vw;
    z-index: 1006;
    left: 0;
    margin: auto;
    right: 100%;    top: 0;
}*/
#heroHolder .heroItem.svg{width: 20vh; }
.container-xxl.bg-white.p-0 {
    overflow-x: hidden;
}
.rounded-circle {
    border-radius: 45% 55% 74% 26% / 57% 45% 55% 43% !important;transition: all 0.5s;
}
.rounded-circle:hover {
    border-radius: 57% 43% 47% 53% / 44% 51% 49% 56% !important;
}
/*#heroHolder .heroItem.svg, #heroHolder  .heroItem.svg.current{
    width:  auto
}*/
/*#heroHolder .heroItem:hover{
border: 5px solid rgba(255,0,4,1.00);

 position: absolute;

 width: 30vw;
 transform: translateX(0);
 animation: none !important;
 box-shadow: none;
 z-index: 1006;
}*/

.hero-header:after {
    background: url(../img/bg-bottom-hero-narrow.png);
    background-position: center bottom -1px;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 20vh;
    background-color: rgba(255,255,255,0.00);
    z-index: 1;
    background-size: 100%;
}

.hero-header:before {
    background: url(../img/car-icon-right-sm.png);
    background-position: right bottom -1px;
    background-repeat: no-repeat;
    content: "";
    position: absolute;
    right: -10%;
    bottom: 0;
    height: 16vh;
    background-color: rgba(255,255,255,0.00);
    z-index: 1;
    background-size: contain;
    width: 100%;
    z-index: 901; animation: drive-in-half 4s forwards; 
}
.btn-primary {
    color: #000;
    background-color: #ff3334;
    border-color: #ff2728;
}
.footer a {
    color: #000;
}

.previewPane {
    width: 100%;
    position: relative;
    max-width: 700px;
    margin: auto;
}

.previewPane button.btn.bg-white.btn-close {
    position: absolute;
    right: 10px;
    top: 35px;
    z-index: 2005;
    opacity: 2;
    border: 1px solid #ccc;
    background-color: #fff;
}


.map iframe {
    border-radius: 6px;
    opacity: 0.7;
    transition: all 0.5s,
}
.map:hover iframe {
    opacity: 1;
}
/*** Comparison ***/
@media (min-width: 992px) {
    .hero-header {
    background-size: 200px, 500px;
}

    
    .map.mt-4 {
    position: absolute;
    left: 0;
    bottom: -5px;
    right: 30px;
    width: calc(100% - 30px);
    z-index: 1;
    transition: width 2s, height 2s, bottom 2s, top 2s;
}
    .carRear {
    position: relative;
    height: 100%;
}
    .carRear img {
    position: absolute;
}
    .hero-header:before {
    background: url(../img/car-icon-right.png);
    height: 35vh;
    width: 50%;animation: drive-in 4s forwards; background-size: contain;background-repeat: no-repeat;background-position: bottom;
}
    
    
    .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(0,0,0,0.7);
}
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
    
    .comparison::after {
        position: absolute;
        content: "";
        width: 1px;
        top: 56px;
        bottom: 20px;
        left: 50%;
        background: #DDDDDD;
    }
   .hero-header {
    height: 100vh;
}
 
    #heroHolder {
 animation: shrink var(--duration) var(--delay) linear infinite;
}
#heroHolder {
 position: relative;
 margin: 0 auto;
 padding: 0 1rem;
 width: 100%;
 height: 100%;
 overflow: hidden;
 animation: spin var(--duration) var(--delay) linear infinite;
 transform-style: preserve-3d;
 perspective: 25rem;
}
#heroHolder .heroItem {
 --duration: 20s;
 --name: float-up-1;
 position: absolute;
 top: 0;
 left: auto;
 width: 25vw;
 transform: translateX(200vh);
 animation: var(--name) var(--duration) linear infinite;
 box-shadow: none; 
 z-index: 1;
    
}
    
    .hero-header:after {
    height: 16vh;
    background-size: cover;
}

/*#heroHolder .heroItem.current {
    width: 40vw;
}*/
    
}








@keyframes float-up-3 {
 from {
   transform: translateX(150vw) translateZ(-10vw);
}
 to {
   transform: translateX(-35vw) translateZ(-10vw);
}
}
@keyframes float-up-2 {
 from {
   transform: translateX(102vw) translateZ(-5vw);
}
 to {
   transform: translateX(-40vw) translateZ(-5vw);
}
}
@keyframes float-up-1 {
 from {
   transform: translateX(55vw)  translateZ(-2vw);
}
 to {
   transform: translateX(-30vw)  translateZ(-2vw);
}
}

@keyframes drive-in {
 from {
   transform: translateX(26vw)  translateZ(-2vw);
}
 to {
   transform: translateX(0vw)  translateZ(-2vw);
}
}
@keyframes drive-in-half {
 from {
   transform: translateX(50vw)  translateZ(-2vw);
}
 to {
   transform: translateX(10vw)  translateZ(-2vw);
}
}




@keyframes no-float-up {
 from {
   transform: none;
}
 to {
   transform: none;
}
}

@keyframes spin {
 10%, 100% {
   transform: rotateY(360deg);
}
}
@keyframes shrink {
 0% {
   transform: scale(1) translateY(0);
}
 2.5% {
   transform: scale(0.75) translateY(5%);
}
 7.5% {
   transform: scale(0.75) translateY(-5%);
}
 10%, 100% {
   transform: scale(1);
}
}


@keyframes fly {

	98.001%, 0% {
                display: block;
		transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
	}

	15% {
		transform: translateX(100vw) translateY(-100%) rotateZ(0deg)
	}

	15.001%, 18% {
		transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
	}

	40% {
		transform: translateX(-200%) translateY(3vh) rotateZ(0deg)
	}

	40.001%, 43% {
		transform: translateX(-200%) translateY(-100%) rotateZ(0deg)
	}

	65% {
		transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
	}

	65.001%, 68% {
		transform: translateX(20vw) translateY(-200%) rotateZ(0deg)
	}

	95% {
		transform: translateX(10vw) translateY(100vh) rotateZ()
	}
}







.meterConsole h2 {
    font-weight: 400 !important;
    font-size: 1.2em;
}


.needleHolder {
    display: inline-block;
    position: relative;
}
.needleHolder .speedometer {
    width: 80px;
    height: 80px;
    border-radius: 100%;
 border: 20px solid #c0d6df;
    border-right: 20px solid #F2F2F2;
    border-bottom: 20px solid #F2F2F2;
    border-top-color: red;
    -webkit-transform: rotate(45deg);
    display: inline-block;
}
.needleHolder .needle {
    width: 5px;
    height: 34%;
    background: #c0d6df;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    display: inline-block;
    left: 50%;
    position: absolute;
    top: 10px;
    -webkit-animation: move 5s infinite;
    transform: rotate(0deg);
    transform-origin: bottom;
}
.needleHolder.output .speedometer {
    border: 20px solid #c0d6df;
    border-right: 20px solid #F2F2F2;
    border-bottom: 20px solid #F2F2F2;
    border-top-color: red;
}
.needleHolder.output .needle {
    background: #000000;
    
    -webkit-animation: move-output 6s infinite;
}
.needleHolder.torque .needle {
   
    
    -webkit-animation: move-torque 7s infinite;
}
.team-item img  {
   
    animation: imgscroll 20s infinite ease-in-out;
    -webkit-animation: imgscroll 20s infinite ease-in-out;
}

.previewHolder{width: 0; height: 0; overflow: hidden; transition: width 1s, height 0.5s, left 0.5s, right 0.5s, top 0.5s, bottom 0.5s;}
div#previewHolder.active {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    width: 100%;
    z-index: 1209;
    height: auto;
    bottom: 0;
    text-align: center;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.8);
    text-align: center;transition: width 0.5s, height 0.5s, left 0.5s, right 0.5s, top 0.5s, bottom 0.5s;
}
div#previewHolder.active img {
    width: 100%;
    height: auto;
    display: inline-block;
    margin: auto;transition: width 0.5s, height 0.5s, left 0.5s, right 0.5s, top 0.5s, bottom 0.5s;
}
.previewHolder figure.figure {
    max-width: 700px;
    margin: auto;

    border-radius: 6px;
}
.previewHolder figcaption.figure-caption {
    color: #000;
    padding: 1em;
    background: #c0d6df;
    margin-top: 2em;
    position: relative;
    margin-bottom: 4em; border-radius: 6px
}
.previewHolder figcaption.figure-caption:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: #c0d6df;
    border-top: 0;
    border-left: 0;
    margin-left: -10px;
    margin-top: -20px;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } 


@-webkit-keyframes move {
    0% {
        transform:rotate(-90deg);
    }
    60% {
        transform:rotate(90deg);
    }
    80% {
        transform:rotate(-60deg);
    }
    100% {
        transform:rotate(-90deg);
    }
}
@-webkit-keyframes move-output {
    0% {
        transform:rotate(-30deg);
    }
    60% {
        transform:rotate(90deg);
    }
    80% {
        transform:rotate(-50deg);
    }
    100% {
        transform:rotate(-30deg);
    }
}
@-webkit-keyframes move-torque {
    0% {
        transform:rotate(-45deg);
    }
    50% {
        transform:rotate(85deg);
    }
    80% {
        transform:rotate(60deg);
    }
    100% {
        transform:rotate(-45deg);
    }
}


@-webkit-keyframes imgscroll{
	0%{transform: translateX(0);}
	50%{transform: translateX(-6.69rem);}
	100%{transform: translateX(0);}
}
@keyframes imgscroll{
	0%{transform: translateX(0);}
	50%{transform: translateX(-6.69rem);}
	100%{transform: translateX(0);}
}



/*#heroHolder .heroItem {

 transform: none;
 animation: none;
    
}*/



