@import url("https://fonts.googleapis.com/css?family=Roboto:500");

*,
*:before,
*:after {
    box-sizing: border-box;
    text-decoration: none;
}

:root {
    --background-color: rgba(248, 249, 250, 1);
    --light-grey: #c4c1c1;
    --accent-color: #b036e0;
    --nav-color: #262881;
    --hover-btn-color: rgb(73, 76, 139);
    --c-fair-pink: #FFEDEC;
    --c-coffee: #754D42;

    --white: #fff;
    --google-blue: #4285f4;
    --button-active-blue: #1669F2;
}

/* Index first section */
/* hero section */

.hero-section {
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: #e7e1e4;
}

.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

/* side images */

.abstract-design {
    position: absolute;
    top: 10%;
    width: 50%;
    overflow: hidden;
    flex-basis: 50%;
}

.design-left {
    left: 0;
    transform: translateX(-50%);
}

.design-right {
    right: 0;
    transform: translateX(50%);
}

/* phone */

.phone-img {
    position: relative;
    margin-top: 50px;
    z-index: 200;
}

.phone-img img {
    width: 100%;
    max-width: 400px;
}

/* types section */

.types-section {
    background: #e7e1e4;
}

.feature-icon-1 img {
    width: 200px;
}

/* features section */

.feature-section {
    overflow: hidden;
}

/* icons */

.app-buttons img {
    width: 150px;
    margin: 10px;
}

.nav-item {
    padding: 0 7px;
}

/* bg images in types section */

.feature-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    margin: auto;
}

.feature-img-wrapper .feature-img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    position: relative;
}

.feature-img-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .feature-img-wrapper::before {
        width: 150% !important;
        height: 150% !important;
    }
}

@media (max-width: 480px) {
    .feature-img-wrapper::before {
        width: 120% !important;
        height: 120% !important;
    }
}

body {
    font-family: Open Sans, "system-ui", Trebuchet MS, Arial, Helvetica, Verdana;
    color: #000;
    margin: 0;
    padding: 0;
    font-size: 15px;
    overflow-x: hidden;
    background-color: var(--background-color);

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    box-shadow: none
}

h2 {
    font-size: 22px;
    color: black;
}

.dropdown-item {
    white-space: normal !important;
    /* border-bottom: 1px solid #c5c5c5; */
}

.dropdown-item:hover {
    color: black !important;
    text-decoration: none !important;
    background-color: white !important;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
    background-color: #386bc0;
    color: white;

}

.btn-outline-primary,
.btn-outline-info {
    padding: 15px;
    font-size: 15px;
}

/*############ CAROUSEL #############*/

@media (max-width: 768px) {
    .featurette {
        text-align: center;
    }

    #quick_actions .inner {
        padding-top: 10px;
        padding-bottom: 10px;

    }
}

/*############ ESTILOS FORMULARIOS #############*/

@media (min-width: 768px) {
    .form-box {
        max-width: 325px;
    }

    #quick_actions .inner {
        padding: 40px 0px;
        margin: 60px;
    }

    #quick_actions div .btn-login {
        text-align: end;
    }

    #quick_actions div .btn-signup {
        text-align: left;
    }
}

h3 {
    font-size: 1.5rem;
}

.btn {
    text-transform: none;
}

.btn .btn-outline-dark {
    width: 100%;
}

#user-name {
    color: #016196;
    text-align: right;
}

label {
    margin: 1rem 0;
    display: block;
    font-weight: bold;
}

select {
    width: 100%;
    height: 40px;
    background: whitesmoke;
    border: none;
    padding: 0 0 0 0.5rem;
    outline: none;
}

.submit-btn {
    margin-bottom: 1rem;
    background-color: var(--nav-color);
    display: inline-block;
    color: white;
    font-weight: 600;
    height: 2.8rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    width: 100%;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: var(--hover-btn-color);
}

.submit-btn-green {
    margin-bottom: 1rem;
    background-color: rgb(51, 126, 51);
    display: inline-block;
    color: white;
    font-weight: 600;
    height: 2.8rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    width: 100%;
    margin-top: 15px;
}

.submit-btn-green:hover {
    background-color: rgb(121, 168, 121);
}

.submit-btn:disabled {
    background-color: var(--light-grey);
    cursor: not-allowed;
}

/* Delete account */
.delete_account-btn {
    margin-bottom: 1rem;
    background-color: red;
    display: inline-block;
    color: white;
    font-weight: 600;
    height: 2.8rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
    width: 100%;
    margin-top: 15px;
}

.delete_account-btn:hover {
    background-color: rgb(198, 27, 27);
}

.col-12:disabled {
    cursor: not-allowed;
}

.capture-btn:hover {
    background-color: rgb(225, 225, 234);
}

.borderex {
    border: none;
}

.services-cards__card {
    display: flex;
    justify-content: center;
    margin: 4rem 3rem;
    width: 20rem;
    margin-top: 20px;
    position: relative;


}

.back-icon-about-us {
    background-color: #dce8e8;
    background-size: cover;
    background-position: center;
}

