#token-tagger-module{
    background-color: #d9edf7;
    border-color: #bce8f1;
    border-radius: 4px;
    padding: 15px;
}
#token-tagger-module .form-control{
    background-color: inherit !important;
}

#token-tagger-module span{
    border: none;
    background-color: inherit;
}

#token-tagger-module .btn-group{
    width: 100%;
    text-align: center;
}

span.token-tagger-active{
    background-color: #00acd4;
    color: white;
}

.token-tagger-glyph{
    font-size: 1.2em;
}

.token-tagger-btn{
    width: 50%;
    padding: 7px 0;
    margin: 3px 0;
}

.token-tagger-glyph-green{
    color: #5cb85c;
}

.token-tagger-glyph-red{
    color: #d9534f;
}

.token-tagger-glyph-yellow{
    color: #f0ad4e;
}

.es-list{
    display: none;
    max-height: 300px !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.tooltip-page-tag.visible{
    opacity: 0.75;
    z-index:100;
}

.tooltip-page-tag{
    opacity: 0;
    z-index:-1;
    /*position: absolute;*/
    color: white;
    padding: 5px 5px;
    background-color: #000;

    right:100%;
    top:0;

    min-height: 100px;
    min-width: 180px;
    transition: opacity .3s;
}
.tooltip-page-tag:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #000;
    top: 36px;
    left: 99%;
}
.tooltip-page-tag ul{
    padding-left: 15px;
}

#morpho-tagger{
    display: flex;
    min-height:500px;
}

#morpho-tagger .form-control{
    border:none;
    width:100%;
    background-color: inherit;
    border-radius: 0;
    border-bottom:2px solid #aaa;
}
#editable-select-container{
    position: relative;
}
.token-card{
    width: 50%;
    padding:5px 5px;
}
.token-card-content{
    margin: 5px 0;
    background-color: #c4c4c4;
    padding:15px 0;
    border-radius: 5px;
    position: relative;
}

#morpho-tagger .card-loading.token-card-content::after{
    content:"Saving...";
    font-size: 1.5em;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: rgba(145, 145, 145, 0.8);
}

.card-main > .token-card-content{
    background-color: #e6e6e6;
    padding: 15px 0 0 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card-main > .token-card-content ul.possible-tags-list li{
    padding: 3px 6px;
    margin: 2px 0;
    text-align: left;
}

.token-card-content ul{
    list-style-type: none;
    padding-left:0;
}

.token-card-content ul.possible-tags-list li{
    background-color: #ccc;
    padding: 2px;
    margin: 2px 0;
    min-height: 23px;

}

.morpho-tagger-agreement  .token-card-content ul.possible-tags-list li{
    height: 40px;
    overflow: hidden;
    text-align: center;
    display: block;
    width: 100%;
    vertical-align: middle;
}
.morpho-tagger-agreement .card-main > .token-card-content ul.possible-tags-list li{
    padding: 3px 6px;
    margin: 2px 0;
    /*text-align: left;*/
}

.morpho-tagger-agreement .token-card-content ul{
    list-style-type: none;
    padding-left:0;
}

.morpho-tagger-agreement .token-card-content ul.possible-tags-list li{
    background-color: #ccc;
    padding: 2px;
    margin: 2px 0;
    /*min-height: 23px;*/
    height: 40px;
    overflow: hidden;
    text-align: center;
    display: block;
    width: 100%;
    vertical-align: middle;
    position: relative;
}

.token-card-content .btn{
    border-radius: 0;
}

.token-card-content ul.possible-tags-list li.focused{
    background-color: #2d64ff;
    color: #fff;
    cursor: pointer;
}

.token-card-content ul.possible-tags-list li.selected.focused{
    background-color: rgba(45, 100, 255, 0.7); !important;
}

.tag-base{
    float: left;
    font-weight: 700;
}
.morpho-tagger-agreement .tag-base{
    float: unset;
    display: block;
    position: relative;
    z-index: 2;
}
.glyphicon{
    color: #a8a8a8;
    padding-right: 8px;
    display:none;
}

.morpho-tagger-agreement .glyphicon{
    padding: 0;
    margin-right: -10px;
    position: absolute;
    top: 5px;
    left: 3px;
}

.selected .glyphicon-ok-sign{
    display: unset;
    float:left;
}

.btn-side-morpho{
    width: 100%;
    border:none;
    border-radius: 0;
    align-items: stretch;
    height:100%;
}

.token-card-content hr{
    border-top: 1px solid #ccc;
}

#leftContent{
    min-height: 200px;
}

.token{
    cursor: pointer;
}

[data-module-id="overlay"]{
    position: absolute;
    display: none; /* Hidden by default */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 2;
    border-radius: 3px;
}

[data-module-id="overlay"] p {
    font-size: 2em;
    color: #fff;
    z-index: 3;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.morpho-ign{
    color: red;
}