 body {
          margin: 0;
          font-family: Arial;
      }
	  /*
          .header {
              background-color: #2196F3; 
          
              padding: 10px;
           
              height: 90px;
              position: fixed;
              top: 20px;
              width: 00%;
              z-index: 1;
 
            #logo {
              margin: 0;
              float: left;
              height: 75px;
              width: 75px;
            }
          }
           .header h1 {
              margin: 0;
              color: #FFF; 
           }
 
          ul {
               list-style-type: none;
               margin: 10px;
               padding: 0;
               overflow: hidden;
               background-color:#2196F3;
           }
          li {
             float: right;
          }
          li a {
             display: block;
             padding: 6px;
             color: white;
             text-decoration: none;
          }
          li a:hover {
             background-color: #6BCB6C;
             border-radius: 50px;
           }
		   
		   */
     .p1 {
             text-align: left;
     }
     .footer-links {
             text-align: center;
     }

.container {
  position: relative;
  text-align: left;
  color: white;
  /*
  width: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;*/
}

 .bg-image {

    background-image: url('images/background-image.jfif');
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
     
 }

.text-overlay {
  position: absolute;
  top: 70px;
  left: 2%;
  font-size: 36px;
  padding: 10px;
}
@media screen and (max-width: 600px) {
 .text-overlay {
	  position: absolute;
	  top: 15px;
	  left: 2%;
	  font-size: 20px;
	  padding: 10px;
 }
 .bgimage {
	 max-width: 100%;
	 position:fixed;
	 left:0;
	 height: auto;
	 
 }
 .btn1 {
	 position: absolute;
	 top: 200%;
	 left: 0%; 
 }
}
 /* Keep image on standard size */

 .btn1 {
    float: right;
    right: 0;
    border-radius: 4px;
    background-color: #00bcd4;
    font-size: 20px;
    padding: 10px 24px;
    border-color: white;   
    color: white;
	transition: background-color 0.3s ease;
 }
 .btn1:hover {
    background-color: #008c9e;
	/*color: #008c9e;*/
 }
/* body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    text-align: center;
    padding: 50px;
} */

h2 {
    color: #1e81b0;
    font-family: Arial;
    font-size: 25px;
    text-align: center;
}

td { text-align: center;
     width: auto;
}
th { text-align: center;
     width: auto;
	 border: 2px;
}

#details-table {
	border: 1px solid #ddd;
	border-radius: 4px;
	width:100%;
}
#details-table td {
  border: 1px solid #ddd;
  padding: 8px;
}
#details-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #1e81b0;
  color: white;
  border: 1px solid;
}

#details-table tr:nth-child(even){
	background-color: #f2f2f2;
	}

#details-table tr:hover {
	background-color: #ddd;
	}


.mylogin-form {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px #000;
    width: 50%;
	height: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
	resize: both;
    overflow: auto;
}

 .register-form {
     background: #fff;
     border-radius: 5px;
     box-shadow: 0px 0px 10px 0px #000;
     width: 560px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     height: 560px;
     font-size: 15px;
	 margin-top: 6%;
 }

.search-form {
  display: flex; 
  width: 100%;
  max-width: 300px;
  margin: auto; 
 }


 .search-form button {
  float: left;
  width: 22%;
  height: 37px;
  padding: 0px;
  background: #2196F3; 
  color: white;
  font-size: 15px;
  border: 1px solid white;
  border-radius: 4px;
  /* border-left: none; */ 
  cursor: pointer;
} 

.search-form button:hover {
  background: #DFDFDF;
  color: #1e81b0;
}


 .publisher-form {
     background: #fff;
     border-radius: 5px;
     box-shadow: 0px 0px 10px 0px #000;
     width: auto;
     margin: 0 auto;
     display: table;
     /*flex-direction: row;*/
     height: auto;
     font-size: 15px;
	 margin-top: 12px;
	 
	 /*display: none;*/
 }

