#KDOverlay {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100000000;
  background-color: #fff;
  opacity: 0.6;
}

.KDModal {
  display: block;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  padding: 0;
  padding-top: 15px;
  position: relative;
  margin-bottom: 15px;
  text-align: center;
  -webkit-transition: all 1s;
  transition: all 1s;
  box-sizing: border-box;
}

.KDModal--bookmarklet {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.recipe-box .KDModal {
  margin-left: 0;
}

.KDModal--floating {
  position: fixed;
  width: 500px;
  min-height: 150px;
  left: 50%;
  top: 50%;
  margin-left: -250px !important;
  margin-top: -150px;
  z-index: 1000000000;
  text-align: center;
  box-sizing: border-box;
}

.KDModal.lookingForRecipes {
  background: url('../../images/recipe-box/cw-pushdown-expanded-bg.png') bottom center no-repeat;
  background-size: 100%;
  background-position: bottom left;
  max-height: 450px;
  overflow: hidden;
}
.KDModal.lookingForRecipes > * {
  -webkit-transition: all 1s;
  transition: all 1s;
}

.KDModal.lookingForRecipes .KDModal__description {
  display: none;
}

.KDModal.lookingForRecipes .KDModal__maximize {
  display: none;
  float: right;
  height: 35px;
  line-height: 40px;
  font-size: 50px;
  padding-top: 5px;
/*  padding-right: 15px;
  padding-left: 10px;*/
  padding-left: 5px;
  padding-right: 5px;
  cursor: pointer;
  width: 12%;
}

.KDModal.lookingForRecipes.minimized {
  padding: 0;
}

.KDModal.lookingForRecipes.minimized .KDModal__content > *{
  display: none;
}

.KDModal.lookingForRecipes.minimized .KDModal__minimized-view {
  display: block;
  overflow: hidden;
}

.KDModal.lookingForRecipes.minimized .KDModal__minimized-view > * {
  display: block;
}

.KDModal.lookingForRecipes.minimized .KDModal__description {
  display: block;
  float: left;
  /*line-height: 65px;*/
  line-height: 18px;
  font-size: 16px;
  font-family: "Larsseit", sans-serif;
  width: 100%;
  /*width: 50%;*/
  /*text-align: right; */
  text-align: center;
  /*padding-right: 20px;*/
  letter-spacing: normal;
  box-sizing: border-box;
}

.KDModal.lookingForRecipes.minimized .KDModal__form {
  float: right;
  margin-bottom: 0;
  width: 85%;
}

.KDModal.lookingForRecipes.minimized .KDModal__form .KDModal__button {
  width: auto;
  padding: 3px;
  margin: 5px;
  font-size: 10px;
  line-height: 18px;
}

.KDModal h3 {
  text-align: center;
  color: #000;
  font-family: "Larsseit", sans-serif;
  font-size: 30px;
  line-height: 35px;
  font-weight: normal;
}

.KDModal p {
  margin: 10px 0;
  font-family: "Larsseit", sans-serif;
  font-size: 16px;
  line-height: 20px;
  clear: both;
}

.KDModal a {
  font-family: "Larsseit", sans-serif;
  text-decoration: none;
  padding: 0 5px;
}

a.KDModal__link {
  text-decoration: none;
  border-bottom: 1px solid #222;
  padding: 0;
  margin: 0 5px;
}

a.KDModal__link:hover {
  color: #CB857E;
  text-decoration: none;
  border-bottom: 1px solid #CB857E;
}

.KDModal__hr {
  border: 0;
  width: auto;
  height: 12px;
  background: #CB857E top center no-repeat;
  margin: 10px auto;
}

.KDModal__close {
  height: 25px;
  width: 25px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  font-size: 20px;
  cursor: pointer;
}

.KDModal.minimized .KDModal__close {
  display: none;
}

.KDModal__form {
  overflow: hidden;
  text-align: center;
}

.KDModal__form--vertical {
  text-align: center;
}

.KDModal__form--vertical .KDModal__button,
.KDModal__form--vertical .KDModal__input {
 display: block;
 margin: 0 auto;
 margin-bottom: 20px;
 width: 80%;
}

.KDModal__form {
  margin-bottom: 15px;
}

.KDModal__button, .KDModal__input {
  margin: 10px;
  padding: 10px;
  border: 3px solid #CB857E;
  background-color: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 20px;
  width: 270px;
  display: inline-block;
  font-family: "Larsseit", sans-serif;
}

.KDModal__button {
  padding-top: 10px;
  padding-bottom: 7px;
  font-family: 'Larsseit-Bold', arial;
  font-size: 12px;
}

.KDModal__button:hover {
  background-color: #CB857E;
  color: #fff;
}

.KDModal__input {
  color: #aaa;
  width: 220px;
  border: 1px solid #eee;
}

.KDModal__error {
  color: red;
  font-weight: bold;
  text-align: center;
}

.KDAuth__my-recipes {
 border: 3px solid #CB857E;
 cursor: pointer;
 height: 40px;
 font-size: 14px;
 line-height: 27px;
 padding: 5px;
 position: relative;
 text-align: center;
 box-sizing: border-box;
 margin-bottom: 15px;
 background-color: #fff;
 -webkit-transition: width 0.5s;
 transition: width 0.5s;
}

.KDAuth__my-recipes--nav {
 border: 0;
 cursor: pointer;
 padding: 1px 0 0 10px;
 height: auto;
 margin: 0;
 text-align: left;
  background-color:transparent;
}

.KDAuth__my-recipes--nav .copy {
  white-space: nowrap;
  position: absolute;
  color: #CB857E;
}

.KDAuth__my-recipes--nav .KDAuth__my-recipes__icon {
  display:none;
}

@media screen and (min-width: 900px) and (max-width: 990px){
  .KDAuth__my-recipes--nav .KDAuth__my-recipes__icon {
    display:block;
    background-image: url('../../images/recipe-box/recipe-box-icon-green.svg');
    margin-top: 5px;
  }
  .KDAuth__my-recipes--nav .copy {
    display:none;
  }
}


.KDAuth__my-recipes--mobile {
  display: block;
}

.KDAuth__my-recipes:hover {
  /*background-color: #CB857E;
  color: #fff;*/
}

.KDAuth__my-recipes__ribbon {
 width: 0;
 height: 0;
 display: block;
 position: absolute;
 border-top: 20px solid transparent;
 border-bottom: 20px solid transparent;
}

.KDAuth__my-recipes__ribbon--left {
 border-left: 12px solid #CB857E;
 top: -3px;
 left: 0px;
}

.KDAuth__my-recipes__ribbon--left:before {
 content: "";
 border-left: 12px solid #fff;
 top: -20px;
 left: -16px;
 width: 0;
 height: 0;
 display: block;
 position: absolute;
 border-top: 20px solid transparent;
 border-bottom: 20px solid transparent;
}

.KDAuth__my-recipes__ribbon--right {
 border-right: 12px solid #CB857E;
 top: -3px;
 right: 0px;
}

.KDAuth__my-recipes__ribbon--right:before {
 content: "";
 border-right: 12px solid #fff;
 top: -20px;
 right: -16px;
 width: 0;
 height: 0;
 display: block;
 position: absolute;
 border-top: 20px solid transparent;
 border-bottom: 20px solid transparent;
}

.KDAuth__my-recipes__icon {
 background-image: url('../../images/recipe-box/recipe-box-icon.svg');
 background-repeat: no-repeat;
 background-position: 0 0px;
 display: inline-block;
 width: 23px;
 height: 17px;
 margin-right: 10px;
 margin-left: 5px;
 vertical-align: middle;
}

.KDModal.welcomePopup {
  background: url('../../images/recipe-box/food-welcome.png') no-repeat;
  background-size: 100% 100%;
}

/* RESPONSIVE CSS FOR KD Auth FLOW */

@media only screen and (max-width: 481px) {
  .KDModal h3 {
    width: 80%;
    margin: 0 auto;
 }

 .KDModal--floating {
    position: fixed;
    width: 95%;
    margin-left: -47.5% !important;
 }
}

@media only screen and (min-width: 481px) {
  .KDModal {
    padding: 30px;
 }
}

@media screen and (min-width: 754px) {
  .page-article .KDModal.lookingForRecipes.minimized {
    margin: 0 20px;
  }
}

@media only screen and (min-width: 900px) {
  .page-food .KDModal {
    margin-left: 340px;
 }
 .KDAuth__my-recipes--mobile {
    display: none;
 }
 .KDAuth__my-recipes--nav {
    display: block;
 }
}
@media screen and (min-width: 754px) {
  .page-article .KDModal.lookingForRecipes.minimized {
    margin: 0;
  }
}

@media only screen and (min-width: 1109px) {
  .KDModal.lookingForRecipes.minimized .KDModal__description {
    width: 50%;
    line-height: 40px;
  }
  .KDModal.lookingForRecipes.minimized .KDModal__form {
    width: 35%;
  }
}