.b {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.b:hover,
b:focus {
    background-size: 100% 2px;
}

.form-label {
    font-size: 0.8rem;
    font-weight: bold;
}

.form-link .signupLink {
    color: #0d3562;
    background-color: #000;
}

.form-link .forgotPass {
    color: #0d3562;
}

.form-box {
    margin: auto;
    margin: 20px auto 20px auto;
    max-width: 350px;
    padding: 15px;
    background-color: #dce8e8;
    z-index: 0;
    position: relative;
    border-radius: 0.7rem;
}

.form-control {
    margin-bottom: 15px;
}

.remember_me {
    margin-top: 10px;
    margin-bottom: 15px;
}

.g-recaptcha {
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%;
}

.forgotPass {
    margin-top: 15px;
}

/*############ Steps #############*/

.step-btn {
    background: var(--nav-color);
    color: #fff;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 8px 30px;
    margin: 5px;
}

.step-btn-before {
    background: #7577c1;
    color: #fff;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 8px 30px;
    margin: 5px;
}

.step-btn:hover,
.step-btn-before:hover {
    background-color: var(--hover-btn-color);
}

.step-btn:active {
    transform: scale(0.9);
}

.step-btn:focus {
    outline: 0;
}

.step-btn:disabled {
    background-color: var(--light-grey);
    cursor: not-allowed;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
    max-width: 100%;
    width: 100px;
}

.progress-container::before {
    content: "";
    background-color: var(--light-grey);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    z-index: -1;
}

.progress-line {
    background-color: var(--accent-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 0%;
    z-index: -1;
    transition: 0.4s ease;

}

.circle {
    background: var(--light-grey);
    color: var(--light-grey);
    border-radius: 50%;
    height: 10px;
    width: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--light-grey);
    transition: 0.4s ease;
}

.circle.active {
    border-color: var(--accent-color);
    background-color: #fff;
    color: var(--accent-color);
    scale: 1.1;
}

.circle .icon {
    position: absolute;
    font-size: 25px;
    bottom: 25px;
}

.circle .caption {
    position: absolute;
    font-size: 14px;
    font-weight: bolder;
    bottom: -30px;
}

/* Hide all steps by default: */
.tab {
    display: none;
}

#video,
#canvas {
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

#canvas {
    width: 100%;
    height: 100%;
}

/*############ GOOGLE BUTTON #############*/

.google-btn {
    width: 100%;
    font-weight: 600;
    height: 2.8rem;
    font-size: 1rem;
    cursor: pointer;
    height: 42px;
    background-color: #D9D9E3;
    border-radius: 1rem;
    transition: 0.3s;
    margin-top: 1rem;

}

.google-btn:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
    background-color: var(--nav-color);
    ;
    opacity: 1;
}

.google-btn:hover .btn-text {
    color: #ffffff;
    transition: 0.3s;
}

.google-btn .google-icon-wrapper {
    position: absolute;
    margin-top: 1px;
    margin-left: 1px;
    width: 40px;
    height: 40px;
    border-radius: 1rem;
    background-color: var(--white);
}

.google-btn .google-icon {
    position: absolute;
    margin-top: 11px;
    margin-left: 11px;
    width: 18px;
    height: 18px;
}

.google-btn .btn-text {
    float: right;
    margin-right: 4.5rem;
    margin-top: 0.6rem;
    color: #000;
    font-size: 15px;
    letter-spacing: 0.2px;
    font-weight: 200;
    transition: 0.3s;
    font-family: Open Sans, "system-ui", Trebuchet MS, Arial, Helvetica, Verdana;
    font-weight: 350;
}

.google-btn:active {
    background: var(--button-active-blue);
}

/*############ ALERTAS BASES DE DATOS #############*/

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #082240;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

.alert {
    margin-bottom: 0;
    width: 350px;
    position: absolute;
    z-index: 300;
}

.alert-full {
    margin-bottom: 0;
    width: 100%;
    position: absolute;
    z-index: 200;
    padding: 10px 0;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 1.25rem;
}

.close:focus,
.close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

.logout {
    background-color: red;
    color: white;
    font-weight: 600;
    border: none;
    font-size: 1rem;
    outline: none;
}


/*############ Cards #############*/

table.card-table td div {
    margin-left: 50px;
}

.fade-out {
    opacity: 1;
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.accept,
.decline {
    margin-right: 5px;
}


.decline-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    stroke-dasharray: 188px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 2px;
    stroke: rgb(255, 0, 0);
    fill: none;
}

.accept-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    stroke-dasharray: 188px;
    stroke-dashoffset: 0px;
    stroke-linecap: round;
    stroke-width: 2px;
    fill: none;
    stroke: green;
}

.decline:active svg,
.accept:active svg {
    transform: scale(0.7);
}

/*########FACTURAS########*/
.form-box-facturas {
    margin: auto;
    height: 90%;
    width: 90%;
    margin-top: 10px;
    max-width: 350px;
    padding: 15px;
    background-color: #0d3562;
    color: white;
    box-shadow: 5px 5px 5px 5px rgba(0.1, 0.1, 0.1, 0.1);
    border-radius: 0.7rem;
}

.form-box-facturas2 {
    padding-top: 3%;
    margin-left: 1%;
    height: 100%;
    width: 100%;
    margin-top: 10px;
    background-color: white;
    color: black;
    border-radius: 0.7rem;
    box-shadow: none;
}

#modalFacturas {
    padding-top: 8%;
    align-items: center;
    justify-content: center;
}

.search-container {
    margin: auto;
}

.label-modal {
    font-weight: bold;
}


.open-gm {
    font-weight: 500;
}

.open-gm:hover {
    text-decoration: underline;
}

.info-rectangle {
    display: none;
    background-color: #d1ecf1;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.info-rectangle.active {
    display: block;
    opacity: 1;
}

.inner {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

#quick_actions {
    background-color: white;
    border-radius: 20px;

}

#information-circles {
    background-color: white;
    border-radius: 20px;
    margin: 10px;
}

#quick_actions .title {
    font-weight: 600;
    font-size: 48px;
    color: var(--c-coffee);
    margin-bottom: 50px;
}