.textarea{
    display: block;
    width: 250px;
    min-height: 100px;
    resize: none;
    font-size: 16px;;
    /*color: #1e81b0;*/
    border: 1px solid;
    border-radius: 4px;
    outline: none;
}

 .button-container {
            display: flex;
            justify-content: space-between;
 }


label {
	
    display: block;
    margin-bottom: 8px;
	font-size: 17px;
	color: #1e81b0;
	margin-top: 12px;
	padding:6px;
}

.label {
	padding: 2px;
	display: table-cell;
	font-size: 20px;
	color: #1e81b0;
}

.select  {
      width: 75%;
      padding: 4px;
      margin-bottom: 10px;
      border:6 1px solid #ccc;
      border-radius: 4px;
      font-size: 15px;
	  float: left;
  }
#_email {
        width: 300px;
        padding: 10px;
        margin-bottom: 10px;
        margin-top: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 15px;
    }

 #_nombre  {
           width: 300px;
           padding: 10px;
           margin-bottom: 10px;
           margin-top: 10px;
           border: 1px solid #ccc;
           border-radius: 4px;
           font-size: 13px;
      }

#password  {
            width: 200px;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 15px;
       }


input {
    width: 75%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
	display: block;
}



input[type=submit] {
    background: #00bcd4; 
    color: white;
    padding: 10px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
	width: auto;
}

input[type=submit]:hover {   
	  background: #008c9e;	  
}

input[type=reset] {
    background: #00bcd4; 
    color: white;
    padding: 10px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto;
    display: flex;
    width: auto;
}

input[type=reset]:hover {
   
	  background: #008c9e;
}

input[type=number] {
	width: 100px;
}
input[type=radio],
    input.radio {
      float: left;
      clear: none;
      margin: 2px 0 0 2px;
    }

main {
    margin-top: 70px;
    padding: 20px;
}

.p1 {
    color: #fff;
    font-size: 17px;
	background-image: linear-gradient(to right, #00bcd4,#008c9e);
	border-radius: 4px;
}   

.column {
  float: left;
  padding: 10px;
}

.left {
  width: 50%;
}

.right {
  width: 50%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.search {
  position: absolute;
  color: #FFF;
  top:10%;
  right: 5%; 
}


.error {
   color: red;
   margin: 0 auto;
   font-size: 25px;  
   text-align: center;
   height: 120px;
}

.button {
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: flex;
  column-gap: 10px
  font-size: 15px;
  margin: auto;
  
  cursor: pointer;
  /*background: #008CBA;*/
  background-color: #00bcd4;
  border-radius: 4px;
  width: auto;
 }
 .button:hover {
	  background: #008c9e;
	  /*color: #1e81b0;*/
 }
 .button:disabled,button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
  pointer-events:none;
}
 .reset {
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline;
  font-size: 15px;
  margin: 0 auto;
  cursor: pointer;
  background: #00bcd4;
  border-radius: 4px;
  width: 150px;
 }
 .reset:hover {
	  background: #008c9e;
 }
 
 .success {
   color: green;
   margin: 0 auto;
   font-size: 18px;
   text-align: center;
 }
 /*
 .success button {
   float: left;
   width: 22%;
   height: 37px;
   padding: 0px;
   background: #2196F3; 
   color: white;
   font-size: 13px;
   border: 1px solid white;
   border-radius: 4px;
  /* border-left: none; */ 
   cursor: pointer;
 }
 .success button:hover {
	  background: #008c9e;
 }
 */
 #hiddenMessage {
   display: none;
 }
 
 .table {
    display: table;
}

.mycolumn {
    margin-bottom: 1em;
    width: 50%;
}

.myrow {
    /*border: 1px black solid;*/
    height: 3em;
    margin: auto;
    width: 50%;
}

.cell {
	display: table-cell;
}
 
.buttons {
   width: auto;  
   margin: 0 auto;
   display: inline;
   cursor: pointer;
   background: #2196F3;
   border-radius: 4px;
}

.buttons:hover {
	  background: #6BCB6C;
 }
.button2 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

