/**
//                   style_tablemenu.css         VALID  CSS3 
// Template Name:  RISTORANTE IL PORTICO TP    ONLY PER TABLE MENU' 
// Version 1.0
// Author: Anastasi Michelangelo
// Email:  m.anastasi@amwebdesign.tp.it
// Developed By: http://www.amwebdesign.tp.it/
// Release: 01 AGOSTO 2023
// Author:  Anastasi Michelangelo cell. 347 4830468
-------------------------------------------------------------------*/
	
	
	table {  font-family: 'Asap', sans-serif;
		width: 100%; 
		border-collapse: collapse; 
	}
	
	table h4 {font-family: 'Asap', sans-serif; font-size:16px; margin-left:25%; color:#777}	
	
	/* stilizzazione "zebrata" delle righe della tabella */
	tr:nth-of-type(odd) { 
		background: #EFE4B0; 
	}
    th { font-family: 'Asap', sans-serif; font-size:16px!important;background: #333; color: #FFF;
		
	}
	td { font-family: 'Asap', sans-serif; font-size:14px;
		padding: 2px; 
		border: 1px solid #777; 
		text-align: left; 
	}
/* 
	Questa query aggiunge del CSS per tutti gli schermi con
	una risoluzione inferiore a 760px
	*/
	@media 	only screen and (max-width: 760px),  
	(max-width: 1024px) and (min-width: 768px){		
	
		table { font: 9px tahoma, Serif; 
		width: 100%; 
		border-collapse: collapse; 
	}
		/* Forza la tabella a non essere più una tabella */
		table, thead, tbody, th, td, tr { 
			display: block; 
		}
		
		/* Nasconde la testata della tabella (senza il dispaly non per una maggiore accessibilità) */
		thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		tr { border: 1px solid #ccc; }
		
		td { 
			/* Per comportarsi come una "riga" della tabella */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}
		
		td:before { 
			/* Per inserire una descrizione ad ogni tabella */
			position: absolute;
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		
		/*
		Dati di ogni descrizione	
		*/
		td:nth-of-type(1):before { content: "Codice"; }
		td:nth-of-type(2):before { content: "Descrizione"; }
		td:nth-of-type(3):before { content: "Prezzo"; }
	}
	
	/* Smartphones (portrait and landscape) ----------- */
		@media only screen and (max-width: 480px) and (min-width: 320px){
		table {  font-family: 'Asap', sans-serif; font-size:1em; 
		width: 100%; 
		border-collapse: collapse; }
			table h4 {font-family: 'Asap', sans-serif; font-size:1em; color:#777	}	
	}	
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (max-width: 1024px) and (min-width: 768px){	
		table {  font-family: 'Asap', sans-serif; font-size:12px;
		width: 100%; 
		border-collapse: collapse; }
	
	}


