﻿@media (max-width: 980px) {
    body {
        overflow-x: scroll;
    }
}

body {
    font-family: 'Helvetica Neue', 'Inter', sans-serif;
    font-weight: normal;
    font-style: normal;
    background-image: url('/img/background.jpg');
    background-size: cover;
    background-position: center;
}

:root {
    --color-taupe-gray: #87827a;
    --color-cultured: #edebeb;
    --color-jet: #292828;
    --color-crimson-red: #d61d1d;
    --color-onyx: #2E2E2E;
}

.box {
    max-width: 90%;
    max-height: 80%;
    min-width: 420px;
    min-height: 320px;
    /*margin-bottom: 6rem;*/
}

.darkbg {
    background-color: rgba(0, 0, 0, 0.45);
    min-height: 100vh;
}

.minwidth {
    min-width: 980px !important;
    min-height: 570px !important;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.container-fluid {
    padding-bottom: 64px;
}

/* stepper styles */

.step-item {
    width: 120px;
    padding: 4px;
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    transition: all 0.3s ease;
}

    .step-item:hover {
        transform: translateY(-5px);
        /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);*/
    }

    .step-item .h5 {
        margin: 0;
    }

.step-icon span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-item:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .step-item::after {
        display: none;
    }
}

/* end stepper styles */

.non-active {
    opacity: 0.5;
}

/* logo styles */

.logo-container {
    padding-top: 15px;
}

.logo-containe .logo {
    width: 150px;
}

/* end logo styles */

.table td,
.table th {
    padding: .2rem;
}

.tablero {
    width: 450px;
    height: 450px;
}

.label-left,
.label-top {
    padding: 5px 5px;
    /* Adjust padding for the text */
    border-radius: 10px;
    /* Apply rounded border radius */
    color: white;
    /* Set text color */
    background-color: var(--color-jet);
    /* Set background color */
    opacity: .8;
    display: inline-block;
    /* Make it inline block */
}

.label-top {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.label-left {
    position: absolute;
    top: 50%;
    left: 32px;
    /* Adjust left position to center vertically */
    transform: translate(-50%, -50%);
    writing-mode: sideways-lr;
    /* Optional: rotates text vertically */
}

.w-500px {
    width: 500px;
}

.w-1200px {
    width: 1200px;
}

.hidden-select {
    display: none;
}

.nice-select.open .current {
    white-space: normal;
}

.nice-select:not(.open) {
    overflow: clip;
    white-space: normal;
}

.text-justify {
    text-align: justify;
}

.f-12px {
    font-size: 12px;
}

.f-14px {
    font-size: 14px;
}

.tableProyectos tbody tr td:first-child {
    width: 100%;
}

.tableProyectos tbody tr td {
    text-wrap: nowrap;
    white-space: nowrap;
    vertical-align: middle;
}

.custom-check {
    line-height: 1.5;
    width: 2em;
    height: 2em;
    margin: 0;
}

    .custom-check:checked,
    .form-check-input-dark:checked {
        background-color: #6c757d;
        border-color: #6c757d;
    }

    .custom-check:focus,
    .form-control-dark:focus {
        border-color: var(--color-taupe-gray);
        box-shadow: 0 0 0 .25rem rgba(135, 130, 122, .25);
    }

.tablaCortes tbody tr td:nth-child(1),
.tablaCortes tbody tr td:nth-child(3),
.tablaCortes tbody tr td:nth-child(4) {
    width: 140px;
}

.tablaCortes tbody tr td:nth-child(5),
.tablaCortes tbody tr td:nth-child(6),
.tablaCortes tbody tr td:nth-child(7),
.tablaCortes tbody tr td:nth-child(8),
.tablaCortes tbody tr td:nth-child(9) {
    width: 88px;
}

.miniImg {
    width: 100px;
}

/* loading screen styles */

.loadingDiv {
    width: 100vw;
    height: 100vh;
}

#loadingScreen {
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    position: fixed;
}

    #loadingScreen img {
        animation: flip 3s linear infinite;
        transform-style: preserve-3d;
        width: 180px;
    }

@keyframes flip {
    from {
        transform: perspective(1000px) rotateY(0deg);
    }

    to {
        transform: perspective(1000px) rotateY(360deg);
    }
}

/* end loading screen styles */

.page-link-dark:focus,
.form-check-input-dark:focus {
    box-shadow: 0 0 0 .25rem rgba(135, 130, 122, .25);
}

.page-link-dark.active,
.active > .page-link-dark {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white !important;
}

.woodBackground {
    background-image: url('/img/backgroundTablero.jpg');
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    position: relative;
    width: 100%;
    aspect-ratio: 1.5;
    /* will be overridden dynamically */
}

.region {
    position: absolute;
    border: 4px solid #000;
    background-color: rgba(135, 130, 122, 0.5);
    box-sizing: border-box;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    -webkit-text-stroke: 1px gray;
    text-shadow: 0 0 1px gray;
}

    .region .inside {
        width: 93%;
        height: 93%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 0;
    }

        .region .inside.superior {
            border-top-style: solid;
            border-top-color: red;
            border-top-width: 4px;
        }

        .region .inside.inferior {
            border-bottom-style: solid;
            border-bottom-color: red;
            border-bottom-width: 4px;
        }

        .region .inside.izquierdo {
            border-left-style: solid;
            border-left-color: red;
            border-left-width: 4px;
        }

        .region .inside.derecho {
            border-right-style: solid;
            border-right-color: red;
            border-right-width: 4px;
        }

.steps {
    cursor: pointer;
}

.square {
    border: 1px solid rgb(var(--bs-dark-rgb));
    width: 1.2rem;
    height: 1.2rem;
    background: white;
}
    .square.superior {
        border-top-width: 4px;
    }

    .square.inferior {
        border-bottom-width: 4px;
    }

    .square.izquierdo {
        border-left-width: 4px;
    }

    .square.derecho {
        border-right-width: 4px;
    }


.superior {
    border-top-color: red;
}

.inferior {
    border-bottom-color: red;
}

.izquierdo {
    border-left-color: red;
}

.derecho {
    border-right-color: red;
}

div:where(.swal2-container) .swal2-input {
    padding: .375rem .75rem!important;
}

.no-cursor {
    cursor: none !important;
}
