/*
** Fonts
** -----------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script');
@font-face {
   font-family: 'Quirlycues';
   src: url(../fonts/Quirlycues.ttf);
}

/*
** Base html
** -----------------------------------------------------------------------------
*/

body {
  background-color: #af0000;
  color: #666;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: 50px;
}

ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


.vertical-align {
  display: flex;
  align-items: center;
}



.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.font-large {
  font-size: x-large;
}

.input_title{
    text-align: center;
    font-family: Dancing Script;
    font-size: xx-large;
}

.input_recipe_title{
    font-family: Dancing Script;
    font-size: 35px;
}

div.cart {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  float: right;
  color: #f9f9f9;
  padding-top: 5px;
  padding-right: 10px;
  z-index: 1;
}
.number {
		background: red;
		color: #FFFFFF;
		line-height: 25px;
		position: relative;
		left: -6px;
		text-align: center;
		bottom: 12px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
        
animation: animationFrames linear 1s;
  animation-iteration-count: 1;
  transform-origin: 0% 0%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: animationFrames linear 1s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 0% 0%;
  -webkit-animation-fill-mode:forwards; /*Chrome 16+, Safari 4+*/ 
  -moz-animation: animationFrames linear 1s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 0% 0%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: animationFrames linear 1s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 0% 0%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: animationFrames linear 1s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 0% 0%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
    
	}



