:root {
    --black-color: #000;
    --white-color: #fff;
    --dark-gray-color: #252525;
    --darker-gray-color: #111111;
    --light-gray-color: #c0c0c0;
    --lighter-gray-color: #e9e9e9;
    --web-work-area: 750px;
    --mobile-work-area: 100%;
    --mobile-form-area: 320px;

}


@font-face {
	font-family: 'Oxygen';
	src: 
		url('fonts/Oxygen-Light.ttf') 
        format('opentype')
        ;
    font-size: 100;
}

@font-face {
	font-family: 'Oxygen';
	src: 
		url('fonts/Oxygen-Regular.ttf') 
        format('opentype')
        ;
    font-weight: 400;
}

@font-face {
	font-family: 'Oxygen';
	src: 
		url('fonts/Oxygen-Bold.ttf') 
        format('opentype')
        ;
    font-weight: 800;
}


html, body {
    --webkit-user-select: none;
    --webkit-tap-highlight-color: transparent;
    --webkit-touch-callout: none;
}

body {
    width: 100%;
    font-family: 'Oxygen', sans-serif;
    margin: 0px;
    background-color: var(--white-color);
    color: var(--darker-gray-color);
    
}

/* NOTIFICACIONES FIJAS */

.recipe-notification {
	width: var(--web-work-area);    
    background-color: var(--white-color);
    border-radius: 10px 10px 10px 10px;
    text-align: justify;
    position: relative;
    z-index: 10;
    transition: all 300ms linear;
    display: grid;
    grid-template-columns: 50px auto;
    /* box-shadow: 0.5px 0.5px 2px var(--gray-color); */
    margin: 0px auto 0px auto;
    /* padding: 10px 0px; */
    top: -500px;
    height: 70px;
}

.recipe-notification.active {
	top: 80px;
}

.notification-icon {
	font-size: 20px;
	color: var(--white-color);
	border-radius: 0px 10px 10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray-color);
}

