html, body * { box-sizing: border-box; 
    font-family: 'Open Sans', sans-serif; 
    font-size: 1rem; }

body {
  background:
    linear-gradient(
    rgba(246,247,249,0.8),
    rgba(246,247,249,0.8)),
    url(bg.jpg) no-repeat center center fixed;
  background-size: cover;
}

.container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 100px;
  }

.logo {
    min-height: 80px;
    max-width: 300px;
    margin: auto;
}
.logo img {
 width: 100%;
}

.frame {
    margin-top: 30px;
    max-width: 500px;
    background:
      linear-gradient(
      rgba(138, 64, 64, 0.75),
      rgba(75, 26, 26, 0.95));
    background-size: cover;
    margin-left: auto;
    margin-right: auto;
    border-top: solid 1px rgba(255,255,255,.5);
    border-radius: 5px;
    box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all .5s ease;
  }

  .form-signin {
    width: 100%;    
    font-size: 16px;
    font-weight: 300;
    padding-left: 37px;
    padding-right: 37px;
    padding-top: 55px;
    padding-bottom: 55px;
    transition: opacity .5s ease, transform .5s ease;
  }

  
  .form-signin input {
    color: #ffffff;
    font-size: 13px;
  }
  
  .form-styling {
    width: 100%;
    height: 35px;
      padding-left: 15px;
      border: none;
      border-radius: 20px;
    margin-bottom: 20px;
    background: rgba(255,255,255,.2);
  }
  
  label {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    padding-left: 15px;
    padding-bottom: 10px;
    color: rgba(255,255,255,.7);
    display: block;
  }
  
  :focus {outline: none;
  }
  
  .form-signin input:not[type="submit"]:focus, textarea:focus, textarea:focus {
      background: rgba(255,255,255,.3);
      border: none; 
      padding-right: 40px;
      transition: background .5s ease;
   }
  
  [type="checkbox"]:not(:checked),
  [type="checkbox"]:checked {
    position: absolute;
    display: none;
  }
  
  [type="checkbox"]:not(:checked) + label,
  [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 85px;
    padding-top: 2px;
    cursor: pointer;
    margin-top: 8px;
  }
  
  [type="checkbox"]:not(:checked) + label:before,
  [type="checkbox"]:checked + label:before,
  [type="checkbox"]:not(:checked) + label:after,
  [type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
  }
  
  [type="checkbox"]:not(:checked) + label:before,
  [type="checkbox"]:checked + label:before {
    width: 65px; 
    height: 30px;
    background: rgba(255,255,255,.2);
    border-radius: 15px;
    left: 0; 
    top: -3px;
    transition: all .2s ease;
  }
  
  [type="checkbox"]:not(:checked) + label:after,
  [type="checkbox"]:checked + label:after {
    width: 10px; 
    height: 10px;
    background: rgba(255,255,255,.7);
    border-radius: 50%;
    top: 7px; 
    left: 10px;
    transition: all .2s ease;
  }
  
  /* on checked */
  [type="checkbox"]:checked + label:before {
    background: #B82F26; 
  }
  
  [type="checkbox"]:checked + label:after {
    background: #ffffff;
    top: 7px; 
    left: 45px;
  }
  
  [type="checkbox"]:checked + label .ui,
  [type="checkbox"]:not(:checked) + label .ui:before,
  [type="checkbox"]:checked + label .ui:after {
    position: absolute;
    left: 6px;
    width: 65px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    transition: all .2s ease;
  }
  
  [type="checkbox"]:not(:checked) + label .ui:before {
    content: "no";
    left: 32px;
    color: rgba(255,255,255,.7);
  }
  
  [type="checkbox"]:checked + label .ui:after {
    content: "yes";
    color: #ffffff;
  }
  
  [type="checkbox"]:focus + label:before {
    box-sizing: border-box;
    margin-top: -1px;
  }
  
  
  .btn-signin {
    float: left;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    height: 35px;
      border: none;
      border-radius: 20px;
    margin-top: -8px;
    background-color: transparent;
    font-weight: bold;
  }

  .btn-animate {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-align: center;
    color: rgba(255,255,255, 1);
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    height: 35px;
      border: none;
      border-radius: 20px;
    margin-top: 23px;
    background-color:#270400;
    left: 0px;
    top: 0px;
    transition: all .5s ease, top .5s ease .5s, height .5s ease .5s, background-color .5s ease .75s; 
  }

  input.btn-signin:hover {
      cursor: pointer; 
      background-color: #B5241A;
      transition: background-color .5s; 
  }

  .extra {
      text-align: center;
      padding-top: 30px;
      color: rgba(255,255,255,1);
  }

  .extra a {
      font-weight: bold;
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 13px;
  }

.domain-input {
    position: relative;
}

.domain-wrapper {
    position: absolute;
    bottom: 20px;
    z-index: 1;
    overflow: hidden;
    height: 38px;
    border-radius: 0px;
    right: 0px;
    width: 100%;  
    pointer-events: none;  
}

.domain-placeholder {
    margin: 9px 20px 9px 16px;
    overflow: hidden;
    word-break: break-all;
}
.domain-mask {
    margin-right: -2px;
    visibility: hidden;
}
.domain-value {
    color: #dddddd;
}