/*** ##### Estilos personalizados para agensys ##### ***/

/*** ##### menu principal ##### ***/
.nav-bar.menu {
    color: var(--main-color-oro);
    font-size: 1.1rem;
    display: flex;
    border-bottom: 4px solid #d7bc6b;
    font-weight: 600;
    align-items: baseline;
    padding: 10px;
}

ul.menu>li {
    padding: 0 .5rem 0 .5rem;
}

ul.menu .item-parent:before {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

ul.menu .item:hover {
    text-decoration-line: underline;
}

.nav-bar.menu ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.menu .menu-link {
    color: var(--main-color-oro);
    text-decoration: none;
}

.menu li.parent>ul,
.menu-dropdown-parent-invisible {
    display: none;
    padding: 0;
}

.menu li.parent:hover>ul {
    display: block;
    position: absolute;
    background: var(--main-color-red);
    padding: 5px;
    border-radius: 10px;
    width: max-content;
    border: 1px solid rgba(255, 255, 255, .55);
    margin-left: 20px;
}

.nav-bar.menu .user-register {
    margin-top: 20px;
    border: 1px solid silver;
    height: fit-content;
    border-radius: 15px;
    padding: 5px;
    width: fit-content;
    float: left;
}



@media (max-width: 992px) {

    .nav-bar.menu ul.menu li,
    .menu-dropdown-item-invisible {
        display: none;
        padding: 0;
    }

    .menu-dropdown-parent-visible {
        display: block !important;
        position: relative !important;
        background: var(--main-color-red);
        padding: 5px;
        border-radius: 10px;
        width: max-content;
        border: 1px solid rgba(255, 255, 255, .55);
        margin-left: 20px;
    }

    .nav-bar.menu {
        font-size: 3em;
        display: flow-root;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1;
        background: white;
    }

    .item.first.logo {
        float: right;
    }

    .nav-bar.menu ul.menu {
        width: 65px;
        height: 65px;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        border: 4px solid #d7bc6b;
        display: block;
        background-size: 62px 62px;
        background-color: var(--main-color-red);
        padding-left: 60px;
        user-select: none;
        float: left;
        margin: 30px 0px 0px 10px;
        border-radius: 15px;
    }

    .nav-bar.menu a {
        font-size: 3rem;
    }

    .nav-bar.menu ul.menu:hover>li {
        display: block;
        margin-left: 30px;
        padding-bottom: 10px;
    }

    .nav-bar.menu ul.menu:hover {
        width: auto;
        height: auto;
    }

    .menu .item-parent:hover>.menu-parent {
        position: relative;
    }

    .menu .item-parent:hover>.menu-parent li,
    .menu-dropdown-item-visible {
        position: relative;
        display: block !important;
    }

    body {
        margin-top: 15%;
    }
}

/***Footer***/

section.body {
    min-height: 70vh !important;
    display: flex !important;
    flex-direction: column !important;
}

footer {
    background: #2E75B6;
    color: white;
    float: left;
    width: 100%;
    margin-top: 25px;
    padding-top: 25px;
    display: inline-grid;
}

footer .footer-content {
    margin-top: 20px;
    font-weight: 500;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.footer .footer-content ul {
    list-style: none;
    text-align: center;
    padding: 0px;
}

.footer .footer-content ul .servicios-header {
    width: 33%;
    float: left;
    text-align: center;
}

.footer .footer-content ul .servicios-header li {
    text-align: center;
}

footer .footer-footer {
    float: left;
    width: 95%;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    margin-right: auto;
    margin-left: auto;
}

footer .footer-footer p {
    text-align: center;
    font-weight: 500;
    margin-top: 15px;
}

.footer-whatsapp {
    position: absolute;
    float: right;
    width: 100%;
    margin-top: 50px;
    padding-right: 25px;
}

@media (max-width: 992px) {
    p {
        font-size: 2rem;
    }

    .footer .footer-content ul .servicios-header {
        font-size: 2rem;
    }

    .footer .footer-content ul .servicios-header li {
        font-size: 1.7rem;
    }

    .footer .footer-content {
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/*Lista de cajas*/
.listing.cajas{
    margin-left: 10px;
}
.listing.cajas,
.listing.cajas a {
    font-size: 1.2rem;
}

.listing.cajas .content-page {
    width: 24%;
    display: inline-table;
    margin-top: 15px;
    border-radius: 15px;
    padding: 5px;
}

.listing.cajas .content-page:hover {
    background: var(--main-color-oro);
}

.listing.cajas .content-page .nahual_title_field a {
    text-align: center;
    text-decoration: none;
    color: var(--main-color-red);
}

.listing.cajas .nahual_main_image_field img {
    width: 100%;
}

.listing.cajas .nahual_shopping_price {
    color: #00a650;
    font-size: 1.5rem;
    display: inline-flex;
}

.listing.cajas .nahual_shopping_price:before {
    content: "$";
}

.listing.cajas .precio_anterior {
    width: fit-content;
    margin-right: 10px;
    float: left;
    color: silver;
    text-decoration: line-through;
    font-size: 1.2rem;
    display: inline-flex;
}

.listing.cajas .precio_anterior:before {
    content: "$";
}

.listing.cajas .content-page:hover .precio_anterior {
    color: white;
}

.listing.cajas .nahual_shopping_available {
    display: inline-flex;
}

.listing.cajas .nahual_whatsapp_send_page a {
    float: left;
    background-color: #198754;
    border-color: #198754;
    color: white;
    border-radius: 5px;
    padding: 5px;
    text-decoration: none;
    text-align: center;
}

.listing.cajas .nahual_whatsapp_send_page {
    width: 45%;
    float: left;
}

.listing.cajas .nahual_shopping_button_addtocart {
    float: right;
    width: 45%;
}

.page.producto {
    border: 4px solid silver;
    width: 95%;
    margin-top: 5px;
    border-radius: 15px;
    padding: 10px;
}

.page.producto .nahual_title_field {
    font-size: 3rem;
    color: var(--main-color-red);
}

.page.producto .page-fields.fields {
    font-size: 2rem;
}

.page.producto .nahual_main_image_field {
    max-height: 600px;
    min-height: 600px;
    overflow: auto;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.page.producto .nahual_main_image_field img {
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.page.producto .imagenes_del_producto img {
    width: 10%;
}

.page.producto .nahual_shopping_button_addtocart {
    width: 20%;
    float: left;
}

.page.producto .nahual_shopping_button_addtocart button {
    font-size: 1.5rem;
}

.page.producto .nahual_whatsapp_send_page {
    width: 20%;
    float: left;
    margin-top: 55px;
}

.page.producto .nahual_whatsapp_send_page a {
    float: left;
    background-color: #198754;
    border-color: #198754;
    color: white;
    border-radius: 5px;
    padding: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 1.5rem;
}

.page.producto .nahual_shopping_price {
    color: #00a650;
    font-size: 2rem;
    display: inline-flex;
}

.page.producto .nahual_shopping_price:before {
    content: "$";
}

.page.producto .precio_anterior {
    width: fit-content;
    margin-right: 10px;
    float: left;
    color: silver;
    text-decoration: line-through;
    font-size: 1.8rem;
    display: inline-flex;
}

.page.producto .precio_anterior:before {
    content: "$";
}

.page.producto .nahual_shopping_available {
    display: inline-flex;
    width: 100%;
    float: left;
}

.page.landing_page .foto .value img {
    width: 100%;
}

.search .form-title-search {
    width: 100%;
}

.search .form-title-search form {
    display: inline-flex;
    width: 100%;
    align-items: baseline;
}

.search.options.options-search {
    display: flex;
    align-items: center;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    /*position: fixed;*/
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .5);
    border-radius: 15px;
    padding: 5px;
}

/*.search.options.options-search+.container-fluid,
.search.options.options-search+.render_data {
    margin-top: 5%;
}*/

.search .categories-search {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-tags' viewBox='0 0 16 16'><path d='M3 2v4.586l7 7L14.586 9l-7-7zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586z'/><path d='M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1z'/></svg>");
    background-size: 60px 60px;
    display: block;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
}

.search .categories-search:hover>ul {
    display: block;
}

.search .categories-search ul {
    background: rgba(11, 102, 101, .9);
    border: 2px solid white;
    padding: 5px;
    position: absolute;
    font-size: 1.2rem;
    list-style: none;
    padding: 10px;
    margin-left: 2%;
    margin-top: 2%;
    display: none;
}

.search .categories-search ul a {
    color: white;
    text-decoration: none;
}

.search .categories-search ul a:hover {
    text-decoration: underline;
}

.page.landing_page .field.nahual_title_field {
    display: none;
    color: transparent;
}


@media (max-width: 992px) {
    .listing.cajas .content-page {
        width: 48%;
    }

    .listing.cajas,
    .listing.cajas a {
        font-size: 2.5rem;
    }

    .listing.cajas .precio_anterior {
        font-size: 2rem;
        margin-top: 10px;
    }

    .listing.cajas .nahual_shopping_price {
        font-size: 2.2rem;
    }

    .listing.cajas .nahual_whatsapp_send_page {
        width: 100%;
        margin-top: 10px;
    }

    .listing.cajas .nahual_whatsapp_send_page a {
        font-size: 2rem;
    }

    .listing.cajas .nahual_shopping_button_addtocart {
        width: 100%;
    }

    .listing.cajas #shopping_cart_nahual_shopping_button_addtocart {
        font-size: 2rem;
    }

    .page.producto .nahual_shopping_button_addtocart {
        width: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    .page.producto #shopping_cart_nahual_shopping_button_addtocart {
        font-size: 2rem;
    }

    .page.producto .nahual_whatsapp_send_page {
        width: auto;
    }

    .page.producto .nahual_whatsapp_send_page a {
        font-size: 2rem;
    }

    .search .categories-search {
        background-size: 80px 80px;
        width: 80px;
        height: 80px;
    }

    /*.search.options.options-search+.container-fluid,
    .search.options.options-search+.render_data {
        margin-top: 10%;
    }*/

    .search .categories-search ul {
        font-size: 2.5rem;
        padding: 10px;
        margin-left: 6.5%;
        margin-top: 7.5%;
    }
}

@keyframes text-slide-in {
    0% {
        font-size: 2rem;
        background: -webkit-linear-gradient(#1b5b9e, #7fa6cf);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    50% {
        font-size: 2.5rem;
        transform: translateX(-20vw);
        background: -webkit-linear-gradient(#0b6665, #9fc6c5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    100% {
        transform: translateX(0);
        background: -webkit-linear-gradient(#1b5b9e, #0b6665);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@keyframes image-move-y {
    0% {
        transform: translateY(0px);
        transform: rotate(0);
    }

    25% {
        transform: translateY(15px);
        transform: rotate(180deg);
    }

    80% {
        transform: translateY(30px);
        transform: rotate(360deg);
    }

    100% {
        transform: translateY(0px);
        transform: rotate(0);
    }
}

@keyframes text-typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes cursor-blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-right: 5px solid orange;
    }
}

@keyframes text-show-basic {
    0% {
        margin-left: 20%;
        transform: rotate(-30deg);
    }

    40% {
        margin-left: -20%;
        transform: rotate(30deg);
    }

    80% {
        margin-left: -20%;
        transform: rotate(0deg);
    }

    100% {
        margin-left: 0%;
    }
}

@keyframes border-cover {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes zoom-in {
    0% {
        transform: scale(.5, .5);
    }

    100% {
        transform: scale(1, 1);
    }
}


:root {
    --main-color-red: #C90B09;
    --main-color-oro: #d7bc6b;
}