/*					Denna är för grundversionen av startskärm. Används också i mfr_recipes_new      */

/*cccccccccccccccccccccccccccccccccccccccccccccccccccccccc			General		*/
* 	{
	box-sizing: border-box;						
	}

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

/*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC		The grid container */
.grid-container {
	display: grid;
	grid-template-areas: 
    'header header header header' 
    'middle middle middle right' 
    'footer footer footer footer';
	grid-template-columns: auto auto auto 350px;
	/* grid-column-gap: 10px; - if you want gap between the columns */
	} 

.headerx {
	font-family:  Comic Sans MS, Arial, Helvetica, sans-serif;
	grid-area: header;											/* name to refer to */
	background-color: #bfbfbf;
	padding: 1px;
	text-align: center;											/* horizontal alignment */
	font-size: 15px;
	height: 100px;
	}
	
h1.h1x {font-family: lucida handwriting, Comic Sans MS, Arial, Helvetica, sans-serif;
	font-size: 35px;
	color: #333300;
	padding: 0; margin: 0;
	}

.middle,
.right {
	bckground-color: #b3b3b3;
	padding: 1px;
	heght: 890px; /* Should be removed. Only for demonstration */
	}


.middle {
	grid-area: middle;
	}

.right {
	grid-area: right;
	}
	
		
.footerx {
	grid-area: footer;
	background-color: #404040;
	color: white;
	padding: 22px;
	height: 80px;
	vertical-align: middle;
	text-agn: center;
	}

/*
.footerx {
	grid-area: footer;
	background-color: #e6e6e6;
	padding: 0px;
	text-agn: center;
	}
*/






	
/*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC				Meny-griden		*/

#inner-grid-menu {
	display: grid;
    grid-template-columns: auto auto auto auto auto 28px 28px 28px;
	justify-content: center;
	}

/*
#inner-grid-recipe {
	display: grid;
    grid-template-columns: auto auto;
	justify-content: center;
	}
*/

#inner-grid-menu a{												/* here we fix the menutexts */
	text-decoration: none;									/* no underlines */
	color: black;
	padding: 25px 38px 0px 38px;
	width: 150px;											/* denna lades till vid problem då startkoden inkluderades med annat prog (eg recipe new)  */
	}
	
#inner-grid-menu a:hover {												/* here we fix the menutexts */
	text-decoration: underline;
/*	background-color: #ddd;    */
	color: tomato;
	}


/*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC			dropdown härifrån */
.dropdownx {
	float: left;
	/*  overflow: hidden										this caused Sv to disappear for small screen sizes, hence commented  */
	}

.dropdownx .dropbtnx {									/* this is the dropbutton (Sv) */
	font-size: 17px;    										/* size of text in drop-down button */
	border: none;
	outline: none;											/* no extra "margins" */
	color: black;
	width: 132px;
	height: 50px;
	padding: 25px 16px 0px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
	cursor: pointer;
	border-radius: 0em;
	box-shadow: none;
	}  
	
#dropdownx-content {											/* this is the "dropdownlist" */
	display: none;											/* this means that the dropdownlist is not shown */
	position: absolute;
	background-color: #f9f9f9;
	min-width: 135px;											/* width of the drop down list  */
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;												/*  ??????????????????????????? */
	}															

#dropdownx-content a {										/* this is for the items in the "dropdownlist" */
	float: none;												/* the items are shown vertically ?????????????????? */
	color: black;												/* colour of TEXT in dropdown item */
	padding: 8px 22px 0 30px;
	text-decoration: none;									/* no underline for the item text */
	display: block;		
	text-align: left;										/* itemtexerna in the dropdownlist are left-aligned */
	}
	
.dropdownx:hover .dropbtnx {									/* when you hover the drop-button Sv */
/*	background-color: #ddd;								*/
	color: tomato;													/* chg to this colour when you hover the drop-button  */
	text-decoration: none;
	}

.dropdownx:hover #dropdownx-content {
	display: block;
	text-decoration: none;

}

/*CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC               GOOGLE-font */
.w3-sofia {
  font-family: Lobster, cursive;
}

/* CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC   Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .grid-container  {
		grid-template-areas: 
			'header header header header header' 
			'left left left left left' 
			'middle middle middle middle middle' 
			'right right right right right' 
			'footer footer footer footer footer';

			}
	}
img.fragtkn:hover{
			cursor: pointer;
			}

/*								Detta är för search:en som kommer från W3-school    */

div.example input[type=text] {
  padding: 10px;
  font-size: 17px;
  border: 1px solid grey;
  float: left;
  width: 80%;
  background: #f1f1f1;
}

div.example button {
  float: left;
  width: 20%;
  padding: 10px;
  background: #2196F3;
  color: white;
  font-size: 17px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

div.example button:hover {
  background: #0b7dda;
}

div.example::after {
  content: "";
  clear: both;
  display: table;
}


