html,
body {
  height: 100%;
}
img.mb-4 {
    max-width: 100%;
}
body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #f5f5f5;
}
.btn-primary:hover {
    color: #fff;
    background-color: #52661b;
    border-color: #a19c31;
}
.btn-primary {
    color: #fff;
  background-color: #cb0a0a;
    border-color: #ba2a1e;
    padding: 10px;
}
.text-muted {
    color: #ffffff!important;
    font-size: 15px;
    background-color: #471ea5;
    border: 1px solid red;
    border-radius: 36px;
}
.mt-5, .my-5 {
    margin-top: 1rem!important;
}
.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */
  /* border: 3px solid #673AB7; */
  padding: 15px;
  margin: auto;
  border-radius: 20px;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
	    margin-bottom: 5px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */

  padding: 15px;
  margin: auto;

}
    body {
    background: url(images/bg.jpg) no-repeat;
    background-position: right !important;
    overflow-x: hidden;
    background-color: #000;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {
.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */

  padding: 15px;
  margin: auto;

}
    body {
    background: url(images/bg.jpg) no-repeat;
    /* background-position: right !important; */
    overflow-x: hidden;
    background-color: #000;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */
  padding: 15px;
  margin: auto;

}
    body {
    background: url(images/bg.jpg) no-repeat;
    /* background-position: right !important; */
    overflow-x: hidden;
    background-color: #000;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
   body {
    background: url(images/bg.jpg) no-repeat;
    background-position: top center!important;
    overflow-x: hidden;
    background-color: #000;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}



/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */
  border: 1px solid transparent !important;
  padding: 15px;
  margin: auto;
  background-color: transparent !important;
}

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */
  border: 1px solid transparent !important;
  padding: 15px;
  margin: auto;
  background-color: transparent !important;
}

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
	.form-signin {
  /* width: 100%; */
  /* max-width: 300px; */
  border: 1px solid transparent !important;
  padding: 15px;
  margin: auto;
  background-color: transparent !important;
}

}