@font-face
{
font-family: Helvetica;
src: url(./HelveticaNeue.otf);
}


.main{
    padding: 0.5em;

}
a, h2 {
    background-color: rgba(0, 0, 0, 0) !important;
    color: white !important ;
}

.card{
    margin: auto;
    background-color: white;
    border: 1px solid white;
    /* height: 27rem; */
    border-radius: 20px;
    color: black;
    max-width: 27rem;
    border-radius: 10px;
    height: 160px !important;
}
 .card-text{ 
    height: 30px;
}
.card-new{
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: red;
    width: 40px;   
    height: 40px;
    border-radius: 30px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
}
.card-text{
    color: black;
    background-color: rgba(0, 0, 0, 0);
}

h1{
    color: white;   
    padding-top: 1.5em;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: normal;
}

label, input, span, p, button, textarea, .modal-dialog {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 700;
    line-height: 15.4px;
}
.btn-outline-dark{
    border: 1px solid white;
    color: white;
}
.modal-dialog{
    margin-top: 13rem;
}
.btn-dark-secondary{
    background-color: rgb(81, 81, 81);
    color: white !important;   
}
.btn-dark-secondary:hover{
    background-color: rgb(26, 25, 25);
}
.modal-content{
    border: 1px solid gray;
    background-image: url(../img/cover.png);
    background-size: cover;
    background-position: center;
    background-size: cover;
}
.modal-header, .modal-body, .modal-footer{
    color: white;
    padding: 0.5rem;
    /* background-color: black; */
}

.att{
    font-size: 1.5rem;
    font-weight: 700;
}


.modal-header{
    border-bottom: none;
}
.modal-footer{
    border-top: none;
    justify-content: space-around;
}

.hidden {
    opacity: 0;
    /* Начальная прозрачность */
    height: 0;
    /* Начальная высота */
    overflow: hidden;
    /* Скрываем содержимое */
    transition: opacity 1s ease, height 1s ease;
    /* Плавные переходы */
}



.img-stop {
    padding-left: calc(50% - 50px);
    height: 100px;
    width: 100px;
    vertical-align: middle;
}
.img-accept{
    padding-left: calc(50% - 50px);
    height: 180px;
    width: 180px;
    vertical-align: middle;
}


.img {
    padding: 0.5rem;
    max-height: 180px;
}

.icon-link {
    width: 3rem;
    height: 3rem;
}

.container{
    height: 1300px;
    padding: 3em;
    margin-top: 10rem;
    border-radius: 20px;
    background-color: black;
}
.container-app{
    margin-top: 0;
   background-color: rgba(0, 0, 0, 0);
}

.navbar{
    justify-content: space-between;
}

table{
    color: white;
}   
body {
    background-image: url(../img/cover.png);
    background-size: no-repeat;
    background-position: center;
    background-size: cover;
}

.navbar-brand{
    color: white;
}

.form-control, .form-control-sm, label {
    background-color: black !important;
    color: white !important;
}

.form-control:focus {
    background-color: black;
}

.timepicker {
    margin-top: 1rem;
}

.logo-app{
    border-radius: 10px;
    padding: 4rem;
 	max-width: 400px;
    margin-top: 0;
}

 thead, tbody, select{
    color: white !important;
    background-color: black !important;
}

.app{
    color: white;
    padding-top: 0;
}

@media (max-width: 400px){

    .card{
        max-width: 100%;
        margin-top: 1.5rem;
    }
    h1 {
        padding-top: 1em;
        font-family: "Helvetica Neue", Helvetica, sans-serif;
        font-size: 24px;
        font-style: normal;
        font-variant: normal;
        font-weight: 700;
        line-height: 26.4px;
    }

    .container{
        height: 1300px;
        padding: 1.5em !important;
        background-color: rgba(0, 0, 0, 0.7);
    
    }
    .mt-5{
        margin-top: 0 !important;
    }
    .logo{ 
        max-height: 100px;
    }

    .flatpickr-calendar{
        margin: 0 auto;
    }
    #submitButton{
        margin-bottom: 3em;
    }
}
@media (max-width: 768px) {
    .table-responsive table, 
    .table-responsive thead, 
    .table-responsive tbody, 
    .table-responsive td, 
    .table-responsive tr { 
        display: block; 
    }
    .table-responsive thead tr { 
        display: none;
    }
    .table-responsive tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.25rem;
    }
    .table-responsive td {
        border: none;
        position: relative;
        text-align: right;
        padding-left: 50%;
    }
    
    .table-responsive td::before {
        content: attr(data-label);
        position: absolute;
        left: 0.5rem;
        width: 45%;
        padding-right: 1rem;
        text-align: left;
        font-weight: bold;
    }
    .table-responsive th {
        display: none;
    }
}


.btn-dark:disabled{
    background-color: black;
    border: 1px solid grey;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-color: white;
}

#save-order{
    margin-top: 20px;
  }

.back-btn{
    max-width: 120px;
    margin-left: calc(50% - 60px);
    border-radius: 30px;
    animation: pulse 1.5s infinite;
}

  @keyframes pulse {
    0% {
      transform: scale(.9);
    }
    70% {
      transform: scale(1);
    }
      100% {
       transform: scale(.9);
    }
  }