#jail-container {
    width: auto;
    height: 50%;
    aspect-ratio: 1.9/1.2;

    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background: linear-gradient(60deg, var(--background));
    border-radius: 2vh;
    opacity: 0;
    overflow: hidden;
    transition: opacity .2s;

    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.jail-site {
    width: 100%;
    height: calc(100% - 5vh);
    float: left;
}

/* HEAD */
.jail-head {
    width: 100%;
    height: 5vh;
    margin: 0;

    background: linear-gradient(to right, #FFFFFF06 0%, #FFFFFF00 99%);
    border-radius: 2vh 2vh 0 0;
}
.jail-head img {
    width: 4vh;
    height: 4vh;
    margin: 0;
    padding: .5vh;
    float: left;

    object-fit: contain;
}
.jail-head h2 {
    width: auto;
    height: 5vh;
    margin: 0;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 2.25vh;
    font-weight: normal;
    line-height: 5vh;
    color: #FFFFFFBB;
}
.jail-head i {
    width: 5vh;
    height: 5vh;
    margin: 0;
    float: right;

    font-size: 2vh;
    text-align: center;
    line-height: 5vh;
    color: #FFFFFF40;
    transition: all .2s ease;
}
.jail-head i:hover {
    color: var(--main);
    cursor: pointer;
}

#manage-nav {
    width: auto;
    height: 5vh;
    margin: 0 1vh;
    float: left;

    display: flex;
    align-items: center;
}
#manage-nav div {
    width: auto;
    height: 3vh;
    margin: 0;
    padding: 0 .75vh;
    float: left;

    background: #FFFFFF00;
    color: #FFFFFF60;
    border-radius: 1vh;
    display: flex;
    align-items: center;
    transition: all .2s ease;

    font-family: 'Calibri', sans-serif;
    font-size: 1.5vh;
}
#manage-nav div:hover {
    color: var(--main);
    cursor: pointer;
}

/* OVERVIEW */
#jail-overview {
    display: block;
}

.overview-search {
    width: calc(97% - 4vh);
    height: 4vh;
    margin: 1% 0 0 1%;
    float: left;

    background: #f6f6f610;
    border-radius: 1vh;
}
.overview-search i {
    width: 4vh;
    height: 4vh;
    float: left;

    font-size: 1.75vh;
    text-align: center;
    line-height: 4vh;
    color: var(--main);
    filter: drop-shadow(0 0 .9vh var(--main));
}
.overview-search input {
    width: calc(100% - 4vh);
    height: 4vh;
    margin: 0;
    padding: 0;
    float: left;

    background: none;
    color: #FFF;
    border: none;
    outline: none;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    text-align: left;
}

#overview-search-button {
    width: 4vh;
    height: 4vh;
    margin: 1% 0 0 1%;
    float: left;

    background: #f6f6f610;
    color: var(--main);
    border-radius: 1vh;
    transition: all .3s ease;

    font-size: 1.75vh;
    text-align: center;
    line-height: 4vh;
}
#overview-search-button:hover {
    background: #f6f6f619;
}

#overview-inmates {
    width: 97.5%;
    height: calc(93% - 4vh);
    margin: 2% 1% 0 1%;
    padding-right: .5%;
    float: left;
    
    border-radius: 1vh;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all .2s ease;
}
.inmate {
    width: 100%;
    height: 8vh;
    margin: 0 0 1.5% 0;
    float: left;

    background: #FFFFFF09;
    border-radius: 1vh;
    transition: all .2s ease;
}
.inmate:last-child {
    margin-bottom: 0;
}
.inmate-icon {
    width: 8vh;
    height: 8vh;
    margin: 0;
    float: left;

    font-size: 3vh;
    text-align: center;
    color: var(--main);
    filter: drop-shadow(0 0 1vh var(--main));
    display: flex;
    justify-content: center;
    align-items: center;
}
.inmate-name {
    height: auto;
    width: 70%;
    margin: 1.5% 0 0 0;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 2.5vh;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    color: #FFFFFFFF;
}
.inmate-time {
    height: auto;
    width: 70%;
    margin: .5% 0 0 0;
    float: left;

    font-size: 1.75vh;
    text-align: left;
    color: var(--main);
    filter: drop-shadow(0 0 2vh var(--glow));
}
.inmate-time span {
    margin-left: 1%;
    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    font-weight: normal;
    text-transform: uppercase;
    color: #FFFFFF60;
    filter: none;
}
.inmate-settings {
    height: 8vh;
    width: 6vh;
    margin: 0;
    float: right;
    transform: translateY(-50%);

    font-size: 3vh;
    color: #FFFFFF60;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 2vh var(--glow));
    transition: all .2s ease;
}
.inmate-settings:hover {
    color: var(--main);
}