.notification-msg { 
	display: inline-block;
    /* padding: 15px; */
    font-weight: 100;
    font-size: 16px;
    color: var(--dark-gray-color);

    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon div {
	display: inline-block;
}

.notification-icon.alert, .notification-msg.alert {
    /* background: rgba(226, 252, 83, 0.99); */
    background: rgba(226, 252, 83, 0.4);    
    /* color: rgba(226, 252, 83, 1); */
}

.notification-icon.info, .notification-msg.info {
    /* background: rgba(83, 183, 250, 0.99); */
    background: rgba(83, 183, 250, 0.4);
    /* color: rgba(83, 183, 250, 1); */
}

.notification-icon.success, .notification-msg.success {
    /* background: rgba(58, 238, 42, 0.99); */
    background: rgba(58, 238, 42, 0.4);
    /* color: rgba(58, 238, 42, 1); */
}

.notification-icon.error, .notification-msg.error {
    /* background: rgba(209, 24, 0, 0.99); */
    background: rgba(209, 24, 0, 0.4);
    /* color: rgba(209, 24, 0, 1); */
}

/* <--NOTIFICACIONES FIJAS */

/* LOADING */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

.modal-content {
    width: 100%;
    text-align: center;
    height: 100%;
    margin-top: 49vh;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
}
  
/* <-- LOADING */


.recipe-header-container {
    width: 100%;
    background-color: var(--black-color);
    position: fixed;
    top: 0;
    z-index: 10;
}

.recipe-header {
    height: 70px;
    display: grid;
    align-items: center;
    justify-content: center;
    /* background-color: var(--black-color); */
    margin: 0px auto;
    /* grid-template-columns: 75px 1fr 1fr 75px; */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    color: var(--white-color);
    width: var(--web-work-area);
}

.header-logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img {
    width: 55px;
}

.header-elem {
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    padding: 0px 0px 0px 20px;
}

.header-model {
    font-weight: 100;
    font-size: 20px;
}

.header-session-type {
    font-size: 14px;
    font-weight: 100;
}

.header-data {
    font-size: 14px;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-elem a {
    text-decoration: none;
    color: inherit;
}

.recipe-body {
    width: var(--web-work-area);
    margin: 30px auto 0px auto;
}

.recipe-body.gallery-recipe {
    margin: 100px auto 50px auto;
}


.recipe-title {
    font-size: 25px;
    text-align: center;
}

.recipe-table {
    display: grid;
    grid-template-columns: 100px 1fr 125px 1fr;
    gap: 10px;
    font-size: 16px;
    margin: 20px 0px;
}

.recipe-qr {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 60px auto;
}

.recipe-cell {
    font-weight: 100;
}

.recipe-cell-data {
    font-weight: 600;
}

.recipe-notes {
    text-align: justify;
    font-size: 12px;
    font-weight: 100;
    color: red;
}

/* GALERIA */
.gallery-container {
    width: var(--web-work-area);
}

.gallery-header {
    text-align: center;
    font-size: 25px;
    margin: 30px 0px 20px 0px;
}

.gallery-header-count {
    text-align: center;
    font-size: 20px;
    background-color: var(--lighter-gray-color);
    border-radius: 10px;
    padding: 20px 0px;
    /* margin: 30px 0px 20px 0px; */

    z-index: 2;
    position: fixed;    
    width: var(--web-work-area);
    top: 70px;
}

.gallery-list {
    width: 100%;
    display: grid;
    grid-template-columns: 70% 30%;
    font-size: 14px;
    gap: 5px;
}

.edited-count, .extra-amount {
    font-weight: 400;
}

.btn {
    background: var(--white-color);
    border: solid 1px var(--light-gray-color);
    padding: 15px 25px;
    border-radius: 5px;
    margin: 10px 10px 0px 0px;
    min-width: 110px;
    color: var(--darker-gray-color);
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background-color: var(--darker-gray-color);
    color: var(--white-color);
}

.gallery-group {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px; */
    column-count: 3;
    column-gap: 5px;
}

.gallery-card {
    width: 100%;
    break-inside: avoid;
    margin: 0px 0px 5px 0px;
}

.image-favorited {
    position: absolute;
    padding: 10px;
    color: red;
    background: rgba(255,255,255,0.7);
    border-radius: 5px;
    visibility: hidden;
    margin: 10px 0px 0px 10px;
}

.image-favorited.selected {
    visibility: visible;
}

.gallery-card .gallery-img {
    /* position: relative; */
    cursor: pointer;
}

.gallery-img img {
    max-width: 100%;
    border-radius: 5px;
}

.gallery-caption {
    font-size: 20px;
    background-color: rgba(0,0,0,1); 
    border-radius: 5px;
    color: var(--white-color);
    padding: 10px 0px;
    text-align: center;
    cursor: pointer;
}

.gallery-caption.selected {
    color: red;
}

.img-modal-container {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: var(--black-color);
    left: 0;
    top: 70px;
    overflow: auto;
    z-index: 3;
    transition: all 300ms linear;
}

.img-modal-container.show {
    display: block;
}

.img-modal {
    width: var(--web-work-area);
    color: var(--dark-gray-color);
    margin: 0px auto;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;

    height: 80vh;
}

.img-modal-header {
    /* width: 100%; */
    height: 70px;
    display: grid;
    grid-template-columns: 40px 1fr 40px 90px;
    align-items: center;
    background-color: rgba(0,0,0,0.5);
    color: var(--white-color);
}

.img-back {
    text-align: center;
    cursor: pointer;
}

.img-select {
    text-align: right;
    cursor: pointer;
}
.img-select.selected {
    color: red;
}

.img-print {
    text-align: center;
    cursor: pointer;
}

#sizePrint {
    height: 25px;
    border-radius: 5px;
    border: solid 1px var(--light-gray-color);
    /* font-family: 'Oxygen', 'Font Awesome 5'; */
}

.img-container {
    /* display: flex; */
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    justify-content: center;
    height: inherit;
}

.img-container img {
    width: 100%;
}

.img-prev, .img-next {
    text-align: center;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    color: var(--white-color);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-name {
    text-align: center;
}



/* MOBILE VIEW */
@media only screen and (max-width:812px) { 

    .header-model {
        font-size: 14px;
    }

    .header-session-type {
        font-size: 12px;
    }

    .header-logo img {
        width: 50px;
    }

    .header-title {
        padding: 0px 0px 0px 10px;
    }

    .header-data {
        font-size: 12px;
    }

    .recipe-notification {
        width: var(--mobile-work-areaa);
    }

    .recipe-header {
        width: var(--mobile-work-area);

    }

    .recipe-body {
        width: var(--mobile-work-area);
    }

    .recipe-body.gallery-recipe {
        margin: 10px auto 40px auto;
    }

    .recipe-title {
        font-size: 22px;
    }

    .recipe-table {
        grid-template-columns: 125px 1fr;
        font-size: 14px;
        width: var(--mobile-form-area);
        margin: 20px auto 0px auto;
    }

    .gallery-container {
        width: var(--mobile-work-area);
    }

    .gallery-header-count {
        width: var(--mobile-work-area);
        border-radius: 0px;
    }

    .gallery-header {
        font-size: 20px;
        width: var(--mobile-form-area);
        margin: 30px auto 30px auto;
    }

    .gallery-group {
        column-count: 2;
        column-gap: 15px;
        width: 95%;
        margin: 0px auto;
    }

    .gallery-caption {
        font-size: 16px;
        padding: 5px 0px;
    }

    .btn {
        padding: 10px 15px;
        width: auto;
        margin: 0px 5px 0px 0px;
    }

    .recipe-notes {
        width: var(--mobile-form-area);
        margin: 0px auto;
    }


    .img-modal {
        width: var(--mobile-work-area);
        margin: 30px 0px 0px 0px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;

        height: 80vh;
    }

    .img-modal-header {
        height: 30px;
        grid-template-columns: 1fr 0px 0px 0px;
    }

    .img-back {
        font-size: 20px;
    }

    .img-container {
        grid-template-columns: 30px 1fr 30px; 
    }

}