img {
    vertical-align: middle;
}

#errorsBox {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 100;
}

#errorsBox .content {
    background-color: #d6cab1;
    position: relative;
    max-width: 90%;
    max-height: 70%;
    border: solid 3px #efa526;
    font-size: 1.3em;
    text-align: center;
    padding: 2em;
    overflow: auto;
    cursor: pointer;
}
#errorsBox table {
    width: 100%;
    font-size: 0.8em;
    border-collapse: collapse;
}
#errorsBox td {
    border-bottom: solid 2px;
}
#errorsBox .plotImg {
    width: 10em;
    height: 4.3em;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position-y: 0.1em;
}
#errorsBox .cardImg {
    width: 10em;
    height: 4.3em;
    background-size: 46%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 0.1em;
}

.flexBox {
    display: flex;
    /*flex-wrap: wrap;*/
    flex-grow: 2;
}

svg {
    width: 0px;
    height: 0px;
}

.closeParent {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
    background-color: #eee;
    border-style: solid;
    border-width: 0px 0px 3px 3px;
}
.closeParent:hover {
    fill: #ad6700;
    background-color: #e8d7bd;
}

#page_content {
    position: relative;
    width: 1000px;
    max-width: 95%;
    height: 100%;
    bottom: 0;
    margin: auto;
}
@media screen and (max-width: 900px) {
    #page_content {
        width: 100%;
    }
}

.deck {
    display: flex;
    /* justify-content: flex-end; */
    /* padding-top: 1em; */
    border-style: solid;
    border-color: #999;
    border-width: 2px 2px 0px 0px;
}
.deck img {
    width: 100%;
    border-radius: 5%;
}
.svgBox {
    display: flex;
    align-items: center;
    max-width: 15%;
    justify-content: space-around;
}
@media screen and (max-width: 700px) {
    .svgBox {
        flex-wrap: wrap;
    }
}
.deck_faction {
    max-width: 43%;
}
.deck_agenda {
    max-width: 43%;
}
@media screen and (max-width: 700px) {
    .deck_faction {
        max-width: 51%;
    }
    .deck_agenda {
        max-width: 51%;
    }
}

.deck_title {
    width: 100%;
    background-color: #ddd;
    padding: 0.3em;
    margin-right: 0.3em;
}
.deck_name {
/*    display: block;
    text-decoration: none;
    color: black;
    cursor: pointer;
    padding: 0.3em;*/

    color: black;
    display: flex;
    flex-wrap: wrap;
}
.deck_name:hover {
    text-decoration: underline;
    background-color: #ccc;
}
.faction_name {
    padding-bottom: 0.3em;
    align-items: center;
    display: flex;
}
.faction_name svg {
    width: 1.5em;
    height: 1em;
}

.deck_title .deck_rating_activeLike {
    display: flex;
    align-items: center;
    border: solid 1px;
    border-radius: 0.3em;
    padding: 0em 0.2em;
    background-color: #fff;
    cursor: pointer;
}
.deck_title .deck_rating_activeLike:hover {
    color: #ad6700;
    background-color: #e8d7bd;
}
.deck_title .deck_rating_like {
    display: flex;
    align-items: center;
    border: solid 1px;
    border-radius: 0.3em;
    padding: 0em 0.2em;
}
/*.deck_title svg {
    width: 1.5em;
    height: 1em;
    fill: #000;
}*/
.deck_title .deck_likeNumber {
/*    height: 1em;
    line-height: 1em;
    text-align: center;
    border: solid 1px;
    border-color: black black black transparent;
    border-radius: 0em 0.3em 0.3em 0em;
    background-color: #eee;
    margin-left: -1px;
    margin-right: 0.1em;
    padding: 0.2em 0.2em 0.2em 0em;*/
}
/*.deck_title .deck_comment {
    width: 1.5em; 
    height: 1em;
    border: solid 1px;
    border-color: black transparent black black;
    border-radius: 0.3em 0em 0em 0.3em;
    padding: 0.2em 0em 0.2em 0.2em;
    background-color: #eee;
    fill: #000;
}*/
.deck_title .deck_comment {
    display: flex;
    align-items: center;
    margin-left: 0.3em;
    padding-left: 0.1em;
    border-left: double;
}
.deck_title svg {
    width: 1.5em;
    height: 1em;
    fill: #000;
}
.deck_title .deck_commentNumber {
/*    height: 1em;
    line-height: 1em;
    text-align: center;
    border: solid 1px;
    border-color: black black black transparent;
    border-radius: 0em 0.3em 0.3em 0em;
    background-color: #eee;
    margin-left: -1px;
    margin-right: 0.1em;
    padding: 0.2em 0.2em 0.2em 0em;*/
}
.deck_title .deck_rating {
    display: flex;
    flex-wrap: wrap;
}
.deck_title .deck_rating_item {
    display: flex;
    align-items: center;
}
.svgIcon {

}
.svgIcon svg {
    width: 1.5em;
    height: 1em;
    border: solid 1px;
    padding: 0.2em;
    background-color: #fff;
    cursor: help;
}