/* IMPRISON */
#jail-imprison {
    display: none;
}

#jail-imprison h2 {
    width: 48%;
    height: auto;
    margin: 1% 1% .5% 1%;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 2.5vh;
    font-weight: bold;
    color: #FFFFFF60;
}
#jail-imprison input {
    width: 46%;
    height: 3.5vh;
    margin: 0 1%;
    padding: 0 1%;
    float: left;

    background: #FFFFFF09;
    color: #FFF;
    border: none;
    border-radius: 1vh;
    outline: none;
    transition: all .1s ease;

    font-family: 'Calibri', sans-serif;
    font-size: 1.85vh;
    font-weight: normal;
}

#imprison-cells {
    width: 49%;
    height: 96%;
    margin: 1% 0 0 1%;
    float: left;

    overflow-x: hidden;
    overflow-y: auto;
}

.cell-item {
    width: 49%;
    height: 6vh;
    margin: 0 0 2% 0;
    float: left;

    background: #FFFFFF09;
    border-radius: 1vh;
    transition: all .4s ease;
}
.cell-item:nth-child(2n + 2) {
    margin-right: 2%;
}
.cell-yard {
    width: 100%;
    margin: 0 0 2% 0;
}
.cell-yard i {
    width: 6vh;
    height: 6vh;
    margin: 0;
    float: left;

    font-size: 3vh;
    text-align: center;
    line-height: 6vh;
    color: #FFFFFF20;
    transition: all .1s ease;
}
.cell-item p {
    width: 6vh;
    height: 6vh;
    margin: 0;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 4vh;
    font-weight: bold;
    text-align: center;
    line-height: 6vh;
    color: #FFFFFF20;  
    transition: all .1s ease;
}
.cell-item h3 {
    width: calc(96% - 6vh);
    height: 100%;
    margin: 0;
    padding: 0 2%;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 3vh;
    text-align: left;
    line-height: 6vh;
    color: #FFF;
}
.cell-item h4 {
    width: calc(96% - 6vh);
    height: 2.5vh;
    margin: 0;
    padding: 0 2%;
    float: left;

    font-family: 'Calibri', sans-serif;
    font-size: 1.5vh;
    font-weight: normal;
    text-align: left;
    line-height: 2.5vh;
    color: #FFF9;
}
.cell-item h4:first-of-type {
    margin-top: .5vh;
}
.cell-item h4 i {
    width: 2vh;
    height: 2.5vh;
    float: left;

    font-size: 1.4vh;
    text-align: left;
    line-height: 2.5vh;
    color: var(--main) !important;
    filter: drop-shadow(0 0 1vh var(--glow));
}

#imprison-players {
    width: 48%;
    height: 40%;
    margin: 0 1%;
    float: left;

    overflow-x: hidden;
    overflow-y: auto;
}
#imprison-players div {
    width: 100%;
    height: 3vh;
    margin: 0 0 2% 0;

    background: #FFFFFF09;
    color: #FFFFFF90;
    border-radius: 1vh;
    transition: all .1s ease;

    font-family: 'Calibri', sans-serif;
    line-height: 3vh;
}
#imprison-players div i {
    width: 3vh;

    text-align: center;
    color: #FFFFFF20;
    transition: all .2s ease;
}

#imprison-button, #release-button {
    width: 48%;
    height: 4.5vh;
    margin: 2.25% 1% 1% 1%;
    float: left;

    background: #FFFFFF09;
    color: var(--main);
    border-radius: .75vh;
    border: none;
    outline: none;
    transition: all .2s ease;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
}
#imprison-button:hover, #release-button:hover {
    color: #FFF;
    box-shadow: inset 2vh -3vh 4vh 0 var(--glow);
}

#release-button {
    height: 3.5vh;
    margin-top: 0;

    font-size: 1.75vh;
    color: #FFF6;
}

/* WORKING */
#jail-working {
    position: absolute;
    width: 35vh;
    height: 40vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: linear-gradient(60deg, var(--background));
    border-radius: 2vh;
    overflow: hidden;
    opacity: 0;
    transition: all .2s ease;
}

#jail-working h2 {
    width: 100%;
    height: auto;
    margin: 2% 0 0 0;

    font-family: 'Calibri', sans-serif;
    font-size: 3.75vh;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: var(--main);
    filter: drop-shadow(0 0 1.5vh var(--glow));
}
#jail-working h3 {
    width: 90%;
    height: auto;
    margin: 1% 5% 5% 5%;

    font-family: 'Calibri', sans-serif;
    font-size: 1.5vh;
    font-weight: normal;
    text-align: center;
    color: #FFFFFF;
}
#jail-working h3 span {
    color: var(--main);
    filter: drop-shadow(0 0 1vh var(--glow));
}
#jail-working h4 {
    width: 100%;
    height: auto;
    margin: 0;

    font-family: 'Calibri', sans-serif;
    font-size: 1.75vh;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF60;
}

