/*
 * 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;
  background-image: url("./assets/img/bg.jpg");
  background-position: center;
  background-repeat: none;
  background-size: cover;*/
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #000;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 52em;
  z-index: 2;
}


/*
 * Header
 */

header {
  margin-top: -5px!important;
}

.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
  padding-top: 7px;
  padding-left: 10px;
}

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

.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;
}

@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: 700;
}


/*
 * Footer
 */
.mastfoot {
  /*color: rgba(255, 255, 255, .5);*/
  color: #000;
}

/*.overlay {
	position:absolute;
	width:100%;
	height:100%;
	opacity:0.6;
	top:0;
	left:0;
	background-color: #fff;
}*/


.modal-body {
  color: #333;
}

#errorModal .modal-body {
  color: #721c24;
}

.loaderDisplay {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin:auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.blockPage {
  border:none !important;
  background-color: transparent!important;
}

.lead img {
  margin-top: -55px;
  margin-bottom: 15px;
  height: 27vh;
}

.logo-wrapper {
  height: 100%;
  display: inline-block;
  height: 79px;
}

.logo-img-header {
  max-width: 64px;
  max-height: 79px;
  height: 8vh;
}

.lead {
  font-size: 1rem !important;
}

.form-group .btn-link,
.form-group {
  font-size: 0.75rem !important;
}

h3 {
  font-size: 1.5rem !important;
}

.form-check-input {
  margin-top: .2rem !important;
}

/************************/
.group-password {
  margin-bottom: 0px !important;
}

.group-indicator {
  margin-bottom: 0px !important;
  height: 40px !important;
  padding-top: 6px;
}

.indicator {
  height: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  display: none;
}

.indicator span {
  width: 100%;
  height: 100%;
  background-color: #d3d3d3;
  border-radius: 3px;
  position: relative;
}

.indicator span:before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
}

.indicator span.medium {
  margin: 0 3px;
}

.indicator span.weak-active:before {
  background-color: #ff4757;
}

.indicator span.medium-active:before {
  background-color: #f5d142;
}

.indicator span.strong-active:before {
  background-color: #23ad5c;
}

#indicator-text {
  font-weight: 500;
  margin-bottom: -10px;
  display: none;
}

#indicator-text.weak {
  color: #ff4757;
}

#indicator-text.medium {
  color: #f5d142;
}

#indicator-text.strong {
  color: #23ad5c;
}

.form-group {
  margin-bottom: 0!important;
}

hr {
  margin-bottom: 5px!important;
  margin-top: 5px!important;
}

.index-element > a > img {
    max-width: 124px;
    margin-top: -15px;
}

.row-production {
  border: 1px solid #721c24;
  border-radius: 5px;
  padding-top:10px;
  margin-bottom: 30px;
}

.row-production h2,
.row-production h3 {
  color:#721c24;
}

.row-training {
  border: 1px solid #f5d142;
  border-radius: 5px;
  padding-top:10px;
  margin-bottom: 30px;
}

.row-training h2,
.row-training h3 {
  color:#f5d142;
}

.row-testing {
  border: 1px solid #23ad5c;
  border-radius: 5px;
  padding-top:10px;
  margin-bottom: 30px;
}

.row-testing h2,
.row-testing h3 {
  color:#23ad5c;
}