/* Live Search */
.ui.category.search{
    font-family:'IRANSans','tahoma';
    width: 100%;
}

.ui.category.search .ui.icon.input{
    font-family:'IRANSans','tahoma';
    width: 100%;
}
.ui.category.search .ui.icon.input .i-search.icon{
    font-size: 2em;
    width: 3em;
}
.ui.category.search .ui.icon.input input.prompt.search_input{
    font-family:'IRANSans','tahoma';
    border: 0 none;
    font-size: 1.3rem;
    height: 100%;
    letter-spacing: 0.5px;
    padding: 15px 25px 15px 75px;
    width: 100%;
    outline: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 !important;
    direction: rtl;
    text-align: right;
    padding-right: 25px !important;
}
.ui.loading.search .input>i.icon:before {
    margin: -0.8em 0 0 -0.8em;
}
.ui.loading.search .input>i.icon:after {
    margin: -0.8em 0 0 -0.8em;
}
.ui.icon.input>i.icon {
    top: 0;
    right: auto;
    left: 0;
}

.ui.search>.results {
    display: none;
    position: absolute;
    left: 0;
    -webkit-transform-origin: center top;
    transform-origin: center top;
    white-space: normal;
    margin-top: .5em;
    width: 18em;
    border-radius: 0 !important;
    border: 1px solid #d4d4d5;
    z-index: 998;
    background: #fff;
    outline: 3px solid rgba(255,255,255, 0.2);
    top: 100%;
    right: 0;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.25);
}

.ui.category.search .results {
    width: 100%;
    direction: rtl;
    font-family:'IRANSans','tahoma';
}
.ui.category.search>.results .category>.name {
    width: 100px;
    background: 0 0;
    font-family:'IRANSans','tahoma';
    font-size: 1em;
    float: right;
    padding: .4em 1em;
    font-weight: 700;
    color: rgba(0,0,0,.4);
}

.ui.category.search>.results .category .result {
    background: #fff;
    margin-left: 0;
    margin-right: 100px;
    border-left: none;
    border-right: 1px solid rgba(34,36,38,.15);
}
.ui.search>.results .result .content{
    text-align: right;
    direction: rtl;
    margin: 0;
}
.ui.search>.results .result .title {
    font-family: 'IRANSans','tahoma';
    font-weight: 700;
    font-size: 1.1em;
    color: rgba(0,0,0,.85);
}

.ui.search>.results .result .title b{
    font-weight: bold;
    color: #3c9140;
}

.ui.search>.results .result .description {
    margin-top: 5px;
    font-family: 'IRANSans','tahoma';
    font-size: 1em;
    color: rgba(0,0,0,.4);
    line-height: 18px;
    text-align: justify;
}
.ui.search>.results .result .description b{
    font-weight: bold;
    color: #3c9140;
}

.ui.search>.results .result .description .tag {
    display: inline-block;
    font-size: 0.9rem;
    background-color: #fbfbfb;
    border: 1px solid #f1f1f1;
    padding: 5px 5px;
    color: #a9b1b5;
    letter-spacing: 0;
    margin: 5px 0px 5px 3px;
    border-radius: 2px;
}

.ui.search>.results>.message .header{
    font-family: 'IRANSans','tahoma';
}
.ui.search>.results>.message .description{
    font-family: 'IRANSans','tahoma';
}



/* Other Page */
.ui.category.search.other_page .ui.icon.input input.prompt.search_input{
    font-family:'IRANSans','tahoma';
    padding: 6px 95px 6px 50px;
    height: 45px;
    outline: none;
    background: #fbfbfb;
    border: 1px solid #e2e2e2;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08) inset;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    width: 100%;
    border-radius: 5px !important;
    direction: rtl;
    text-align: right;
    padding-right: 15px !important;
}

.ui.search.other_page>.results {
    display: none;
    position: absolute;
    left: 0;
    -webkit-transform-origin: center top;
    transform-origin: center top;
    white-space: normal;
    margin-top: .5em;
    width: 100%;
    border-radius: 0 !important;
    border: 1px solid #d4d4d5;
    z-index: 998;
    background: #fff;
    outline: none;
    top: 85%;
    right: 0;
    box-shadow: 0px -6px 10px -7px rgba(0,0,0,0.25);
}

.ui.category.search.other_page .ui.icon.input .i-search.icon {
    font-size: 1.5em;
    width: 3em;
}
.ui.loading.search.other_page .input>i.icon:before {
    margin: -0.8em 0 0 -0.8em;
}
.ui.loading.search.other_page .input>i.icon:after {
    margin: -0.8em 0 0 -0.8em;
}