ul.navbar-nav li.nav-item a.active{
    box-shadow: 0px 7px 16px 0px rgba(200,200,200,0.6);
    transform: translateY(-2px);
    border-radius: 4px;
}
ul.navbar-nav li.nav-item a:hover{
    box-shadow: 0px 7px 16px 0px rgba(200,200,200,0.6);
    transform: translateY(-2px);
    border-radius: 4px;
}

div.heading{
    margin: 1%;
    text-align: center;
    font-size: xx-large;
    font-family: Sofia;
}

div.activepage{
    padding-top: 1%;
    padding-left: 1%;
    height: 100%;
}

div.inactivepage{
    display: none;
}

button.submit{
    border: 0;
    border-radius: 4px;
}

button.submit:hover{
    box-shadow: 0px 10px 10px 0px rgba(100,100,100,0.6);
    transform: translateY(-2px);
}

div.table div.row{
    border-radius: 8px;
    background-color: #607EAA;
    width: 70%;
    padding: 10px;
    margin-left: 15%;
    margin-right: 15%;
}

table.tt{
    border-radius: 8px;
    width: 96%;
    margin-left: 2%;
    border-collapse: collapse;
}

table.tt th{
    background-color: #1C3879;
    color: #DFF6FF;
    border: 2px solid #DFF6FF;
    border-radius: 8px;
    text-align: center;
}

table.tt td:not(.filled){
    background-color: #607EAA;
    border: 2px solid #DFF6FF;
    border-radius: 8px;
    text-align: center;
}

table.tt td.filled{
    background-color: #AFB4FF;
    color: #06283D;
    border: 2px solid #DFF6FF;
    border-radius: 8px;
    text-align: center;
}

table.tt td.filled:hover:not(.first){
    background-color: #9C9EFE;
    color: black;
}

table.tt td:hover:not(.first){
    background-color: #2B4865;
    color: black;
}

footer{
    position: fixed;
    bottom: 0;
    height: 10%;
    width: 100%;
    text-align: center;
    background-color: #607EAA;
}


.container{
    position: relative;
    width: 50%;
}

.image{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    margin-right: 25%;
}

.middle{
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.container:hover .image{
    opacity: 0.3;
}

.container:hover .middle{
    opacity: 1;
}

.text{
    color: black;
    font-size: 16px;
    padding: 16px 32px;
}