
/* Dark theme */
/*
@media (prefers-color-scheme: dark) {
  :root,
  ::backdrop {
    color-scheme: dark;
    --bg: #212121;
    --accent-bg: #2b2b2b;
    --text: #dcdcdc;
    --text-light: #ababab;
    --accent: #ffb300;
    --accent-hover: #ffe099;
    --accent-text: var(--bg);
    --code: #f06292;
    --preformatted: #ccc;
    --disabled: #111;
  }
 */

/* Add a bit of transparency so light media isn't so glaring in dark mode */
/*
img,
video {
  opacity: 0.8;
}
}
*/

/* Reset */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    margin-left: 0;
    margin-right: 0;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

h1,h2,h3,h4,h5,h6, form {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}
/* End reset */

body {
    padding-top: 100px;
    font-family: Inter, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.col,
.half,
.third,
.twothird,
.threequarter,
.quarter {
    float: left;
    width: 100%
}

.col.rest {
    overflow: hidden;
}

.col.s1 {
    width: 8.33333%
}

.col.s2 {
    width: 16.66666%
}

.col.s3 {
    width: 24.99999%
}

.col.s4 {
    width: 33.33333%
}

.col.s5 {
    width: 41.66666%
}

.col.s6 {
    width: 49.99999%
}

.col.s7 {
    width: 58.33333%
}

.col.s8 {
    width: 66.66666%
}

.col.s9 {
    width: 74.99999%
}

.col.s10 {
    width: 83.33333%
}

.col.s11 {
    width: 91.66666%
}

.col.s12 {
    width: 99.99999%
}

.col.left {
    text-align: left;
}

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

.dropdown-item > i {
    margin-right: 5px;
    vertical-align: bottom;
}

.show-large {
    display: none;
}

.icon {
    vertical-align: middle;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.icon-responsive-menu {
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.5 17.27q-.213 0-.356-.145T4 16.768t.144-.356t.356-.143h15q.213 0 .356.144q.144.144.144.357t-.144.356t-.356.143zm0-4.77q-.213 0-.356-.144T4 11.999t.144-.356t.356-.143h15q.213 0 .356.144t.144.357t-.144.356t-.356.143zm0-4.77q-.213 0-.356-.143Q4 7.443 4 7.23t.144-.356t.356-.143h15q.213 0 .356.144T20 7.23t-.144.356t-.356.144z'/%3E%3C/svg%3E");
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    clear: both;
    overflow: auto;
}

.row {
    clear: both;
    overflow: auto;
}

#topnav {
    background-color: var(--dark-color);
    border-bottom: 1px solid #ddd;
    padding: 0 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: auto;

    .container {
        display: flex;
        align-items: center;
        overflow: unset;
    }

    ul > li >a {
        color: white;
    }

    .navbar-brand img {
        height: 50px;
    }
}

#topmenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

#responsive-button {
    display: none;
    margin: 0;
    padding: 0;
    width: 32px;
    height: 32px;
    cursor: pointer
}

#topmenu ul {
    list-style: none;
}

#topmenu ul li {
    display: block;
    float: left;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    transition-duration: 0.5s;
    font-weight: 500;
}

#topmenu ul li.dropdown:after {
    content: "\25BE";
    margin-left: 5px;
    color: #fff;
}

#topmenu ul.submenu {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
    visibility: hidden;
    opacity: 0;
    min-width: 5rem;
    position: absolute;
    transition: all 0.5s ease;
    margin-top: 1rem;
    left: 0;
    display: none;
    z-index: 2000;
    padding: 0px;
}

#topmenu ul.submenu li {
    clear: both;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    padding: 5px 10px;
}

#topmenu ul li ul li:hover {
    background-color: #ccc;
}

#topmenu ul li ul a {
    color: var(--dark-color);
}

#topmenu :is(ul li:hover > ul, li:focus-within > ul, ul li ul:hover, ul li ul:focus) {
    visibility: visible;
    opacity: 1;
    display: block;
}

#home-introduction {
    h4 {
        text-align: center;
    }

    img {
        display: block;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: .25rem;
        background-color: #fff;
        border: 1px solid #dee2e6;
        border-radius: .25rem;
        max-width: 100%;
        height: auto;
    }
}

#home-bottom {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #000 url("../img/bg-image-1.jpg") no-repeat;
    color: white;
    h2 {
        text-align: center;
    }

    p {
        margin-top: 5px;
    }
}

header {
    margin-bottom: 30px;
}

header .col {
    text-align: center;
}

.list-group .row {
    margin-bottom: 40px;
}

.list-group .row h4 {
    text-align: center
}

footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 40px;
    padding-bottom: 40px;

    .menu ul {
        list-style-type: none;
        padding-left: 0;
    }
}

.img-fluid {
    max-width: 100%
}

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

ul.pagination {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    color: var(--primary-color);
    padding: .375rem .75rem;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}

.page-item:first-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

#home-blog-posts {
    margin-top: 30px;
}

#home-blog-posts h3 {
    margin-bottom: 20px;
}

#home-blog-posts .article {
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

