
/*https://www.w3schools.com/cssref/css_selectors.asp*/

@font-face {
    font-family: 'customFont';
    src: url('GreatVibes-Regular.otf');
    font-weight: normal;
    font-style: normal;

}

.gallery { float: left; width: 85%; min-height: 12em; }
.gallery.custom-state-active { background: #eee; }
.gallery li { background: transparent; float: left; width: 95px; padding: 0.4em; margin: 0 0.4em 0.4em 0; text-align: center; }
.gallery li h5 { margin: 0 0 0.4em; cursor: move;  font-family: 'customFont', cursive;}
.gallery li a { float: left; }
.gallery li a.ui-icon-help, .gallery li a.ui-icon-search { float: right; } 
.gallery li img { width: 100%; cursor: move; height: auto; border-radius: 5px;}


.gallery li h5.help { display: none;}	


.gallery li h5.help span {color: #000; position: relative;font-size: 5em;top: -1.7em;}	
.gallery li div.js-dialog-memo p span {float:left; margin:0 7px 50px 0;}

#cards-face-down li div.js-card span{color: #000; position: relative;font-size: 5em;top: -1.5em; font-family: 'customFont', cursive;}
#cards-face-down li{height: 150px;} 
#cards-face-down li .buttonset{top: -6.5em} 
/*#cards-face-down li.helped .buttonset {
    top: -0.5em;
    position: relative;
}*/

#person { float: right; width: 10%; min-height: 100em; padding: 1%; }
#person h4 { line-height: 16px; margin: 0 0 0.4em; }
#person h4 .ui-icon { float: left; }
#person ul{min-height: 12em;  }
#person li div.js-card span{color: #000; position: relative;font-size: 2em;top: -1.8em;font-family: 'customFont', cursive;}
#person li h5.help span {color: #000; position: relative; top: -2em; font-size: 2em;}
#person li img {border-radius: 4px;}
#person li a.backside{position: relative;top: -2.5em;}


.error{
    background-color: #ff8e8e;
    border-color: red;
}
/*ui-state-error*/

.helped{
    background-color: rgba(255, 161, 0, 0.71) !important;
    border-color: #ffa100;;
}

.memoed{
    background-color: rgba(255, 235, 0, 0.71) !important;
    border-color: #ffa100;
}

.wrong {
    background-color: rgba(255, 61, 0, 0.51) !important;
    border-color: #ff2000;
}

.good {
    background-color: rgba(153, 255, 0, 0.51) !important;
    border-color: #36ff00;
}



.menu{   margin-bottom: 15px;
         padding: 0px 15px;
}


.owl-carousel div h2, .owl-carousel div .textoverlay{
    position:absolute;
    color:#FFF;
    font-size:12px;
    display:block;
}

img::after {
    content: attr(alt);
}








.placeholder{
    position: relative;
    top:-5px;
    left:-5px;
    background-color: #e9e9e9;
    border: 1px solid #dddddd;
    border-radius: 5px;
    width:1px;
    height:120px;
}

.js-description{
    margin: 15px 5px;
}

.buttonset{
    display: inline-flex;
    position: relative;
}

.js-action-person, .js-action-memo, .js-action-help, .js-action-backtable,
.js-action-person:hover, .js-action-memo:hover, .js-action-help:hover, .js-action-backtable:hover
.js-action-person:active, .js-action-memo:active, .js-action-help:active, .js-action-backtable:active
{
    border: none !important;
    width: 1px;
    height: 1px; 
    background: transparent !important;
    padding-top: 1px;
}

#person .js-action-person,#person .js-action-memo,#person .js-action-help, #person .js-action-backtable,
#person .js-action-person:hover,#person .js-action-memo:hover,#person .js-action-help:hover,#person .js-action-backtable:hover,
#person .js-action-person:active,#person .js-action-memo:active,#person .js-action-help:active,#person .js-action-backtable:active{
    padding-left: 8px;
    padding-right: 8px;
}

#person .js-action-backtable, #cards-face-up .js-action-person, #cards-face-down .js-action-person{
    display: block;
}

#cards-face-up .js-action-backtable, #cards-face-down .js-action-backtable, #person .js-action-person{
    display: none;
}

span.ui-icon-person, span.ui-icon-search, span.ui-icon-help , span.ui-icon-refresh{
    right: 8px;
}


