*,
*:before,
*:after {
  box-sizing: border-box;
}
*:focus,
*:before:focus,
*:after:focus {
  outline: none;
  box-shadow: 0 0 2px 2px #FCCB60;
}

form {
  padding: 10px;
}
.cb-input {

  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin: 20px 0;
}
.cb-input label {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 100%;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
  color: #575757;
  font-family: 'Karla',sans-serif;
}

.cb-input .min{
    font-family: 'Karla',sans-serif;
    font-size: 0.8em;
    color: #575757;
    padding-top: 15px;
    padding-left: 10px;
}

.cb-input input,
.cb-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: block;
  padding: 20px 10px;
  border: 2px solid #fff;
  background-color: transparent;
  border-radius: 10px;
  color: #575757;
  font-family: 'Karla',sans-serif;
}

.cb-input2 input,
.cb-input2 select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: block;
  padding: 20px 10px;
  border: 2px solid #14140A;
  background-color: transparent;
  border-radius: 10px;
  margin-bottom: 20px;
  width: 100%;
  color: #575757;
  font-family: 'Karla',sans-serif;
}

.cb-input input:nth-last-child(2),
.cb-input select:nth-last-child(2) {
/*  border-right: 3px solid #e1e1e1;*/
}
.cb-input input[type="file"],
.cb-input select[type="file"] {
  position: fixed;
  top: -1000px;
}
.cb-input input[type="checkbox"],
.cb-input select[type="checkbox"] {
  position: fixed;
  top: -1000px;
}
.cb-input input[type="checkbox"] + label,
.cb-input select[type="checkbox"] + label {
  height: 44px;
  width: 44px;
  border: 3px solid #e1e1e1;
  background-color: #FAFAFA;
  font-size: 24px;
}
.cb-input input[type="checkbox"] + label + label,
.cb-input select[type="checkbox"] + label + label {
  background-color: transparent;
  border: none;
  font-size: 12px;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.cb-input input[type="checkbox"] + label i,
.cb-input select[type="checkbox"] + label i {
  display: none;
}
.cb-input input[type="checkbox"]:focus + label,
.cb-input select[type="checkbox"]:focus + label {
  outline: none;
/*  box-shadow: 0 0 2px 2px #c7c7c7;*/
  z-index: 2;
}
.cb-input input[type="checkbox"]:checked + label i,
.cb-input select[type="checkbox"]:checked + label i {
  display: inline;
}
.cb-input input ~ label,
.cb-input select ~ label {
  -webkit-box-flex: 0;
/*
  -webkit-flex: 0 0 44px;
      -ms-flex: 0 0 44px;
          flex: 0 0 44px;
*/
  display: -webkit-box;
  display: -webkit-inline-block;
  display: -ms-flexbox;
  display: inline-block;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5px;
}
.cb-input input ~ label:hover,
.cb-input select ~ label:hover {
/*
  border: 1px solid #FCCB60;
  background-color: #FCCB60;
*/
}
.cb-input input:focus:hover + ul,
.cb-input select:focus:hover + ul,
.cb-input input:focus ~ div.tooltip,
.cb-input select:focus ~ div.tooltip {
  display: block;
}
.cb-input button {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 44px;
      -ms-flex: 0 0 44px;
          flex: 0 0 44px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5px;
  font-size: 16px;
/*
  border: 3px solid #FCCB60;
  background-color: #FCCB60;
*/
  cursor: pointer;
}
.cb-input button:hover {
/*
  border: 1px solid #FCCB60;
  background-color: #FCCB60;
*/
}
.cb-input ul {
  display: none;
  position: absolute;
  margin: 0;
  padding: 0;
  list-style-type: none;
  left: 0;
  right: 0;
  top: calc(100%);
  border: 1px solid #999;
  background-color: #fff;
  z-index: 10;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);
}
.cb-input ul:hover {
  display: block;
}
.cb-input li {
  padding: 5px;
}
.cb-input li:hover {
  background-color: #e1e1e1;
  cursor: pointer;
}
.cb-input .tooltip {
  display: none;
  position: absolute;
  right: -275px;
  width: 250px;
  padding: 13px;
  background-color: #fff;
  -webkit-filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
          filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}
