.body-login {
  background: url(../../img/fondo.jpg) no-repeat #b2bcbb;
  background-size: cover;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
    background-color: #506162;
    color: #555555;
    padding-left: 5px;
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: #555555;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: none;
}

::-webkit-input-placeholder { 
  color: #cdcdcd;
}
::-moz-placeholder { 
  color: #cdcdcd;
}
:-ms-input-placeholder { 
  color: #cdcdcd;
}
:-moz-placeholder { 
  color: #cdcdcd;
}

.encabezado {
  display: inline-block;
  position: absolute;
}

.logo-sbs{
  height: 125px;
  margin: 10px 10px;
  width: 250px;
}

.wrap {
  margin: 10em 1em auto;
  max-width: 500px;
  width: 100%;
}

.box-form {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: box-shadow: 2px 10px 18px #202020;
  -moz-box-shadow: 2px 10px 18px #202020;
  -ms-box-shadow: 2px 10px 18px #202020;
  -o-box-shadow: 2px 10px 18px #202020;
  -webkit-box-shadow: 2px 10px 18px #202020;
  padding: 25px;
}

.tittle-form {
  color: #ffffff;
  display: block;
  font-size: 22px;
  font-weight: bold;
  position: relative;
}

.ctn-input {
  margin: 40px 0;
  position: relative;
  width: 100%;
}

.effect-2 {
  background-color: transparent;
  border: 0;
  color: #ffffff;
  /*font-size: 16px;*/
  font-size: 1em;
  border-bottom: 2px solid #808080;
  padding: 8px 0; 
  width: 100%;
}

.effect-2 ~ .focus-border{
  background-color: #ffffff;
  bottom: 0;
  height: 2px;
  left: 50%;
  position: absolute;
  transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
  -webkit-transition: 0.4s;
  width: 0;
}

.effect-2:focus ~ .focus-border {
  left: 0;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  width: 100%;
}

.ctn-error {
  background: #eef0f0;
  color: #e82b2b;
  font-weight: bold;
  margin-top: 30px;
  padding: 7px;
}

.checkbox-personalized {
  display: none;
}

.checkbox-personalized:checked + .label-checks:before {
  display: none;
}

.checkbox-personalized:checked + .label-checks {
  background: #fefefe;
  border-radius: 2px;
  color: #1e3038;
  font-weight: 700;
  padding: 5px 15px;
}

.label-checks:before {
  background: none;
  border-radius: 3px;
  border: 3px solid #ffffff;
  content: "";
  display: inline-block;
  height: 17px;
  left: 17px;
  position: absolute;
  top: 3px;
  width: 17px;
}

.label-checks {
  border-radius: 3px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  /*font-size: 16px;*/
  font-size: 1em;
  margin: 3px;
  padding: 5px 15px 5px 50px;
  position: relative;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.label-checks:hover {
  background: rgba(1, 1, 1, 0.3);
}

.ctn-checkbox {
  margin: 30px 0;
}

.btn-send {
  background: #616161;
  border: 0;
  box-shadow: 1px 0px #010101, 0px 1px #010101,
              2px 1px #010101, 1px 2px #010101,
              3px 2px #010101, 2px 3px #010101,
              4px 3px #010101, 3px 4px #010101,
              5px 4px #010101, 4px 5px #010101,
              6px 5px #010101, 5px 6px #010101;
  -moz-box-shadow: 1px 0px #010101, 0px 1px #010101,
                   2px 1px #010101, 1px 2px #010101,
                   3px 2px #010101, 2px 3px #010101,
                   4px 3px #010101, 3px 4px #010101,
                   5px 4px #010101, 4px 5px #010101,
                   6px 5px #010101, 5px 6px #010101;
  -ms-box-shadow: 1px 0px #010101, 0px 1px #010101,
                  2px 1px #010101, 1px 2px #010101,
                  3px 2px #010101, 2px 3px #010101,
                  4px 3px #010101, 3px 4px #010101,
                  5px 4px #010101, 4px 5px #010101,
                  6px 5px #010101, 5px 6px #010101;
  -o-box-shadow: 1px 0px #010101, 0px 1px #010101,
                 2px 1px #010101, 1px 2px #010101,
                 3px 2px #010101, 2px 3px #010101,
                 4px 3px #010101, 3px 4px #010101,
                 5px 4px #010101, 4px 5px #010101,
                 6px 5px #010101, 5px 6px #010101;
  -webkit-box-shadow: 1px 0px #010101, 0px 1px #010101,
                      2px 1px #010101, 1px 2px #010101,
                      3px 2px #010101, 2px 3px #010101,
                      4px 3px #010101, 3px 4px #010101,
                      5px 4px #010101, 4px 5px #010101,
                      6px 5px #010101, 5px 6px #010101;
  color: #e8e7e6;
  font-size: 17px;
  font-weight: 700;
  height: 37px;
  width: 100%;
}

.btn-send:hover,
.btn-send:focus {
  background-color: #919191;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
}

.btn-send:active {
  border: 0;
  box-shadow: 1px 0px #010101, 0px 1px #010101,
              2px 1px #010101, 1px 2px #010101,
              3px 2px #010101, 2px 3px #010101,
              4px 3px #010101, 3px 4px #010101;
  -moz-box-shadow: 1px 0px #010101, 0px 1px #010101,
                   2px 1px #010101, 1px 2px #010101,
                   3px 2px #010101, 2px 3px #010101,
                   4px 3px #010101, 3px 4px #010101;
  -ms-box-shadow: 1px 0px #010101, 0px 1px #010101,
                  2px 1px #010101, 1px 2px #010101,
                  3px 2px #010101, 2px 3px #010101,
                  4px 3px #010101, 3px 4px #010101;
  -o-box-shadow: 1px 0px #010101, 0px 1px #010101,
                 2px 1px #010101, 1px 2px #010101,
                 3px 2px #010101, 2px 3px #010101,
                 4px 3px #010101, 3px 4px #010101;
  -webkit-box-shadow: 1px 0px #010101, 0px 1px #010101,
                      2px 1px #010101, 1px 2px #010101,
                      3px 2px #010101, 2px 3px #010101,
                      4px 3px #010101, 3px 4px #010101;
  transform: translate(2px, 2px);
  -moz-transform: translate(2px, 2px);
  -ms-transform: translate(2px, 2px);
  -o-transform: translate(2px, 2px);
  -webkit-transform: translate(2px, 2px);
}

.txt-footer {
  background: rgba(0, 0, 0, 0.62);
  bottom: 0;
  color: #ffffff;
  display: block;
  font-size: 18px;
  font-weight: bold;
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 769px) {
  .body-login {
    background-position: top center;
  }
  
  .wrap {
    margin: 0 auto;
    max-width: 500px;
    width: 100%;

  }

  .encabezado {
    left: 15px;
    top: -10px;
  }

  .logo-tally {
    height: 70px;
    width: 140px;
  }

  .tittle-form {
    color: #ffffff;
    display: block;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    top: 30px;
  }

  .box-form {
    padding: 45px 15px;
  }
 
  .ctn-error {
    font-size: 12px;
    font-weight: bold;
    margin: 69px 5px 0 5px;
    padding: 10px;
    width: 90%;
  }
  
  .txt-footer {
    position: relative;
  }
}

@media screen and (max-width: 480px) {
  .encabezado {
    left: 0;
  }
}