@keyframes animationFrames{
  0% {
    transform:  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    transform:  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-moz-keyframes animationFrames{
  0% {
    -moz-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -moz-transform:  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    -moz-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-webkit-keyframes animationFrames {
  0% {
    -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -webkit-transform:  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    -webkit-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-o-keyframes animationFrames {
  0% {
    -o-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -o-transform:  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    -o-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

@-ms-keyframes animationFrames {
  0% {
    -ms-transform:  scaleX(1.00) scaleY(1.00) ;
  }
  50% {
    -ms-transform:  scaleX(1.40) scaleY(1.40) ;
  }
  100% {
    -ms-transform:  scaleX(1.00) scaleY(1.00) ;
  }
}

/* Sternebewertung */ 

span#Bewertung { 
 line-height: 45px; 
} 

span.sternebewertung { 
 float: left; 
} 

span.sternebewertung:not(:checked) > input { 
 display: None; 
} 

span.sternebewertung:not(:checked) > label { 
 float: right; 
 width: 1.1em; 
 padding: 0.1em; 
 overflow: Hidden; 
 white-space: Nowrap; 
 cursor: Pointer; 
 font-size: 100%; 
 line-height: 1.2; 
 color: #D0D0D0; 
 transition: all .5s; 
} 

span.sternebewertung:not(:checked) > label:before { 
 content: '★ '; 
} 

span.sternebewertung > input:checked ~ label { 
 color: #af0000; 
  
} 

span.sternebewertung:not(:checked) > label:hover, 
span.sternebewertung:not(:checked) > label:hover ~ label { 
 color: #af0000; 
 
} 

span.sternebewertung > input:checked + label:hover, 
span.sternebewertung > input:checked + label:hover ~ label, 
span.sternebewertung > input:checked ~ label:hover, 
span.sternebewertung > input:checked ~ label:hover ~ label, 
span.sternebewertung > label:hover ~ input:checked ~ label { 
 color: #af0000;  
 
} 



.modalDialog {
		position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.8);
		
		opacity: 1;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		pointer-events: auto;
	}

	.modalDialog:target {
		opacity:0;
		pointer-events: none;
	}

	.modalDialog > div {
		width: 400px;
		position: relative;
		margin: 10% auto;
		padding: 5px 20px 13px 20px;
		border-radius: 10px;
		background: #fff;
		background: -moz-linear-gradient(#fff, #999);
		background: -webkit-linear-gradient(#fff, #999);
		background: -o-linear-gradient(#fff, #999);
	}

	.closemjs {
		background: #606061;
		color: #FFFFFF;
		line-height: 25px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
	}

	.closemjs:hover { background: #f9f9f9; text-decoration: none; }



/*
** Splash Screen
** -----------------------------------------------------------------------------
*/

#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1;
}

/*
** User Section
** -----------------------------------------------------------------------------
*/


#user {
  background-color: #f1f1f1;
  padding-top: 12px;
  padding-bottom: 24px;
 
}
#user h2 {
  color: #333;
  background-color: #f1f1f1;
  font-family: 'Dancing Script', cursive;
  font-size: 3em;
  margin-bottom: 12px;
  margin-top: 12px;
}
#user h3 {
  background-color: #f1f1f1;
  margin-top: 24px;
}
#user h5 {
  color: white;
  
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  
}
#user h6 {
  
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  
}
#user h7 {
  
    font-size: 1em;
  
}
.usertext {
  width: 100%;
  
  margin: 0 0 8px;
  background: #f1f1f1;
  
}
* {
  box-sizing: border-box;
}

.usercolumns {
  float: left;
  width: 25%;
  padding: 8px;
}

.usermenu {
  list-style-type: none;
  border: 1px solid #999;
  margin: 0;
  padding: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.usermenu:hover {
  box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

.usermenu .header {
  background-color: #999;
  color: #f1f1f1;
  font-size: 25px;
}

.usermenu li {
  border-bottom: 1px solid #999;
  padding: 20px;
  text-align: left;
}
@media only screen and (max-width: 600px) {
  .usercolumns {
    width: 100%;
  }
}
* {
  box-sizing: border-box;
}
.settingcolumns {
  float: left;
  width: 100%;
  padding: 8px;

}

.settingbox {
  list-style-type: none;
  border: 1px solid #999;
  margin: 0;
  padding: 0;
    background-color: #f9f9f9;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}


.settingbox .header {
  color: #f1f1f1;
  font-size: 25px;
  text-align: left;
   margin: 0;
  padding: 0;
}

.settingbox li {
  padding: 8px;
  text-align: left;
}

.form-inline .form-control {
  display: inline-block;
  margin:4px;
}

.color_preview {
background-color: #f1f1f1;
  border: 1px;
  border-color: #999;
  border-style: solid !important;
margin: 10px;
}

.recipe-info_preview .row {
  margin-top: 12px;
    margin-left: 6px;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #f9f9f9;
    font-size: 0.7em;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.recipe-ingredients_preview {
  background-color: #f9f9f9;
  margin-top: 24px;
}
.ingredients-list_preview dl {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.ingredients-list_preview dt {
  width: 15%;
  float: left;
  margin: 0 0 6px;
  padding: 0 7px;
  font-size: 11px;
  line-height: 27px;
  background: #f9f9f9;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.ingredients-list_preview dd {
  width: 85%;
  float: left;
  margin: 0 0 6px;
  padding: 0 10px;
  font-size: 11px;
  line-height: 27px;
  font-weight: 600;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
#preview_header {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(rgba(0,0,0,.15),
    #af0000),
    url("images/kitchen-banner.jpg");
}

/* PW Check */
#message {
  display:none;
   
 }
 
 #message p {
  padding: 0px 35px;
 }
 #messageRepeat {
  display:none;
   
 }
 
 #messageRepeat p {
  padding: 0px 35px;
 }
#messageEmail {
  display:none;
   
 }
 
 #messageEmail p {
  padding: 0px 35px;
 }
.valid {
  color: green;
 }
 
 .valid:before {
   position: relative;
  left: -35px;
  font-family: "FontAwesome";
  content: "\f00c";
  
 }
 
 /* Add a red text color and an "x" icon when therequirements are wrong */
 .invalid {
   color: red;
 }
 
 .invalid:before {
   position: relative;
   left: -35px;
   font-family: "FontAwesome";
  content: "\f00d";
 } 

/*
** Website Logo
** -----------------------------------------------------------------------------
*/

#logo {
  width: 100%;
  min-height: 250px;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(rgba(0,0,0,.15),
    #af0000),
    url("../images/kitchen-banner.jpg");
}
#logo img {
  height: 100px;
  width: auto;
  margin-top: 24px;
}
#logo h1 {
  font-family: 'Dancing Script';
  font-size: 72px;
  font-weight: lighter;
  padding-top: 24px;
  color: #f9f9f9;
}

/*
** Recipes Categories
** -----------------------------------------------------------------------------
*/


#search {
  background-color: #f9f9f9;
  padding-top: 12px;
  padding-bottom: 24px;
}
#search h2 {
  color: #333;
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  margin-bottom: 12px;
}

.show {
 display: block; 
}

.hide {
  display: none;
}

.searchbox {
  margin-top: 20px;
  overflow: hidden;
  display: flex; 
  flex-direction: row; 
}
/*
** Recipes Items
** -----------------------------------------------------------------------------
*/