.action_btn {
   width: auto;
   margin: 0 auto;
   display: inline;
   cursor: pointer;
   background: #2196F3;
   border-radius: 4px;
   color: white;
}
.action_btn:hover {
	  background: #6BCB6C;
 }
 
 /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 320px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 18px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.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;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.radio-class {
      float: left;
      clear: none;
    }
.div_container {
   text-align: center;
   background-color: #D3D3D3;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   flex: 1;
   width: 100%;
   flex-flow: row wrap;
   
 }
.div_container_text {
        font-size: 25px;
		display: flex;
		width:100%;
		color: #1e81b0;
		justify-content: center;
}
.colspan {
  display: table-cell;
  width: 100%;
}
.form-container { 
	  display: table; 
	  width: auto; 
	  border-collapse: collapse;
	  border-radius: 5px;
      box-shadow: 0px 0px 10px 0px #000;
	  font-size: 15px;
} 
.table-row { 
	  display: table-row; 
	  margin-top: 6px;
	  /*width: 100%; */
} 
/* Clear floats after the columns */
.table-row:after {
  content: "";
  display: table;
  clear: both;
}
.table-cell { 
	  display: table-cell;
	  padding: 10px;
	  border: 1px solid #ccc;
	  margin-top: 6px;
	  width: auto;
}
.table { 
      display: table; 
	  width: 100%; 
	  border-collapse: collapse;
	  margin: 0 auto;
	  border: 1px solid #ccc;
      border-radius: 2px;
	}
	
.disabled {
	pointer-events: none; 
	color: gray;
}

.filter_check {
    width: 30px;
	height:30px; 
	margin: auto;
	
}

fileupload {
  border: 1px solid #e5e5e5;
}

input[type=file]::file-selector-button {
  background-color: #fff;
  color: #000;
  border: 0px;
  border-right: 1px solid #e5e5e5;
  padding: 10px 15px;
  margin-right: 20px;
  margin-top: 40px;
  transition: .5s;
}

input[type=file]::file-selector-button:hover {
  background-color: #eee;
  border: 0px;
  border-right: 1px solid #e5e5e5;
}
.mydiv {
  display:block;
  background:#d3d3d3;
  width:100%;
  height:100%;
  margin-top:20px;
  cursor:pointer;
  border-radius: 4px;
  
}
.mydiv:hover {
	
	color: #00bcd4;
	text-decoration: bold;
}

#scale {
  margin-right: 1rem;
  cursor: pointer;
}

output {
  display: inline-block;
}
#frame {
  width: 300px;
  height: 300px;
  transform-origin: top left;
}

.dialog {
  width: 90%;
  max-width:90%;
  height:90%;
  /*background-color: rgba(0,0,0, 0.7);*/
  color:#1e81b0;
  border-radius: 6px;
  position: absolute;
  overflow: scroll;
}
.dialog_msg {
  width: 40%;
  max-width:40%;
  height:30%;
  /*background-color: rgba(0,0,0, 0.7);*/
  color:#1e81b0;
  border-radius: 6px;
  position: absolute;
  //overflow: scroll;
}

.dialog img {
	width:100%;
	height: auto;
}

dialog::backdrop {
  background-color: rgba(0,0,0, 0.35); /* Semi-transparent gray */
  
}

.listingdiv {
	background-color:#D3D3D3;
	border-radius: 8px;
	height: auto;
	
	
	/*margin:0 auto;
	width:100%;
	text-align:center;
	line-height:80px;
	
	color:#1e81b0;
	font-size:25px;
	*/
	
}

