body {
    background: #071217 url(../img/background.jpg) no-repeat no-repeat right top;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px;
    padding: 0 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.appBar {
    flex: 0 0 calc(100% + 20px);
    background-color: #246166a9;
    padding: 10px;
    margin-left: -20px;
    line-height: 40px;
}

.appBar .text {
    font-size: 20px;
}

.appBar .button {
    margin: 0 10px;
    float: right;
}


#duplicateMessage {
    color: rgb(216, 22, 22);
    display: none;
}


/***** Box *****/
.box {
    width: 400px;
    height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/demol.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 1s;
}

.box.closed {
    filter: grayscale(100%);
    position: relative;
}

.box.closed .textContainer {
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    width: 100%;
}

.textContainer .text {
    text-align: center;
}

.collapsed .textContainer {
    display: none;
}

.box.collapsed {
    height: 47px;
    background-image: none;
    background-color: black;
}

.title {
    position: relative;
    width: calc(100% - 60px);
    height: 17px;
    color: lightgray;
    background-color: #143639a4;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    /*border-bottom: 1px solid #70adb3;*/
    font-weight: bold;
    padding: 15px 30px;
    text-align: left;
    margin-bottom: 20px;
}

.title::before {
    content: "\2796";
    color: rgba(0,0,0,0);
    text-shadow: 0 0 white;
    margin-left: -20px;
    margin-right: 20px;
    font-family: arial unicode ms,lucida sans unicode,sans-serif;
}

.title::after {
    content:    '';
    width:      100%;
    height:     1px;
    background: #70adb3;
    position:   absolute;
    bottom:     -1px;
    left:       0;
    transition: all 1s;
}

.collapsed .title::before { content: "\2795"; }
.collapsed .title::after {
    left: 50%;
    width: 0;
}


/***** Form Inputs *****/
.select {
    height: 40px;
    width: 200px;
    margin: 7px 10px;
    padding: 5px 5px 5px 10px;
    border: 1px solid #70adb3;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    background-color: #143639bd;
}

.select.error {
    border: 1px solid rgb(240, 57, 57);
    background-color: #391414bd;
}

.select.big {
    height: 50px;
    width: 200px;
    border-radius: 25px;
    font-size: 17px;
}

.button {
    height: 40px;
    width: 100px;
    margin: 10px;
    padding: 5px 5px 5px 10px;
    border: 1px solid #70adb3;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    background-color: #143639bd;
}

.button:hover {
    background-color: #2c7279bd;
}

.text {
    color: white;
    font-weight: bold;
}

.fixed {
    padding: 10px;
    text-align: left;
    font-size: 20px;
}

.fixed.big {
    font-size: 25px;
}

.fixed span {
    font-weight: 100;
}

.bottom {
    position: absolute;
    height: 80px;
    width: calc(100% - 30px);
    background-color: rgba(156, 1, 1, 0.699);
    bottom: 0;
    border-radius: 20px 0px 20px 20px;
    text-align: left;
    line-height: 80px;
    padding-left: 30px;
    font-size: 25px;
}

.bottomImg {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 120px;
    height: 120px;
    z-index: 1;
    border-radius: 60px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.collapsed .bottomImg, .collapsed .bottom {
    display: none;
}

/***** Candidate Images *****/
.imgId2  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/1.png); }
.imgId3  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/2.png); }
.imgId4  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/3.png); }
.imgId5  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/4.png); }
.imgId6  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/5.png); }
.imgId7  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/6.png); }
.imgId8  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/7.png); }
.imgId9  { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/8.png); }
.imgId10 { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/9.png); }
.imgId11 { background-image: linear-gradient(rgba(156, 1, 1, 0.4), rgba(156, 1, 1, 0.4)), url(../img/candidates/10.png); }