/* used colors white, ghostwhite, forestgreen, darkseagreen, palegoldenrod , burlywood*/
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   background-color: white;
   padding-bottom: 1em;
}

body {
   font-family: Arial, Helvetica, sans-serif;
   max-width: 50em;
   margin-left: auto;
   margin-right: auto;
   padding: 1em;
   background-color: ghostwhite;
   color: forestgreen;
}

div {
/*    border: 1px solid red;*/
}

section {
/*   margin-bottom: 3em;*/
   margin-top: 3em;
   text-align: center;
}

img {
/*   margin-left: 0.3em;
   margin-right: 0.3em;*/
}

label {
   display: inline-block;
   color: #505050;
   margin-top: 0.2em;
}

input {
   display: block;
   margin-bottom: 0.3em;
   width: 20em;
   border: 1px dotted forestgreen;
   padding-left: 0.3em;
}

input[type='checkbox'] {
   width: inherit;
}

input[type='submit'] {
/*   width: 10em; */
   float:right;
   clear: both;
   margin-top: 1em;
}

input[type='button'] {
   width: 10em;
}

video {
   margin-bottom: 2em;
}

select {
/*   margin-bottom: 1.3em; */
   display: block;
   margin-bottom: 0.3em;
   width: 20em;
   border: 1px dotted forestgreen;
}

h2 {
/*   margin-top: 1em;*/
   margin-bottom: 0.5em;
   margin-top: 0.5em;
}

p {
   margin: 1em 0em;
}

strong {
   font-size: 1.2em;
   font-style: italic;
}

figure {
   display: flex;
   flex-direction: column;
   width: 100%;
}

figure img {
   align-items: center;
   width: 100%;
   height: auto;
   margin-left: auto;
   margin-right: auto;
   max-width: 600px;
}

figure figcaption {
   text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
        
th {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: right;
}
        
#noFavs {
   margin-bottom: 1em;
}

#loggedIn {
   clear: both;
}

#banner {
   margin: auto;
}

#banner img {
   display: block;
   margin: auto;
}

#logo{
   display: none;
   float:left;
}

#avatar h4{
   text-align: right;
   clear: both;
   margin-bottom: 0.3em;
}

#avatar img{
   float: right;
   margin-bottom: 0.5em;
}

#footer {
   font-size: 0.8em;
   font-weight: lighter;
   font-style: italic;
   text-align: right;
   margin-top: 2em;
}

#menuElementsBar {
   width: 100%;
   margin: auto;
   display: flex;
}

#menuElementsBar .menuElementItem {
   width: 25%;
}

#offerElementsBar {
   width: 100%;
   margin: auto;
   display: flex;
}

#offerElementsBar .offerElementItem {
   width: 33%;
}

#noMenus {
   margin: 1em;
}

#noOffers {
   margin-bottom: 1em;
}

#changeStyle {
   width: 10em;
}

#addMenuForm  {
   padding: 0 0 1em 0;
   margin-top: 1.5em;
   background-color: darkseagreen;
}

#addOfferForm  {
   padding: 0 0 1em 0;
   margin-top: 1.5em;
   background-color: darkseagreen;
}

#features {
   margin-top: 1.5em;
}

#expl_icons {
   display: flex;
   flex-direction: column;
   align-items: center;
}

#localeSelect { /*elminar este estilo para mostrar selección de idioma */
   display: none;
}

#cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f2f2f2;
    padding: 10px;
    text-align: center;
    z-index: 9999;
}

#checkout-button {
   cursor: pointer;
   color: palegoldenrod;
   font-size: 1.0em;
   padding: 1em;
   border: 1px solid;
   background-color: forestgreen;
   font-weight: bold;
   text-align: center;
   width: 100%; 
}

#checkout-button:hover {
   background-color: darkseagreen;
   box-shadow:none;
}

#terms {
   display: inline;
}

#modal_terms {
   display: none;
}

#restregister img{
   display: block;
   margin: 0 auto;
}

#log_reg_buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

#log_reg_buttons .btn {
  cursor: pointer;
  width: 100%;
}

.nav_bar {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 0.5em;
    display: flex;
    list-style-type: none;
    background: palegoldenrod;
}

.nav_bar li {
   padding: 1em;
   float: left;
   width: 20%;
   display: flex;
   align-items: center;
   justify-content: center
}

.not_logged_in_nav_bar {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    list-style-type: none;
    background: forestgreen;
}

.not_logged_in_nav_bar li {
   padding: 1em;
   float: left;
   width: 50%;
   text-align: center;
}

