:root {
    --white: #fff;
    --white-2: #f6f9fc;
    --background-color: #f5f5f5 !important;
}

body.dark {
    --background-color: #0b0f14 !important;
    --light: rgb(42, 52, 71);
    --white: rgb(42, 52, 71);
    --text: #f6f9fc;
    --white-2: #0b0f14;
    --dark-2: #6c757d;
    --color-transparent: transparent;
}

input {
    background-color: var(--color-transparent);
}

body {
    background-color: var(--background-color);
    transition: background ease 0.9s;
}

.navbar-brand {
    background-color: var(--white-2);
}

.card {
    background-color: var(--white);
}

.card-title {
    color: var(--text) !important;
}

.bg-white {
    background-color: var(--light);

}

.topbar {
    background-color: var(--white-2);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar-header {
    background-color: var(--white-2) !important;
}

.left-sidebar {
    background-color: var(--white);
}

.modal-content {
    /* background-color: var(--light); */
}

.form-control {
    color: var(--text);
    background-color: var(--white);
    /* border: 1px solid #6c757d; */

}

.dropdown-menu {
    background-color: var(--white);
}

.text-dark {
    color: var(--text);
}

/* The Modal (background) */
.modals {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modals-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modals-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.closes {
    position: absolute;
    top: 100px;
    right: 250px;
    color: #f1f1f1;
    font-size: 80px;
    font-weight: bold;
    transition: 0.3s;
}

.closes:hover,
.closes:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modals-content {
        width: 100%;
    }
}



.box {
    width: 100%;
    height: 200px;
}

.box img {
    width: 100%;
    height: auto;
}

@supports(object-fit: cover) {
    .box img {
        height: 100% !important;
        object-fit: cover;
        object-position: center center;
    }
}

.boxs {
    width: 100%;
    height: 500px;
}

.boxs img {
    width: 100%;
    height: auto;
}

@supports(object-fit: cover) {
    .boxs img {
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

.loader {
    position: relative;
    margin: auto;
    box-sizing: border-box;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transform-origin: 50% 50%;
    transform: perspective(200px) rotateX(66deg);
    animation: spinner-wiggle 1.2s infinite;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 4px solid #0000;
    animation: spinner-spin 1.2s cubic-bezier(0.6, 0.2, 0, 0.8) infinite,
        spinner-fade 1.2s linear infinite;
}

.loader:before {
    border-top-color: #fff;
}

.loader:after {
    border-top-color: #ff3d00;
    animation-delay: 0.4s;
}

@keyframes spinner-spin {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes spinner-fade {

    25%,
    75% {
        opacity: 0.1
    }

    50% {
        opacity: 1
    }
}

/* -------- loader o Cargando....----- */
#loader-secondary {
    position: fixed;
    top: 20%;
    left: 45%;
}

.loader-secondary {
    position: fixed;
    background-color: var(--background-color);
    width: 100%;
    height: 100vmax;
    z-index: 11;
    opacity: 0.9;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.loader-map {
    width: 48px;
    height: 48px;
    display: block;
    margin: 20px auto;
    box-sizing: border-box;
    position: relative;
    opacity: 1;
}

.loader-map::after {
    content: '';
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    left: 0;
    bottom: 0;
    position: absolute;
    border-radius: 50% 50% 0;
    border: 15px solid #01caf1;
    transform: rotate(45deg) translate(0, 0);
    box-sizing: border-box;
    animation: animMarker 0.4s ease-in-out infinite alternate;
}

.loader-map::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 150%;
    width: 24px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    animation: animShadow 0.4s ease-in-out infinite alternate;
}

@keyframes animMarker {
    0% {
        transform: rotate(45deg) translate(5px, 5px);
    }

    100% {
        transform: rotate(45deg) translate(-5px, -5px);
    }
}

@keyframes animShadow {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}



/* -------- posiscion de texto----- */
.alinearderecha {
    position: absolute;
    right: 4%;
    top: 5%;
}

/* -------- posiscion de texto----- */
.alinearcentro {
    position: absolute;
    left: 83%;
    top: 25%;
}

/* -------- posiscion de texto----- */
.alinearabajo {
    position: absolute;
    right: 0%;
    top: 35%;
}

.containerr {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 200px;
}

.step {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #4B81BD;
    border-radius: 50%;
}

.step.completed {
    border: 2px solid #4B81BD;
    background: #4B81BD;
}

.progress {
    position: absolute;
    width: 100%;
    height: 50%;
    border-bottom: 2px solid #ACACA6;
    z-index: -1;
}

.percent {
    position: absolute;
    width: 0;
    height: 100%;
    border-bottom: 2px solid #4B81BD;
    z-index: 1;
    transition: width 1s;
}

.titles {
    display: block;
    font-size: 12px;
    line-height: 60px;
    width: 200px;
    margin-left: -90px;
    text-align: center
}

.btn-ai {
    display: inline-block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #00ffff, #0052f7, #f200ff);
    border: none;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: 200% 200%;
    animation: gradientMove 3s infinite;
}

.btn-ai:hover {
    transform: scale(1);
    color: white;
    box-shadow: 0 0 5px rgba(0, 106, 255, 0.8), 0 0 20px rgba(94, 1, 255, 0.6);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* codigo de didi  botton flotante */
.btn-flotante {
    color: #ffffff;
    /* Color del texto */
    background-color: #22ca80;
    /* Color de fondo */
    padding: 12px 20px;
    /* Relleno del boton */
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15pxrgb(255, 255, 255);
    z-index: 99;
}

.btn-flotante:hover {
    background-color: #178957;
    /* Color de fondo al pasar el cursor */
    color: #ffffff;
    box-shadow: 0px 15px 20px rgb(255, 255, 255);
    transform: translateY(-7px);
}

@media only screen and (max-width: 600px) {
    .btn-flotante {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
}

/*Visibilidad de elementos*/
.escritorio {
    visibility: visible !important;
}

.movil {
    visibility: hidden;
}

@media only screen and (orientation: landscape) {
    .escritorio {
        visibility: visible !important;
    }

    .movil {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (orientation: portrait) {
    .escritorio {
        display: none;
        visibility: hidden;
    }

    .movil {
        visibility: visible !important;
    }

    .texto-movil {
        font-size: 9px;
    }
}

.vl {
    border-left: 2px solid #4B81BD;
    /* height: auto; */
    padding-left: 30px;
}

.vl h4 {
    /* text-transform: uppercase; */
    color: #4B81BD;
}

.circulo::before {
    content: "";
    display: inline-block;
    top: 10;
    margin-left: -0.9em;
    width: 15px;
    height: 15px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #4B81BD;

}

/* Boton de modo dark */
.toggle {
    position: relative;
}

.toggle input {
    position: absolute;
    top: 20%;
    left: 5%;
    z-index: -1;
}

.toggle label {
    display: block;
    width: 65px;
    height: 25px;
    background-color: var(--white);
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0px 1px 4px #bcbdbf;
    cursor: pointer;
}

.toggle__ball {
    width: 20px;
    height: 100%;
    background-color: var(--background-color);
    border-radius: 50%;
    box-shadow: 0px 1px 3px #b4c1c5;
    transition: transform ease 0.3s;
}

.toggle input:checked+label {
    /* background-color: #a6c1ca; */
    background-color: #dcdddf;
    box-shadow: 0px 1px 4px #868686;
}

.toggle input:checked+label .toggle__ball {
    transform: translateX(39px);
    /* background-color: #dcdddf; */
}

/*################# BOTON ACTIVAR ############*/
.checkbox-wrapper-6 .tgl {
    display: none;
}

.checkbox-wrapper-6 .tgl,
.checkbox-wrapper-6 .tgl:after,
.checkbox-wrapper-6 .tgl:before,
.checkbox-wrapper-6 .tgl *,
.checkbox-wrapper-6 .tgl *:after,
.checkbox-wrapper-6 .tgl *:before,
.checkbox-wrapper-6 .tgl+.tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper-6 .tgl::-moz-selection,
.checkbox-wrapper-6 .tgl:after::-moz-selection,
.checkbox-wrapper-6 .tgl:before::-moz-selection,
.checkbox-wrapper-6 .tgl *::-moz-selection,
.checkbox-wrapper-6 .tgl *:after::-moz-selection,
.checkbox-wrapper-6 .tgl *:before::-moz-selection,
.checkbox-wrapper-6 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-6 .tgl::selection,
.checkbox-wrapper-6 .tgl:after::selection,
.checkbox-wrapper-6 .tgl:before::selection,
.checkbox-wrapper-6 .tgl *::selection,
.checkbox-wrapper-6 .tgl *:after::selection,
.checkbox-wrapper-6 .tgl *:before::selection,
.checkbox-wrapper-6 .tgl+.tgl-btn::selection {
    background: none;
}

.checkbox-wrapper-6 .tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:after,
.checkbox-wrapper-6 .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-6 .tgl+.tgl-btn:before {
    display: none;
}

.checkbox-wrapper-6 .tgl:checked+.tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-6 .tgl-light+.tgl-btn {
    background: #ff0000;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
}

.checkbox-wrapper-6 .tgl-light+.tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}

.checkbox-wrapper-6 .tgl-light:checked+.tgl-btn {
    background: #22ca80;
}

.checkbox-wrapper-6 .tgl-secondary+.tgl-btn {
    background: #fdc16a;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
}

.checkbox-wrapper-6 .tgl-secondary+.tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}

.checkbox-wrapper-6 .tgl-secondary:checked+.tgl-btn {
    background: #5f76e8;
}