.cb-input .tooltip:before {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #fff;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-family: 'Open Sans', sans-serif;        
  color: #fff;
  opacity:1;  
}
::-moz-placeholder { /* Firefox 19+ */
  font-family: 'Open Sans', sans-serif;  
  color: #fff;
  opacity:1;  
}
:-ms-input-placeholder { /* IE 10+ */
  font-family: 'Open Sans', sans-serif;  
  color: #fff;
  opacity:1;  
}
:-moz-placeholder { /* Firefox 18- */
  font-family: 'Open Sans', sans-serif;  
  color: #fff;
    opacity:1;
}

.cb-input2 ::placeholder{
    font-family: 'Open Sans', sans-serif;
    color: #14140A;
    opacity: 1;
}


input{
    transition: 0.2s linear;
}

textarea{
    transition: 0.2s linear;
    width: 100%;
    border-color: transparent;
    border-bottom: 1px solid #231F20;
    background-color: transparent;
}


input:focus { 
    outline: none !important;
}

textarea:focus {
    outline: none !important;
}

#message-input {
    padding-bottom: 100px;

}

.select-style {
    border-bottom: 1px solid #231F20;
    width: 100%;
    overflow: hidden;
    background-image: url(../img/flecha-select.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: right;
    padding: 10px 5px;
    margin-bottom: 15px;
}

.select-style select {
    color: #575757;
    font-family: 'Karla',sans-serif;
    width: 130%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
}

.select-style select:focus {
    outline: none;
}

#input-numtarjeta{
    background-image: url(../img/tarjeta.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: right;
    padding: 10px 5px;
}

#input-numtarjeta{
    background-image: url(../img/tarjeta.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: right;
    padding: 10px 5px;
}

#planSelect{
    overflow: hidden;
    background-color: #512D87;
    background-image: url(../img/flecha-select-am.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: 97% 25px;
    border-radius: 10px;
}

#planSelect #select-plan{
    color: #FBCB09;
    padding: 5px 5px;
}

#planSelect #select-plan option{
    color: #555151;
}

.group { 
          position:relative; 
          margin-bottom:45px; 
        }
        
        input:focus {
            outline: none;
        }

        /* LABEL ======================================= */
        label {
            color: #999;
            font-size: 1em;
            font-weight: normal;
            position: absolute;
            pointer-events: none;
            left: 5px;
            top: 10px;
            transition: 0.2s ease all;
            -moz-transition: 0.2s ease all;
            -webkit-transition: 0.2s ease all;
        }

        /* active state */
        input:focus~label,
        input:valid~label {
            top: -20px;
            font-size: 14px;
            color: #512D87;
        }

        /* BOTTOM BARS ================================= */
        .bar {
            position: relative;
            display: block;
            width: 100%;
        }

        .bar:before,
        .bar:after {
            content: '';
            height: 2px;
            width: 0;
            bottom: 1px;
            position: absolute;
            background: #512D87;
            transition: 0.2s ease all;
            -moz-transition: 0.2s ease all;
            -webkit-transition: 0.2s ease all;
        }

        .bar:before {
            left: 50%;
        }

        .bar:after {
            right: 50%;
        }

        /* active state */
        input:focus~.bar:before,
        input:focus~.bar:after {
            width: 50%;
        }

        /* HIGHLIGHTER ================================== */
        .highlight {
            position: absolute;
            height: 60%;
            width: 100px;
            top: 25%;
            left: 0;
            pointer-events: none;
            opacity: 0.5;
        }

@media(max-width: 786px){
        #input-numtarjeta{
        background-image: none;
    }
}

@media (max-width: 480px) {
  .cb-input {
    width: 100%;
  }
  .cb-input ul {
    display: none !important;
  }
  .tooltip {
    display: none;
  }
}