.auth_bar {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    background: forestgreen;
}

.auth_bar li {
   padding: 1em;
   float: left;
   width: 50%;
   text-align: center;
}

.logged_in_user_nav_bar {
    width: 100%;
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    list-style-type: none;
    background: palegoldenrod;
}

.logged_in_user_nav_bar li {
   padding: 1em;
   float: left;
   width: 33.333333%;
   display: flex;
   align-items: center;
   justify-content: center;
}

.tabheader {
    width: 100%;
    margin-bottom: 0em;
    padding: 0em 0em 0em 0em; 
    display: inline-block;
    list-style-type: none;
    background: forestgreen;
}

.tabheader li {
   padding: 1em;
   float: left;
   width: 50%;
   text-align: center;
}

.min_margin {
   margin-left: 0.2em;
   margin-right: 0.2em;
}

.indent {
   padding-left: 1em;
}

.fit-to-floated-content {
   padding: 1em;
   margin-bottom: 1em;
   width: min-content;
   overflow: hidden;
}

.fit-to-content {
   padding: 1em;
   width: min-content;
   margin: auto;
   overflow: hidden;
   background-color: white;
/*   border-radius: 0.5em;*/
}

.tabcontent {
   display: block;
   padding: 1em;
}

.hidden {
   display: none;
}

.success {
   color: green;
   font-weight: bold;
   margin: auto;
}

.hidden_div {
   visibility: hidden;
   overflow: hidden;
   height: 0;
}

.display_none{
    display: none;
}

.inactive {
   opacity: 0.2;
}

.active {
   opacity: 1;
}

.block {
   display: block;
}

.nav_btn {
/*   width: 20%; */
}

.btn {
   cursor: pointer;
   background-color: palegoldenrod;
   padding: 0.6em;
/*   margin-left: 0.2em;
   margin-right: 0.2em;*/
   border: none;
/*   margin-bottom:0.5em;
   border-radius: 0.3em;
   box-shadow: 0.1em 0.1em 0.3em darkseagreen;*/
   color: forestgreen;
   font-weight: bold;
   text-align: center;
   width: 100%; 
}

.btn_selected {
   cursor: pointer;
   background-color: darkseagreen;
   padding: 0.6em;
/*   margin-left: 0.2em;
   margin-right: 0.2em;
   margin-bottom:0.5em;*/
   border: none;
/*   border-radius: 0.3em;
   box-shadow: none;*/
   color: forestgreen;
   font-weight: bold;
   text-align: center;
}

.btn:hover {
   background-color: darkseagreen;
   box-shadow:none;
}

.btn_simple {
   cursor: pointer;
   padding: 0.1em;
   margin-left: 0.7em;
   margin-right: 0.7em;
   margin-bottom:0.2em;
   border: none;
}

.btn_simple:hover {
   background-color: darkseagreen;
   box-shadow:none;
}

.icon {
   cursor: pointer;
   background-color: palegoldenrod;
   padding: 0.6em;
/*   margin-left: 0.2em;
   margin-right: 0.2em;*/
   border: none;
/*   margin-bottom:0.5em;
   border-radius: 0.3em;
   box-shadow: 0.1em 0.1em 0.3em darkseagreen;*/
   color: forestgreen;
   font-weight: bold;
   text-align: center;
}

.container {
   padding: 1em;
}

.right-align {
   float: right;
}

.left-align {
   float: left;
   padding-right: 0.5em;
}

.center {
   text-align: center;
}

.clear-both {
   clear: both;
}

.inline {
   display: inline;
   margin-bottom: 1em;
}

.flex-inline {
   position: relative;
}

.flex-inline img {
   width: 22px;
   position: absolute;
   top: 1px;
   right: 2px;
   padding: 0.1em;
}

/*.separator_character {
   max-height:100%;
   max-width:100%;
}*/

.default-text {
/*   display: inline;*/
   text-align: center;
   padding-bottom: 0.5em;
}

.forgot {
   font-size: 0.7em;
   float: right;
}

#offerList h1 {
   margin-top: 0.2em;
}

.offerItemBar h3 {
   display: inline;
   margin: 0;
}

.offerItem {
   overflow: auto;
   border-bottom: solid 1px;
   clear: both;
   padding-bottom: 0.5em;
   margin-bottom: 2em;
}

.offerItem:hover {
   background-color: lightgray;
}

#menuList {
   margin-top: 1em;
}

#menuList h1 {
   margin-top: 0.2em;
}

#showPrev {
   padding: 0.5em;
   margin: 1em auto;
}

#radio_buttons {
   display: flex;
}

