
/*General*/

    body {
        margin: 0;
    }
    
    * {
        box-sizing: border-box;
        font-family: tahoma;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    }
    
    .s {
        direction: rtl;
    }
    
/*Header*/

    .header {
        position: fixed;
        z-index: 10;
        top: 0;
        width: 100%;
        height: 6vh;
        min-height: 55px;
        background-color: rgb(104,48,137);
        display: flex;
        align-items: center;
        overflow: visible;
        justify-content: space-between;
        box-shadow: 0 1px 2px;
    }
    
    .header a, .header b {
        text-decoration: none;
        width: 33.33%;
        color: white;
    }
    
    #header1 {
        display: flex;
        align-items: center;  
        font-weight: bold;
        position: relative;
        cursor: pointer;
    }
    
    #header1 button {
        background-color: transparent;
        border: none;
        color: white;
        vertical-align: text-top;
        text-align: right;
        padding: 0;
        margin: 0;
    }
    
    #header1 button:active {
        transform: translateX(1px);
        transform: translateY(1px);
    }
    
    #user-info {
        visibility: hidden;
        position: absolute;
        text-align: right;
        top: 150%;
        left: 0;
        padding: 10px;
        width: 200px;
        height: auto;
        background-color: rgb(67,66,66);
        border-radius: 10px;
        z-index: 10;
    }
    
    #user-info::after {
        content: " ";
        position: absolute;
        bottom: 100%;  /* At the top of the tooltip */
        left: 17px;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent rgb(67,66,66) transparent;
        z-index: 10;
    }
    
    #header2 img {
        height: 5.6vh;
        min-height: 51px;
    }
    
    #header2 {
        margin: 0;
        padding: 0;
        width: auto;
    }
    
    #header3 {text-align: right;}
    
    .placeholder {
        width: 100%;
        height: 6vh;
        min-height: 55px;
        z-index: 9;
        /*++++++++++++++++++++++*/
    }
    
/*icon-bar*/
    .icon-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 5.5%;
        min-height: 50px;
        z-index: 10;
        border-top: 1px solid rgba(171,171,171,0.7);
        overflow: hidden;
        background-color: white;
    }
    
    .icon-bar a{
        direction: rtl;
        width: calc(100%/4);
        line-height: 100%;
        color: grey /*#009688*/;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background-color: white;
        flex-direction: column;
        flex-wrap: column-wrap;
        font-size: 80%;
        cursor: pointer;
    }
    
    .icon-bar a:hover{
        color: #004D40;
        text-decoration: none;
    }
    
    .icon-bar a.active{
        color:  rgba(163,101,201,1);
        text-decoration: none;
    }
    
    .material-icons {
        font-size: 220%;
    }
    
/*geometry*/
    .container {
        z-index: 1;
        margin-right: 5%;
        margin-left: 5%;
        direction: rtl;
        /*min-height: 100vh;*/
    }
    
    .sentence {
        width: 100%;
        border: 1px solid grey;
        border-radius: 20px;
        padding: 0px 2px 0px 10px;
        margin: 10px 0;
        
        -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
    }

    .s-header {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 5px;

        /*border: 1px solid red;*/
    }

    .s-header .other {
        flex: 1;
    }

    .sentence .s {
        padding: 0px 5px;
        width: 100%;
        cursor: pointer;
    }
    
    .sentence .s:hover {
        color: rgba(54, 121, 227, 1);
    }
    
    .sentence i {
        font-size: 24px;
    }

    .sentence .cite-y, .sentence .cite-n {
        text-align: center;
        font-size: 12px;
        background-color: green;
        border-radius: 5px;
        padding: 2px;
        color: white;
    }
    
    .sentence .cite-n {
        background-color: red;
    }

    .sentence .attention {
        color: red;
        border: 1px solid red;
        display: flex;
        align-items: center;
        border-radius: 5px;
        margin: 7px;
          justify-content: right;
    }

    .sentence .attention.ok {
        color: green;
        border: 1px solid green;
    }
    
    .sentence .attention.trig {
        color: blue;
        border: 1px solid blue;
    }

    .s-info {
        padding: 0px;
        margin-bottom: 5px;
        display: none;
    }
    
    .s-tags{
        margin: 0 7px 0 0;
    }

    .chip {
        background: #f1f1f1;
        height: 30px;
        line-height: 30px;
        border-radius: 15px;
        display: inline-block;
        /*padding-right: 10px;*/
        margin: 5px 3px 5px 3px;
        
        border: 1px solid #f1f1f1;
    }
    
    .chip a{
        text-decoration: none;
    }
    
    .chip .closebtn {
        font-size: 16px;
        font-weight: bold;
        color: #888;
        float: left;
        margin-left: 10px;
        margin-right: 7px;
    }
    
    .chip .label {
        /*margin-left: 7px;*/
        margin-right: 7px;
    }
    
    .chip img {
        float: right;
        width: 30px;
        height: 30px;
        border-radius: 15px;
        /*margin-left: 4px;*/
    }
    
    .chip a {
        color: black;
        cursor: pointer;
    }
    
    .chip a:hover {
        text-decoration: none;
    }

    .chip.sub {
        border: 1px solid #888;
        background: white;
    }

    .chip.active-tag {
        border: 1px solid blue;
    }
    
    .chip.active-tag a {
        color: blue;
        font-weight: bold;
    }

