html {
  position: relative;
  min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: stretch;
    /*background: linear-gradient(120deg, #FFCF73 0%, #FFCF73AA 100%);*/
    background: linear-gradient(45deg, #B19061, #4A2E1F, #E5DFD6, #B19061);
    background-size: 200% 200%;
    animation: gradientShift 30s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

body > .container-fluid {
    flex-grow: 1;
}

.header {
    /*background: linear-gradient(0deg, #A66E00FF, #A66E00AA);*/
    background: linear-gradient(5deg, #4A2E1F, #E5DFD6);
    border-color: #000;
}

.navbar-brand {
    color: #ddd;
}

.footer {
    /*background-color: #A66E00;*/
    background-color: #4A2E1F;
    color: #fff;
    border-color: #000;
}

.alert.d-flex {
    gap: 12px;
}

.local-spinner {
    position: absolute;
    top: 0;
    height: min(100vh, 100%);
    left: 0;
    right: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.2);
}

.pointer {
    cursor: pointer;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(0, 0, 0, 0.1);
    padding: 4px 8px;
}
.img-overlay a {
    color: rgba(255, 255, 255, 0.2);
}
.img-overlay:hover {
    background: rgb(0, 0, 0, 0.3);
}
.img-overlay:hover a {
    color: #fff;
}
.img-overlay:hover a.disabled {
    color: #ccc;
}
.img-overlay.overlay-footer {
    top: unset;
    bottom: 0;
    color: #000;
    background: rgb(0, 0, 0, 0.3);
}

a.disabled {
    pointer-events: none;
}

.card.active {
    background-color: #FFCF73;
}

.card-title .btn {
    background-color: #FFD200;
}
.card-title .btn:hover {
    background-color: #A68800;
    color: #fff;
}
.card-title .btn img {
    background-color: #FFE673;
}
.card-title .btn.accent {
    background-color: #4573D5;
}
.card-title .btn.accent:hover {
    background-color: #1142AA;
    color: #fff;
}
.card-title .btn.accent img {
    background-color: #6C8DD5;
}

tr.active td {
    background-color: #6C8DD5;
}

.option-info img, .option-info .form-control {
    max-width: 200px;
}

.option-item.active a:not(.arrow) {
    border: 3px #A66E00 solid;
}

td.result, th.result {
    background-color: rgb(186, 224, 142);
}

.overflow-x {
    overflow-x: auto;
}
.overflow {
    overflow: auto;
}

.height-80 {
    max-height: 80vh;
}
.height-40 {
    max-height: 40vh;
}


/*Стили для вывода окна о мобильное версии*/
#mobile-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10000;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
}

.message-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
}


.logo-img {
    width: 150px;
    height: 150px;
}

.p-text {
    text-indent: 40px;
    text-align: justify;
    margin-bottom: 5px;
}