#radio_buttons input {
   width: 2em;
   margin-right: 1em;
}

#form_admin_fields {
   margin: auto;
   padding-top: 1.5em;
}

#form_admin {
   display: grid;
}

#registrationAdmin h2 {
   text-align: center;
}

#contact_link:hover {
   background-color: lightgray;
   cursor:pointer;
}

#contactForm {
   max-width: 480px;
   margin: auto;
}

#contactForm input,textarea,button {
   display: block;
   width: 100%;
   margin-bottom: 1em;
}

#contactForm textarea {
   height: 15em;
   padding: 0.5em;
}

.menuItemBar:hover {
   background-color: lightgray;
}

.menuItemBar h3 {
   display: inline;
   margin: 0;
}

.menuItem {
   overflow: auto;
   border-bottom: solid 1px;
   clear: both;
   padding-bottom: 0.5em;
   margin-bottom: 2em;
}

.favItem {
   overflow: auto;
   border-bottom: solid 1px;
   clear: both;
   padding-bottom: 0.5em;
   padding-top: 0.5em;
   margin-bottom: 2em;
   margin-left: 1em;
}

.favItem h3 {
   display: inline;
   margin: 0;
}

.inline-block {
   display: inline-block;
}

.img_btn_big {
   margin-left: 0.7em;
   margin-right: 0.7em;
}

.img_btn_big:hover {
   background-color: darkseagreen;
   box-shadow:none;
}

.caption {
   text-align: center;
/*   margin-bottom: 3em;*/
}

.expl_div {
   margin: auto;
   margin-bottom: 3em;
/*   display: flex;
   justify-content: center;
   align-items: center;*/
}

.pic_landscape {
/*   width: 600px; */
   max-width: 100%;
   height: auto;
   display: block;
   border-radius: 6px;
}

.pic_portrait {
   width: 300px;
}

.flex-container {
   display: flex;
}

.flex-half-column {
   width: 50%;
}

.btn_center {
   display: block;
   margin: 1em auto;
}

.btn_red {
   background-color: sandybrown;
}

.modal {
   z-index: 1;
   width: 100%;
   height: 100%;
   position: fixed;
   padding-top: 200px;
   top: 0;
   left: 0;
   overflow: auto;
   background-color: rgb(120,120,120);
   background-color: rgba(0,0,0,0.4);
}

.modal-content {
   width: 80%;
   max-width: 40em;
   background-color: white;
   padding: 1em 1em 1em 1em;
   margin: auto;
   border: 1px solid black;
   border-radius: 1em;
   text-align: justify;
}

.modal-content li {
   margin-left: 1em;
}

.close_btn {
   color: #aaaaaa;
   float: right;
   font-size: 1.2em;
   font-weight: bold;
}

.close_btn:focus, .close_btn:hover {
   color: #000;
   cursor: pointer;
}

.lang_selected {
   border: 2px solid darkseagreen;
}

.lang_not_selected {
   border: none;
}

.errors {
   color: red;
   padding: 0.5em;
}

.prevList {
   list-style: none;
   margin: 2em;
}

.prevListItem {
   padding: 1em;
   border-bottom: 1px solid green;
}

.prevListItem:hover {
   padding: 1em;
   border-bottom: 2px solid green;
   background-color: white;
   cursor: pointer;
}

.prevListItemName {
   font-size: 1.5em;
   font-style: italic;
}

.prevListItemRest {
   font-size: 0.9em;
   float: right;
}

.buttonsBar {
   display: flex;
}

.link {
   color: forestgreen;
   text-decoration: none;
}

.padding-left {
   padding-left: 0.5em;
}

.inline-name {
   display: flex;
   flex-direction: row-reverse;
   width: 100%;
}
        
.summary-section {
    background-color: #eee;
    padding: 10px;
}

.highlight {
    background-color: palegoldenrod;
    font-weight: bold;
}

.bannerBackground {
   width: 100%;
}

.tooltip {
  position: relative;
  display: block;
/*  border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

/*.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}*/

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.favItemBar {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.favItemBar a {
   width: 80%;
}

.high_button {
   cursor: pointer;
   color: palegoldenrod;
   font-size: 1.0em;
   padding: 1em;
   border: 1px solid;
   background-color: forestgreen;
   font-weight: bold;
   text-align: center;
   width: 100%; 
}

.high_button:hover {
   background-color: darkseagreen;
   box-shadow:none;
}

.mini {
   font-size: small;
   margin-bottom: 0em;
}

.padded {
   padding: 1em;
   background-color: white;
}