/*description*/
    .s-desc{
        margin: 10px 3px 0 0;
        padding: 0 5px 0 0;
        border: 1px solid grey;
        border-radius: 20px;
        overflow: hidden;
        
        background-color: rgba(0,0,0,0.01);
        position: relative;
    }
    
    .desc-header{
        width: 100%;
        height: 40px;
        color: white;
        background-color: rgba(47,77,130,1);
        /*transform: translate(5px,-20px);*/
        font-weight: bold;

        display: flex;
        align-items: center;
        padding: 0 10px 0 0;
        
        position: absolute;
        top: -20px;
        left: 0;
    }

/*search*/
    .search-filter{
        width: 100vw;
        background-color: white;
        /*height: 72px;*/
        position: fixed;
        direction: rtl;
        padding: 0 20px;
        z-index: 11;
    }
    
    .search-filter:before {
        content : "";
        position: absolute;
        left    : 3%;
        bottom  : 0;
        height  : 1px;
        width   : 94%;  /* or 100px */
        border-bottom: 1px solid grey;
    }
    
    .search-placeholder{
        height: 72px;
    }

    .search {
        width: 100%
        height: auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        /*border-bottom: 1px solid grey;*/
        /*position: fixed; /*++++++++++++++++++++++*/
    }

    .search .ui-input-text {
        flex: 1;
    }

    .search input {
        width: 100%;
    }

    .search button {
        float: left;
        width: 15%;
        height: 100%;
        border-radius: 9999px;
        margin: 15px 0 15px 0;
        padding: 12px 20px;
    }

    .search span {
        width: 5%;
    }

    .search input {
        flex: 1;
        /*width: 60%;*/
        height: 3em;
        float: right;
        border-radius: 9999px;
        margin: 15px 0 15px 0;
        padding-right: 20px;
    }
    
    .btn-rp, .siteLink {
        text-decoration: none;
        color: black;
        font-size: 14px;
        position: relative;
        dispaly: block;
        min-width: 88px;
        /*max-width: 40%;
        /*max-width: 150px;*/
        padding: 12px 20px;
        height: 3em;
        margin: 15px 2px;
        border: none;
        ouline: none;
        letter-spacing: 0;
        font-weight: bold;
        background: #dfdfdf;
        cursor: pointer;
        overflow: hidden;
        border-radius: 3px;
        
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        -user-select: none;
        
        transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        
        -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        -moz-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
        box-shadow: 0 1px 3px 0 rgba(0,0,0,0.12), 0 1px 2px 0 rgba(0,0,0,0.24);
    }
    
    .search .filter {
        background-color: rgba(183, 82, 227,1);
        color: white;
        border-radius: 999px;
        cursor: pointer;
        padding: 3px;
    }
    
    .search .filter:hover {
        background-color: rgba(153, 55, 196,1);
    }
    
    .filtered {
        /*display: flex;
        align-items: center;*/
        width: 100%;
        /*border-bottom: 1px solid grey;*/
        position: relative;
        padding-bottom: 7px;
    }
    
    .filtered:before {
        content : "";
        position: absolute;
        left    : 3%;
        bottom  : 0;
        height  : 1px;
        width   : 94%;  /* or 100px */
        border-bottom: 1px solid grey;
    }
    
    .filtered .title {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 14px;
    }
    
    .clear-filters:hover {
        background-color: red;
        color: white;
    }
    
    .clear-filters {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 12px;
        background-color: white;
        border: 1px solid red;
        border-radius: 5px;
        padding: 2px;
        color: red;
    }
    
    .clear-filters i {
        font-size: 16px;
    }
    
    
    
    
    
    
    