.deck_service {

}
.deck_service .deck_clone,.deck_service .deck_export {
    width: 2em;
    height: 2em;
    border: solid 1px;
    padding: 0.2em;
    margin-top: 0.1em;
    background-color: #fff;
    cursor: pointer;
}
.deck_service svg:hover {
    color: #ad6700;
    background-color: #e8d7bd;
}

#exportLinks {
    position: absolute;
    display: none;
}
#exportLinks a {
    border: solid 2px;
    padding: 0.5em;
    white-space: nowrap;
    background-color: #fff;
    color: #000;
    display: block;
    cursor: pointer;
}
#exportLinks a:hover {
    border-color: #ad6700;
    background-color: #e8d7bd;
}

#exportCustomBox {
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(102, 102, 102, 0.84);
    display: none;
    z-index: 50;
}
#exportCustomBox .close {
    position: absolute;
    top: 0;
    width: 1.5em;
    vertical-align: middle;
    height: 1.5em;
    right: 0;
    background-color: #fff;
    cursor: pointer;
    z-index: 1;
    border-style: solid;
    border-width: 0px 0px 3px 3px;
    border-color: #ffd96f;
}
#exportCustomBox .close:hover {
    background-color: #e8d7bd;
}
#exportCustomBox .content {
    background-color: #e8e2bd;
    position: relative;
    min-width: 50%;
    max-width: 90%;
    max-height: 70%;
    border: solid 3px #ffd96f;
    /*font-size: 1.3em;*/
    text-align: center;
    padding: 2em;
    overflow: auto;
    margin: auto;
}
#exportCustomBox button {
    cursor: pointer;
    min-width: 20%;
    padding: 0.4em;
    background-color: #e4ac86;
}
#exportCustomBox button:hover {
    background-color: #ffd96f;
}
#exportCustomBox group {
    display: flex;
    flex-wrap: wrap;
}
#exportCustomBox section {
    flex-grow: 2;
    flex-shrink: 0;
    padding: 0em 0.5em 0.5em;
    width: 26vw;
    margin: 0.3em;
    background-color: #d6cab1;
}
#exportCustomBox label {
    display: block;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
/*#exportCustomBox label.sortable {
    cursor: n-resize;
}*/
#exportCustomBox label:hover {
    background-color: #ffd96f;
}
#moveLock_label {
    display: none;
}
#exportCustomBox svg {
    width: 2em;
    height: initial;
    border: solid 1px;
    margin: 1px;
}

#auxiliaryIframe {
    width: 0;
    height: 0;
    visibility: hidden;
}

#loadMore {
    width: 100%;
    margin-top: 0.5em;
    padding: 0.2em;
    cursor: pointer;
    background-color: #999;
}
#loadMore:hover {
    background-color: #fff;
}
#search_hidden {
    display: none;
}
#searchBox {
    position: relative;
    width: 1000px;
    max-width: 95%;
    top: 0.2em;
    margin: auto;
}

#submitForm,#more_searchLine {
    height: 1.9em;
    width: 25%;
    max-width: 12em;
    margin: 0em 0.3em;
    padding: 0em 1em;
    border: solid 1px black;
    font-size: 14px;
    vertical-align: middle;
    box-sizing:content-box;
    cursor: pointer;
}
#submitForm:hover,#more_searchLine:hover {
    background-color: #fff;
}

.searchLine {
    display: flex;
    background-color: #bbb;
    margin-bottom: 0.2em;
    padding: 0.4em;
    align-items: center;
}
.searchLine input,select {
    height: 1.9em;
    width: 25%;
    max-width: 12em; 
    margin: 0.1em 0.3em;
    padding: 0em 1em;
    border: solid 1px black;
    font-size: 14px;
    vertical-align: top;
    box-sizing:content-box;
}
.searchLine .filler {
    height: 1.5em;
    width: 1.5em;
    border: solid 1px transparent;
}
.search_help {
    display: inline-block;
    height: 1.06em;
    width: 1.06em;
    margin: 0.06em 0.18em;
    border: solid 1px black;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.06em;
    text-align: center;
    background-color: #eee;
    box-sizing: content-box;
    cursor: pointer;
}
.search_help:hover {
    background-color: #fff;
}

.lineRemove {
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    background-color: #fff;
    border: solid 1px black;
    cursor: pointer;
}
.lineRemove:hover {
    background-color: #ccc;
}

.searchLine option:disabled {
    background-color: grey;
}
#searchInterface {
    display: flex;
    background-color: #999;
    padding: 0.4em;
    margin-bottom: 1em;
}
#searchInterface .filler {
    height: 1.5em;
    width: 1.5em;
    border: solid 1px transparent;
}
#searchInterface .filler1 {
    height: 1.9em;
    width: 25%;
    max-width: 12em;
    margin: 0em 0.3em;
    padding: 0em 1em;
    border: solid 1px transparent;
    font-size: 14px;
    vertical-align: middle;
    box-sizing:content-box;
}
#searchInterface .filler2 {
    display: inline-block;
    height: 1.06em;
    width: 1.06em;
    margin: 0.06em 0.18em;
    border: solid 1px transparent;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.06em;
    box-sizing: content-box;
}