html, body
{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/************/

/* Navigation Menu */

.nav_menu
{
    width: 80%;
    align-self: center;
}

.nav_menu ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.nav_menu li
{
    float: left;
}

.nav_menu li a
{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav_menu li a:hover:not(.active)
{
    background-color: #111;
}

.nav_menu .active
{
    background-color: #4CAF50;
}

li.dropdown
{
    display: inline-block;
}

.hold-hover
{
    background-color: #111;
}

.dropdown-content
{
    display: none;
    position: absolute;
    background-color: #111;;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content .dropdown-link
{
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content .dropdown-link:hover
{ 
    background-color: #2b7bb1 !important;
}

/************/

.main_container
{
    display: flex;
    flex-direction: column;
    width: 98vw;
    margin: auto;
    align-items: center;
}

.top_bar
{
    /*background-color: red;*/
    text-align: center;
    width: 90vw;
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: lightgoldenrodyellow;
    align-self: center;
}

.titulo_pagina
{
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    width: 90vw;
    margin-top: 18px;
    margin-bottom: 15px;
    align-self: center;
}

.center_container
{
    display: flex;
    flex-direction: row;
    /*min-width: 90vw;*/
    /*max-width: 95vw;*/
    max-width: 98%;
    align-items: flex-start;
}

.left_side_bar
{
    flex: 1;
    background-color: lightgoldenrodyellow;
    text-align: center;
    /*min-width: 10vw;*/
    /*max-width: 20vw;*/
    max-width: 20%;
    height: auto;
}

.contenedor_info_producto
{
    flex: 4;
    min-height: 40vh;
}

.right_side_bar
{
    flex: 1;
    background-color: lightgoldenrodyellow;
    text-align: center;
    /*min-width: 10vw;*/
    /*max-width: 20vw;*/
    max-width: 20%;
    height: auto;
}

.contenedor_top
{
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.contenedor_middle
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.contenedor_bottom
{
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 20px;
}

.main_products_container
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    /*min-width: 45vw;*/
    /*max-width: 55vw;*/
    max-width: 60%;
}

.more_products_container
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 30px;
}

.info_producto
{
    min-width: 40vw;
    width: 35vw;
    padding: 20px;
    font-size: 20px;
}

.imagen_producto
{
    margin-right: 20px;
}

.main_img
{
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: auto;
    max-height: 300px;
}

.link_icon
{
    min-width: 15px;
    max-width: 15px;
    width: 15px;
    min-height: 15px;
    max-height: 15px;
    height: 15px;
    filter: invert(1);
}

.thumbnail_img
{
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: auto;
    max-height: 150px;
}

.thumbnail_img:hover
{
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.product_item
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 25px;
}

.date_container
{
    width: 100%;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 5px 20px;
}

.separator_container
{
    width: 100%;
    background-color: darkblue;
    padding: 7px 0px;
}

.title_text
{
    font-weight: bold;
    color: white;
    padding-left: 10px;
}

.title_price_text
{
    font-weight: bold;
    color: white;
    padding-left: 8px;
}

.title_date_text
{
    font-weight: bold;
    color: darkblue;
    padding-left: 8px;
}

.regular_date
{
    color: darkblue;
}

.overdue_date
{
    color: red;
}

.overdue_disclaimer
{
    color: red;
    font-size: 12px;
}

.pricing_container
{
    display: flex;
    direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.pricing
{
    width: 40%;
    padding: 10px;
}

.pricing_large
{
    width: 90%;
    padding: 15px;
}

.big_price
{
    color: red;
    font-weight: bolder;
    font-size: xx-large;
}

.pricing_half_large
{
    font-size: 14px;
    width: 90%;
    padding: 15px;
    text-align: right;
    padding-bottom: 20px;
}

.thumb_text
{
    max-width: 180px;
    text-align: center;
}

.social_media_hub
{
    display: flex;
}

@media screen and (max-width: 625px) {
    .social_media_hub
    {
        display: flex;
        flex-direction: column;
    }
        
}

.social_media_block
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social_media_sub_block
{
    display: flex;
    align-items: center;
    text-align: center;
}

.image_link
{
    text-decoration: none;
}

.fb_button_img
{
    width: 70%;
    height: auto;
    margin-top: -25px;
    margin-bottom: -15px;
}

.wa_button_img
{
    width: 70%;
    height: auto;
    margin-top: -13px;
}

.bottom_link
{
    width: 90vw;
    text-align: center;
    margin-bottom: 20px;
}

.bottom_link_admin
{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.button_container
{
    display: flex;
}

.bottom_button_container
{
    display: flex;
    width: 90vw;
    margin-top: 10px;
    margin-bottom: 15px;
    align-self: center;
    justify-content: flex-start;
}

.inline_button_container
{
    display: inline-block;
}

.bottom_admin_button_container
{
    display: flex;
    width: 90vw;
    margin-top: 10px;
    margin-bottom: 15px;
    align-self: center;
    justify-content: center;
}

.button
{
    border: 1px solid black;
    background-color: navy;
    border-radius: 10px;
    min-width: 90px;
    min-height: 30px;
    line-height: 30px;
    text-align: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 8px;
    padding-right: 8px;
}

.button.disabled
{
    background-color: lightcyan;
    cursor: not-allowed;
    color: darkgrey;
}

table
{
    border: 1px solid black;
    border-radius: 8px;
}

th, td
{
    padding: 15px;
    border: 1px solid black;
}

th
{
    background-color: darkblue;
    color: white;
    font-weight: bold;
}

th:first-child
{
    border-top-left-radius: 8px;
}

th:last-child
{
    border-top-right-radius: 8px;
}

tr:last-child > td:first-child
{
    border-bottom-left-radius: 8px;
}

tr:last-child > td:last-child
{
    border-bottom-right-radius: 8px;
}

/*
tr:nth-child(odd)
{
    background-color: lightslategray;
}

tr:nth-child(even)
{
    background-color: white;
}
*/

.fila_desactivada
{
    background-color: lightcoral !important;
}

.table_container
{
    display: flex;
    justify-content: center;
    width: 90vw;
    margin-top: 10px;
    margin-bottom: 15px;
}

.main_logo_container
{
    /*width: 90vw;
    background-color: grey;*/
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.main_logo_img
{
    /*width: 10vw;*/
    max-width: 75%;
}

.admin_container
{
    display: flex;
    width: 90vw;
    margin: auto;
    justify-content: center;
}

.admin_detail_container
{
    display: flex;
    flex-direction: column;
    width: 90vw;
    margin: auto;
    align-items: center;
}

.selected_page
{
    color: black !important;
    background-color: lightgreen;
    padding: 4px;
    border-radius: 10px;
}

.unselected_page
{
    text-decoration: none;
    color: black !important;
    background-color: lightgray;
    padding: 4px;
    border-radius: 10px;
}

/* --------- */

/* The toastMsg - position it at the bottom and in the middle of the screen */
#toastMsg {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 300px; /* Set a default minimum width */
    max-width: 300px; /* Set a default minimum width */
    margin-left: -150px; /* Divide value of min-width by 2 */
    background-color: #333; /* Almost Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 99; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 50%; /* from the bottom */
    cursor: pointer;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#toastMsg.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#toastMsg.showAndStay {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#toastMsg.leave {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadeout 0.5s 0.5s;
    animation: fadeout 0.5s 0.5s;
}

#toastMsg .button {
    text-align: center;
    border: 1px solid white;
    border-radius: 5px;
    padding: 4px;
    float: right;
    background-color: #333; /* Almost Black background color */
}

#toastMsg .button:hover {
    background-color: var(--header_color); /* Almost Black background color */
}

#toastMsg .buttonSpace {
    margin-top:10px;
    min-height:33px;
}

  /* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 40%; opacity: 0;} 
    to {bottom: 50%; opacity: 1;}
}
  
@keyframes fadein {
    from {bottom: 40%; opacity: 0;}
    to {bottom: 50%; opacity: 1;}
}
  
@-webkit-keyframes fadeout {
    from {bottom: 50%; opacity: 1;} 
    to {bottom: 40%; opacity: 0;}
}
  
@keyframes fadeout {
    from {bottom: 50%; opacity: 1;}
    to {bottom: 40%; opacity: 0;}
}

/* --------- */

.clickable {
    cursor: pointer;
}

.disabled {
    cursor: not-allowed;
}

/* --------- */

.button_link
{
    text-decoration: none;
    font-size: 11px;
    padding: 5px;
    background-color: darkblue;
    border-radius: 8px;
    border: 1px solid black;
    color: white;
    margin-left: 6px;
}

.right_side
{
    float: right;
}

/* --------- */

.preview
{
    width: 200px;
    height: 200px;
    border: 1px solid black;
    margin: 0 auto;
 }
 
 .caract_space
 {
    padding: 6px;
 }

.main_text_explain
{
    font-size: 18px;
    text-align: center;
    width: 95vw;
    margin-top: 15px;
    margin-bottom: 20px;
    align-self: center;
}

.bottom_text_explain
{
    font-size: 16px;
    font-style: italic;
    text-align: center;
    width: 90vw;
    margin-top: 15px;
    margin-bottom: 40px;
}

.bottom_text_centered
{
    font-size: 16px;
    font-style: italic;
    text-align: center;
    width: 90vw;
    margin-top: 15px;
    margin-bottom: 40px;
}

.cc_logo_img
{
    height: auto;
    width: 100px;
    max-width: 100px;
}

.texto_compra
{
    text-align: center;
    font-size: 16px;
}

.qr_img
{
    height: auto;
    width: 50vw;
    max-width: 300px;
}

.codigoQR
{
    text-align: center;
    padding: 10px;
}

.cc_space
{
    display: flex;
    justify-content: space-evenly;
    padding-top: 18px;
}

.qr_img:hover
{
    opacity: 55%;
}
