body, html {
  height: 100%;
}

a.nounderline:hover {
    text-decoration: none;
}

.custom-file-input ~ .custom-file-label::after {
    content: "Выбрать";
}

@-webkit-keyframes slit {
	50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
	100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
	50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
	100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
	50% { transform: translateZ(-250px) rotateY(89deg); opacity: .85; animation-timing-function: ease-in;}
	100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@media screen and (max-width: 1100px) {
  .data {
    text-align: center;
    font-size: 0.75rem;
  }
  .header{
    font-size: 1rem;
  }
  .modal-header{
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 1101px) { 
  .data {
    text-align: center;
    font-size: 1.75rem;
  }
  .header{
    font-size: 2rem;
  }
  .modal-header{
    font-size: 2.5rem;
  }
}

.bg-btk {
    background-color: #702347;
}

.form-control.is-valid, .was-validated .form-control:valid {
    padding-right: 0;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    padding-right: 0;
}

form.compact {
    margin-top: .5rem;
}

form.compact label {
    margin-bottom: 0;
}

form.compact .form-group {
    margin-bottom: .5rem;
}

div.alert[role=alert] {
    top: 2px !important;
    padding: .25rem .5rem;
}

@media screen and (max-width: 600px) {
    div.alert[role=alert] {
        /*min-height: 50px;*/
        padding: 0 5px;
        font-size: 13px;
    }
    div.alert[role=alert] i.icon {
        font-size: 32px !important;
    }
}

.modal-dialog .modal-title {
    text-shadow: 1px 1px 1px #888;
    line-height: 2.5rem;
}
.modal-dialog .modal-title i {
    vertical-align: bottom;
}
.modal-dialog .modal-content {
    box-shadow: 1px 1px 4px #333;
}
.modal.modal-dialog-scrollable {
    max-height: 100% !important;
    overflow-y: hidden !important;
}

.float-panel {
    top: 110px;
    left: 0;
    width: 100%;
    z-index: 150;
    display: flex;
    position: absolute;
    max-width: 500px;
    visibility: hidden;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}
.float-panel .content {
    padding: 0.5em;
    flex-grow: 1;
    box-shadow: 1px 1px 3px #666;
    min-height: 5em;
    border-top: 2px solid #702347;
    border-right: 2px solid #702347;
    border-bottom: 2px solid #702347;
    border-radius: 0 0.5em 0.5em 0;
    background-color: #fff;
}
.float-panel .button {
    padding: 4px 3px;
    border-radius: 0 1em 1em 0;
    background-color: #702347;
}
.float-panel .button a {
    color: #fff;
    text-decoration: none
}
.float-panel .button a i {
    font-size: 20pt;
    vertical-align: bottom;
}