#items {
  background-color: #f1f1f1;
  padding-top: 12px;
  padding-bottom: 24px;
}
#items h2 {
  color: #333;
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  margin-bottom: 12px;
}
#items h3 {
  margin-top: 12px;
  color: #666;
    font-size: 1.5em;
}
.recipe-item {
  margin-bottom: 24px;
  padding-bottom: 12px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.recipe-item img {
  width: 100%;
  height: auto;
}

/*
** Recipe Section
** -----------------------------------------------------------------------------
*/

#recipe {
  background-color: #f1f1f1;
  padding-top: 12px;
  padding-bottom: 24px;
}
#recipe h2 {
  color: #333;
  background-color: #f1f1f1;
  font-family: 'Dancing Script', cursive;
  font-size: 3em;
  margin-bottom: 12px;
  margin-top: 12px;
}
#recipe h3 {
  background-color: #f1f1f1;
  margin-top: 24px;
}
.recipe-picture {
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
  margin-top: 6px;
  margin-left: 0;
  -webkit-box-shadow:
    0px 0px 0px 1px #555;
  -moz-box-shadow:
    0px 0px 0px 1px #555;
  box-shadow:
    0px 0px 0px 1px #555;
}
.recipe-info .row {
  margin-top: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #f9f9f9;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.recipe-info i {
  color: #af0000;
}
.recipe-ingredients {
  background-color: #f1f1f1;
  margin-top: 24px;
}
.ingredients-list dl {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0;
  height: 37px;
  overflow: auto;
}
.ingredients-list dt {
  white-space: nowrap;
  width: 8%;
  float: left;
  margin: 0 0px;
  padding: 0 2px;
  font-size: 13px;
  line-height: 37px;
  background: #f9f9f9;
  overflow: auto;
  position: relative;
  z-index: 0;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.ingredients-list dd {
  white-space: nowrap;   
  width: 76%;
  float: left;
  margin: 0 0 8px;
  padding: 0 15px;
  font-size: 13px;
  line-height: 37px;
  font-weight: 600;
  overflow: auto;
  background: #af0000;
  color: #f9f9f9;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.ingredients-edit {
  width: 100%;
  float: left;
  margin: 0 0 8px;
  padding: 0 15px;
  
  background: #f9f9f9;
  color: #f9f9f9;
  -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}

.ingredients-edit-group {
  width: 100%;
  float: left;
  padding-left: 8px;
  
  background: #f1f1f1;
}
.recipe-directions ol {
    counter-reset: li;
    list-style: none;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.recipe-directions ol ol {
    margin: 0 0 0 2em;
}
.recipe-directions li {
    position: relative;
    display: block;
    padding: .4em .4em .4em .8em;
    *padding: .4em;
    margin: .5em 0 .5em 2.5em;
    background: #f9f9f9;
    color: #222;
    text-decoration: none;
    transition: all .3s ease-out;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.recipe-directions li:hover{
    background: #f1f1f1;
}
.recipe-directions li:before{
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -2.5em;
    top: 50%;
    margin-top: -1em;
    background: #af0000;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
    color: #f9f9f9;
}
.recipe-directions li:after{
    position: absolute;
    content: '';
    border: .5em solid transparent;
    left: -1em;
    top: 50%;
    margin-top: -.5em;
    transition: all .3s ease-out;
}
.recipe-directions li:hover:after{
    left: -.5em;
    border-left-color: #af0000;
}

.recipe-directions-edit ol {
    counter-reset: li;
    list-style: none;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.recipe-directions-edit ol ol {
    margin: 0 0 0 2em;
}

.recipe-directions-edit li {
    position: relative;
    display: block;
    margin: 0 0 8px;
  padding: 0 15px;
    background: #f9f9f9;
    color: #222;
    text-decoration: none;
    transition: all .3s ease-out;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
    -moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.recipe-directions-edit li:hover{
    background: #f1f1f1;
}
.recipe-directions-edit li:before{
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -2.5em;
    top: 50%;
    margin-top: -1em;
    background: #af0000; 
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
    color: #f9f9f9;
}
.recipe-directions-edit li:after{
    position: absolute;
    content: '';
    border: .5em solid transparent;
    left: -1em;
    top: 50%;
    margin-top: -.5em;
    transition: all .3s ease-out;
}
.recipe-directions-edit li:hover:after{
    left: -.5em;
    border-left-color: #af0000; 
}

.linkButton {
margin: 0;
padding: 0;
    color: #007bff;
     background: none;
     border: none;
     cursor: pointer; 
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;

}

.linkButton:hover {
    color: #0056b3;
    text-decoration: underline;
    
}

/*
** Website Footer
** -----------------------------------------------------------------------------
*/

footer {
  background-color: #af0000;
  color: #f9f9f9;
  
  margin-top: 24px;
}
.footer-about {
  margin-bottom: 24px;
   margin-top: 24px;
  font-style: italic;
}
.footer-author {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}
.footer-author a {
  color: #f9f9f9;
  font-weight: bold;
}
