:root {
    --orange-color: #ff4235;
    --blue-color: #004a93;
    --grey-color: #f2f2f2;
    --dark-grey-color: #646464;
    --red-color: rgb(198, 23, 23);
    --background-grey: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Times New Roman', Times, serif;
    scroll-behavior: smooth;
}
/* AG Grid sincroniza por JS su viewport con un scrollbar falso. Con el smooth de
   arriba esas sincronizaciones se animan, cada lado informa posiciones viejas y la
   tabla va y vuelve: tiembla al scrollear con rueda */
.ag-root-wrapper, .ag-root-wrapper * {
    scroll-behavior: auto;
}

.relative_container{
    position: relative;
}
.overlay{
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: .45;
}
.noScroll {
    overflow: hidden;
}
.margin_right{
    margin-right: 20px !important;
}
.margin_top{
    margin-top: 20px !important;
}
.margin_bottom{
    margin-bottom: 20px !important;
}
.margin_left{
    margin-left: 20px !important;
}
.inverted{
    display: inline-block;
    transform: rotate(180deg);
}
.nowrap{
    flex-wrap: nowrap !important;
}
.title{
    font-family: 'Times New Roman', Times, serif !important;
}
.short_input {
    max-width: 110px;
    margin: 0 1vw;
  }
  .medium_input {
    max-width: 300px;
    margin: 0 1vw;
  }
input {
    outline: none;
    border: none;
}

a {
    color: #000;
    text-decoration: none;
    display: inline-block;
}
select,option{
    color: #000;
}
button {
    color: #000;
    background: none;
    cursor: pointer;
}
.pointer{
    cursor: pointer;
}
li {
    list-style: none;
}

.bold {
    font-weight: 700 !important;
}

.blue {
    color: var(--blue-color) !important;
}

.grey{
    color: var(--grey-color) !important;
}

.orange{
    color: var(--orange-color) !important;
}
.dark_grey{
    color: var(--dark-grey-color) !important;
}
.black_color{
    color: #000 !important;
}
.striked{
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.shadow{
    text-shadow: 2px 2px 4px #000;
}
.overflow-auto {
    overflow: auto;
}
.disabled {
    color: #ccc !important;
    background-color: #eee !important;
    cursor: unset;
    pointer-events: none;
}
.disable_inside.disabled{
    background: none !important;
}
.hidden {
    display: none !important;
}

.red {
    color: var(--red-color) !important;
}
.error_border{
    border: 2px solid var(--red-color) !important;
}
.align_end{
    text-align: end;
}
.copy_msg {
    position: absolute;
    right: 0;
    background: #999;
    color: #000;
    padding: 3px 7px;
    border-radius: 0.6rem;
    opacity: 0;
    scale: 0;
    transition: all 0.4s ease;
  }
  .copy_msg_active {
    opacity: 1;
    scale: 1;
  }
  
.response_card_container{
    position: absolute;
    inset: 0;
    background-color: #000;
    opacity: .85;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    scale: 0;
    transition: all .5s ease;
}
.close_card_container_btn{
    color: #fff;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: clamp(2rem, 2vw + .5rem, 4rem);
    cursor: pointer;
}
.smaller_font{
    font-size: smaller;
}
.response_card_container_active{
    opacity: 1;
    scale: 1;
}
.margin_bottom{
    margin-bottom: 15px !important;
}
.margin_field {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
.error-card,
.success-card{
    padding: 10px;
    position: absolute;
    background: var(--red-color);
    color: #ccc;
    border-radius: 0.5rem;
    left: 50%;
    bottom: 40%;
    transform: translate(-50%, 50%);
    transition: all 2s ease;
    z-index: 1000;
}
.success-card{
    background: rgb(17, 121, 26);
}
.error-card-inactive{
    opacity: 0;
}

.error_msg {
    color: var(--red-color);
}
.success_msg{
    color: #fff;
}
/* SACAR FLECHAS INPUT TYPE NUMBER */
/* SACAR FLECHAS INPUT TYPE NUMBER */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;

}

input[type=number] {
    -moz-appearance: textfield;
}
.bx-copy{
    cursor: pointer;
}
.page-title {
    text-transform: uppercase;
}
.uppercase{
    text-transform: uppercase;
}
img{
    width: 100%;
    height: 100%;
}

.spinner_container{
    background-color: #999;
    opacity: .75;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BLACK SCREEN */
.black_screen{
    position: fixed;
    background-color: #000;
    bottom: 0;
    right: 0;
    opacity: 0;
    
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.black_screen_active{
    opacity: .75;
    z-index: 40;
    transition: opacity .3s ease,z-index .01s ease ;
}
.horizontal_centered_margin{
    margin: 0 auto !important;
}
.fit_width{
    width: fit-content !important;
}
.desktop_only{
    display: none !important;
}
.scroll_up_icon {
    position: fixed;
    bottom: 5vh;
    right: 10px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.7s ease, background-color .3s ease, color .25s ease;
    z-index: 15;
    display: flex;
    border: 2px solid #000;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    padding: 5px;
    
  }
  
  .scroll_up_icon_active {
    opacity: 1;
    cursor: pointer;
  }
  .smaller{
    font-size: smaller;
  }
  .ui.card .right.floated{
    position: relative;
    z-index: 10;
  }
  .ui.radio.checkbox label{
    cursor: pointer;
  }
  .ui.radio.checkbox:hover > label{
    font-weight: 600;
  }
  .ui.radio.checkbox input:checked + label,
  .ui.toggle.checkbox.checked > label,
  .ui.toggle.checkbox > input:checked + label{
    font-weight: 600;
  }
  .center_content{
    text-align: center;
  }
  .center_content *{
    margin: auto;
  }
@font-face {
    font-family: 'aptos';
    src: url('../fonts/aptos-font/aptos.ttf') format('truetype');
}


@media(min-width:768px){
    .mobile_only{
        display: none !important;
    }
    .desktop_only{
        display: initial !important;
    }
    .scroll_up_icon{
        font-size: 1.5rem;
      }
      .hidden {
        display: none !important;
    }
}
@media(min-width:1024px){
    /* .icon{
        font-size: 35px !important;
    } */
    .scroll_up_icon{
        font-size: 2rem;
      }
      .scroll_up_icon:hover{
        background-color: #000;
        color: #fff;
        border: 2px solid #fff;
      }
      .hidden {
        display: none !important;
    }
}
