/* base.html divs */
* { 
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
  
div#fullheader{
  position: fixed;
  height: 70px;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  background-color: white
}
div#fullnav{
  position: fixed; 
  height: 50px;
  top: 70px;
  left: 0px;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  background-color:white;
}
div#container{}
div#header{
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  vertical-align: middle;
}
div#nav{
  height: 47px;;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  vertical-align: middle;
  border-top: 3px solid black;
  border-bottom: 3px solid black;
}
div#nav ul{
  padding: 0px;
}
div#flyleft{ 
  position: fixed;
  top: 120px; 
  left: 0px;
  background-color: red;
  height: 100%;
}
div#flyright{
  position: fixed; 
  top: 120px; 
  right: 0px; 
  background-color: red; 
  height: 100%; 
}
div#content{ 
  max-width: 1000px;
  margin: 0 auto;
}
div#footer{
  position: static;
  width: 100%;
  bottom: 0;
  left: 0;
  background-color: blue;
}
div#tagindex {
}
body {
  margin-top: 120px;
}

/* edit recipe */
#id_recipe-name, #id_recipe-source {
  width: 500px;
}
#id_recipe-instructions {
  width: 625px;
  height: 600px;
}

th.label-col {
  width: 90;
}

div.recipe-edit td {
  colspan: 2;
}

td.ingredient-edit input {
  width: 500px; 
}
td.headerpad-padded input {
  width: 470px;
}

td.step-edit textarea {
  width: 500px; 
  height: 50px;
}

/* Recipe List */
tr.even {
  background-color: #ffffff;
}

tr.odd {
  background-color: #eeeeee;
}

table.recipelist {
  width: 100%;
  margin: 0 auto;
}

table.recipelist td, table.recipelist th{
  text-align: center;
  vertical-align: middle;
}

td.recipe{
  text-align: left;
  width: 500px;
}

td.recipeprop {
  width: 150px; 
}

td.starrating {
  width: 250px; 
}

h3 a:link, h3 a:visited { 
  color: black;
}

/* Sorting */
a.sortby{ 
  padding-right: 18px; 
  position: relative;
}
a.sortby:link,
a.sortby:visited,
a.sortby:hover,
a.sortby:active{
  color: #000;
  text-decoration: none;
}
a.sortby:before,
a.sortby:after {
  border: 4px solid transparent;
  content: "";
  display: block;
  height: 0;
  right: 5px;
  top: 50%;
  position: absolute;
  width: 0;
}
a.sortby:before {
  border-bottom-color: #666;
  margin-top: -9px;
}
a.sortby:after {
  border-top-color: #666;
  margin-top: 1px;
}

/* generic tools */
li.wrap {
  display: inline-block;
}

div.hidden{ 
  display: none;
}

/* Recipe Display */
div#recipeheader{}
div#recipeinfo{}
div#reciperatings{}
div#recipeinstructions{}
div#recipeingredients{ 
  padding-right: 10px;
}
div#recipesteps{}
@media screen and (max-width:599px) {
  div#recipeheader, div#recipeingredients, div#recipesteps, div#recipeinfo, div#reciperatings {
    float: inline;
  }
}
@media screen and (min-width:600px) {
  div#recipeheader, div#recipeinstructions{ 
    float: inline; 
    overflow: auto;
  }
  div#recipeinfo{
    float: left;
    width: 50%;
  }
  div#reciperatings{
    margin-left: 50%;
  }

  div#recipeingredients{
    float: left;
    width: 20%;
  }

}

div#recipeingredients ul{
  list-style-type: none;
  padding-left: 15px;
  margin: 0;
}

div#recipeingredients li.ingredientheader {
  font-weight: bold;
}
div#recipeingredients li{
  padding-top: 3px; 
  padding-bottom: 3px;
}
div#recipeingredients a{
  text-decoration-style: dotted;
  text-decoration-color: black;
  color: black;
}
div#recipeingredients a:visited{
  color: inherit;
}



li.step {
  white-space: pre-wrap;
}
div.comment { 
  white-space: pre-wrap;
}

/* Recipe Ingredients Edit Page */
tr.dynamic-ingredient-form {
  cursor: move;
  user-select: none;
}
a.delete-ingredient{ 
  background: url("../admin/img/icon-deletelink.564ef9dc3854.svg") 0 1px no-repeat;
  text-decoration: none;
  padding-left: 14px;

}
a.add-ingredient{ 
  background: url("../admin/img/icon-addlink.073aeb1feda7.svg") 0 1px no-repeat;
  text-decoration: none;
  padding-left: 14px;
}
a.link-recipe{ 
  background: url("link.d14f7d00616f.svg") 0 1px no-repeat;
  background-size: 18px;
  text-decoration: none;
  padding-left: 24px;

}
a.toggle-header{ 
  background: url("H.081e7307af0a.ico") 0 1px no-repeat;
  background-size: 16px;
  text-decoration: none;
  padding-left: 18px;
}
a.isheader{ 
  background: url("noH.01e0a2fd3116.ico") 0 1px no-repeat;
  background-size: 16px;
  text-decoration: none;
  padding-left: 18px;
}
input.isheader{
  font-weight: bold;
}
.headerpad-padded{
  padding-left: 30px; 
}

.recipelinker {
  display: none;
}
.edit-source {
  display: block;
}
.edit-source input {
  color: blue;
}

/* tagindex */
div.fivestar_user, div.nevermade_section{
  vertical-align: top;
}

@media screen and (min-width:600px) {
  @media screen and (min-width:1000px) {
    ul.taglist {
      padding: 2px;
      list-style-type: none;
      -webkit-column-count: 2;
         -moz-column-count: 2;
              column-count: 2;
      -webkit-column-gap: 20px;
         -moz-column-gap: 20px;
              column-gap: 20px;
    }
  }

  @media screen and (max-width:999px) {
    ul.taglist {
      padding: 2px;
      list-style-type: none;
    }
  }

  div#tagindex{ 
    float: left;
    width: 25%; 
    height: 100%;
    border-right: 2px solid black;
    overflow: auto;
  }
  div#recipesuggestions{
    float: inline; 
    margin-left: 26%;
    width: 74%;
  }
  div#recipesuggestions ul {
    padding: 2px;
    list-style-type: none;
  }
  div#fivestar, div#nevermade{
  }
  div.fivestar_user, div.nevermade_section{
    display: inline-block ;
    width: 49%;
  }
  div#makeagain{
    width: 49%;
  }
}

@media screen and (max-width:599px) and ( min-width: 400px ) {
  ul.taglist {
    padding: 2px;
    list-style-type: none;
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
  }

  div#tagindex div#recipesuggestions{ 
    float: inline;
    overflow: auto;
  }
  div#recipesuggestions ul {
    padding: 2px;
    list-style-type: none;
  }
  div#fivestar, div#nevermade{
  }
  div.fivestar_user, div.nevermade_section{
    display: inline-block ;
    width: 49%;
  }
  div#makeagain{
  }
}

@media screen and (max-width:399px) {
  ul.taglist {
    padding: 2px;
    list-style-type: none;
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
  }

  div#tagindex div#recipesuggestions{ 
    float: inline;
  }
  div#recipesuggestions ul {
    padding: 2px;
    list-style-type: none;
  }
  div#fivestar, div#nevermade{
  }
  div.fivestar_user, div.nevermade_section{
    display: inline;
  }
  div#makeagain{
  }
}
