﻿html {
    box-sizing: border-box;
    min-height: 100vh;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Nunito';
    font-size: 1em;
    overflow-x: hidden;
    /* background-image: url('/img/bg.jpg'); */
    /* background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover; */
}

.btn-link {
    text-decoration: none;
    cursor: pointer;
}

.help-block,
.error {
    color: #bd0031;
}

.error {
    margin-top: 3px;
}

.word_in_english {
    color: #ff6f00;
    font-size: 1.2em;
    letter-spacing: 0.1em;
}

.word_in_bulgarian {
    color: #ff6f00;
    font-size: 1.2em;
}

.show_word {
    font-size: 1.2em;
    cursor: pointer;
    color: #666666;
}

.text-muted {
    color: #efefef;
}

a {
    text-decoration: none;
}

.text-light {
    color: #ffca28 !important;
}

/* #FFF8E1 #FFECB3 #FFE082 #FFD54F #FFCA28 #FFC107 #FFB300 #FFA000 #FF8F00 #FF6F00 #FFE57F #FFD740 #FFC400 #FFAB00 */

.btn-primary,
.active > .page-link,
.page-link.active {
    background-color: #ff6f00;
    border: 1px solid #ff6f00;
    font-weight: 500;
}
.btn-outline-primary {
    color: #ff6f00;
    border: 1px solid #ff6f00;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #ffca28 !important;
    color: #ffffff;
    border: 1px solid #ffc107 !important;
    font-weight: 500;
}

.form-check-input:checked {
    background-color: #ff6f00;
    border-color: #ff6f00;
}

.btn-primary:hover {
    background-color: #ffa000 !important;
    border: 1px solid #ffa000 !important;
}

a,
.btn-link,
.page-link,
.text-primary {
    color: #ff6f00 !important;
}
.btn-primary {
    color: #ffffff !important;
}
a:hover,
.btn-link:hover,
.page-link:hover {
    color: #ff6f00;
}

.btn-secondary,
.active > .page-link,
.page-link.active {
    background-color: #ffecb3;
    border: 1px solid #ffd54f;
    color: #ff6f00;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #ffca28 !important;
    border: 1px solid #ffa000 !important;
    color: #ff6f00 !important;
}

.text-secondary {
    color: #ff8f00 !important;
}

.bg-light {
    background-color: #fff8e1 !important;
}

.card-header {
    background-color: #ffecb3;
    font-size: 1.2em;
    color: #666;
    border-bottom: #ffca28;
}

.card {
    border-color: #ffca28;
}

.navbar {
    border-bottom: 1px solid #ffca28;
}

.alert-warning {
    border: 1px solid #ffca28;
}

.active_link {
    border-bottom: 2px solid #ff6f00;
    color: #ff6f00 !important;
}

.nowrap {
    white-space: nowrap;
}

.footer {
    min-height: 60px;
    max-height: 100px;
    background-color: #fff8e1;
    border-top: 1px solid #ffca28;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iKnowThat {
    color: #198754;
}

.iDoNotKnowThat {
    color: #dc3545;
}

.doIKnow {
    color: transparent;
}

.toast-title {
    display: none;
}

.toast {
    font-size: 1.2em;
}

.toast {
    background-color: #ff6f00;
    background-image: none !important;
}

.toast:before {
    content: '\f05a';
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-family: 'Font Awesome 5 Pro';
    font-size: 1.4rem;
    left: 1rem;
    top: 0;
    bottom: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.toast-success {
    background-color: #1ab3a3 !important;
}
.toast-success:before {
    content: '\f00c' !important;
}

.toast-error {
    background-color: #fd3995 !important;
}
.toast-error:before {
    content: '\e247' !important;
}

.toast-info {
    background-color: #2196f3 !important;
}
.toast-info:before {
    content: '\f05a' !important;
}

.toast-warning {
    background-color: #ffb20e !important;
}
.toast-warning > div,
.toast-warning .toast-close-button {
    color: #000;
}
.toast-warning:before {
    content: '\f071' !important;
    color: #000;
}

.text-fade-success {
    color: rgba(25, 135, 84, 0.5);
}

.text-fade-danger {
    color: rgba(220, 53, 69, 0.5);
}

.form-select {
    height: 100%;
}

.curtain {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(60, 60, 60, 0.5);
}

.curtain .box div {
    display: flex;
    padding: 50px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #ff6f00;
    border-radius: 0.5em;
    box-shadow: 2px 2px 5px #444;
    -moz-box-shadow: 2px 2px 5px #444;
    -webkit-box-shadow: 2px 2px 5px #444;
}

.curtain .box {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}

select {
    background-color: #fff3cd !important;
    border-color: #ffca28 !important;
    color: #ff6f00 !important;
}

.text_btn {
    background-color: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    padding: 15px 15px 10px 15px;
}

table {
    border-top: 1px solid #212529;
    border-bottom: 1px solid #212529;
}
.dropdown-item:active {
    background-color: #fff3cd;
}
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    background-color: #ff6f00;
}

.dt-center {
    text-align: center;
}

.dt-right {
    text-align: right;
}

tfoot {
    display: table-header-group;
}
/* .filterInput {
    border-radius: .25em;
    border: 1px solid #ccc !important;
    width: 100%;
    margin-right: 15px !important;
    height: 100%;
} */

.searches input {
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    font-size: 0.9em;
    font-weight: normal;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: 0 solid #ddd;
    border-right: 0 solid #ddd;
    background-color: #fff8e1;
    z-index: 99999999;
}

.code {
    font-family: "Courier New", Courier, monospace;
    background-color: #fcf6f8;
    padding: 0.03em 0.2em;
    border: 1px solid #f7d6df;
    border-radius: 0.25em;
}
