* {
  box-sizing: border-box;
}

body {
  overscroll-behavior-y: contain;
  margin: 0;
  padding-bottom: 20px;
  cursor: default;
  font-size: 14px;
  line-height: 21px;
  font-family: 'Open Sans', sans-serif;
  background-image: url('../images/fondo.png');
}

#version{
  float: right;
  background: #eee;  
}

#div-data{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#buttonSend{
  display: none;
}
.card-type1{
  width: 300px;
}

select{
  height: 27px;
  font-size: 14px;
}
.pro-color1{
  background-color: blue;
  color: #fff;
}

.pro-color2{
  background-color: #ccc;
  color: #000;
}

.pro-color3{
  background-color: #000;
  color: #fff;
}
.pro-color31{
  background-color: #555;
  color: #fff;
}
.pro-color32{
  background-color: #ccc;
  color: #000;
}
.pro-color4{
  background-color: red;
  color: #fff;
}

.disableview{
  visibility: hidden;
}

#menu{
  padding: 80px 0 10px 10px;
  position: fixed;
  width: 200px;
  height: 300px;
  background-color:  rgba(0,0,0,0.8);
  border-left: 5px solid #0066cc;;
  box-shadow: -2px 2px 5px #555;
  z-index: 3;
  transition: all 1s ease-in-out;
  margin-top: -325px;
}

#menu > div{
  padding: 10px;
  display:block;
  color:white;
  border-bottom: 1px solid white;
  cursor: pointer;
}

#login {
  width:100%;
  padding-top: 50px;
}

#listData {
  display: none;
  width:100%;
  padding-top: 10px;
}

#btMenu {
  display: inline-block;
  cursor: pointer;
}

#btMenu > .bar1, #btMenu > .bar2, #btMenu > .bar3 {
  width: 28px;
  height: 4px;
  background-color: #fff;
  margin: 5px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-4px, 6px);
  transform: rotate(-45deg) translate(-4px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.eleEdit {
  border: 1px solid #aaaaaa;
  width: 35px;
  height: 25px;
  text-align: right;
  margin-left: 5px;
}

input {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  font-size: 17px;
  border: 1px solid #aaaaaa;
}

input[type=checkbox] {
  height: 20px;
  width: 20px;
}

input.invalid {
  background-color: #ffdddd;
}

a:link{
  text-decoration:none;
}

.button1 {
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  font-family:  'Open Sans', sans-serif;;
  cursor: pointer;
  border-radius: 5px;
}

.button1:hover {
  opacity: 0.8;
}

.button2 {
  border: none;
  padding: 2px 10px;
  font-size: 17px;
  font-family:  'Open Sans', sans-serif;;
  cursor: pointer;
  border-radius: 5px;
  margin:0 0 0 5px;
}

.button-fixed{
  position: fixed;
  top: 30px;
  margin-left: 20%;
  left: -10%;
  width: 80%;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  font-family:  'Open Sans', sans-serif;;
  cursor: pointer;
  border-radius: 5px;
}
.card {
  padding: 0 0 5px 0;
  position: relative;
  box-sizing: border-box;
  background: #fff;
  border-radius: 2px;
  margin: 10px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  opacity: 0.95;
}

.card > h1,h2,h3,h4,h5,h6{
  padding: 0.7ex;
  text-align: center;
  margin: 0;
}

  .card > .cardContent{
    padding: 16px;
  }

  .card > .cardAction{
    padding: 16px 16px 25px 16px;
  }

  .card > .cardAction > button{
    float: right;
  }

  .card > img{
    width: 100%;
    height: 145px;
  }
  #login > .card{
    margin: 0 auto;
    max-width: 350px;
    margin-top: 10px;
  }

  #listData > .card{
    margin: 10px auto;
    border-bottom: 2px solid  #fe0101;
  }

.ftextarea{
  width: 98%;
  padding: 10px;
}

.ftextarea > button{
  float: right;
}

.ftextarea > textarea{
    width: 65%;
}
  .notification {
    text-align: center;
    position: fixed;
    margin: 80px auto;
    left: 0;
    right: 0;
    padding: 5px;
    width: 80%;
    z-index: 10
  }

  .notifyKO{
    background-color: #F4DBDF;
    border: 1px solid red;
  }

  .notifyOK{
    background-color: #D7F5D6;
    border: 1px solid green;
    border-left: 5px solid green;
  }

  .ocultar{
    visibility:hidden;
  }

  .card > .list-header{
    padding: 10px;
    font-size: 1.1em;
  }

  .card > .list-item{
    padding: 10px;
  }

  .card > .list-item-flex{
    display: flex!important;
    justify-content: space-between;
    padding: 5px 10px 5px 15px;
    display:block;
    color:black;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }

  .card > .list-item-flex > .elem-left{

    width: 40%;
    margin-right: 10px;
    white-space: nowrap;
  }

  .card > .list-item-flex > .elem-right{
    width: 60%;
    text-align: center;
    padding: 3px;
  }
  /* The Modal */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }

  /* Modal Content */
  .modal-content {
    max-width: 550px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
  }

  /* The Close Button */
  #close-modal {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  #close-modal:hover,
  #close-modal:focus {
    color: #000;
    cursor: pointer;
  }

  .md-introdata{
    background-color: #efefef;
    padding: 10px;
  }

  #md-ingredi{
    width: 100%;
    text-align: right;
    margin: 0;
    padding-right: 20px;
  }
  #mdInput{
    float: right;
    height: 40px;
    width: 70px;
    margin-left: 15px;
  }
  .mdAction{
    margin-top: 20px;
  }

  .mdAction > button{
    font-size: 1.8em;
  }

  #loading {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    z-index: 8;
  }

  #loading img {
    margin: 0;
    width: 80px;
    height: 80px;
  }
  /* Móviles en horizontal o tablets en vertical*/
  @media (min-width: 768px) {
    #listData > .card{
      margin: 10px;
      float: left;
    }
    .ftextarea > textarea{
        width: 85%;
    }

  }

  /* Tablets en horizonal y escritorios normales*/
  @media (min-width: 1024px) { }

  /* Escritorios muy anchos  */
  @media (min-width: 1200px) { }