.grid-container {
	/*
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
	transition: transform 2s ease;
	*/
	--n: 3; /* number of rows*/
    --m: 5; /* number of columns */
    --h: 100px; /* control the height */
    --w: 120px; /* control the width */
    --g: 10px;  /* controls the gap */
    --f: 4.0;   /* Zoom 4X */
	--s: 200px; /* controls the size */
	display: grid;
    gap: var(--g);
	/*
    width:  calc(var(--m)*var(--w) + (var(--m) - 1)*var(--g));
    height: calc(var(--n)*var(--h) + (var(--n) - 1)*var(--g));
	*/
	width:  calc(var(--m)*var(--s) + (var(--m) - 1)*var(--g));
    height: calc(var(--n)*var(--s) + (var(--n) - 1)*var(--g));
    grid-template-columns: repeat(var(--m),auto);
	
    aspect-ratio: 1;
	
}
.grid-container > img {
	width: 0;
    height: 0;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
	
}
.grid-container img:hover{
	
  width:  calc(var(--w)*var(--f));
  height: calc(var(--h)*var(--f));
  
}
.grid-item img {
	display: grid;
    width: auto;
    height: 100%;
	cursor: zoom-in;
	transition: transform 2s ease;
}

.hidechkbox {
	display: none;
}
.hidechkbox:checked ~ label > img {
  transform: scale(2.0);
  cursor: zoom-out;
  border: 1px solid #ddd;
  border-radius: 5px;
  
}
.image-row { 
    display: flex;                   /* Use flexbox for layout */ 
    flex-wrap: wrap;                /* Allow wrapping to the next line */ 
    justify-content: space-around;  /* Distribute space evenly */ 
    align-items: center;            /* Center items vertically */ 
    /*margin: 0 auto;                 /* Center the row */ 
} 
 
.image-row img { 
    width: 100%;                    /* Make images responsive */ 
    height: auto;                   /* Maintain aspect ratio */ 
    flex: 1 1 auto;                 /* Allow images to grow and shrink */ 
    margin: 5px; 					/* Add some space between images */ 
	border-radius: 5%;
} 

.img_zoom {
 transform: scale(1.5);
}

/* New CSS for images */
/* Container styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 10px;
  max-widtgalleryh: 1200px;
  margin: 0 auto;
}

/* Image container styles */
.image-container {
  position: relative;
  overflow: visible;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  
}

.image-container img {
            display: block;
            max-width: 100%;
            position: relative;
            z-index: 1; /* Bring image to the front */
			
        }
/* Basic hover effect */
.interactive-element {
  
 /* width: 100%;
  height: 100%;
  max-height: 100%;*/
  object-fit: cover;
  transition: transform 0.2s ease-out;
  /* Ensure smooth transitions for all properties */ 
  will-change: transform;
    
}

.interactive-element:hover {
  overflow: auto;
  transform: scale(2.5);
  z-index: 10; 
}

.scrollable {
            overflow: auto;
            max-height: 200px; /* Limit height to make it scrollable */
            position: relative;
            z-index: 10; /* Bring scrollable image to the front */
        }
.scrollable img {
            width: 100%;
            height: auto;
}      
@media (prefers-reduced-motion: reduce) {
  /* Disable effect if a user’s device settings are set to reduced motion */
  .interactive-element:hover {
    transform: none;
  }
}

/* End new CSS for images */
	
/* Slogan animation */
@keyframes slogan {
  0%   {color: white; left: 0px; top: 0px;}
  100%  {color: #FFF; left: 6%; top: 17%;}
}

/* Responsive Design for nav menu*/
@media (max-width: 768px) {
   ul {
    flex-direction: column;
    display: block;
    background-color: #333;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  

  li {
    text-align: center;
    margin: 10px 0;
  }

  .search {
    display: none;
  }
}

	 /* End responsive code */
	 
.listing-form {
  margin-top: 6%;
}
	/* Responsive code for listings form */
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  h2 {
	  text-align: left;
  }
  .button {
	  display: flex;
  }
   .listingdiv, .register {
    /*width: 100%;
    margin-top: 0;*/
	
    display: flex;
    /*max-width: -moz-fit-content;*/
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;

  }
}	
.bgimage {
  width: 100%;
  position:fixed;
  left:0;
}

.embed-container {
	position: relative; 
	padding-bottom: 80%; 
	height: 0; 
	max-width: 100%;
} 
.embed-container iframe, .embed-container object, .embed-container iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
} 
small {
	position: absolute; 
	z-index: 40; 
	bottom: 0; 
	margin-bottom: -15px;
}