h1 {
    font-size: 26px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

a {
    color: #28a745;
}

a:hover {
    color: #1e7e34;
    text-decoration: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.btn.tag {
    padding: 2px 5px;
    margin: 3px;
    font-size: 12px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fffc;
}

/**/

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.form-login {
    max-width: 400px;
    margin: auto;
    border: 1px solid #28a745;
    border-radius: .3rem;
}

.form-login .head {
    padding: 15px;
    color: #fff;
}

.form-login .head h1 {
    font-size: 17px;
    font-weight: 400;
}

.form-login .body {
    padding: 15px;
}

.card-deck {
    justify-content: center;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #28a745;
    background-color: #28a745;
}

.custom-control-input:focus {
    border-color: #f00;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.5);
}

/**/

div.addserver {
    max-width: 400px;
    margin: auto;
}

small.invalid {
    width: 100%;
    margin-top: .25rem;
    color: #dc3545;
}

.page-desc {
    color: #333;
}

a.tag {
    color: #1e7e34;
    background: #fff;
}
a.tag:hover {
    color: #1e7e34;
    background-color: #28a74522;
}
a.tag.sel {
    color: #fff;
    background-color: #28a745;
}
a.tag.sel:hover {
	text-decoration: line-through;
}

.server-list {
    width: 100%;
}

.server {
    display: flex;
    padding: 20px 5px;
    border-bottom: 1px solid #dee2e6;
}

.server .pos {
    width: 5%;
    color: #fff;
    background-color: #28a745;
    height: 34px;
    padding: 5px;
    margin-top: 49px;
    text-align: center;
    border-radius: 5px;
}

.server .info {
    width: 95%;
    margin-left: 5px;
}

.server .name-desc {
    display: flex;
    margin-bottom: 4px;
}

.server .name {
    width: 50%;
    font-weight: bold;
}

.server .name h3 {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server .desc {
    width: 50%;
    padding-left: 5px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server .detail {
    display: flex;
    color: #fff;
}

.server .banner-ip {
    width: 50%;
}

.server .banner {
    width: 100%;
    height: 60px;
    border-radius: 5px 5px 0 0;
}

.server .address-copy {
    display: flex;
    background-color: #28a745;
    border-radius: 0 0 5px 5px;
}

.server .address-copy .address {
    padding: 5px 0 5px 10px;
}

.server .address-copy .copy {
    color: #fff;
    margin-left: auto;
    padding: 5px 10px;
    background: #34ce57;
    border: 0;
    border-bottom-right-radius: 5px;
    outline: none;
}

.server .address-copy .copy:hover {
    background: #2dbc4e;
}

.server .blocks {
    display: flex;
    width: 50%;
    text-align: center;
}

.server .block {
    display: flex;
    width: 25%;
    color: #fff;
    background-color: #28a745;
    margin-left: 5px;
    padding: 5px;
    border-radius: 5px;
}

.server .block div {
    margin: auto;
}

.server .block span {
    display: block;
}

.server-status-on {
    color: #fff;
    background: #090;
    padding: 2px 10px;
    border-radius: 5px;
}

.server-status-off {
    color: #fff;
    background: #900;
    padding: 2px 10px;
    border-radius: 5px;
}

.page-link {
    color: #28a745;
}
.page-link:hover {
    color: #1e7e34;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.bootstrap-select>.dropdown-toggle {
    border: 1px solid #ced4da;
}

table.server-info {
    width: 100%;
}

table.server-info tr td:first-child {
    width: 25%;
}

table.server-info tr td {
    padding: 10px 12px 10px 4px;
}

#nav-info .banner {
    text-align: center;
    max-width: 100%;
}

.cookies {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    padding: 10px;
}

.cookies a {
    text-decoration: underline
}

.custom-radios div {
    display: inline-block;
}

.custom-radios input[type=radio] {
    display: none;
}

.custom-radios label span i {
    color: #fff;
    font-size: 20px;
}

.custom-radios input[type="radio"]:checked + label span i {
    opacity: 1;
}

.custom-radios label span {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 2px;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    line-height: 40px;
}

.custom-radios label span i {
    opacity: 0;
    transition: all .3s ease;
}

.screenshot {
    border: 1px solid gray;
    border-radius: 5px;
    max-width: 100%;
}

@media (max-width: 991.98px) {

    .server {
        max-width: 468px;
        margin: auto;
    }

    .server .pos {
        display: none;
    }

    .server .info {
        width: 100%;
        margin-left: 0;
    }

    .server .name-desc {
        display: block;
    }

    .server .name {
        width: 100%;
        text-align: center;
    }

    .server .desc {
        width: 100%;
        text-align: center;
        padding-left: 0;
    }

    .server .detail {
        display: block;
    }

    .server .banner-ip {
        width: 100%;
    }

    .server .blocks {
        width: 100%;
        margin-top: 5px;
    }

    .server .block:first-child {
        margin-left: 0;
    }

    .server .block {
        padding: 5px;
    }

    .server .block span {
        display: none;
    }

}