/* Extra small */
@media (max-width: 576px) {
    .table-all.responsive table,
    .table-all.responsive thead,
    .table-all.responsive tbody,
    .table-all.responsive th,
    .table-all.responsive td,
    .table-all.responsive tr {
        display: block;
    }

    .table-all thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-all.responsive tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .table-all.responsive td {
        border: none;
        position: relative;
        padding-left: 30%;
    }

    .table-all.responsive td.no-label {
        padding-left: 6px;
    }

    .table-all.responsive td.title {
        color: #2b5797;
        font-weight: 400;
        font-size: 18px;
    }

    .table-all.responsive td:before {
        position: absolute;
        left: 6px;
        content: attr(data-label);
        font-weight: bold;
    }

    .table-all.responsive td.no-label:before {
        position: absolute;
        left: 6px;
        content: "";
        font-weight: bold;
    }

    .hide-xsmall {
        display: none !important
    }
}

/* Small */
@media (min-width:577px) and (max-width: 767px) {
}

/* Minimum small */
@media (min-width:576px) {
    .col.half {
        width: 49.99999%;
    }
    .col.m6, .col.half:first-child {
        padding-right:10px;
    }
}

/* Max small */
@media (max-width: 767px) {
    .col.s1 {
        width: 8.33333%
    }

    .col.s2 {
        width: 16.66666%
    }

    .col.s3 {
        width: 24.99999%
    }

    .col.s4 {
        width: 33.33333%
    }

    .col.s5 {
        width: 41.66666%
    }

    .col.s6 {
        width: 49.99999%
    }

    .col.s7 {
        width: 58.33333%
    }

    .col.s8 {
        width: 66.66666%
    }

    .col.s9 {
        width: 74.99999%
    }

    .col.s10 {
        width: 83.33333%
    }

    .col.s11 {
        width: 91.66666%
    }

    .col.s12 {
        width: 99.99999%
    }
}

/* Medium */
@media (min-width:768px) and (max-width: 991px) {
    .col.m1 {
        width: 8.33333%
    }

    .col.m2 {
        width: 16.66666%
    }

    .col.m3 {
        width: 24.99999%
    }

    .col.m4 {
        width: 33.33333%
    }

    .col.m5 {
        width: 41.66666%
    }

    .col.m6 {
        width: 49.99999%
    }

    .col.m7 {
        width: 58.33333%
    }

    .col.m8 {
        width: 66.66666%
    }

    .col.m9 {
        width: 74.99999%
    }

    .col.m10 {
        width: 83.33333%
    }

    .col.m11 {
        width: 91.66666%
    }

    .col.m12 {
        width: 99.99999%
    }
}

/* Min medium */
@media (min-width: 768px) {
    .hide-medium {
        display: none !important
    }
}

/* Large */
@media (min-width:992px) {
    .col.l1 {
        width: 8.33333%
    }

    .col.l2 {
        width: 16.66666%
    }

    .col.l3 {
        width: 24.99999%
    }

    .col.l4 {
        width: 33.33333%
    }

    .col.l5 {
        width: 41.66666%
    }

    .col.l6 {
        width: 49.99999%
    }

    .col.l7 {
        width: 58.33333%
    }

    .col.l8 {
        width: 66.66666%
    }

    .col.l9 {
        width: 74.99999%
    }

    .col.l10 {
        width: 83.33333%
    }

    .col.l11 {
        width: 91.66666%
    }

    .col.l12 {
        width: 99.99999%
    }

    .hide-large {
        display: none !important;
    }

    .show-large {
        display: inline !important;
    }

    #main-sidebar {
        display: block !important;
    }

    .row > .half:first-child {
        padding-right: 4px;
    }

    .row > .half:nth-child(2) {
        padding-left: 4px;
    }
}

@media screen and (max-width: 992px) {
    body {
        padding-top: 80px;
    }

    #responsive-button {
        display: block;
    }

    #topnav {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #topmenu {
        position:relative;
    }

    #topmenu ul {
        background:var(--dark-color);
        position:absolute;
        z-index:3;
        height:auto;
        display:none;
        top: 55px;
        right: -30px;
        flex-direction: column;
        border-bottom-left-radius: 10px;
        padding-left:0;
    }

    #topmenu ul li {
        padding-top:4px;
        padding-bottom: 4px;
    }

    #topmenu ul li.dropdown:after {
        content: none;
    }

    #topmenu ul.submenu {
        width:100%;
        position:static;
        background: var(--dark-color);
        color: #fff;
        padding-top:4px;
        padding-bottom: 4px;
        margin-top:0;
        margin-bottom:0;
    }

    #topmenu ul.submenu li a{
        color: #fff;
    }

    #topmenu li {display:block;float:left;width:auto;}

    #topmenu :is(ul li:hover > ul, li:focus-within > ul, ul li ul:hover, ul li ul:focus) {
        display: flex;
    }

    #topmenu.responsive ul {display: flex;visibility: visible; opacity: 1; margin-top:0}
    #topmenu.responsive ul>li>ul.submenu>li {visibility: visible; display:block;}
}

@media (max-width: 1140px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}