/* colours */
:root{
    --primary: #9DC423;
    --secondary: #384114;
    --title: #000000;
    --sepButton: #18ca30;
    --canvasBorderResult: #00ce71;
    --canvasBorderTake: #000000;
    --subheader: #9DC423;
  }

  /* layout styles */
  nav{
    background: var(--primary);
    border-bottom: 10px solid var(--secondary);
  }
  nav a{
    text-transform: uppercase;
    color: var(--title);
  }
  nav a span{
    font-weight: bold;
  }
  nav .sidenav-trigger{
    margin: 0;
  }
  
  /* recipe styles */
  .recipes{
    margin-top: 20px;
  }
  .card-panel.recipe{
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0px 1px 3px rgba(90,90,90,0.1);
    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    grid-template-areas: "image details delete";
    position: relative;
  }
  .recipe img{
    grid-area: image;
    max-width: 60px;
  }
  .recipe-details{
    grid-area: details;
    margin-top: 6px;
  }
  .recipe-delete{
    grid-area: delete;
    position: absolute;
    bottom: 0px;
    right: 0px;
  }
  .recipe-delete i{
    font-size: 18px;
  }
  .recipe-title{
    font-weight: bold;
  }
  .recipe-ingredients{
    font-size: 0.8em;
  }
  
  /* form-styles */
  .add-btn{
    background: var(--sepButton) !important;
  }

  input{
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
  }
  
  .side-form button{
    background: var(--title);
    box-shadow: 1px 1px 3px rgba(90,90,90,0.2);
  }
  form .input-field{
    margin-top: 30px;
  }

  .footer-index{
  background-color: var(--primary);
  color: #FFFFFF;  
  position: absolute;
  bottom: 0;
  width: 100%;
  }

  .footer-p{
    margin-bottom: 1px;
  }

  .subheader{
    background-color: var(--subheader);
    color: black;
    text-align: center;
  }



video{
  border-bottom: 1px solid var(--canvasBorderTake);
  border-top: 1px solid var(--canvasBorderTake);
  border-left: 1px solid var(--canvasBorderTake);
  border-right: 1px solid var(--canvasBorderTake);
  margin: 0 12px 20px 0;
  vertical-align: top;
}

.hidden_video 
{
  display: none; 
  }

  canvas 
  {
    border-bottom: 1px solid var(--canvasBorderResult);
    border-top: 1px solid var(--canvasBorderResult);
    border-left: 1px solid var(--canvasBorderResult);
    border-right: 1px solid var(--canvasBorderResult); 
    display: block;
    margin: 0 0 20px 0;
  }

  .hidden_canva 
  {
    display: none;   
  }

  .hidden_zoom 
  {
    /* display: none;    */
    margin: 0 auto 3rem;
    position: relative;
  }

  .center.center-canvas
  {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .center.center-video
  {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .center.center-img-pic
  {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .range-zoom
  {  
    position: relative;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    margin-left: auto;
    width: 50%;
  }

  .img-pic
  {
    display: block;
    margin: 0 0 20px 0;
  }

  
.mo_dev
{
  background-color: rgb(223, 221, 221);
}


/* RANGE */

.range-wrap {
  position: relative;
  margin: 0 auto 3rem;
}
.range {
  width: 100%;
}


.bubble {
  background: red;
  color: white;
  padding: 4px 12px;
  position: absolute;
  border-radius: 4px;
  left: 50%;
  transform: translateX(-50%);
}
.bubble::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: red;
  top: -1px;
  left: 50%;
}
/* #######################*/


  /* input#zoom {
    margin: 0 0 20px 0;
    width: 100%;
  } */
  
  .borderBelow {
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
  }


  #reload
  {
    color: var(--primary);
  }


  #snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
  }

  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
  }

  @-webkit-keyframes fadein {
    from {
      bottom: 0;
      opacity: 0;
    }
    to {
      bottom: 30px;
      opacity: 1;
    }
  }

  @keyframes fadein {
    from {
      bottom: 0;
      opacity: 0;
    }
    to {
      bottom: 30px;
      opacity: 1;
    }
  }