@import url('typography.css');
@import url('footer.css');

/* =========================================
	VS LOGIN
========================================= */

html {
  height: 100%;
}
body {
  min-height: 100%;
  background-color: #fff;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 10px;
}
.ie-flex-fix {
  display: flex;
  flex-direction: row;
}
.vsdialog {
	padding: 20px;
	margin:	0 auto;
	width: 100%;
	min-width: 230px;
	max-width: 640px;
	box-sizing: border-box;
	background-color: #fff;
}
.vsdialog-holder {
  width: 100%;
}
.vsdialog-header {
}
.vsdialog-header h1, .vsdialog-header h2, .vsdialog-header h3, 
.vsdialog-header h4, .vsdialog-header h5, .vsdialog-header h6 {
    margin: 0 0 5px;
}
.vsdialog-header .col-xm-12 {
	min-height: 60px;
}
.vsdialog-header .login-message p {
	color: #1f1f1f;
}
.stb-logo {
	background-image: url('../images/logo.svg');
  width: 110px;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  padding: 0;
  height: 45px;
}
.vsdialog-content {
	position: relative;
}
.vsdialog-content .form-group {
  margin-bottom: 0.5rem;
}
.email-login, .social-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
	/*width: 100%;*/
	/*max-width: 320px;*/
	margin: 0 auto;
}
.vsdialog-content .email-login form {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.vsdialog-content .email-login {
	padding: 0 0 30px;
}
.vsdialog-content .social-login {
	padding: 40px 0 20px;
}
.vsdialog-content .email-login {
	border: none;
	border-bottom: 1px solid #ced4da;
}
.vsdialog-content .login-or-text {
	display: block;
	position: absolute;
  left: calc(50% - 20px);
  top: calc(50% - 25px);
	background-color: #fff;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #ced4da;
	font-size: 12px;
}
.vsdialog-footer {
	/* border: none; */
	border-top: 1px solid #ced4da;
}
.vsdialog-footer small a {
	color: red;
	font-weight: bold;
}
.back-arrow {
  padding-right: 10px;
}

/* =========================================
  Form
========================================= */

/* Register Form Elements */
.form-register .form-declaration {
  padding: 10px 0;
}
.form-register  .form-declaration .form-check {
  padding-left: 30px;
  padding-bottom: 10px;
  font-size: 13px;
}
.form-register  .form-declaration .form-check-input {
  margin-left: -28px;
}

/* =========================================
  Social Media
========================================= */

.social-login-button {
	display:block;
	position: relative;
	width: 100%;
	max-width: 320px;
	height: 40px;
	border: 1px solid #F4333D;
	border-radius: 4px;
	background-color: #F4333D;
	text-decoration: none!important;
	color: #fff!important;
	line-height: 40px;
	padding-left: 40px;
	text-align: left;
	font-size: 14px;
	margin: 0 auto 10px;
	text-align: center;
}
.social-login-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  width: 38px;
  padding: 10px;
  text-align: center;
  color: #F4333D;
  background-color: #fff;
  border-radius: 3px 0 0 3px;
}
.facebook-icon {
	border: 1px solid #3B5998;
	background-color: #3B5998;
}
.facebook-icon::before {
	background: url(../images/logos/facebook.svg) no-repeat;
	background-color: #fff;
	background-size: 18px;
	background-position: center;
}
.google-icon {
	border: 1px solid #4285F4;
	background-color: #4285F4;
}
.google-icon::before {
	background: url(../images/logos/google.svg) no-repeat;
	background-color: #fff;
	background-size: 18px;
	background-position: center;
}
.twitter-icon {
	border: 1px solid #1DA1F2;
	background-color: #1DA1F2;
}
.twitter-icon::before {
	background: url(../images/logos/twitter.svg) no-repeat;
	background-color: #fff;
	background-size: 32px;
	background-position: center;
}
.apple-icon {
	border: 1px solid #000000;
	background-color: #000000;
}
.apple-icon::before {
	background: url(../images/logos/apple.svg) no-repeat;
	background-color: #fff;
	background-size: 18px;
	background-position: center;
}
@media (min-width: 768px) {
	.container {
	    max-width: none;
	}
}
@media (min-width: 701px) {
	.vsdialog-holder {
	  display: flex;
	  
    align-items: center;
    justify-content: center;
    flex-direction: column;

      padding-top: 15px;
	  padding-bottom: 15px;

	  background-image: url('../images/bg_login.jpg');
	  background-repeat: no-repeat;
	  background-attachment: fixed;
	  background-size: cover;
	  background-position: center;
	}
	.vsdialog {
		border: 1px solid #ced4da;
		border-radius: 4px;
	}
}
@media (min-width: 576px) and (max-width: 767px) {
	
}
@media (max-width: 767px) {
	.vsdialog-holder {
    height: 100%;
    min-height: 100vh;
	  /* padding-top: 15px;
	  padding-bottom: 15px; */
	}
}
@media (min-width: 576px) {
	.container {
	    max-width: none;
	}
	.vsdialog-content {
		margin-bottom: 20px;
	}
  .email-login, .social-login {
    width: 100%;
    /*max-width: 299px;*/
  }
	.vsdialog-content .email-login {
		padding: 15px 30px 15px 0;
		/* padding: 15px 0 15px 0; */
		border: none;
		border-right: 1px solid #ced4da;
	} 
	.vsdialog-content .social-login {
		padding: 15px 0 15px 30px;
	}
	.vsdialog-content .login-or-text {
    display: block;
    position: absolute;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
	}
	.vsdialog-footer {
		padding: 5px 0 0;
		border-top: 1px solid #ced4da;
	}
}

@media (min-width: 768px) and (min-height: 411px) {
  .vsdialog-holder {
    height: 100%;
    min-height: calc(100vh - 40px);
  }
}
@media (min-height: 560px) {
  .footer {
    position: absolute;
  }
}

.alert-danger p{
    margin-bottom:0px;
}

.invalid-feedback {
                padding: 7px 0 0;
    margin: 0;
}
