@font-face {
    font-display: swap;
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 300;
    src: url('/static/fonts/oswald-v53-latin-300.woff2') format('woff2');
}


@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/static/fonts/open-sans-v40-latin-regular.woff2') format('woff2');
}


html,
body {
    background: fixed linear-gradient(10.2deg, #0F0E52 2.77%, #8A73B4 138.25%);
    color: #ffffff;
    height: 100%;
}

.container {
    min-height: 100%;
    padding-bottom: 1em;
}

.container {
    background-image: linear-gradient(359.71deg, #0E0E23 0.89%, #0F0E52 81.78%);
}

hr {
    border-color: #3B7DF4;
    margin: 25px 15px 25px 15px;
}


/*text styles */

h1 {
}

h2 {
}

h3 {
    margin: 0px 15px 25px 15px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

h4 {
    margin: 0px 15px 25px 15px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

h5 {
    font-size: 1.7em;
    margin: 0px 15px 25px 15px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

h6 {
    font-size: 1.2em;
    margin: 0px 15px 5px 15px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}


.nav-link {
    font-size: 1.2em;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

legend {
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

ol {
    margin-bottom: 30px;
}

input[type=text] {
    color: #191919;
}

p {
    font-weight: 500;
}

/* fix form help text color */
.form-text {
    color: #ffffff;
}


/* navigation style */
/* .navbar-dark .navbar-brand {
    width: 160px;
} */

.navbar-img {
    height: 1.5em;
}

.bg-primary {
    background: #0F0E52 !important;
}

.navbar {
    border-bottom: 1px solid #3B7DF4;
    margin-bottom: 20px;
}

.dropdown-menu {
    background-color: #3B7DF4 !important;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.dropdown-menu a {
    color: #ffffff !important;
}

/*align content 15px left 15 right*/
p, fieldset, .buttonHolder {
    margin: 0px 15px 10px 15px;
}


/* buttons */
.buttonHolder {
    padding-bottom: 20px;
}

.btn {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px 15px 5px 15px;
    border-radius: 3px;
    font-weight: 500;
}

a.btn.btn-sm {
    padding: 5px 10px;
    margin: 0px;

}

.btn-primary {
    background: #3B7DF4;
    border-color: #3B7DF4;
}

.btn-group > .btn {
    margin: 0;
}

/* switches */

.form-switch.form-switch-lg {
    margin-bottom: 2em; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
    scale: 1.5;
    transform-origin: left;
    margin-right: 1.5em !important;
    border-radius: 4rem;
}

.custom-switch-lg {
    /* Used in crispy forms */
    scale: 1.5;
    transform-origin: left;
    margin-right: 1.5em !important;
}

/* large checkbox */

.form-check-lg > input {
    scale: 1.5;
    transform-origin: left;
}

.form-check-lg > label {
    margin-left: 1em;
}

/* fix striped tables */
.table-striped {
    --bs-table-striped-color: unset;
}

/* Entries table */
.table {
    --bs-table-color: unset;
    --bs-table-bg: unset;
}

.table th {
    padding: 10px 10px 10px 5px;
    text-align: left;
    vertical-align: middle;
}

.table td {
    padding: 5px 10px 5px 5px;
    text-align: left;
    vertical-align: middle;
}

/*fontpage alignment*/

p.text-muted.text-sm {
    margin: 0 15px 15px 15px;
    color: var(--bs-secondary-text-emphasis) !important;
}

div.text-semibold.media-heading.box-inline {
    margin: 0px 15px -7px 15px;
    font-weight: 600;
    font-size: 1.2em;
}

/*livevote*/

table tr {
    margin-left: 15px;
}

table hr {
    margin-left: 0px;
}

div.btn-group.btn-group-toggle .btn {
    margin: 0px;
}

label.btn.btn-primary {
    border-color: #266FF3;
}

.btn-primary:hover {
    background-color: #1660E4;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
    background-color: #201E7D;
    border-color: #201E7D;
    font-weight: 600;
}


/* listgroup admin*/

.list-group {
    color: #191919;
    font-weight: 600;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* vote */
.card-body {
    color: #191919;
}

.card-title {
    font-size: 1.2em;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.card-title.text-muted {
    font-size: 0.8em;
}

.card-text {
    margin: 0px;
    font-size: 0.85em;
}

span {
    font-weight: 50;
}

.card-footer {
    background-color: #EEF1F6;
    border: none;
}

.row {
    height: auto;
}

.card {
    min-height: 96%;
    margin-bottom: auto;
}

/* entry detail and screenshot */

.entry-screenshot {
    width: 200px
}

/* Go To Top Button */

#gotoTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: darkblue;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    opacity: 75%;
}

#gotoTopBtn:hover {
    background-color: black; /* Add a dark-grey background on hover */
}

/* DAL autocomplete dropdown fixes */

.select2-results__option {
    color: #000000;
}

.select2-selection, .select2-selection__arrow {
    height: 35px !important;
    border-radius: 0 !important;
}

.select2-container {
    width: 100% !important;
    min-width: 0 !important;
}

.filter-is-votable {
    display: none;
}

.filter-entry-open {
    display: none;
}

.filter-remotes-allowed {
    display: none;
}


/* Fix input group addon icon */
.input-group-append .input-group-text {
    display: block;
}

/* Dropdown fixed */

button.dropdown-item {
    color: #ffffff !important;
    text-transform: uppercase;
}

.btn-group .dropdown-menu {
    border-top-width: unset !important;
    border-color: black !important;
}

.dropdown-header {
    color: #ffffff;
}
