@charset "UTF-8";

body {
    padding: 5px;
    font-family: "PT Serif", serif;
    font-size: 15px;
}

.spaced-v {
    padding: 10px 0 10px 0;
    margin-bottom: 5px;
}

.spaced-h {
    margin-right: 5px;
}

p {
    text-align: justify;
}

.bordered {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #356AA0;
}

.center {
    text-align: center;
}

.justify {
    text-align: justify;
}

.answer-bg {
    background-color: #fbf0cc; /*light-orange*/
}

.height-auto {
    height: auto;
}

.hidden {
    visibility: hidden;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #85A976;
    background-color: #85A976;
    height: 2px;
    width: 58px;
    margin-left: -4px;
}

input.answer {
    width: 100%;
    text-align: center;
    border-radius: 3px;
}

.fraction {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
}

.block {
    text-align: center;
}

.block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em; /* Adjusts for spacing */

    background: #808080; width: 5px;
}

.answers {
    text-align: center;
}

.answers span.right-side {
    margin-right: 15px;
    font-size: 25px;
    display: inline-block;
    text-align: right;
}

.answers > div:not(:last-child) {
    margin-bottom: 15px;
}

.content {
    padding: 0 70px 0 70px;
}

.flex-container {
    display: flex;
    justify-content: space-around;
}

.water-taps-content {
    align-items: center;
    margin-bottom: 10px;
}

.water-tap {
    margin-top: 5px;
}

.answer-content {
    margin-top: 30px;
    font-size: 16px
}

.water-taps-content .water-tap > img {
    width: 74px;
    height: 69px;
    display: block;
    margin: auto;
}

.text-header {
    display: block;
    text-align: center;
}

.tank .middle {
    align-items: flex-end;
    width: 100%;
    height: 180px;
    border: solid 2px black;
    border-top: transparent;
    -moz-border-radius: 0 0 10% 10%;
    -webkit-border-radius: 0 0 10% 10%;
    border-radius: 0 0 10% 10%;
    margin-top: -14px;
}

.tank .top {
    width: 100%;
    height: 30px;
    border: solid 2px black;
    -moz-border-radius: 60px / 25px;
    -webkit-border-radius: 60px / 25px;
    border-radius: 60px / 25px;
}

.drain {
    padding-bottom: 3px;
}

.drain > img {
    width: 80px;
    height: 25px;
    -moz-border-radius: 100px / 50px;
    -webkit-border-radius: 100px / 50px;
    border-radius: 100px / 50px;
}

.text-drain {
    padding-top: 3px;
}

.correctness > span.wrong, .glyphicon-not-ok {
    color: #cc0000;
}

.correctness > span.right, .correctness > span.almost-right, .glyphicon-ok {
    color: #337627;
}

.correctness {
    display: inline;
    margin-left: 10px;
}

.correctness > span.right, .correctness > span.wrong, .correctness > span.almost-right {
    font-weight: 600;
    font-size: 16px;
}

.correctness > span.almost-right {
    width: 112px;
    display: inline-block;
    vertical-align: middle;
}

.correctness > span.right-fraction {
    font-size: 18px;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 620px) {
    .content {
        padding: 0;
    }
}

