:root{
    --primary:#D70F56;
    --secondary:#221D1F;

    --box:#2E272A;
    --color:#DFDFDF;
    --muted:#BEBEBE;
}
body{
    color:#DFDFDF !important;
    background-color:#252022 !important;
}
.switch{
    position:relative;
    display:inline-block;
    width:50px;
    height:26px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    border-radius:100px;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width:100%;
    height:100%;
    background-color: #cccccc;
    transition: .4s;
}
input:checked + .slider {
  background-color: var(--primary);
}
input:checked + .slider:before {
  transform: translateX(22px);
}
.slider:before {
    border-radius:100px;
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
.background{
    background-color: var(--box);
    padding:15px 25px;
    border-radius:10px;
    margin-bottom:20px;
}
.btn_primary{
    background-color:var(--primary) !important;
    color:white !important;
    padding:7px 15px;
    border-radius: 5px;
    border:none;
    text-decoration: none;
    display:inline-block;
    transition: opacity .3s;
}
.btn_primary:hover{
    opacity: .9;
    color:white;
}
.btn_secondary{
    background-color:var(--secondary) !important;
    color:white !important;
    padding:7px 15px;
    border-radius: 5px;
    text-decoration: none;
    display:inline-block;
    transition: opacity .3s;
}
.btn_secondary:hover{
    opacity: .9;
    color:white;
}
.navbar-nav .nav-item{
    padding-right:10px;
    padding-left:10px;
}
.navbar-nav .nav-item .nav-link{
    color: var(--color);
    font-size: 16px;
}
.navbar-nav .nav-item .navbar-avatar{
	width: 42px;
  	border-radius: 50%;
}
.sub-nav{
    position:relative;
    background-color:#221D1F;
    min-height:calc(100vh - 60px);
}
.server-info{
    text-align: center;
    padding-top:50px;
}
.server-info img{
    border-radius: 100%;
}
.server-info span{
    display:block;
    padding:10px 15px;
    font-weight: bold;
}
.sub-nav ul{
    list-style-type: none;
    padding:0;
    margin:0;
    padding-top:50px;
    width: 100%;
}
.sub-nav ul li{
    padding:10px 15px;
    width:100%;
}
.sub-nav ul li a{
    text-decoration: none;
    color:var(--color);
}
.sub-nav ul li a .im{
    line-height: 1.5;
}
.sub-nav ul li.active{
    background-color:var(--primary);
}
.item{
    background-color:#201B1E;
    padding:10px 20px;
    border-radius:10px;
    margin:10px 0px;
}
.item .media-block{
    display: flex;
    align-items: flex-start;
}
.media-block > div > img{
    margin-right:1.5em;
}
.media-block > div .time{
    color:var(--muted) !important;
    margin-left:.5em;
}
.media-block > div > .reason{
    font-size:12px;
}
input.nuke-settings{
    background-color:#221D1F;
    border:none;
    border-radius:5px;
    width:55px;
    text-align: center;
    color:var(--color);
}
.server-logo img{
    border-radius:20px;
}
.server-name{
    height:55px;
    display:flex;
    align-items: center;
    justify-content: center;
    max-width:180px;
    margin:auto;
    transition: color .3s;
}
.server-list .col-md-3:hover{
    cursor:pointer;
}
.server-list .col-md-3:hover .server-name{
    color: white;
}
.home{
    height:calc(100vh - 60px);
    display:flex;
    align-items: center;
    font-size: 1.3em;
}
.home h1{
    margin-bottom:10px;
    font-size:2.3em;
    font-weight: 400;
}
table{
    background-color:var(--box);
    border-radius:10px;
    width:100%;
}
table tr:first-of-type{
    background-color:var(--primary);
}
table tr:first-of-type th:first-of-type{
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
}
table tr:first-of-type th:last-of-type{
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
}
table tr td,
table tr th{
    padding:10px 15px;
}
table tr td:first-of-type{
    color:#FFA2C3;
}
table tr td:last-of-type{
    color:var(--muted);
}
@keyframes blink{
  50%{
  	opacity: 0;
  }
}
span.online{
    color:#32BD40;
    font-weight: bold;
    position:relative;
    padding-left:30px;
}
span.online::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background-color:#32BD40;
  	animation: blink 2s infinite;
}
span.offline{
    color:#f55442;
    font-weight: bold;
    position:relative;
    padding-left:30px;
}
span.offline::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background-color:#f55442;
  	animation: blink 2s infinite;
}
@media (max-width:777px){
    .sub-nav{height:auto;}
}
.raid-animation{
    height:424px;
}
.raid-animation .message{
    border-left:1px solid #ffffff00;
    padding:5px 15px;
    display:flex;
}
.raid-animation .message > div:first-of-type{
    margin-right:15px;
}
.raid-animation .spammer .message{
    border-left:1px solid #FAA61A;
    background-color:#4e473b;
    animation: spamANI 10s infinite;
    overflow:hidden;
}
@keyframes spamANI {
    0%{
        height:56px;
    }
    5%{
        height:86px;
    }
    10%{
        height:116px;
    }
    14%{
        height:144px;
    }
    20%{
        height:174px;
    }
    23%{
        height:204px;
    }
    25%{
        height:230px;
    }
    26%{
        height:260px;
    }
    30%{
        height:290px;
    }
    35%{
        height:324px;
    }
}
.raid-animation .message span.title > small{
    font-size:.8em;
    color:#b8b8b8;
}
.raid-animation .message > div > div{
    margin-bottom:5px;
}
.raid-animation .message span{
    line-height:1.5;
}
.raid-animation .message span.everyone{
    background-color:#55586C;
    padding:1px 2px;
    border-radius:3px;
}
.raid-animation .stopit .message{
    animation:stopITANI 10s infinite;
}
@keyframes stopITANI {
    0%{
        opacity: 0;
    }
    34%{
        opacity: 0;
    }
    35%{
        opacity: 1;
    }
    100%{
        opacity: 1;
    }
}
.message img{
    border-radius:100%;
}
.bot{
    font-size:.9em;
    background-color:#7289DA;
    color:white;
    padding:0px 3px;
    border-radius:3px;
}
.save-div{
    position:fixed;
    bottom:0;
    left:50%;
    transform: translate(-50%, -15px);
    max-width:400px;
    width:100%;
    background-color:var(--box);
    display:flex;
    align-items: center;
    padding:8px 15px;
    border-radius:5px;
    /*animation: fromBottom .3s;*/
  	transition-duration: .6s;
  	opacity: 1;
}
.save-div span:first-of-type{
    width:100%;
    font-weight: normal;
}
.save-div .save-btn{
    padding:4px 10px !important;
}