/*			                                 Detta är ursprungöigen en kopia av CSS-en för den gamla recipe siten    
											 OBS det är denna som, nu används till startskärm */

body        {font-family: arial, Times, serif; 
			font-style: italic;  
			font-size: 19px;

			background-color: lightgrey; 
			}

h1			{
			font-size: 1.2em;
			}

ul.top		{
			list-style-type: none;
			margin: 0;
			margin-left: 300px;
			padding: 0;
			overflow: hidden;
			}

li			{
			float: left;
			}

a:link, a:visited	
			{
			width: 100px;
			font-weight: normal;
			color: black;
			text-align: center;
			padding-left: 3px;  
/*			margin-top: 15px;			detta orsakade strulet med länkarna på receptsidan 26-27 jan   */
			text-decoration: underline;
			}
a.nytt:link, a.nytt:visited	
			{
			width: 100px;
			font-weight: normal;
			color: black;
			text-align: left;
			margin-top: 15px;
			text-decoration: underline;
			}

		
		
/* från xxx		*/
input[type=email], input[type=password], input[type=text]{
    width: 100px;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
	border-radius: 0.4em;
	font-family: arial, Times, serif; 
	font-style: italic;  
	font-size: 1em;
}

input.xxx [type=email], input.xxx[type=password], input.xxx[type=text]  {
    width: 370px;
    padding: 4px 5px;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
	border-radius: 0.4em;
	font-family: arial, Times, serif; 
	font-style: italic;  
	font-size: 1em;
}

input.ingr [type=email], input.ingr[type=password], input.ingr[type=text] {
    width: 390px;
	height: 20px;
    padding: 4px 5px;
    margin: 0px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
	border-radius: 0.4em;
	font-family: arial, Times, serif; 
	font-style: italic;  
	font-size: 0.8em;
}

input.num[type=number]  {
    width: 50px;
	height: 26px;
    padding: 4px 5px;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
	border-radius: 0.4em;
	font-family: arial, Times, serif; 
	font-style: italic;  
	font-size: 1em;
}

.nyknapp {									/* detta är den nya knappen för Avbryt bla   */
    background-color: white;
    color: black;
    padding:5px 15px;
    margin: 6px 0;
    border: 1px solid black;
    cursor: pointer;
    width: 110px;
	height: 30px;
	box-shadow: 0px, 0px;
	border-radius: 0em;	
	opacity: 1.0;
	cursor:pointer;
	box-shadow: 2px 2px;
	text-align: center;
}


.nyknappx {									/* detta är den nya knappen för upplägg bla   */
    background-color: white;
    color: black;
    padding:5px 15px;
    margin: 6px 0;
    border: 1px solid black;
    cursor: pointer;
    width: 150px;
	height: 40px;
	box-shadow: 0px, 0px;
	border-radius: 0em;	
	opacity: 1.0;
	cursor:pointer;
	box-shadow: 2px 2px;
	text-align: center;
}

/*
button.disabl:disabled {				 Login oc Ny avändare knapparna får sitt härifrån   
    background-color: #ccffcc;
    color: black;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 110px;
	height: 50px;
	box-shadow: 2px 2px;
	border-radius: 1em;
	opacity: 0.6;
	cursor:default;
}
*/

input.ingr[type=button] {
    background-color: #ccffcc;
    color: black;
    padding: 14px 20px;
    margin: 8px 0 30px 0;
	
    border: none;
    cursor: pointer;
    width: 110px;
	height: 50px;
	box-shadow: 2px 2px;
	border-radius: 1em;
	opacity: 1.0;
	cursor:default;
	position:relative;
	left:150px;
}

button, input[type=reset] {							/* AVBRYT knappen i login får sitt härifrån   */
    background-color: #ccffcc;
    color: black;
    padding: 8px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 110px;
	height: 50px;
	box-shadow: 2px 2px;
	border-radius: 1em;
}


textarea {
   	border-radius: 1em;
	font-family: arial, Times, serif; 
	font-style: italic;  
	font-size: 1em;
}

.cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}	

.error {color: #FF0000;}
/* från xxx hit  */			
		
div.container 
			{
			width: 100%;
			margin: auto;
	/*		padding: 40px 0px 0px 150px;  */
			border: 0px solid gray;
			
			
			}
/* från xxx		*/
div.container::after, .cdce::after
			{
			content: "";
			bacground: url(chef-4117262_1920.JPG);
	
			overflow-x: scroll;
			opacity: 0.2;
			top: 0;
			left: 0;
			bottom: 0;
			right: 0;
			position: fixed;
			z-index: -1; 
			}
			
span.psw {
     padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 600px) {
    span.psw {
       display: block;
       float: none;
    }
    .cancelbtn {
       width: 100%;
    }
}

/* från xxx hit  */	


		
div.content 
			{
			position: relative;
			left: 50px;
			width: 100%;
			margin: auto;
			border: 0px solid gray;
			}


div.ingr
			{
			position: relative;
			width: 410px;
			height: 150px;
			overflow-y: scroll;
			border: 0px solid gray;
			}

			
div.after-box 
			{
			position: relative;
			clear: both;
			width: 100%;
			}

div.header, div.footer 
			{
			padding: 0.5em;
			color: white;
			background-color: gray;
			clear: left;
			}

h1.header	{
			padding: 0;
			margin: 0;
			}
			
div.searchbox {position: relative;
			left: 20px;
			top: 10px;
/*			width: 10px;						denna finns i koden   */
			}
/*This removes border when searchfield gets focus (Recept screen)	*/
*:focus {
    outline: none;
}

/* enable absolute positioning */
.inner-addon { 
    position: relative; 
}

/* style icon */
.inner-addon .glyphicon {
  position: absolute;
  padding: 10px;
  pointer-events: none;
}

/* align icon */

.right-addon .glyphicon { right: 0px;}

/* add padding  */

.right-addon input { padding-right: 30px; }		

/*   Här är lite grejer för dropdownlistan i recipe_new, det mesta tagit från exemplet i w3-school   */

.dropdown {
    position: relative;
	left: 144px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}
/* detta gör att texten hamnar på övre raden istf nedre   */	
label{display:block; float:left;}

select
	{
    font-size: 16px;
	width: 200px;
	height: 166px;
}

div.rcplista
	{
 	width: 400px;
	height: 250px;
}
/*  Below is spec for recipe display screen   */
div.displaydescr {
	position: relative;
	left: 457px;
 	width: 60%;
	height: 100px;
	top: -30px;
	padding: 3px;
	overflow: auto;
	border-radius: 0.3em;
	background-color: #f1f1f1;
	border: none;
	}
div.displayingr {
	position: relative;
	float: left;
 	width: 25%;
	height: 400px;
	top: 5px;
	left:150px;
/*	border: 3px solid #73AD21;	*/
	border: none;
	background-color: lightgrey;
	padding: 10px;
	overflow: auto;
	border-radius: 0.3em;
	}	
div.displayinstr {
	display: flex;
	position: relative;
	margin-left: 500px;

	top: 4px;
	width: 50%;
	height: 400px;
	border: none;
	
	padding: 10px;
	overflow: auto;
	border-radius: 0.3em;
	background-color: lightgrey;
	}
.dsplayrcpname {
	color: red;
	text-align: center;
	font-size: 1.6em;  
	font-weight: normal;
	font-family: arial, Times, serif; 
	font-style: italic;
	}

.col-25 {
  float: left;
  width: 10%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 25%;
  margin-top: 6px;
}
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* 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) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}
			

