/*
 * Globals
 */



/************************************ * Links */
a,
a:focus,
a:hover {
  color: #333;
}

/************************************ * Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/************************************ * Base structure */

html,
body {
  height: 100%;
  background-color: #fff;
}
body {
  color: #333;
  text-align: center;
  text-shadow: 0 .005rem .01rem rgba(0,0,0,.5);
  background-repeat: no-repeat;
}

.mastfoot {display: none;}

#fnd_demo,
#logo_demo,
#btch_demo {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	margin: 14px 0 42px;
	width: 300px;
	height: 166px;
}

#fnd_demo_erase,
#logo_demo_erase,
#btch_demo_erase {
	width: 100%;
	line-height: 30px;
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 5px 9px;
	margin-top: 171px;
	cursor: hand;
	cursor: pointer;
}

/************************************ * Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 5rem rgba(152, 152, 152, 0.5);
          box-shadow: inset 0 0 5rem rgba(152, 152, 152, 0.5);
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/************************************ * Padding for spacing */
.inner {
  padding: 2rem;
}

/************************************ * Header */

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: bold;
  color: rgba(77, 77, 77, 0.5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	color: #1f58a7;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255,255,255,.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

/************************************ * Tabs */

.nav-tabs .nav-item a {
	padding: 0 0.72rem
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/************************************ * Cover */

.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: bold;
}


/************************************ * Footer */

.mastfoot {
  color: rgba(255,255,255,.5);
}


/************************************ * Affix and center */
.site-wrapper-site {
    margin-top: 10rem;
 }

.table thead th {
	text-align: center;
}

.table thead th:first-child {
	text-align: left;
}

@media (min-width: 40em) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 62em) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 62rem;
  }
}


/************************************ * Login */

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.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;
}

/************************************ * BATCH */

#logo {
	margin: 0px auto;
	width: 350px;
	height: 200px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

#text {
	margin: 30px auto;
	width: 500px;
}

/*
#name, #code {
	margin: auto;
	width: 60%;
}
*/
#foto {
    border: 1px solid rgba(0,0,0,.15);
    width: 100%;
    padding: 3px;
    border-radius: .25rem;
}
#batch {
	margin: 10px auto;
	width: 522px;
	padding: 10px;
	border-radius: 10px;
}

#batchimg {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 500px;
	height: 500px;
}

#batch .form-group {
	padding:0;
	margin:0 auto
}

#batch .form-group label.custom-file {
	margin: 0px 5px;;
}

.custom-file-input {

}

.custom-file-control:lang(en)::before {
	content : none;
}
.custom-file-control:lang(en)::after {
	content: "Buscar Archivo o Tomar Foto";
	/*margin-left: -170px;*/
    color: rgba(0,0,0,0.2);
}

.custom-radio {
	width: 15%;
	min-width: 75px;
}

button[type="submit"] {
	border: 0px solid ;
	background: rgba(0,0,0,0.2);
}

#black {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 420px) and (max-width: 736px){
 
  body {
	  width: 100%;
  }
  #logo, #text, #batch{
	  width: 100%;
  }
/*  
  form div {
	  width: 90%;
  }
  #batch .form-group label.custom-file {
	  margin: 0;
  }
  .btn-primary {
	  margin: 15px 0 0 0;
  }
  .custom-radio {
	  display: block;
  }
*/
}

