:root {
    --primary-color: #337ab7;
    --hover-color: #23527c;
    --icon-size: 15px; /* Our standardized icon size */
}

.cap_probe .float_right .providerhome {
    visibility: hidden;
}

.cap_probe:hover .float_right .providerhome {
    visibility: visible;
}

.page-header {
    margin-top: 20px;
}

#search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

#search-bar {
    width: 100%;
}

.table-borderless td, .table-borderless th {
    border-top: none;
    padding: 4px;
}

.row-margin {
    margin-bottom: 15px;
}

pre {
    overflow-x: auto;
}

pre code {
    white-space: pre;
}

.query-header {
    white-space: nowrap;
    overflow: hidden;
}

.groupheader h3 {
    margin: 1rem 0;
    cursor: pointer;
    color: var(--primary-color);
}

.groupheader h3:focus, .groupheader h3:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.github-fork-ribbon::before {
    background-color: #265a88;
}

.clear_both {
    clear: both;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.icon-pseudo {
    padding-left: var(--icon-size);
    position: relative;
}

.residential {
    padding-left: 15px; /* Adjust this based on the size of your icon and desired spacing. This ensures space for the icon plus a bit more */
    position: relative; /* Enables positioning of pseudo-elements relative to this element */
}

.residential::before {
    content: ""; /* Essential for the pseudo-element to be generated */
    display: inline-block; /* So that you can set width and height */
    width: 15px; /* Width of the icon */
    height: 15px; /* Height of the icon */
    background-image: url('https://mtr.si/home-button.png');
    background-repeat: no-repeat;
    background-size: contain; /* This will ensure the image fits inside the width and height */
    position: absolute; /* Absolute positioning related to the .residential container */
    left: 0px; /* Distance from the left border of .residential */
    right: 1px;
    top: 50%; /* Center it vertically */
    transform: translateY(-50%); /* This will truly center it vertically */
}
.sponsored {
    padding-left: 15px;
    position: relative;
}

.sponsored::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('https://mtr.si/crown.png'); /* Use the path to your crown icon */
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0px;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.flag {
    width: auto; /* Maintains aspect ratio */
    height: var(--icon-size);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block; /* Makes sure that width and height are respected */
}

.flag img {
    height: var(--icon-size);
    width: auto;
}

.country-toggle {
    cursor: pointer;
}

.progress {
    margin-bottom: 0;
}

.provider-toggle img {
    height: var(--icon-size);
    width: auto; /* To maintain aspect ratio */
}

.asn {
    font-size: 70%;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

