
* {
    box-sizing:border-box;
    margin:0;
    padding:0
}

body {
    z-index:1;
    min-height:100vh;
    background:linear-gradient(to left bottom,#F9F6EE,#CCCCFF);
    font-family:'Marcellus SC',serif;
}

nav {
    z-index: 5;
    background-color: #CCCCFF;
}

h1 {
    top-margin:4rem;
    padding-top:1rem;
    text-align:center;
    text-shadow:0 4px 4px rgba(0,0,0,.25)
}

.glass {
    z-index:3;
    margin-top:3rem;
    min-height:60vh;
    width:80%;
    text-align:center;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:linear-gradient(to right bottom,rgba(255,255,255,.7),rgba(255,255,255,.7));
    border-radius:2rem;
    opacity:.9;
    backdrop-filter:blur(15px);
}

.glass h2 {
    z-index:4;
    font-size:2.5rem;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    text-shadow:0 4px 4px rgba(0,0,0,.25);
    opacity:.9}

.front-of-glass {
    z-index:4
}

.behind-glass {
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

#left-gear {
    position:absolute;
    top:-25%;
    left:-1%;
    transform:translate(-50%,-50%);
    animation:gearleft 8s infinite linear;
    transform-origin:center;
    transform-box:fill-box;
}

#middle-gear {
    position:absolute;
    bottom:115%;
    transform:translate(0,-50%);
    animation:gear 6.5s infinite linear;
    transform-box:fill-box;
    transform-origin:center;
}

#right-gear {
    position:absolute;
    right:15%;
    transform-box:fill-box;
    transform-origin:center;
    animation:gear 4.5s infinite linear;
}

.footer {
    z-index:1
    position:absolute;
    margin-bottom:1rem;
    margin-top:2rem;
    width:100%;
    bottom:0;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    text-align:center;
}

@keyframes gear {
    from{transform:rotateZ(0)}
    to{transform:rotateZ(360deg)}
}

@keyframes gearleft {
    from{transform:rotateZ(360deg)}
    to{transform:rotateZ(60deg)}

}

input {
    padding-left:0.5rem;
    padding-y: 0.5rem;
    border-radius:5px;
}

#searchbox {
    background-image: url('/static/admin/img/search.svg');
    background-repeat: no-repeat; /* Do not repeat the icon image */
    background-position: 5px 50%; /* Position the search icon */
    background-position-x: calc(0% + 4px);
    position: relative;
    padding: 7px 20px 5px 20px; /* Add some padding */
}

/*Change colour of responsive icon*/
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
    content: '-';
    background-color: #d33333;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    left: 6px;
    position: absolute;
    height: 14px;
    width: 14px;
    display: flex;
    justify-content: center;
    background: #366643 !important;
    color: white;
    border: 2px solid white;
    border-radius: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: 'Courier New', Courier, monospace;
    content: '+';
    cursor: pointer;
    line-height: 14px;
}