#jail-working button {
    width: 90%;
    height: 4vh;
    margin: 3% 5% 0 5%;

    background: #FFFFFF09;
    color: var(--main);
    border-radius: 1vh;
    border: none;
    outline: none;
    transition: all .2s ease;
    z-index: 1;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    font-weight: normal;
}
#jail-working button:hover {
    background: #FFFFFF12;
    filter: drop-shadow(0 0 2vh var(--glow));
}

#working-img {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    bottom: 0;

    background: url('img/gardener.png');
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 3vh #ff02);
    z-index: -1;
}

/* BRIBE */
#jail-bribe {
    position: absolute;
    width: 30vh;
    height: 35vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: linear-gradient(60deg, var(--background));
    border-radius: 2vh;
    overflow: hidden;
    opacity: 0;
    transition: all .2s ease;
}

#jail-bribe h2 {
    width: 100%;
    height: auto;
    margin: 4% 0 0 0;

    font-family: 'Calibri', sans-serif;
    font-size: 3.75vh;
    font-weight: bold;
    text-align: center;
    color: var(--main);
    filter: drop-shadow(0 0 1.5vh var(--glow));
}
#jail-bribe h3 {
    width: 90%;
    height: auto;
    margin: 2% 5% 5% 5%;

    font-family: 'Calibri', sans-serif;
    font-size: 1.5vh;
    font-weight: normal;
    text-align: center;
    color: #FFFFFF;
}
#jail-bribe h3 span {
    color: var(--main);
    filter: drop-shadow(0 0 1vh var(--glow));
}
#jail-bribe h4 {
    width: 100%;
    height: auto;
    margin: 0;

    font-family: 'Calibri', sans-serif;
    font-size: 1.75vh;
    font-weight: normal;
    text-align: center;
    color: #FFFFFF60;
}
#jail-bribe h5 {
    width: 100%;
    height: auto;
    margin: 3% 0;

    font-family: 'Calibri', sans-serif;
    font-size: 1.5vh;
    font-weight: normal;
    text-align: center;
    color: #FFFFFF60;
    transition: all .1s ease;
}
#jail-bribe h5:hover {
    color: #FFFFFF90;
}

#jail-bribe input {
    width: 90%;
    height: 4vh;
    margin: 5% 5% 0 5%;
    padding: 0;

    background: #FFFFFF09;
    color: var(--main);
    border-radius: 1vh;
    border: none;
    outline: none;
    transition: all .2s ease;
    z-index: 1;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    font-weight: normal;
    text-align: center;
}
#jail-bribe button {
    width: 90%;
    height: 4vh;
    margin: 3% 5% 0 5%;

    background: #FFFFFF09;
    color: var(--main);
    border-radius: 1vh;
    border: none;
    outline: none;
    transition: all .2s ease;
    z-index: 1;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    font-weight: normal;
}
#jail-bribe button:hover {
    background: #FFFFFF12;
    filter: drop-shadow(0 0 2vh var(--glow));
}

#jail-bribe img {
    width: 70%;
    height: 6vh;
    margin: 5%;
    padding: 2.5vh 10%;

    filter: drop-shadow(0 0 4vh var(--glow));
    object-fit: contain;
    object-position: center;
}

#bribe-offer {
    display: block;
}
#bribe-buy {
    display: none;
}

/* TIMER */
#jail-timer {
    position: absolute;
    width: 25vh;
    height: 15vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    transition: all .2s ease;
}
#jail-timer i {
    position: absolute;
    width: 100%;
    height: auto;
    top: -1.25vh;

    font-size: 7vh;
    text-align: center;
    color: #FFFFFF20;
}
#jail-timer h2 {
    width: 100%;
    height: auto;
    margin: 1.25vh 0 0 0;

    font-family: 'Arial Black', sans-serif;
    font-size: 4vh;
    text-align: center;
    color: #FFF;
}
#jail-timer h4 {
    width: 100%;
    height: auto;
    margin: -1vh 0 0 0;

    font-family: 'Calibri', sans-serif;
    font-size: 2vh;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF90;
}

#timer-glow {
    width: 15vh;
    height: 2vh;
    margin: -3vh 5vh 0 5vh;

    background: #ff0;
    border-radius: 100%;
    box-shadow: 0 0 12vh 6vh var(--main);
}

/* REDESIGN */
::-webkit-scrollbar {
    width: .75vh;
    margin-left: 2%;
}
::-webkit-scrollbar-track {
    border-radius: .5vh;
}
::-webkit-scrollbar-thumb {
    background: var(--glow);
    border-radius: .5vh;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--main); 
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::selection {
    color: #FFF;
    background: var(--main);
  }