/*body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}*/

.global {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div {
    text-align: center;
}

p {
    display: inline;
}

p.error {
    font-size: 0.9em;
}

p.error-extra {
    font-size: 0.5em;

}

p.error-extra2 {
    font-size: 0.4em;
}

input {
    text-align: center;
    font-family: 'Mina';
    display: inline;
}

form {
    display: flex;
    justify-content: center;
}

.contain {
    width: 100%; 
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.title {
    width: 100%;
    font-size: 2.1em; 
    margin: 0;
}

.search {
    display: flex;
    justify-content: center;
}

.bar {
    width: 500px;
    height: 50px;
    border-radius: 10px 0px 0px 10px;
    border: 2px solid rgb(50,50,75);
    text-align: center;
    font-size: large;
}

.submit{
    transition-duration: 150ms;
    width: 50px;
    height: 50px;
    border-radius: 0px 10px 10px 0px;
    border: 1px solid #D08A93; 
    background-color: #8C3A47;
    color: blanchedalmond;
    cursor: pointer; 

}

.submit:hover {
    transition-duration: 150ms;
    scale: 1.05;
    background-color: #b87474;
    color: rgb(49, 41, 40);
}

@keyframes show {
    50% {
        opacity: 0;
    }
}

.c {
    animation-name: show;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-direction: normal;
    animation-timing-function: step-start;
}

.ui-autocomplete {
    background-color: #333 !important; 
    color: #eee !important;
    border: none !important; 
    border-radius: 5px !important;
    font-family: 'Mina' !important; 
    font-size: 16px;
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 200px; 
}

.menubutton {
    transition-duration: 150ms;
    text-align: center;
    height: 10vh;
    width: 50%;
    border: 2px solid #D08A93; 
    background-color: #8C3A47;
    border-width: 1px;
    border-style: solid;
    border-radius: 3vh;
    color: inherit;
    font-family: inherit;
    font-size: x-large;
    margin: 1%;
    padding: 3px;
    cursor: pointer; 

}

.menubutton:hover {
    transition-duration: 150ms;
    background-color: #ebb6b6;
    border-width: 1px;
    border-style: solid;
    border-color: #985454;
    border-radius: 3vh;
    color: #333;
    scale: 1.05;
}

.apply {
    transition-duration: 150ms;
    text-align: center;
    height: 60%;
    width: 20%;
    background-color: #587a50;
    border-width: 1px;
    border-style: solid;
    border-color: #bed894;
    border-radius: 1.5vh;
    color: inherit;
    font-family: inherit;
    font-size: large;
    margin: 2%;
    padding: 3px;
    cursor: pointer; 

}

.apply:hover {
    transition-duration: 150ms;
    background-color: #caebb6;
    border-width: 1px;
    border-style: solid;
    border-color: #689854;
    border-radius: 3vh;
    color: #333;
    scale: 1.05; 
}

.clearall {
    transition-duration: 150ms;
    text-align: center;
    height: 60%;
    width: 20%;
    background-color: #aa2727;
    border-width: 1px;
    border-style: solid;
    border-color: #d89494;
    border-radius: 1.5vh;
    color: inherit;
    font-family: inherit;
    font-size: large;
    margin: 2%;
    padding: 3px;
    cursor: pointer; 
}

.clearall:hover {
    transition-duration: 150ms;
    background-color: #ebb6b6;
    border-width: 1px;
    border-style: solid;
    border-color: #985d54;
    border-radius: 3vh;
    color: #333;
    scale: 1.05; 
}

.ss {
    transition-duration: 150ms;
    text-align: center;
    height: 60%;
    width: 44%;
    background-color: #c15835;
    border-width: 1px;
    border-style: solid;
    border-color: #d89494;
    border-radius: 1.5vh;
    color: inherit;
    font-family: inherit;
    font-size: large;
    margin: 2%;
    padding: 3px;
    cursor: pointer;

}

.ss:hover {
    transition-duration: 150ms;
    background-color: #f0bca0;
    border-width: 1px;
    border-style: solid;
    border-color: #974d37;
    border-radius: 3vh;
    color: #333;
    scale: 1.05;
}

.overlay {
    z-index: 3;
    width: 90%;
    height: 80%;
    background-color: rgba(140, 58, 71, 0.85); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    position: absolute;
    border-radius: 3vh;
    padding-bottom: 3%;
}

.overlayHeader {
    height: 30%;
    display: block;
    text-align: left;
}

.overlayHeader .overlaytitle {
    float: left;
    width: 70%;
    height: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4%;
}

.overlayHeader .overlaybutton{
    float: right;
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlaybutton .top {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:end;
}

.overlaybutton .bottom {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
}

.buttonContainer {
    height: 70%;
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 10% auto;
    overflow-y: scroll;
    border: 1px solid snow;
    border-radius: 2vh;
    background-color: #222;

}

.option {
    transition-duration: 150ms;
    text-align: center;
    height: 10vh;
    width: 20%;
    border-width: 1px;
    border-style: solid;
    border: 2px solid #D08A93; 
    background-color: #8C3A47;
    border-radius: 3vh;
    color: inherit;
    font-family: inherit;
    font-size: x-large;
    margin: 1%;
    padding: 3px;
    cursor: pointer; 
}

.option.active {
    transition-duration: 150ms;
    background-color: #ebb6b6;
    border-width: 1px;
    border-style: solid;
    border-color: #985454;
    border-radius: 3vh;
    color: #333;
}

.subtitle {
    width: 100%;
    font-size: 0.6em; 
}
